Blame src/arch/nt64/debug.c

65a872
#include <stdint.h>
65a872
#include <stddef.h>
65a872
#include <signal.h>
65a872
#include <unistd.h>
65a872
#include <sys/debug.h>
65a872
#include "psxdbg.h"
65a872
65a872
extern const struct __dbg_vtbl * __db_vtbl;
65a872
65a872
65a872
int __dbg_attach(pid_t pid)
65a872
{
65a872
	return __db_vtbl->dbg_attach(pid);
65a872
}
65a872
65a872
int __dbg_detach(int pfd)
65a872
{
65a872
	return __db_vtbl->dbg_detach(pfd);
65a872
}
65a872
65a872
int __dbg_spawn(const char * path, char ** argv, char ** envp)
65a872
{
65a872
	return __db_vtbl->dbg_spawn(path,argv,envp);
65a872
}
65a872
65a872
int __dbg_fork()
65a872
{
65a872
	return __db_vtbl->dbg_fork();
65a872
}
65a872
65a872
int __dbg_suspend(int pfd)
65a872
{
65a872
	return __db_vtbl->dbg_suspend(pfd);
65a872
}
65a872
65a872
int __dbg_kill(int pfd)
65a872
{
65a872
	return __db_vtbl->dbg_kill(pfd);
65a872
}
65a872
4085aa
int __dbg_rbreak(int pfd)
4085aa
{
4085aa
	return __db_vtbl->dbg_rbreak(pfd);
4085aa
}
4085aa
4085aa
int __dbg_tbreak(int pfd)
4085aa
{
4085aa
	return __db_vtbl->dbg_tbreak(pfd);
4085aa
}
4085aa
4085aa
int __dbg_lbreak(int pfd)
4085aa
{
4085aa
	return __db_vtbl->dbg_lbreak(pfd);
4085aa
}
4085aa
65a872
int __dbg_event_query_one(int pfd, struct __dbg_event * evt)
65a872
{
65a872
	return __db_vtbl->dbg_event_query_one(pfd,evt);
65a872
}
65a872
65a872
int __dbg_event_query_all(int pfd, struct __dbg_event evt[], int nelem)
65a872
{
65a872
	return __db_vtbl->dbg_event_query_all(pfd,evt,nelem);
65a872
}
65a872
65a872
int __dbg_event_acquire(int pfd, struct __dbg_event * evt)
65a872
{
65a872
	return __db_vtbl->dbg_event_acquire(pfd,evt);
65a872
}
65a872
65a872
int __dbg_event_respond(int pfd, struct __dbg_event * evt)
65a872
{
65a872
	return __db_vtbl->dbg_event_respond(pfd,evt);
65a872
}
65a872
65a872
int __dbg_query_cpid(int pfd)
65a872
{
65a872
	return __db_vtbl->dbg_query_cpid(pfd);
65a872
}
65a872
65a872
int __dbg_query_syspid(int pfd)
65a872
{
65a872
	return __db_vtbl->dbg_query_syspid(pfd);
65a872
}
65a872
65a872
int __dbg_common_error(void)
65a872
{
65a872
	return __db_vtbl->dbg_common_error();
65a872
}
65a872
65a872
int __dbg_native_error(void)
65a872
{
65a872
	return __db_vtbl->dbg_native_error();
65a872
}