changeset 3233:0e33931a6b39

Remove unwanted diag_printf().
author vae
date Mon, 29 Apr 2013 17:39:53 +0000
parents 79d84ff0523d
children f6b6832f951c
files packages/hal/cortexm/arch/current/ChangeLog packages/hal/cortexm/arch/current/src/cortexm_stub.c
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/cortexm/arch/current/ChangeLog
+++ b/packages/hal/cortexm/arch/current/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-29  Ilija Kocho  <ilijak@siva.com.mk>
+
+	* include/cortexm_stub.h: Remove unwanted diag_printf().
+
 2013-02-10  Ilija Kocho  <ilijak@siva.com.mk>
             Jonathan Larmour  <jifl@eCosCentric.com>
 
--- a/packages/hal/cortexm/arch/current/src/cortexm_stub.c
+++ b/packages/hal/cortexm/arch/current/src/cortexm_stub.c
@@ -282,10 +282,7 @@ int
 void __skipinst (void)
 {
     unsigned long pc = get_register(PC);
-    unsigned short a, b, *pc_p;
     pc += 2;
-    pc_p = (unsigned short *) pc; a=pc_p[0]; b=pc_p[1];
-    diag_printf("BP = 0x%04x 0x%04x\n", a, b);
     put_register(PC, pc);
 }