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 mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/simulavr-devel