aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-01-12 07:45:51 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-01-12 07:45:51 +0000
commit606b8d1a462b6583048ce58ddd8b116c1a8f8d7b (patch)
tree1d58d201a59d0574cc442e07327b02e94f27e297
parent99e5bff2f9e0ccdba7d78f431f177d8f83871ddd (diff)
downloadgdb-606b8d1a462b6583048ce58ddd8b116c1a8f8d7b.zip
gdb-606b8d1a462b6583048ce58ddd8b116c1a8f8d7b.tar.gz
gdb-606b8d1a462b6583048ce58ddd8b116c1a8f8d7b.tar.bz2
* ada-valprint.c (ada_print_floating): Remove trailing space.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ada-valprint.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 55b3ea4..e377ad2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2010-01-12 Joel Brobecker <brobecker@adacore.com>
+ * ada-valprint.c (ada_print_floating): Remove trailing space.
+
+2010-01-12 Joel Brobecker <brobecker@adacore.com>
+
Add support for DW_AT_GNAT_descriptive_type.
* gdbtypes.h (enum type_specific_kind): New enum.
(struct main_type) [type_specific_field]: New component.
diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c
index 1c8bfc6..6e112d6 100644
--- a/gdb/ada-valprint.c
+++ b/gdb/ada-valprint.c
@@ -332,7 +332,7 @@ ada_print_floating (const gdb_byte *valaddr, struct type *type,
len = strlen (result);
/* Modify for Ada rules. */
-
+
s = strstr (result, "inf");
if (s == NULL)
s = strstr (result, "Inf");