Re: core while attached

Bennett F. Dill
2003-01-28T14:33:29Z

On Mon, Jan 27, 2003 at 04:02:54PM -0500, Daniel Jacobowitz wrote:
> On Mon, Jan 27, 2003 at 03:58:15PM -0500, Bennett F. Dill wrote:
> > I'm ready to ask for a new version of gdb (5.3 is the latest i see), but
> > I don't see any documentation on generate-core-file anywhere... Before
> > I ask for a new version, can someone verify that generate-core-file is
> > the correct syntax/command? All I see is how to switch core files
> > etc...
>
> For whatever reason, it never made it into the manual. It's there;
> check the command-prompt help.
>
> (gdb) help generate-core-file
> Save a core file with the current state of the debugged process.
> Argument is optional filename. Default filename is 'core.<process_id>'.
>
> --
> Daniel Jacobowitz
> MontaVista Software Debian GNU/Linux Developer
That sounds good... We currently have 4.3 and its help didn't like
generate-core-file. I asked them to install 5.3 since you said the
command is there.

Thanks!
Ben