From: Buday Gergely <gergoe@math.bme.hu>
To: gdb@sources.redhat.com
Subject: Cannot find bounds of current function
Date: Mon, 25 Jul 2005 13:39:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.60.0507251528150.1709@csusza.math.bme.hu> (raw)
Hi,
I'm to use remote debugging via gdbserver on my Ubuntu linux box.
I've compiled my program with the -g gcc option. Then started
$ gdbserver host:10000 a.out
From the same machine I started gdb and told her
(gdb) target remote localhost:10000
Remote debugging using localhost:10000
0xb7febc20 in ?? ()
(gdb) n
Cannot find bounds of current function
I've googled a bit and found that I should use add-symbol-file at the gdb
client. I've used an object file with debug information to load (not sure
about this one) but was totally inept to figure out what address should I
give as a second argument. Do you have any hint where I can get a proper
address from? Or, any advice how should I set up my remote debugging
session?
- Gergely
next reply other threads:[~2005-07-25 13:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-25 13:39 Buday Gergely [this message]
2005-07-25 13:58 ` Daniel Jacobowitz
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=Pine.LNX.4.60.0507251528150.1709@csusza.math.bme.hu \
--to=gergoe@math.bme.hu \
--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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).