* How to automatically execute some commands when gdb starts
@ 2006-11-03 21:58 Peng Yu
2006-11-03 22:09 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Peng Yu @ 2006-11-03 21:58 UTC (permalink / raw)
To: gdb
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to automatically execute some commands when gdb starts
2006-11-03 21:58 How to automatically execute some commands when gdb starts Peng Yu
@ 2006-11-03 22:09 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2006-11-03 22:09 UTC (permalink / raw)
To: Peng Yu; +Cc: gdb
On Fri, Nov 03, 2006 at 03:58:39PM -0600, Peng Yu wrote:
> 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?
Please, take a look at the manual. If this is not clear from the
manual, tell us where in the manual you looked. Under "Invocation"
-> "Invoking GDB" -> "Startup" is a description of the init file.
Searching for "start" in the index will send you there.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-03 22:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-03 21:58 How to automatically execute some commands when gdb starts Peng Yu
2006-11-03 22:09 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox