aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-09-22 22:10:18 +0200
committerjohannst <johannes.stoelp@gmail.com>2020-09-22 22:10:18 +0200
commit488d4c6237c3f713077fe93e2745ba5defde0aa5 (patch)
tree8b5d75d47bc7bbc0579fc937fea4904a67da4950
parentf538061c22749c2852283eaa2e2f83c8b126b8ed (diff)
downloadmatcha-threads-488d4c6237c3f713077fe93e2745ba5defde0aa5.tar.gz
matcha-threads-488d4c6237c3f713077fe93e2745ba5defde0aa5.zip
added copyright header
-rw-r--r--LICENSE2
-rw-r--r--Makefile2
-rw-r--r--example/test.cc2
-rw-r--r--lib/matcha.cc2
-rw-r--r--lib/matcha.h2
-rw-r--r--lib/thread_create.s2
-rw-r--r--util.gdb4
7 files changed, 14 insertions, 2 deletions
diff --git a/LICENSE b/LICENSE
index faa32d2..4b15122 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2020 Johannes Stölp
+Copyright (c) 2020 Johannes Stoelp
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/Makefile b/Makefile
index eb688d9..ec64564 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+# Copyright (c) 2020 Johannes Stoelp
+
AS := gcc
ASFLAGS := -g -O0
CXX := g++
diff --git a/example/test.cc b/example/test.cc
index 1a40958..c9691f3 100644
--- a/example/test.cc
+++ b/example/test.cc
@@ -1,3 +1,5 @@
+/* Copyright (c) 2020 Johannes Stoelp */
+
#include "lib/matcha.h"
#include <cstdio>
diff --git a/lib/matcha.cc b/lib/matcha.cc
index 6e73a5e..4315e9e 100644
--- a/lib/matcha.cc
+++ b/lib/matcha.cc
@@ -1,3 +1,5 @@
+/* Copyright (c) 2020 Johannes Stoelp */
+
#include "matcha.h"
#include <cassert>
diff --git a/lib/matcha.h b/lib/matcha.h
index 9fed7c2..5843cb7 100644
--- a/lib/matcha.h
+++ b/lib/matcha.h
@@ -1,3 +1,5 @@
+/* Copyright (c) 2020 Johannes Stoelp */
+
#include <memory>
#include <vector>
diff --git a/lib/thread_create.s b/lib/thread_create.s
index d5dd092..2aeb758 100644
--- a/lib/thread_create.s
+++ b/lib/thread_create.s
@@ -1,3 +1,5 @@
+# Copyright (c) 2020 Johannes Stoelp
+
# SysV AMD64 ABI
# int/ptr args : rdi, rsi, rdx, rcx, r8, r9
# int/ptr ret : rax
diff --git a/util.gdb b/util.gdb
index d1dbb44..e08e005 100644
--- a/util.gdb
+++ b/util.gdb
@@ -1,4 +1,6 @@
-define show
+# Copyright (c) 2020 Johannes Stoelp
+
+define show_ctx
echo -- regs --\n
info reg rdi rsi rsp rbp
echo -- stack --