public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/9313] Checkpoints not saved on restart
       [not found] <20061204163801.9313.uri@4refs.com>
@ 2009-01-20  0:33 ` pedro at codesourcery dot com
  2009-01-20 18:58 ` uri at 4refs dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: pedro at codesourcery dot com @ 2009-01-20  0:33 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From pedro at codesourcery dot com  2009-01-20 00:33 -------
I just tried this out with current mainline, and I couldn't figure out any wrong
behaviour.  Could you please try this out with current mainline gdb?

If things still look wrong to you, then please could you paste a full log of the
session, showing more clearly what is wrong?  The way it's reported, it makes us
have to reproduce the issue every time we want to remember gdb's output.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug c++/9313] Checkpoints not saved on restart
       [not found] <20061204163801.9313.uri@4refs.com>
  2009-01-20  0:33 ` [Bug c++/9313] Checkpoints not saved on restart pedro at codesourcery dot com
@ 2009-01-20 18:58 ` uri at 4refs dot com
  2009-01-21 15:51 ` uri at 4refs dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: uri at 4refs dot com @ 2009-01-20 18:58 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From uri at 4refs dot com  2009-01-20 18:58 -------
Confirmed still exists in 6.8 but fixed in 6.8.50.20090119.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug c++/9313] Checkpoints not saved on restart
       [not found] <20061204163801.9313.uri@4refs.com>
  2009-01-20  0:33 ` [Bug c++/9313] Checkpoints not saved on restart pedro at codesourcery dot com
  2009-01-20 18:58 ` uri at 4refs dot com
@ 2009-01-21 15:51 ` uri at 4refs dot com
  2009-01-21 15:53 ` uri at 4refs dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: uri at 4refs dot com @ 2009-01-21 15:51 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From uri at 4refs dot com  2009-01-21 15:51 -------
This is not so much a bug as it is a feature request. I think it should be
possible to implement this feature using the new Python interface but I haven't
tried yet. I can almost use a hook for this purpose:

.gdbinit:
define hookpost-restart
checkpoint
end

This hook isn't ideal though. First, it creates the checkpoint even if the
original checkpoint hasn't moved. Second, while that location in program
execution is saved through the new checkpoint, the original number moves.

.gdbinit:
define hookpost-restart-and-move
checkpoint
restart $last
end

With this behavior, the checkpoint behaves more like a CVS tag (once created it
can never be moved) than a branch.

This behavior makes more sense because in my mental model a checkpoint is a
point of execution, not a process. Using the example from the documentation,
when you bookmark a page, you are thinking of the last page you read, not page
697 because the number isn't useful to you except to find the last page you
read. This behavior would make even more sense if GDB added a new feature to
label checkpoints like variables (ie "set $packetSent = checkpoint").

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug c++/9313] Checkpoints not saved on restart
       [not found] <20061204163801.9313.uri@4refs.com>
                   ` (2 preceding siblings ...)
  2009-01-21 15:51 ` uri at 4refs dot com
@ 2009-01-21 15:53 ` uri at 4refs dot com
  2009-01-21 18:21 ` pedro at codesourcery dot com
  2010-02-09 17:21 ` [Bug gdb/9313] " tromey at redhat dot com
  5 siblings, 0 replies; 6+ messages in thread
From: uri at 4refs dot com @ 2009-01-21 15:53 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From uri at 4refs dot com  2009-01-21 15:53 -------
I meant to comment on this PR instead of PR9314.

-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug c++/9313] Checkpoints not saved on restart
       [not found] <20061204163801.9313.uri@4refs.com>
                   ` (3 preceding siblings ...)
  2009-01-21 15:53 ` uri at 4refs dot com
@ 2009-01-21 18:21 ` pedro at codesourcery dot com
  2010-02-09 17:21 ` [Bug gdb/9313] " tromey at redhat dot com
  5 siblings, 0 replies; 6+ messages in thread
From: pedro at codesourcery dot com @ 2009-01-21 18:21 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug gdb/9313] Checkpoints not saved on restart
       [not found] <20061204163801.9313.uri@4refs.com>
                   ` (4 preceding siblings ...)
  2009-01-21 18:21 ` pedro at codesourcery dot com
@ 2010-02-09 17:21 ` tromey at redhat dot com
  5 siblings, 0 replies; 6+ messages in thread
From: tromey at redhat dot com @ 2010-02-09 17:21 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |gdb


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2010-02-09 17:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20061204163801.9313.uri@4refs.com>
2009-01-20  0:33 ` [Bug c++/9313] Checkpoints not saved on restart pedro at codesourcery dot com
2009-01-20 18:58 ` uri at 4refs dot com
2009-01-21 15:51 ` uri at 4refs dot com
2009-01-21 15:53 ` uri at 4refs dot com
2009-01-21 18:21 ` pedro at codesourcery dot com
2010-02-09 17:21 ` [Bug gdb/9313] " tromey at redhat 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).