This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/13829] New: gdbserver compile error: PTRACE_GETSIGINFOundefined; arm cross-compile from cygwin
- From: "richaw at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 11 Mar 2012 01:38:36 +0000
- Subject: [Bug gdb/13829] New: gdbserver compile error: PTRACE_GETSIGINFOundefined; arm cross-compile from cygwin
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13829
Bug #: 13829
Summary: gdbserver compile error: PTRACE_GETSIGINFO undefined;
arm cross-compile from cygwin
Product: gdb
Version: 7.4
Status: NEW
Severity: normal
Priority: P2
Component: gdb
AssignedTo: unassigned@sourceware.org
ReportedBy: richaw@gmail.com
Classification: Unclassified
In both version 7.4 and in a git download today, I get
an error trying to cross compile gdbserver.
I am running cygwin on a 64-bit win7 system.
The cross compiler was downloaded from embeddedarm.com
The procedure I used to compile gdbserver is
cd gdb/gdbserver
CC=/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-gcc
$ ./configure --host arm-unknown-linux
(...)
make
(...)
/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-gcc
-c -g -O2 -I. -I. -I./../common -I./../regformats -I./../../include -Wall
-Wpointer-arith -Wformat-nonliteral -Wno-char-subscripts -Werror
linux-arm-low.c
linux-arm-low.c: In function `arm_stopped_by_watchpoint':
linux-arm-low.c:642: error: `PTRACE_GETSIGINFO' undeclared (first use in this
function)
linux-arm-low.c:642: error: (Each undeclared identifier is reported only once
linux-arm-low.c:642: error: for each function it appears in.)
Makefile:192: recipe for target `linux-arm-low.o' failed
make: *** [linux-arm-low.o] Error 1
PTRACE_GETSIGINFO does not appear in sys/ptrace.h, despite claims in
http://linux.die.net/man/2/ptrace
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.