Grant,

I can see that on this forum and the ones on SparkFun there are questions asked which flag the writer as a novice. But we all started programming at one time. For me that was in the early 1960s and the programmers weren't particularly helpful. In fact they told me that engineers couldn't learn to program and I should just give it up.

Aside from that, it takes about as long to be helpful as not. Just a tip about where to start looking for an answer is always appreciated.

A healthy respect for gcc and gdb is good -- I've never found a bug in gcc but I did spend about three weeks tracking a problem that turned out to be an artifact of gcc on ARM. Like clever assembly language programmers, gcc does a jump to function B if the last call in function A is a call to function B. That happened to break my task switcher when the clock tick happened right after the jump - something that appeared to be random.

Programming isn't for everyone .. just those who can beat their head against the wall for days on end.

Sincerely,

David Smead
www.amplepower.com
www.amplepower.net


On Mon, 20 Aug 2007, Grant Edwards wrote:

On 2007-08-20, David Smead <[email protected]> wrote:

Your problem is not gdb, but with the C language.

:)

He was told that when he posted the exact same question/code in
the MSP430 mailing list (the yahoo one) a week or two back.  He
apparently didn't like that answer so he decided to ask
somewhere else.

About a quarter of the postings in that list are from people
who are missing more than a few clues regarding the C language,
so they claim there's something wrong with their compiler.
Needless to say, there almost never is anything wrong with the
compilers, and the poor guys who are trying to support the
compilers spend much of their time teaching a junior-high
school level "Intro to C" class to people who refuse to listen.

--
Grant Edwards                   grante             Yow! Pardon me, but do you
                                 at               know what it means to be
                              visi.com            TRULY ONE with your BOOTH!


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users


Reply via email to