diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-10-01 16:25:00 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-10-01 16:25:00 +0000 |
commit | 05e522ef517a67b2c47e04e7c11f7897c569dae6 (patch) | |
tree | a4504b832e83df2d0c0cbdaf601fe4fab0aac2a7 /gdb/ChangeLog | |
parent | 49a45ecfd229b6ed70c9c816e143995e8d9e0bb2 (diff) | |
download | gdb-05e522ef517a67b2c47e04e7c11f7897c569dae6.zip gdb-05e522ef517a67b2c47e04e7c11f7897c569dae6.tar.gz gdb-05e522ef517a67b2c47e04e7c11f7897c569dae6.tar.bz2 |
[Ada] array and bounds in fat pointer can be a stub
This patch adds handling of the case when a fat pointer has the
P_ARRAY and/or P_BOUNDS fields defined as a stub. In that case,
this stub needs to be resolved.
There are two issues:
. First, making sure that the resolution takes place itself.
That's the change to ada_check_typedef.
. Make sure that the type returned after resolution is not itself
a typedef. This is the change to ada_check_typedef.
gdb/ChangeLog (Jerome Guitton, Joel Brobecker):
* ada-lang.c (desc_bounds): Add handling of the case where
the P_BOUNDS field is a pointer to a stub.
(desc_data_target_type): Same for P_ARRAY field.
(ada_check_typedef): Strip the typedef layers from the type
found by ada_find_any_type.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3162717..fafee4b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2010-10-01 Joel Brobecker <brobecker@adacore.com> + * ada-lang.c (desc_bounds): Add handling of the case where + the P_BOUNDS field is a pointer to a stub. + (desc_data_target_type): Same for P_ARRAY field. + (ada_check_typedef): Strip the typedef layers from the type + found by ada_find_any_type. + +2010-10-01 Joel Brobecker <brobecker@adacore.com> + * sparc-tdep.c (sparc32_frame_align): New function. (sparc32_gdbarch_init): Set the frame_align gdbarch method. * sparc64-tdep.c (sparc64_frame_align): New function. |