This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: C/C++ preprocessor macro support for GDB
On Mon, Mar 18, 2002 at 03:05:59AM -0500, Daniel Berlin wrote:
> I *really* don't see why Jim went to all the trouble, since it would
> probably have taken less than half a week to add the necessary
> changes to libcpp.
This level of opprobrium is not constructive. cpplib's interface is
not well documented; I am not surprised that Jim was confused enough
that he thought it couldn't do what he wanted.
I *think* that plain old cpp_get_token ought to handle returning
tokens one at a time as Jim needs, unless I've misunderstood something
about the problem. I'll be happy to work with Jim to clarify how to
use cpplib, and/or add features so that GDB can use it.
zw