[PATCH] Add "thread-exited" annotation

Simon Marchi simark@simark.ca
Fri May 17 14:22:00 GMT 2019


On 2019-05-17 9:24 a.m., Amos Bird wrote:
> 
> Hi Simon,
> 
>> I don't mind if we start using MI-like syntax for annotation parameters, but it should
>> be a conscious decision to do so.
> 
> To be honest I don't use the extra information at all in cgdb, only "thread-exited". So
> I'm OK to whatever format it ends up to have.
> 
> Patch updated, thanks!

The test fails here, please verify that the it passes using:

  gdb/ $ make check TESTS="gdb.base/annota1.exp"

You'll need at least to declare "global decimal" to be able to access the decimal variable.
When adding that, I get a FAIL that I don't get without the patch applied:

FAIL: gdb.base/annota1.exp: signal sent (timeout)

Any interesting output will end up in testsuite/gdb.log.

Simon



More information about the Gdb-patches mailing list