projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New test case gdb.base/branch-to-self.exp
[deliverable/binutils-gdb.git]
/
gdb
/
ppc-linux-nat.c
diff --git
a/gdb/ppc-linux-nat.c
b/gdb/ppc-linux-nat.c
index bf914626679a1eb2a18148d2161568eceab5f5e7..84c14a1ae9efdd381748e704404d84e8afb93108 100644
(file)
--- a/
gdb/ppc-linux-nat.c
+++ b/
gdb/ppc-linux-nat.c
@@
-2419,7
+2419,8
@@
ppc_linux_read_description (struct target_ops *ops)
perror_with_name (_("Unable to fetch SPE registers"));
}
perror_with_name (_("Unable to fetch SPE registers"));
}
- if (have_ptrace_getsetvsxregs)
+ if (have_ptrace_getsetvsxregs
+ && (ppc_linux_get_hwcap () & PPC_FEATURE_HAS_VSX))
{
gdb_vsxregset_t vsxregset;
{
gdb_vsxregset_t vsxregset;
@@
-2432,7
+2433,8
@@
ppc_linux_read_description (struct target_ops *ops)
perror_with_name (_("Unable to fetch VSX registers"));
}
perror_with_name (_("Unable to fetch VSX registers"));
}
- if (have_ptrace_getvrregs)
+ if (have_ptrace_getvrregs
+ && (ppc_linux_get_hwcap () & PPC_FEATURE_HAS_ALTIVEC))
{
gdb_vrregset_t vrregset;
{
gdb_vrregset_t vrregset;
This page took
0.037125 seconds
and
4
git commands to generate.