diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-02-25 23:38:26 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2020-02-25 23:38:26 -0500 |
commit | 450a1bfc7f60d4b37615a7d78aac83ca73cae159 (patch) | |
tree | e1ea31082193a1b640e99233974b6ff86742621f /gdb/dwarf2/loc.h | |
parent | e0b317de31ab0e99ef8d14e9f751ae7e7d16abde (diff) | |
download | gdb-450a1bfc7f60d4b37615a7d78aac83ca73cae159.zip gdb-450a1bfc7f60d4b37615a7d78aac83ca73cae159.tar.gz gdb-450a1bfc7f60d4b37615a7d78aac83ca73cae159.tar.bz2 |
Move dwarf2_read_addr_index declaration to dwarf2/read.h
The implementation is in dwarf2/read.c, so the declaration belongs in
dwarf2/read.h. Also, move the documentation there.
gdb/ChangeLog:
* dwarf2/loc.h (dwarf2_read_addr_index): Move...
* dwarf2/read.h (dwarf2_read_addr_index): ... here.
* dwarf2/read.c (dwarf2_read_addr_index): Move doc to header.
Diffstat (limited to 'gdb/dwarf2/loc.h')
-rw-r--r-- | gdb/dwarf2/loc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/dwarf2/loc.h b/gdb/dwarf2/loc.h index ab071c2..dfb6f05 100644 --- a/gdb/dwarf2/loc.h +++ b/gdb/dwarf2/loc.h @@ -138,9 +138,6 @@ void dwarf2_compile_property_to_c (string_file *stream, CORE_ADDR address, struct symbol *sym); -CORE_ADDR dwarf2_read_addr_index (struct dwarf2_per_cu_data *per_cu, - unsigned int addr_index); - /* The symbol location baton types used by the DWARF-2 reader (i.e. SYMBOL_LOCATION_BATON for a LOC_COMPUTED symbol). "struct dwarf2_locexpr_baton" is for a symbol with a single location |