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]

(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]