summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-08 12:40:15 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-09 00:50:35 +0900
commit039ae1184c7cc855e0435004ef8d5933424be43d (patch)
treea12e47dc2118d87da76b0d7381259c60dbc33424 /ddb
parent9c8ac9efd5385771481968bec7d161875108dd3d (diff)
ddb/db_break.c (db_find_thread_breakpoint_here): remove unnecessary cast
Variable addr is already of type db_addr_t. * ddb/db_break.c (db_find_thread_breakpoint_here) (addr): Don't cast to db_addr_t.
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_break.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ddb/db_break.c b/ddb/db_break.c
index b3f13c6..f94663a 100644
--- a/ddb/db_break.c
+++ b/ddb/db_break.c
@@ -181,7 +181,7 @@ db_find_thread_breakpoint_here(task, addr)
{
db_breakpoint_t bkpt;
- bkpt = db_find_breakpoint(task, (db_addr_t)addr);
+ bkpt = db_find_breakpoint(task, addr);
if (bkpt == 0)
return(0);
return(db_find_thread_breakpoint(bkpt, current_thread()));