Date: Tue, 12 Sep 2006 23:43:21 +0200
Thomas Girard <[EMAIL PROTECTED]> wrote:
> Okay, thanks.
You are welcome.
--- snip ---
>
> On the binary built with debugging symbols, that would give something
> like:
>
> (gdb) b main.c:398
> Breakpoint 1 at ...: file main.c, line 398.
> (gdb) r
> Breakpoint 1, ...
> (gdb) print style_ptr->font
> <This value should not be NULL>
Right, is not null.
(gdb) print style_ptr->font
$1 = (GdkFont *) 0x7083d0
> (gdb) b prefop.c:169
> Breakpoint 2 at ...: file prefop.c, line 169.
> (gdb) cont
> Breakpoint 2, ...
> (gdb) print style_ptr->font
> <What does it read?>
Not null.
(gdb) print style_ptr->font
$2 = (GdkFont *) 0x7083d0
> (gdb) next
> (gdb) print style_ptr->font
> <Is it NULL now?>
Yes,
(gdb) next
170 style_ptr = styles_list->edit_text_background;
(gdb) print style_ptr->font
$3 = (GdkFont *) 0x0
--
bye,
- Nacho
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]