This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/22921] breakpoint in PLT corrupts function argument in $rcx


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]