From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32750 invoked by alias); 20 Feb 2003 14:35:11 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 32736 invoked from network); 20 Feb 2003 14:35:11 -0000 Received: from unknown (HELO mx1.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 20 Feb 2003 14:35:11 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h1KEZBN12463; Thu, 20 Feb 2003 09:35:11 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h1KEZAf29842; Thu, 20 Feb 2003 09:35:10 -0500 Received: from deneb.localdomain (msalter.cipe.redhat.com [10.0.0.36]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h1KEZ9O14652; Thu, 20 Feb 2003 09:35:10 -0500 Received: by deneb.localdomain (Postfix, from userid 500) id 4677278A6D; Thu, 20 Feb 2003 09:35:09 -0500 (EST) From: Mark Salter To: Pierre.Habraken@imag.fr Cc: jifl@eCosCentric.com, gary.thomas@mind.be, qqi@theworld.com, gdb@sources.redhat.com, ecos-discuss@sources.redhat.com In-reply-to: <3E54E606.D1FDC422@imag.fr> (message from Pierre Habraken on Thu, 20 Feb 2003 15:28:22 +0100) Subject: Re: [ECOS] Can't connect to remote Evaluator 7T References: <20030219174138.A6E4578A6D@deneb.localdomain> <1045676870.18484.6026.camel@hermes.chez-thomas.org> <3E53C60E.6000305@eCosCentric.com> <20030219192255.962AE78A6D@deneb.localdomain> <3E54E606.D1FDC422@imag.fr> Message-Id: <20030220143509.4677278A6D@deneb.localdomain> Date: Thu, 20 Feb 2003 14:35:00 -0000 X-SW-Source: 2003-02/txt/msg00402.txt.bz2 >>>>> Pierre Habraken writes: > Mark Salter wrote: >> [...] >> % stty -a > speed 115200 baud; rows 0; columns 0; line = 0; >> intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ; >> eol2 = ; 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