Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] GDB reporting "No symbol 'whatever' in current context."

Mikhail,

I was about to compose a response to Alain, but you have saved me.

I completely, 100% agree with the comments in the PR (and I have added my vote to it).

Yes, it should be suppressed. And, as of CDT3.1.1, it has not been fixed.

Thanks
--
Derek


Mikhail Khodjaiants wrote:
Derek,

There is a bug for this problem -
https://bugs.eclipse.org/bugs/show_bug.cgi?id=121641. I had an
impression that it had been fixed. I think we should suppress the
console output in this case regardless if there is an error or not.
Mikhail
-----Original Message-----
From: cdt-debug-dev-bounces@xxxxxxxxxxx
[mailto:cdt-debug-dev-bounces@xxxxxxxxxxx] On Behalf Of Derek Morris
Sent: 11 November 2006 16:46
To: CDT Debug developers list
Subject: Re: [cdt-debug-dev] GDB reporting "No symbol 'whatever' in
current context."

Well, I don't think the current behaviour is acceptable:
- when you move the mouse and pause slightly over a random area of the
source window, the console window switches to the front and displays a
meaningless (to the user) error message.

In the circumstances, suppressing the error seems the best thing to do.
Shall I raise a PR?

--
Derek


Alain Magloire wrote:
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.
_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev

_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev



Back to the top