[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bison and C++

From: Hans Aberg
Subject: Re: Bison and C++
Date: Thu, 28 Dec 2000 10:58:46 +0100

At 21:57 -0700 0-12-27, Richard Stallman wrote:
>    If it is the same feature we are speaking about: What I meant is that the
>    arrow points at the .y source file when stepping around. So one should see
>    the Bison rules with an arrow.
>I believe that works, thanks to the #line directive.

So it is perhaps at least some of the information I asked for. I would need
to get hold of copy of GDB and try it out, in order to be more specific.

>    When a regular C/C++ source is compiled, the CW, apart from the object .o
>    file, also writes a special .sym file with information for the debugger
>    about which names should be debugged, their format, and so on, sufficient
>    for debugging.
>I am not sure what "which names should be debugged" means.
>GCC also outputs information about all the variable names and their
>data types, and this too should be "sufficient for debugging".
>This is what -g does.  However, it could be that the other compiler
>includes a particular kind of information which GCC does not generate.
>If so, we might be able to think about adding something additional
>*if you could give a more specific suggestion*.

I would need to get hold of GDB in order to be more specific (or asking
somebody well acquainted with both it and CW). If I find out something, I
will get back to you.

  Hans Aberg

reply via email to

[Prev in Thread] Current Thread [Next in Thread]