From patchwork Fri Feb 6 07:33:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 4937 Received: (qmail 20576 invoked by alias); 6 Feb 2015 07:33:58 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 20562 invoked by uid 89); 6 Feb 2015 07:33:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f174.google.com Received: from mail-pd0-f174.google.com (HELO mail-pd0-f174.google.com) (209.85.192.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 06 Feb 2015 07:33:56 +0000 Received: by pdbnh10 with SMTP id nh10so10509615pdb.12 for ; Thu, 05 Feb 2015 23:33:55 -0800 (PST) X-Received: by 10.66.119.193 with SMTP id kw1mr3715179pab.64.1423208034927; Thu, 05 Feb 2015 23:33:54 -0800 (PST) Received: from seba.sebabeach.org.gmail.com (173-13-178-53-sfba.hfc.comcastbusiness.net. [173.13.178.53]) by mx.google.com with ESMTPSA id je2sm316981pbd.44.2015.02.05.23.33.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Feb 2015 23:33:54 -0800 (PST) From: Doug Evans To: gdb-patches@sourceware.org Subject: [COMMITTED PATCH] guile/scm-frame.c: Fix spelling errors in a comment. Date: Thu, 05 Feb 2015 23:33:08 -0800 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. fyi, committed. 2015-02-05 Doug Evans * guile/scm-frame.c: Fix spelling errors in a comment. diff --git a/gdb/guile/scm-frame.c b/gdb/guile/scm-frame.c index 157d20c..a30c093 100644 --- a/gdb/guile/scm-frame.c +++ b/gdb/guile/scm-frame.c @@ -300,13 +300,14 @@ frscm_get_frame_arg_unsafe (SCM self, int arg_pos, const char *func_name) Thus code working with frames has to handle both Scheme errors (e.g., the object is not a frame) and GDB errors (e.g., the frame lookup failed). - To help keep things clear we split gdbscm_scm_to_frame into two: + To help keep things clear we split what would be gdbscm_scm_to_frame + into two: - gdbscm_get_frame_smob_arg_unsafe + frscm_get_frame_smob_arg_unsafe - throws a Scheme error if object is not a frame, or if the inferior is gone or is no longer current - gdbscm_frame_smob_to_frame + frscm_frame_smob_to_frame - may throw a gdb error if the conversion fails - it's not clear when it will and won't throw a GDB error, but for robustness' sake we assume that whenever we call out to GDB