This is the mail archive of the gdb-patches@sourceware.org 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] info threads takes an argument


On Thu, 17 Feb 2011 20:45:58 +0100, Michael Snyder wrote:
> You're right, there is an extra .* in there.
> Can you please try the attached?

It still FAILs.  Shouldn't there be \[^\r\n\]* instead of \[\r\n\]*?
BTW i7-920 (4 cores + hyperthreading), Fedora 15 x86_64.

Attaching also my attempt first today but I haven't finished it to a state to
make it running as I have too much stuff to do here now.

BTW I do not like any .* there in such unanchored regexes, it is still too
fragile while it may not cause problems right now.  The part ". 3 .*\"... can
match almost anything, some random digit between 1 to 6 can possibly appear
somewhere and it can eat some text again.


Thanks,
Jan

Attachment: gdb.log
Description: Text document

Attachment: thread-find-jan.patch
Description: Text document


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