gdb/1780: Edit code, recompile and go on debugging

ryo_saeba29@hotmail.com ryo_saeba29@hotmail.com
Sun Sep 19 13:18:00 GMT 2004


>Number:         1780
>Category:       gdb
>Synopsis:       Edit code, recompile and go on debugging
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 19 13:18:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     ryo_saeba29@hotmail.com
>Release:        (all versions)
>Organization:
>Environment:

>Description:
One killer feature would be to be able to change the code being debugged through source recompilation.

IE the following scenario:
* gdb hits a breakpoint, or code causes exception
* examine stack, current calls, incriminated code part
* change your code
* recompile the program
* gdb reloads modified program and goes on executing this modified version

This would really simplify debugging, as sometimes you get obscure errors / make stupid mistakes easy to correct but rerunning the program takes a while, and are glad to "dynamically" change the code being executed/debugged.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gdb-prs mailing list