X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fdbg.h;h=4749b18be5422d6a0bd63fe23890e863d3f7fc59;hb=140dee0eeaef9dd72080251ae536996bc7066c9c;hp=21cf3da5db7841404f26823f33a195b09b9152d4;hpb=a17dee1a1c8b135377d40b2ca4dc56fb16fd4446;p=cc65 diff --git a/include/dbg.h b/include/dbg.h index 21cf3da5d..4749b18be 100644 --- a/include/dbg.h +++ b/include/dbg.h @@ -38,12 +38,9 @@ * used for the debugger are quite usable even in another context, they * are declared here. * - * To use the debugger, just call DbgStart in your application. This will - * clear the screen and startup the debugger with the program counter - * pointing to the next instruction after the call to DbgStart. Once DbgStart - * has been executed, the debugger will also catch any BRK opcode. Use the - * BREAK function declared below to insert additional breakpoints into your - * code. + * To use the debugger, just call DbgInit in your application. Once it has + * been called, the debugger will catch any BRK opcode. Use the BREAK macro + * defined below to insert breakpoints into your code. * * There are currently a lot of things that cannot be debugged, graphical * applications are an example. The debugger does not save your screen @@ -64,7 +61,7 @@ /*****************************************************************************/ -/* Utuility functions */ +/* Utility functions */ /*****************************************************************************/ @@ -114,7 +111,7 @@ void __fastcall__ DbgInit (unsigned unused); * next brk encountered. */ -#define BREAK() __asm__ ("\tbrk") +#define BREAK() __asm__ ("brk") /* Use this to insert breakpoints into your code */ @@ -124,3 +121,4 @@ void __fastcall__ DbgInit (unsigned unused); +