aboutsummaryrefslogtreecommitdiff
path: root/lang/m3gdb
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1999-03-15 19:00:39 +0000
committerJohn Polstra <jdp@FreeBSD.org>1999-03-15 19:00:39 +0000
commitadd5d1b8a9d4823ebc8e41c3b94666be4a81df17 (patch)
tree22283a783f75d61422b4de1cd0305035d80a5922 /lang/m3gdb
parentf0de21bf7d083fa7c7e03077253dce094a0181f5 (diff)
downloadports-add5d1b8a9d4823ebc8e41c3b94666be4a81df17.tar.gz
ports-add5d1b8a9d4823ebc8e41c3b94666be4a81df17.zip
Notes
Diffstat (limited to 'lang/m3gdb')
-rw-r--r--lang/m3gdb/files/patch-ac23
-rw-r--r--lang/m3gdb/files/patch-ad17
2 files changed, 40 insertions, 0 deletions
diff --git a/lang/m3gdb/files/patch-ac b/lang/m3gdb/files/patch-ac
new file mode 100644
index 000000000000..80fbe8ab8305
--- /dev/null
+++ b/lang/m3gdb/files/patch-ac
@@ -0,0 +1,23 @@
+--- m3-lang.c.orig Sat Feb 6 13:14:26 1999
++++ m3-lang.c Sun Mar 14 11:13:56 1999
+@@ -546,6 +546,20 @@
+ };
+ #endif
+
++#if defined(__FreeBSD__) && defined(__i386__)
++#define HAVE_REGISTER_MAP
++#define DK 6 /* "Don't know" */
++static int regno_to_jmpbuf[24] = {
++ DK, DK, DK, 1, /* eax, ecx, edx, ebx */
++ 2, 3, 4, 5, /* esp, ebp, esi, edi */
++ 0, DK, DK, DK, /* eip, eflags, cs, ss */
++ DK, DK, DK, DK, /* ds, es, fs, gs */
++ DK, DK, DK, DK, /* st0, st1, st2, st3 */
++ DK, DK, DK, DK /* st4, st5, st6, st7 */
++};
++#undef DK
++#endif
++
+ /*---------------------------------------------------- thread enumeration ---*/
+
+ typedef struct {
diff --git a/lang/m3gdb/files/patch-ad b/lang/m3gdb/files/patch-ad
new file mode 100644
index 000000000000..3b37aa4e5dcb
--- /dev/null
+++ b/lang/m3gdb/files/patch-ad
@@ -0,0 +1,17 @@
+--- m3gdb.1.orig Wed Feb 17 09:38:59 1999
++++ m3gdb.1 Mon Mar 15 10:35:52 1999
+@@ -156,8 +156,12 @@
+ \ \ \ \(bu
+ You can use the
+ .B threads
+-command to list all currently existing threads. This seems to be
+-all the thread support that works for the moment, though.
++command to list all currently existing threads. And with
++.B switch
++.I n
++you can switch to the stack of a different thread. Be sure to
++switch back to the original thread before resuming execution.
++Otherwise, the program is likely to crash.
+
+ .TP
+ \ \ \ \(bu