aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/loc.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2020-02-25 00:13:31 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2020-02-25 00:13:31 -0500
commit8cb5117ccfa578e6c531fcad4851be0f13b53f3b (patch)
tree2c7ec884128f602a2bdac371ee2b4f881210142a /gdb/dwarf2/loc.h
parentc325c44ef674de4c6ba2bfbb2eefb5f4661081cc (diff)
downloadgdb-8cb5117ccfa578e6c531fcad4851be0f13b53f3b.zip
gdb-8cb5117ccfa578e6c531fcad4851be0f13b53f3b.tar.gz
gdb-8cb5117ccfa578e6c531fcad4851be0f13b53f3b.tar.bz2
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.
Diffstat (limited to 'gdb/dwarf2/loc.h')
-rw-r--r--gdb/dwarf2/loc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/dwarf2/loc.h b/gdb/dwarf2/loc.h
index 4514fa9..ab071c2 100644
--- a/gdb/dwarf2/loc.h
+++ b/gdb/dwarf2/loc.h
@@ -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