diff options
author | Tom Tromey <tromey@adacore.com> | 2019-05-01 12:26:34 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-05-08 10:38:02 -0600 |
commit | 587ee17bd492a324c927437fb561b99b274e1d8e (patch) | |
tree | 9296f09295c178caf87676ed2d6cdd759e490ace /gdb/dwarf2loc.c | |
parent | ca1df239078318425cf8038995bf02f1b9ab6e50 (diff) | |
download | gdb-587ee17bd492a324c927437fb561b99b274e1d8e.zip gdb-587ee17bd492a324c927437fb561b99b274e1d8e.tar.gz gdb-587ee17bd492a324c927437fb561b99b274e1d8e.tar.bz2 |
Don't declare read_unsigned_leb128 in defs.h
I noticed that read_unsigned_leb128 is declared in defs.h. There's no
reason this should be here, so this patch moves it to dwarf2read.h.
gdb/ChangeLog
2019-05-08 Tom Tromey <tromey@adacore.com>
* dwarf2loc.c: Include dwarf2read.h.
* defs.h (read_unsigned_leb128): Don't declare.
* dwarf2read.h (read_unsigned_leb128): Declare.
Diffstat (limited to 'gdb/dwarf2loc.c')
-rw-r--r-- | gdb/dwarf2loc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index c5145af..37cda40 100644 --- a/gdb/dwarf2loc.c +++ b/gdb/dwarf2loc.c @@ -36,6 +36,7 @@ #include "dwarf2.h" #include "dwarf2expr.h" #include "dwarf2loc.h" +#include "dwarf2read.h" #include "dwarf2-frame.h" #include "compile/compile.h" #include "common/selftest.h" |