* [PATCH] Typo in debug_to_remove_watchpoint
@ 2006-12-01 21:39 Adam Nemet
2006-12-05 20:38 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Adam Nemet @ 2006-12-01 21:39 UTC (permalink / raw)
To: gdb-patches
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;
}
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] Typo in debug_to_remove_watchpoint
2006-12-01 21:39 [PATCH] Typo in debug_to_remove_watchpoint Adam Nemet
@ 2006-12-05 20:38 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2006-12-05 20:38 UTC (permalink / raw)
To: Adam Nemet; +Cc: gdb-patches
On Fri, Dec 01, 2006 at 01:38:51PM -0800, Adam Nemet wrote:
> 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.
Thanks, Adam! I've applied this. If you have copyright assignment
covering GDB, and you would like write-after-approval access, please
let me know.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-05 20:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-01 21:39 [PATCH] Typo in debug_to_remove_watchpoint Adam Nemet
2006-12-05 20:38 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox