public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/10679] New: replay mode should set can-use-hw-watchpoints 0
@ 2009-09-21 13:47 jan dot kratochvil at redhat dot com
2009-11-17 22:46 ` [Bug breakpoints/10679] " pedro at codesourcery dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2009-09-21 13:47 UTC (permalink / raw)
To: gdb-prs
gdb -nx -ex 'set confirm no' -ex start -ex record -ex c -ex reverse-continue -ex
'watch j' -ex c ./loopsimple
GNU gdb (GDB) 7.0.50.20090921-cvs
[...]
No more reverse-execution history.
main () at loopsimple.c:6
6 for (i = 0; i < 1000; i++)
Hardware watchpoint 2: j
Watchpoint 2 deleted because the program has left the block in
which its expression is valid.
__libc_start_main (main=<value optimized out>, argc=<value optimized out>,
ubp_av=<value optimized out>, init=<value optimized out>,
fini=<value optimized out>, rtld_fini=<value optimized out>,
stack_end=0x7fffffffd5a8) at libc-start.c:252
252 exit (result);
(gdb) _
But this way it works:
gdb -nx -ex 'set confirm no' -ex start -ex record -ex c -ex reverse-continue -ex
'set can-use-hw-watchpoints 0' -ex 'watch j' -ex c ./loopsimple
GNU gdb (GDB) 7.0.50.20090921-cvs
[...]
No more reverse-execution history.
main () at loopsimple.c:6
6 for (i = 0; i < 1000; i++)
Watchpoint 2: j
Watchpoint 2: j
Old value = 0
New value = 1
main () at loopsimple.c:6
6 for (i = 0; i < 1000; i++)
(gdb)
------------------------------------------------------------------------------
int
main (void)
{
int i, j;
for (i = 0; i < 1000; i++)
j = i;
return 0;
}
--
Summary: replay mode should set can-use-hw-watchpoints 0
Product: gdb
Version: unknown
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: breakpoints
AssignedTo: unassigned at sourceware dot org
ReportedBy: jan dot kratochvil at redhat dot com
CC: gdb-prs at sourceware dot org,teawater at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10679
------- 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] 4+ messages in thread
* [Bug breakpoints/10679] replay mode should set can-use-hw-watchpoints 0
2009-09-21 13:47 [Bug breakpoints/10679] New: replay mode should set can-use-hw-watchpoints 0 jan dot kratochvil at redhat dot com
@ 2009-11-17 22:46 ` pedro at codesourcery dot com
2009-11-23 5:09 ` teawater at gmail dot com
2009-11-23 12:51 ` pedro at codesourcery dot com
2 siblings, 0 replies; 4+ messages in thread
From: pedro at codesourcery dot com @ 2009-11-17 22:46 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From pedro at codesourcery dot com 2009-11-17 22:46 -------
Patches that add hw watchpoint functionality to the record target have been
posted.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
http://sourceware.org/bugzilla/show_bug.cgi?id=10679
------- 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] 4+ messages in thread
* [Bug breakpoints/10679] replay mode should set can-use-hw-watchpoints 0
2009-09-21 13:47 [Bug breakpoints/10679] New: replay mode should set can-use-hw-watchpoints 0 jan dot kratochvil at redhat dot com
2009-11-17 22:46 ` [Bug breakpoints/10679] " pedro at codesourcery dot com
@ 2009-11-23 5:09 ` teawater at gmail dot com
2009-11-23 12:51 ` pedro at codesourcery dot com
2 siblings, 0 replies; 4+ messages in thread
From: teawater at gmail dot com @ 2009-11-23 5:09 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From teawater at gmail dot com 2009-11-23 05:09 -------
Hi Pedro,
The hb is OK now. Do you think we can close this bug?
Thanks,
Hui
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=10679
------- 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] 4+ messages in thread
* [Bug breakpoints/10679] replay mode should set can-use-hw-watchpoints 0
2009-09-21 13:47 [Bug breakpoints/10679] New: replay mode should set can-use-hw-watchpoints 0 jan dot kratochvil at redhat dot com
2009-11-17 22:46 ` [Bug breakpoints/10679] " pedro at codesourcery dot com
2009-11-23 5:09 ` teawater at gmail dot com
@ 2009-11-23 12:51 ` pedro at codesourcery dot com
2 siblings, 0 replies; 4+ messages in thread
From: pedro at codesourcery dot com @ 2009-11-23 12:51 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From pedro at codesourcery dot com 2009-11-23 12:51 -------
Yes.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=10679
------- 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] 4+ messages in thread
end of thread, other threads:[~2009-11-23 12:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-21 13:47 [Bug breakpoints/10679] New: replay mode should set can-use-hw-watchpoints 0 jan dot kratochvil at redhat dot com
2009-11-17 22:46 ` [Bug breakpoints/10679] " pedro at codesourcery dot com
2009-11-23 5:09 ` teawater at gmail dot com
2009-11-23 12:51 ` pedro at codesourcery 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).