This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
How to automatically execute some commands when gdb starts
- From: "Peng Yu" <pengyu dot ut at gmail dot com>
- To: gdb at sourceware dot org
- Date: Fri, 3 Nov 2006 15:58:39 -0600
- Subject: 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