[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simulavr-devel] Error during debug with gdb
From: |
BretBorman |
Subject: |
[Simulavr-devel] Error during debug with gdb |
Date: |
Mon, 20 Jun 2005 13:42:37 -0400 |
Hello,
Looking to find out the source of the error:
"Unhandled dwarf expression opcode 0x93"
I am running a program through the gdb, and when I do a p i command to look at
the 'i' variable, I get the error code
above. the source code is below. Don't know if this is a simulavr, or gdb,
or operator error thing.
----------------------------------------------
#include <avr/io.h>
#include <avr/delay.h>
int main (void)
{
int i=0;
//set PORTD for output
DDRC = 0xff; //LEDs off
//do wait till switch press loop
while(PORTD == 0xff)
{
i=i;
}
while(1)
{
for(i=1; i<= 128; i= i*2)
{
PORTC = i;
_delay_loop_2(1);
}
for(i= 128; i> 1; i-= i/2)
{
PORTC = i;
_delay_loop_2(1);
}
}
return 1;
}
Any thoughts would be helpful. Thanks.
Bret Borman
- [Simulavr-devel] Error during debug with gdb,
BretBorman <=