Is there a way to define a macro?

wmaple wmaple@126.com
Thu Sep 15 12:24:00 GMT 2005


Hi.

When I debug a program on disassambly level, for inspecting registers or memory units, I have to enter same commands again and again. For example, after execution of each instruction, I want to inspecting all common registers. So, every time, I have to enter command 'info register' several times. Is there a way to define a macro, by which I can enter these commands conveniently.

Thanks!





More information about the Gdb mailing list