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 {
4747 exe_allocation_crate : super :: maybe_jemalloc ( ) ,
4848 has_elf_tls : version >= ( 10 , 7 ) ,
4949 abi_return_struct_as_int : true ,
50+ emit_debug_gdb_scripts : false ,
5051 .. Default :: default ( )
5152 }
5253}
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ pub fn opts() -> TargetOptions {
102102 ] ,
103103 custom_unwind_resume : true ,
104104 abi_return_struct_as_int : true ,
105+ emit_debug_gdb_scripts : false ,
105106
106107 .. Default :: default ( )
107108 }
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ pub fn opts() -> TargetOptions {
3434 crt_static_allows_dylibs : true ,
3535 crt_static_respected : true ,
3636 abi_return_struct_as_int : true ,
37+ emit_debug_gdb_scripts : false ,
3738
3839 .. Default :: default ( )
3940 }
Original file line number Diff line number Diff line change @@ -83,8 +83,6 @@ pub fn needs_gdb_debug_scripts_section(cx: &CodegenCx) -> bool {
8383 "omit_gdb_pretty_printer_section" ) ;
8484
8585 !omit_gdb_pretty_printer_section &&
86- !cx. sess ( ) . target . target . options . is_like_osx &&
87- !cx. sess ( ) . target . target . options . is_like_windows &&
8886 cx. sess ( ) . opts . debuginfo != NoDebugInfo &&
8987 cx. sess ( ) . target . target . options . emit_debug_gdb_scripts
9088}
You can’t perform that action at this time.
0 commit comments