aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAditya Vidyadhar Kamath <Aditya.Kamath1@ibm.com>2022-08-05 09:07:37 -0500
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2022-08-09 15:33:15 +0200
commit80d362484999634e11d2b9f9e6d69e2cd4fdba12 (patch)
tree25ddec6fe68db6f77183f5b41695cd159e138654 /binutils
parenta8a882968a6cd3bfe64d789b6e914521c74498c2 (diff)
downloadbinutils-80d362484999634e11d2b9f9e6d69e2cd4fdba12.zip
binutils-80d362484999634e11d2b9f9e6d69e2cd4fdba12.tar.gz
binutils-80d362484999634e11d2b9f9e6d69e2cd4fdba12.tar.bz2
Fix-for-multiple-thread-detection-in-AIX.
In AIX multiple threads were not added. This patch is a fix for the same When we create a pthread debug session we have callbacks to read symbols and memory. One of those call backs is pdc_read_data. Before we come into aix-thread wait() we switch to no thread and therefore the current thread is null. When we get into pdc_read_data we have a dependency that we need to be in the correct current thread that has caused an event of new thread, inorder to read memory. Hence we switch to the correct thread. This is done by passing the pid in the pthdb_user_t user_current_pid parameter in every call back.
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions