Fix compilation of gdb/arm-linux-nat.c on Raspbian GNU/Linux 7

Message ID 86oakgrqmv.fsf@gmail.com
State New, archived
Headers

Commit Message

Yao Qi June 16, 2015, 8:42 a.m. UTC
  Martin Simmons <martin@lispworks.com> writes:

>> Do you have the commit access to gdb git repository?
>
> No.

I pushed the patch in for you.
  

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1828ae6..556fbae 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@ 
+2015-06-16  Martin Simmons  <martin@lispworks.com>  (tiny patch)
+
+	* arm-linux-nat.c: Include nat/linux-ptrace.h.
+
 2015-06-15  Simon Marchi  <simon.marchi@ericsson.com>
 
 	* mi/mi-main.c (mi_cmd_data_read_memory_bytes): Consider addressable
diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c
index b18d443..10aea07 100644
--- a/gdb/arm-linux-nat.c
+++ b/gdb/arm-linux-nat.c
@@ -36,6 +36,8 @@ 
 #include <sys/utsname.h>
 #include <sys/procfs.h>
 
+#include "nat/linux-ptrace.h"
+
 /* Prototypes for supply_gregset etc.  */
 #include "gregset.h"