2001-04-17 Eirik Fuller <eirik@netapp.com>

* thread.c (do_captured_thread_select): Allow the argument to the
	thread command to be an expression rather than a literal integer.
This commit is contained in:
Michael Snyder 2001-04-17 19:01:35 +00:00
parent 4d96d12825
commit 81490ea1cb
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-04-17 Eirik Fuller <eirik@netapp.com>
* thread.c (do_captured_thread_select): Allow the argument to the
thread command to be an expression rather than a literal integer.
2001-04-17 Mark Kettenis <kettenis@gnu.org>
* i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use

View file

@ -665,7 +665,7 @@ do_captured_thread_select (void *tidstr)
int num;
struct thread_info *tp;
num = atoi ((char *)tidstr);
num = value_as_long (parse_and_eval (tidstr));
tp = find_thread_id (num);