Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: "'Pedro Alves'" <pedro_alves@portugalmail.pt>,
		"'Eli Zaretskii'" <eliz@gnu.org>, 	<gdb-patches@sourceware.org>
Subject: RE: [New WinCE support] [patch 4/4] The bulk of the code.
Date: Fri, 30 Mar 2007 11:56:00 -0000	[thread overview]
Message-ID: <000a01c772c2$68207d10$38617730$@u-strasbg.fr> (raw)
In-Reply-To: <460B1A06.1090606@portugalmail.pt>

 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
at  /usr/local/src/cvs/src/gdb/gdbserver
$ grep regptr *
ChangeLog:      (regptr): New.
ChangeLog:      (do_child_store_inferior_registers): Use regptr.
win32-arm-low.c:  char *context_offset = regptr (&th->context, r);
win32-i386-low.c:  char *context_offset = regptr (&th->context, r);
win32-i386-low.c:   register in it's CONTEXT structure.  In this case regptr
wil
l return
win32-low.h:     register in it's CONTEXT structure.  In this case regptr
will r
eturn
win32-low.h:extern char * regptr (CONTEXT* c, int r);


So I suppose that you have a local modification of win32-low.c
that implements regptr function,
unless I am missing something else.

Could you please try to fix that problem?

Thanks in advance,


Pierre Muller
Chargé de recherches
Institut Charles Sadron
6, rue Boussingault
F 67083 Strasbourg Cedex
Tél. : +(33)3-88-41-40-07






  reply	other threads:[~2007-03-30 11:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070315235008.243411000@portugalmail.pt>
2007-03-16  2:07 ` [New WinCE support] [patch 1/4] : mv win32-i386-low.c win32-low.c Pedro Alves
2007-03-27 19:11   ` Daniel Jacobowitz
2007-03-16  2:09 ` [New WinCE support] [patch 2/4] : s/thread_info/win32_thread_info/g Pedro Alves
2007-03-27 19:12   ` Daniel Jacobowitz
2007-03-16  2:09 ` [New WinCE support] [patch 3/4] : bfd config Pedro Alves
2007-03-16  2:10 ` [New WinCE support] [patch 4/4] The bulk of the code Pedro Alves
2007-03-16 12:52   ` Eli Zaretskii
2007-03-16 15:03     ` pedro alves
2007-03-17 11:18       ` Eli Zaretskii
2007-03-17 11:35         ` Andreas Schwab
2007-03-19  1:53         ` Pedro Alves
2007-03-19  4:21           ` Eli Zaretskii
2007-03-19 12:34             ` Daniel Jacobowitz
2007-03-27 19:20           ` Daniel Jacobowitz
2007-03-29  3:18             ` Pedro Alves
2007-03-29  3:51             ` Pedro Alves
2007-03-30 11:56               ` Pierre Muller [this message]
2007-03-30 12:23                 ` pedro alves
2007-03-30 20:35                   ` pedro alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000a01c772c2$68207d10$38617730$@u-strasbg.fr' \
    --to=muller@ics.u-strasbg.fr \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro_alves@portugalmail.pt \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox