[committed][gdb/testsuite] Make skip_libstdcxx_probe_tests return 1 if true

Tom de Vries tdevries@suse.de
Mon Aug 26 16:51:00 GMT 2019

[ was: Re: [PATCH][gdb, c++] Improve error message when using libstdcxx
without SDT probes ]

On 26-08-19 16:11, Sergio Durigan Junior wrote:
>> +set libstdcxx_probe_tests_supported [skip_libstdcxx_probe_tests]
> Not your fault, but this reversed logic (skip_libstdcxx_probe_tests
> returns 0 if the tests should be skipped) is kinda confusing.

It's also confusing me.

Fixed in attached patch.


- Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gdb-testsuite-Make-skip_libstdcxx_probe_tests-return-1-if-true.patch
Type: text/x-patch
Size: 2878 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20190826/6ecc51b1/attachment.bin>

More information about the Gdb-patches mailing list