This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/1781: Edit code, recompile and go on debugging
- From: ryo_saeba29 at hotmail dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 19 Sep 2004 13:16:46 -0000
- Subject: gdb/1781: Edit code, recompile and go on debugging
- Reply-to: ryo_saeba29 at hotmail dot com
>Number: 1781
>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:01 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: