aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-nat.c
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 /gdb/mips-nat.c
parent99ef5653ef55756bbe0813a2d8994734c1a365d7 (diff)
downloadfsf-binutils-gdb-3496b7456212818953a6b39a0ea0b278ee5de913.zip
fsf-binutils-gdb-3496b7456212818953a6b39a0ea0b278ee5de913.tar.gz
fsf-binutils-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.
Diffstat (limited to 'gdb/mips-nat.c')
-rw-r--r--gdb/mips-nat.c2
1 files changed, 1 insertions, 1 deletions
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 */