junwha / gdb-context-sensitive-breakpoint

we can insert a breakpoint context-sensitively (checking backtrace)

Repository from Github https://github.comjunwha/gdb-context-sensitive-breakpointRepository from Github https://github.comjunwha/gdb-context-sensitive-breakpoint

gdb-context-sensitve-breakpoint

This is a gdb wrapper that supports callstack based breakpoint.

Usage

./insert_breakpoint.sh ... : it inserts breakpoint only if p1, p2, ... pn successively occurs in the target's stack frame (but other functions can be placed between the given parents)

./insert_direct_breakpoint.sh ... : it inserts breakpoint only if p1, p2, ... pn successively occurs in the target's stack frame

./gdb : gdb wrapper with the breakpoints

./reset_breakpoint.sh: flush all breakpoints

source env.sh: if you execute this command inside this directory, you can use all of above scripts without "./" prefix

About

we can insert a breakpoint context-sensitively (checking backtrace)

License:Apache License 2.0


Languages

Language:Shell 68.2%Language:Python 31.8%