From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23343 invoked by alias); 3 Dec 2013 19:47:14 -0000 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 Received: (qmail 23315 invoked by uid 89); 3 Dec 2013 19:47:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Dec 2013 19:47:13 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rB3Jl6dw003785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 3 Dec 2013 14:47:06 -0500 Received: from barimba.redhat.com (ovpn-113-124.phx2.redhat.com [10.3.113.124]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rB3Jl5IX006073; Tue, 3 Dec 2013 14:47:05 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 1/4] comment fixes Date: Tue, 03 Dec 2013 19:47:00 -0000 Message-Id: <1386100019-27379-2-git-send-email-tromey@redhat.com> In-Reply-To: <1386100019-27379-1-git-send-email-tromey@redhat.com> References: <1386100019-27379-1-git-send-email-tromey@redhat.com> X-SW-Source: 2013-12/txt/msg00095.txt.bz2 This fixes up a few mildly erroneous comments in probe.h. 2013-12-03 Tom Tromey * probe.h (parse_probes, find_probe_by_pc) (find_probes_in_objfile): Fix comments. --- gdb/ChangeLog | 5 +++++ gdb/probe.h | 13 ++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/gdb/probe.h b/gdb/probe.h index dd5387b..d116274 100644 --- a/gdb/probe.h +++ b/gdb/probe.h @@ -181,8 +181,7 @@ struct probe }; /* A helper for linespec that decodes a probe specification. It returns a - symtabs_and_lines object and updates *ARGPTR or throws an error. The - argument PTYPE specifies the type of the probe(s) to be parsed. */ + symtabs_and_lines object and updates *ARGPTR or throws an error. */ extern struct symtabs_and_lines parse_probes (char **argptr, struct linespec_result *canon); @@ -192,14 +191,14 @@ extern struct symtabs_and_lines parse_probes (char **argptr, extern void register_probe_ops (struct probe *probe); -/* Given a PC, find an associated probe with type PTYPE. If a probe is - found, return it. If no probe is found, return NULL. */ +/* Given a PC, find an associated probe. If a probe is found, return + it. If no probe is found, return NULL. */ extern struct probe *find_probe_by_pc (CORE_ADDR pc); -/* Search OBJFILE for a probe with the given PROVIDER, NAME and PTYPE. - Return a VEC of all probes that were found. If no matching probe - is found, return NULL. The caller must free the VEC. */ +/* Search OBJFILE for a probe with the given PROVIDER, NAME. Return a + VEC of all probes that were found. If no matching probe is found, + return NULL. The caller must free the VEC. */ extern VEC (probe_p) *find_probes_in_objfile (struct objfile *objfile, const char *provider, -- 1.8.1.4