Re: [Evolution-hackers] Problem debugging evolution




is it compiled with debugging enabled?  -g on the command line to gcc.  Also no optimisation or -O0 aids gdb's accuracry wrt stack traces and particularly local variables.

On Sat, 2004-10-09 at 17:54 +0200, Filip Kalinski wrote:
Hello,

I'm using current evolution from CVS, built with flags "-O0 -ggdb".
When I try to debug it with gdb (with breakpoint on
"em_folder_tree_create_folder"), gdb cannot print call stack corectly:

[code]
Breakpoint 2,  (=, =, =) at :2356
2356            struct _EMFolderTreePrivate *priv = emft->priv;
(gdb) bt
#0   (=, =, =) at :2356
#1   in  (=, =, =) at :182
#2   in  () from
#3   in  () from
#4   in  () from
#5   in  ()
#6   in  ()
#7   in  ()
#8   in  ()
#9   in  () from
#10  in  () from
#11  in  ()
#12  in  () from
Previous frame inner to this frame (corrupt stack?)
[/code]

What can be reason for this?

gcc 3.4.1
gdb 6.1.1
glibc 2.3.3

_______________________________________________
evolution-hackers maillist  -  evolution-hackers lists ximian com
http://lists.ximian.com/mailman/listinfo/evolution-hackers


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]