From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6314 invoked by alias); 10 Sep 2004 12:09:00 -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 6276 invoked from network); 10 Sep 2004 12:08:57 -0000 Received: from unknown (HELO smtp.hispeed.ch) (62.2.95.247) by sourceware.org with SMTP; 10 Sep 2004 12:08:57 -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 i8AC8une014206 for ; Fri, 10 Sep 2004 14:08:56 +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, 10 Sep 2004 14:07:37 +0200 Message-Id: <5.2.0.9.1.20040910135924.01d27220@NT_SERVER> X-Sender: cenedese@NT_SERVER (Unverified) Date: Fri, 10 Sep 2004 12:09:00 -0000 To: gdb@sources.redhat.com From: Fabian Cenedese Subject: Auto removing BPs on stop 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/msg00079.txt.bz2 Hi Whenever the target stops gdb will remove all breakpoints from the target and set them again before stepping/continuing. What functionality in gdb depends on this? Backtrace? Breakpoint handling? In our multitasking system a thread can stop on a breakpoint while the others are still running, so the breakpoints are still useful and shouldn't be removed. What would break in gdb if I just removed those calls to unset/re-set the breakpoints? I know that the setting is partly necessary as new breakpoints aren't yet set. Thanks bye Fabi