This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH/RFA] remoute-hms.c: start multiarching
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Andrew Volkov <Andrew dot Volkov at transas dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 16 May 2002 17:56:18 -0400
- Subject: Re: [PATCH/RFA] remoute-hms.c: start multiarching
- References: <2E74F312D6980D459F3A05492BA40F8DDA497B@clue.transas.com>
(much much thanks for fixing your mailer!)
> 2002-05-16 Andrey Volkov <avolkov@sources.redhat.com>
> * gdb/remote-e7000.c: multi-arched h8300 part
> remove depricated NUM_REALREGS
>
> --- gdb.old/gdb/remote-e7000.c Mon Apr 15 05:50:45 2002
> +++ gdb/gdb/remote-e7000.c Thu May 16 20:54:52 2002
> @@ -660,7 +660,9 @@
> serial_raw (e7000_desc);
>
> #ifdef GDB_TARGET_IS_H8300
> - h8300hmode = 1;
> + #if GDB_MULTI_ARCH == 0
> + h8300hmode = 1;
> + #endif
> #endif
I would have delayed this sort of change until after you had multi-arch
enabled. That way you could just delete the code instead of worrying
about #ifdef GDB_MULTI_ARCH.
If you see the process I just posted the above isn't be needed.
Andrew