summaryrefslogtreecommitdiff
path: root/gdb/m68k-linux-nat.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2019-11-24 15:04:21 -0500
committerSimon Marchi <simon.marchi@efficios.com>2019-11-24 15:05:04 -0500
commita7cdaa914f4b937544d8f102679bb5129bb1ef08 (patch)
treee59a6aa4285c0fa798c4c56cc7ff99bf2ab3a58f /gdb/m68k-linux-nat.c
parent26abc753cd1eb1349f6fa053caab016c93ca5302 (diff)
downloadbinutils-gdb-a7cdaa914f4b937544d8f102679bb5129bb1ef08.tar.gz
Include gdbarch.h in m68k-linux-nat.c
Fix this compilation error, and a bunch of similar ones: CXX m68k-linux-nat.o /home/smarchi/src/binutils-gdb/gdb/m68k-linux-nat.c: In function ‘void fetch_register(regcache*, int)’: /home/smarchi/src/binutils-gdb/gdb/m68k-linux-nat.c:133:9: error: ‘gdbarch_register_name’ was not declared in this scope gdbarch_register_name (gdbarch, regno), ^~~~~~~~~~~~~~~~~~~~~ gdb/ChangeLog: * m68k-linux-nat.c: Include gdbarch.h. Change-Id: I7cd47bc5d094241b2596e29c244eb55ed11f7a02
Diffstat (limited to 'gdb/m68k-linux-nat.c')
-rw-r--r--gdb/m68k-linux-nat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/m68k-linux-nat.c b/gdb/m68k-linux-nat.c
index 91e68bae29c..959dbf44760 100644
--- a/gdb/m68k-linux-nat.c
+++ b/gdb/m68k-linux-nat.c
@@ -25,6 +25,7 @@
#include "regcache.h"
#include "target.h"
#include "linux-nat.h"
+#include "gdbarch.h"
#include "m68k-tdep.h"