From cefa23ca43b74a7e4655aa65912f95068847dd8d Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 8 Oct 1993 16:51:14 +0000 Subject: [PATCH] * 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(-) diff --git a/gdb/remote.c b/gdb/remote.c index 9900b3b1ad7..329eb4eef7d 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) { -- 2.30.2