The libstdc++ test suite checks whether gdb type printers are
available like so:
set do_whatis_tests [gdb_batch_check "python print(gdb.type_printers)" \
"\\\[\\\]"]
This regexp assumes that the list of printers is empty. However,
sometimes it's convenient to ship
> Jonathan Wakely writes:
> Looks good. OK for trunk, and OK to backport after some soak time on trunk.
> Thanks.
AdaCore doesn't need a backport of this, and I don't think it's
extremely important; so unless you want me to do it, I don't plan to.
I did check it in on trunk earlier today.
The top-level configure options --with-gmp-dir and --with-mpfr-dir
were obsoleted and marked as "REMOVED" back in 2006. I think that's
long enough ago for everyone to have updated their scripts, so this
patch removes them entirely. While doing this, I also found one other
leftover that wasn't rem
> "Mark" == Mark Wielaard writes:
Mark> DW_LANG_Rust_old was used by old rustc compilers <= 2016 before DWARF5
Mark> assigned an official number. It might be recognized by some
Mark> debuggers.
FWIW I wouldn't worry about it any more.
We could probably just remove the '_old' constant.
Tom
> "Segher" == Segher Boessenkool writes:
Segher> Yes. On most architectures you can get multiple machine instructions of
Segher> course (for long calls for example), but on rs6000 (with some ABIs, in
Segher> some circumstances) we generate a nop insn after calls, so that the
Segher> linker h
> "Segher" == Segher Boessenkool writes:
>> FWIW I sent a gdb patch to work around this bug. However, in my
>> examples, I only ever saw a nop following the call instruction -- so I
>> had gdb check for this.
Segher> GCC inserts just a nop in most cases, but the linker or dynamic linker
Seg