All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
gdb and shared object files
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login |
|
|
gdb and shared object files - Jan. 31, '06, 6:02:18 AM
|
|
|
asfoster
Posts: 32
Joined: Oct. 18, '05,
From: Lincolnshire UK
Status: offline
|
I am debugging some C code under Interix using gdb and need to step into some source that is part of a shared object (.so) file. However, I cannot get to see the code as I get the following message:
(gdb) l my_test_func
7 /tmp/cczLMK6t.s: No such file or directory.
in /tmp/cczLMK6t.s
Rather than taking me to the .c file (which I have forced to be in my gdb source-file-search-path) it looks for some temporary assember file. I have had this problem for some time but have now got to the point where I would really like to get it sorted out. I can work around this by rebuilding the .so as an archive (.a) and rebuilding the application but this is not ideal.
Also <Ctrl>C does not seem to work in gdb when running from an xterm which is a bit of a nuisance.
Does anyone have any suggestions
Thanks
_____________________________
Andy Foster
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|