public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug exp/9512] Incomplete type evaluated incorrectly
       [not found] <bug-9512-4717@http.sourceware.org/bugzilla/>
@ 2012-07-12 19:57 ` tromey at redhat dot com
  2012-07-12 20:09 ` oder at eleks dot lviv.ua
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: tromey at redhat dot com @ 2012-07-12 19:57 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING
                 CC|                            |tromey at redhat dot com

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2012-07-12 19:56:49 UTC ---
Is this still a problem for you?

There isn't enough information here to debug the problem.

-- 
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] 8+ messages in thread

* [Bug exp/9512] Incomplete type evaluated incorrectly
       [not found] <bug-9512-4717@http.sourceware.org/bugzilla/>
  2012-07-12 19:57 ` [Bug exp/9512] Incomplete type evaluated incorrectly tromey at redhat dot com
@ 2012-07-12 20:09 ` oder at eleks dot lviv.ua
  2012-07-12 20:24 ` tromey at redhat dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: oder at eleks dot lviv.ua @ 2012-07-12 20:09 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from oder at eleks dot lviv.ua 2012-07-12 20:08:52 UTC ---
Sure, if nobody had ever fixed this the problem should not be gone.

What additional information do you need? I can post class declaration and
header inclusion hierarchy if that helps.

-- 
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] 8+ messages in thread

* [Bug exp/9512] Incomplete type evaluated incorrectly
       [not found] <bug-9512-4717@http.sourceware.org/bugzilla/>
  2012-07-12 19:57 ` [Bug exp/9512] Incomplete type evaluated incorrectly tromey at redhat dot com
  2012-07-12 20:09 ` oder at eleks dot lviv.ua
@ 2012-07-12 20:24 ` tromey at redhat dot com
  2012-07-12 21:46 ` oder at eleks dot lviv.ua
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: tromey at redhat dot com @ 2012-07-12 20:24 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from Tom Tromey <tromey at redhat dot com> 2012-07-12 20:23:53 UTC ---
What compiler are you using?
Do you know what kind of debuginfo you are using?
Can you try a newer gdb?  6.5 is quite old.

The ideal situation for us is a small test case showing the problem.

-- 
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] 8+ messages in thread

* [Bug exp/9512] Incomplete type evaluated incorrectly
       [not found] <bug-9512-4717@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2012-07-12 20:24 ` tromey at redhat dot com
@ 2012-07-12 21:46 ` oder at eleks dot lviv.ua
  2012-07-13 15:35 ` tromey at redhat dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: oder at eleks dot lviv.ua @ 2012-07-12 21:46 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #4 from oder at eleks dot lviv.ua 2012-07-12 21:46:38 UTC ---
This bug report was created at beginning of 2008, and at that time GDB 6.5
might be not so old. It is not my fault that more than 4 years had to pass
until somebody have had a look at it.

CSpaceTriplet is a class with array of three doubles (a point in space).
The program was and is compiled with -gstabs+ -malign-double (these are the
options that might be relevant to the problem).
The GCC version at that time was 3.3.5

At present I have GCC 4.6.2 and GDB 6.8 available in my system.
I can try tomorrow if problem persists.

-- 
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] 8+ messages in thread

* [Bug exp/9512] Incomplete type evaluated incorrectly
       [not found] <bug-9512-4717@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2012-07-12 21:46 ` oder at eleks dot lviv.ua
@ 2012-07-13 15:35 ` tromey at redhat dot com
  2012-07-13 15:52 ` oder at eleks dot lviv.ua
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: tromey at redhat dot com @ 2012-07-13 15:35 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #5 from Tom Tromey <tromey at redhat dot com> 2012-07-13 15:35:28 UTC ---
(In reply to comment #4)
> This bug report was created at beginning of 2008, and at that time GDB 6.5
> might be not so old. It is not my fault that more than 4 years had to pass
> until somebody have had a look at it.

Sorry, I didn't mean to imply anything.

> CSpaceTriplet is a class with array of three doubles (a point in space).
> The program was and is compiled with -gstabs+ -malign-double (these are the
> options that might be relevant to the problem).
> The GCC version at that time was 3.3.5
> 
> At present I have GCC 4.6.2 and GDB 6.8 available in my system.
> I can try tomorrow if problem persists.

Also try using DWARF rather than stabs.
stabs are pretty dead now, and I'm told (I know little about stabs...)
that they never worked very well for C++.

-- 
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] 8+ messages in thread

* [Bug exp/9512] Incomplete type evaluated incorrectly
       [not found] <bug-9512-4717@http.sourceware.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2012-07-13 15:35 ` tromey at redhat dot com
@ 2012-07-13 15:52 ` oder at eleks dot lviv.ua
  2012-07-13 15:57 ` oder at eleks dot lviv.ua
  2014-09-12 23:17 ` sergiodj at redhat dot com
  7 siblings, 0 replies; 8+ messages in thread
From: oder at eleks dot lviv.ua @ 2012-07-13 15:52 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #6 from oder at eleks dot lviv.ua 2012-07-13 15:51:55 UTC ---
The project is quite large and depends on number of prebuilt libraries. To
change debug information format I'll need to rebuild them all and that is going
to take some time.
As far as I remember I considered different available debug information formats
and had chosen stabs because with it GDB displayed structures and variables in
a form I found to be most convenient.

-- 
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] 8+ messages in thread

* [Bug exp/9512] Incomplete type evaluated incorrectly
       [not found] <bug-9512-4717@http.sourceware.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2012-07-13 15:52 ` oder at eleks dot lviv.ua
@ 2012-07-13 15:57 ` oder at eleks dot lviv.ua
  2014-09-12 23:17 ` sergiodj at redhat dot com
  7 siblings, 0 replies; 8+ messages in thread
From: oder at eleks dot lviv.ua @ 2012-07-13 15:57 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #7 from oder at eleks dot lviv.ua 2012-07-13 15:57:38 UTC ---
But the problem should not be related to a particular format. It's GDB that
considers type either complete or incomplete. So, if it considers it incomplete
it should not display values for its field (especially invalid ones). And if it
considers the type complete, it has to display field values regardless of the
way I dereference the pointer expresstion.

-- 
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] 8+ messages in thread

* [Bug exp/9512] Incomplete type evaluated incorrectly
       [not found] <bug-9512-4717@http.sourceware.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2012-07-13 15:57 ` oder at eleks dot lviv.ua
@ 2014-09-12 23:17 ` sergiodj at redhat dot com
  7 siblings, 0 replies; 8+ messages in thread
From: sergiodj at redhat dot com @ 2014-09-12 23:17 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=9512

Sergio Durigan Junior <sergiodj at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sergiodj at redhat dot com

--- Comment #8 from Sergio Durigan Junior <sergiodj at redhat dot com> ---
Hi, did you manage to come up with a small testcase to reproduce the issue, as
Tom requested?  Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

end of thread, other threads:[~2014-09-12 23:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-9512-4717@http.sourceware.org/bugzilla/>
2012-07-12 19:57 ` [Bug exp/9512] Incomplete type evaluated incorrectly tromey at redhat dot com
2012-07-12 20:09 ` oder at eleks dot lviv.ua
2012-07-12 20:24 ` tromey at redhat dot com
2012-07-12 21:46 ` oder at eleks dot lviv.ua
2012-07-13 15:35 ` tromey at redhat dot com
2012-07-13 15:52 ` oder at eleks dot lviv.ua
2012-07-13 15:57 ` oder at eleks dot lviv.ua
2014-09-12 23:17 ` sergiodj at redhat 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).