On Wednesday 06 January 2010 13:49:39 Dimitris Karampatsis wrote:
Hello,
I ‘ve tried to use the latest OpenBSC code with a nanoBTS at 850 MHz.
Can anyone help why the debugger hangs or recommend a debugger that will work with this code?
Bugs... Bugs... Bugs... libdbi is doing something weird with threads that freak out gdb... I did not have a the time to look into GDB to understand this.
Your options are:
1.) Use coredumps
# enabling core dumps ulimit -c unlimited ./bsc_hack...
after crashing you have a "core" file... (or use ulimit -c 9999999, for another set of Bash bugs)
# using a core dump gdb ./bsc_hack core bt
2.) Attach to the app after it has been started.
z.