Skip to content

Commit 446eef6

Browse files
committed
gnatdbg.maps: update matcher for GNAT.Dynamic_HTable.Simple_HTable
It seems that with recent GNAT versions, there is no longer a typedef type layer around the table array type, so remove the corresponding matcher layer. TN: V605-001 Change-Id: I3c45ba2910a7a604042108ec0daf673f1361c7bc
1 parent 4cc9805 commit 446eef6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

gnatdbg/maps.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,7 @@ def to_string(self):
204204
Match.Struct(
205205
Match.Field(
206206
"table",
207-
Match.Typedef(
208-
Match.Array(element=Match.Typedef(Match.Pointer()))
209-
),
207+
Match.Array(element=Match.Typedef(Match.Pointer())),
210208
),
211209
Match.Field("iterator_index", Match.Integer()),
212210
Match.Field("iterator_ptr", Match.Pointer()),

0 commit comments

Comments
 (0)