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

murugesan mukeshgct@hotpop.com
Wed Jul 14 12:22:00 GMT 2004


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



More information about the Gdb mailing list