make dwarf_expr_frame_base_1 public
authorTom Tromey <tromey@redhat.com>
Wed, 14 May 2014 20:28:58 +0000 (14:28 -0600)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 12 Dec 2014 21:27:12 +0000 (22:27 +0100)
commitaf945b753559079fe37d61917041f2217d181b86
tree247077e6986de40bbdacbef2bc69fd47b9883b10
parenta8fd55897077beda3717e0672807c1b2940e330a
make dwarf_expr_frame_base_1 public

This exports dwarf_expr_frame_base_1 so that other code can use it.

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

* dwarf2loc.c (dwarf_expr_frame_base_1): Remove declaration.
(dwarf_expr_frame_base): Update caller.
(dwarf_expr_frame_base_1): Rename to ...
(func_get_frame_base_dwarf_block): ... this and make it public.
(dwarf2_compile_expr_to_ax, locexpr_describe_location_piece): Update
callers.
* dwarf2loc.h (func_get_frame_base_dwarf_block): New declaration.
gdb/ChangeLog
gdb/dwarf2loc.c
gdb/dwarf2loc.h