mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-08 12:18:31 +00:00
Get GDB working
Some checks failed
build / matrix_on_mode () (push) Has been cancelled
build / matrix_on_mode (optlinux) (push) Has been cancelled
build / matrix_on_mode (rel) (push) Has been cancelled
build / matrix_on_mode (tiny) (push) Has been cancelled
build / matrix_on_mode (tinylinux) (push) Has been cancelled
Some checks failed
build / matrix_on_mode () (push) Has been cancelled
build / matrix_on_mode (optlinux) (push) Has been cancelled
build / matrix_on_mode (rel) (push) Has been cancelled
build / matrix_on_mode (tiny) (push) Has been cancelled
build / matrix_on_mode (tinylinux) (push) Has been cancelled
You can now say `gdb hello.com.dbg` and it'll work perfectly.
This commit is contained in:
parent
afc986f741
commit
fbc4fcbb71
18 changed files with 230 additions and 67 deletions
|
@ -30,8 +30,8 @@
|
|||
// @note slower than __sysv2nt
|
||||
// @see NT2SYSV() macro
|
||||
__nt2sysv:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
beg
|
||||
pro
|
||||
sub $256,%rsp
|
||||
push %rbx
|
||||
push %rdi
|
||||
|
@ -48,6 +48,7 @@ __nt2sysv:
|
|||
pop %rsi
|
||||
pop %rdi
|
||||
pop %rbx
|
||||
leave
|
||||
epi
|
||||
ret
|
||||
end
|
||||
.endfn __nt2sysv,globl,hidden
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue