Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* substitute gdb convenience variable into gdb command
@ 2008-02-12 15:54 Yakov Lerner
  2008-02-12 16:03 ` Daniel Jacobowitz
  2008-02-12 19:41 ` Michael Snyder
  0 siblings, 2 replies; 6+ messages in thread
From: Yakov Lerner @ 2008-02-12 15:54 UTC (permalink / raw)
  To: gdb

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-02-12 22:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-12 15:54 substitute gdb convenience variable into gdb command Yakov Lerner
2008-02-12 16:03 ` Daniel Jacobowitz
2008-02-12 22:09   ` Michael Snyder
2008-02-12 19:41 ` Michael Snyder
2008-02-12 19:56   ` Daniel Jacobowitz
2008-02-12 22:17     ` Michael Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox