Re: Trying to use gdb on OS X
- Posted by jaygade Jun 09, 2013
- 3380 views
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.