aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-os9k.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-os9k.c')
-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)