public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug varobj/15313] New: Error message when evaluating a valid variable.
@ 2013-03-27 15:59 nikolay.koldunov at oracle dot com
  2013-03-27 18:04 ` [Bug varobj/15313] " jan.kratochvil at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: nikolay.koldunov at oracle dot com @ 2013-03-27 15:59 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15313

             Bug #: 15313
           Summary: Error message when evaluating a valid variable.
           Product: gdb
           Version: 7.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: varobj
        AssignedTo: unassigned@sourceware.org
        ReportedBy: nikolay.koldunov@oracle.com
    Classification: Unclassified


- I start a gdb session with breakpoints.
- I hit a break point and there are no problems.
- I add some watch variables, and eventually, when I step I get messages from
gdb that looks like:

Type <data variable, no debug info> is not a structure or union type.

In the debugger console this corresponds to the following:

(gdb) 
653-var-evaluate-expression var72
652^error,msg="Type <data variable, no debug info> is not a structure or union
type."

This remains even if I remove all the watch variables.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug varobj/15313] Error message when evaluating a valid variable.
  2013-03-27 15:59 [Bug varobj/15313] New: Error message when evaluating a valid variable nikolay.koldunov at oracle dot com
@ 2013-03-27 18:04 ` jan.kratochvil at redhat dot com
  2013-03-27 18:27 ` toddb at nvr dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jan.kratochvil at redhat dot com @ 2013-03-27 18:04 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15313

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |jan.kratochvil at redhat
                   |                            |dot com

--- Comment #1 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2013-03-27 18:04:03 UTC ---
Do you have the binary built with -g, that is with DWARF debug info?
You also did not write the platform/target you run GDB on.
When you do not use MI but standard CLI what do:
(gdb) ptype var72
(gdb) print var72

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug varobj/15313] Error message when evaluating a valid variable.
  2013-03-27 15:59 [Bug varobj/15313] New: Error message when evaluating a valid variable nikolay.koldunov at oracle dot com
  2013-03-27 18:04 ` [Bug varobj/15313] " jan.kratochvil at redhat dot com
@ 2013-03-27 18:27 ` toddb at nvr dot com
  2013-03-27 18:30 ` jan.kratochvil at redhat dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: toddb at nvr dot com @ 2013-03-27 18:27 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15313

Todd <toddb at nvr dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |toddb at nvr dot com

--- Comment #2 from Todd <toddb at nvr dot com> 2013-03-27 18:27:26 UTC ---
Version below. I have a distro binary, but could probably build a debug
version.

The errors with gdb come and go, and I don't know what gets them started. For
example, I am doing some debugging now (with the same code) and I have seen no
errors.

When the errors occur again, I'll give you the result of ptype and print for
the variables of interest.

GNU gdb (GDB) Fedora (7.3.50.20110722-16.fc16)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug varobj/15313] Error message when evaluating a valid variable.
  2013-03-27 15:59 [Bug varobj/15313] New: Error message when evaluating a valid variable nikolay.koldunov at oracle dot com
  2013-03-27 18:04 ` [Bug varobj/15313] " jan.kratochvil at redhat dot com
  2013-03-27 18:27 ` toddb at nvr dot com
@ 2013-03-27 18:30 ` jan.kratochvil at redhat dot com
  2013-03-27 18:33 ` toddb at nvr dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jan.kratochvil at redhat dot com @ 2013-03-27 18:30 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15313

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2013-03-27 18:30:17 UTC ---
fc16 is no longer supported
  Fedora 16 End of Life
  http://lists.fedoraproject.org/pipermail/announce/2013-February/003144.html
and also such issues may be better tracked at Fedora bugzilla.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug varobj/15313] Error message when evaluating a valid variable.
  2013-03-27 15:59 [Bug varobj/15313] New: Error message when evaluating a valid variable nikolay.koldunov at oracle dot com
                   ` (2 preceding siblings ...)
  2013-03-27 18:30 ` jan.kratochvil at redhat dot com
@ 2013-03-27 18:33 ` toddb at nvr dot com
  2013-03-27 19:42 ` jan.kratochvil at redhat dot com
  2013-03-27 20:09 ` toddb at nvr dot com
  5 siblings, 0 replies; 7+ messages in thread
From: toddb at nvr dot com @ 2013-03-27 18:33 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15313

--- Comment #4 from Todd <toddb at nvr dot com> 2013-03-27 18:33:41 UTC ---
Well... yes... F16 is end of life but gdb is not. Why don't you state which
version of gdb you have confidence in.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug varobj/15313] Error message when evaluating a valid variable.
  2013-03-27 15:59 [Bug varobj/15313] New: Error message when evaluating a valid variable nikolay.koldunov at oracle dot com
                   ` (3 preceding siblings ...)
  2013-03-27 18:33 ` toddb at nvr dot com
@ 2013-03-27 19:42 ` jan.kratochvil at redhat dot com
  2013-03-27 20:09 ` toddb at nvr dot com
  5 siblings, 0 replies; 7+ messages in thread
From: jan.kratochvil at redhat dot com @ 2013-03-27 19:42 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15313

--- Comment #5 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2013-03-27 19:42:12 UTC ---
I have closed this Bug because here is no reproducer.  Feel free to reopen the
bug with a reproducer.

Additionally http://sourceware.org/bugzilla/ is bug tracker for FSF GDB, it is
best to try also
  http://www.gnu.org/software/gdb/download/
or
  http://www.gnu.org/software/gdb/current/
when filing a Bug to sourceware.org.  Fedora GDB is heavily patched and some of
the behavior may be different.  For Fedora GDB there is bug tracker
http://bugzilla.redhat.com/ .

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug varobj/15313] Error message when evaluating a valid variable.
  2013-03-27 15:59 [Bug varobj/15313] New: Error message when evaluating a valid variable nikolay.koldunov at oracle dot com
                   ` (4 preceding siblings ...)
  2013-03-27 19:42 ` jan.kratochvil at redhat dot com
@ 2013-03-27 20:09 ` toddb at nvr dot com
  5 siblings, 0 replies; 7+ messages in thread
From: toddb at nvr dot com @ 2013-03-27 20:09 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15313

--- Comment #6 from Todd <toddb at nvr dot com> 2013-03-27 20:09:22 UTC ---
Thanks very much for the details.  Its very helpful.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-27 20:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-27 15:59 [Bug varobj/15313] New: Error message when evaluating a valid variable nikolay.koldunov at oracle dot com
2013-03-27 18:04 ` [Bug varobj/15313] " jan.kratochvil at redhat dot com
2013-03-27 18:27 ` toddb at nvr dot com
2013-03-27 18:30 ` jan.kratochvil at redhat dot com
2013-03-27 18:33 ` toddb at nvr dot com
2013-03-27 19:42 ` jan.kratochvil at redhat dot com
2013-03-27 20:09 ` toddb at nvr dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).