Modified the code to make good use of the GDB Python API.
Modified the code to make good use of the GDB Python API.

timtian090/Playground,timtian090/Playground,timtian090/Playground,timtian090/Playground,timtian090/Playground,timtian090/Playground,timtian090/Playground,timtian090/Playground,timtian090/Playground