diff options
author | Jeff Holcomb <jeffh@redhat.com> | 2001-01-26 19:47:23 +0000 |
---|---|---|
committer | Jeff Holcomb <jeffh@redhat.com> | 2001-01-26 19:47:23 +0000 |
commit | 5b616ba11e5389dc47b9d85a3cbfbdbb54955801 (patch) | |
tree | b9efaef3347e013222c3a8b373607dbef3007a0f /gdb/config | |
parent | b91d87cfc7f7c17338c5100c06424cc1b0b59c28 (diff) | |
download | gdb-5b616ba11e5389dc47b9d85a3cbfbdbb54955801.zip gdb-5b616ba11e5389dc47b9d85a3cbfbdbb54955801.tar.gz gdb-5b616ba11e5389dc47b9d85a3cbfbdbb54955801.tar.bz2 |
2001-01-24 Jeff Holcomb <jeffh@redhat.com>
* remote-udi.c (udi_open): Change strdup to xstrdup.
* thread.c (thread_apply_all_command): Change strdup to xstrdup.
Update copyright message.
* varobj.c (delete_variable_1): Likewise.
* gdb_string.h: Remove declaration of strdup. Update copyright
message.
* config/xm-mpw.h: Likewise.
* config/i386/xm-i386mach.h: Likewise.
* config/m68k/xm-apollo68b.h: Likewise.
* config/m68k/xm-hp300bsd.h: Likewise.
* config/rs6000/xm-rs6000.h: Likewise.
* config/vax/xm-vaxult.h: Remove declaration of strdup.
* config/vax/xm-vaxult2.h: Likewise.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/xm-i386mach.h | 4 | ||||
-rw-r--r-- | gdb/config/m68k/xm-apollo68b.h | 4 | ||||
-rw-r--r-- | gdb/config/m68k/xm-hp300bsd.h | 4 | ||||
-rw-r--r-- | gdb/config/rs6000/xm-rs6000.h | 5 | ||||
-rw-r--r-- | gdb/config/vax/xm-vaxult.h | 2 | ||||
-rw-r--r-- | gdb/config/vax/xm-vaxult2.h | 2 | ||||
-rw-r--r-- | gdb/config/xm-mpw.h | 6 |
7 files changed, 5 insertions, 22 deletions
diff --git a/gdb/config/i386/xm-i386mach.h b/gdb/config/i386/xm-i386mach.h index 094660a..e91e493 100644 --- a/gdb/config/i386/xm-i386mach.h +++ b/gdb/config/i386/xm-i386mach.h @@ -1,5 +1,5 @@ /* Definitions to make GDB run on Mach on an Intel 386 - Copyright (C) 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc. + Copyright (C) 1986, 1987, 1989, 1991, 1992, 2001 Free Software Foundation, Inc. This file is part of GDB. @@ -27,5 +27,3 @@ /* <errno.h> only defines this if __STDC__!!! */ extern int errno; - -extern char *strdup (); diff --git a/gdb/config/m68k/xm-apollo68b.h b/gdb/config/m68k/xm-apollo68b.h index 8509c32..c73c974 100644 --- a/gdb/config/m68k/xm-apollo68b.h +++ b/gdb/config/m68k/xm-apollo68b.h @@ -1,5 +1,5 @@ /* Macro definitions for an Apollo m68k in BSD mode - Copyright (C) 1992 Free Software Foundation, Inc. + Copyright (C) 1992, 2001 Free Software Foundation, Inc. This file is part of GDB. @@ -21,5 +21,3 @@ #define HOST_BYTE_ORDER BIG_ENDIAN #define ALIGN_STACK_ON_STARTUP - -extern char *strdup (); diff --git a/gdb/config/m68k/xm-hp300bsd.h b/gdb/config/m68k/xm-hp300bsd.h index 3911801..2986fd8 100644 --- a/gdb/config/m68k/xm-hp300bsd.h +++ b/gdb/config/m68k/xm-hp300bsd.h @@ -1,5 +1,5 @@ /* Parameters for hosting on a Hewlett-Packard 9000/300, running bsd. - Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. This file is part of GDB. @@ -30,8 +30,6 @@ /* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */ #define ONE_PROCESS_WRITETEXT - -extern char *strdup (const char *); /* Interface definitions for kernel debugger KDB. */ diff --git a/gdb/config/rs6000/xm-rs6000.h b/gdb/config/rs6000/xm-rs6000.h index 24a9e50..6a1a4bd 100644 --- a/gdb/config/rs6000/xm-rs6000.h +++ b/gdb/config/rs6000/xm-rs6000.h @@ -1,5 +1,5 @@ /* Parameters for hosting on an RS6000, for GDB, the GNU debugger. - Copyright 1986-87, 1989, 1991-96, 1998 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 2001 Free Software Foundation, Inc. Contributed by IBM Corporation. This file is part of GDB. @@ -67,9 +67,6 @@ #define SETPGRP_ARGS 1 -/* AIX doesn't have strdup, so we need to declare it for libiberty */ -extern char *strdup (char *); - /* Signal handler for SIGWINCH `window size changed'. */ #define SIGWINCH_HANDLER aix_resizewindow diff --git a/gdb/config/vax/xm-vaxult.h b/gdb/config/vax/xm-vaxult.h index 5b9020a..576a44f 100644 --- a/gdb/config/vax/xm-vaxult.h +++ b/gdb/config/vax/xm-vaxult.h @@ -1,8 +1,6 @@ /* Definitions to make GDB run on a vax under Ultrix. */ #include "vax/xm-vax.h" -extern char *strdup (); - /* This is required for Ultrix 3.1b, not for later versions. Ultrix 3.1b can't just use xm-vaxult2.h because Ultrix 3.1b does define FD_SET. Sure, we could have separate configurations for vaxult2, diff --git a/gdb/config/vax/xm-vaxult2.h b/gdb/config/vax/xm-vaxult2.h index 3d039ce..a466698 100644 --- a/gdb/config/vax/xm-vaxult2.h +++ b/gdb/config/vax/xm-vaxult2.h @@ -1,8 +1,6 @@ /* Definitions to make GDB run on a vax under Ultrix. */ #include "vax/xm-vax.h" -extern char *strdup (); - #define NO_PTRACE_H /* Old versions of ultrix have fd_set but not the FD_* macros. */ diff --git a/gdb/config/xm-mpw.h b/gdb/config/xm-mpw.h index f6aa90e..535a109 100644 --- a/gdb/config/xm-mpw.h +++ b/gdb/config/xm-mpw.h @@ -1,5 +1,5 @@ /* Macro definitions for running GDB on Apple Macintoshes. - Copyright (C) 1994, 1995 Free Software Foundation, Inc. + Copyright (C) 1994, 1995, 2001 Free Software Foundation, Inc. This file is part of GDB. @@ -42,10 +42,6 @@ #define POSIX_UTIME -/* No declaration of strdup in MPW's string.h, oddly enough. */ - -char *strdup (char *s1); - /* '.' indicates drivers on the Mac, so we need a different filename. */ #define GDBINIT_FILENAME "_gdbinit" |