This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [New WinCE support] [patch 4/4] The bulk of the code.


On 3/30/07, Pierre Muller <muller@ics.u-strasbg.fr> wrote:
 I get an error when I try to compile
gdbserver on cygwin.

gcc -Wall -g -O2    -I. -I../../../src/gdb/gdbserver
-I../../../src/gdb/gdbserve
r/../regformats -I../../../src/gdb/gdbserver/../../include -I../../bfd
-I../../.
./src/gdb/gdbserver/../../bfd   -o gdbserver.exe inferiors.o regcache.o
remote-u
tils.o server.o signals.o target.o utils.o version.o mem-break.o  reg-i386.o
win
32-low.o win32-i386-low.o  \

win32-i386-low.o: In function `do_fetch_inferior_registers':
/usr/local/src/cvs/build/gdb/gdbserver/../../../src/gdb/gdbserver/win32-i386
-low
.c:63: undefined reference to `_regptr'
collect2: ld returned 1 exit status
make[3]: *** [gdbserver.exe] Error 1

It seems like you forgot to
commit some change in win32-low.c
because

I guess you are right. Looking at CVSweb I see that I didn't commit the changes to win32-low.c. I will only have access to cvs later when I get home (no less than 8 hours), and I'll fix it then, unless someone takes that hunk from the patch, and commits it before me.

Sorry for all the breakage...

Cheers,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]