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]

external/1065: gdb.mi/gdb701.exp: create fooPtr


>Number:         1065
>Category:       external
>Synopsis:       gdb.mi/gdb701.exp: create fooPtr
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 17 16:58:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     mec@shout.net
>Release:        gdb 2003-02-15-cvs
>Organization:
>Environment:
target=native, host=i686-pc-linux-gnu, osversion=8.0
gdb=HEAD%2003-02-15, gcc=3.2.2, binutils=2.13.2.1, glibc=2.2.93-5-rh
gformat=dwarf-2
>Description:
The test issues the command:

  -var-create fooPtr * foo

gdb replies with:

  ^done,name="fooPtr",numchild="3",type="struct _foo *"

The correct reply is:

  ^done,name="fooPtr",numchild="3",type="Foo *"

stabs+ gets this right with all compilers.
dwarf-2 is okay with HEAD%20030214 and gcc-3_3-branch%20030214.
dwarf-2 is broken with gcc 3.2.2, 3.2-7-rh, and 2.95.3.

Daniel J says that this is a gcc bug and has been fixed in current gcc:

  http://sources.redhat.com/ml/gdb/2003-02/msg00259.html


>How-To-Repeat:

>Fix:
Get gcc 3.3 or later.
>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]