Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [patch]: inform user that a watchpoint is hit
@ 2009-08-14 13:15 Chandru
  2009-08-15 10:57 ` Doug Evans
  0 siblings, 1 reply; 9+ messages in thread
From: Chandru @ 2009-08-14 13:15 UTC (permalink / raw)
  To: gdb-patches

When a program is restarted within gdb, the initial breakpoint hit messages are
not outputted on to the screen. Inform the user that a watchpoint has been hit

Signed-off-by: Chandru Siddalingappa <chandru@ilinux.vnet.ibm.com>
---

--- gdb/breakpoint.c.orig	2009-08-14 17:53:06.000000000 +0530
+++ gdb/breakpoint.c	2009-08-14 17:54:02.000000000 +0530
@@ -842,6 +842,9 @@ update_watchpoint (struct breakpoint *b,
   struct bp_location *loc;
   bpstat bs;
 
+  if (breakpoint_enabled (b))
+      mention(b);
+
   unlink_locations_from_global_list (b);
   for (loc = b->loc; loc;)
     {


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

end of thread, other threads:[~2009-08-27  7:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-14 13:15 [patch]: inform user that a watchpoint is hit Chandru
2009-08-15 10:57 ` Doug Evans
2009-08-15 12:22   ` Chandru
2009-08-18 17:31     ` Doug Evans
2009-08-19  8:05       ` Chandru
2009-08-19 13:03         ` Jan Kratochvil
2009-08-24 11:27           ` Chandru
2009-08-27  7:45             ` Chandru
2009-08-27  8:26               ` Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox