aboutsummaryrefslogtreecommitdiffstats
path: root/lang/m3gdb
diff options
context:
space:
mode:
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 00000000000..80fbe8ab830
--- /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 00000000000..3b37aa4e5dc
--- /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