* ppc-linux-nat.c (ppc_linux_get_hwcap): Really get AT_HWCAP.
authorUlrich Weigand <uweigand@de.ibm.com>
Tue, 12 Aug 2008 18:20:14 +0000 (18:20 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Tue, 12 Aug 2008 18:20:14 +0000 (18:20 +0000)
gdb/ChangeLog
gdb/ppc-linux-nat.c

index f734aed9c7f0ffec191744593c84332f92d48211..5881b8a953ab509b1abfc9926361197db911fdf7 100644 (file)
@@ -1,3 +1,7 @@
+2008-08-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ppc-linux-nat.c (ppc_linux_get_hwcap): Really get AT_HWCAP.
+
 2008-08-12  Pedro Alves  <pedro@codesourcery.com>
 
        Add no-ack mode to the remote protocol --- optionally stop ACKing
index c4652f7c355fffc72276d768f86fcbc622ec4963..db070b9a7feaf8a14d2e9fc4b98fe5d9f18a15c1 100644 (file)
@@ -835,7 +835,7 @@ unsigned long ppc_linux_get_hwcap (void)
 {
   CORE_ADDR field;
 
-  if (target_auxv_search (&current_target, AT_PLATFORM, &field))
+  if (target_auxv_search (&current_target, AT_HWCAP, &field))
     return (unsigned long) field;
 
   return 0;