daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Dec 1st, 2018 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. GNU gdb 5.1 (MiNT 20081102)
  2. Copyright 2001 Free Software Foundation, Inc.
  3. GDB is free software, covered by the GNU General Public License, and you are
  4. welcome to change it and/or distribute copies of it under certain conditions.
  5. Type "show copying" to see the conditions.
  6. There is absolutely no warranty for GDB.  Type "show warranty" for details.
  7. This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=m68k-atari-mint".
  8. (gdb) target remote localhost:1234
  9. Remote debugging using localhost:1234
  10. 0x00000400 in ?? ()
  11. (gdb) b *0x420
  12. Breakpoint 1 at 0x420
  13. (gdb) c
  14. Continuing.
  15.  
  16. Breakpoint 1, 0x00000420 in ?? ()
  17. (gdb) disassem $pc $pc+4
  18. Dump of assembler code from 0x420 to 0x424:
  19. 0x420:  moveml %d0-%d7,%a2@
  20. End of assembler dump.
  21. (gdb) set $pc=0x424
  22. (gdb) i r
  23. d0             0x99999999       -1717986919
  24. d1             0x0      0
  25. d2             0x0      0
  26. d3             0x0      0
  27. d4             0x99999999       -1717986919
  28. d5             0x0      0
  29. d6             0x0      0
  30. d7             0x0      0
  31. a0             0x0      0x0
  32. a1             0x0      0x0
  33. a2             0x200    0x200
  34. a3             0x0      0x0
  35. a4             0x0      0x0
  36. a5             0x0      0x0
  37. fp             0x0      0x0
  38. sp             0x800    0x800
  39. ps             0x2708   0x2708
  40. pc             0x424    0x424
  41. fpcontrol      0x200    0x200
  42. fpstatus       0x0      0x0
  43. fpiaddr        0x0      0x0
  44. (gdb) stepi
  45. 0x00000428 in ?? ()
  46. (gdb) stepi
  47. 0x0000042c in ?? ()
  48. (gdb) x 0x200
  49. 0x200:  0x00000000
  50. (gdb) set $d0 = 0xdeadbeef
  51. (gdb) set $pc=0x420
  52. (gdb) stepi
  53. 0x00000424 in ?? ()
  54. (gdb) x 0x200
  55. 0x200:  0xdeadbeef
  56. (gdb) :)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top