aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68klinux-nat.c
diff options
context:
space:
mode:
authorEdith Epstein <eepstein@cygnus>1998-12-08 21:57:35 +0000
committerEdith Epstein <eepstein@cygnus>1998-12-08 21:57:35 +0000
commit09faf0c212900a7b5c2ac37ddf3ab86d27dc08b1 (patch)
treefabc9a9ffae22b3e390d94f0d77a59a8e73f5c6d /gdb/m68klinux-nat.c
parent943695fcb9b0f2d2dd6c2c30a84e26ad168436b8 (diff)
downloadfsf-binutils-gdb-09faf0c212900a7b5c2ac37ddf3ab86d27dc08b1.zip
fsf-binutils-gdb-09faf0c212900a7b5c2ac37ddf3ab86d27dc08b1.tar.gz
fsf-binutils-gdb-09faf0c212900a7b5c2ac37ddf3ab86d27dc08b1.tar.bz2
Tue Dec 8 15:09:44 1998 Edith Epstein <eepstein@sophia.cygnus.com>
Merged in m68k-linux patch from Andreas Schwab 1998-12-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * Makefile.in, configure.host, configure.tgt: Add support for m68k-linux. * config/m68k/linux.mh: New file. * config/m68k/linux.mt: New file. * config/m68k/nm-linux.h: New file. * config/m68k/tm-linux.h: New file. * config/m68k/xm-linux.h: New file. * gdb/m68klinux-nat.c: New file. * gdbserver/low-linux.c: Add support for m68k-linux. * gdb/config/m68k/tm-m68k.h (NUM_FREGS): New macro.
Diffstat (limited to 'gdb/m68klinux-nat.c')
-rw-r--r--gdb/m68klinux-nat.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/m68klinux-nat.c b/gdb/m68klinux-nat.c
index bcd40f0..8367b24 100644
--- a/gdb/m68klinux-nat.c
+++ b/gdb/m68klinux-nat.c
@@ -70,6 +70,15 @@ m68k_linux_register_u_addr (blockend, regnum)
unpack the register contents and supply them as gdb's idea of the current
register values. */
+
+/* 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. */
+
#ifndef USE_PROC_FS
void