From patchwork Sun Mar 1 22:30:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 5383 Received: (qmail 69261 invoked by alias); 1 Mar 2015 22:31:39 -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 69246 invoked by uid 89); 1 Mar 2015 22:31:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.6 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, KAM_FROM_URIBL_PCCC, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-pd0-f169.google.com Received: from mail-pd0-f169.google.com (HELO mail-pd0-f169.google.com) (209.85.192.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 01 Mar 2015 22:31:38 +0000 Received: by pdbft15 with SMTP id ft15so12348061pdb.11 for ; Sun, 01 Mar 2015 14:31:36 -0800 (PST) X-Received: by 10.66.219.130 with SMTP id po2mr41514615pac.98.1425249096220; Sun, 01 Mar 2015 14:31:36 -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 ob4sm10002248pdb.32.2015.03.01.14.31.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Mar 2015 14:31:35 -0800 (PST) From: Doug Evans To: gdb-patches@sourceware.org, eliz@gnu.org Subject: [PATCH] Fix syntax of file:function location Date: Sun, 01 Mar 2015 14:30:47 -0800 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. I happened to notice this while reviewing the explicit linespecs patch. 2015-03-01 Doug Evans * gdb.texinfo (Specify Location): Fix syntax of filename:function. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index e84a251..2f7ae2f 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -7611,7 +7611,7 @@ of a valid expression). In Pascal and Modula-2, this is This form specifies the address of the function's first instruction, before the stack frame and arguments have been set up. -@item '@var{filename}'::@var{funcaddr} +@item '@var{filename}':@var{funcaddr} Like @var{funcaddr} above, but also specifies the name of the source file explicitly. This is useful if the name of the function does not specify the function unambiguously, e.g., if there are several