Sorry, forwarding to the list also.
---------- Forwarded message ----------
From: Akos Putz <[EMAIL PROTECTED]>
Date: Oct 3, 2007 3:53 PM
Subject: Re: Debugging the browser
To: Eero Tamminen <[EMAIL PROTECTED]>
Hello,
thanks for your quick reply!
On 10/3/07, Eero Tamminen <[EMAIL PROTECTED]> wrote:
> > (no debugging symbols found)
>
> You need debug symbols for everything, otherwise Gdb shows wrong
> function names (without information about static functions, it shows
> name of the "nearest" exported function) and cannot backtrace
> stacktraces.
>
>
> > WARNING: osso_application_set_exit_cb() is obsolete and a no-op.
> > [New Thread 32769 (LWP 2621)]
> > [New Thread 16386 (LWP 2622)]
> > [Thread 16386 (LWP 2622) exited]
> > Cannot find thread 16386: invalid thread handle
>
> Especially C/thread library debug symbols...
I have ATM the following dbg packages installed:
ii libc6-dbg 2.3.5cs2005q3.2-5.osso12
ii libosso1-dbg 1.20-1
Haven't really bothered installing something else, because I'm
interested mainly in debugging my own code, which has debugging infos
anyway. What else do you suggest?
> > (gdb) q
> > The program is running. Exit anyway? (y or n) y
> >
> > ...and at this point, gdb freezes.
>
> If you try to strace the frozen Gdb process, what that reports?
Well, not too much, it's waiting (the SIGINTs are ctrl+c keypresses from me)
wait4(2345, NULL, 0, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGINT (Interrupt) @ 0 (0) ---
rt_sigaction(SIGINT, {0xcdb14, [INT], SA_RESTART|0x4000000}, {0xcdb14,
[INT], SA_RESTART|0x4000000}, 8) = 0
sigreturn() = ? (mask now [])
wait4(2345, NULL, 0, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGINT (Interrupt) @ 0 (0) ---
rt_sigaction(SIGINT, {0xcdb14, [INT], SA_RESTART|0x4000000}, {0xcdb14,
[INT], SA_RESTART|0x4000000}, 8) = 0
sigreturn() = ? (mask now [])
wait4(2345, NULL, 0, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGINT (Interrupt) @ 0 (0) ---
rt_sigaction(SIGINT, {0xcdb14, [INT], SA_RESTART|0x4000000}, {0xcdb14,
[INT], SA_RESTART|0x4000000}, 8) = 0
sigreturn() = ? (mask now [])
wait4(2345, NULL, 0, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGINT (Interrupt) @ 0 (0) ---
rt_sigaction(SIGINT, {0xcdb14, [INT], SA_RESTART|0x4000000}, {0xcdb14,
[INT], SA_RESTART|0x4000000}, 8) = 0
sigreturn() = ? (mask now [])
wait4(2345, NULL, 0, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGINT (Interrupt) @ 0 (0) ---
rt_sigaction(SIGINT, {0xcdb14, [INT], SA_RESTART|0x4000000}, {0xcdb14,
[INT], SA_RESTART|0x4000000}, 8) = 0
sigreturn() = ? (mask now [])
wait4(2345, NULL, 0, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGINT (Interrupt) @ 0 (0) ---
rt_sigaction(SIGINT, {0xcdb14, [INT], SA_RESTART|0x4000000}, {0xcdb14,
[INT], SA_RESTART|0x4000000}, 8) = 0
sigreturn() = ? (mask now [])
wait4(2345,
--
Akos
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers