Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nptl: Fix tst-pthread-gdb-attach for ptrace_scope equal 1 | Adhemerval Zanella | 2021-05-14 | 1 | -17/+39 |
| | | | | | | | | | This is similar to the fix for elf/tst-pldd (2f9046fb059e94fe25): it checks ptrace_scope value (values higher than 2 are too restrictive to allow the test to run) and it rearranges the spawned processes to make the target process the gdb child. Checked on x86_64-linux-gnu with ptrace_scope set to 1. | ||||
* | nptl: Check for compatible GDB in nptl/tst-pthread-gdb-attach | Florian Weimer | 2021-04-22 | 1 | -2/+76 |
| | | | | | Also do not clear the subprocess environment, in case running GDB needs certain environment variables. | ||||
* | nptl_db: Support different libpthread/ld.so load orders (bug 27744) | Florian Weimer | 2021-04-21 | 1 | -0/+143 |
libthread_db is loaded once GDB encounters libpthread, and at this point, ld.so may not have been processed by GDB yet. As a result, _rtld_global cannot be accessed by regular means from libthread_db. To make this work until GDB can be fixed, acess _rtld_global through a pointer stored in libpthread. The new test does not reproduce bug 27744 with --disable-hardcoded-path-in-tests, but is still a valid smoke test. With --enable-hardcoded-path-in-tests, it is necessary to avoid add-symbol-file because this can tickle a GDB bug. Fixes commit 1daccf403b1bd86370eb94edca794dc106d02039 ("nptl: Move stack list variables into _rtld_global"). Tested-by: Emil Velikov <emil.velikov@collabora.com> |