[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting the gdb commands to work in the .gdbinit file
From: |
Andreas Zeller |
Subject: |
Re: Getting the gdb commands to work in the .gdbinit file |
Date: |
06 Jul 2001 10:20:18 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Developer-Friendly Unix APIs) |
Hi!
"Conover, John" <address@hidden> writes:
> If I enter the commands in the at the command prompt everything is
> fine. But trying to put them into either .gdbinit or a command
> button will not work.
>
> set gnutarget coff-go32
> set confirm on
> cd /home
> dir /home/build/gatorMgr
> set remotebaud 57600
> add-symbol-file /home/build/atmBase/ATM 0x7c0020
> target remote /dev/ttyS0
>
> When I run the commands in the .gdbinit file I get:
> .gdbinit:3: Error in sourced command file:
> "on" or "off" expected.
I'm not sure why this might work, but try deleting the `set confirm
on' line from your commands and let me know if this helps. (DDD has
some special handling regarding `confirm' settings.)
Andreas
--
Andreas Zeller Universitaet des Saarlandes
http://www.st.cs.uni-sb.de/~zeller/