avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Success running the testsuite with avrtest


From: Dmitry K.
Subject: Re: [avr-gcc-list] Success running the testsuite with avrtest
Date: Thu, 17 Jan 2008 10:57:36 +1000
User-agent: KMail/1.5

On Wednesday 16 January 2008 22:19, Paulo Marques wrote:
[...]
> Attached is a new version with the correction, that runs your test case
> just fine.
[...]

Congratulation, Paulo!

Alas, the first (add.c) is still unworked.

add.c:
  #define ABORT_PORT      0x49
  #define abort()         do { *(volatile char *)ABORT_PORT = 0; } while (0)

  int main ()
  {
    volatile unsigned char a = 1, b = 255;
    unsigned char c;

    if ((c = a + b) != 0) abort ();
    return 0;
  }

The second (cmp.c) is work fine now!

... But after renaming the file 'cmp.elf' into 
'This_is_a_very_small_test_to_destroy_the_avrtest\
_program_version_of_17_jan_2008_year_by_buffer\
_overflow_with_long_path_name.elf'
the result is: Segmentation fault.

Regards,
Dmitry.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]