From 090dc53e7e7b5cf02921032dba368b298727af00 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 25 Jul 2016 20:33:36 +0100 Subject: [PATCH] Fix StringDataPtr gdb pretty printer --- gdb/kakoune.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gdb/kakoune.py b/gdb/kakoune.py index d2938b99..179395a4 100644 --- a/gdb/kakoune.py +++ b/gdb/kakoune.py @@ -194,6 +194,7 @@ def build_pretty_printer(): pp.add_printer('String', '^Kakoune::String$', String) pp.add_printer('StringView', '^Kakoune::(StringView|SharedString)$', StringView) pp.add_printer('StringDataPtr', '^Kakoune::StringDataPtr$', StringDataPtr) + pp.add_printer('StringDataPtr', '^Kakoune::RefPtr$', StringDataPtr) pp.add_printer('RefPtr', '^Kakoune::RefPtr<.*>$', RefPtr) pp.add_printer('Option', '^Kakoune::Option$', Option) pp.add_printer('LineCount', '^Kakoune::LineCount$', LineCount)