From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25518 invoked by alias); 17 Oct 2009 19:56:35 -0000 Received: (qmail 25510 invoked by uid 22791); 17 Oct 2009 19:56:35 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 17 Oct 2009 19:56:31 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0KRO00J00CIZ1O00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Sat, 17 Oct 2009 21:56:28 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.70.117.47]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KRO00HRBCQ36F40@a-mtaout22.012.net.il>; Sat, 17 Oct 2009 21:56:28 +0200 (IST) Date: Sat, 17 Oct 2009 19:56:00 -0000 From: Eli Zaretskii Subject: Re: [RFA, 2 of 3] save/restore process record, part 2 (core ops target) In-reply-to: <4AD9FA22.9050604@vmware.com> To: Michael Snyder Cc: gdb-patches@sourceware.org, teawater@gmail.com Reply-to: Eli Zaretskii Message-id: <83oco5hk3y.fsf@gnu.org> References: <4AD91CDB.5060002@vmware.com> <833a5iigxg.fsf@gnu.org> <4AD9FA22.9050604@vmware.com> 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: 2009-10/txt/msg00396.txt.bz2 > Date: Sat, 17 Oct 2009 10:08:50 -0700 > From: Michael Snyder > CC: "gdb-patches@sourceware.org" , > "teawater@gmail.com" > > This is a multi-part message in MIME format. > --------------040403070509020904040303 > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > Content-Transfer-Encoding: 7bit > > Eli Zaretskii wrote: > >> Date: Fri, 16 Oct 2009 18:24:43 -0700 > >> From: Michael Snyder > >> > >> + if (!tmp_to_resume) > >> + error (_("Process record can't get to_resume.")); > >> + if (!tmp_to_wait) > >> + error (_("Process record can't get to_wait.")); > >> + if (!tmp_to_store_registers) > >> + error (_("Process record can't get to_store_registers.")); > >> + if (!tmp_to_insert_breakpoint) > >> + error (_("Process record can't get to_insert_breakpoint.")); > >> + if (!tmp_to_remove_breakpoint) > >> + error (_("Process record can't get to_remove_breakpoint.")); > > > > Can we rephrase these to be more user-friendly? As written, this text > > is okay for debug printouts, but not for user-level error messages, > > IMO. (Yes, I know this text was in the old version, but still...) > > No problem, see revised diff (attached). However, in the unlikely > event that these occur, there won't be anything that the user can > do about it. Thanks, the revised text is fine with me.