On Wed, Oct 21, 2009 at 2:44 PM, Mulyadi Santosa <mulyadi.sant...@gmail.com> wrote: > On Wed, Oct 21, 2009 at 11:24 PM, Glauber Costa <glom...@gmail.com> wrote: >> You can provide a monitor command to do that >> >> something in the lines of: >> - add_macro <key> <command_list> >> - remove_macro <key> >> - list_macros > > Please CMIIW, "command_list" here refers to at least one of monitor > commands, right? meaning, i.e one could do: > add_macro ctrl_alt_shift_s "stop" > > or extend that so it does: > add_macro ctrl_alt_shift_s "stop print $pc" > > so, it stops the VM followed by printing program counter.
yes, this is what I meant. But notice that this is just a suggestion. The internet is a free country, and if you are indeed implementing this, you are free to add your own spice. -- Glauber Costa. "Free as in Freedom" http://glommer.net "The less confident you are, the more serious you have to act."