Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Adam Nemet <anemet@caviumnetworks.com>
To: gdb-patches@sourceware.org
Subject: [PATCH] Typo in debug_to_remove_watchpoint
Date: Fri, 01 Dec 2006 21:39:00 -0000	[thread overview]
Message-ID: <17776.41195.148450.896980@localhost.localdomain> (raw)

It seems there is a cut-and-paste bug in debug_to_remove_watchpoint.
Please apply if OK.

Adam

2006-12-01  Adam Nemet  <anemet@caviumnetworks.com>

	* target.c (debug_to_remove_watchpoint): Call
	to_remove_watchpoint.  Print target_remove_watchpoint.

Index: target.c
===================================================================
RCS file: /cvs/src/src/gdb/target.c,v
retrieving revision 1.129
diff -F^\([(a-zA-Z0-9_]\|#define\) -u -p -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.129 target.c
--- target.c	21 Nov 2006 16:50:16 -0000	1.129
+++ target.c	1 Dec 2006 21:28:33 -0000
@@ -2360,10 +2360,10 @@ debug_to_remove_watchpoint (CORE_ADDR ad
 {
   int retval;
 
-  retval = debug_target.to_insert_watchpoint (addr, len, type);
+  retval = debug_target.to_remove_watchpoint (addr, len, type);
 
   fprintf_unfiltered (gdb_stdlog,
-		      "target_insert_watchpoint (0x%lx, %d, %d) = %ld\n",
+		      "target_remove_watchpoint (0x%lx, %d, %d) = %ld\n",
 		      (unsigned long) addr, len, type, (unsigned long) retval);
   return retval;
 }


             reply	other threads:[~2006-12-01 21:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-01 21:39 Adam Nemet [this message]
2006-12-05 20:38 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17776.41195.148450.896980@localhost.localdomain \
    --to=anemet@caviumnetworks.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox