Re: renaming core dumps

Raj Mathur (raju@gratis.xgroup.ernet.in)
Wed, 21 Feb 96 20:48 IST(+0530)


Doh, it's a bit simpler if you do this:

prog
brain fried: core dumped
mv core core.prog
gdb prog core.prog

-- Raju

>>>>> "Marty" == Marty Leisner <leisner@sdsp.mc.xerox.com> writes:

Marty> I just got a new beta gdb which dumped core...

Marty> I then ran gdb on the core and it core dumped...

Marty> This has always been frustrating...freebsd has core dumps
Marty> of the form core.command which is much preferable over
Marty> "core".

Marty> This is a fix to generate

Marty> core.<name>.<pid>

Marty> instead of just core...

Marty> I like it, if you want the other behavior, just change the
Marty> #if
Marty> [patch summarily deleted]