Skip to content

Commit

Permalink
Add dynamic arrays to the array view display in gdb
Browse files Browse the repository at this point in the history
  • Loading branch information
valignatev committed Jan 2, 2025
1 parent 7a36809 commit c33fbd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdb_helpers/python_custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def project_type_lookups(val):
return None
if type_tag == 'string':
return JaiStringPrinter(val)
if type_tag.startswith('[]'):
if type_tag.startswith(('[]', '[..]')):
return JaiArrayViewPrinter(val)

gdb.pretty_printers.append(project_type_lookups)

0 comments on commit c33fbd3

Please sign in to comment.