From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32148 invoked by alias); 8 Sep 2004 14:12:17 -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 32124 invoked from network); 8 Sep 2004 14:12:16 -0000 Received: from unknown (HELO smtp.hispeed.ch) (62.2.95.247) by sourceware.org with SMTP; 8 Sep 2004 14:12:16 -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 i88ECFlG007382 for ; Wed, 8 Sep 2004 16:12:15 +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 ; Wed, 08 Sep 2004 16:10:22 +0200 Message-Id: <5.2.0.9.1.20040908160444.01d4c920@NT_SERVER> X-Sender: cenedese@NT_SERVER (Unverified) Date: Wed, 08 Sep 2004 14:12:00 -0000 To: gdb@sources.redhat.com From: Fabian Cenedese Subject: Remote set thread breakpoint Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MDaemon-Deliver-To: gdb@sources.redhat.com X-Return-Path: cenedese@indel.ch X-SW-Source: 2004-09/txt/msg00066.txt.bz2 Hi I'm thinking about extending the remote protocol for thread breakpoints. The easiest solution would be to just add another data field to the Z commands, like: Ztype,addr,length,threadid If threadid is given, gdbserver can use it. If it's -1 or not present (as in the present implementation) it's a global breakpoint. But if this would cause incompatibilities with existing parsers it may be better to create a new command, even if it's just Z5 and the rest is the same. What would be better? Or is something like that already in the pipe? Thanks bye Fabi