aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-10-22 02:26:04 +0000
committerStu Grossman <grossman@cygnus>1992-10-22 02:26:04 +0000
commit3496b7456212818953a6b39a0ea0b278ee5de913 (patch)
tree11debca0692562899681854bc0ae2d43c51b7d8b
parent99ef5653ef55756bbe0813a2d8994734c1a365d7 (diff)
downloadgdb-3496b7456212818953a6b39a0ea0b278ee5de913.zip
gdb-3496b7456212818953a6b39a0ea0b278ee5de913.tar.gz
gdb-3496b7456212818953a6b39a0ea0b278ee5de913.tar.bz2
* i386v-nat.c: Remove space from front of #endif.
* irix4-nat.c: Remove externs of registers[], include inferior.h instead. * mips-nat.c: Explicitly initialize zerobuf to 0! * mips-tdep.c (init_extra_frame_info): Undo John's last change. Always setup fci->frame, even if it's non-zero. Too many places depend upon this behavior (and I have to get a release out the door)! * mipsread.c (parse_partial_symbols, psymtab_to_symtab_1): Set processing_gcc_compilation if we find the embedded stabs marker. This fixes several bugs with finding the location of short or char function parameters passed on the stack.
-rw-r--r--gdb/ChangeLog15
-rw-r--r--gdb/i386v-nat.c2
-rw-r--r--gdb/irix4-nat.c3
-rw-r--r--gdb/mips-nat.c2
4 files changed, 18 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 12d21f1..94afd30 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,18 @@
+Wed Oct 21 19:08:20 1992 Stu Grossman (grossman at cygnus.com)
+
+ * i386v-nat.c: Remove space from front of #endif.
+ * irix4-nat.c: Remove externs of registers[], include inferior.h
+ instead.
+ * mips-nat.c: Explicitly initialize zerobuf to 0!
+ * mips-tdep.c (init_extra_frame_info): Undo John's last change.
+ Always setup fci->frame, even if it's non-zero. Too many places
+ depend upon this behavior (and I have to get a release out the
+ door)!
+ * mipsread.c (parse_partial_symbols, psymtab_to_symtab_1): Set
+ processing_gcc_compilation if we find the embedded stabs marker.
+ This fixes several bugs with finding the location of short or char
+ function parameters passed on the stack.
+
Wed Oct 21 17:46:07 1992 K. Richard Pixley (rich@sendai.cygnus.com)
Native support for sun4sol2.
diff --git a/gdb/i386v-nat.c b/gdb/i386v-nat.c
index f43b87e..3598d3a 100644
--- a/gdb/i386v-nat.c
+++ b/gdb/i386v-nat.c
@@ -159,7 +159,7 @@ i386_float_info ()
perror_with_name ("read from core file");
skip = 0;
}
- #endif /* 0 */
+#endif /* 0 */
fpstatep = (struct fpstate *)(buf + skip);
print_387_status (fpstatep->status, (struct env387 *)fpstatep->state);
diff --git a/gdb/irix4-nat.c b/gdb/irix4-nat.c
index 97b63dc..c524c99 100644
--- a/gdb/irix4-nat.c
+++ b/gdb/irix4-nat.c
@@ -21,6 +21,7 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "defs.h"
+#include "inferior.h"
#include <sys/time.h>
#include <sys/procfs.h>
@@ -61,7 +62,6 @@ fill_gregset (gregsetp, regno)
{
int regi;
register greg_t *regp = (greg_t *)(gregsetp->gp_regs);
- extern char registers[];
/* same FIXME as above wrt 32*/
for (regi = 0; regi < 32; regi++)
@@ -111,7 +111,6 @@ fill_fpregset (fpregsetp, regno)
{
int regi;
char *from, *to;
- extern char registers[];
for (regi = FP0_REGNUM; regi < FP0_REGNUM + 32; regi++)
{
diff --git a/gdb/mips-nat.c b/gdb/mips-nat.c
index ee37c7d..d7c28b5 100644
--- a/gdb/mips-nat.c
+++ b/gdb/mips-nat.c
@@ -59,7 +59,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
: regno >= FP0_REGNUM ? FPR_BASE + (regno - FP0_REGNUM) \
: 0)
-static char zerobuf[MAX_REGISTER_RAW_SIZE];
+static char zerobuf[MAX_REGISTER_RAW_SIZE] = {0};
/* Get all registers from the inferior */