#137 Little SDL debugger BUG

Will not fix
closed-out-of-date
nobody
5
2015-04-04
2013-09-01
sime1
No

little bug in the SDL debugger, which most of the times doesn't set breaks on arm. I fixed it by myself, so I upload the source fixed

1 Attachments

Discussion

  • Please do not attach full source, patches only.

     
  • skid
    skid
    2015-04-04

    The code it patches is now obsolete. For reference, this is the patch:

    --- /trunk/src/sdl/debugger.cpp Sat Apr 04 20:15:11 2015
    +++ /trunk/src/sdl/debugger.cpp Sat Apr 04 21:58:40 2015
    @@ -226,8 +226,8 @@
    {
    if(size)
    debuggerWriteMemory(address, (u32)(0xe1200070 |
    - (num & 0xf) |
    - ((num<<4)&0xf0)));
    + (num & 0xf) | //least significant digit
    + ((num<<4)&0xfff00))); //other digits; the second digit is untouched because need to be 7 in order to generate a breakpoint
    else
    debuggerWriteHalfWord(address,
    (u16)(0xbe00 | num));

     
  • skid
    skid
    2015-04-04

    • status: open --> closed-out-of-date
    • Group: Unverified --> Will not fix