This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, I think a lot of people had gotten a problem is when you want change the commands of breakpoints or tracepoints when the commands is complicated. For example, maybe you just want to change one or two lines inside the commands, you need re-input all of them. And if you input something wrong, then all of commands that you input in before will be droped. Of course, you can use "save tracepoint xxx" "!vim xxx" "source xxx" handle it. But it is still cumbersome. So I thought why not let gdb call a editor set the commands of breakpoints and tracepoints? For example: commands -e 1 Then editor come out, the original commands of 1 is inside there. You can just change some lines in there to change the commands. What do you think about it? Any comments is always welcome. Thanks, Hui
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |