This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: info thread
On Sat, 2006-09-23 at 17:59 -0400, Daniel Jacobowitz wrote:
> On Sat, Sep 23, 2006 at 09:05:56PM +0200, Mark Kettenis wrote:
> > Note that the formatting of the thread ID produced by to_pid_to_str is
> > highly dependent on the specific threads model in use. The thread
> > extra info is also mostly free-form. That means it might not be wise
> > to export that information in the MI interface.
>
> Except as strings, presumably?
>
> It's supposed to be useful to users; the extra information is supposed
> to be exactly what would be useful in a dialog box listing threads.
Well, except that I don't think there's an actual spec for it.
I assume the target-side implementer can pretty much supply
anything he wants.
> I agree that some words in the MI documentation about which strings
> to consider "opaque" may be in order, here and in other places (e.g.
> relating to frames...)
Perhaps something to the effect that no guarantees are offered...