This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug pascal/11349] pchar/ansistring does not print correctly
- From: "muller at ics dot u-strasbg dot fr" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 8 May 2010 15:19:35 -0000
- Subject: [Bug pascal/11349] pchar/ansistring does not print correctly
- References: <20100304144351.11349.sethdgrover@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-05-03 13:38 -------
Subject: Bug 11349
CVSROOT: /cvs/src
Module name: src
Changes by: muller@sourceware.org 2010-05-03 13:38:27
Modified files:
gdb : ChangeLog p-valprint.c
Log message:
PR pascal/11349.
* p-valprint.c (pascal_value_print): Always dereference a value with
type code TYPE_CODE_REF.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11713&r2=1.11714
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/p-valprint.c.diff?cvsroot=src&r1=1.69&r2=1.70
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-05-04 06:48 -------
Subject: Bug 11349
CVSROOT: /cvs/src
Module name: src
Changes by: muller@sourceware.org 2010-05-04 06:48:27
Modified files:
gdb : ChangeLog printcmd.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.cp: ref-types.exp
Log message:
PR exp/11349.
* printcmd.c (x_command): Only dereference once implicitly for
TYPE_CODE_REF.
testsuite dir:
PR exp/11349.
* testsuite/gdb.cp/ref-types.exp: Add test to examine
use a reference local variable.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11717&r2=1.11718
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/printcmd.c.diff?cvsroot=src&r1=1.176&r2=1.177
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2260&r2=1.2261
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/ref-types.exp.diff?cvsroot=src&r1=1.12&r2=1.13
------- Additional Comments From muller at ics dot u-strasbg dot fr 2010-05-08 15:19 -------
The patches committed to trunk should solve the issue.
Could you try it out and mark the issue as FIXED
if all works correctly or report if you still get problems.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=11349
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.