Re: Trying to use gdb on OS X

new topic     » goto parent     » topic index » view thread      » older message » newer message

It's funny because the cast worked in gdb, just not in the code generated by gcc.

Okay, I'll undo my code and try to add a #ifdef EOSX to the existing #ifdef ARM or something and try that.

Wait a minute -- can't we cast to long and then to unsigned long? It's the cast of (-1) to unsigned long which is implementation defined right?

Idea which might be portable: in Dand_bits, cast to long, then in and_bits cast to unsigned long.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu