export dwarf2_reg_to_regnum_or_error
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 14 May 2014 20:30:37 +0000 (14:30 -0600)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 12 Dec 2014 21:27:31 +0000 (22:27 +0100)
commitd064d1bef5c64c3525c01461ecd5be76c5fb0ca7
treeabcaef14b57aa2ae0097accbbe8cd1d3221b0de3
parentaf945b753559079fe37d61917041f2217d181b86
export dwarf2_reg_to_regnum_or_error

This exports a utility function, dwarf2_reg_to_regnum_or_error, that
was previously private to dwarf2loc.c.

gdb/ChangeLog
2014-12-12  Jan Kratochvil  <jan.kratochvil@redhat.com>

* dwarf2loc.h (dwarf2_reg_to_regnum_or_error): Declare.
* dwarf2loc.c (dwarf2_reg_to_regnum_or_error): Rename from
translate_register.  Now public.
(dwarf2_compile_expr_to_ax): Update.
gdb/ChangeLog
gdb/dwarf2loc.c
gdb/dwarf2loc.h