diff options
-rw-r--r-- | MOVED | 1 | ||||
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/m3gdb/Makefile | 37 | ||||
-rw-r--r-- | lang/m3gdb/distinfo | 6 | ||||
-rw-r--r-- | lang/m3gdb/files/patch-aa | 136 | ||||
-rw-r--r-- | lang/m3gdb/files/patch-ab | 13 | ||||
-rw-r--r-- | lang/m3gdb/files/patch-ac | 23 | ||||
-rw-r--r-- | lang/m3gdb/files/patch-ad | 17 | ||||
-rw-r--r-- | lang/m3gdb/files/patch-ae | 97 | ||||
-rw-r--r-- | lang/m3gdb/files/patch-af | 74 | ||||
-rw-r--r-- | lang/m3gdb/files/patch-ag | 28 | ||||
-rw-r--r-- | lang/m3gdb/files/patch-ah | 14 | ||||
-rw-r--r-- | lang/m3gdb/files/patch-defs.h | 13 | ||||
-rw-r--r-- | lang/m3gdb/files/patch-top.c | 10 | ||||
-rw-r--r-- | lang/m3gdb/pkg-descr | 16 |
15 files changed, 1 insertions, 485 deletions
@@ -2159,3 +2159,4 @@ misc/linux-edonkey-tool-recovermet|net-p2p/linux-edonkey-tool-recovermet|2006-01 math/netcdf|science/netcdf|2006-01-30|Moved to a better category japanese/mecab-razil|japanese/mecab|2006-02-01|Patched library is not required now japanese/firefox-ja_JP|japanese/firefox-ja|2006-02-01|Project renamed +lang/m3gdb||2006-02-03|Remove expired port diff --git a/lang/Makefile b/lang/Makefile index 9861fe483202..8abc7d7f3d36 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -135,7 +135,6 @@ SUBDIR += lua-mode.el SUBDIR += lua4 SUBDIR += lush - SUBDIR += m3gdb SUBDIR += mawk SUBDIR += mdk SUBDIR += metaocaml diff --git a/lang/m3gdb/Makefile b/lang/m3gdb/Makefile deleted file mode 100644 index d6dc1d4434a4..000000000000 --- a/lang/m3gdb/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# New ports collection makefile for: m3gdb -# Date created: 17 February 1999 -# Whom: wagner@luthien.in-berlin.de -# -# $FreeBSD$ -# - -PORTNAME= m3gdb -PORTVERSION= 4.17 -CATEGORIES= lang devel -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR=jdp/${PORTNAME} -DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \ - ${PORTNAME}-fbsd-${PORTVERSION}.tar.gz - -MAINTAINER= ports@FreeBSD.org -COMMENT= The GNU debugger with support for Modula-3 - -DEPRECATED= does not build on recent releases -EXPIRATION_DATE= 2006-01-26 - -MAN1= m3gdb.1 -MANCOMPRESSED= yes -ONLY_FOR_ARCHS= i386 -PLIST_FILES= bin/m3gdb - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 503000 -BROKEN= "Does not build on FreeBSD >= 5.x" -.endif - -pre-build: - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} depend - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} libbuild - -.include <bsd.port.post.mk> diff --git a/lang/m3gdb/distinfo b/lang/m3gdb/distinfo deleted file mode 100644 index 7502ce90cca5..000000000000 --- a/lang/m3gdb/distinfo +++ /dev/null @@ -1,6 +0,0 @@ -MD5 (m3gdb-4.17.tar.gz) = 017ac31f4eea81621a396af5970323bd -SHA256 (m3gdb-4.17.tar.gz) = d63a0be1813edaa727eda3122ef4b051b14975c1a04a0b077d7527f1aeee7a1e -SIZE (m3gdb-4.17.tar.gz) = 1520270 -MD5 (m3gdb-fbsd-4.17.tar.gz) = 3292c9e91d7255118562767c9e65c36f -SHA256 (m3gdb-fbsd-4.17.tar.gz) = 126be7f255433694da9e6c5ad6db33d3d1fc5c633fd6da600c8e9f376a9fce8e -SIZE (m3gdb-fbsd-4.17.tar.gz) = 635382 diff --git a/lang/m3gdb/files/patch-aa b/lang/m3gdb/files/patch-aa deleted file mode 100644 index 50df754a2cac..000000000000 --- a/lang/m3gdb/files/patch-aa +++ /dev/null @@ -1,136 +0,0 @@ ---- Makefile.orig Wed Feb 17 09:55:20 1999 -+++ Makefile Wed Sep 8 09:35:39 1999 -@@ -2,22 +2,24 @@ - --PROG = m3gdb -+PROG= m3gdb - --GDBDIR= ${.CURDIR}/../../../../contrib/gdb --.if ${OBJFORMAT} == elf --BFDDIR= ${.CURDIR}/../../binutils/libbfd/${MACHINE_ARCH} --BINDIR= /usr/local/bin -+FBSDGDBDIR= ${.CURDIR}/src/gnu/usr.bin/gdb/gdb -+ -+GDBDIR= ${FBSDGDBDIR}/../../../../contrib/gdb -+ -+.if ${PORTOBJFORMAT} == elf -+BFDDIR= ${FBSDGDBDIR}/../../binutils/libbfd/${MACHINE_ARCH} - .else --BFDDIR= ${.CURDIR}/../bfd --BINDIR= /usr/local/bin/aout -+BFDDIR= ${FBSDGDBDIR}/../bfd - .endif --MANDIR= /usr/local/man/man - --FBSDGDB=${.CURDIR}/../gdb --.PATH: ${FBSDGDB} -+BINDIR= ${PREFIX}/bin -+MANDIR= ${PREFIX}/man/man -+ -+.PATH: ${FBSDGDBDIR} - .PATH: ${GDBDIR}/gdb - .PATH: ${GDBDIR}/opcodes - --.if ${OBJFORMAT} == elf -+.if ${PORTOBJFORMAT} == elf - CFLAGS+= -DFREEBSD_ELF - .endif - CFLAGS+= -DNEED_DECLARATION_FREE -@@ -50,6 +52,9 @@ - m3-lang.c m3-token.c m3-uid.c - SRCS= init.c ${XSRCS} - -+.PHONY: show check libdepend libbuild beforedepend afterdepend -+.PHONY: links localclean -+ - show: - @echo ${XSRCS} - -@@ -60,7 +65,34 @@ - @cd ${.CURDIR} && wc *-files - @echo "" - --beforedepend: -+beforedepend: libdepend -+#afterdepend: libbuild # too ugly, call it explicitly in pre-build -+ -+.if ${PORTOBJFORMAT} == elf -+LIBBFDDIR= ${FBSDGDBDIR}/../../binutils/libbfd -+LIBIBERTYDIR= ${FBSDGDBDIR}/../../binutils/libiberty -+.else -+LIBBFDDIR= ${FBSDGDBDIR}/../bfd -+LIBIBERTYDIR= ${FBSDGDBDIR}/../libiberty -+.endif -+ -+LIBBFDOBJ= ${.CURDIR}/../libbfd -+LIBIBERTYOBJ= ${.CURDIR}/../libiberty -+ -+libdepend: -+ @echo building dependencies in ${LIBBFDDIR} -+ @mkdir -p ${LIBBFDOBJ} -+ @cd ${LIBBFDDIR} && MAKEOBJDIR=${LIBBFDOBJ} make depend -+ @echo building dependencies in ${LIBIBERTYDIR} -+ @mkdir -p ${LIBIBERTYOBJ} -+ @cd ${LIBIBERTYDIR} && MAKEOBJDIR=${LIBIBERTYOBJ} make depend -+ -+libbuild: -+ @echo building libbfd.a -+ @cd ${LIBBFDDIR} && MAKEOBJDIR=${LIBBFDOBJ} make all -+ @echo building libiberty.a -+ @cd ${LIBIBERTYDIR} && MAKEOBJDIR=${LIBIBERTYOBJ} make all -+ - - links: - @cd ${.CURDIR} && ${.CURDIR}/link-non-local-files.sh -@@ -69,7 +101,12 @@ - @cd ${.CURDIR} && ${.CURDIR}/rm-all-links.sh - cd ${.CURDIR} && rm -f ${.CURDIR}/*.core ${.CURDIR}/*~ - --CFLAGS+= -I- -I$(.CURDIR) -I${FBSDGDB} -I${DESTDIR}/usr/include/readline -I${BFDDIR} -+CFLAGS+= -I- -I$(.CURDIR) -I${FBSDGDBDIR} -+CFLAGS+= -I${DESTDIR}/usr/include/readline -I${BFDDIR} -+CFLAGS+= -I${GDBDIR}/include -I${GDBDIR}/gdb -I${GDBDIR}/bfd -+CFLAGS+= -I${GDBDIR}/libiberty -I${GDBDIR}/gdb/config -+CFLAGS+= -DHAVE_CONFIG_H -+ - # use phkmalloc - CFLAGS+= -DNO_MMALLOC - # uncomment the next line if you want to debug gdb -@@ -78,35 +115,8 @@ - - CLEANFILES= init.c init.c-tmp - --.if ${OBJFORMAT} == elf -- --.if exists(${.OBJDIR}/../../binutils/libbfd) --LIBBFD= ${.OBJDIR}/../../binutils/libbfd/libbfd.a --.else --LIBBFD= ${.CURDIR}/../../binutils/libbfd/libbfd.a --.endif -- --.if exists(${.OBJDIR}/../../binutils/libiberty) --LIBIBERTY= ${.OBJDIR}/../../binutils/libiberty/libiberty.a --.else --LIBIBERTY= ${.CURDIR}/../../binutils/libiberty/libiberty.a --.endif -- --.else -- --.if exists(${.OBJDIR}/../bfd) --LIBBFD= ${.OBJDIR}/../bfd/libbfd.a --.else --LIBBFD= ${.CURDIR}/../bfd/libbfd.a --.endif -- --.if exists(${.OBJDIR}/../libiberty) --LIBIBERTY= ${.OBJDIR}/../libiberty/libiberty.a --.else --LIBIBERTY= ${.CURDIR}/../libiberty/libiberty.a --.endif -- --.endif # OBJFORMAT -+LIBBFD= ${LIBBFDOBJ}/libbfd.a -+LIBIBERTY= ${LIBIBERTYOBJ}/libiberty.a - - DPADD= ${LIBBFD} ${LIBREADLINE} ${LIBGNUREGEX} ${LIBIBERTY} ${LIBTERMCAP} - LDADD= ${LIBBFD} -lreadline -lgnuregex ${LIBIBERTY} -ltermcap diff --git a/lang/m3gdb/files/patch-ab b/lang/m3gdb/files/patch-ab deleted file mode 100644 index 39ef141a2144..000000000000 --- a/lang/m3gdb/files/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ ---- symfile.c.orig Sat Feb 6 13:40:02 1999 -+++ symfile.c Sun Feb 28 19:33:48 1999 -@@ -52,6 +52,10 @@ - #define O_BINARY 0 - #endif - -+#ifndef bfd_section_lma -+#define bfd_section_lma(bfd, ptr) ((ptr)->lma) -+#endif -+ - int (*ui_load_progress_hook) PARAMS ((char *, unsigned long)); - void (*pre_add_symbol_hook) PARAMS ((char *)); - void (*post_add_symbol_hook) PARAMS ((void)); diff --git a/lang/m3gdb/files/patch-ac b/lang/m3gdb/files/patch-ac deleted file mode 100644 index 80fbe8ab8305..000000000000 --- a/lang/m3gdb/files/patch-ac +++ /dev/null @@ -1,23 +0,0 @@ ---- 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 deleted file mode 100644 index 3b37aa4e5dcb..000000000000 --- a/lang/m3gdb/files/patch-ad +++ /dev/null @@ -1,17 +0,0 @@ ---- 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 diff --git a/lang/m3gdb/files/patch-ae b/lang/m3gdb/files/patch-ae deleted file mode 100644 index 8690958f734e..000000000000 --- a/lang/m3gdb/files/patch-ae +++ /dev/null @@ -1,97 +0,0 @@ ---- src/gnu/usr.bin/gdb/gdb/freebsd-nat.c.orig Tue Sep 15 06:49:02 1998 -+++ src/gnu/usr.bin/gdb/gdb/freebsd-nat.c Sat Sep 18 10:54:57 2004 -@@ -108,17 +108,23 @@ - * First get virtual address of user structure. Then calculate offset. - */ - memcpy(&tmp_uaddr, -+#if defined(__FreeBSD__) && __FreeBSD__ >= 5 -+ &((struct user *) core_reg_sect)->u_kproc.ki_addr, -+#else - &((struct user *) core_reg_sect)->u_kproc.kp_proc.p_addr, -+#endif - sizeof(tmp_uaddr)); - offset = -reg_addr - (int) tmp_uaddr; - - for (regno = 0; regno < NUM_REGS; regno++) - { - cregno = tregmap[regno]; -- if (cregno == tFS) -- addr = offsetof (struct user, u_pcb) + offsetof (struct pcb, pcb_fs); -- else if (cregno == tGS) -- addr = offsetof (struct user, u_pcb) + offsetof (struct pcb, pcb_gs); -+ if (cregno == tGS) -+#if defined(__FreeBSD__) && __FreeBSD__ >= 5 -+ addr = offsetof (struct user, u_kproc) + offsetof (struct kinfo_proc, ki_pcb) + offsetof (struct pcb, pcb_gs); -+#else -+ addr = offsetof (struct user, u_pcb) + offsetof (struct pcb, pcb_gs); -+#endif - else - addr = offset + 4 * cregno; - if (addr < 0 || addr >= core_reg_size) -@@ -136,7 +134,11 @@ - error ("Register %s not found in core file.", reg_names[bad_reg]); - } - -- addr = offsetof (struct user, u_pcb) + offsetof (struct pcb, pcb_savefpu); -+#if defined(__FreeBSD__) && __FreeBSD__ >= 5 -+ addr = offsetof (struct user, u_kproc) + offsetof (struct kinfo_proc, ki_pcb) + offsetof (struct pcb, pcb_save); -+#else -+ addr = offsetof (struct user, u_pcb) + offsetof (struct pcb, pcb_save); -+#endif - memcpy (&pcb_savefpu, core_reg_sect + addr, sizeof pcb_savefpu); - } - -@@ -166,7 +164,6 @@ - extern void print_387_status_word (); - - #define fpstate save87 --#define U_FPSTATE(u) u.u_pcb.pcb_savefpu - - static void - i387_to_double (from, to) -@@ -331,41 +328,19 @@ - void - i386_float_info () - { -- struct user u; /* just for address computations */ -- int i; -- /* fpstate defined in <sys/user.h> */ -+ struct fpstate fps; - struct fpstate *fpstatep; -- char buf[sizeof (struct fpstate) + 2 * sizeof (int)]; -- unsigned int uaddr; -- char fpvalid; -- unsigned int rounded_addr; -- unsigned int rounded_size; -- /*extern int corechan;*/ -- int skip; - extern int inferior_pid; - -- uaddr = (char *)&U_FPSTATE(u) - (char *)&u; - if (inferior_pid != 0 && core_bfd == NULL) - { -- int *ip; -- -- rounded_addr = uaddr & -sizeof (int); -- rounded_size = (((uaddr + sizeof (struct fpstate)) - uaddr) + -- sizeof (int) - 1) / sizeof (int); -- skip = uaddr - rounded_addr; -- -- ip = (int *)buf; -- for (i = 0; i < rounded_size; i++) -- { -- *ip++ = ptrace (PT_READ_U, inferior_pid, (caddr_t)rounded_addr, 0); -- rounded_addr += sizeof (int); -- } -- fpstatep = (struct fpstate *)(buf + skip); -+ ptrace(PT_GETFPREGS, inferior_pid, (caddr_t)&fps, 0); -+ fpstatep = &fps; - } - else - fpstatep = &pcb_savefpu; - -- print_387_status (fpstatep->sv_ex_sw, (struct env387 *)fpstatep); -+ print_387_status (0, (struct env387 *)fpstatep); - } - #endif /* FLOAT_INFO */ - diff --git a/lang/m3gdb/files/patch-af b/lang/m3gdb/files/patch-af deleted file mode 100644 index 5ab1e1b742e6..000000000000 --- a/lang/m3gdb/files/patch-af +++ /dev/null @@ -1,74 +0,0 @@ ---- kvm-fbsd.c.orig Sun Feb 7 20:36:10 1999 -+++ kvm-fbsd.c Sat Sep 18 11:23:31 2004 -@@ -22,6 +22,7 @@ - #include <errno.h> - #include <signal.h> - #include <fcntl.h> -+#include <sys/types.h> - #include <sys/sysctl.h> - #include <sys/param.h> - #include <sys/time.h> -@@ -361,10 +362,19 @@ - struct user *uaddr; - - /* find the pcb for the current process */ -+#if defined(__FreeBSD__) && __FreeBSD__ >= 5 -+ if (cur_proc == NULL || kvread (&cur_proc->p_uarea, &uaddr)) -+#else - if (cur_proc == NULL || kvread (&cur_proc->p_addr, &uaddr)) -+#endif - error ("cannot read u area ptr for proc at %#x", cur_proc); -+#if defined(__FreeBSD__) && __FreeBSD__ >= 5 -+ if (read_pcb (core_kd, (CORE_ADDR)&uaddr->u_kproc.ki_pcb) < 0) -+ error ("cannot read pcb at %#x", &uaddr->u_kproc.ki_pcb); -+#else - if (read_pcb (core_kd, (CORE_ADDR)&uaddr->u_pcb) < 0) - error ("cannot read pcb at %#x", &uaddr->u_pcb); -+#endif - } - - static void -@@ -450,7 +451,11 @@ - kp = kvm_getprocs(core_kd, KERN_PROC_PID, paddr, &cnt); - if (!cnt) - error("invalid pid"); -+#if defined(__FreeBSD__) && __FreeBSD__ >= 5 -+ if (set_proc_context((CORE_ADDR)kp->ki_paddr)) -+#else - if (set_proc_context((CORE_ADDR)kp->kp_eproc.e_paddr)) -+#endif - error("invalid proc address"); - } - } -@@ -643,7 +644,11 @@ - return (0); - if (lp.p_pid != pid) - continue; -+#if defined(__FreeBSD__) && __FreeBSD__ >= 5 -+ kp.ki_paddr = p; -+#else - kp.kp_eproc.e_paddr = p; -+#endif - *cnt = 1; - return (1); - } -@@ -835,9 +836,8 @@ - supply_register (6, (char *)&pcb.pcb_esi); - supply_register (7, (char *)&pcb.pcb_edi); - supply_register (PC_REGNUM, (char *)&pcb.pcb_eip); -- for (i = 9; i < 13; ++i) /* eflags, cs, ss, ds, es */ -+ for (i = 9; i < 14; ++i) /* eflags, cs, ss, ds, es, fs */ - supply_register (i, (char *)&noreg); -- supply_register (14, (char *)&pcb.pcb_fs); - supply_register (15, (char *)&pcb.pcb_gs); - - /* XXX 80387 registers? */ -@@ -919,7 +919,7 @@ - #if 0 - kcore_stratum, /* to_stratum */ - #else -- NULL, /* haven't yet found this one... */ -+ 0, /* haven't yet found this one... */ - #endif - NULL, /* to_next */ - 0, /* to_has_all_memory */ diff --git a/lang/m3gdb/files/patch-ag b/lang/m3gdb/files/patch-ag deleted file mode 100644 index c7defcd1f52a..000000000000 --- a/lang/m3gdb/files/patch-ag +++ /dev/null @@ -1,28 +0,0 @@ ---- src/contrib/binutils/libiberty/strsignal.c.orig Sun Oct 20 17:28:15 2002 -+++ src/contrib/binutils/libiberty/strsignal.c Sun Oct 20 17:29:24 2002 -@@ -16,7 +16,9 @@ - we could work out the right declaration. Until, then we just - ignore any declaration in the system header files, and always - declare it ourselves. With luck, this will always work. */ -+#ifndef __FreeBSD__ - #define sys_siglist no_such_symbol -+#endif - - #include <stdio.h> - #include <signal.h> -@@ -243,6 +245,7 @@ - - #else - -+#ifndef __FreeBSD__ - #ifdef NSIG - static int sys_nsig = NSIG; - #else -@@ -251,6 +254,7 @@ - #endif - #endif - extern const char * const sys_siglist[]; -+#endif - - #endif - diff --git a/lang/m3gdb/files/patch-ah b/lang/m3gdb/files/patch-ah deleted file mode 100644 index ff9fa1230a9f..000000000000 --- a/lang/m3gdb/files/patch-ah +++ /dev/null @@ -1,14 +0,0 @@ ---- src/contrib/binutils/libiberty/strerror.c.orig Sun Oct 20 17:27:09 2002 -+++ src/contrib/binutils/libiberty/strerror.c Sun Oct 20 17:27:31 2002 -@@ -461,9 +461,10 @@ - static const char **sys_errlist; - - #else -- -+#if !defined(__FreeBSD__) - extern int sys_nerr; - extern char *sys_errlist[]; -+#endif - - #endif - diff --git a/lang/m3gdb/files/patch-defs.h b/lang/m3gdb/files/patch-defs.h deleted file mode 100644 index c27e6c042872..000000000000 --- a/lang/m3gdb/files/patch-defs.h +++ /dev/null @@ -1,13 +0,0 @@ ---- defs.h.orig Sat Sep 18 11:08:32 2004 -+++ defs.h Sat Sep 18 11:08:47 2004 -@@ -420,10 +420,6 @@ - - extern int read_relative_register_raw_bytes PARAMS ((int, char *)); - --/* From readline (but not in any readline .h files). */ -- --extern char *tilde_expand PARAMS ((char *)); -- - /* Control types for commands */ - - enum misc_command_type diff --git a/lang/m3gdb/files/patch-top.c b/lang/m3gdb/files/patch-top.c deleted file mode 100644 index bc35c1679589..000000000000 --- a/lang/m3gdb/files/patch-top.c +++ /dev/null @@ -1,10 +0,0 @@ ---- top.c.orig Sat Sep 18 11:05:40 2004 -+++ top.c Sat Sep 18 11:06:55 2004 -@@ -1503,7 +1503,6 @@ - char *word; - { - /* From readline. */ -- extern char *filename_completion_function PARAMS ((char *, int)); - int subsequent_name; - char **return_val; - int return_val_used; diff --git a/lang/m3gdb/pkg-descr b/lang/m3gdb/pkg-descr deleted file mode 100644 index 8e605bb36de1..000000000000 --- a/lang/m3gdb/pkg-descr +++ /dev/null @@ -1,16 +0,0 @@ -This is a port of the GNU debugger with Modula-3 support for -FreeBSD. Using it you can - - o step through your Modula-3 programs in source format - o set/clear/enable/disable breakpoints in Modula-3 programs - o inspect the values of variables and evaluate Modula-3 expressions - o view and inspect stack frames - o switch between threads, if you're careful to switch back again - -This debugger is much more useful if your Modula-3 libraries contain -debugging symbols. To accomplish that, do a "make configure" of the -modula-3-lib port. Then edit its "work/m3/m3build/templates/FreeBSD2" -file. Search for "-g" and follow the instructions there. Then finish -building and installing the modula-3-lib port with "make install". - -Olaf Wagner <wagner@luthien.in-berlin.de> |