This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Re: Analyzing AMD64 corefiles on i386
- From: Andreas Schwab <schwab at suse dot de>
- To: Michal Ludvig <mludvig at suse dot cz>
- Cc: Mark Kettenis <kettenis at chello dot nl>,GDB Patches <gdb-patches at sources dot redhat dot com>
- Date: Wed, 09 Jul 2003 13:56:44 +0200
- Subject: Re: [RFA] Re: Analyzing AMD64 corefiles on i386
- References: <3F0ABC85.1080700@suse.cz><200307081445.h68EjBWJ000503@elgar.kettenis.dyndns.org><3F0BF66A.3080203@suse.cz>
Michal Ludvig <mludvig@suse.cz> writes:
|> 2003-07-09 Michal Ludvig <mludvig@suse.cz>
|>
|> * x86-64-linux-nat.c (regmap, supply_gregset, fill_gregset):
|> Moved to x86-64-linux-tdep.c.
|> * x86-64-linux-tdep.c (regmap, supply_gregset, fill_gregset):
|> Moved from x86-64-linux-nat.c.
Hmm, m68klinux-nat.c has this comment:
/* Note both m68k-tdep.c and m68klinux-nat.c contain definitions
for supply_gregset and supply_fpregset. The definitions
in m68k-tdep.c are valid if USE_PROC_FS is defined. Otherwise,
the definitions in m68klinux-nat.c will be used. This is a
bit of a hack. The supply_* routines do not belong in
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*_tdep.c files. But, there are several lynx ports that currently
^^^^^^^^^^^^^^
depend on these definitions. */
What's the current wisdom about that?
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."