From: Wolfgang Denk <wd@denx.de>
To: cjohnson@gcctech.com
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: gdb problems
Date: Tue, 27 Jan 2004 18:13:56 +0100 [thread overview]
Message-ID: <20040127171401.93025C108D@atlas.denx.de> (raw)
In-Reply-To: Your message of "Tue, 27 Jan 2004 11:48:31 EST." <4016965F.5060706@gcctech.com>
In message <4016965F.5060706@gcctech.com> you wrote:
>
> Problem #1: When I start host side gdb, I get the message:
> warning: unable to find dynamic linker breakpoint function
> GDB will be unable to debug shared library initializers
> and track explicitly loaded dynamic code
You missed to set solib-absolute-prefix - see
http://www.denx.de/twiki/bin/view/DULG/DebuggingApplication#Section_9.5.2.
> The program starts and breakpoint don't work.
>
> Problem #2: (Maybe related?) on the target side gdbserver, after
> starting things with "c" on the host side, this message appears:
> gdb: error initializing thread_db library.
> gdb: error initializing thread_db library.
>
> Yes, twice.
Well, guess what that means?
> Why is gdbserver on the target having trouble? I see I have correctly
> delivered the thread_db library in /lib on the target, so what gives?
Probably you have other problems with your build of GDB / gdbserver.
We had to fix a couple of problems to get thread support working.
> Any help or guidance would be greatly appreciated. I build my toolchain
> with crosstools.
Feel free to try out the GDB / gdbserver that come with the ELDK.
Best regards,
Wolfgang Denk
--
See us @ Embedded World, Nuremberg, Feb 17 - 19, Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
The moral of the story is: "Don't stop to tighten your shoe laces
during the Olympics 100m finals".
- Kevin Jones in <DEJo68.K1t@bri.hp.com>
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2004-01-27 17:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-27 16:48 gdb problems Christopher R. Johnson
2004-01-27 17:13 ` Christopher R. Johnson
2004-01-27 17:13 ` Wolfgang Denk [this message]
[not found] <000701c0d99b$357cbf20$3196143e@jocke>
2001-05-10 22:09 ` Wolfgang Denk
2001-05-11 10:25 ` Joakim Tjernlund
-- strict thread matches above, loose matches on Subject: below --
2001-05-10 17:19 Joakim Tjernlund
2001-05-10 17:40 ` Wolfgang Denk
2001-05-10 18:22 ` Scott Anderson
2001-05-11 10:23 ` Joakim Tjernlund
2001-05-11 15:38 ` Joakim Tjernlund
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=20040127171401.93025C108D@atlas.denx.de \
--to=wd@denx.de \
--cc=cjohnson@gcctech.com \
--cc=linuxppc-dev@lists.linuxppc.org \
/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 NNTP newsgroup(s).