From: "Monika Chaddha" <monika@acmet.com>
To: "'murugesan'" <mukeshgct@hotpop.com>
Cc: <gdb@sources.redhat.com>
Subject: RE: (gdb) list Can't find a default source file
Date: Wed, 14 Jul 2004 15:04:00 -0000 [thread overview]
Message-ID: <00ab01c4699a$8f13b510$5100a8c0@monika> (raw)
In-Reply-To: <0c5001c46995$7a075140$2b0110ac@munco>
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
next prev parent reply other threads:[~2004-07-14 12:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-14 11:12 Debug a cross-compiled binary using GDB !! karthik bala guru
2004-07-14 11:27 ` Dave Korn
2004-07-16 9:04 ` karthik bala guru
2004-07-16 9:04 ` Dave Korn
2004-07-14 12:22 ` (gdb) list Can't find a default source file murugesan
2004-07-14 15:04 ` Monika Chaddha [this message]
2004-07-14 17:47 Michael Elizabeth Chastain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='00ab01c4699a$8f13b510$5100a8c0@monika' \
--to=monika@acmet.com \
--cc=gdb@sources.redhat.com \
--cc=mukeshgct@hotpop.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox