From 33614d0fc6d6209e6a3297473b14f04393ce0267 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Mon, 22 Apr 1991 04:45:26 +0000 Subject: [PATCH] * tm-i386v{,-g}.h: Remove N_SET_MAGIC define. --- gdb/ChangeLog | 4 ++++ gdb/tm-i386v-g.h | 3 --- gdb/tm-i386v.h | 5 ----- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e824ed59296..0c209bb0e2d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Sun Apr 21 21:43:10 1991 Jim Kingdon (kingdon at cygint.cygnus.com) + + * tm-i386v{,-g}.h: Remove N_SET_MAGIC define. + Sat Apr 20 21:42:47 1991 Jim Kingdon (kingdon at cygint.cygnus.com) * i386-tdep.c: Remove unnecessary #includes. diff --git a/gdb/tm-i386v-g.h b/gdb/tm-i386v-g.h index e1dc3fd88c8..1adc911110f 100644 --- a/gdb/tm-i386v-g.h +++ b/gdb/tm-i386v-g.h @@ -29,9 +29,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "tm-i386v.h" -/* The version in m-i386.h is for COFF. */ -#undef N_SET_MAGIC - #define NAMES_HAVE_UNDERSCORE #undef COFF_FORMAT diff --git a/gdb/tm-i386v.h b/gdb/tm-i386v.h index 0a146cdde31..2c2da0c4c86 100644 --- a/gdb/tm-i386v.h +++ b/gdb/tm-i386v.h @@ -67,11 +67,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define SAVED_PC_AFTER_CALL(frame) \ (read_memory_integer (read_register (SP_REGNUM), 4)) -/* This is only supposed to work in execcore.c, where x == 0 and - this is called before any other fields are filled in. */ -#define N_SET_MAGIC(aouthdr, x) \ - bzero ((char *) &aouthdr, sizeof aouthdr) - /* Address of end of stack space. */ #define STACK_END_ADDR 0x80000000 -- 2.30.2