From: "renc stone" <renwei@huawei.com>
To: <gcc@gnu.org>
Cc: <linux-mips@oss.sgi.com>
Subject: recent gdb add-symbol-file problem?
Date: Mon, 24 Sep 2001 02:17:00 -0000 [thread overview]
Message-ID: <013701c144d9$af44d3c0$361e690a@huawei.com> (raw)
hi ,
I use gdb 20010919 source form sources.redhat.com,
target mipsel, host i386 box.
When I want to use this to debug some module of linux-mips kernel ,
trouble comes:
When I use the add-symbol-file command to add the symbols of module,
add-symbol-file mymodule.o 0xc001e060
gdb echos no problem,
but it seems to be confused:
the command
b my_func1
b my_func2
b my_func3
all show the same address, all the functions starts from ONE place?
I checked the address, it's the text section start address of this module.
Can't the gdb correctly read the elf file of mipsel ?
Any ideas? Or anyone who have done this please tell me how to get through
it .
next reply other threads:[~2001-09-24 2:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-24 2:17 renc stone [this message]
2001-09-27 5:40 ` Alexandre Oliva
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='013701c144d9$af44d3c0$361e690a@huawei.com' \
--to=renwei@huawei.com \
--cc=gcc@gnu.org \
--cc=linux-mips@oss.sgi.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).