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: Mark Kettenis <kettenis at chello dot nl>
- To: schwab at suse dot de
- Cc: mludvig at suse dot cz, gdb-patches at sources dot redhat dot com
- Date: Wed, 9 Jul 2003 15:40:07 +0200 (CEST)
- Subject: Re: [RFA] Re: Analyzing AMD64 corefiles on i386
- References: <3F0ABC85.1080700@suse.cz><200307081445.h68EjBWJ000503@elgar.kettenis.dyndns.org><3F0BF66A.3080203@suse.cz> <je65mbrk03.fsf@sykes.suse.de>
From: Andreas Schwab <schwab@suse.de>
Date: Wed, 09 Jul 2003 13:56:44 +0200
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?
It's still true. If register conversion functions are implemented in
*-tdep.c files, they should not be named supply_gregset/fill_gregset.
Mark