* remote.c (remote_wait): Use strtoul for parsing 'N' message.

Add code to relocate symfile_objfile->sections.
This commit is contained in:
Jim Kingdon 1993-10-08 16:51:14 +00:00
parent 747a632937
commit cefa23ca43
1 changed files with 3 additions and 3 deletions

View File

@ -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)
{