diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-09-13 19:10:30 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-09-13 19:10:30 +0000 |
commit | 47fac8f84d1876bc60bfdde5060a355d5748edde (patch) | |
tree | 36bea3bee026f2fa5a7ddfe68020c12d4848111a /gdb | |
parent | 1adfc54d0c2b678885eb0a067de7377e3e2b5953 (diff) | |
download | gdb-47fac8f84d1876bc60bfdde5060a355d5748edde.zip gdb-47fac8f84d1876bc60bfdde5060a355d5748edde.tar.gz gdb-47fac8f84d1876bc60bfdde5060a355d5748edde.tar.bz2 |
[LynxOS] Remove handling of PTRACE_* values removed in Lynx5.
Some of the PTRACE_ macros/values were removed in LynxOS 5.x.
Since we have not use them so far, the chances that we will use them
one day are very small. So I decided to delete them.
gdb/gdbserver/ChangeLog:
* lynx-low.c (ptrace_request_to_str): Remove handling for
request values that have been removed in LynxOS 5.x.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/lynx-low.c | 40 |
2 files changed, 5 insertions, 40 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 0a6a71c..f156838 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,10 @@ 2010-09-13 Joel Brobecker <brobecker@adacore.com> + * lynx-low.c (ptrace_request_to_str): Remove handling for + request values that have been removed in LynxOS 5.x. + +2010-09-13 Joel Brobecker <brobecker@adacore.com> + * lynx-low.c, lynx-ppc-loc.c: Include <sys/ptrace.h> instead of <ptrace.h> diff --git a/gdb/gdbserver/lynx-low.c b/gdb/gdbserver/lynx-low.c index 74d2bcd..3f18919 100644 --- a/gdb/gdbserver/lynx-low.c +++ b/gdb/gdbserver/lynx-low.c @@ -208,16 +208,6 @@ ptrace_request_to_str (int request) return "PT_WRITE_FPR"; break; #endif -#ifdef PTRACE_GETVECREGS - case PTRACE_GETVECREGS: - return "PTRACE_GETVECREGS"; - break; -#endif -#ifdef PTRACE_SETVECREGS - case PTRACE_SETVECREGS: - return "PTRACE_SETVECREGS"; - break; -#endif #ifdef PT_READ_VPR case PT_READ_VPR: return "PT_READ_VPR"; @@ -268,36 +258,6 @@ ptrace_request_to_str (int request) case PTRACE_GETTHREADLIST: return "PTRACE_GETTHREADLIST"; break; - case PTRACE_POSTSYSCALL: - return "PTRACE_POSTSYSCALL"; - break; - case PTRACE_USE_SIGEXECED: - return "PTRACE_USE_SIGEXECED"; - break; - case PTRACE_GETTRACESIG: - return "PTRACE_GETTRACESIG"; - break; - case PTRACE_GETCWD: - return "PTRACE_GETCWD"; - break; - case PTRACE_TRAPFORK: - return "PTRACE_TRAPFORK"; - break; - case PTRACE_GETCHILDPID: - return "PTRACE_GETCHILDPID"; - break; - case PTRACE_SYSCALL_ONE: - return "PTRACE_SYSCALL_ONE"; - break; - case PTRACE_SIGMASK: - return "PTRACE_SIGMASK"; - break; - case PTRACE_GETIWD: - return "PTRACE_GETIWD"; - break; - case PTRACE_GETEXECFILE: - return "PTRACE_GETEXECFILE"; - break; } return "<unknown-request>"; } |