From 25c04838e91c71efbabc179bdfeb0b65297b1978 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Mon, 20 Dec 2010 22:58:58 +0000 Subject: [PATCH] The recent change in argument parsing is messing up the emacs lldb mode's capability to properly scan the debugger output for program counter when it comes to the output of 'Up Stack' or 'Down Stack' gud commands. Remove the single quotes around the argument strings for "settings set frame-format" and "settings set thread-format" commands to avoid the single quotes which were being emitted as part of the debugger output. llvm-svn: 122286 --- lldb/utils/emacs/gud.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/utils/emacs/gud.el b/lldb/utils/emacs/gud.el index c485589143f7..ebf1a311764e 100644 --- a/lldb/utils/emacs/gud.el +++ b/lldb/utils/emacs/gud.el @@ -1001,9 +1001,9 @@ and source-file directory for your debugger." ;; Make lldb dump fullpath instead of basename for a file. ;; See also gud-lldb-marker-filter where gud-last-frame is grokked from lldb output. (progn - (gud-call "settings set frame-format 'frame #${frame.index}: ${frame.pc}{ ${module.file.basename}{`${function.name}${function.pc-offset}}}{ at ${line.file.fullpath}:${line.number}}\\n'") + (gud-call "settings set frame-format frame #${frame.index}: ${frame.pc}{ ${module.file.basename}{`${function.name}${function.pc-offset}}}{ at ${line.file.fullpath}:${line.number}}\\n") (sit-for 1) - (gud-call "settings set thread-format 'thread #${thread.index}: tid = ${thread.id}{, ${frame.pc}}{ ${module.file.basename}{`${function.name}${function.pc-offset}}}{ at ${line.file.fullpath}:${line.number}}{, stop reason = ${thread.stop-reason}}\\n'") + (gud-call "settings set thread-format thread #${thread.index}: tid = ${thread.id}{, ${frame.pc}}{ ${module.file.basename}{`${function.name}${function.pc-offset}}}{ at ${line.file.fullpath}:${line.number}}{, stop reason = ${thread.stop-reason}}\\n") (sit-for 1)) (gud-def gud-listb "breakpoint list"