aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-08 16:51:14 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-08 16:51:14 +0000
commitcefa23ca43b74a7e4655aa65912f95068847dd8d (patch)
tree2d099aae39111f717a137a2284e6408625aace4d /gdb/remote.c
parent747a632937be7247faf5546916056b8d24de4bd0 (diff)
downloadgdb-cefa23ca43b74a7e4655aa65912f95068847dd8d.zip
gdb-cefa23ca43b74a7e4655aa65912f95068847dd8d.tar.gz
gdb-cefa23ca43b74a7e4655aa65912f95068847dd8d.tar.bz2
* remote.c (remote_wait): Use strtoul for parsing 'N' message.
Add code to relocate symfile_objfile->sections.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c6
1 files changed, 3 insertions, 3 deletions
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)
{