From: Daniel Jacobowitz <drow@mvista.com>
To: gdb@sources.redhat.com
Subject: Re: ARM Remote GDB 6.0
Date: Wed, 05 Nov 2003 21:32:00 -0000 [thread overview]
Message-ID: <20031105213200.GA7390@nevyn.them.org> (raw)
In-Reply-To: <OFDB3E3332.ADCC3C30-ON80256DD5.00645B84-80256DD5.006B204F@cambridge.arm.com>
On Wed, Nov 05, 2003 at 07:30:05PM +0000, Chris.Pedley@arm.com wrote:
> I've just given remote debugging a go with GDB 6.0 in the hope that
> multi-threaded remote debugging might now work. I still can't get it to
> work. I've configured gdb with:
> configure --host=i686-linux --build=i686-linux --target=arm-linux
>
> gdbserver has been configured with:
> export CC=arm-linux-gcc
> configure arm-linux
>
> I get the following trying to run to a breakpoint on a thread called
> hello_world:
>
> GNU gdb 6.0
> Copyright 2003 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-linux --target=arm-linux"...
> Setting up the environment for debugging gdb.
> .gdbinit:5: Error in sourced command file:
> Function "internal_error" not defined.
> (gdb) target remote diana:2345
> Remote debugging using diana:2345
> 0x40001780 in ?? ()
> (gdb) break hello_world
> Breakpoint 1 at 0x85ec: file helloworld.c, line 7.
> (gdb) cont
> Continuing.
>
> Program received signal SIG32, Real-time event 32.
> 0x400a4bfc in ?? ()
Please read the archives of this list for more information on what
you're supposed to do to set up remote thread debugging. You haven't
told GDB where your libraries are.
> Most annoyingly of all though, when I quit gdb, gdbserver on the target
> side logs me out!
I _think_ I fixed this in CVS after 6.0. I don't remember what the
problem was, though, so I'm not sure.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
prev parent reply other threads:[~2003-11-05 21:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-05 19:30 Chris.Pedley
2003-11-05 19:38 ` Richard Earnshaw
2003-11-05 21:32 ` Daniel Jacobowitz [this message]
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=20031105213200.GA7390@nevyn.them.org \
--to=drow@mvista.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