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]

Re: gdbserver hangs while debugging threads


On Wed, Oct 17, 2001 at 07:00:37AM +0200, Jaeckle Sascha wrote:
> GNU gdb 2001-10-09-cvs (MI_OUT)
> 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=powerpc-linux".
> 
> (gdb) target remote 146.136.4.201:2345
> 
> Remote debugging using 146.136.4.201:2345
> Remote packet too long:
> 000000b27ffffb60c0272000fffffffc000000087ffffb8800000008800000007fffffff10204960000000007ffffb6055ff9f331020c16000ff3c00007fffa30000000000000001007fff00ffffffff00fede8c0000000000fafc001022903c102192dc10054e24000000027ffffd3810247fc0101db7a01020485c7ffffb6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100d792c0000d03245ff9f33100d72901001e7cce000a47fc0170000000000b2000000000000000
> 0x100d792c in __syscall_rt_sigsuspend () at cni.h:106
> 106         { _Jv_MonitorExit (obj); }
> 
> Did anybody have the same problem? What I'm doing wrong?
> C and C++ Sources are working fine.

Well, first of all, with current CVS sources you should not be getting
'packet too long'.  Is the gdbserver binary built from the same
sources?

Second, gdbserver simply does not support threads.  I believe patches
for this should be materializing soon (I hope...).

-- 
Daniel Jacobowitz                           Carnegie Mellon University
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]