From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14117 invoked by alias); 24 Sep 2004 22:25:32 -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 14104 invoked from network); 24 Sep 2004 22:25:31 -0000 Received: from unknown (HELO zmaex.zma.zoran.com) (206.67.17.2) by sourceware.org with SMTP; 24 Sep 2004 22:25:31 -0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Remote communication error Date: Fri, 24 Sep 2004 22:25:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Lan Zhang" To: X-SW-Source: 2004-09/txt/msg00225.txt.bz2 I can access this address: (gdb-usb) x/i 0xec2d0 Sending packet: $mec2d0,4#5b...Ack Packet received: 1500000a target_xfer_memory (0xec2d0, xxx, 4, read, xxx) =3D 4, bytes =3D 15 00 00 0a 0xec2d0 : beq 0xec32c (gdb-usb)=20 The stop address is randomly, it can stop at any address, and I can access (read and write) any memory address before stopped. If I restart over, it would pass the last stopped address and stopped at a different place. That is why I think I didn't add my USB interface correctly into the GDB, or on my target.=20 Thanks a lot.=20 Lan =20 =20 -----Original Message----- From: Andrew Cagney [mailto:cagney@gnu.org]=20 Sent: Friday, September 24, 2004 6:09 PM To: Lan Zhang Cc: gdb@sources.redhat.com Subject: Re: Remote communication error > w + > c set debug serial 1 > c n > w $mec2b0,4#59 > r +$04e02de5#29 > w +$mec2b4,4#5d > ... > ... > ... > w +$mec2cc,4#8d > r +$000050e3#bd > w +$mec2d0,4#5b > r If this is deterministic then it looks like an attempt to read 0xec2d0=20 hangs your remote stub / machine :-( Instead of a NEXT, try: x/i 0xec2d0 after that, you've got a hardware problem. Andrew > r