This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Add windows Thread Information Block

On Fri, Jun 26, 2009 at 9:07 AM, Pierre Muller<> wrote:
>> From Christopher Faylor
>> I can't tell you how many times I've wanted something like this. ?I
>> always end up standing on my head to get the tib information. ?I have
>> no
>> problem with most of the implementation except that I think this should
>> be a show command not a stand-alone command. ?And, while "tib" is an
>> accepted abbreviation for "thread information block", I think it makes
>> sense (as Eli was implying, I think) that the actual command should be
>> "show thread-information-block" with "show tib" as a alias.
> With my patch, the command is "info w32 tib"
> but I can change it to
> "show thread-information-block" if you prefer,
> and if the show subcommands can handle the parsing of args.

fwiw, I think "info" is more consistent with other gdb commands, style-wise.
It's "info auxv", not "show auxv", for example.
[Unless of course you can imagine a way to _set_ values in the tib.]

Though I like "thread-information-block" + "tib" alias.
I don't think there's a need for "w32" in the middle.
It's not "info foo auxv" for example.
[Unless there was a way to get both w32 and w64 versions from one
task, which seems unlikely.]

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]