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/unittests/gmp-utils-selftests.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/unittests') diff --git a/gdb/unittests/gmp-utils-selftests.c b/gdb/unittests/gmp-utils-selftests.c index 3c6b710..f8f9781 100644 --- a/gdb/unittests/gmp-utils-selftests.c +++ b/gdb/unittests/gmp-utils-selftests.c @@ -19,6 +19,7 @@ #include "gmp-utils.h" #include "gdbsupport/selftest.h" +#include "extract-store-integer.h" #include -- cgit v1.1