diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1998-06-24 05:34:32 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1998-06-24 05:34:32 +0000 |
commit | 003113cc001798c14fb3279ac7c807b7abf5a61f (patch) | |
tree | 4bbbabab1c278dfee8153b96011735415c9c7dae /devel | |
parent | Depend on ghostscript5 instead of ghostscript4. (diff) |
Source level C debugger that runs under X11
Notes
Notes:
svn path=/head/; revision=11496
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ups-debug/Makefile | 20 | ||||
-rw-r--r-- | devel/ups-debug/distinfo | 2 | ||||
-rw-r--r-- | devel/ups-debug/files/patch-04 | 61 | ||||
-rw-r--r-- | devel/ups-debug/pkg-comment | 1 | ||||
-rw-r--r-- | devel/ups-debug/pkg-descr | 19 | ||||
-rw-r--r-- | devel/ups-debug/pkg-plist | 2 |
6 files changed, 105 insertions, 0 deletions
diff --git a/devel/ups-debug/Makefile b/devel/ups-debug/Makefile new file mode 100644 index 000000000000..dee6cf32f405 --- /dev/null +++ b/devel/ups-debug/Makefile @@ -0,0 +1,20 @@ +# ex:ts=8 +# Ports collection makefile for: UPS +# Version required: 3.32 +# Date created: Mon Feb 03, 1997 +# Whom: David O'Brien (obrien@FreeBSD.org) +# +# $Id$ +# + +DISTNAME= ups-3.32 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_XCONTRIB} +MASTER_SITE_SUBDIR= utilities + +MAINTAINER= obrien@FreeBSD.org + +ALL_TARGET= ups +MAN1= ups.1 + +.include <bsd.port.mk> diff --git a/devel/ups-debug/distinfo b/devel/ups-debug/distinfo new file mode 100644 index 000000000000..4e0dd5cd99d1 --- /dev/null +++ b/devel/ups-debug/distinfo @@ -0,0 +1,2 @@ +MD5 (ups-3.32.tar.gz) = 3618729f6e3ae88632c071f0f8d13866 +MD5 (ups-3.14-beta-rga-7.diff.gz) = 5d166a7d3145e090cef03d724feb664a diff --git a/devel/ups-debug/files/patch-04 b/devel/ups-debug/files/patch-04 new file mode 100644 index 000000000000..9825aaf8564d --- /dev/null +++ b/devel/ups-debug/files/patch-04 @@ -0,0 +1,61 @@ +--- ups/xc_builtins.c.orig Fri Jun 19 11:10:51 1998 ++++ ups/xc_builtins.c Tue Jun 23 18:32:04 1998 +@@ -121,8 +121,8 @@ + static int builtin_write PROTO((int fd, const void *buf, size_t nbytes)); + extern int pipe PROTO((int *fds)); + static int builtin_pipe PROTO((int *fds)); +-extern int lseek PROTO((int fd, off_t offset, int whence)); +-static int builtin_lseek PROTO((int fd, off_t offset, int whence)); ++extern off_t lseek PROTO((int fd, off_t offset, int whence)); ++static off_t builtin_lseek PROTO((int fd, off_t offset, int whence)); + /*extern int fcntl PROTO((int fd, int cmd, char *arg));*/ + static int builtin_fcntl PROTO((int fd, int cmd, char *arg)); + extern int dup2 PROTO((int fd, int newfd)); +@@ -139,8 +139,8 @@ + extern int flock PROTO((int fd, int op)); + static int builtin_flock PROTO((int fd, int op)); + #endif +-extern int ftruncate PROTO((int fd, long length)); +-static int builtin_ftruncate PROTO((int fd, long length)); ++extern int ftruncate PROTO((int fd, off_t length)); ++static int builtin_ftruncate PROTO((int fd, off_t length)); + extern int ioctl PROTO((int fd, unsigned cmd, caddr_t arg)); + static int builtin_ioctl PROTO((int fd, unsigned cmd, caddr_t arg)); + extern int fstat PROTO((int fd, struct stat *stbuf)); +@@ -173,7 +173,7 @@ + + static bool fd_ok PROTO((int fd)); + +-#ifndef __FreeBSD__ ++#ifndef OS_BSD44 + #ifdef OS_LINUX + extern const char *const sys_errlist[]; + extern int sys_nerr; +@@ -319,7 +319,8 @@ + int utimes(), atoi(), rand(), system(), abs(); + int getuid(), geteuid(), getgid(), getegid(), setreuid(), setregid(); + int setgroups(), getgroups(); +-int rename(), read(), write(), pipe(), lseek(), fcntl(), close(), dup(), dup2(); ++int rename(), read(), write(), pipe(), fcntl(), close(), dup(), dup2(); ++off_t lseek(); + int getdtablesize(), fchown(), flock(), fsync(), ftruncate(); + int ioctl(), select(), open(), creat(), link(), unlink(), chown(), chmod(); + int mkdir(), symlink(), readlink(), rmdir(), access(), chdir(), chroot(); +@@ -508,7 +509,7 @@ + static int + builtin_ftruncate(fd, length) + int fd; +-long length; ++off_t length; + { + return fd_ok(fd) ? ftruncate(fd, length) : -1; + } +@@ -531,7 +532,7 @@ + return res; + } + +-static int ++static off_t + builtin_lseek(fd, offset, whence) + int fd; + off_t offset; diff --git a/devel/ups-debug/pkg-comment b/devel/ups-debug/pkg-comment new file mode 100644 index 000000000000..5bc7a91109d3 --- /dev/null +++ b/devel/ups-debug/pkg-comment @@ -0,0 +1 @@ +Source level C debugger that runs under X11 diff --git a/devel/ups-debug/pkg-descr b/devel/ups-debug/pkg-descr new file mode 100644 index 000000000000..be3bce98a93a --- /dev/null +++ b/devel/ups-debug/pkg-descr @@ -0,0 +1,19 @@ +Ups is a source level C debugger that runs under X11. + +It runs in a window with two major regions: one showing the +current state of the target program data and the other showing +the currently executing source code. A key feature of ups is +that the variables display is persistent: when you add a variable +to the display it stays there as you step through the code. The +current stack trace (which function called which) is always visible. + +Ups includes a C interpreter which allows you to add fragments +of code simply by editing them into the source window (the source +file itself is not modified). This lets you add debugging printf +calls without recompiling, relinking (or even restarting) the +target program. You can also add conditional breakpoints in a +natural way - you just add a statement like "if (i == 73) #stop" +at the appropriate place in the source window. + +-- David + obrien@NUXI.com diff --git a/devel/ups-debug/pkg-plist b/devel/ups-debug/pkg-plist new file mode 100644 index 000000000000..07f48aa0a544 --- /dev/null +++ b/devel/ups-debug/pkg-plist @@ -0,0 +1,2 @@ +bin/ups +man/man1/ups.1.gz |