[Lldb-commits] [PATCH] D75073: [lldb] Color the current PC marker

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 24 12:48:12 PST 2020


JDevlieghere created this revision.
JDevlieghere added reviewers: teemperor, clayborg.
Herald added a project: LLDB.
teemperor accepted this revision.
teemperor added a comment.
This revision is now accepted and ready to land.

This is the best patch I have seen since I started working on LLVM


Highlight the current PC marker. D75070 <https://reviews.llvm.org/D75070> does the same thing but for source listings.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D75073

Files:
  lldb/source/Core/CoreProperties.td


Index: lldb/source/Core/CoreProperties.td
===================================================================
--- lldb/source/Core/CoreProperties.td
+++ lldb/source/Core/CoreProperties.td
@@ -22,7 +22,7 @@
     Desc<"If true all confirmation prompts will receive their default reply.">;
   def DisassemblyFormat: Property<"disassembly-format", "FormatEntity">,
     Global,
-    DefaultStringValue<"{${function.initial-function}{${module.file.basename}`}{${function.name-without-args}}:\\\\n}{${function.changed}\\\\n{${module.file.basename}`}{${function.name-without-args}}:\\\\n}{${current-pc-arrow} }${addr-file-or-load}{ <${function.concrete-only-addr-offset-no-padding}>}: ">,
+    DefaultStringValue<"{${function.initial-function}{${module.file.basename}`}{${function.name-without-args}}:\\\\n}{${function.changed}\\\\n{${module.file.basename}`}{${function.name-without-args}}:\\\\n}{${ansi.fg.yellow}${current-pc-arrow}${ansi.normal} }${addr-file-or-load}{ <${function.concrete-only-addr-offset-no-padding}>}: ">,
     Desc<"The default disassembly format string to use when disassembling instruction sequences.">;
   def FrameFormat: Property<"frame-format", "FormatEntity">,
     Global,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75073.246281.patch
Type: text/x-patch
Size: 1197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200224/84568536/attachment.bin>


More information about the lldb-commits mailing list