From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Cc: Joel Brobecker <brobecker@adacore.com>
Subject: [RFA/NEWS] Document the $_thread convenience variable
Date: Thu, 19 Aug 2010 18:48:00 -0000 [thread overview]
Message-ID: <1282243720-32461-1-git-send-email-brobecker@adacore.com> (raw)
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
next reply other threads:[~2010-08-19 18:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-19 18:48 Joel Brobecker [this message]
2010-08-19 20:01 ` Joel Brobecker
2010-08-19 20:06 ` Stan Shebs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1282243720-32461-1-git-send-email-brobecker@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox