Somewhere in the last week --debug stopped working. The assembler gives errors on the generated debug labels.
No, I'm mistaken. It has been broken longer already.
I can't seem to reproduce this. Could you give an example of a debug label that's generating an error along with the error message?
You might also want to try invoking sdcc with the -V option (in addition to whatever else you are using) so that it will show how/where it is invoking the assembler to make sure it is using the right assembler, in case you have more than one version installed.
Ok, I just tried on a fresh debian install on a fresh virtual machine with a fresh subversion checkout and I only modified support/regression/ports/mcs51-common/spec.mk with an extra --debug flag after SDCCFLAGS.
When I run make test-mcs51-small I get lots of these:
gen/mcs51-small/testfwk.asm:141: Error: <o> .org in REL area or directive / mnemonic error
And testfwk.asm:141 is:
The full path isn't supposed to be in the debugging symbol. FileBaseName() appears to have suffered a recent regression.
Fixed in revision #7488.
Mea culpa, sorry and thanks.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.