aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2025-01-16 05:56:04 -0700
committerTom Tromey <tromey@adacore.com>2025-01-17 08:52:04 -0700
commit8d6a3c8e72657ae8d8abdc466b17e31657b2e273 (patch)
treed5b8b75a3d11901b82d88f49a03bed16453cb3ad
parent8226e5c2ef56dbacb18edbc1453fbb930eaa0c62 (diff)
downloadgdb-8d6a3c8e72657ae8d8abdc466b17e31657b2e273.zip
gdb-8d6a3c8e72657ae8d8abdc466b17e31657b2e273.tar.gz
gdb-8d6a3c8e72657ae8d8abdc466b17e31657b2e273.tar.bz2
Add missing includes of extract-store-integer.h
I found a number of .c files that need to include extract-store-integer.h but that were only including it indirectly. This patch adds the missing includes. This change enables the next patch. Approved-By: Andrew Burgess <aburgess@redhat.com>
-rw-r--r--gdb/compile/compile-loc2c.c1
-rw-r--r--gdb/dwarf2/aranges.c1
-rw-r--r--gdb/dwarf2/expr.c1
-rw-r--r--gdb/dwarf2/frame.c1
-rw-r--r--gdb/dwarf2/index-write.c1
-rw-r--r--gdb/dwarf2/loc.c1
-rw-r--r--gdb/dwarf2/read-debug-names.c1
-rw-r--r--gdb/dwarf2/read-gdb-index.c1
-rw-r--r--gdb/dwarf2/read.c1
-rw-r--r--gdb/gdbtypes.c1
10 files changed, 10 insertions, 0 deletions
diff --git a/gdb/compile/compile-loc2c.c b/gdb/compile/compile-loc2c.c
index 4237044..df05c01 100644
--- a/gdb/compile/compile-loc2c.c
+++ b/gdb/compile/compile-loc2c.c
@@ -31,6 +31,7 @@
#include "dwarf2/frame.h"
#include "value.h"
#include "gdbarch.h"
+#include "extract-store-integer.h"
diff --git a/gdb/dwarf2/aranges.c b/gdb/dwarf2/aranges.c
index e391ca6..af14f82 100644
--- a/gdb/dwarf2/aranges.c
+++ b/gdb/dwarf2/aranges.c
@@ -19,6 +19,7 @@
#include "dwarf2/aranges.h"
#include "dwarf2/read.h"
+#include "extract-store-integer.h"
/* See aranges.h. */
diff --git a/gdb/dwarf2/expr.c b/gdb/dwarf2/expr.c
index ee1522b..0977cfc 100644
--- a/gdb/dwarf2/expr.c
+++ b/gdb/dwarf2/expr.c
@@ -33,6 +33,7 @@
#include "gdbsupport/underlying.h"
#include "gdbarch.h"
#include "objfiles.h"
+#include "extract-store-integer.h"
/* This holds gdbarch-specific types used by the DWARF expression
evaluator. See comments in execute_stack_op. */
diff --git a/gdb/dwarf2/frame.c b/gdb/dwarf2/frame.c
index e0e8eb5..03e973e 100644
--- a/gdb/dwarf2/frame.c
+++ b/gdb/dwarf2/frame.c
@@ -31,6 +31,7 @@
#include "regcache.h"
#include "value.h"
#include "record.h"
+#include "extract-store-integer.h"
#include "complaints.h"
#include "dwarf2/frame.h"
diff --git a/gdb/dwarf2/index-write.c b/gdb/dwarf2/index-write.c
index 1008d19..70688d7 100644
--- a/gdb/dwarf2/index-write.c
+++ b/gdb/dwarf2/index-write.c
@@ -40,6 +40,7 @@
#include "dwarf2/tag.h"
#include "gdbsupport/gdb_tilde_expand.h"
#include "dwarf2/read-debug-names.h"
+#include "extract-store-integer.h"
#include <algorithm>
#include <cmath>
diff --git a/gdb/dwarf2/loc.c b/gdb/dwarf2/loc.c
index 989d339..a01161e 100644
--- a/gdb/dwarf2/loc.c
+++ b/gdb/dwarf2/loc.c
@@ -46,6 +46,7 @@
#include <unordered_set>
#include "gdbsupport/underlying.h"
#include "gdbsupport/byte-vector.h"
+#include "extract-store-integer.h"
static struct value *dwarf2_evaluate_loc_desc_full
(struct type *type, const frame_info_ptr &frame, const gdb_byte *data,
diff --git a/gdb/dwarf2/read-debug-names.c b/gdb/dwarf2/read-debug-names.c
index e6f1fce..ffc4f3a 100644
--- a/gdb/dwarf2/read-debug-names.c
+++ b/gdb/dwarf2/read-debug-names.c
@@ -27,6 +27,7 @@
#include "mapped-index.h"
#include "read.h"
#include "stringify.h"
+#include "extract-store-integer.h"
/* This is just like cooked_index_functions, but overrides a single
method so the test suite can distinguish the .debug_names case from
diff --git a/gdb/dwarf2/read-gdb-index.c b/gdb/dwarf2/read-gdb-index.c
index 4dea559..83bd2e0 100644
--- a/gdb/dwarf2/read-gdb-index.c
+++ b/gdb/dwarf2/read-gdb-index.c
@@ -28,6 +28,7 @@
#include "gdbsupport/gdb-checked-static-cast.h"
#include "mapped-index.h"
#include "read.h"
+#include "extract-store-integer.h"
/* When true, do not reject deprecated .gdb_index sections. */
static bool use_deprecated_index_sections = false;
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c
index e52e26f..9484754 100644
--- a/gdb/dwarf2/read.c
+++ b/gdb/dwarf2/read.c
@@ -97,6 +97,7 @@
#include "dwarf2/error.h"
#include <variant>
#include "gdbsupport/unordered_set.h"
+#include "extract-store-integer.h"
/* When == 1, print basic high level tracing messages.
When > 1, be more verbose.
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index 0928e24..3f78230 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -44,6 +44,7 @@
#include "gmp-utils.h"
#include "rust-lang.h"
#include "ada-lang.h"
+#include "extract-store-integer.h"
/* The value of an invalid conversion badness. */
#define INVALID_CONVERSION 100