This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Gdb server compilation issue
* Ratin Rahman (mratin) <mratin@cisco.com> [2007-07-28 22:57]:
>
> The enum used in the file mipsel-linux-gnu/sys-include/sys/ptrace.h looks pretty normal, its
>
> /* Type of the REQUEST argument to `ptrace.' */
> enum __ptrace_request
> {
> /* Indicate that the process making this request should be traced.
> All signals received by this process can be intercepted by its
> parent, and its parent can use the other `ptrace' requests. */
> PTRACE_TRACEME = 0, <===== this is line 33
> #define PT_TRACE_ME PTRACE_TRACEME
Could it be that some previous define replaced this PTRACE_TRACEME?
Maybe you should take a look at the preprocessed source (compiler
option: -E or just add “-save-temps” to the compilation process and
look at the “.i” file (linux-low.i, because it includes that sys/ptrace.h).
Thanks,
Bernhard