aboutsummaryrefslogtreecommitdiff
path: root/gdb/irix4-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/irix4-nat.c
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.
Diffstat (limited to 'gdb/irix4-nat.c')
-rw-r--r--gdb/irix4-nat.c3
1 files changed, 1 insertions, 2 deletions
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++)
{