From cefa23ca43b74a7e4655aa65912f95068847dd8d Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 8 Oct 1993 16:51:14 +0000 Subject: * remote.c (remote_wait): Use strtoul for parsing 'N' message. Add code to relocate symfile_objfile->sections. --- gdb/remote.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/remote.c') diff --git a/gdb/remote.c b/gdb/remote.c index 9900b3b..329eb4e 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -581,16 +581,16 @@ remote_wait (status) objfile_relocate (symfile_objfile, offs); { struct obj_section *s; - bfd *bfd; + bfd *abfd; - bfd = symfile_objfile->obfd; + abfd = symfile_objfile->obfd; for (s = symfile_objfile->sections; s < symfile_objfile->sections_end; ++s) { flagword flags; - flags = bfd_get_section_flags (bfd, s->sec_ptr); + flags = bfd_get_section_flags (abfd, s->sec_ptr); if (flags & SEC_CODE) { -- cgit v1.1