Skip to content

Commit 14196db

Browse files
committed
Auto merge of #154840 - Walnut356:windows_gdb_embed, r=mati865
allow `windows-gnu` targets to embed gdb visualizer scripts Pretty straigthforward, works exactly the same as any other `*-gnu` target so i'm not sure why it wasn't enabled already.
2 parents dab8d9d + 472b966 commit 14196db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)