This is the mail archive of the gdb-prs@sources.redhat.com 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]

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


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]