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:
parent
4d96d12825
commit
81490ea1cb
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2001-04-17 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
|
* i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
|
||||||
|
|
|
@ -665,7 +665,7 @@ do_captured_thread_select (void *tidstr)
|
||||||
int num;
|
int num;
|
||||||
struct thread_info *tp;
|
struct thread_info *tp;
|
||||||
|
|
||||||
num = atoi ((char *)tidstr);
|
num = value_as_long (parse_and_eval (tidstr));
|
||||||
|
|
||||||
tp = find_thread_id (num);
|
tp = find_thread_id (num);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue