This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ARM Remote GDB 6.0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]