Hi, Barret - please give a review and don't apply the patches yet. There are one or two things that I still want to fix, and some things that I'm going to fix in future commits. Namely for the future commits:
- errors will be communicated as strings instead of using errnos in the protocol; - the format for communicating registers will be made architecture-independent. Also let me know if you want me to split out the two lines in sigaction.c; they were just helpful while I was debugging things. What's a good place to put the gdbserver docs publicly? Github wiki associated with the repo? Text file in Documentation/? Chris The following changes since commit 18fe89ab8d265ba99e6154eaf807590cfe01279b: Import patch to fix shell script/exit status bug. (2016-08-05 13:18:07 -0700) are available in the git repository at: [email protected]:hugelgupf/akaros.git gdbserver-support for you to fetch changes up to ab2432a4287a63794c8566ff3418295f3cf7ba5c: parlib/debug: Added ability to store memory and single-step. (2016-08-05 14:13:38 -0700) ---------------------------------------------------------------- Christopher Koch (4): Moved IDs and added list of threads in uthreads. Defines protocol between gdbserver and a 2LS. Asynchronous client; full end-to-end single-threaded debugging working. parlib/debug: Added ability to store memory and single-step. kern/arch/x86/trap.c | 7 +- tests/Makefile | 2 +- tests/block_test.c | 17 ++-- tests/futex_timeout.c | 9 +- tests/misc-compat.h | 2 +- tests/pthread_barrier_test.c | 13 +-- tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/sigaction.c | 3 +- user/parlib/debug.c | 847 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- user/parlib/include/parlib/debug.h | 139 ++++++++++++++++++++++++++ user/parlib/include/parlib/uthread.h | 7 ++ user/parlib/include/parlib/x86/debug.h | 35 +++++++ user/parlib/include/parlib/x86/trap.h | 2 + user/parlib/thread0_sched.c | 9 +- user/parlib/uthread.c | 87 +++++++++++++++-- user/parlib/x86/debug.c | 127 ++++++++++++++++++++++++ user/pthread/pthread.c | 14 +-- user/pthread/pthread.h | 1 - 17 files changed, 1274 insertions(+), 47 deletions(-) create mode 100644 user/parlib/include/parlib/debug.h create mode 100644 user/parlib/include/parlib/x86/debug.h create mode 100644 user/parlib/x86/debug.c -- Christopher Koch | Software Engineer | [email protected] | 650-214-3546 -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
