* dwarf2loc.c (locexpr_regname): New function.
authorTom Tromey <tromey@redhat.com>
Fri, 8 Jul 2011 19:54:55 +0000 (19:54 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 8 Jul 2011 19:54:55 +0000 (19:54 +0000)
commit5e44ecb338cc222e3033b72fe63e67054b942eed
tree4d047efacbed379778e7aa2c37a40183978ae734
parente0e9434c89d87e12220d5efd8d56ac83bdd26dfa
* dwarf2loc.c (locexpr_regname): New function.
(locexpr_describe_location_piece): Use it.
(disassemble_dwarf_expression): Add per_cu argument.  Use
locexpr_regname.
<DW_OP_GNU_deref_type, DW_OP_GNU_const_type,
DW_OP_GNU_regval_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret>:
New cases.
(locexpr_describe_location_1): Add per_cu argument.
(locexpr_describe_location): Update.
(loclist_describe_location): Update.
gdb/ChangeLog
gdb/dwarf2loc.c