Menu

#26 Unresolved DebugBreak in x86mingw32ce

closed-fixed
w32api (7)
5
2009-10-22
2009-10-15
No

DebugBreak() is defined as import declaration for non-arm but it's not exported from the coredll.

Discussion

  • Danny Backx

    Danny Backx - 2009-10-20

    Your statement is true.
    But coredll doesn't support the DebugBreak api :
    \network\x86> testapi coredll DebugBreak
    coredll doesn't know about DebugBreak
    \network\x86>

    So could you explain what you want me to do about this bug report and why it would improve things ?
    I am a bit puzzled but I have to admit that this (DebugBreak) is a strange API.

     
  • Danny Backx

    Danny Backx - 2009-10-20
    • assigned_to: nobody --> dannybackx
     
  • Ivan Maidanski

    Ivan Maidanski - 2009-10-20

    DebugBreak() should be defined as a macro to something similar to __asm int 3 (expressed in gnu assembler, of course).

     
  • Ivan Maidanski

    Ivan Maidanski - 2009-10-20

    If you look into VC++ CE kfuncs.h, I'll see the definition of it for various targets.

     
  • Danny Backx

    Danny Backx - 2009-10-20

    Defining it as a macro that expands to the well known x86 pseudo-instruction does make sense.
    I will do that.

    For the record :
    - that's not the same thing as having it exported from coredll
    - I don't want to copy a definition from Visual C++ : that would violate copyrights.

    Thanks for the input

     
  • Danny Backx

    Danny Backx - 2009-10-22
    • status: open --> closed-fixed
     

Log in to post a comment.