From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18100 invoked by alias); 1 Nov 2002 16:36:49 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18017 invoked from network); 1 Nov 2002 16:36:48 -0000 Received: from unknown (HELO sccrmhc01.attbi.com) (204.127.202.61) by sources.redhat.com with SMTP; 1 Nov 2002 16:36:48 -0000 Received: from nkelseyhome ([12.235.58.117]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20021101163647.GZWB8743.sccrmhc01.attbi.com@nkelseyhome> for ; Fri, 1 Nov 2002 16:36:47 +0000 Message-ID: <007a01c281c4$d8beef00$0a00a8c0@nkelseyhome> From: "Nick Kelsey" To: References: <20021101013219.QDL1261.amsfep12-int.chello.nl@there> <20021101035218.GA14509@nevyn.them.org> <20021101133135.LDS1274.amsfep14-int.chello.nl@there> <3DC2967B.8050603@redhat.com> Subject: Re: why is gdb 5.2 so slow Date: Fri, 01 Nov 2002 08:36:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-SW-Source: 2002-11/txt/msg00007.txt.bz2 > Both. Things we do wrong: > - GDB can't handle being told that just one thread is stopped. If we > could, then we wouldn't have to stop all threads for shared library > events; there's a mutex in the system library so we don't even have to > worry about someone hitting the breakpoint. We could also use this to > save time on conditional breakpoints; if we aren't stopping, why stop > all other threads? > -- > Daniel Jacobowitz > MontaVista Software Debian GNU/Linux Developer We have exactly this problem at the moment - our system supports setting breakpoints that only stop specified threads, however GDB cannot use this support at the moment. If you have an interest for this support then I would be interested in your thoughts. Nick Nick Kelsey Senior Software Engineer Ubicom