mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
2007-06-12 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by gdbarch_smash_text_address. * somread.c (som_symtab_read): Likewise. * elfread.c (record_minimal_symbol): Likewise. * dbxread.c (process_one_symbol): Likewise. * coffread.c (coff_symtab_read): Likewise. * gdbarch.c, gdbarch.h: Regenerate.
This commit is contained in:
@ -96,7 +96,7 @@ record_minimal_symbol (char *name, CORE_ADDR address,
|
||||
asection *bfd_section, struct objfile *objfile)
|
||||
{
|
||||
if (ms_type == mst_text || ms_type == mst_file_text)
|
||||
address = SMASH_TEXT_ADDRESS (address);
|
||||
address = gdbarch_smash_text_address (current_gdbarch, address);
|
||||
|
||||
return prim_record_minimal_symbol_and_info
|
||||
(name, address, ms_type, NULL, bfd_section->index, bfd_section, objfile);
|
||||
|
Reference in New Issue
Block a user