diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2020-06-25 17:56:12 +0200 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2020-06-25 17:56:12 +0200 |
commit | bb6e55f3ee440c5d03fd47ec32255c20b9f895fe (patch) | |
tree | e0aef8743d1f7912df194ef9e4806aeceb42778a /gdb/dbxread.c | |
parent | c6d3683661a7623a306667915abba4d4695616d7 (diff) | |
download | gdb-bb6e55f3ee440c5d03fd47ec32255c20b9f895fe.zip gdb-bb6e55f3ee440c5d03fd47ec32255c20b9f895fe.tar.gz gdb-bb6e55f3ee440c5d03fd47ec32255c20b9f895fe.tar.bz2 |
Remove obsolete gdbarch_static_transform_name
gdbarch_static_transform_name is completely Solaris-specific or rather
specific to the Studio compilers. Studio cc has deprecated Stabs support
in the 12.4 release back in 2015, GCC has defaulted to DWARF-2 on Solaris
7+ since 2004 and Stabs themselves are pretty much obsolete, so the whole
code can go.
Tested on sparcv9-sun-solaris2.11 and x86_64-pc-linux-gnu with
--enable-targets=all.
* sol2-tdep.c (sol2_static_transform_name): Remove.
(sol2_init_abi): Don't register it.
* gdbarch.sh (static_transform_name): Remove.
* gdbarch.c, gdbarch.h: Regenerate.
* dbxread.c (read_dbx_symtab) <'S'>: Remove call to
gdbarch_static_transform_name.
* mdebugread.c (parse_partial_symbols) <'S'>: Likewise.
* stabsread.c (define_symbol) <'X'>: Remove.
(define_symbol) <'S'>: Remove gdbarch_static_transform_name
handling.
<'V'>: Likewise.
* xcoffread.c (scan_xcoff_symtab): Remove gdbarch.
<'S'>: Remove call to gdbarch_static_transform_name.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r-- | gdb/dbxread.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 1e1a5dc..2df9f5c 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -1460,9 +1460,6 @@ read_dbx_symtab (minimal_symbol_reader &reader, struct objfile *objfile) switch (p[1]) { case 'S': - if (gdbarch_static_transform_name_p (gdbarch)) - gdbarch_static_transform_name (gdbarch, namestring); - add_psymbol_to_list (gdb::string_view (sym_name, sym_len), true, VAR_DOMAIN, LOC_STATIC, data_sect_index, |