This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit/Ada] Add missing empty line after declaration in ada-typeprint.c:print_range.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 27 Jan 2014 08:20:59 +0400
- Subject: [commit/Ada] Add missing empty line after declaration in ada-typeprint.c:print_range.
- Authentication-results: sourceware.org; auth=none
Hello,
A small trivial change...
gdb/ChangeLog:
* ada-typeprint.c (print_range): Add missing empty line
after local declaration.
Pushed.
---
gdb/ChangeLog | 5 +++++
gdb/ada-typeprint.c | 1 +
2 files changed, 6 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a96b342..721966d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2014-01-27 Joel Brobecker <brobecker@adacore.com>
+ * ada-typeprint.c (print_range): Add missing empty line
+ after local declaration.
+
+2014-01-27 Joel Brobecker <brobecker@adacore.com>
+
* ada-valprint.c (print_optional_low_bound): Get index_type's
target type for as long as it is a TYPE_CODE_RANGE.
diff --git a/gdb/ada-typeprint.c b/gdb/ada-typeprint.c
index 03c345a..f64ec41 100644
--- a/gdb/ada-typeprint.c
+++ b/gdb/ada-typeprint.c
@@ -131,6 +131,7 @@ print_range (struct type *type, struct ui_file *stream)
case TYPE_CODE_ENUM:
{
struct type *target_type;
+
target_type = TYPE_TARGET_TYPE (type);
if (target_type == NULL)
target_type = type;
--
1.8.3.2