Move dwarf2_get_die_type declaration to dwarf2/read.h
Since its implementation is in dwarf2/read.c, its declaration belongs in dwarf2/read.h. Move the documentation to the .h at the same time. gdb/ChangeLog: * loc.h (dwarf2_get_die_type): Move to... * read.h (dwarf2_get_die_type): ... here. * read.c (dwarf2_get_die_type): Move doc to header.
This commit is contained in:
parent
c325c44ef6
commit
8cb5117ccf
|
@ -1,3 +1,9 @@
|
|||
2020-02-25 Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
* loc.h (dwarf2_get_die_type): Move to...
|
||||
* read.h (dwarf2_get_die_type): ... here.
|
||||
* read.c (dwarf2_get_die_type): Move doc to header.
|
||||
|
||||
2020-02-25 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* copypright.py (EXCLUDE_LIST): Add 'gnulib/config.in' and
|
||||
|
|
|
@ -59,9 +59,6 @@ extern const gdb_byte *dwarf2_fetch_constant_bytes (sect_offset,
|
|||
struct type *dwarf2_fetch_die_type_sect_off (sect_offset,
|
||||
struct dwarf2_per_cu_data *);
|
||||
|
||||
struct type *dwarf2_get_die_type (cu_offset die_offset,
|
||||
struct dwarf2_per_cu_data *per_cu);
|
||||
|
||||
/* 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
|
||||
|
|
|
@ -22510,8 +22510,7 @@ dwarf2_fetch_die_type_sect_off (sect_offset sect_off,
|
|||
return die_type (die, cu);
|
||||
}
|
||||
|
||||
/* Return the type of the DIE at DIE_OFFSET in the CU named by
|
||||
PER_CU. */
|
||||
/* See read.h. */
|
||||
|
||||
struct type *
|
||||
dwarf2_get_die_type (cu_offset die_offset,
|
||||
|
|
|
@ -523,6 +523,12 @@ struct dwz_file
|
|||
extern struct dwz_file *dwarf2_get_dwz_file
|
||||
(struct dwarf2_per_objfile *dwarf2_per_objfile);
|
||||
|
||||
/* Return the type of the DIE at DIE_OFFSET in the CU named by
|
||||
PER_CU. */
|
||||
|
||||
struct type *dwarf2_get_die_type (cu_offset die_offset,
|
||||
struct dwarf2_per_cu_data *per_cu);
|
||||
|
||||
/* When non-zero, dump line number entries as they are read in. */
|
||||
extern unsigned int dwarf_line_debug;
|
||||
|
||||
|
|
Loading…
Reference in New Issue