#1985 --debug broken

closed-fixed
Debugger (15)
5
2013-05-25
2012-03-25
No

Somewhere in the last week --debug stopped working. The assembler gives errors on the generated debug labels.

Discussion

  • Maarten Brock

    Maarten Brock - 2012-03-25

    No, I'm mistaken. It has been broken longer already.

     
  • Erik Petrich

    Erik Petrich - 2012-03-26

    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.

     
  • Maarten Brock

    Maarten Brock - 2012-03-26

    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:
    C$fwk/lib/testfwk.c$29$1$22 ==.

     
  • Erik Petrich

    Erik Petrich - 2012-03-26

    The full path isn't supposed to be in the debugging symbol. FileBaseName() appears to have suffered a recent regression.

    Fixed in revision #7488.

     
  • Erik Petrich

    Erik Petrich - 2012-03-26
    • labels: 101550 --> Debugger
    • milestone: --> fixed
    • assigned_to: nobody --> epetrich
    • status: open --> closed-fixed
     
  • Borut Ražem

    Borut Ražem - 2012-03-26

    Mea culpa, sorry and thanks.

    Borut

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks