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] thread apply commands change selected frame


On Wed, Jan 31, 2007 at 04:57:50PM +0100, Denis PILAT wrote:
> Your remarks have been taken into account into the attached patch.
> Are you ok for committing this one plus the previous patch regarding the 
> thread.c ?
> (Frederic Riss will do that for me)

Yes, that's OK (with a minor fix, below).  Let me know if you would
like write access yourself.

> +gdb_test "thread apply all print 1"  "Thread ..*\\\$7 = 1.*Thread ..*\\\$8 = 1.*Thread ..*\\\$9 = 1.*Thread ..*\\\$10 = 1.*Thread ..*\\\$11 = 1.*Thread ..*\\\$12 = 1" "run a simple print command on all thread"

Checking for $[specific number] should be avoided, because adding more
tests earlier in the file will break it.  Use \\\$\[0-9]+ instead.

-- 
Daniel Jacobowitz
CodeSourcery


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