Message board for the users of flat assembler.
> Projects and Ideas > FDBG - win64 Linux64 UEFI x64 AMD64 debugger
Goto page Previous 1, 2, 3 ... 9, 10, 11
I found the problem:
the variable "debug_ctl_available" was not declared in my source.
I wonder why Fasm did not report that.
Anyway, i managed to successfully compile the rest of fdbg together with my sources.
Now, I need to get the break mechanism to work.
Thanks to "revolution" for hinting me.
Thanks to "Feryno" for his indispensible Fdbg.efi.
|23 Apr 2015, 11:50||
Hi, two (not urgent) questions:
The "handle_exception" functions seems a simple wrapper around the "wait_command" function, giving it 8 reserved bytes on the stack.
What is the function of this wrapper, and is it needed?
Note that the rbp register must be preserved !
I do not use protected mode in my EFI projects.
So, is it save to remove the many alignment directives in code and data?
align 10h handle_exception ; in RCX pointer to registers ; N.B. the stack aligment is well known ; N.B. we may freely use all registers without push/pop them