[LCP] Debugging a core dump
Zach
netrek at gmail.com
Thu Jul 26 10:06:40 UTC 2007
I have had the same problem. Hope someone answers.
Zach
On 7/26/07, Ludwig Isaac Lim <ludz_lim at yahoo.com> wrote:
>
> Hi:
>
> I'm trying to debug a program which dumps a core file (
> I compiled the program with a "-g" flag). I tried setting
> the core size by using the following command:
>
> ulimit -c 1000
>
> I tried debugging it by :
> gdb <program name> <name of the core>
>
>
> gdb gives me the following error message :
> <core file> is not a core dump: file format not
> recognized.
>
> What is should be ideal size of a core dump for it be
> helpful in debugging a program?
>
> Many thanks!
>
> ludwig
>
>
>
> ____________________________________________________________________________________
> Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.
> http://new.toolbar.yahoo.com/toolbar/features/norton/index.php
>
> _______________________________________________
> This is the Linux C Programming List
> : http://lists.linux.org.au/listinfo/linuxcprogramming List
>
More information about the linuxCprogramming
mailing list