From patchwork Wed Sep 3 08:13:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Brobecker X-Patchwork-Id: 2636 Received: (qmail 22405 invoked by alias); 3 Sep 2014 08:13:46 -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 22384 invoked by uid 89); 3 Sep 2014 08:13:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 03 Sep 2014 08:13:44 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id D8CF51164AD for ; Wed, 3 Sep 2014 04:13:42 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KYPM8aX4kARn for ; Wed, 3 Sep 2014 04:13:42 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id AA0F11164AC for ; Wed, 3 Sep 2014 04:13:42 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id B347447596; Wed, 3 Sep 2014 10:13:44 +0200 (CEST) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [pushed] Fix dwarf2loc.h::dwarf2_evaluate_property function description. Date: Wed, 3 Sep 2014 10:13:42 +0200 Message-Id: <1409732022-26814-1-git-send-email-brobecker@adacore.com> Hello, A small discrepancy between the name of a parameter used in a function description and reality. Fixed thusly... gdb/ChangeLog: * dwarf2loc.h (dwarf2_evaluate_property): Minor function description fix. Tested by rebuilding GDB. Pushed (obvious). Thanks, diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4761df8..f4059d9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-09-03 Joel Brobecker + + * dwarf2loc.h (dwarf2_evaluate_property): Minor function + description fix. + 2014-09-02 Doug Evans * typeprint.c (find_global_typedef): Fix comment. diff --git a/gdb/dwarf2loc.h b/gdb/dwarf2loc.h index 04e2792..96925e4 100644 --- a/gdb/dwarf2loc.h +++ b/gdb/dwarf2loc.h @@ -90,8 +90,8 @@ struct value *dwarf2_evaluate_loc_desc (struct type *type, size_t size, struct dwarf2_per_cu_data *per_cu); -/* Converts a dynamic property into a static one. ADDR is the address of - the object currently being evaluated and might be nedded. +/* Converts a dynamic property into a static one. ADDRESS is the address + of the object currently being evaluated and might be nedded. Returns 1 if PROP could be converted and the static value is passed back into VALUE, otherwise returns 0. */