* dwarf2read.c (dwarf_tag_name): Return const char *. Use
authorTom Tromey <tromey@redhat.com>
Mon, 7 May 2012 15:18:38 +0000 (15:18 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 7 May 2012 15:18:38 +0000 (15:18 +0000)
commitf39c6ffde753509963229ab018b461be2600dd2a
treefb2f60efaa19326349e1cd156acb3b051d3b7c7e
parenta19c41a7dca12421143a3e7b8cb2dfed2bd8c48d
* dwarf2read.c (dwarf_tag_name): Return const char *.  Use
get_DW_TAG_name.
(dwarf_attr_name): Return const char *.  Use get_DW_AT_name.
(dwarf_form_name): Return const char *.  Use get_DW_FORM_name.
(dwarf_stack_op_name): Remove.
(dwarf_cfi_name): Return const char *.  Use get_DW_ATE_name.
(decode_locdesc): Use get_DW_OP_name.
* dwarf2loc.c (unimplemented): Use get_DW_OP_name.
(dwarf2_compile_expr_to_ax): Likewise.
(disassemble_dwarf_expression): Likewise.
* dwarf2expr.h: (dwarf_stack_op_name): Remove.
gdb/ChangeLog
gdb/dwarf2expr.h
gdb/dwarf2loc.c
gdb/dwarf2read.c