From e62e21fd47826fd5501e7e06106c202763e7b260 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 15 Jan 2014 18:27:09 +0400 Subject: [PATCH] Add missing empty line after declaration in ada-typeprint.c:print_range. gdb/ChangeLog: * ada-typeprint.c (print_range): Add missing empty line after local declaration. --- gdb/ChangeLog | 5 +++++ gdb/ada-typeprint.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a96b3423ab1..721966d35a4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-01-27 Joel Brobecker + + * ada-typeprint.c (print_range): Add missing empty line + after local declaration. + 2014-01-27 Joel Brobecker * ada-valprint.c (print_optional_low_bound): Get index_type's diff --git a/gdb/ada-typeprint.c b/gdb/ada-typeprint.c index 03c345a07c1..f64ec4178be 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; -- 2.30.2