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/mi/mi-main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/mi') diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index ab788a2..7f8a34b 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -20,6 +20,7 @@ along with this program. If not, see . */ #include "arch-utils.h" +#include "extract-store-integer.h" #include "target.h" #include "inferior.h" #include "infrun.h" -- cgit v1.1