[Avrora] (no subject)
decesco at cab.cnea.gov.ar
decesco at cab.cnea.gov.ar
Tue Sep 6 10:31:54 PDT 2005
Hi, i tried the verbose option but it doesnt seems to work.
the version of GDB is 'GNU gdb cvs-pre6.0-tinyos'
THIS IS THE AVRORA OUTPUT:
Administrator at cabsic15bis /opt/tinyos-1.x/apps/Blink/build/mica2
$ avrora -monitors=gdb -verbose=monitor.gdb main.od
Loading main.od...[OK: 0.484 seconds]
=={ Simulation events
}=======================================================
Node Time Event
------------------------------------------------------------------------------
0 0 --IN STARTUP PROBE @ 0x0000--
GDBServer listening on port 10001...
0 0 Connection established with: localhost
0 0 --> +$Hc-1#09
0 0 <-- $OK#9A
0 0 --> +$qC#b4
0 0 <-- $#00
0 0 --> +$qOffsets#4b
0 0 <-- $#00
0 0 --> +$?#3f
0 0 <-- $S05#B8
0 0 --> +$Hg0#df
0 0 <-- $OK#9A
0 0 --> +$g#67
0 0 <--
$0000000000000000000000000000000000000000000000000000000000000
00000000000000000#A0
0 0 --> +$m10c,1#8e
0 0 <-- $CF#89
0 0 --> +$m10c,1#8e
0 0 <-- $CF#89
0 0 --> +$Z0,82c,1#e0
0 0 <-- $OK#9A
0 0 --> +$Hc0#db
0 0 <-- $OK#9A
0 0 --> +$c#63
0 4395 Red: on
0 4397 Yellow: on
0 4399 Green: on
0 4401 Red: off
0 4403 Yellow: off
0 4405 Green: off
0 7212330 --IN BREAKPOINT PROBE @ 0x082C--
0 7212330 <-- $T05#B9
0 7212330 --> +$g#67
0 7212330 <--
$FF000000000000000000000000000000000100030500A10000000000FF100
301A3F5102C080000#65
THIS IS THE GDB OUTPUT
Administrator at cabsic15bis /opt/tinyos-1.x/apps/Blink/build/mica2
$ avr-gdb main.elf
GNU gdb cvs-pre6.0-tinyos
Copyright 2003 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.Type "show copying" to see the
conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) target remote:10001
Remote debugging using :10001
0x00000000 in __vectors ()
(gdb) break BlinkM.nc:88
Breakpoint 1 at 0x82c: file BlinkM.nc, line 88.
(gdb) list
45 module RealMain {
46 uses {
47 command result_t hardwareInit();
48 interface StdControl;
49 interface Pot;
50 }
51 }
52 implementation
53 {
54 int main() __attribute__ ((C, spontaneous)) {
(gdb) cont
Continuing.
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Im newbie with avrora and im looking for a good simulation frame with
debugging capabilities (nesC source level debugging) for tinyOS
application. You said you dont use gdb as a regular basis, what do you us
for debugging? Is avrora my intelligent choice? Or you can recomend other
tools or debugging methods?
Thanks
Bill
> Send Avrora mailing list submissions to
> avrora at lists.ucla.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora
> or, via email, send a message with subject or body 'help' to
> avrora-request at lists.ucla.edu
>
> You can reach the person managing the list at
> avrora-owner at lists.ucla.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Avrora digest..."
>
>
> Today's Topics:
>
> 1. Re: GDB (Ben L. Titzer)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 31 Aug 2005 14:32:42 -0700
> From: "Ben L. Titzer" <titzer at cs.ucla.edu>
> Subject: Re: [Avrora] GDB
> To: "Mailing list for Avrora simulator users and developers."
> <avrora at lists.ucla.edu>
> Message-ID: <66FFAF7D-C5F2-422B-8978-D022656C4648 at cs.ucla.edu>
> Content-Type: text/plain; charset="us-ascii"
>
>
> On Aug 30, 2005, at 5:09 AM, decesco at cab.cnea.gov.ar wrote:
>
>> hi,
>>
>> I have problems debugging a simple simulation with "avr-gdb". What
>> happens?, When I excecute the command 'continue' in gdb then the
>> Avrora
>> simulation don't respond or not receive any more instruction from
>> gdb and
>> run to the end.
>>
>> I always get the same error message in 'gdb':
>>
>> (gdb) continue
>> Continuing.
>> Ignoring packet error, continuing...
>> Ignoring packet error, continuing...
>> Ignoring packet error, continuing...
>>
>> Any help ?
>>
>
> I don't use GDB on a regular basis, but what version are you using?
> There is a verbose mode to enable Avrora-side debugging of the gdb
> connection: -verbose=monitor.gdb
>
> What happens if you specify that option?
>
> -B
>
>> Ing Nuclear Guillermo De Cesco
>> Centro Atomico Bariloche, CNEA
>> Bariloche, Rio Negro
>> Argentina
>>
>> _______________________________________________
>> Avrora mailing list
>> Avrora at lists.ucla.edu
>> http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora
>>
>
> ======================================================
> Imagination is more important than knowledge.
> -- Albert Einstein
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.ucla.edu/pipermail/avrora/attachments/20050831/575bb1b8/attachment-0001.html
>
> ------------------------------
>
> _______________________________________________
> Avrora mailing list
> Avrora at lists.ucla.edu
> http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora
>
>
> End of Avrora Digest, Vol 12, Issue 1
> *************************************
>
More information about the Avrora
mailing list