diff options
author | midipix <writeonce@midipix.org> | 2019-06-06 06:14:39 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-06-06 06:17:00 +0000 |
commit | 65a87239eea1cd2d3e5c5ffad60b6060a4a25996 (patch) | |
tree | baf230c5a5b421c8fbe80550ec9b51d88ab2c065 /src/arch/nt32/crt_glue.c | |
parent | 7f1932233ffb6802f419742920166d19c230c936 (diff) | |
download | mmglue-65a87239eea1cd2d3e5c5ffad60b6060a4a25996.tar.bz2 mmglue-65a87239eea1cd2d3e5c5ffad60b6060a4a25996.tar.xz |
debug interfaces: provide dbg_* interfaces as wrappers around struct __db_vtbl.
Diffstat (limited to 'src/arch/nt32/crt_glue.c')
-rw-r--r-- | src/arch/nt32/crt_glue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/nt32/crt_glue.c b/src/arch/nt32/crt_glue.c index cd35d52..a710c39 100644 --- a/src/arch/nt32/crt_glue.c +++ b/src/arch/nt32/crt_glue.c @@ -9,6 +9,7 @@ extern const struct __ldso_vtbl * __ldso_vtbl; extern const struct __psx_vtbl * __psx_vtbl; extern const struct __seh_vtbl * __eh_vtbl; +extern const struct __dbg_vtbl * __db_vtbl; static int __pthread_surrogate_init(struct pthread * self); @@ -86,6 +87,7 @@ void __libc_entry_routine( __ldso_vtbl = ctx.ldso_vtbl; __psx_vtbl = ctx.psx_vtbl; __eh_vtbl = ctx.seh_vtbl; + __db_vtbl = ctx.dbg_vtbl; __teb_sys_idx = ctx.teb_sys_idx; __teb_libc_idx = ctx.teb_libc_idx; |