From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14065 invoked by alias); 24 Aug 2002 09:17:02 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14055 invoked from network); 24 Aug 2002 09:17:00 -0000 Received: from unknown (HELO frigg.inter.net.il) (192.114.186.16) by sources.redhat.com with SMTP; 24 Aug 2002 09:17:00 -0000 Received: from Zaretsky ([80.230.2.40]) by frigg.inter.net.il (Mirapoint Messaging Server MOS 3.1.0.58-GA) with ESMTP id BRR82975; Sat, 24 Aug 2002 12:16:46 +0300 (IDT) Date: Sat, 24 Aug 2002 02:18:00 -0000 From: "Eli Zaretskii" To: graces@redhat.com Message-Id: <3405-Sat24Aug2002121913+0300-eliz@is.elta.co.il> CC: msnyder@redhat.com, gdb-patches@sources.redhat.com In-reply-to: <20020823115315.A13713@tomago.toronto.redhat.com> (message from Grace Sainsbury on Fri, 23 Aug 2002 11:53:15 -0400) Subject: Re: breakpoint error messages Reply-to: Eli Zaretskii References: <20020821142627.A10117@tomago.toronto.redhat.com> <3D655542.AF3065A0@redhat.com> <20020822173220.A12466@tomago.toronto.redhat.com> <3D656355.E623B495@redhat.com> <20020823115315.A13713@tomago.toronto.redhat.com> X-SW-Source: 2002-08/txt/msg00789.txt.bz2 > Date: Fri, 23 Aug 2002 11:53:15 -0400 > From: Grace Sainsbury > > The memory_error is only relevant for memory > breakpoints, and only insert_breakpoint returns an errno (the hardware > and catcpoint functions return -1 on error)-- so the call to strerror > prints the error when it is relevant, and so replaces print_sys_errmsg. Do we really want to carve in stone the current semi-buggy behavior of -1 being returned in some of these cases? What if hardware break/watchpoints and catchpoints code is fixed to return a meaningful errno?