* Cross-platform gdb/kgdb
@ 2003-03-24 21:41 John Groves
2003-03-25 16:35 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: John Groves @ 2003-03-24 21:41 UTC (permalink / raw)
To: gdb
I'm hoping someone can point me in the right direction...or tell me it
ain't worth trying...
I need to do some kernel debugging with an HP IA-64 system (hpux), and
it's the only hpux box available. It would be cool to compile a
linux-resident gdb that would run as the kgdb control system for the
IA-64 hpux target.
FYI (you may know) hp maintains "kwdb" which is gdb/kgdb for hpux, so I
have the code for the target system. But hp hasn't tried cross-platform.
Q: Are the sources in the gdb build tree organized such that I can make
the target system include files available without them getting mixed up
with the host system includes?
Having run "./configure --host=i386-unknown-linux --target=ia64-hp", I
note that files in the gdb directory need access to *target* system
include files; but I also see plenty of sources in that directory that
include stuff that should probably be local (fcntl, curses, stuff like
that).
Q: If it's not completely futile, where could I look for an example or
any helpful info?
Thanks,
John Groves
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Cross-platform gdb/kgdb
2003-03-24 21:41 Cross-platform gdb/kgdb John Groves
@ 2003-03-25 16:35 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2003-03-25 16:35 UTC (permalink / raw)
To: John Groves; +Cc: gdb
On Mon, Mar 24, 2003 at 03:41:40PM -0600, John Groves wrote:
> I'm hoping someone can point me in the right direction...or tell me it
> ain't worth trying...
>
> I need to do some kernel debugging with an HP IA-64 system (hpux), and
> it's the only hpux box available. It would be cool to compile a
> linux-resident gdb that would run as the kgdb control system for the
> IA-64 hpux target.
>
> FYI (you may know) hp maintains "kwdb" which is gdb/kgdb for hpux, so I
> have the code for the target system. But hp hasn't tried cross-platform.
>
> Q: Are the sources in the gdb build tree organized such that I can make
> the target system include files available without them getting mixed up
> with the host system includes?
>
> Having run "./configure --host=i386-unknown-linux --target=ia64-hp", I
> note that files in the gdb directory need access to *target* system
> include files; but I also see plenty of sources in that directory that
> include stuff that should probably be local (fcntl, curses, stuff like
> that).
>
> Q: If it's not completely futile, where could I look for an example or
> any helpful info?
It should work; however, I do not know whether ia64-hpux is supported.
A cross debugger should _not_ need any headers from the target system
to build.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-25 16:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-24 21:41 Cross-platform gdb/kgdb John Groves
2003-03-25 16:35 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).