This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/22921] breakpoint in PLT corrupts function argument in $rcx
- From: "stsp at users dot sourceforge.net" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 04 Mar 2018 00:43:38 +0000
- Subject: [Bug breakpoints/22921] breakpoint in PLT corrupts function argument in $rcx
- Auto-submitted: auto-generated
- References: <bug-22921-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22921
--- Comment #2 from Stas Sergeev <stsp at users dot sourceforge.net> ---
Additionally, SIGALRM can be suppressed with "handle SIGALRM nopass".
The corruption will happen nevertheless, meaning that it is
exactly gdb who corrupts the register, not the signal handler.
If the SIGALRM is not armed by the test-case - no corruption.
But if it is armed but suppressed by gdb - corruption.
So for corruption to happen, gdb should "see" the signal,
but it doesn't matter whether the signal handler is called or not.
--
You are receiving this mail because:
You are on the CC list for the bug.