[PATCH 3/8] Remove target_has_stack macro

Tom Tromey tom@tromey.com
Tue Sep 29 01:36:58 GMT 2020


>> -  if (!target_has_stack)
>> +  if (!target_has_stack ())
>> error (_("Cannot inspect Ada tasks when program is not running"));

Christian> A bit of a tangent, but either the check or the error message seems
Christian> wrong. Does this work when looking at a coredump? If yes, the error is
Christian> wrong; if not, the check is wrong.

I suspect the wording is wrong but I am not completely certain.
I'll make a note to look into this.

Tom


More information about the Gdb-patches mailing list