ts-7000
[Top] [All Lists]

[ts-7000] Re: Application crash after reapplying power to LCD with TS-72

To:
Subject: [ts-7000] Re: Application crash after reapplying power to LCD with TS-7260
From: "geoffveale" <>
Date: Tue, 26 Jun 2007 07:58:31 -0000
Thanks for the tips. I have yet to figure out how to use gdb. I assume
that it is simply a matter of compiling with the extra extension to
have additional debugging code included in the execute file. My usual
instruction to build my application is..

arm-unknown-linux-gnu-gcc -Wall -lm s4.c  -o s4 

I assume that to include debugging I would use..

arm-unknown-linux-gnu-gcc -Wall -lm -ggdb3 s4.c  -o s4

I tried this in cygwin and it seemed to work. My application size
increased from 70k to 142k, presumably all the extra debug info.
 
I did some looking on the web and found the gdb.pdf manual. It would
seem that I must have the gdb application resident on my TS-7260. Do I
need to build this debugger from source to suit the TS-7260 or can I
download it from somewhere?

PS. I found another error that could be that main problem. I had
created three dynamic float arrays using calloc, each of size 3065. In
later code I filled these arrays up to position 4095! Just a small
amount of overflow. I suspect that these overflowed arrays might have
been causing my apparent random crashes. What do you think?
 




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

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