Sebastian Zaha
100714b8ac
Meta: Pretty-print strings in gdb as a single object, not by character
...
This changes the string pretty-printer to show strings as
"full" as opposed to {"f", "u", "l", "l", "\0"}.
2023-08-05 02:16:55 +03:30
Sebastian Zaha
e13b89dd20
Meta: Implement support for the new String in the gdb formatter
...
The pretty-print gdb helpers were not updated since the
DeprecatedString change. This commit introduces a new printer for String
and renames the old one to DeprecatedString.
2023-08-05 02:16:55 +03:30
Lucas CHOLLET
4e0b52d009
Meta: Add a gdb pretty-printer for FixedArray
2023-06-28 08:01:01 +01:00
Lucas CHOLLET
e5685078c1
Meta: Add a gdb pretty-printer for Optional
2023-06-21 06:15:35 +02:00
Ali Mohammad Pur
265dd9b445
Meta: Avoid showing elements in extremely large vectors in gdb
...
This is most often just an invalid vector anyway.
2022-04-01 21:41:41 +01:00
Ali Mohammad Pur
899888bbf2
Meta: Update gdb script for changes in HashTable
2022-04-01 21:41:41 +01:00
Ali Mohammad Pur
c08bfd450b
Meta: Update the gdb script for the new RefPtr layout
2021-11-12 13:01:59 +00:00
Brian Gianforcaro
8c2a88e492
Meta: Add a gdb pretty printer for AK::Array
2021-10-18 03:27:27 -07:00
Brian Gianforcaro
f0fbaa00a4
Meta: Remove gdb pretty printer for AK::InlineLinkedList
2021-06-16 10:40:01 +02:00
Ali Mohammad Pur
b808815e57
Meta: Display DistinctNumeric as its alias name in GDB if possible
...
All DistinctNumerics are given an identifying tag, if the tag is
generated by the macro, print the alias instead of DistinctNumeric.
2021-05-22 13:21:00 +04:30
Ali Mohammad Pur
3d0786f96b
Meta: Add GDB pretty printer for AK::Variant
2021-05-22 13:21:00 +04:30
Ali Mohammad Pur
37651a28e1
Meta: Pretty-print the types in serenity_gdb.py
...
DistinctNumeric<T, ...> and some other types are very long, but the
template arguments provide no particular value, so just don't show them
2021-05-22 13:21:00 +04:30
Brian Gianforcaro
bd1bdbe91b
Meta: Add GDB pretty printer for AK::SinglyLinkedList
2021-05-21 15:23:01 +02:00
Brian Gianforcaro
0fbc5893bf
Meta: Add GDB pretty printer for AK::InlineLinkedList
...
This allows a developer to easily dump a InlineLinkedList in the
debugger without having to manually running the list.
I needed this for a recent bug investigation in the Kernel.
2021-05-21 15:23:01 +02:00
Brian Gianforcaro
1682f0b760
Everything: Move to SPDX license identifiers in all files.
...
SPDX License Identifiers are a more compact / standardized
way of representing file license information.
See: https://spdx.dev/resources/use/#identifiers
This was done with the `ambr` search and replace tool.
ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-22 11:22:27 +02:00
Gunnar Beutner
232e64c10a
Meta: Add GDB pretty printers
2021-04-22 00:45:43 +02:00