summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-09-03 01:21:01 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-09-03 01:21:01 +0000
commitf37d0845e6a0e4bd5c52058450e4de7ed9df374f (patch)
treeeae2e250ea5727e5d388b732e212e04fa7adc43a /sys
parent5b5748b39544766cce27f028232090b178af84a5 (diff)
Add a general warning about gdb matching against sigcode instructions
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/locore.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/locore.S b/sys/arch/amd64/amd64/locore.S
index b23921787bb..16fe9ef57e3 100644
--- a/sys/arch/amd64/amd64/locore.S
+++ b/sys/arch/amd64/amd64/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.48 2011/07/04 15:54:24 guenther Exp $ */
+/* $OpenBSD: locore.S,v 1.49 2011/09/03 01:21:00 guenther Exp $ */
/* $NetBSD: locore.S,v 1.13 2004/03/25 18:33:17 drochner Exp $ */
/*
@@ -637,6 +637,7 @@ longmode_hi:
/*
* Signal trampoline; copied to top of user stack.
+ * gdb's backtrace logic matches against the instructions in this.
*/
NENTRY(sigcode)
call *%rax