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/dwarf2/index-common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/dwarf2/index-common.h') diff --git a/gdb/dwarf2/index-common.h b/gdb/dwarf2/index-common.h index dca4151..0a871a7 100644 --- a/gdb/dwarf2/index-common.h +++ b/gdb/dwarf2/index-common.h @@ -20,6 +20,8 @@ #ifndef DWARF_INDEX_COMMON_H #define DWARF_INDEX_COMMON_H +#include "extract-store-integer.h" + /* The suffix for an index file. */ #define INDEX4_SUFFIX ".gdb-index" #define INDEX5_SUFFIX ".debug_names" -- cgit v1.1