On Fri, 07 Jul 2006 19:51:53 +0800, chao yeaj said:
Hello everyone
I compiled my application with the ``-g '' options
and when debug with gdb, i can list the source file
You can also say 'gdb my_program' at the shell prompt, and then
issue the gdb command 'run'. When the
My best advice is to read the GDB Manual -
http://www.gnu.org/software/gdb/documentation/. Chapters 4 and 5
should give you a fairly good idea how to perform simple debugging on
your program. If you don't feel like get some GUI debugger like
Insight (http://sources.redhat.com/insight/).
Atanas
Hello everyone
I compiled my application with the ``-g '' options
and when debug with gdb, i can list the source file
The problem is : when segmentation fault ,there has nocore file
if the has a core file ,i can debug it, but there has nocore file
why?
On 7/7/06, chao yeaj [EMAIL PROTECTED] wrote:
The problem is : when segmentation fault ,there has nocore file
if the has a core file ,i can debug it, but there has nocore file
You probably have coredumps turned off. Try
ulimit -c unlimited
before running your program.
On Fri, 7 Jul 2006 13:01:06 +0100
John Cupitt [EMAIL PROTECTED] wrote:
On 7/7/06, chao yeaj [EMAIL PROTECTED] wrote:
The problem is : when segmentation fault ,there has no
core file if the has a core file ,i can debug it, but there has
nocore file
You probably have coredumps
Hello everyone
I compiled my application with the ``-g '' options
and when debug with gdb, i can list the source file
The problem is : when segmentation fault ,there has nocore file
if the has a core file ,i can debug it, but there has nocore file
why?
On Fri, 07 Jul 2006 19:51:53 +0800, chao yeaj said:
Hello everyone
I compiled my application with the ``-g '' options
and when debug with gdb, i can list the source file
You can also say 'gdb my_program' at the shell prompt, and then
issue the gdb command 'run'. When the