This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: arm-gdbserver support thread debug?
On Fri, Feb 14, 2003 at 02:18:43PM +0800, Kenny Yu wrote:
> Hi,
>
> Following may be helpful:
> ----------------------------------------------
> Host>gdb -v
> GNU gdb 5.1
Use a recent version, please. In my message below I suggested 5.3.
> Copyright 2001 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=armv5tel-hardhat-linux".
>
> Host>gdb myelf.out
> (gdb) target remote 192.168.1.2:2345
> (gdb) c
> .... going well
> ^C
> (gdb) info thread
> warning: RMT ERROR : failed to get remote thread list
>
> (gdb)info threads
> warning: RMT ERROR : failed to get remote thread list
> -----------------------------------------------
>
> So I was using gdb5.1 and "info thread/info threads" get no positive
> feedback.
>
> Any ideas?
>
> Best regards,
>
> Kenny
>
>
> Daniel Jacobowitz wrote:
>
> >On Thu, Feb 13, 2003 at 11:59:51AM +0800, Yu kenny-a18604 wrote:
> >
> >
> >>Hi, folks:
> >>
> >>Here I am going on an xscale board debug with my application running
> >>in ArmLinux. My program is thread one. But with gdbserver, I got a
> >>response from host-gdb that "don't support thread debug". How to
> >>enable thread debug on-board by GDB? Or definitely armgdbserver never
> >>promise thread debug?
> >>
> >>If it' can be capable of thread debug, how to do it? Please show me or
> >>give a URL for reference.
> >>
> >>
> >
> >When reporting a problem, you need to always provide exact error
> >messages and the exact things you did to get there. I don't know of
> >anything that produces that message.
> >
> >In GDB 5.3 thread debug should work.
> >
> >
> >
>
>
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer