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]

How to automatically execute some commands when gdb starts


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


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