aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/filestuff.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-02-19 17:16:51 -0700
committerTom Tromey <tom@tromey.com>2020-02-19 17:22:13 -0700
commit869d89506ca4b97b1b31d0d9e7508d980a3653b6 (patch)
tree9f4b3360f8fa532748ff392182f36df8ea417618 /gdbsupport/filestuff.h
parent5f1839bbd2ed70c26813d239bbf441bdd22ae87b (diff)
downloadgdb-869d89506ca4b97b1b31d0d9e7508d980a3653b6.zip
gdb-869d89506ca4b97b1b31d0d9e7508d980a3653b6.tar.gz
gdb-869d89506ca4b97b1b31d0d9e7508d980a3653b6.tar.bz2
Two compute_and_set_names simplifications
This patch simplifies compute_and_set_names in a couple of ways. First, it changes one spot to use obstack_strndup, which is equivalent, but more concise. Second, the function ends with two calls to symbol_set_demangled_name. This can be simplified to a single call. gdb/ChangeLog 2020-02-19 Tom Tromey <tom@tromey.com> * symtab.c (general_symbol_info::compute_and_set_names): Use obstack_strndup. Simplify call to symbol_set_demangled_name.
Diffstat (limited to 'gdbsupport/filestuff.h')
0 files changed, 0 insertions, 0 deletions