]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* i386v-nat.c: Remove space from front of #endif.
authorStu Grossman <grossman@cygnus>
Thu, 22 Oct 1992 02:26:04 +0000 (02:26 +0000)
committerStu Grossman <grossman@cygnus>
Thu, 22 Oct 1992 02:26:04 +0000 (02:26 +0000)
* 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/ChangeLog
gdb/i386v-nat.c
gdb/irix4-nat.c
gdb/mips-nat.c

index 12d21f1eb201630b9c69d52ce4a56c52193dd55f..94afd30b1d5c5c82e1425e7eaff2ff6cbee442fb 100644 (file)
@@ -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.
index f43b87eb52fd75e1f45bf3987edcf25256841bed..3598d3a03f11d7b6b93d63b54c337863e1f26d53 100644 (file)
@@ -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);
index 97b63dc3a85c6727b5b729c8bdc9833ae09f97d9..c524c99349a8a07f0680de4cbd303fe7e1ebf1a8 100644 (file)
@@ -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++)
     {
index ee37c7d5b366f64722aa494ac73de237caac9a27..d7c28b5487415d12e3098a0f752f20cc382ea444 100644 (file)
@@ -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 */