From 09faf0c212900a7b5c2ac37ddf3ab86d27dc08b1 Mon Sep 17 00:00:00 2001 From: Edith Epstein Date: Tue, 8 Dec 1998 21:57:35 +0000 Subject: [PATCH] Tue Dec 8 15:09:44 1998 Edith Epstein Merged in m68k-linux patch from Andreas Schwab 1998-12-01 Andreas Schwab * 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. --- gdb/ChangeLog | 48 +++++++++++++-------------------------------- gdb/m68klinux-nat.c | 9 +++++++++ 2 files changed, 23 insertions(+), 34 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 995fe2e19e1..7374bccf106 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,39 +1,19 @@ Tue Dec 8 15:09:44 1998 Edith Epstein - * config/m68k/tm-m68k.h (NUM_FREGS): m68k-linux patch. - Added NUM_FREGS macro. - - * config/m68k/xm-linux.h: m68k-linux patch. New file. - - * config/m68k/tm-linux.h: m68k-linux patch. New file. - - * config/m68k/nm-linux.h: m68k-linux patch. New file. - - * config/m68k/linux.mt: m68k-linux patch. New file. - - * config/m68k/linux.mh: m68k-linux patch. New file. - - * gdbserver/low-linux.c: m68k-linux patch. Added an ifdef - that checks the value of __GLIBC to decide whether or - not to include sys/reg.h. - - * m68klinux-nat.c: m68k-linux patch. New file. 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 is 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. - - * configure.tgt: m68k-linux patch. Added m68*-*-linux* - gdb_target. - - * configure.host: m68k-linux patch. Added m68*-*-linux* - gdb_host. - - * Makefile.in: m68k-linux patch. Added compile line for - m68klinux-nat.o + Merged in m68k-linux patch from Andreas Schwab + + 1998-12-01 Andreas Schwab + + * 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. 1998-12-07 Jason Molenda (jsm@bugshack.cygnus.com) diff --git a/gdb/m68klinux-nat.c b/gdb/m68klinux-nat.c index bcd40f02ebc..8367b24820b 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 -- 2.30.2