This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
substitute gdb convenience variable into gdb command
- From: "Yakov Lerner" <iler dot ml at gmail dot com>
- To: gdb at sourceware dot org
- Date: Tue, 12 Feb 2008 17:54:33 +0200
- Subject: substitute gdb convenience variable into gdb command
How do I substitute value of gdb convenience variable into gdb command ?
For example:
set $thread_num=5
thread apply $thread_num where
Error parsing $thread_num where
eval thread apply $thread_num where
Undefined command: "eval". Try "help".
Thanks
Y.L.