diff options
author | Christian Biesinger <cbiesinger@google.com> | 2019-09-19 13:26:55 +0900 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2019-09-20 09:13:53 +0900 |
commit | e86f08d28f469b9400e91bbaf1b0a5e7f697732a (patch) | |
tree | 6e303dc3535bae8a8cb75bd02fc5b15f216646cd /gdb/dwarf2read.h | |
parent | 956bafb0de05aaf6e9d61a8af040fe25d689e53f (diff) | |
download | gdb-e86f08d28f469b9400e91bbaf1b0a5e7f697732a.zip gdb-e86f08d28f469b9400e91bbaf1b0a5e7f697732a.tar.gz gdb-e86f08d28f469b9400e91bbaf1b0a5e7f697732a.tar.bz2 |
Declare dwarf_always_disassemble in dwarf2read.h
And remove the declaration from dwarf2loc.c, for better typesafety.
gdb/ChangeLog:
2019-09-19 Christian Biesinger <cbiesinger@google.com>
* dwarf2loc.c: Remove extern declaration of dwarf_always_disassemble.
* dwarf2read.h: Declare dwarf_always_disassemble.
Diffstat (limited to 'gdb/dwarf2read.h')
-rw-r--r-- | gdb/dwarf2read.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/dwarf2read.h b/gdb/dwarf2read.h index 8939f97..e9b9462 100644 --- a/gdb/dwarf2read.h +++ b/gdb/dwarf2read.h @@ -33,6 +33,8 @@ extern struct cmd_list_element *show_dwarf_cmdlist; typedef struct dwarf2_per_cu_data *dwarf2_per_cu_ptr; DEF_VEC_P (dwarf2_per_cu_ptr); +extern bool dwarf_always_disassemble; + /* A descriptor for dwarf sections. S.ASECTION, SIZE are typically initialized when the objfile is first |