On Wednesday, February 5, 2003, at 10:46 AM, John Marshall wrote:
Well, yes, I was going to comment on your wacky use of multiple separate
adjacent asm()s :-), but I thought it was just going to be a distraction.
[snip]
Typical!! I pasted a bad example! For all the reasons you stated, I normally use a single asm() statement, honest guv! The example I gave had been broken down so i could use GDB to single step each line. If it's all in a single statement then I've found it 'steps' the entire chunk of code, making debugging less than nice! I use GDB on MAC but I would prefer PDB for the MAC!!!The thing to do instead is to use a *single* asm():
Lately I have taken to using m68k-palmos-as instead and going back to loads of -n(%%a6) and +n(%%A6) operations, S&M is alive and well here! Why make it easy... ;-)
(Am I correct in thinking that, many enlightened hours of GDB later, that manually setting the language to 'asm' wpuld have allowed me to single step. step/stepi/next/nexti just didn't seem to cut it.)
Sean Charles.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
