define db monitor reg w$arg0av = $arg1 monitor reg w$arg0am = 0 monitor reg w$arg0dv = 0 monitor reg w$arg0dm = 0xFFFFFFFF monitor reg w$arg0cv = 0x108 monitor reg w$arg0cm = 0xFFFFFEF7 end document db db Configures data breakpoint (0 or 1 for ARM7TDMI) to break GDB at address . Set to some address that won't be accessed to disable the breakpoint. Get the latest version of this script from my site at: http://rod.info/arm.html Enjoy! - Rod Moffitt end