This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/12956] Watchpoint on invalid memory addressed is too slow,they should be 'pending' until allocated
- From: "yuri at tsoft dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 6 Jul 2011 01:38:17 +0000
- Subject: [Bug gdb/12956] Watchpoint on invalid memory addressed is too slow,they should be 'pending' until allocated
- Auto-submitted: auto-generated
- References: <bug-12956-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12956
--- Comment #2 from yuri at tsoft dot com 2011-07-06 01:37:32 UTC ---
> > watchpoint. Once the memory address becomes valid, gdb should change status to
> > hardware watchpoint. If the memory is deallocated again (with munmap or
> ^^^^^^^^^^^^^^^^^^^
> I guess you mean "software watchpoint" here.
No I meant hardware watchpoint. If requested memory address isn't available,
watchpoint is creates as "Pending". When it becomes available it becomes
hardware watchpoint.
On the platforms where mmap/brk/sbrk aren't available previous behavior should
be preserved.
--
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.