Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pierre Habraken <Pierre.Habraken@imag.fr>
To: Mark Salter <msalter@redhat.com>
Cc: jifl@eCosCentric.com, gary.thomas@mind.be, qqi@theworld.com,
	gdb@sources.redhat.com, ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Can't connect to remote Evaluator 7T
Date: Thu, 20 Feb 2003 14:27:00 -0000	[thread overview]
Message-ID: <3E54E606.D1FDC422@imag.fr> (raw)
In-Reply-To: <20030219192255.962AE78A6D@deneb.localdomain>

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).
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
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Killed
$
===============================================================
w +$Hc-1#09
r +$OK#9a
w +$qC#b4
r +$E02#a7
w +$qOffsets#4b
r +$#00
w +$?#3f
r +$S05#b8
w +$Hg0#df
r +$OK#9a
w +$g#67
r
+$0100000001000000bcbb000050000000020000005000000000000000500000001cbc0000fdffffff58c40000f0b30000f4b30000e4b30000e4498201a810820100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d3000020#7e
w +$mb3f0,4#f8
r +$a8108201#c5
w +
c load
w $X8000,0:#b6
r +$OK#9a
w
+$X8000,135:\x16\x00\xa0\xe3\xc4\x10\x8f\xe2V4\x12\xef\xbc\x00\x9f\xe5\b\xd0\x90\xe5\f\xa0\x90\xe5\x01\xac\x8a\xe2\x00\x10\xa0\xe3\x01\xb0\xa0\xe1\x01p\xa0\xe1\xa4\x00\x9f\xe5\xa4
\x9f\xe5\x00
B\xe0\xe3\t\x00\xeb\x85\n\x00\xeb\x15\x00\xa0\xe3\x94\x10\x8f\xe2V4\x12\xef\x8c\x10\x9f\xe5\x00\x00\xa0\xe3\x010\xd1\xe4\x00\x00S\xe3\x11\x00\x00\n
\x00S\xe3\xfa\xff\xff\n"\x00S\xe3'\x00S\x13\x03 \xa0\x01

