This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/256: cannot print values of some integer class members



>Number:         256
>Category:       gdb
>Synopsis:       cannot print values of some integer class members
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 13 06:18:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Marc Prisco
>Release:        gdb-5.1
>Organization:
>Environment:
gdb5.1 build on ultra sparc 5 running solaris 8
>Description:
Occasionally, whenever I try to print the value of an integer
I receive the following:

(gdb) p widestRow
Value can't be converted to integer.

where widestRow in a rpivate integer member of report.
Unfortunately, whenever I try to isolate problem into
a smaller test program, this behavior ceases.

When I look at gdb in the debugger, I see the message is
generated in values.c:659.  Interestingly
there code is TYPE_CODE_STRUCT.  Although I don't see the
problem this doesn't seem quite right.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]