This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Re: MIPS32 gdb vectors question


Here's the latest output...


 /ecos-c/mips/acacia/ecos/examples
$ mipsisa32-elf-gdb.exe twothreads
GNU gdb 5.3
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=mipsisa32-elf"...
(gdb) set remotebaud 115200
(gdb) load
You can't do that when your target is `exec'
(gdb) target remote com2
Remote debugging using com2
?? () at fp-bit.c:183
183     {
Current language:  auto; currently c
(gdb) load
Loading section .rom_vectors, size 0xcc lma 0x80500000
Loading section .text, size 0x42c28 lma 0x805000cc
Loading section .rodata, size 0x3f00 lma 0x80542cf8
Loading section .data, size 0x20a38 lma 0x80546bf8
Loading section .ctors, size 0x58 lma 0x80567630
Loading section .dtors, size 0x40 lma 0x80567688
Loading section .devtab, size 0x260 lma 0x805676c8
Start address 0x805000bc, load size 424228
Transfer rate: 80805 bits/sec, 248 bytes/write.
(gdb) b simple_program
Breakpoint 1 at 0x805028e0: file twothreads.c, line 54.
(gdb) cont
Continuing.
[cyg_net_init] Init: mbinit(0x00000000)
[cyg_net_init] Init: cyg_net_init_devs(0x00000000)
Init device 'i82559_eth0'
Init device 'idt7932438_eth1'
eth1 XXX: driver didn't set ifq_maxlen
[cyg_net_init] Init: loopattach(0x00000000)
[cyg_net_init] Init: ifinit(0x00000000)
IFP: 0x805668dc, next: 0x805b2bd0
IFP: 0x805b2bd0, next: 0x00000000
[cyg_net_init] Init: domaininit(0x00000000)
[cyg_net_init] Init: cyg_net_add_domain(0x80567328)
New domain internet at 0x00000000
[cyg_net_init] Init: cyg_net_add_domain(0x80566d14)
New domain route at 0x00000000
[cyg_net_init] Init: cyg_route_init(0x00000000)
[cyg_net_init] Done
Entering twothreads' cyg_user_start() function
[New Thread 5]

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 5]
?? () at fp-bit.c:183
183     {
(gdb) s

Breakpoint 1, ?? () at fp-bit.c:183
183     {
(gdb) s

Breakpoint 1, ?? () at fp-bit.c:183
183     {
(gdb)

Seems the breakpoint seems not to be working; suggestions?  Also, if no
breakpoints are set it runs fine.. Still testing..

tmichals
----- Original Message -----
From: "Jonathan Larmour" <jifl at eCosCentric dot com>
To: "Tim Michals" <t dot michals at attbi dot com>
Cc: "Nick Garnett" <nickg at ecoscentric dot com>;
<ecos-discuss at sources dot redhat dot com>
Sent: Thursday, February 27, 2003 10:34 PM
Subject: Re: [ECOS] MIPS32 gdb vectors question


> Tim Michals wrote:
> > downloaded latest and greatest and still getting the following from gdb:
> > (gdb) target remote com2
> > Remote debugging using com2
> > Remote packet too long:
> [snip]
> > thoughts?
>
> You realise you have to rebuild redboot, not just your app right? :-)
>
> Jifl
> --
> eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
> --[ "You can complain because roses have thorns, or you ]--
> --[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine
>
>



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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