public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug external/13207] New: Provide a script to advance two versions of a program and find where they diverge.
@ 2011-09-20 21:49 dje at google dot com
  2011-09-20 22:07 ` [Bug external/13207] " pedro at codesourcery dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dje at google dot com @ 2011-09-20 21:49 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-20 22:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-20 21:49 [Bug external/13207] New: Provide a script to advance two versions of a program and find where they diverge dje at google dot com
2011-09-20 22:07 ` [Bug external/13207] " pedro at codesourcery dot com
2011-09-20 22:14 ` pedro at codesourcery dot com
2011-09-21 11:36 ` dje at google dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).