mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
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.
This commit is contained in:
@ -529,6 +529,14 @@ extern struct dwz_file *dwarf2_get_dwz_file
|
||||
struct type *dwarf2_get_die_type (cu_offset die_offset,
|
||||
struct dwarf2_per_cu_data *per_cu);
|
||||
|
||||
/* Given an index in .debug_addr, fetch the value.
|
||||
NOTE: This can be called during dwarf expression evaluation,
|
||||
long after the debug information has been read, and thus per_cu->cu
|
||||
may no longer exist. */
|
||||
|
||||
CORE_ADDR dwarf2_read_addr_index (dwarf2_per_cu_data *per_cu,
|
||||
unsigned int addr_index);
|
||||
|
||||
/* When non-zero, dump line number entries as they are read in. */
|
||||
extern unsigned int dwarf_line_debug;
|
||||
|
||||
|
Reference in New Issue
Block a user