diff options
| author | ross <ross@NetBSD.org> | 1999-03-01 07:58:56 +0000 |
|---|---|---|
| committer | ross <ross@NetBSD.org> | 1999-03-01 07:58:56 +0000 |
| commit | 877897554f5d5ec23dc7d8919df68e07606fbd2e (patch) | |
| tree | 32e325440bf8331a9fe05d80ac69757c5f2bd18a /gnu | |
| parent | d4a3aa46b48288443922b829a3a3655a855f01b9 (diff) | |
Make this build on alpha. Still doesn't work well, though, and now
it can't read corefiles.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/dist/gdb/alpha-tdep.c | 2 | ||||
| -rw-r--r-- | gnu/dist/gdb/config/alpha/nm-nbsd.h | 4 | ||||
| -rw-r--r-- | gnu/dist/gdb/defs.h | 5 | ||||
| -rw-r--r-- | gnu/dist/gdb/main.c | 4 |
4 files changed, 13 insertions, 2 deletions
diff --git a/gnu/dist/gdb/alpha-tdep.c b/gnu/dist/gdb/alpha-tdep.c index bde1ab219b3..01a6f84f15c 100644 --- a/gnu/dist/gdb/alpha-tdep.c +++ b/gnu/dist/gdb/alpha-tdep.c @@ -1441,7 +1441,7 @@ char step_save[8]; /* ...step breakpoint(s)... */ void single_step (ignore) - int ignore; /* pid, but we don't need it */ + enum target_signal ignore; { CORE_ADDR pc; int offset; diff --git a/gnu/dist/gdb/config/alpha/nm-nbsd.h b/gnu/dist/gdb/config/alpha/nm-nbsd.h index 4ce24f2879e..8f97fd9406c 100644 --- a/gnu/dist/gdb/config/alpha/nm-nbsd.h +++ b/gnu/dist/gdb/config/alpha/nm-nbsd.h @@ -19,7 +19,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Need to define this before including the common nm-nbsd.h. */ -#define SVR4_SHARED_LIBS +#ifndef SVR4_SHARED_LIBS +#define SVR4_SHARED_LIBS +#endif SVR4_SHARED_LIBS /* Get generic NetBSD native definitions. */ #include "nm-nbsd.h" diff --git a/gnu/dist/gdb/defs.h b/gnu/dist/gdb/defs.h index c1b3e15a106..e232bcfa5bc 100644 --- a/gnu/dist/gdb/defs.h +++ b/gnu/dist/gdb/defs.h @@ -1090,4 +1090,9 @@ extern int use_windows; #define PIDGET(pid) (pid) #endif +#ifndef USE_MMALLOC +PTR mmalloc PARAMS ((PTR, size_t)); +PTR mrealloc PARAMS ((PTR, PTR, size_t)); +#endif + #endif /* #ifndef DEFS_H */ diff --git a/gnu/dist/gdb/main.c b/gnu/dist/gdb/main.c index 929a00dbbcf..4e995f3926c 100644 --- a/gnu/dist/gdb/main.c +++ b/gnu/dist/gdb/main.c @@ -32,6 +32,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "gdb_stat.h" #include <ctype.h> +#if HAVE_UNISTD_H +#include <unistd.h> +#endif + #include "gdb_string.h" /* Temporary variable for SET_TOP_LEVEL. */ |
