From 9d53db1ac760ce20fa54fdea4579e5239080a0fa Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Wed, 25 Mar 1992 01:57:29 +0000 Subject: [PATCH] * xm-mips.h: declare strdup for ultrix. --- gdb/ChangeLog | 2 ++ gdb/xm-mips.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bebfede30a..1708125703 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ Tue Mar 24 14:17:48 1992 Stu Grossman (grossman@cygnus.com) + * xm-mips.h: declare strdup for ultrix. + * mipsread.c (fixup_sigtramp): Make sure that current_objfile is setup when calling new_symbol. * mips-tdep.c (mips_frame_chain): Use symfile_objfile instead of diff --git a/gdb/xm-mips.h b/gdb/xm-mips.h index ff2bebf51b..42ea055458 100644 --- a/gdb/xm-mips.h +++ b/gdb/xm-mips.h @@ -29,6 +29,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define KERNEL_U_ADDR 0 /* Not needed. */ +#ifdef ultrix +extern char *strdup(); +#endif + /* Only used for core files on DECstations. */ #define REGISTER_U_ADDR(addr, blockend, regno) \