From 3496b7456212818953a6b39a0ea0b278ee5de913 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Thu, 22 Oct 1992 02:26:04 +0000 Subject: * 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. --- gdb/mips-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/mips-nat.c') 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 */ -- cgit v1.1