projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fetch all registers before writing the core register notes.
[deliverable/binutils-gdb.git]
/
gdb
/
ppc-linux-nat.c
diff --git
a/gdb/ppc-linux-nat.c
b/gdb/ppc-linux-nat.c
index c5a286bb97a07b57dfd0093bf4cf6def501f13b8..88ca49e3d449fff8b28f6ee310e7232af0a7b6a4 100644
(file)
--- a/
gdb/ppc-linux-nat.c
+++ b/
gdb/ppc-linux-nat.c
@@
-2367,7
+2367,7
@@
ppc_linux_target_wordsize (void)
errno = 0;
msr = (long) ptrace (PTRACE_PEEKUSER, tid, PT_MSR * 8, 0);
- if (errno == 0 &&
msr < 0
)
+ if (errno == 0 &&
ppc64_64bit_inferior_p (msr)
)
wordsize = 8;
#endif
This page took
0.05812 seconds
and
4
git commands to generate.