From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3740 invoked by alias); 22 Feb 2008 12:24:46 -0000 Received: (qmail 3731 invoked by uid 22791); 22 Feb 2008 12:24:45 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 22 Feb 2008 12:24:25 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JSWwv-0006Fi-AG for gdb@sources.redhat.com; Fri, 22 Feb 2008 12:24:21 +0000 Received: from 77.246.241.246 ([77.246.241.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Feb 2008 12:24:21 +0000 Received: from ghost by 77.246.241.246 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Feb 2008 12:24:21 +0000 To: gdb@sources.redhat.com From: Vladimir Prus Subject: Re: Multiple breakpoints - few problems [MI commands, gdb6.7.50.20080221] Date: Fri, 22 Feb 2008 13:22:00 -0000 Message-ID: References: <47BEB1E2.5070309@op.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.5 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00182.txt.bz2 Bogdan Slusarczyk wrote: > Hi, I have few problems using breakpoints with MI commands, Well, MI does not currently explicitly support multiple locations breakpoint -- that is you cannot see the individual locations or operate on them. > maybe you can help me. > 1) to be sure: I can't delete sub-breakpoint, only disable it? Correct. > 2) sometimes gdb complains that can't set sub-breakpoint (Cannot insert > breakpoint . Error accessing memory address
.) This is not supposed to happen in the first place. Any ideas what causes this error? > I > want to disable such sub-breakpoint, but I can't because: > a) it's not sub-breakpoint id > b) I could use
to find sub-breakpoint, but it's impossible > because -break-list (or -break-info ) doesn't return any > information about sub-breakpoints. > Is it a bug or I missed something? How can I list sub-breakpoints? You cannot, in MI. Can you maybe provide a minimal self-contained example so that we can figure the cause of your original error (and maybe use it as testcase for making the error message more precise). - Volodya > > Best regards, > Bogdan