#25855 - poslundc - Sun Aug 29, 2004 8:37 pm
I'm trying to debug a large piece of assembly code (3000 lines) that uses lots and lots of macros (using the GAS tags .macro and .endm).
Problem is that when GAS reports its errors, it gives me a line number with the macros expanded into the actual code, so I can't track down what line the error is occurring on.
Does anyone know of a way to get GAS to preprocess the code without actually attempting to assemble it, so I can find out what lines these errors are actually on? I couldn't find anything in the GAS man pages.
Thanks,
Dan.
Problem is that when GAS reports its errors, it gives me a line number with the macros expanded into the actual code, so I can't track down what line the error is occurring on.
Does anyone know of a way to get GAS to preprocess the code without actually attempting to assemble it, so I can find out what lines these errors are actually on? I couldn't find anything in the GAS man pages.
Thanks,
Dan.