[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ddd doesn't see my source files....
From: |
Spundun Bhatt |
Subject: |
ddd doesn't see my source files.... |
Date: |
Tue, 31 Oct 2006 10:37:06 -0800 |
User-agent: |
Thunderbird 1.5.0.7 (Macintosh/20060909) |
Hi all... I am not able to use ddd on my fc5 machine...
when I open a simple test program with gdb I am able to run list main....
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host
libthread_db library "/lib/libthread_db.so.1".
(gdb) list main
1
2 #include<stdio.h>
3
4 int main(){
5 printf("Hello World!\n");
6 }
(gdb)
but when I open it using ddd, first of all the source code doesn't open
in a window automatically, and when I try manually... I get and error...
when I try to run list main through ddd console.. I get the following
error...
GNU DDD 3.3.11 (i386-redhat-linux-gnu), by Dorothea LUsing host
libthread_db library "/lib/libthread_db.so.1".
(gdb) list
6 }
(gdb) list main
Line 4 of "test.c" starts at address 0x8048384 <main> and ends at
0x8048395 <main+17>.
(gdb) list
4 int main(){
5 printf("Hello World!\n");
6 }
(gdb) list main
Line 4 of "test.c" starts at address 0x8048384 <main> and ends at
0x8048395 <main+17>.
(gdb) list
4 int main(){
5 printf("Hello World!\n");
6 }
(gdb)
Can anyone suggest how I should go about fixing this?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- ddd doesn't see my source files....,
Spundun Bhatt <=