\xa0\x13\x01\x10A\x12\x02\x00-\xe9\x01\x00\x80\xe2\x010\xd1\xe4\x00\x00S\xe3\x05\x00\x00\n\x03\x00R\xe1\xfa\xff\xff\x1a\x00
\xa0\xe3\x010A\xe2\x00
\xc3\xe5\xea\xff\xff\xea\r\x10\xa0\xe1\x00!\x8d\xe0\r0\xa0\xe1\x03\x00R\xe1\x04@\x12\x85\x00P\x93\x85\x04P"\x85\x04@\x83\x84\xf9\xff\xff\x8a4\x01\x00\xeb\xdb\x07\x00\xeb\xe4\xbd\x00\x00d\xc6\x00\x00D\xc7\x00\x00\xf4\xbd\x00\x00\xff\x00\x00\x00\r\xc0\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\f\xd0M\xe2\x1c0\xa0\xe3\x100\v\xe5\xe8
\x9f\xe5\x100\x1b\xe5\x020c\xe0\x140\v\xe5\x140\x1b\xe5\b0C\xe2}\x031\xa0\xe1\x140\v\xe5\x140\x1b\xe5\xff4\x03\xe2\x00\x00S\xe3.\x00\x00\x1a\x100\x1b\xe5\x000\x93\xe5\xff#f4
r +$OK#9a
w +$X8135,135:.\xc3\xe3\x0f
\xc2\xe3\xe54\xa0\xe3\x9f8\x83\xe2\x0f:\x83\xe2\x03\x00R\xe1\x0e\x00\x00\x1a\x100\x1b\xe5\x00
\x93\xe5\xe54\xa0\xe3\x9f8\x83\xe2\x0f:\x83\xe2\x030"\xe0\x180\v\xe5\x180\x1b\xe5\x03!\xa0\xe1\x100\x1b\xe5\x030\x82\xe0 
\x83\xe2h0\x9f\xe5\x00
\x83\xe5\x10\x00\x00\xea\x100\x1b\xe5\x000\x93\xe5\xff4\x03\xe2\xea\x04S\xe3\v\x00\x00\x1a\x100\x1b\xe5\x000\x93\xe5\xea4}\x03\xe2\x031\xa0\xe1\x180\v\xe5\x180\x1b\xe5\x03!\xa0\xe1\x100\x1b\xe5\x030\x82\xe0 
\x83\xe2 0\x9f\xe5\x00 \x83\xe5\x140\x1b\xe5\xea4\x83\xe3\x140\v\xe5\x14
\x1b\xe5\x100\x1b\xe5\x00
\x83\xe5\x00\xa8\x1b\xe9\x10\xbc\x00\x00\xf4\xbe\x00\x00\r\xc0\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe36*\x82\xe2\xff7\xa0\xe36:\x83\xe2\x000\x93\xe5\x010\xc3\xe3\x000\x82\xe5\xff'\xa0\xe36*\x82\xe2\xff7\xa0\xe36:\x83\xe2\x000\x93\xe5\x020\xc3\xe3\x000\x82\xe5\xff\x17\xa0\xe36\x1a\x81\xe2\x04\x10\x81\xe2\x000\xa0\xe1\x031\xa0\xe1\x000\x83\xe0\x03!\xa0\xe1\x020\x83\xe0\x830\xa0\xe1\x010C\xe2\x000\x81\xe5\x00\xa8\x1b\xe9\r\xc0#d7
r +<Timeout: 2 seconds>
w -
r <Timeout: 2 seconds>
w -
r <Timeout: 2 seconds>
w
-+$X826a,136:\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe36*\x82\xe2\xff7\xa0\xe36:\x83\xe2\x000\x93\xe5\b0\xc3\xe3\x000\x82\xe5\xff'\xa0\xe36*\x82\xe2\xff7\xa0\xe36:\x83\xe2\x000\x93\xe5\x100\xc3\xe3\x000\x82\xe5\xff\x17\xa0\xe36\x1a\x81\xe2\b\x10\x81\xe2\x000\xa0\xe1\x031\xa0\xe1\x000\x83\xe0\x03!\xa0\xe1\x020\x83\xe0\x830\xa0\xe1\x010C\xe2\x000\x81\xe5\x00\xa8\x1b\xe9\r\xc0\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe35*\x82\xe2\x04
\x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5i4\xc3\xe3\xbf8\xc3\xe3?;\xc3\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\x04
\x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5\x1f0\xc3\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\x04
\x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5\x190\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\xe5\xf00\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\xe5\x7f;\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe3#b0
r <Timeout: 2 seconds>
w
$X826a,136:\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe36*\x82\xe2\xff7\xa0\xe36:\x83\xe2\x000\x93\xe5\b0\xc3\xe3\x000\x82\xe5\xff'\xa0\xe36*\x82\xe2\xff7\xa0\xe36:\x83\xe2\x000\x93\xe5\x100\xc3\xe3\x000\x82\xe5\xff\x17\xa0\xe36\x1a\x81\xe2\b\x10\x81\xe2\x000\xa0\xe1\x031\xa0\xe1\x000\x83\xe0\x03!\xa0\xe1\x020\x83\xe0\x830\xa0\xe1\x010C\xe2\x000\x81\xe5\x00\xa8\x1b\xe9\r\xc0\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe35*\x82\xe2\x04
\x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5i4\xc3\xe3\xbf8\xc3\xe3?;\xc3\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\x04
\x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5\x1f0\xc3\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\x04
\x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5\x190\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\xe5\xf00\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\xe5\x7f;\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe3#b0
r <Timeout: 2 seconds>
w
$X826a,136:\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe36*\x82\xe2\xff7\xa0\xe36:\x83\xe2\x000\x93\xe5\b0\xc3\xe3\x000\x82\xe5\xff'\xa0\xe36*\x82\xe2\xff7\xa0\xe36:\x83\xe2\x000\x93\xe5\x100\xc3\xe3\x000\x82\xe5\xff\x17\xa0\xe36\x1a\x81\xe2\b\x10\x81\xe2\x000\xa0\xe1\x031\xa0\xe1\x000\x83\xe0\x03!\xa0\xe1\x020\x83\xe0\x830\xa0\xe1\x010C\xe2\x000\x81\xe5\x00\xa8\x1b\xe9\r\xc0\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe35*\x82\xe2\x04
\x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5i4\xc3\xe3\xbf8\xc3\xe3?;\xc3\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\x04
\x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5\x1f0\xc3\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\x04
\x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5\x190\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\xe5\xf00\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\xe5\x7f;\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe3#b0
r <Timeout: 2 seconds>
w
$X826a,136:\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe36*\x82\xe2\xff7\xa0\xe36:\x83\xe2\x000\x93\xe5\b0\xc3\xe3\x000\x82\xe5\xff'\xa0\xe36*\x82\xe2\xff7\xa0\xe36:\x83\xe2\x000\x93\xe5\x100\xc3\xe3\x000\x82\xe5\xff\x17\xa0\xe36\x1a\x81\xe2\b\x10\x81\xe2\x000\xa0\xe1\x031\xa0\xe1\x000\x83\xe0\x03!\xa0\xe1\x020\x83\xe0\x830\xa0\xe1\x010C\xe2\x000\x81\xe5\x00\xa8\x1b\xe9\r\xc0\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe35*\x82\xe2\x04
\x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5i4\xc3\xe3\xbf8\xc3\xe3?;\xc3\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\x04
\x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5\x1f0\xc3\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\x04
\x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5\x190\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\xe5\xf00\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\xe5\x7f;\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe3#b0
r <Timeout: 2 seconds><Timeout: 2 seconds>
w -
r <Timeout: 2 seconds>
w -
r <Timeout: 2 seconds>
...
===============================================================
-- 
________________________________________________________________________
Pierre HABRAKEN - mailto:Pierre.Habraken@imag.fr
Tél: 04 76 82 72 83 - Fax: 04 76 82 72 87
IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex
________________________________________________________________________


  reply	other threads:[~2003-02-20 14:27 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-19 14:59 Pierre Habraken
2003-02-19 15:30 ` [ECOS] " Jonathan Larmour
2003-02-19 15:59   ` Pierre Habraken
2003-02-19 16:32     ` Jonathan Larmour
2003-02-19 17:14       ` Mark Salter
2003-02-19 17:35         ` Quality Quorum
2003-02-19 17:41           ` Mark Salter
2003-02-19 17:47             ` Gary D. Thomas
2003-02-19 17:59               ` Jonathan Larmour
2003-02-19 19:22                 ` Mark Salter
2003-02-20 14:27                   ` Pierre Habraken [this message]
2003-02-20 14:33                     ` Gary D. Thomas
2003-02-20 14:59                       ` Pierre Habraken
2003-02-21  8:06                         ` Pierre Habraken
2003-02-21 15:14                           ` Gary D. Thomas
2003-02-20 14:35                     ` Mark Salter
2003-02-20 14:38                     ` Andrew Lunn
2003-02-19 16:44     ` Mark Salter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E54E606.D1FDC422@imag.fr \
    --to=pierre.habraken@imag.fr \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=gary.thomas@mind.be \
    --cc=gdb@sources.redhat.com \
    --cc=jifl@eCosCentric.com \
    --cc=msalter@redhat.com \
    --cc=qqi@theworld.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox