Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » AVR-GCC
  • » [avr-gcc-list] problem with debbuggin with AVRStudio 4.12 and WinAvr [RSS Feed]

#1 Nov. 15, 2005 20:08:57

a.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] problem with debbuggin with AVRStudio 4.12 and WinAvr


Hi,

I built the following code with AVRStudio 4.12, WinAvr 20050214, AVR Gcc
3.4.3 and AVR libc 1.2.3 and debbugging with GDB 6.1 step by step.
Main regularly calls somma(e,r) . But after it's ended the control flow does
not return to main but after its last instruction ( exit()).

I thank you in advance.
Antonio


#include <avr/io.h>
int somma(int a, int b)
{
int c;
c=a+b;
return c;
}


int main ()
{
int r = 0;
r = somma(e,r);
r=r+1;
return r;
}



-------------------------------------------------------------------------
Visitahttp://domini.interfree.it, il sito di Interfree dove trovare
soluzioni semplici e complete che soddisfano le tue esigenze in Internet,
ecco due esempi di offerte:

- Registrazione Dominio: un dominio con 1 MB di spazio disco + 2 caselle
email a soli 18,59 euro
- MioDominio: un dominio con 20 MB di spazio disco + 5 caselle email
a soli 51,13 euro

Vieni a trovarci!

Lo Staff di Interfree
-------------------------------------------------------------------------



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

  • Root
  • » AVR-GCC
  • » [avr-gcc-list] problem with debbuggin with AVRStudio 4.12 and WinAvr [RSS Feed]

Board footer

Moderator control

Enjoy the 18th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support