[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: |
Wed, 13 Mar 2002 09:10:25 -0700 |
Roland:
> I checked in the fix for that stupid libc bug (d'oh!).
No problem. Just glad I could help in some small way.
> As to gdb, did you test the gdb "gcore" command? Your patch didn't include
> any changes to the gnu_find_memory_regions function, but you also didn't
> say that it works. Since that part of the code works independent of the
> new note formats, I would like to get it folded into gdb asap.
I hadn't had time to really test it. I just ran 'generate-core-file'
from
GDB today though and did manage to create a core using your code, so the
'find_memory_regions' seems to work ok. In order to get it to generate
a core file, though, you need to fill in a notes section by giving GDB
a notes section hook:
gnu_ops.to_make_corefile_notes = gnu_to_make_corefile_notes;
I dummied up one for now and thought I would wait for your thinking on
notes formats to solidify before adding "real" code there, but whatever
note format is used in 'crash' should also go here.
> The i386-specific code will go into i386gnu-nat.c, not gnu-nat.c (but don't
> worry about that right now).
D'oh.
Let me know if there are any other ways in which I can help on the
project.
Jonathan S. Arney
Software Engineer
jarney1@cox.net
------------------------------------------------------------------------
- core file writing, (continued)
- 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/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 <=
- 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
Re: Hurd logging. (was zalloc panic), Moritz Schulte, 2002/03/02
Re: Hurd logging. (was zalloc panic), Adam Olsen, 2002/03/03
Re: Hurd logging. (was zalloc panic), Niels Möller, 2002/03/03