mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08: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:
@ -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>
|
2012-12-15 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
* Makefile.in (OBS): Add notif.o.
|
* Makefile.in (OBS): Add notif.o.
|
||||||
|
@ -255,9 +255,11 @@ ptrace_request_to_str (int request)
|
|||||||
case PTRACE_GETLOADINFO:
|
case PTRACE_GETLOADINFO:
|
||||||
return "PTRACE_GETLOADINFO";
|
return "PTRACE_GETLOADINFO";
|
||||||
break;
|
break;
|
||||||
|
#ifdef PTRACE_GETTHREADLIST
|
||||||
case PTRACE_GETTHREADLIST:
|
case PTRACE_GETTHREADLIST:
|
||||||
return "PTRACE_GETTHREADLIST";
|
return "PTRACE_GETTHREADLIST";
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
return "<unknown-request>";
|
return "<unknown-request>";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user