projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
747a632
)
* remote.c (remote_wait): Use strtoul for parsing 'N' message.
author
Jim Kingdon
<jkingdon@engr.sgi.com>
Fri, 8 Oct 1993 16:51:14 +0000
(16:51 +0000)
committer
Jim Kingdon
<jkingdon@engr.sgi.com>
Fri, 8 Oct 1993 16:51:14 +0000
(16:51 +0000)
Add code to relocate symfile_objfile->sections.
gdb/remote.c
patch
|
blob
|
history
diff --git
a/gdb/remote.c
b/gdb/remote.c
index 9900b3b1ad71af96cf7a4ecb9b2a711a7de6537b..329eb4eef7dcb6792fcedb37205e0b3bcbd59742 100644
(file)
--- 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 *
a
bfd;
- bfd = symfile_objfile->obfd;
+
a
bfd = 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 (
a
bfd, s->sec_ptr);
if (flags & SEC_CODE)
{