diff options
author | vs <vs@FreeBSD.org> | 2006-02-04 01:27:41 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2006-02-04 01:27:41 +0800 |
commit | 153408483d0e8ecaf61b531d4822cee65ab50347 (patch) | |
tree | 91771013b1060d946317124f8b046415e83421dd /lang/m3gdb/files | |
parent | 49e0c18503604e347ccf6b8a22b73d4cd279bf11 (diff) | |
download | freebsd-ports-graphics-153408483d0e8ecaf61b531d4822cee65ab50347.tar.gz freebsd-ports-graphics-153408483d0e8ecaf61b531d4822cee65ab50347.tar.zst freebsd-ports-graphics-153408483d0e8ecaf61b531d4822cee65ab50347.zip |
Remove expired port
Diffstat (limited to 'lang/m3gdb/files')
-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 |
10 files changed, 0 insertions, 425 deletions
diff --git a/lang/m3gdb/files/patch-aa b/lang/m3gdb/files/patch-aa deleted file mode 100644 index 50df754a2ca..00000000000 --- 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 39ef141a214..00000000000 --- 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 80fbe8ab830..00000000000 --- 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 3b37aa4e5dc..00000000000 --- 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 8690958f734..00000000000 --- 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 5ab1e1b742e..00000000000 --- 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 c7defcd1f52..00000000000 --- 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 ff9fa1230a9..00000000000 --- 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 c27e6c04287..00000000000 --- 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 bc35c167958..00000000000 --- 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; |