[BRLTTY] Getting call stack in brltty

Nicolas Pitre nico at fluxnic.net
Tue Jun 24 11:01:49 EDT 2014


On Tue, 24 Jun 2014, Siddharth wrote:

> I want to be able to insert a stack_trace function at some location in the
> brltty code which details the flow of the program (from the beginning of
> execution to that line) when run.
> 
> What is the best way to do this?

You run brltty under gdb and put a breakpoint at the location you want a 
stack trace.  Once the breakpoint hits, you use gdb's backtrace command.


Nicolas


More information about the BRLTTY mailing list