diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-02-26 09:35:22 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-02-26 09:36:44 -0500 |
commit | d4c9a4f87ddbbb79d852f59ee1723e03294540c2 (patch) | |
tree | 5eb1e1aa4f8df21cbea3a0b58b387838f6a8f1dd /gdb/dwarf2/loc.h | |
parent | cceb53b8849bc76f522931890b585b41e6662fa5 (diff) | |
download | fsf-binutils-gdb-d4c9a4f87ddbbb79d852f59ee1723e03294540c2.zip fsf-binutils-gdb-d4c9a4f87ddbbb79d852f59ee1723e03294540c2.tar.gz fsf-binutils-gdb-d4c9a4f87ddbbb79d852f59ee1723e03294540c2.tar.bz2 |
Move more declarations from dwarf2/loc.h to dwarf2/read.h
All these functions have their implementations in dwarf2/read.c, so move
their declarations to dwarf2/read.h. Move the doc to the header, at the
same time.
gdb/ChangeLog:
* dwarf2/loc.h (dwarf2_fetch_die_loc_sect_off,
dwarf2_fetch_die_loc_cu_off, dwarf2_fetch_constant_bytes,
dwarf2_fetch_die_type_sect_off): Move to...
* dwarf2/read.h (dwarf2_fetch_die_loc_sect_off,
dwarf2_fetch_die_loc_cu_off, dwarf2_fetch_constant_bytes,
dwarf2_fetch_die_type_sect_off): ... here.
* dwarf2/read.c (dwarf2_fetch_die_loc_sect_off,
dwarf2_fetch_die_loc_cu_off, dwarf2_fetch_constant_bytes,
dwarf2_fetch_die_type_sect_off): Move doc to header file.
Diffstat (limited to 'gdb/dwarf2/loc.h')
-rw-r--r-- | gdb/dwarf2/loc.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gdb/dwarf2/loc.h b/gdb/dwarf2/loc.h index dfb6f05..98a7d8a 100644 --- a/gdb/dwarf2/loc.h +++ b/gdb/dwarf2/loc.h @@ -41,24 +41,6 @@ const gdb_byte *dwarf2_find_location_expression size_t *locexpr_length, CORE_ADDR pc); -struct dwarf2_locexpr_baton dwarf2_fetch_die_loc_sect_off - (sect_offset offset_in_cu, struct dwarf2_per_cu_data *per_cu, - CORE_ADDR (*get_frame_pc) (void *baton), - void *baton, bool resolve_abstract_p = false); - -struct dwarf2_locexpr_baton dwarf2_fetch_die_loc_cu_off - (cu_offset offset_in_cu, struct dwarf2_per_cu_data *per_cu, - CORE_ADDR (*get_frame_pc) (void *baton), - void *baton); - -extern const gdb_byte *dwarf2_fetch_constant_bytes (sect_offset, - struct dwarf2_per_cu_data *, - struct obstack *, - LONGEST *); - -struct type *dwarf2_fetch_die_type_sect_off (sect_offset, - struct dwarf2_per_cu_data *); - /* Find the frame base information for FRAMEFUNC at PC. START is an out parameter which is set to point to the DWARF expression to compute. LENGTH is an out parameter which is set to the length of |