Reply
Thread Tools
Posts: 567 | Thanked: 2,965 times | Joined on Oct 2009
#1
If I do gdb --pid=blah then break on the function I am interested in and then open one of the failing web pages, gdb spits out
"Program terminated with signal SIGTRAP, Trace/breakpoint trap." and browserd terminates.

And I cant figure out how to stop browserd from auto-spawning so I can manually start it in GDB.

Anyone know of a solution or am I stuck with printf debugging?

I do have the relavent libnss3-dbg package installed (gdb seems to pick up the symbols as far as I can see) and the function I want to stop on is in libnss3.
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#2
gdb which version? did you try gdb from extras-devel?
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following User Says Thank You to freemangordon For This Useful Post:
Posts: 567 | Thanked: 2,965 times | Joined on Oct 2009
#3
GDB 7.3.1-debian from extras-devel doesn't help, same problem as before.
Need to figure out the proper way to get browserd into gdb (and not just browserd but the actual browserd process that is doing the SSL handshake and returning the error message)

That or I need to try printf debugging (which will be a pain due to how long it takes each time I need to (re)build microb-engine...
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:08.