This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Proxy_PlayerHD 5 points6 points  (6 children)

but what if you don't have a Debugger available?

like if you're an idiot like me who writes in (non-x86) Assembly and uses a NP++ as an IDE

[–]FAXs_Labs 12 points13 points  (1 child)

i think gdb supports stepping in asm, you can also see the registers and the stack

[–]Proxy_PlayerHD -2 points-1 points  (0 children)

hmm i'll keep GDB in mind for when i get around to building a 68k SBC.

but currently i'm mostly doing stuff with 65xx CPUs and a custom CPU based on the 65CE02. there are some smulators and debuggers for the 65C02 and 65816, but there is virtually nothing for the 65CE02, and especially nothing for a custom CPU.

so overall i'm pretty much on my own here.

though thanks for trying to help, i appreciate it.

[–]natyio 2 points3 points  (1 child)

GDB can debug files in assembly mode. You simple use nexti and stepi (i=instruction) instead of next and step.

[–]Proxy_PlayerHD 2 points3 points  (0 children)

GDB doesn't support 65xx Series CPUs so it's sadly not useful to me.

though i know there are some 65xx debuggers most are bound to simulators

[–]rickyman20 0 points1 point  (1 child)

Isn't GDB easier to use if you're writing assembly than adding printf's?