From e86e5b1b81253b0e6fa3fb3fb23070b4020ad36b Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 14 May 2014 22:16:51 +0100 Subject: [PATCH] Fix gdb pretty printer --- gdb/kakoune.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/kakoune.py b/gdb/kakoune.py index 7486a7fa..2192d52f 100644 --- a/gdb/kakoune.py +++ b/gdb/kakoune.py @@ -105,8 +105,8 @@ def build_pretty_printer(): pp = gdb.printing.RegexpCollectionPrettyPrinter("kakoune") pp.add_printer('memoryview', '^Kakoune::memoryview<.*>$', MemoryView) pp.add_printer('LineAndColumn', '^Kakoune::LineAndColumn<.*>$', LineAndColumn) - pp.add_printer('BufferCoord', '^Kakoune::BufferCoord$', LineAndColumn) - pp.add_printer('DisplayCoord', '^Kakoune::DisplayCoord$', LineAndColumn) + pp.add_printer('ByteCoord', '^Kakoune::ByteCoord$', LineAndColumn) + pp.add_printer('CharCoord', '^Kakoune::CharCoord$', LineAndColumn) pp.add_printer('BufferIterator', '^Kakoune::BufferIterator$', BufferIterator) pp.add_printer('String', '^Kakoune::String$', String) pp.add_printer('Option', '^Kakoune::Option$', Option)