ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting the gdb commands to work in the .gdbinit file


From: Conover, John
Subject: Getting the gdb commands to work in the .gdbinit file
Date: Thu, 5 Jul 2001 15:09:20 -0400

Hi,
        I've been running ddd 3.3 with some success, but have the annoying
problem of
not being able to run the following commands in a batch file. 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.

        There must be a simple way of doing this, but I can not find
documentation
for either ddd or gdb to do this.

        Any help would be appreciated.

        John Conover
        address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]