]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Add missing includes of extract-store-integer.h
authorTom Tromey <tromey@adacore.com>
Thu, 16 Jan 2025 12:56:04 +0000 (05:56 -0700)
committerTom Tromey <tromey@adacore.com>
Fri, 17 Jan 2025 15:52:04 +0000 (08:52 -0700)
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>
gdb/compile/compile-loc2c.c
gdb/dwarf2/aranges.c
gdb/dwarf2/expr.c
gdb/dwarf2/frame.c
gdb/dwarf2/index-write.c
gdb/dwarf2/loc.c
gdb/dwarf2/read-debug-names.c
gdb/dwarf2/read-gdb-index.c
gdb/dwarf2/read.c
gdb/gdbtypes.c

index 42370447052f10545b94d2df877e0c90a7be110b..df05c0140f0508d1ff3772916e541923a8f8842f 100644 (file)
@@ -31,6 +31,7 @@
 #include "dwarf2/frame.h"
 #include "value.h"
 #include "gdbarch.h"
+#include "extract-store-integer.h"
 
 \f
 
index e391ca6f933479dc9bfeac65061ed1b77f1f8ed7..af14f82126b1b5e596f67a62afa887afbe1fd1d8 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "dwarf2/aranges.h"
 #include "dwarf2/read.h"
+#include "extract-store-integer.h"
 
 /* See aranges.h.  */
 
index ee1522b7437818e0bca14ca0e91f727e50fb39f7..0977cfcab546fb97ba7231f2aac3c059a1debbc2 100644 (file)
@@ -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.  */
index e0e8eb5dbecb188b099d62e28f6dec9115a88f47..03e973eb902e046cae085470108092dbcdefaf62 100644 (file)
@@ -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"
index 1008d19e1692c8774ebb9c4ef987a49fd1fda179..70688d7fddf59fa8cfc66e370c50ec2a63046c4d 100644 (file)
@@ -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>
index 989d33901e01070d05c1009cdd80db60af4f0b2f..a01161e83f7d75816aa791f51bd38d8830706b0a 100644 (file)
@@ -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,
index e6f1fce4eb4bc7057223941cb78b3a8f84232b45..ffc4f3ad5eb028662c694e124c85de105067ff55 100644 (file)
@@ -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
index 4dea55957346432bba4b3e262e10aa2ffa9d77d7..83bd2e08c5df403d28d662695f409e6428bb270c 100644 (file)
@@ -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;
index e52e26f340ca3b485577f27da14c567808b4af5f..9484754447746b8a14b1bde2092407edb2aba298 100644 (file)
@@ -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.
index 0928e24446708fd654194298b0dafa80730e213c..3f78230289f0ee58d598f8e89d26f5f251eb94c4 100644 (file)
@@ -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