summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/gdb_machdep.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2006-04-04 02:44:51 +0000
committermarcel <marcel@FreeBSD.org>2006-04-04 02:44:51 +0000
commitdc8b7dcaa103aa4bc26d9ffe2b0bee2ed5af051b (patch)
treee2774fa5276f2890c29daf0af91ccd56f776185b /sys/amd64/include/gdb_machdep.h
parent5d986f2c0f4e3b7a495325161809edd742d8c37a (diff)
downloadFreeBSD-src-dc8b7dcaa103aa4bc26d9ffe2b0bee2ed5af051b.zip
FreeBSD-src-dc8b7dcaa103aa4bc26d9ffe2b0bee2ed5af051b.tar.gz
The PC is register 16, not 18.
Pointed out by: grehan@
Diffstat (limited to 'sys/amd64/include/gdb_machdep.h')
-rw-r--r--sys/amd64/include/gdb_machdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/gdb_machdep.h b/sys/amd64/include/gdb_machdep.h
index a914b9b..f626405 100644
--- a/sys/amd64/include/gdb_machdep.h
+++ b/sys/amd64/include/gdb_machdep.h
@@ -31,7 +31,7 @@
#define GDB_BUFSZ 500
#define GDB_NREGS 56
-#define GDB_REG_PC 18
+#define GDB_REG_PC 16
static __inline size_t
gdb_cpu_regsz(int regnum)
OpenPOWER on IntegriCloud