From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18184 invoked by alias); 30 Aug 2006 13:40:54 -0000 Received: (qmail 18121 invoked by uid 22791); 30 Aug 2006 13:40:54 -0000 X-Spam-Check-By: sourceware.org Received: from mailgw4.ericsson.se (HELO mailgw4.ericsson.se) (193.180.251.62) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 30 Aug 2006 13:40:48 +0000 Received: from esealmw128.eemea.ericsson.se (unknown [153.88.254.121]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id C99EF8E0002 for ; Wed, 30 Aug 2006 15:40:22 +0200 (CEST) Received: from esealmw128.eemea.ericsson.se ([153.88.254.176]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Wed, 30 Aug 2006 15:40:22 +0200 Received: from esealmw104.eemea.ericsson.se ([153.88.200.67]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Wed, 30 Aug 2006 15:40:21 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Breakpoint Handling in GDB Date: Wed, 30 Aug 2006 13:40:00 -0000 Message-ID: <3DAB128F75626444BB9DEA00DC59AD5501B1F7A1@esealmw104.eemea.ericsson.se> In-Reply-To: <1156944608.3429.275.camel@crx549.cro.st.com> From: "Veenu Verma \(AS/EAB\)" To: X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00245.txt.bz2 Hello I was going through the gdb internals on software breakpoint handling and have a question regarding that. Gdb replaces the program instruction with a trap which means target does not have any control over setting a bp. What happens if the connection with the gdb breaks down ?=20 Does it mean that the illegal instruction won't be restored and the application will crash ? If that's the case, then how can it be handled ?=20 Thanx Veenu