Editing Documentation/Maemo 5 Developer Guide/Kernel and Debugging Guide/Maemo Debugging Guide
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
Warning: This page is 60 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 57: | Line 57: | ||
It is recommended to use the native gdb in the target, not the Scratchbox host gdb. | It is recommended to use the native gdb in the target, not the Scratchbox host gdb. | ||
- | When debugging threads in an application, gdb needs to be linked against the same thread library that the application is using. For this reason, the gdb provided in Scratchbox is not suitable for threads debugging, | + | When debugging threads in an application, gdb needs to be linked against the same thread library that the application is using. For this reason, the gdb provided in Scratchbox is not suitable for threads debugging, but the native gdb needs to be used instead. For instructions on how to start using the native gdb, see the next section. |
- | + | {{ambox|text=The above-mentioned problem can produce "warning: Cannot initialize thread debugging library: unknown thread_db error '22'" messages in gdb output, and info threads command in gdb shows nothing.}} | |
- | + | ||
- | in gdb output, | + | |
== Using Gdb Debugger == | == Using Gdb Debugger == |
Learn more about Contributing to the wiki.