aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-02-08 13:40:54 -0700
committerTom Tromey <tom@tromey.com>2020-02-08 13:40:54 -0700
commitf4382c45a4de31b654c063d1ae70d932bde1c2f2 (patch)
tree914254afcd1620342bac6ac4f5603a635a946f35 /gdb/Makefile.in
parent01840b7a09722330ff36038001ea72dd7525c67e (diff)
downloadgdb-f4382c45a4de31b654c063d1ae70d932bde1c2f2.zip
gdb-f4382c45a4de31b654c063d1ae70d932bde1c2f2.tar.gz
gdb-f4382c45a4de31b654c063d1ae70d932bde1c2f2.tar.bz2
Create dwarf2/leb.[ch]
This moves some scalar-unpacking code into a couple of new files, dwarf2/leb.h and dwarf2/leb.c. gdb/ChangeLog 2020-02-08 Tom Tromey <tom@tromey.com> * dwarf2read.h (read_unsigned_leb128): Don't declare. * dwarf2read.c (read_1_byte, read_1_signed_byte, read_2_bytes) (read_2_signed_bytes, read_3_bytes, read_4_bytes) (read_4_signed_bytes, read_8_bytes): Move to dwarf2/leb.h. (read_unsigned_leb128, read_signed_leb128): Move to dwarf2/leb.c. * dwarf2/leb.h: New file, from dwarf2read.c. * dwarf2/leb.c: New file, from dwarf2read.c. * dwarf2-frame.c (read_1_byte, read_4_bytes, read_8_bytes): Remove. * Makefile.in (CONFIG_SRC_SUBDIR): Add dwarf2. (COMMON_SFILES): Add dwarf2/leb.c. Change-Id: Idd19647686c8f959d226a95fdfca4db47c6e96d0
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 49fff37..b30ab54 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -551,7 +551,7 @@ CONFIG_INSTALL = @CONFIG_INSTALL@
CONFIG_UNINSTALL = @CONFIG_UNINSTALL@
HAVE_NATIVE_GCORE_TARGET = @HAVE_NATIVE_GCORE_TARGET@
-CONFIG_SRC_SUBDIR = arch cli mi compile tui unittests guile python \
+CONFIG_SRC_SUBDIR = arch cli dwarf2 mi compile tui unittests guile python \
target nat
CONFIG_DEP_SUBDIR = $(addsuffix /$(DEPDIR),$(CONFIG_SRC_SUBDIR))
@@ -1002,6 +1002,7 @@ COMMON_SFILES = \
dwarf2expr.c \
dwarf2loc.c \
dwarf2read.c \
+ dwarf2/leb.c \
eval.c \
event-loop.c \
event-top.c \