To: | |
---|---|
Subject: | Re: [ts-7000] Re: Segmentation Faults with Arrays greater than 64kB on TS-7260 |
From: | Andrew Taylor <> |
Date: | Wed, 4 Jul 2007 18:10:39 +1000 |
The code looks like a valid C to me - although I'd recommend replacing the use of macros with functions. The bug is I guess elsewhere. I strongly recommend using gcc's mudflap extension. It checks at runtime all array indices and pointer derefs. This can take the pain out of finding this sort of bug. I can't remember if mudflap is available on the arm but you want to debug on x86 if you can, so you run your program with valgrind. Valgrind picks up some illegal behaviour that mudflap doesn't and vice-versa. Andrew |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [ts-7000] Re: Segmentation Faults with Arrays greater than 64kB on TS-7260, geoffveale |
---|---|
Next by Date: | [ts-7000] Re: FAT USB memory stick, marcolamonato |
Previous by Thread: | [ts-7000] Re: Segmentation Faults with Arrays greater than 64kB on TS-7260, geoffveale |
Next by Thread: | Re: [ts-7000] Re: Segmentation Faults with Arrays greater than 64kB on TS-7260, mark_s |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU