File tree Expand file tree Collapse file tree 4 files changed +3
-2
lines changed Expand file tree Collapse file tree 4 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ pub fn opts() -> TargetOptions {
47
47
exe_allocation_crate : super :: maybe_jemalloc ( ) ,
48
48
has_elf_tls : version >= ( 10 , 7 ) ,
49
49
abi_return_struct_as_int : true ,
50
+ emit_debug_gdb_scripts : false ,
50
51
.. Default :: default ( )
51
52
}
52
53
}
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ pub fn opts() -> TargetOptions {
102
102
] ,
103
103
custom_unwind_resume : true ,
104
104
abi_return_struct_as_int : true ,
105
+ emit_debug_gdb_scripts : false ,
105
106
106
107
.. Default :: default ( )
107
108
}
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ pub fn opts() -> TargetOptions {
34
34
crt_static_allows_dylibs : true ,
35
35
crt_static_respected : true ,
36
36
abi_return_struct_as_int : true ,
37
+ emit_debug_gdb_scripts : false ,
37
38
38
39
.. Default :: default ( )
39
40
}
Original file line number Diff line number Diff line change @@ -83,8 +83,6 @@ pub fn needs_gdb_debug_scripts_section(cx: &CodegenCx) -> bool {
83
83
"omit_gdb_pretty_printer_section" ) ;
84
84
85
85
!omit_gdb_pretty_printer_section &&
86
- !cx. sess ( ) . target . target . options . is_like_osx &&
87
- !cx. sess ( ) . target . target . options . is_like_windows &&
88
86
cx. sess ( ) . opts . debuginfo != NoDebugInfo &&
89
87
cx. sess ( ) . target . target . options . emit_debug_gdb_scripts
90
88
}
You can’t perform that action at this time.
0 commit comments