This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Date: Sat, 17 Oct 2009 15:13:37 -0700
From: Michael Snyder <msnyder@vmware.com>
CC: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>, "teawater@gmail.com" <teawater@gmail.com>
It doesn't. DJGPP cannot generate core files.This is the same approach that is used by the "gcore" command. How does "gcore" work with go32, if at all?Well, save/restore depends on core files, so I guess it won't work in go32.
DJGPP does not support core files created from a memory image of a running process, but I don't see any reason why bfdcore_write won't work for it.
We don't just do bfdcore_write -- we actually create a core file from the memory image, and then add an extra segment to it for bfdcore_write to write into. The core file is an integral part of the execution log file.
I forgot to post the accompanying changes to gcore.c with this patch. I'm just about to put them up now that Hui reminded me.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |