mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
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:
@ -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>
|
2012-12-17 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* lynx-low.c (lynx_attach): Delete variable new_process.
|
* lynx-low.c (lynx_attach): Delete variable new_process.
|
||||||
|
@ -255,6 +255,9 @@ ptrace_request_to_str (int request)
|
|||||||
case PTRACE_GETLOADINFO:
|
case PTRACE_GETLOADINFO:
|
||||||
return "PTRACE_GETLOADINFO";
|
return "PTRACE_GETLOADINFO";
|
||||||
break;
|
break;
|
||||||
|
case PTRACE_GETTRACESIG:
|
||||||
|
return "PTRACE_GETTRACESIG";
|
||||||
|
break;
|
||||||
#ifdef PTRACE_GETTHREADLIST
|
#ifdef PTRACE_GETTHREADLIST
|
||||||
case PTRACE_GETTHREADLIST:
|
case PTRACE_GETTHREADLIST:
|
||||||
return "PTRACE_GETTHREADLIST";
|
return "PTRACE_GETTHREADLIST";
|
||||||
|
Reference in New Issue
Block a user