Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* cross-debugging of userland core files, nat -> tdep
@ 2002-04-10 18:39 Jason R Thorpe
  2002-04-10 18:58 ` Daniel Jacobowitz
  2002-04-10 23:01 ` Andrew Cagney
  0 siblings, 2 replies; 6+ messages in thread
From: Jason R Thorpe @ 2002-04-10 18:39 UTC (permalink / raw)
  To: gdb

Hi folks...

I've been thinking of what needs to happen in order to support
cross-debugging of userland core files in NetBSD.

BFD can already handle NetBSD ELF core files in the appropriate way.  As
far as I can tell, the only stumbling block is getting GDB to play nicely
with them.

The problem is that the functions that supply registers, etc. from the core
file are all in "nat" modules.  This is probably mostly an artifact of the
data being in the same format as the reg structure returned by ptrace(2).

What I'd like to do is move those supply-registers routines into an
appropriate "tdep" file.  They can still be used by the "nat" routines
which use ptrace(2), and all the core file handling goo can then go into
the "tdep" module, as well.

If this sounds reasonable, then I'll start my little project.  Otherwise,
I'd love to hear suggestions :-)

Thanks.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>


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

end of thread, other threads:[~2002-04-11 21:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-10 18:39 cross-debugging of userland core files, nat -> tdep Jason R Thorpe
2002-04-10 18:58 ` Daniel Jacobowitz
2002-04-10 19:12   ` Jason R Thorpe
2002-04-10 19:16     ` Daniel Jacobowitz
2002-04-11 14:39   ` Michael Snyder
2002-04-10 23:01 ` Andrew Cagney

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