From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15760 invoked by alias); 14 Jul 2005 15:15:37 -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 15746 invoked by uid 22791); 14 Jul 2005 15:15:33 -0000 Received: from pluton.ispras.ru (HELO pluton.ispras.ru) (83.149.199.253) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Thu, 14 Jul 2005 15:15:33 +0000 Received: (qmail 18834 invoked from network); 14 Jul 2005 15:12:00 -0000 Received: from unknown (HELO truba.ispras.ru) (83.149.198.41) by pluton.ispras.ru with SMTP; 14 Jul 2005 15:12:00 -0000 Received: from truba.ispras.ru (root@localhost) by truba.ispras.ru (8.13.1/8.13.1) with SMTP id j6EEsxXd011007 for ; Thu, 14 Jul 2005 18:54:59 +0400 Received: from ispserv.ispras.ru (ispserv [83.149.198.72]) by truba.ispras.ru (8.13.1/8.13.1) with ESMTP id j6EEsxwU011001 for ; Thu, 14 Jul 2005 18:54:59 +0400 Received: from ispserv.ispras.ru (localhost [127.0.0.1]) by ispserv.ispras.ru (8.12.8/8.12.8) with ESMTP id j6EF0kwg004104 for ; Thu, 14 Jul 2005 19:00:46 +0400 Received: from localhost (kostik@localhost) by ispserv.ispras.ru (8.12.8/8.12.8/Submit) with ESMTP id j6EF0kWU004100 for ; Thu, 14 Jul 2005 19:00:46 +0400 Date: Thu, 14 Jul 2005 15:15:00 -0000 From: Konstantin Karganov To: gdb@sources.redhat.com Subject: Incorrect breakpoint diagnostics in MI In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SpamTest-Version: SMTP-Filter Version 2.0.0 [0125], KAS/Release SMTP-Filter Version 2.0.0 [0125], KAS/Release X-Spamtest-Info: Pass through X-SW-Source: 2005-07/txt/msg00175.txt.bz2 Hello. Playing with MI breakpoint commands I found the following thing: Only "-break-after" and "-break-condition" correctly report the error if the breakpoint doesn't exist. While other commands report "^done". (gdb) -break-after 123 123 &"No breakpoint number 123.\n" ^error,msg="No breakpoint number 123." (gdb) -break-enable 123 ~"No breakpoint number 123.\n" ^done (gdb) -break-disable 123 ~"No breakpoint number 123.\n" ^done (gdb) -break-delete 123 ~"No breakpoint number 123.\n" ^done The diagnostics goes to console output, that is possibly not visible to FE user and the result itself is "ok". Is it a bug? Best reagards, Konstantin.