From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11897 invoked by alias); 4 Apr 2008 15:17:19 -0000 Received: (qmail 11885 invoked by uid 22791); 4 Apr 2008 15:17:17 -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, 04 Apr 2008 15:16:58 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Jhnev-0000hU-5t for gdb-patches@sources.redhat.com; Fri, 04 Apr 2008 15:16:53 +0000 Received: from 78.158.192.230 ([78.158.192.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Apr 2008 15:16:53 +0000 Received: from ghost by 78.158.192.230 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Apr 2008 15:16:53 +0000 To: gdb-patches@sources.redhat.com From: Vladimir Prus Subject: Re: multiple breakpoint - is "Cannot insert breakpoint <..>. Error accessing memory address <..>" correct for location? Date: Fri, 04 Apr 2008 16:01:00 -0000 Message-ID: References: <47F64410.5000907@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-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00101.txt.bz2 Bogdan Slusarczyk wrote: > Hi, I have situation when gdb cannot set multiple breakpoint at specific > location. Suppose I have breakpoint with number 1, which has 3 > locations, but one of them cannot be set. Gdb returns: "Cannot insert > breakpoint 1. Error accessing memory address 0x111111.". Why does this error happen? > I'm wondering > that this message is ok, because it's not true that whole breakpoint > cannot be set. Question is: will message "Cannot insert breakpoint 1.1" > be ok? or something similar, maybe: "Cannot insert location 1.1"? This (last) message of course is nicer. The question is how it should work via MI? If -break-insert as the whole is deemed done, then user might never know that some of the locations cannot be inserted. - Volodya