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