aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-10-21 10:52:09 +0000
committerJohn Gilmore <gnu@cygnus>1992-10-21 10:52:09 +0000
commite4db3f3e0674eac6248dc173689408d005efcfc7 (patch)
tree14c4adfd447de98ac4bad22f5637ed53dad13795 /gdb
parent7b107b1ec4228ecc51f0ad9b38626d2b4cd04075 (diff)
downloadgdb-e4db3f3e0674eac6248dc173689408d005efcfc7.zip
gdb-e4db3f3e0674eac6248dc173689408d005efcfc7.tar.gz
gdb-e4db3f3e0674eac6248dc173689408d005efcfc7.tar.bz2
* Makefile.in (VERSION): Tick to 4.6.9.
* mipsread.c (UNSAFE_DATA_ADDR): Remove MIPS-host-specific definition, replace with portable one. * remote-nindy.c: Lint. (nindy_wait): Return type is int, result is inferior_pid. * symmisc.c (dump_psymtab): Only print section_offsets if set. (initialize_symmisc): Remove empty function. * tm-spc-noun.h, tm-sun4os4.h, tm-sun4sol2.h (STACK_END_ADDRESS): Remove obsolete, misspelled macro. * doc/gdbint.texinfo: Document obsolete STACK_END_ADDR. (all @node commands): Use new form to avoid nitpicking errors. * doc/gdbint.texinfo: Document host/native/target split.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog18
-rw-r--r--gdb/Makefile.in2
-rw-r--r--gdb/remote-nindy.c17
-rw-r--r--gdb/tm-spc-noun.h7
-rw-r--r--gdb/tm-sun4os4.h5
-rw-r--r--gdb/tm-sun4sol2.h6
6 files changed, 36 insertions, 19 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2ce0b5d..0d15bb3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,21 @@
+Wed Oct 21 03:51:01 1992 John Gilmore (gnu@cygnus.com)
+
+ * Makefile.in (VERSION): Tick to 4.6.9.
+
+Tue Oct 20 23:27:56 1992 John Gilmore (gnu@cygnus.com)
+
+ * mipsread.c (UNSAFE_DATA_ADDR): Remove MIPS-host-specific
+ definition, replace with portable one.
+ * remote-nindy.c: Lint.
+ (nindy_wait): Return type is int, result is inferior_pid.
+ * symmisc.c (dump_psymtab): Only print section_offsets if set.
+ (initialize_symmisc): Remove empty function.
+ * tm-spc-noun.h, tm-sun4os4.h, tm-sun4sol2.h (STACK_END_ADDRESS):
+ Remove obsolete, misspelled macro.
+ * doc/gdbint.texinfo: Document obsolete STACK_END_ADDR.
+ (all @node commands): Use new form to avoid nitpicking errors.
+ * doc/gdbint.texinfo: Document host/native/target split.
+
Wed Oct 21 00:14:34 1992 Stu Grossman (grossman at cygnus.com)
* mips-nat.c (zerobuf): Get rid of const to avoid gcc warnings.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 90f5505..ca499f8 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -166,7 +166,7 @@ CDEPS = ${XM_CDEPS} ${TM_CDEPS} ${NAT_CDEPS} \
ADD_FILES = ${REGEX} ${ALLOCA} ${XM_ADD_FILES} ${TM_ADD_FILES} ${NAT_ADD_FILES}
ADD_DEPS = ${REGEX1} ${ALLOCA1} ${XM_ADD_FILES} ${TM_ADD_FILES} ${NAT_ADD_FILES}
-VERSION = 4.6.8
+VERSION = 4.6.9
DIST=gdb
LINT=/usr/5bin/lint
diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c
index 0840bb6..8081067 100644
--- a/gdb/remote-nindy.c
+++ b/gdb/remote-nindy.c
@@ -145,8 +145,18 @@ static int have_regs = 0; /* 1 iff regs read since i960 last halted */
static int regs_changed = 0; /* 1 iff regs were modified since last read */
extern char *exists();
-static void dcache_flush (), dcache_poke (), dcache_init();
-static int dcache_fetch ();
+
+static void
+dcache_flush (), dcache_poke (), dcache_init();
+
+static int
+dcache_fetch ();
+
+static void
+nindy_fetch_registers PARAMS ((int));
+
+static void
+nindy_store_registers PARAMS ((int));
/* FIXME, we can probably use the normal terminal_inferior stuff here.
We have to do terminal_inferior and then set up the passthrough
@@ -355,7 +365,7 @@ nindy_resume (step, siggnal)
* Return to caller, storing status in 'status' just as `wait' would.
*/
-void
+static int
nindy_wait( status )
WAITTYPE *status;
{
@@ -456,6 +466,7 @@ nindy_wait( status )
}
WSETSTOP( (*status), stop_code );
}
+ return inferior_pid;
}
/* Read the remote registers into the block REGS. */
diff --git a/gdb/tm-spc-noun.h b/gdb/tm-spc-noun.h
index a77ea0a..ab5a6a6 100644
--- a/gdb/tm-spc-noun.h
+++ b/gdb/tm-spc-noun.h
@@ -1,6 +1,6 @@
/* Target machine definitions for GDB for an embedded SPARC, that uses
a file format where symbols have no leading underscore.
- Copyright (C) 1989, 1992 Free Software Foundation, Inc.
+ Copyright 1989, 1992 Free Software Foundation, Inc.
This file is part of GDB.
@@ -20,11 +20,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "tm-sparc.h"
-/* Arbitrary -- FIXME. */
-
-#undef STACK_END_ADDRESS
-#define STACK_END_ADDRESS 0xf8000000
-
/* Offsets into jmp_buf. Not defined by Sun, but at least documented in a
comment in <machine/setjmp.h>! */
diff --git a/gdb/tm-sun4os4.h b/gdb/tm-sun4os4.h
index 6fec921..9115d05 100644
--- a/gdb/tm-sun4os4.h
+++ b/gdb/tm-sun4os4.h
@@ -1,5 +1,5 @@
/* Macro definitions for GDB for a Sun 4 running sunos 4.
- Copyright (C) 1989, 1992 Free Software Foundation, Inc.
+ Copyright 1989, 1992 Free Software Foundation, Inc.
This file is part of GDB.
@@ -20,9 +20,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "tm-sparc.h"
#include "tm-sunos.h"
-#undef STACK_END_ADDRESS
-#define STACK_END_ADDRESS 0xf8000000
-
/* Offsets into jmp_buf. Not defined by Sun, but at least documented in a
comment in <machine/setjmp.h>! */
diff --git a/gdb/tm-sun4sol2.h b/gdb/tm-sun4sol2.h
index 76251d9..c4f1921 100644
--- a/gdb/tm-sun4sol2.h
+++ b/gdb/tm-sun4sol2.h
@@ -1,5 +1,5 @@
/* Macro definitions for GDB for a Sun 4 running Solaris 2
- Copyright (C) 1989, 1992 Free Software Foundation, Inc.
+ Copyright 1989, 1992 Free Software Foundation, Inc.
This file is part of GDB.
@@ -18,12 +18,8 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "tm-sparc.h"
-
#include "tm-sysv4.h"
-#undef STACK_END_ADDRESS
-#define STACK_END_ADDRESS 0xf8000000
-
/* The values of N_SLINE, N_LBRAC, N_RBRAC symbols in .stab sections are
relative to the current function, rather than being absolute or
relative to the current N_SO. */