From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13570 invoked by alias); 5 Dec 2003 07:03:02 -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 13533 invoked from network); 5 Dec 2003 07:02:59 -0000 Received: from unknown (HELO ngate.noida.hcltech.com) (202.54.110.230) by sources.redhat.com with SMTP; 5 Dec 2003 07:02:59 -0000 Received: from exch-01.noida.hcltech.com (exch-01 [204.160.254.29]) by ngate.noida.hcltech.com (8.12.8/8.12.8) with ESMTP id hB57eKwa010844; Fri, 5 Dec 2003 13:10:22 +0530 Received: by EXCH-01 with Internet Mail Service (5.5.2653.19) id ; Fri, 5 Dec 2003 12:35:53 +0530 Message-ID: <1B3885BC15C7024C845AAC78314766C5015AFE9B@EXCH-01> From: "Manoj Verma, Noida" To: gdb@sources.redhat.com Cc: Mark Salter , Ramana Radhakrishnan Subject: break point command Z0 not supported Date: Fri, 05 Dec 2003 07:03:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2003-12/txt/msg00103.txt.bz2 Hi, I am doing remote debugging using GDB server over ethernet. Both host and target are i386-linux machines. I am debugging a simple 'Hello World' application. On the Gdb client side: (gdb) break main (gdb) set debug remote 1 (gdb) continue I see the following packet transaction (excerpt): ######################################################################## (gdb) c Continuing. Sending packet: $Z0,4000acb0,1#2d...Ack Packet received: Packet Z0 (software-breakpoint) is NOT supported Sending packet: $m4000acb0,1#e4...Ack Packet received: 55 Sending packet: $M4000acb0,1:cc#c4...Ack Packet received: OK Sending packet: $m8048338,1#3c...Ack Packet received: 83 Sending packet: $M8048338,1:cc#1c...Ack Packet received: OK ... ... ... Sending packet: $M4000acb0,1:55#68...Ack Packet received: OK Sending packet: $M8048338,1:83#c1...Ack Packet received: OK ######################################################################## My questions are: 1) What does it mean by 'software-breakpoint is NOT supported'? 2) The gdb is reading data at some particular location (here 4000acb0 & 8048338)and inserting "cc" at that address. And at the end of 'continue' response it replaces back the original data at that particular address. Is this the standard way of GDB functioning? Kindly clarify.. Thanks..