This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]