Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-12-2007, 03:47 PM   #1
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Rep: Reputation: 30
"No symbol table is loaded." when ddd is remote debugging with gdbserver

I want to use ddd for remote debugging with gdbserver.

I compile the program uintstr.cpp with "-g" option.

I start the program on the target.
$ gdbserver uintstr
Process uintstr created; pid = 8241

Then I start ddd on the host at the directory which has the source files.
$ ddd
(gdb) target remote uintstr

target display this message on the shell which mean the debug session is setup properly:
Remote debugging using

At the host, I do:
(gdb) b main
(gdb) No symbol table is loaded. Use the "file" command.

Why "No symbol table is loaded"?
My PATH environment variable contains the current directory.

(gdb) cont
Program exited normally.

target display this message:
Killing inferior

$ gdbserver uintstr_pause
Process uintstr_pause created; pid = 8223
Remote debugging using
sn 9001004 str 9001004

Child exited with retcode = 0

Child exited with status 0
GDBserver exiting

ddd version is 3.3.1 and gdb is 5.0rh-15.

Last edited by powah; 01-12-2007 at 03:54 PM.
Old 01-18-2008, 10:54 AM   #2
LQ Newbie
Registered: Jan 2008
Posts: 1

Rep: Reputation: 1
I came across the same problem...
First you have to load the symbols with:
(gdb) file uintstr

Good luck!
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DDD and "/sysdeps/i386/elf/start.S no such file..." problem vegetta Programming 3 03-25-2010 09:48 AM
Symbol-table for debugging while using make? JZL240I-U Programming 2 04-27-2006 05:17 AM
avgscan "relocation error" "undefined symbol: __dynamic_cast_2" Monster_user Linux - Software 0 02-22-2006 12:57 PM
gdbserver problem: no symbol table whepin Linux - Laptop and Netbook 0 06-24-2005 10:48 PM
what 's the difference between gdbserver and debugging stub? linuxpion Linux - General 0 03-07-2004 12:41 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration