aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-linux-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2024-04-22 16:10:14 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2024-04-22 21:34:19 -0400
commitec4525259262492b61fb9bd2f9acdf156ab037fc (patch)
tree73e3cf9b3f4049db32037f6ede09abd6dd08ec71 /gdb/mips-linux-tdep.c
parent15afb100ea6bc04d8944a919bf58c5c3fb8c20ec (diff)
downloadfsf-binutils-gdb-ec4525259262492b61fb9bd2f9acdf156ab037fc.zip
fsf-binutils-gdb-ec4525259262492b61fb9bd2f9acdf156ab037fc.tar.gz
fsf-binutils-gdb-ec4525259262492b61fb9bd2f9acdf156ab037fc.tar.bz2
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 <jhb@FreeBSD.org>
Diffstat (limited to 'gdb/mips-linux-tdep.c')
-rw-r--r--gdb/mips-linux-tdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/mips-linux-tdep.c b/gdb/mips-linux-tdep.c
index 79508f0..7bd96a8 100644
--- a/gdb/mips-linux-tdep.c
+++ b/gdb/mips-linux-tdep.c
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "extract-store-integer.h"
#include "gdbcore.h"
#include "target.h"
#include "solib-svr4.h"