dwarf2loc.c: minor cleanup. don't print integer with paddress.
authorPedro Alves <palves@redhat.com>
Thu, 5 Sep 2013 14:49:13 +0000 (14:49 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 5 Sep 2013 14:49:13 +0000 (14:49 +0000)
commit7c33b57c1551d8a15edbad6e5da5aab1b05e6ab0
treeda7d047f84c3fbc27a1c538a8a399f5d18a8853a
parent9f8edbd5635f05ca5682796e4e34d7ce19549d5d
dwarf2loc.c: minor cleanup. don't print integer with paddress.

A couple years ago, dwarf_expr_fetch used to return a CORE_ADDR.  It
was made to return a ULONGEST since, and the 'dwarf_regnum' local
adjusted accordingly, but, we kept printing it with paddress.
gdbarch_dwarf2_reg_to_regnum takes the register number as 'int', so
there's really no point in using ULONGEST/pulongest either.

gdb/
2013-09-05  Pedro Alves  <palves@redhat.com>

* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): 'dwarf_regnum'
local is now int instead of ULONGEST.  Print it with %d
instead of paddress.
gdb/ChangeLog
gdb/dwarf2loc.c