[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: core file writing
From: |
Jon Arney |
Subject: |
Re: core file writing |
Date: |
Mon, 04 Mar 2002 16:45:21 -0700 |
Roland:
Since you said it's not really very hard to do, I thought I'd make
an attempt at it with your permission.
I am guided by other elf core writers (such as Linux's) and it seems
to be going ok for now, but I have a couple of questions if you have
any clues.
I thought I'd make it an elf-core file (since Hurd uses elf files
for executables) and perhaps leave some hooks in for other exec
formats. (a.out,etc) Creating the header info seems not too difficult
using proc_getprocinfo and company, but I'm a little confused on how
to get access to the user register state and the VM for the process.
I thought perhaps proc_getexecdata might be correct, but then I thought
perhaps I should ask someone first.
Any clues? In the mean time, I'll look at the 'gdb' and 'libps' source
for
guidance.
Roland McGrath wrote:
>
> > Well, another thing that would certainly be useful to have is support for
> > core files. The crash server works today, we just don't have a sensible
> > core file format, and a function that dumps such a core file (and another
> > function that allows gdb to read it back).
>
> This is not really very hard to do at all.
--
------------------------------------------------------------------------
Jonathan S. Arney
Software Engineer
jarney1@cox.net
------------------------------------------------------------------------
- Re: Hurd logging. (was zalloc panic), (continued)
- Re: Hurd logging. (was zalloc panic), Moritz Schulte, 2002/03/04
- Re: Hurd logging. (was zalloc panic), Marcus Brinkmann, 2002/03/04
- Re: Hurd logging. (was zalloc panic), Moritz Schulte, 2002/03/04
- Re: Hurd logging. (was zalloc panic), Marcus Brinkmann, 2002/03/04
- Re: Hurd logging. (was zalloc panic), Moritz Schulte, 2002/03/04
- Re: Hurd logging. (was zalloc panic), Jeroen Dekkers, 2002/03/05
- core file writing, Roland McGrath, 2002/03/04
- Re: core file writing, Jon Arney, 2002/03/06
- Re: core file writing, Marcus Brinkmann, 2002/03/06
- Re: core file writing, Jeroen Dekkers, 2002/03/06
- Re: core file writing,
Jon Arney <=
- Re: core file writing, Roland McGrath, 2002/03/06
- Re: core file writing, Jon Arney, 2002/03/06
- Re: core file writing, Roland McGrath, 2002/03/06
- Re: core file writing, Jon Arney, 2002/03/09
- Re: core file writing, Roland McGrath, 2002/03/10
- Re: core file writing, Jon Arney, 2002/03/12
- Re: core file writing, Roland McGrath, 2002/03/13
- Re: core file writing, Roland McGrath, 2002/03/11
- Re: Hurd logging. (was zalloc panic), Thomas Bushnell, BSG, 2002/03/03
- Re: Hurd logging. (was zalloc panic), Thomas Bushnell, BSG, 2002/03/03