[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-debug-dev] GDB reporting "No symbol 'whatever' in curren t context."
|
> From: cdt-debug-dev-bounces@xxxxxxxxxxx [mailto:cdt-debug-dev-
> bounces@xxxxxxxxxxx] On Behalf Of Derek Morris
> Sent: Friday, November 10, 2006 12:54 PM
> To: CDT Debug developers list
> Subject: [cdt-debug-dev] GDB reporting "No symbol 'whatever' in current
> context."
>
> Hi,
>
> I am using CDT 3.1.1 with GDB 6.4.5 (for ARM)
>
> During debug, when my mouse moves over any word in the source Window, GDB
> reports in the console window:
>
> "No symbol 'whatever' in current context."
>
> Where 'whatever' is the word under the mouse.
>
> If I happen to be over a C variable, then it shows the value in a tooltip.
> However, if I am over anything else, including comments, C structures etc,
> it
> reports the error. This is especially annoying as the focus is set to the
> console window.
>
> Any ideas as to what is going wrong?
>
There is nothing going wrong, the suite of characters are pass to the debug
engine. We could:
- suppress the error
- use the C/C++ parser for validation before sending string for evaluation.
In the past the C/C++ parse (DOM) was not reliable enough to do this.