From 3c5d10c8dfbe06ac621c1807e2944f751c8f2f18 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 2 Mar 1994 18:33:58 +0000 Subject: [PATCH] * remote-os9k.c (rombug_wait): Call find_pc_section not find_pc_objfile. --- gdb/remote-os9k.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2