From: Daniel Jacobowitz <drow@false.org>
To: David Carlton <carlton@kealia.com>
Cc: gdb <gdb@sources.redhat.com>
Subject: Re: generating a core file
Date: Mon, 22 Mar 2004 20:59:00 -0000 [thread overview]
Message-ID: <20040322175209.GA8274@nevyn.them.org> (raw)
In-Reply-To: <yf2hdwgu61w.fsf@hawaii.kealia.com>
On Mon, Mar 22, 2004 at 09:48:11AM -0800, David Carlton wrote:
> On Mon, 22 Mar 2004 09:24:11 -0800, David Carlton <carlton@kealia.com> said:
>
> > This is quite off-topic, but are there any programs out there that can
> > generate a core file from a stopped process, and write that core file
> > to a pipe or send it over the network somehow?
>
> I guess it's not completely off-topic, actually; it might be nice if
> there were a mention of generate-core-file in the GDB info pages. I
Indeed. See also gdb/gcore.sh.
> just tried using that command together with a named pipe, but it
> complained a lot about illegal seeks; is it inherently difficult to
> generate a core file without random-access files?
Yes; it's certainly not insoluble but it would be very hard to make BFD
do it. You'd have to build the ELF file in memory and then write it
out.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2004-03-22 17:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-22 17:52 David Carlton
2004-03-22 18:17 ` Kip Macy
2004-03-22 19:17 ` David Carlton
2004-03-22 20:59 ` Daniel Jacobowitz [this message]
2004-03-23 1:27 ` Kip Macy
2004-03-23 9:55 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040322175209.GA8274@nevyn.them.org \
--to=drow@false.org \
--cc=carlton@kealia.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox