From: Jim Kingdon Date: Wed, 2 Mar 1994 18:33:58 +0000 (+0000) Subject: * remote-os9k.c (rombug_wait): Call find_pc_section not X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c5d10c8dfbe06ac621c1807e2944f751c8f2f18;p=binutils-gdb.git * remote-os9k.c (rombug_wait): Call find_pc_section not find_pc_objfile. --- diff --git a/gdb/remote-os9k.c b/gdb/remote-os9k.c index b6d6758fc47..d0d91fd5115 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)