From patchwork Tue Jun 10 08:53:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Brobecker X-Patchwork-Id: 1412 Received: (qmail 8233 invoked by alias); 10 Jun 2014 08:53:14 -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 8169 invoked by uid 89); 10 Jun 2014 08:53:13 -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, 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; Tue, 10 Jun 2014 08:53:11 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 64DAD11615E for ; Tue, 10 Jun 2014 04:53:09 -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 BxRZz932jcTU for ; Tue, 10 Jun 2014 04:53:09 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 38299116152 for ; Tue, 10 Jun 2014 04:53:09 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 020F740E7F; Tue, 10 Jun 2014 10:53:07 +0200 (CEST) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [pushed] gdbtypes.resolve_dynamic_range: Add function description. Date: Tue, 10 Jun 2014 10:53:06 +0200 Message-Id: <1402390386-17344-1-git-send-email-brobecker@adacore.com> Hello, I noticed while reviewing a patch that I forgot to add a description to a new function I introduced. Bad bad bad, so fixed thusly. gdb/ChangeLog: * gdbtypes (resolve_dynamic_range): Add function description. Tested by simply rebuilding GDB. --- gdb/ChangeLog | 4 ++++ gdb/gdbtypes.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index efdf5b3..3097a31 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-06-10 Joel Brobecker + + * gdbtypes (resolve_dynamic_range): Add function description. + 2014-06-09 Gary Benson * common/signals.c (gdb_signal_from_host): Reorder to separate diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index bbb3fe9..d0c002f 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -1653,6 +1653,9 @@ is_dynamic_type (struct type *type) return 0; } +/* Given a dynamic range type (dyn_range_type), return a static version + of that type. */ + static struct type * resolve_dynamic_range (struct type *dyn_range_type) {