Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Jaeckle Sascha <sascha.jaeckle@ntb.ch>
Cc: gdb@sourceware.cygnus.com
Subject: Re: gdbserver hangs while debugging threads
Date: Tue, 16 Oct 2001 22:10:00 -0000	[thread overview]
Message-ID: <20011017011038.B23345@nevyn.them.org> (raw)
In-Reply-To: <3BCD1075.3050405@ntb.ch>

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


      reply	other threads:[~2001-10-16 22:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-16 22:00 Jaeckle Sascha
2001-10-16 22:10 ` 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=20011017011038.B23345@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb@sourceware.cygnus.com \
    --cc=sascha.jaeckle@ntb.ch \
    /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