aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2expr.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-05-07 15:18:38 +0000
committerTom Tromey <tromey@redhat.com>2012-05-07 15:18:38 +0000
commitf39c6ffde753509963229ab018b461be2600dd2a (patch)
treefb2f60efaa19326349e1cd156acb3b051d3b7c7e /gdb/dwarf2expr.h
parenta19c41a7dca12421143a3e7b8cb2dfed2bd8c48d (diff)
downloadgdb-f39c6ffde753509963229ab018b461be2600dd2a.zip
gdb-f39c6ffde753509963229ab018b461be2600dd2a.tar.gz
gdb-f39c6ffde753509963229ab018b461be2600dd2a.tar.bz2
* 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.
Diffstat (limited to 'gdb/dwarf2expr.h')
-rw-r--r--gdb/dwarf2expr.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/dwarf2expr.h b/gdb/dwarf2expr.h
index 0c55c10..3699dbb 100644
--- a/gdb/dwarf2expr.h
+++ b/gdb/dwarf2expr.h
@@ -279,8 +279,6 @@ const gdb_byte *read_uleb128 (const gdb_byte *buf, const gdb_byte *buf_end,
const gdb_byte *read_sleb128 (const gdb_byte *buf, const gdb_byte *buf_end,
LONGEST * r);
-const char *dwarf_stack_op_name (unsigned int);
-
void dwarf_expr_require_composition (const gdb_byte *, const gdb_byte *,
const char *);