public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Ram Sudhir Tadavarthi" <ram.tadavarthi@netco.de>
To: "'Andrew Lunn'" <andrew@lunn.ch>
Cc: <ecos-discuss@ecos.sourceware.org>
Subject: AW: [ECOS] gdb problem
Date: Thu, 18 May 2006 10:13:00 -0000	[thread overview]
Message-ID: <20060518095834.BCE4E214782@gemmini.netco.de> (raw)
In-Reply-To: <20060518095320.GW14082@lunn.ch>


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

  reply	other threads:[~2006-05-18 10:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-18  9:46 Ram Sudhir Tadavarthi
2006-05-18  9:53 ` Andrew Lunn
2006-05-18 10:13   ` Ram Sudhir Tadavarthi [this message]
2006-05-18 11:58 AW: " Ram Sudhir Tadavarthi

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=20060518095834.BCE4E214782@gemmini.netco.de \
    --to=ram.tadavarthi@netco.de \
    --cc=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).