OK, the information lists the break breakpoint, but not in one format, that is, using the --command Will it work well to reuse whether there is a way to dump them into an acceptable file for GDB files? Sometimes in the debugging session, it is necessary to restart GDB after creating a set of breakpoints for testing.
Edit: .gdbinit file has the same problem --command. Information is not a list of brake command commands, but a table for human consumption.
To expand, here is a sample sample information:
(gdb) Information Brake number type Disp And know whether 1 breakpoint Y 0x08048517 & lt; Foo :: bar (zero) + 7> As Gdb 7.2 now you can save the breakpoint command.
code> save breakpoints & lt; Filename & gt; Save all current breakpoint definitions later in the appropriate file for use in the debugging session. To read the saved breakpoint definition, use the `source 'command.
Comments
Post a Comment