aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-05-01 12:26:34 -0600
committerTom Tromey <tromey@adacore.com>2019-05-08 10:38:02 -0600
commit587ee17bd492a324c927437fb561b99b274e1d8e (patch)
tree9296f09295c178caf87676ed2d6cdd759e490ace /gdb/defs.h
parentca1df239078318425cf8038995bf02f1b9ab6e50 (diff)
downloadgdb-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/defs.h')
-rw-r--r--gdb/defs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index a44e186..673a200 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -582,10 +582,6 @@ extern void copy_integer_to_size (gdb_byte *dest, int dest_size,
extern int watchdog;
-/* From dwarf2read.c */
-
-ULONGEST read_unsigned_leb128 (bfd *, const gdb_byte *, unsigned int *);
-
/* Hooks for alternate command interfaces. */
/* * The name of the interpreter if specified on the command line. */