Began an observer-based system for handling breakpoints.
commitfbdf6ac8f5308d5a7e44f34fda02fd9c208767d8
authorstrange <kawk256@gmail.com>
Wed, 6 Jan 2010 22:40:38 +0000 (6 14:40 -0800)
committerstrange <kawk256@gmail.com>
Wed, 6 Jan 2010 22:40:38 +0000 (6 14:40 -0800)
tree715fc3ab9378e6bd3ca32d86499a79fecc8e7325
parent0122ab8ca17229436a026c90e0cbcc2300de052e
Began an observer-based system for handling breakpoints.

Basically, whenever a breakpoint is hit, a reverse iteration starts through
the list of breakpoint observers. A reverse iteration, since the last item in
the vector is typically the first one to be looking for. I'm not entirely
certain how long it will take to iterate through a vector with >50000 items,
though . . .

Whatever. I will quote PoppaVic again: "Make it work, then make it work right,
then make it fast or small (choose one)."
src/monitor/asm/Operand.cpp
src/monitor/ptrace/BreakpointObserver.cpp [new file with mode: 0644]
src/monitor/ptrace/BreakpointObserver.h [new file with mode: 0644]
src/monitor/ptrace/MallocObserver.cpp [new file with mode: 0644]
src/monitor/ptrace/MallocObserver.h [new file with mode: 0644]
src/monitor/ptrace/Portal.cpp
src/monitor/ptrace/Portal.h
src/monitor/ptrace/TrapObserver.cpp