diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-10-05 23:07:51 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-10-05 23:07:51 +0000 |
commit | d0b91dde4bfed920418f26b115509ca0ca404abd (patch) | |
tree | 2a5920fe7753d526fb936c527f855e08abd5c74a /gdb/irix5-nat.c | |
parent | 59ebfb4ff5d3e176f19dd5f4c3923c6cc6cac7ec (diff) | |
download | gdb-d0b91dde4bfed920418f26b115509ca0ca404abd.tar.gz |
import gdb-1999-10-04 snapshot
Diffstat (limited to 'gdb/irix5-nat.c')
-rw-r--r-- | gdb/irix5-nat.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/gdb/irix5-nat.c b/gdb/irix5-nat.c index 50bae768984..00c593e362d 100644 --- a/gdb/irix5-nat.c +++ b/gdb/irix5-nat.c @@ -832,7 +832,9 @@ symbol_add_stub (arg) { register struct so_list *so = (struct so_list *) arg; /* catch_errs bogon */ CORE_ADDR text_addr = 0; + struct section_addr_info section_addrs; + memset (§ion_addrs, 0, sizeof (section_addrs)); if (so->textsection) text_addr = so->textsection->addr; else if (so->abfd != NULL) @@ -850,9 +852,10 @@ symbol_add_stub (arg) text_addr = bfd_section_vma (so->abfd, lowest_sect) + LM_OFFSET (so); } + section_addrs.text_addr = text_addr; so->objfile = symbol_file_add (so->so_name, so->from_tty, - text_addr, - 0, 0, 0, 0, 0); + §ion_addrs, + 0, 0, 0, 0); return (1); } @@ -1314,9 +1317,11 @@ must be loaded manually, using `sharedlibrary'.", static struct core_fns irix5_core_fns = { - bfd_target_unknown_flavour, - fetch_core_registers, - NULL + bfd_target_unknown_flavour, /* core_flavour */ + default_check_format, /* check_format */ + default_core_sniffer, /* core_sniffer */ + fetch_core_registers, /* core_read_registers */ + NULL /* next */ }; void |