mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-26 12:25:31 +00:00
2005-12-08 Randolph Chung <tausq@debian.org>
* somread.c (som_symfile_offsets): Iterate through number of sections in addrs instead of objfile.
This commit is contained in:
parent
bd4c522848
commit
8d49894913
@ -1,3 +1,8 @@
|
||||
2005-12-08 Randolph Chung <tausq@debian.org>
|
||||
|
||||
* somread.c (som_symfile_offsets): Iterate through number of sections
|
||||
in addrs instead of objfile.
|
||||
|
||||
2005-12-07 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* valops.c (value_struct_elt): Clarify error message.
|
||||
|
@ -442,7 +442,7 @@ som_symfile_offsets (struct objfile *objfile, struct section_addr_info *addrs)
|
||||
/* Note: Here is OK to compare with ".text" because this is the
|
||||
name that gdb itself gives to that section, not the SOM
|
||||
name. */
|
||||
for (i = 0; i < objfile->num_sections && addrs->other[i].name; i++)
|
||||
for (i = 0; i < addrs->num_sections && addrs->other[i].name; i++)
|
||||
if (strcmp (addrs->other[i].name, ".text") == 0)
|
||||
break;
|
||||
text_addr = addrs->other[i].addr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user