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
* [Bug external/13207] Provide a script to advance two versions of a program and find where they diverge.
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 ` 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
2 siblings, 0 replies; 4+ messages in thread
From: pedro at codesourcery dot com @ 2011-09-20 22:07 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13207
Pedro Alves <pedro at codesourcery dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pedro at codesourcery dot
| |com
--- Comment #1 from Pedro Alves <pedro at codesourcery dot com> 2011-09-20 22:04:45 UTC ---
Someone already writte something like that before, and posted it on the
gdb@ list. Something called twingdb. It check divergence based on line
numbers.
I'm sure it could be extended with a more controllable predicate for
divergence.
<http://permalink.gmane.org/gmane.comp.gdb.devel/27451>
Never used it myself though.
--
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
* [Bug external/13207] Provide a script to advance two versions of a program and find where they diverge.
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
2 siblings, 0 replies; 4+ messages in thread
From: pedro at codesourcery dot com @ 2011-09-20 22:14 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13207
--- Comment #2 from Pedro Alves <pedro at codesourcery dot com> 2011-09-20 22:06:47 UTC ---
I had the felling I already had seen a similar PR... See PR12938. Can we close
one of these as duplicate?
--
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
* [Bug external/13207] Provide a script to advance two versions of a program and find where they diverge.
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
2 siblings, 0 replies; 4+ messages in thread
From: dje at google dot com @ 2011-09-21 11:36 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13207
dje at google dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #3 from dje at google dot com 2011-09-20 22:15:12 UTC ---
closed as dup
*** This bug has been marked as a duplicate of bug 12938 ***
--
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).