mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 05:52:21 +08:00
* bfd-in.h: New macros bfd_asymbol_bfd and bfd_asymbol_flavour;
perhaps we can later remove the the_bfd field from each symbol. * syms.c (struct symbol_cache_entry): Remove unused field app_data. Add comment noting that the_bfd is almost redundant, but not quite. * aoutx.h, coff-a29k.c, coff-i386.c, coff-i960.c, coffcode.h: Use new macros bfd_asymbol_bfd and bfd_asymbol_flavour. * hppa.c (fill_spaces): Make slightly more rebust. * configure.in: Allow std-host as the "default" host.
This commit is contained in:
@ -62,7 +62,7 @@ fill_spaces(abfd, file_hdr, dbx_subspace, dbx_strings_subspace)
|
||||
struct subspace_dictionary_record subspace;
|
||||
int index;
|
||||
/* indices of subspace entries for $TEXT$ and $GDB_DEBUG$ */
|
||||
int text_index = 0, gdb_debug_index = 0;
|
||||
long text_index = 0, gdb_debug_index = -1;
|
||||
|
||||
/* initialize in case we don't find any dbx symbols. */
|
||||
dbx_subspace->subspace_length = dbx_strings_subspace->subspace_length = 0;
|
||||
@ -110,6 +110,10 @@ fill_spaces(abfd, file_hdr, dbx_subspace, dbx_strings_subspace)
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
if (gdb_debug_index == -1)
|
||||
return;
|
||||
|
||||
/* read symbols subspace and strings subspace in possibly arbitrary
|
||||
order. */
|
||||
bfd_seek (abfd, gdb_debug_index, SEEK_SET);
|
||||
|
Reference in New Issue
Block a user