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

[Bug external/13207] New: Provide a script to advance two versionsof a program and find where they diverge.


http://sourceware.org/bugzilla/show_bug.cgi?id=13207

             Bug #: 13207
           Summary: Provide a script to advance two versions of a program
                    and find where they diverge.
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: external
        AssignedTo: unassigned@sourceware.org
        ReportedBy: dje@google.com
    Classification: Unclassified


Sometimes one has a debugging situation where a program worked yesterday, it
doesn't work today, and it's taking awhile to figure out where the breakage is.

IWBN to have a script that could advance two versions of a program and find
where they diverge.  Determining divergence can be tricky - functions may not
live at the same address and may be different (however slightly).  Maybe the
basic machinery of advance/test/repeat could be parameterized to handle the
easier scenarios and leave it at that.

Such a script feels like more of a contrib-like patch, than part of gdb proper,
but it still feels like something gdb could/should provide.
When it works, it's a real timesaver, and the basic infrastructure shouldn't be
that hard to write in python (and if it is then we've found good places where
python needs to be extended).

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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