This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[pushed] gdbtypes.resolve_dynamic_range: Add function description.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 10 Jun 2014 10:53:06 +0200
- Subject: [pushed] gdbtypes.resolve_dynamic_range: Add function description.
- Authentication-results: sourceware.org; auth=none
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 <brobecker@adacore.com>
+
+ * gdbtypes (resolve_dynamic_range): Add function description.
+
2014-06-09 Gary Benson <gbenson@redhat.com>
* 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)
{
--
1.9.1