public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [RFA/NEWS] Document the $_thread convenience variable
@ 2010-08-19 18:48 Joel Brobecker
  2010-08-19 20:01 ` Joel Brobecker
  2010-08-19 20:06 ` Stan Shebs
  0 siblings, 2 replies; 3+ messages in thread
From: Joel Brobecker @ 2010-08-19 18:48 UTC (permalink / raw)
  To: gdb-patches; +Cc: Joel Brobecker

Hello,

This document the new $_thread convenience variable (placed in the
`in GDB 7.2' section, since this was introduced after 7.1 and will
be part of 7.2).  If approved for HEAD, I will also port for the 7.2
branch.

Stan, you owe me one - fortunately for you, I'm cheap, because I cannot
drink alcohol ;-).

gdb/ChangeLog:

        * NEWS: Document $_thread.

OK to apply?

Thanks,
-- 
Joel

---
 gdb/NEWS |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/gdb/NEWS b/gdb/NEWS
index bf37ed8..59e8953 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -231,6 +231,10 @@ strace FN | FILE:LINE | *ADDR | -m MARKER_ID
 disassemble
   The disassemble command now supports "start,+length" form of two arguments.
 
+* New convenience variable: $_thread
+  This convenience variable contains the number of the current thread.
+  This may be useful inside breakpoint conditions, command scripts, etc.
+
 * Python scripting
 
 ** GDB now provides a new directory location, called the python directory,
-- 
1.7.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFA/NEWS] Document the $_thread convenience variable
  2010-08-19 18:48 [RFA/NEWS] Document the $_thread convenience variable Joel Brobecker
@ 2010-08-19 20:01 ` Joel Brobecker
  2010-08-19 20:06 ` Stan Shebs
  1 sibling, 0 replies; 3+ messages in thread
From: Joel Brobecker @ 2010-08-19 20:01 UTC (permalink / raw)
  To: gdb-patches

> gdb/ChangeLog:
> 
>         * NEWS: Document $_thread.

Doh! I missed the fact that Stan already included this feature in
his patch. This patch is withdrawn - sorry about the noise.

-- 
Joel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFA/NEWS] Document the $_thread convenience variable
  2010-08-19 18:48 [RFA/NEWS] Document the $_thread convenience variable Joel Brobecker
  2010-08-19 20:01 ` Joel Brobecker
@ 2010-08-19 20:06 ` Stan Shebs
  1 sibling, 0 replies; 3+ messages in thread
From: Stan Shebs @ 2010-08-19 20:06 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

Joel Brobecker wrote:
> Hello,
>
> This document the new $_thread convenience variable (placed in the
> `in GDB 7.2' section, since this was introduced after 7.1 and will
> be part of 7.2).  If approved for HEAD, I will also port for the 7.2
> branch.
>   

Um, the same bit is in the patch I posted yesterday.  I'm not sure it's 
significant enough to be listed
in NEWS twice. :-)

Stan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-19 20:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-19 18:48 [RFA/NEWS] Document the $_thread convenience variable Joel Brobecker
2010-08-19 20:01 ` Joel Brobecker
2010-08-19 20:06 ` Stan Shebs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).