gcore or generate-core-file command?

Andrew Cagney cagney@gnu.org
Wed Jul 14 19:48:00 GMT 2004


> Hi - I am currently using some moldy oldy versions of gdb that do not appear
> to have a way to generate core files (yes I know I should upgrade). I get
> the impression that newer gdb versions have a gcore (or generate-core-file?)
> command. Is this the case or is this somehow limited to Linux or some subset
> of platforms (my interest here is generating cores with gdb on Solaris).
> I've looked in the gdb doc and can't find refs to this ability. Is this
> possible? Which version of gdb did this shwo up in? Thx in advance. Chris

The command "gcore" was added to GDB 5.2.  You're right though, it isn't 
doesn't appear to be documented.

Michael, was there any documentation for this command?

Andrew




More information about the Gdb mailing list