From ec4525259262492b61fb9bd2f9acdf156ab037fc Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 22 Apr 2024 16:10:14 -0400 Subject: gdb: move store/extract integer functions to extract-store-integer.{c,h} Move the declarations out of defs.h, and the implementations out of findvar.c. I opted for a new file, because this functionality of converting integers to bytes and vice-versa seems a bit to generic to live in findvar.c. Change-Id: I524858fca33901ee2150c582bac16042148d2251 Approved-By: John Baldwin --- gdb/mips-netbsd-tdep.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/mips-netbsd-tdep.c') diff --git a/gdb/mips-netbsd-tdep.c b/gdb/mips-netbsd-tdep.c index 63068a1..b8134a6 100644 --- a/gdb/mips-netbsd-tdep.c +++ b/gdb/mips-netbsd-tdep.c @@ -19,6 +19,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#include "extract-store-integer.h" #include "gdbcore.h" #include "regcache.h" #include "regset.h" -- cgit v1.1