From: Jim Kingdon Date: Fri, 8 Oct 1993 16:51:14 +0000 (+0000) Subject: * remote.c (remote_wait): Use strtoul for parsing 'N' message. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cefa23ca43b74a7e4655aa65912f95068847dd8d;p=binutils-gdb.git * remote.c (remote_wait): Use strtoul for parsing 'N' message. Add code to relocate symfile_objfile->sections. --- 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) {