Remove the omit_gdb_pretty_printer_section attribute
Disabling loading of pretty printers in the debugger itself is more reliable. Before this commit the .gdb_debug_scripts section couldn't be included in dylibs or rlibs as otherwise there is no way to disable the section anymore without recompiling the entire standard library.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
//@ ignore-lldb: FIXME(#27089)
|
||||
|
||||
//@ compile-flags:-g
|
||||
//@ disable-gdb-pretty-printers
|
||||
|
||||
// === GDB TESTS ===================================================================================
|
||||
// gdb-command:run
|
||||
@@ -57,8 +58,6 @@
|
||||
|
||||
#![allow(unused_variables)]
|
||||
#![allow(dead_code)]
|
||||
#![feature(omit_gdb_pretty_printer_section)]
|
||||
#![omit_gdb_pretty_printer_section]
|
||||
|
||||
// This test case makes sure that we get correct type descriptions for the enum
|
||||
// discriminant of different instantiations of the same generic enum type where,
|
||||
|
||||
Reference in New Issue
Block a user