diff options
Diffstat (limited to 'gdb/solib-target.c')
-rw-r--r-- | gdb/solib-target.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/solib-target.c b/gdb/solib-target.c index 63ec176..403d3c0 100644 --- a/gdb/solib-target.c +++ b/gdb/solib-target.c @@ -391,7 +391,8 @@ Could not relocate shared library \"%s\": wrong number of ALLOC sections"), gdb_assert (so->addr_low <= so->addr_high); found_range = 1; } - so->lm_info->offsets->offsets[i] = section_bases[bases_index]; + so->lm_info->offsets->offsets[i] + = section_bases[bases_index]; bases_index++; } if (!found_range) @@ -478,7 +479,8 @@ solib_target_in_dynsym_resolve_code (CORE_ADDR pc) struct target_so_ops solib_target_so_ops; -extern initialize_file_ftype _initialize_solib_target; /* -Wmissing-prototypes */ +/* -Wmissing-prototypes */ +extern initialize_file_ftype _initialize_solib_target; void _initialize_solib_target (void) |