Is there a way to iterate over all my breakpoints in GDB and set a “command list” [ http://www.ofb.net/gnu/gdb/gdb_35.html ] ? I have about a 100 breakpoints and I want to run a set of commands for each of these breakpoints. Is anyone aware of how to do this? Thanks.
Share
cond <break-point#> <statement to execute>are you looking something like above?
EDIT:
you can try breakpoint range. From above link:-