From: Jon Ringle <jon@ringle.org>
To: gdb@sourceware.org
Subject: gdbserver-6.6 threading support
Date: Tue, 06 Mar 2007 16:59:00 -0000 [thread overview]
Message-ID: <45ED9DDD.3040202@ringle.org> (raw)
Hello all,
I found that during my testing of gdbserver and signals that I was not
actually varying the gdbserver used on the target. I was always using
gdbserver-6.5 and never gdbserver-6.6. When I actually did use
gdbserver-6.6 or gdbserver-6.6.50.20070306-cvs, I get the following from
my crossgdb:
ringlej@crossdev:~/src/gdbsignals-test$
~/build/armeb-linux-gdb-6.6/gdb/gdb ./gdbsignal-test
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu
--target=armeb-linux"...
(gdb) handle SIGUSR2 nostop noprint
Signal Stop Print Pass to program Description
SIGUSR2 No No Yes User defined signal 2
(gdb) b 106
Breakpoint 1 at 0x8b1c: file gdbsignal-test.c, line 106.
(gdb) target remote 192.168.205.10:5555
Remote debugging using 192.168.205.10:5555
warning: Remote failure reply: E01
0x400009f0 in _start () from
/scratchbox/compilers/armeb-linux-uclibc/lib/ld-uClibc.so.0
(gdb) cont
Continuing.
Program received signal SIG32, Real-time event 32.
0x400849a4 in __rt_sigsuspend () from
/scratchbox/compilers/armeb-linux-uclibc/lib/libc.so.0
(gdb) show solib-absolute-prefix
Prefix for loading absolute shared library symbol files is
"/scratchbox/compilers/armeb-linux-uclibc".
From other mailing list threads that I had read this seem to imply that
there was some mismatch between my target's libpthread.so and
libthread_db.so and the one in my host's solib-absolute-prefix. I found
that the two sets matched. Further, if I rebuild gdbserver-6.5 and use
the rebuilt gdbserver-6.5, it once again works.
Jon
next reply other threads:[~2007-03-06 16:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-06 16:59 Jon Ringle [this message]
2007-03-06 17:09 ` Daniel Jacobowitz
2007-03-06 17:23 ` [SPAM] " Jon Ringle
2007-03-06 17:38 ` Daniel Jacobowitz
2007-03-06 17:52 ` Jon Ringle
2007-03-06 18:02 ` Jon Ringle
2007-03-06 18:17 ` Daniel Jacobowitz
2007-03-07 18:34 ` Nathan Sidwell
2007-03-06 18:26 ` Jon Ringle
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=45ED9DDD.3040202@ringle.org \
--to=jon@ringle.org \
--cc=gdb@sourceware.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