Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Gdbserver with powerpc
@ 2002-02-01  7:30 stefania magistrali
  2002-02-01  7:35 ` Daniel Jacobowitz
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: stefania magistrali @ 2002-02-01  7:30 UTC (permalink / raw)
  To: gdb

Hi all!
I am developing a powerpc (860) board. I need to compile gdb for my host

(Intel with Linux) and gdbserver for target. I configured the system
like
this:

for gdb: ./configure --target=powerpc-linux
and for gdbserver: ./configure powerpc-linux (then I set CC=cross
compiler
for powerpc)

I have problems with gdbserver, I can't compile it. There are 2
problems:
1) when I compile it, the utils.c file loads the server.h file and this
loads the ../defs.h file (gdb/defs.h) where it is included the config.h
file
(gdb/config.h). But that file is created when I configured gdb (with the

host=Intel and target=powerpc) and so, p.e. it is defined
HAVE_SYS_REG_H,
when I haven't the file sys/reg.h for powerpc. Have I to configure it in
a
different way?
2) In low-linux.c there is a source code for Intel and m68k, I have to
add
code for powerpc? If so, do you know if someone has already done it?
Thanks,
Stefania


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-02-01 17:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-01  7:30 Gdbserver with powerpc stefania magistrali
2002-02-01  7:35 ` Daniel Jacobowitz
2002-02-01  7:37 ` Dan Kegel
2002-02-01  7:50   ` Daniel Jacobowitz
2002-02-01  7:37 ` William A. Gatliff
2002-02-01  7:57   ` Daniel Jacobowitz
2002-02-01  7:59     ` William A. Gatliff
2002-02-01  8:15     ` stefania magistrali
2002-02-01  8:42   ` Andrew Cagney
2002-02-01  8:49     ` William A. Gatliff
2002-02-01  9:10       ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox