diff options
author | Tom Tromey <tromey@redhat.com> | 2008-10-01 16:41:27 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2008-10-01 16:41:27 +0000 |
commit | b887350fc5f89f8951fbb78fdcab520a37fa37ce (patch) | |
tree | bf1506c248c930749a45da700813ff7a04c25811 /gdb/mdebugread.c | |
parent | d35e579508b6eba9f7d9224761a42e988d1a247d (diff) | |
download | gdb-b887350fc5f89f8951fbb78fdcab520a37fa37ce.zip gdb-b887350fc5f89f8951fbb78fdcab520a37fa37ce.tar.gz gdb-b887350fc5f89f8951fbb78fdcab520a37fa37ce.tar.bz2 |
* xcoffread.c (RECORD_MINIMAL_SYMBOL): Update.
(scan_xcoff_symtab): Update.
* mdebugread.c (record_minimal_symbol): Update.
(parse_partial_symbols): Update.
* elfread.c (record_minimal_symbol): Update.
* dbxread.c (record_minimal_symbol): Update.
* coffread.c (record_minimal_symbol): Update.
* sh64-tdep.c (MSYMBOL_IS_SPECIAL): Redefine.
(sh64_elf_make_msymbol_special): Update.
* mips-tdep.c (mips_elf_make_msymbol_special): Use
MSYMBOL_TARGET_FLAG_1.
(mips_elf_make_msymbol_special): Likewise.
(msymbol_is_special): Likewise.
* minsyms.c (prim_record_minimal_symbol_and_info): Update.
(install_minimal_symbols): Likewise.
(prim_record_minimal_symbol): Update.
(prim_record_minimal_symbol_and_info): Remove 'info' argument.
* m68hc11-tdep.c (MSYMBOL_SET_RTC): Redefine.
(MSYMBOL_SET_RTI): Redefine.
(MSYMBOL_IS_RTC): Redefine.
(MSYMBOL_IS_RTI): Redefine.
* arm-tdep.c (MSYMBOL_SET_SPECIAL): Redefine.
(MSYMBOL_IS_SPECIAL): Redefine.
* symtab.h (struct minimal_symbol) <info>: Remove.
<target_flag_1, target_flag_2>: New fields.
(MSYMBOL_INFO): Remove.
(MSYMBOL_TARGET_FLAG_1): New macro.
(MSYMBOL_TARGET_FLAG_2): Likewise.
(prim_record_minimal_symbol_and_info): Update.
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r-- | gdb/mdebugread.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index ede6fce..2807008 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -2211,7 +2211,7 @@ record_minimal_symbol (const char *name, const CORE_ADDR address, bfd_section = NULL; } - prim_record_minimal_symbol_and_info (name, address, ms_type, NULL, + prim_record_minimal_symbol_and_info (name, address, ms_type, section, bfd_section, objfile); } @@ -3340,7 +3340,7 @@ parse_partial_symbols (struct objfile *objfile) case stStaticProc: prim_record_minimal_symbol_and_info (name, sh.value, - mst_file_text, NULL, + mst_file_text, SECT_OFF_TEXT (objfile), NULL, objfile); @@ -3426,13 +3426,13 @@ parse_partial_symbols (struct objfile *objfile) case stStatic: /* Variable */ if (SC_IS_DATA (sh.sc)) prim_record_minimal_symbol_and_info (name, sh.value, - mst_file_data, NULL, + mst_file_data, SECT_OFF_DATA (objfile), NULL, objfile); else prim_record_minimal_symbol_and_info (name, sh.value, - mst_file_bss, NULL, + mst_file_bss, SECT_OFF_BSS (objfile), NULL, objfile); |