mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-05 19:29:35 +00:00
lynx-low.c: PTRACE_GETTHREADLIST may not be defined.
LynxOS 178 does not define this macro. gdb/gdbserver/ChangeLog: * lynx-low.c (ptrace_request_to_str): Do not handle PTRACE_GETTHREADLIST if this macro does not exist.
This commit is contained in:
parent
4194268f43
commit
78cbc0240c
@ -1,3 +1,8 @@
|
||||
2012-12-17 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* lynx-low.c (ptrace_request_to_str): Do not handle
|
||||
PTRACE_GETTHREADLIST if this macro does not exist.
|
||||
|
||||
2012-12-15 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* Makefile.in (OBS): Add notif.o.
|
||||
|
@ -255,9 +255,11 @@ ptrace_request_to_str (int request)
|
||||
case PTRACE_GETLOADINFO:
|
||||
return "PTRACE_GETLOADINFO";
|
||||
break;
|
||||
#ifdef PTRACE_GETTHREADLIST
|
||||
case PTRACE_GETTHREADLIST:
|
||||
return "PTRACE_GETTHREADLIST";
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
return "<unknown-request>";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user