mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
2010-05-16 Michael Snyder <msnyder@vmware.com>
* scm-exp.c: White space. * scm-lang.c: White space. * scm-valprint.c: White space. * sentinel-frame.c: White space. * ser-base.c: White space. * ser-go32.c: White space. * serial.c: White space. * ser-mingw.c: White space. * ser-pipe.c: White space. * ser-tcp.c: White space. * ser-unix.c: White space. * solib.c: White space. * solib-darwin.c: White space. * solib-frv.c: White space. * solib-irix.c: White space. * solib-osf.c: White space. * solib-pa64.c: White space. * solib-som.c: White space. * solib-spu.c: White space. * solib-svr4.c: White space. * solib-target.c: White space. * source.c: White space. * stabsread.c: White space. * stack.c: White space. * std-regs.c: White space. * symfile.c: White space. * symmisc.c: White space. * symtab.c: White space.
This commit is contained in:
@ -135,6 +135,7 @@ library_list_end_library (struct gdb_xml_parser *parser,
|
||||
{
|
||||
VEC(lm_info_p) **list = user_data;
|
||||
struct lm_info *lm_info = VEC_last (lm_info_p, *list);
|
||||
|
||||
if (lm_info->segment_bases == NULL
|
||||
&& lm_info->section_bases == NULL)
|
||||
gdb_xml_error (parser,
|
||||
@ -364,6 +365,7 @@ Could not relocate shared library \"%s\": wrong number of ALLOC sections"),
|
||||
int bases_index = 0;
|
||||
int found_range = 0;
|
||||
CORE_ADDR *section_bases;
|
||||
|
||||
section_bases = VEC_address (CORE_ADDR,
|
||||
so->lm_info->section_bases);
|
||||
|
||||
@ -378,6 +380,7 @@ Could not relocate shared library \"%s\": wrong number of ALLOC sections"),
|
||||
if (bfd_section_size (so->abfd, sect) > 0)
|
||||
{
|
||||
CORE_ADDR low, high;
|
||||
|
||||
low = section_bases[i];
|
||||
high = low + bfd_section_size (so->abfd, sect) - 1;
|
||||
|
||||
@ -399,6 +402,7 @@ Could not relocate shared library \"%s\": wrong number of ALLOC sections"),
|
||||
else if (so->lm_info->segment_bases)
|
||||
{
|
||||
struct symfile_segment_data *data;
|
||||
|
||||
data = get_symfile_segment_data (so->abfd);
|
||||
if (data == NULL)
|
||||
warning (_("\
|
||||
|
Reference in New Issue
Block a user