aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2014-08-14 15:57:00 -0700
committerJoel Brobecker <brobecker@adacore.com>2014-08-18 18:13:29 +0200
commit950c97d860f07274cad59b71c57704793e7f5a83 (patch)
tree3f81b5605cbf6490c7a0304a4c6f081033a3cdf2 /gdb/ChangeLog
parent3cdcd0ce16272ae8e8183699a341d081b6eb1b21 (diff)
downloadgdb-950c97d860f07274cad59b71c57704793e7f5a83.zip
gdb-950c97d860f07274cad59b71c57704793e7f5a83.tar.gz
gdb-950c97d860f07274cad59b71c57704793e7f5a83.tar.bz2
[Ada] "ptype" of array where bound value uses DW_OP_push_object_address
Consider an Ada array type where the DWARF debugging info for at least one of the bounds involves an expression containing a DW_OP_push_object_address operation. Trying to "ptype" that type currently yields: (gdb) ptype foo.array_type type = array (Location address is not set. This patch improves ada-typeprint by adding handling of the situation where an array range type has dynamic bounds. In that case, it prints the array bounds using Ada's typical syntax for unbounded ranges "<>": (gdb) ptype array_type type = array (<>) of integer gdb/ChangeLog: * ada-typeprint.c (type_is_full_subrange_of_target_type): Return 0 if TYPE is dynamic. (print_range): Add handling of dynamic ranges.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1d35ac3..c14fd5c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2014-08-18 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-typeprint.c (type_is_full_subrange_of_target_type):
+ Return 0 if TYPE is dynamic.
+ (print_range): Add handling of dynamic ranges.
+
2014-08-18 Keven Boell <keven.boell@intel.com>
Joel Brobecker <brobecker@adacore.com>