From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15965 invoked by alias); 5 Dec 2003 12:51:29 -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 15958 invoked from network); 5 Dec 2003 12:51:28 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 5 Dec 2003 12:51:28 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id hB5CpS226424 for ; Fri, 5 Dec 2003 07:51:28 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id hB5CpS218386; Fri, 5 Dec 2003 07:51:28 -0500 Received: from deneb.localdomain (msalter.cipe.redhat.com [10.0.0.36]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id hB5CpRm5031789; Fri, 5 Dec 2003 07:51:28 -0500 Received: by deneb.localdomain (Postfix, from userid 500) id 380C57862D; Fri, 5 Dec 2003 07:51:27 -0500 (EST) From: Mark Salter To: manojv@noida.hcltech.com Cc: gdb@sources.redhat.com In-reply-to: <1B3885BC15C7024C845AAC78314766C501605F4B@EXCH-01> (manojv@noida.hcltech.com) Subject: Re: break point command Z0 not supported References: <1B3885BC15C7024C845AAC78314766C501605F4B@EXCH-01> Message-Id: <20031205125127.380C57862D@deneb.localdomain> Date: Fri, 05 Dec 2003 12:51:00 -0000 X-SW-Source: 2003-12/txt/msg00110.txt.bz2 >>>>> Manoj Verma, Noida writes: > Hi Nitin, > Your point is well understood. > But I have one concern, > 1) If I were to implement the GDB remote serial protocol and want to talk to > 'gdbserver', then is this the right way to go for implementing the breapoint > mechanism? Z0 is mostly an efficiency enhancement. With Z0, the remote stub saves the existing opcode and inserts the breakpoint opcode. This reduces traffic on the communication channel between stub and gdb. > 2) Is 'Z0' packet supported for any known target? ( The target I am using is > 'arm-linux') Almost all RedBoot ( http://ecos.sourceware.org/redboot/ ) supported targets use Z packets. --Mark