Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/usermode/include Add headers for support functions ...



details:   https://anonhg.NetBSD.org/src/rev/abe5ddf81076
branches:  trunk
changeset: 834185:abe5ddf81076
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Wed Aug 01 09:46:46 2018 +0000

description:
Add headers for support functions for  kgdb

diffstat:

 sys/arch/usermode/include/thunk.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r a08d377836ce -r abe5ddf81076 sys/arch/usermode/include/thunk.h
--- a/sys/arch/usermode/include/thunk.h Wed Aug 01 09:46:16 2018 +0000
+++ b/sys/arch/usermode/include/thunk.h Wed Aug 01 09:46:46 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: thunk.h,v 1.65 2018/06/04 19:53:01 reinoud Exp $ */
+/* $NetBSD: thunk.h,v 1.66 2018/08/01 09:46:46 reinoud Exp $ */
 
 /*-
  * Copyright (c) 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -127,6 +127,11 @@
 int    thunk_unlink(const char *);
 pid_t  thunk_getpid(void);
 
+int    thunk_gdb_open(void);
+int    thunk_gdb_accept(int sockfd);
+int    thunk_kgdb_getc(int fd, char *ch);
+int    thunk_kgdb_putc(int fd, char ch);
+
 int    thunk_sigaction(int, const struct sigaction *, struct sigaction *);
 int    thunk_sigaltstack(const stack_t *, stack_t *);
 void   thunk_signal(int, void (*)(int));



Home | Main Index | Thread Index | Old Index