This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
obsolete comment in m68klinux-nat.c...
- From: Joel Brobecker <brobecker at adacore dot com>
- To: schwab at linux-m68k dot org
- Cc: gdb at sourceware dot org
- Date: Thu, 16 Apr 2009 00:00:08 -0700
- Subject: obsolete comment in m68klinux-nat.c...
Andreas,
We're trying to cleanup a bit the ARI output, and one of the macros
that was deprecated and now is no longer used (FETCH_INFERIOR_REGISTERS)
is only mentioned in a comment inside m68klinux-nat.c.
/* FIXME: This duplicates code from `inptrace.c'. The problem is that we
define FETCH_INFERIOR_REGISTERS since we want to use our own versions
of {fetch,store}_inferior_registers that use the GETREGS request. This
means that the code in `infptrace.c' is #ifdef'd out. But we need to
fall back on that code when GDB is running on top of a kernel that
doesn't support the GETREGS request. */
I can see that the duplication is still there, but I think that things
might have changed quite a bit since the FIXME was written. It looks
like you are maintaining GDB on that platform, so I was wondering if
you could take a look at the comment and maybe update it a bit?
Thank you!
--
Joel