I have breakpoints saved in a file, say gdb.br , the contents of the file are as follows:
br /project/src/file.c : 100
commands
silent
printf "\nbacktrace:\n"
bt
cont
end
. , :
br /project/src/file.c : 100
br className::methodName
- gdb copy-past. load .
gdb , :
gdb -p 1523 -x gdb.br
1523 - pid, . -x
intedent, , , .
, .