This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [ECOS] Can't connect to remote Evaluator 7T
>>>>> Pierre Habraken writes:
> Mark Salter wrote:
>> [...]
>> % stty -a </dev/ttyS0
>> speed 115200 baud; rows 0; columns 0; line = 0;
>> intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
>> eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
>> werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 5;
>> -parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
> ^^^^^^^^
> Ok, I got it : hardware control flow was enabled (crtscts instead of
> -crtscts).
Okay. I'm seeing a different connection problem, then.
> So, now the command 'target remote' sets up the connection, but
> uploading (command 'load') the program to the board fails, leaving gdb
> accepting no more keyboard input (not even ^C, I have to kill it from an
> other xterm).
> I attach below the gdb trace with logging disabled and also the contents
> of the file gdblog.txt produced when logging is enabled (beginning of
> the file only) :
> Anyone an idea ?
> Pierre
> ===============================================================
> $ arm-elf-gdb
> GNU gdb 5.2
> ...
> This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf".
> (gdb) set remotebaud 38400
> (gdb) file guirlande
> Reading symbols from guirlande...done.
> (gdb) target remote /dev/ttyS0
> Remote debugging using /dev/ttyS0
> 0x018210a8 in ?? ()
> (gdb) load
> Loading section .text, size 0x3bec lma 0x8000
^^^^^^
This seems pretty low in memory. Maybe you are overwriting memory used
by the stub.
--Mark