+2008-10-09 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * debugger/mcs51/break.c: bugfix from patch 1989966, thanks Risto Huotari
+ * debugger/mcs51/simi.c: bugfix from patch 1989972, thanks Risto Huotari
+ * device/lib/_strcspn.c: fixed bug 2140931
+
2008-10-06 Raphael Neider <rneider AT web.de>
* device/include/pic16/stdio.h,
* device/lib/pic16/libc/stdio/strmgpsim.c,
device/lib/pic16/libc/stdio/strmmssp.c,
device/lib/pic16/libc/stdio/strmusart.c: cosmetic changes
-
+
* src/pic16/pcode.c (createReachingDefinitions): avoid segfault on
empty __naked functions,
* (pCodeLabelDestruct, pic16_unlinkpCode, pic16_pCodeUnlink): fix
if (!func)
{
- fprintf(stdout,"Stack underflow\n");
+ fprintf(stdout, "Stack underflow\n");
return 1;
}
- Dprintf(D_break, ("break: fexitCB: BP_CALLBACK entry %s %p\n",func->sym->name, p_callStack));
+ Dprintf(D_break, ("break: fexitCB: BP_CALLBACK entry %s %p\n", func->sym->name, p_callStack));
/* check main function */
- if ( STACK_EMPTY(callStack) && !strcmp(func->sym->name,"main"))
+ if ( !strcmp(func->sym->name, "main"))
{
- fprintf(stdout,"Program exited with code %d.\n",simGetValue (0x82,'I',2));
+ fprintf(stdout, "Program exited with code %d.\n", simGetValue (0x82,'I',2));
return 1;
}
return 0;