Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eirik Fuller <eirik@netapp.com>
To: gdb-patches@sourceware.cygnus.com
Subject: do_captured_thread_select
Date: Mon, 09 Apr 2001 02:12:00 -0000	[thread overview]
Message-ID: <3AD17CE3.AA280B97@netapp.com> (raw)
In-Reply-To: <3A15C2E7.6EC92753@netapp.com>

This patch allows gdb's thread command to be used in macros.  I've been
using it since mid November with no problems (and I apologize for the
delay in submitting it).

--- gdb/thread.c-	Wed Feb  2 20:14:36 2000
+++ gdb/thread.c	Thu Nov 16 20:31:42 2000
@@ -663,7 +670,7 @@
   int num;
   struct thread_info *tp;
 
-  num = atoi ((char *)tidstr);
+  num = value_as_long(parse_and_eval(tidstr));
 
   tp = find_thread_id (num);


       reply	other threads:[~2001-04-09  2:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <39C17C60.3125D2C0@netapp.com>
     [not found] ` <39C18CBC.1BC1F728@netapp.com>
     [not found]   ` <39D17683.FB3CA962@netapp.com>
     [not found]     ` <3A113B77.B50A60D7@cygnus.com>
     [not found]       ` <3A11D01C.7F0ADFCC@netapp.com>
     [not found]         ` <3A11FA7A.CCC941C3@cygnus.com>
     [not found]           ` <3A12022E.D96AB1EA@netapp.com>
     [not found]             ` <3A15C2E7.6EC92753@netapp.com>
2001-04-09  2:12               ` Eirik Fuller [this message]
2001-04-09 11:21                 ` do_captured_thread_select Michael Snyder
     [not found]                   ` <3AD245A5.1BEA8615@netapp.com>
2001-04-17 11:58                     ` do_captured_thread_select Michael Snyder

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=3AD17CE3.AA280B97@netapp.com \
    --to=eirik@netapp.com \
    --cc=gdb-patches@sourceware.cygnus.com \
    /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