How to automatically execute some commands when gdb starts

Peng Yu pengyu.ut@gmail.com
Fri Nov 3 21:58:00 GMT 2006


Hi,

Every time I start gdb, I'll use command "b main". I don't want to
type it every time. Is there anyway to set up gdb by default it
execute that command every time gdb starts?

Thanks,
Peng



More information about the Gdb mailing list