This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AW: gdb problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]