mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
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.
This commit is contained in:
parent
ca1df23907
commit
587ee17bd4
@ -1,3 +1,9 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2019-05-08 Tom Tromey <tromey@adacore.com>
|
2019-05-08 Tom Tromey <tromey@adacore.com>
|
||||||
|
|
||||||
* utils.c (fputs_maybe_filtered): Call can_emit_style_escape as a
|
* utils.c (fputs_maybe_filtered): Call can_emit_style_escape as a
|
||||||
|
@ -582,10 +582,6 @@ extern void copy_integer_to_size (gdb_byte *dest, int dest_size,
|
|||||||
|
|
||||||
extern int watchdog;
|
extern int watchdog;
|
||||||
|
|
||||||
/* From dwarf2read.c */
|
|
||||||
|
|
||||||
ULONGEST read_unsigned_leb128 (bfd *, const gdb_byte *, unsigned int *);
|
|
||||||
|
|
||||||
/* Hooks for alternate command interfaces. */
|
/* Hooks for alternate command interfaces. */
|
||||||
|
|
||||||
/* * The name of the interpreter if specified on the command line. */
|
/* * The name of the interpreter if specified on the command line. */
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
#include "dwarf2.h"
|
#include "dwarf2.h"
|
||||||
#include "dwarf2expr.h"
|
#include "dwarf2expr.h"
|
||||||
#include "dwarf2loc.h"
|
#include "dwarf2loc.h"
|
||||||
|
#include "dwarf2read.h"
|
||||||
#include "dwarf2-frame.h"
|
#include "dwarf2-frame.h"
|
||||||
#include "compile/compile.h"
|
#include "compile/compile.h"
|
||||||
#include "common/selftest.h"
|
#include "common/selftest.h"
|
||||||
|
@ -403,4 +403,6 @@ struct signatured_type
|
|||||||
typedef struct signatured_type *sig_type_ptr;
|
typedef struct signatured_type *sig_type_ptr;
|
||||||
DEF_VEC_P (sig_type_ptr);
|
DEF_VEC_P (sig_type_ptr);
|
||||||
|
|
||||||
|
ULONGEST read_unsigned_leb128 (bfd *, const gdb_byte *, unsigned int *);
|
||||||
|
|
||||||
#endif /* DWARF2READ_H */
|
#endif /* DWARF2READ_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user