aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-linux-nat.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-08-12 18:20:14 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-08-12 18:20:14 +0000
commitfcb09a755e44fc386d8a2f097da07ff533d8466c (patch)
tree3d15a35b8ffcc1afdda3cee50cd4fce606553073 /gdb/ppc-linux-nat.c
parenta6f3e723d387ad5292f1a7519e5204d53510d081 (diff)
downloadgdb-fcb09a755e44fc386d8a2f097da07ff533d8466c.zip
gdb-fcb09a755e44fc386d8a2f097da07ff533d8466c.tar.gz
gdb-fcb09a755e44fc386d8a2f097da07ff533d8466c.tar.bz2
* ppc-linux-nat.c (ppc_linux_get_hwcap): Really get AT_HWCAP.
Diffstat (limited to 'gdb/ppc-linux-nat.c')
-rw-r--r--gdb/ppc-linux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c
index c4652f7..db070b9 100644
--- a/gdb/ppc-linux-nat.c
+++ b/gdb/ppc-linux-nat.c
@@ -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;