-
The fix for:
https://sourceforge.net/tracker/?func=detail&atid=534974&aid=2806854&group_id=72581
Might fix this problem -- it was checked into revision 928 but isn't part of a released version yet. See the above bug for patch files.
2009-09-24 15:50:20 UTC in A curses debugger
-
On Jul 21, 2009, at 18:36, Bob Rossi wrote:
> I'd prefer not to do a solution like this. However, if you want to write
> the entire scanner for the Objective-C++ language, I'll accept it.
An alternative patch (lexer-patch.gz) is attached that provides an Objective-C/C++ scanner.
It can be applied against revision 929 of http://cgdb.svn.sourceforge.net/svnroot/cgdb/cgdb/trunk with:
#...
2009-07-26 04:51:43 UTC in A curses debugger
-
Version 0.8.4a compiled fine on Mac OS X (Darwin). Version 0.8.5 does not.
The problem is in lircd.c:
1. The correct header for ioctl and friends under Mac OS X is sys/ioctl.h not sys/iocomm.h
2. One of the uinputfd ioctl's is not ifdef'd for linux only
A patch is attached to correct these issues.
2009-06-18 00:34:36 UTC in Linux Infrared Remote Control
-
.cp is a common C++ source file extension.
.m, .M and .mm are Objective-C/Objective-C++ extensions.
All of these colorized very well by the C tokenizer and should be included in the c_extensions array in tokenizer.c.
Here is the patch to tokenizer.c (also attached) to add these:
Index: tokenizer.c
===================================================================
--- tokenizer.c...
2009-06-15 23:04:49 UTC in A curses debugger
-
The attached cgdb-0.6.4-0.6.4a.patch file can be used to patch the 0.6.4 distribution tarball to add a configure check for openpty (configure, configure.in and config.h.in are patched). Doing the following after applying the patch avoids unnecessary aclocal etc. runs:
touch aclocal.m4
touch Makefile.in
touch configure
touch config.h.in.
2009-06-15 22:53:09 UTC in A curses debugger
-
Successfully using cgdb on Mac OS X (darwin) requires HAVE_OPENPTY to be defined (already being checked for by pseudo.c).
Otherwise the following build error is reported:
../../../various/util/src/pseudo.c: In function ‘pty_open’:
../../../various/util/src/pseudo.c:338: error: ‘I_PUSH’ undeclared (first use in this function)
../../../various/util/src/pseudo.c:338: error: (Each...
2009-06-15 22:21:28 UTC in A curses debugger