add emit_debug_gdb_scripts target option and ..
set it to false for no-std targets like ARM Cortex-M and MSP430. For the rationale of this change see the comment in thumb_base.rs
This commit is contained in:
parent
db4235c4fd
commit
ea08bdf30c
4 changed files with 18 additions and 1 deletions
|
|
@ -85,5 +85,6 @@ pub fn needs_gdb_debug_scripts_section(cx: &CodegenCx) -> bool {
|
|||
!omit_gdb_pretty_printer_section &&
|
||||
!cx.sess().target.target.options.is_like_osx &&
|
||||
!cx.sess().target.target.options.is_like_windows &&
|
||||
cx.sess().opts.debuginfo != NoDebugInfo
|
||||
cx.sess().opts.debuginfo != NoDebugInfo &&
|
||||
cx.sess().target.target.options.emit_debug_gdb_scripts
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue