gdb: Fix aarch64 native build issue caused by use of LONGEST
authorWill Newton <will.newton@linaro.org>
Thu, 21 Aug 2014 08:38:00 +0000 (09:38 +0100)
committerWill Newton <will.newton@linaro.org>
Thu, 21 Aug 2014 08:38:00 +0000 (09:38 +0100)
Recent gdb code refactor changes LONGEST from a macro to a typedef,
thus the use of it in aarch64-linux-nat.c is no longer valid.

2014-08-21  Bin Cheng  <bin.cheng@arm.com>

* aarch64-linux-nat.c (dr_changed_t): Change the type from
unsigned LONGEST to ULONGEST.

gdb/ChangeLog
gdb/aarch64-linux-nat.c

index 8bae7d334db297016770ad76414f3143ff8702c0..fae78e54fce9f35ea556fb163c2eb160db5af311 100644 (file)
@@ -1,3 +1,8 @@
+2014-08-21  Bin Cheng  <bin.cheng@arm.com>
+
+       * aarch64-linux-nat.c (dr_changed_t): Change the type from
+       unsigned LONGEST to ULONGEST.
+
 2014-08-20  Pedro Alves  <palves@redhat.com>
 
        * Makefile.in (check-read1): New rule.
index 4ae789b7747ba9ae5fd2b06612a9149673a526d6..1184197fe2e60f55a6bc560a776e1cca11f86c79 100644 (file)
@@ -144,7 +144,7 @@ static int debug_hw_points;
    ptrace calls to the kernel, i.e. avoid asking the kernel to write
    to the debug registers with unchanged values.  */
 
-typedef unsigned LONGEST dr_changed_t;
+typedef ULONGEST dr_changed_t;
 
 /* Set each of the lower M bits of X to 1; assert X is wide enough.  */
 
This page took 0.03418 seconds and 4 git commands to generate.