Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "murugesan" <mukeshgct@hotpop.com>
To: <gdb@sources.redhat.com>
Subject: (gdb) list Can't find a default source file
Date: Wed, 14 Jul 2004 12:22:00 -0000	[thread overview]
Message-ID: <0c5001c46995$7a075140$2b0110ac@munco> (raw)
In-Reply-To: <20040714090214.49090.qmail@web90108.mail.scd.yahoo.com>

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


  parent reply	other threads:[~2004-07-14 11:27 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 ` murugesan [this message]
2004-07-14 15:04   ` (gdb) list Can't find a default source file Monika Chaddha
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='0c5001c46995$7a075140$2b0110ac@munco' \
    --to=mukeshgct@hotpop.com \
    --cc=gdb@sources.redhat.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