Quoting "Dmitry K." <[EMAIL PROTECTED]>:
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!
Thanks,
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!
I only add time to look at one the programs, and assumed they had the
same problem. I'll look into it.
... 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.
This is a feature, of course. If you give your program such a ugly
name, avrtest refuses to execute it. But if you don't like it, I'll fix
that for the next version ;)
--
Paulo Marques
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list