From df0393e345d833ce177ce889367f148b90268146 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Sat, 30 Oct 1993 13:42:43 +0000 Subject: [PATCH] * config/i386/{i386m3.mh,i386mk.mh}, config/mips/mipsm3.mh, config/ns32k/ns32km3.mh: Change MMALLOC_LIB to MMALLOC. * TODO: Update Mach stuff. --- gdb/TODO | 10 +++++----- gdb/config/i386/i386m3.mh | 2 +- gdb/config/i386/i386mk.mh | 2 +- gdb/config/mips/mipsm3.mh | 2 +- gdb/config/ns32k/ns32km3.mh | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gdb/TODO b/gdb/TODO index 8350e7e925..f643f84263 100644 --- a/gdb/TODO +++ b/gdb/TODO @@ -38,11 +38,10 @@ the hooks for PREPARE_TO_PROCEED and ATTACH_TO_THREAD, which I haven't merged--can these go in target_resume()? 4. BFD problem--"Undefined symbol _aout_32_swap_exec_header_in". +Believed to be fixed (fix not yet tested with GDB). 5. The linker complains about mfree and so on being multiply defined. -As one version is in a library, this seems like a linker bug. But I -think changing MMALLOC_LIB to MMALLOC in the .mh files is all that is -necessary to fix it. +Believed to be fixed (fix not yet tested). 6. i386_mach3_float_info and register_addr were undefined in the link. I haven't investigated, but probably just another easy @@ -50,8 +49,9 @@ configuration thing or something. 7. I couldn't find mach_port_t in any of the headers in /usr/include/*.h or /usr/include/mach/*.h (I think those are the two -places I tried). Typedeffing it to void * in nm-m3.h seemed to work, -but of course that's hardly an elegant solution. +places I grepped; I don't know what headers I was actually getting). +Typedeffing it to void * in nm-m3.h seemed to work, but of course +that's hardly an elegant solution. 8. Implement the features which CMU gdb has which the main GDB does not. This could be done by getting paperwork from CMU and merging diff --git a/gdb/config/i386/i386m3.mh b/gdb/config/i386/i386m3.mh index 71f4b62fc9..746bf7847c 100644 --- a/gdb/config/i386/i386m3.mh +++ b/gdb/config/i386/i386m3.mh @@ -5,5 +5,5 @@ NATDEPFILES= i386m3-nat.o m3-nat.o XM_FILE= xm-i386m3.h # Don't use the mmalloc library in Mach 3. -MMALLOC_LIB = +MMALLOC = MMALLOC_DISABLE = -DNO_MMALLOC diff --git a/gdb/config/i386/i386mk.mh b/gdb/config/i386/i386mk.mh index e5d30f8c80..cf1da571b0 100644 --- a/gdb/config/i386/i386mk.mh +++ b/gdb/config/i386/i386mk.mh @@ -4,5 +4,5 @@ XDEPFILES= os-mach3.o i386mach3-xdep.o i387-tdep.o XM_FILE= xm-i386osf1mk.h # Don't use the mmalloc library in Mach 3. -MMALLOC_LIB = +MMALLOC = MMALLOC_DISABLE = -DNO_MMALLOC diff --git a/gdb/config/mips/mipsm3.mh b/gdb/config/mips/mipsm3.mh index 3cfbaac42c..5b40b4b90e 100644 --- a/gdb/config/mips/mipsm3.mh +++ b/gdb/config/mips/mipsm3.mh @@ -6,5 +6,5 @@ NATDEPFILES= mipsm3-nat.o m3-nat.o XM_FILE= xm-mipsm3.h # Don't use the mmalloc library in Mach 3. -MMALLOC_LIB = +MMALLOC = MMALLOC_DISABLE = -DNO_MMALLOC diff --git a/gdb/config/ns32k/ns32km3.mh b/gdb/config/ns32k/ns32km3.mh index 526b50e7c0..169aea4238 100644 --- a/gdb/config/ns32k/ns32km3.mh +++ b/gdb/config/ns32k/ns32km3.mh @@ -4,5 +4,5 @@ NATDEPFILES= m3-nat.o ns32km3-nat.o XM_FILE= xm-ns32km3.h # Don't use the mmalloc library in Mach 3. -MMALLOC_LIB = +MMALLOC = MMALLOC_DISABLE = -DNO_MMALLOC -- 2.34.1