Add PTRACE_GETTRACESIG handling in ptrace_request_to_str
We use this ptrace request when handling SIGTRAP signals, and without this change, the debug trances show: PTRACE (<unknown-request>, ... This patch fixes this. gdb/gdbserver/ChangeLog: * lynx-low.c (ptrace_request_to_str): Add handling for PTRACE_GETTRACESIG.
This commit is contained in:
parent
52d4cbd805
commit
037335a7a8
@ -1,3 +1,8 @@
|
||||
2012-12-17 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* lynx-low.c (ptrace_request_to_str): Add handling for
|
||||
PTRACE_GETTRACESIG.
|
||||
|
||||
2012-12-17 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* lynx-low.c (lynx_attach): Delete variable new_process.
|
||||
|
@ -255,6 +255,9 @@ ptrace_request_to_str (int request)
|
||||
case PTRACE_GETLOADINFO:
|
||||
return "PTRACE_GETLOADINFO";
|
||||
break;
|
||||
case PTRACE_GETTRACESIG:
|
||||
return "PTRACE_GETTRACESIG";
|
||||
break;
|
||||
#ifdef PTRACE_GETTHREADLIST
|
||||
case PTRACE_GETTHREADLIST:
|
||||
return "PTRACE_GETTHREADLIST";
|
||||
|
Loading…
Reference in New Issue
Block a user