This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: (gdb) list Can't find a default source file


Can u send u your sample test case in which u are facing problem?

It seems that gdb is searching file on some other path, pls try ddd as
gui , it will show msg like file does not found with path .

May be it can help u...

Regards
Monika

>-----Original Message-----
>From: gdb-owner@sources.redhat.com
[mailto:gdb-owner@sources.redhat.com] On
>Behalf Of murugesan
>Sent: Wednesday, July 14, 2004 4:55 PM
>To: gdb@sources.redhat.com
>Subject: (gdb) list Can't find a default source file
>
>Hello all,
>    I am using HP-UX 11.23 PA-RISC
>    ( wdb 4.5 )
>    when I execute
>    #gdb sample-client
>    (gdb) b main
>Breakpoint 1 at 0x4000000000004680
>(gdb) n
>Single stepping until exit from function main,
>which has no line number information.
>0x4000000000004720 in main+0xb8 ()
>(gdb) list
>Can't find a default source file
>
>
>I have compiled the program sample-client.c with -g option .
>The source file and the object file are in the current directory
>
>How can I resolve this issue ?
>
>
>Thanks in advance,
>Murugesan



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]