projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[gdb/tdep] Use pid to choose process 64/32-bitness
[deliverable/binutils-gdb.git]
/
gdb
/
ppc-linux-nat.c
diff --git
a/gdb/ppc-linux-nat.c
b/gdb/ppc-linux-nat.c
index 171f5b386fa8d3848d0875372cb7a18689a61874..06a30efeaef4908c863269f57844e1ff832575aa 100644
(file)
--- a/
gdb/ppc-linux-nat.c
+++ b/
gdb/ppc-linux-nat.c
@@
-1946,9
+1946,7
@@
ppc_linux_nat_target::auxv_parse (gdb_byte **readptr,
const struct target_desc *
ppc_linux_nat_target::read_description ()
{
- int tid = inferior_ptid.lwp ();
- if (tid == 0)
- tid = inferior_ptid.pid ();
+ int tid = inferior_ptid.pid ();
if (have_ptrace_getsetevrregs)
{
This page took
0.024199 seconds
and
4
git commands to generate.