about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-11-19 22:25:18 +0000
committerbors <bors@rust-lang.org>2022-11-19 22:25:18 +0000
commitcd1f782b742f2c83d91648efae35dfd0d79cec08 (patch)
tree2af12bb1bd9329e13092b02cb03328925288670c /compiler/rustc_codegen_llvm/src
parentc5d82ed7a4ad94a538bb87e5016e7d5ce0bd434b (diff)
parent425a7af9193df1d4debab5a6c4c8fa72c3290298 (diff)
downloadrust-cd1f782b742f2c83d91648efae35dfd0d79cec08.tar.gz
rust-cd1f782b742f2c83d91648efae35dfd0d79cec08.zip
Auto merge of #104470 - ehuss:cdb-dupe-last-command, r=jyn514
Don't duplicate last cdb debuginfo test command

cdb scripts interpret a blank line to mean "repeat the last command", similar to what happens when running the debugger from a console. The code for compiletest that constructs the debugger script was inserting a blank line between the last command and the "quit" command. This caused the last command to be executed twice. This can cause some confusion since the `-check` lines are expecting the output in a certain order. But printing the last command twice causes that order-assumption to fail, and that can cause confusion.

This fixes it by removing the blank line.

AFAICT, gdb and lldb scripts don't have the same behavior with blank lines (and the gdb code doesn't add any blank lines anyways).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions