Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GNU gdb 5.1 (MiNT 20081102)
- Copyright 2001 Free Software Foundation, Inc.
- GDB is free software, covered by the GNU General Public License, and you are
- welcome to change it and/or distribute copies of it under certain conditions.
- Type "show copying" to see the conditions.
- There is absolutely no warranty for GDB. Type "show warranty" for details.
- This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=m68k-atari-mint".
- (gdb) target remote localhost:1234
- Remote debugging using localhost:1234
- 0x00000400 in ?? ()
- (gdb) b *0x420
- Breakpoint 1 at 0x420
- (gdb) c
- Continuing.
- Breakpoint 1, 0x00000420 in ?? ()
- (gdb) disassem $pc $pc+4
- Dump of assembler code from 0x420 to 0x424:
- 0x420: moveml %d0-%d7,%a2@
- End of assembler dump.
- (gdb) set $pc=0x424
- (gdb) i r
- d0 0x99999999 -1717986919
- d1 0x0 0
- d2 0x0 0
- d3 0x0 0
- d4 0x99999999 -1717986919
- d5 0x0 0
- d6 0x0 0
- d7 0x0 0
- a0 0x0 0x0
- a1 0x0 0x0
- a2 0x200 0x200
- a3 0x0 0x0
- a4 0x0 0x0
- a5 0x0 0x0
- fp 0x0 0x0
- sp 0x800 0x800
- ps 0x2708 0x2708
- pc 0x424 0x424
- fpcontrol 0x200 0x200
- fpstatus 0x0 0x0
- fpiaddr 0x0 0x0
- (gdb) stepi
- 0x00000428 in ?? ()
- (gdb) stepi
- 0x0000042c in ?? ()
- (gdb) x 0x200
- 0x200: 0x00000000
- (gdb) set $d0 = 0xdeadbeef
- (gdb) set $pc=0x420
- (gdb) stepi
- 0x00000424 in ?? ()
- (gdb) x 0x200
- 0x200: 0xdeadbeef
- (gdb) :)
Add Comment
Please, Sign In to add comment