From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7531 invoked by alias); 27 Aug 2004 07:37:55 -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 7523 invoked from network); 27 Aug 2004 07:37:54 -0000 Received: from unknown (HELO smtp.hispeed.ch) (62.2.95.247) by sourceware.org with SMTP; 27 Aug 2004 07:37:54 -0000 Received: from indel.ch (217-162-27-127.dclient.hispeed.ch [217.162.27.127]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with SMTP id i7R7brIu027800 for ; Fri, 27 Aug 2004 09:37:53 +0200 Received: from fabi.indel.ch [192.168.1.19] by indel.ch [127.0.0.1] with SMTP (MDaemon.v2.7.SP5.R) for ; Fri, 27 Aug 2004 09:37:39 +0200 Message-Id: <5.2.0.9.1.20040827092847.01d1c1b8@NT_SERVER> X-Sender: cenedese@NT_SERVER (Unverified) Date: Fri, 27 Aug 2004 07:37:00 -0000 To: gdb@sources.redhat.com From: Fabian Cenedese Subject: Re: Thread-specific breakpoints In-Reply-To: <6.0.0.22.2.20040826155415.04890f40@mail.netburner.com> References: <5.2.0.9.1.20040818135647.01d11170@NT_SERVER> <5.2.0.9.1.20040818135647.01d11170@NT_SERVER> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MDaemon-Deliver-To: gdb@sources.redhat.com X-Return-Path: cenedese@indel.ch X-SW-Source: 2004-08/txt/msg00412.txt.bz2 >The remote protocol has... > >Hct=85 -- set thread > >Set thread for subsequent operations (m, M, g, G, et.al.). c depends on th= e operation to be performed: it should be c for step and continue operation= s, g for other operations. The thread designator t=85 may be -1, meaning al= l the threads, a thread number, or zero which means pick any thread. That might work but also means a lot of overhead as this is a complete thread switch which will read all registers and other thread specific info. It might be necessary to do the breakpoint handling in another program and just use the symbol lookup of gdb. But I'll see when I get there. Thanks bye Fabi