Skip to content

Commit 472b966

Browse files
committed
allow windows-gnu targets to embed gdb visualizer scripts
1 parent f92020a commit 472b966

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

compiler/rustc_target/src/spec/base/windows_gnu.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ pub(crate) fn opts() -> TargetOptions {
9999
late_link_args_dynamic,
100100
late_link_args_static,
101101
abi_return_struct_as_int: true,
102-
emit_debug_gdb_scripts: false,
102+
emit_debug_gdb_scripts: true,
103103
requires_uwtable: true,
104104
eh_frame_header: false,
105105
debuginfo_kind: DebuginfoKind::Dwarf,

compiler/rustc_target/src/spec/base/windows_gnullvm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub(crate) fn opts() -> TargetOptions {
4242
link_self_contained: LinkSelfContainedDefault::InferredForMingw,
4343
late_link_args,
4444
abi_return_struct_as_int: true,
45-
emit_debug_gdb_scripts: false,
45+
emit_debug_gdb_scripts: true,
4646
requires_uwtable: true,
4747
eh_frame_header: false,
4848
no_default_libraries: false,

0 commit comments

Comments
 (0)