diff options
Diffstat (limited to 'gdb/irix5-nat.c')
-rw-r--r-- | gdb/irix5-nat.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/irix5-nat.c b/gdb/irix5-nat.c index 0c090de6477..19e4d954cc2 100644 --- a/gdb/irix5-nat.c +++ b/gdb/irix5-nat.c @@ -33,6 +33,9 @@ #include <sys/procfs.h> #include <setjmp.h> /* For JB_XXX. */ +/* Prototypes for supply_gregset etc. */ +#include "gregset.h" + static void fetch_core_registers PARAMS ((char *, unsigned int, int, CORE_ADDR)); @@ -852,7 +855,9 @@ symbol_add_stub (arg) text_addr = bfd_section_vma (so->abfd, lowest_sect) + LM_OFFSET (so); } - section_addrs.text_addr = text_addr; + + section_addrs.other[0].name = ".text"; + section_addrs.other[0].addr = text_addr; so->objfile = symbol_file_add (so->so_name, so->from_tty, §ion_addrs, 0, 0); return (1); |