aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-03-02 18:33:58 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-03-02 18:33:58 +0000
commit3c5d10c8dfbe06ac621c1807e2944f751c8f2f18 (patch)
tree38073c903f6b1d22100283278cdb1bc08c2b512f /gdb
parent34b1685053cef50c4126a78342010a2b9beaa142 (diff)
downloadgdb-3c5d10c8dfbe06ac621c1807e2944f751c8f2f18.zip
gdb-3c5d10c8dfbe06ac621c1807e2944f751c8f2f18.tar.gz
gdb-3c5d10c8dfbe06ac621c1807e2944f751c8f2f18.tar.bz2
* remote-os9k.c (rombug_wait): Call find_pc_section not
find_pc_objfile.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/remote-os9k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-os9k.c b/gdb/remote-os9k.c
index b6d6758..d0d91fd 100644
--- a/gdb/remote-os9k.c
+++ b/gdb/remote-os9k.c
@@ -495,7 +495,7 @@ rombug_wait (pid, status)
obj_sec = find_pc_section (pc);
if (obj_sec != NULL)
- new_symfile_objfile (obj_sec, 1, 0);
+ new_symfile_objfile (obj_sec->objfile, 1, 0);
offs = ((struct section_offsets *)
alloca (sizeof (struct section_offsets)