From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19047 invoked by alias); 18 May 2006 10:13:21 -0000 Received: (qmail 19039 invoked by uid 22791); 18 May 2006 10:13:21 -0000 X-Spam-Check-By: sourceware.org Received: from gemmini.netco.de (HELO gemmini.netco.de) (82.100.245.3) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 18 May 2006 10:13:19 +0000 Received: from taurus (unknown [82.100.245.2]) by gemmini.netco.de (Mailserver NetCo GmbH) with ESMTP id BCE4E214782; Thu, 18 May 2006 11:58:34 +0200 (CEST) From: "Ram Sudhir Tadavarthi" To: "'Andrew Lunn'" Cc: Date: Thu, 18 May 2006 10:13:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <20060518095320.GW14082@lunn.ch> Message-Id: <20060518095834.BCE4E214782@gemmini.netco.de> Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: AW: [ECOS] gdb problem X-SW-Source: 2006-05/txt/msg00147.txt.bz2 Hi, Thanks a lot for the response. >> Hello, >> >> Aim: >> To get the gdb debugger working >> >> Target environment: >> Platform : Motorola PQ2FADS-ZU Board >> Processor: MPC 8280 (predecessor of MPC 8260) Clock frequency : 100MHz >> >> I have built a hello world eCos RAM application (hello.elf,hello.srec >from >> hello.c). If I load the hello.srec from redboot monitor via tftp and >execute >> it with "go" command. >> >> The output on the console is >> >> Init device '/dev/ttydiag' >> Init tty channel: 38170 >> Init device '/dev/haldiag' >> HAL/diag SERIAL init > >Try disabling these messages. The ethernet gdb stub can get itself >into knots if it is asked to output messages too soon during booting. I have disabled the messages but still the same response, no messages on console. GNU gdb 5.3 (eCosCentric) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-pc-cygwin --target=powerpc-eabi"... (gdb) target remote 192.168.20.238:9000 Remote debugging using 192.168.20.238:9000 0xfff16534 in ?? () (gdb) load Loading section .text, size 0x17068 lma 0x20000 Loading section .rodata, size 0xaa0 lma 0x37068 Loading section .data, size 0x754 lma 0x37b08 Start address 0x20000, load size 98908 Transfer rate: 65938 bits/sec, 507 bytes/write. (gdb) break main Breakpoint 1 at 0x205f0: file hello.c, line 5. (gdb) continue Continuing. and the network still works(checked with ping). Any other hint please? Thank you, Ram -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss