On 2007-06-18, msp430user <[email protected]> wrote:

> The problem with this fix is that the variable will be global
> and always exist. If I begin to declare variables in this way,
> I will end up using much or all of my memory.

You only need one byte.  That's hardly "all of memory".

> That is why I always use local variables as much as possible.
>
> Is there any fix to this bug?

Not that I'm aware of.

>Are they planning on fixing it?

Who's "they"?

Are you planning on fixing it?

> the most important thing is the known bug in gdb, when it
> cannot load symbols from the image, where is no data section
> exists.

Apparently it hasn't bothered anybody enough that they've felt
like fixing it.

> the led example does not :)

Does not what?

> so, if you put in this test something like
>
> int dummy = 1;
>
> before main, that will solve most problems...

In all my projects I ended up with one or two initialized
variables anyway, so I've never taken the time to fix the
problem.

-- 
Grant Edwards                   grante             Yow!  UH-OH!! I put on
                                  at               "GREAT HEAD-ON TRAIN
                               visi.com            COLLISIONS of the 50's"
                                                   by mistake!!!


Reply via email to