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
This commit is contained in:
Johnny Chen 2010-12-20 22:58:58 +00:00
parent 53c3f4e803
commit 25c04838e9
1 changed files with 2 additions and 2 deletions

View File

@ -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"