This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug pascal/17815] Make fields of self case-insensitive like other pascal variables
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 02 May 2015 22:40:12 +0000
- Subject: [Bug pascal/17815] Make fields of self case-insensitive like other pascal variables
- Auto-submitted: auto-generated
- References: <bug-17815-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17815
--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The gdb-7.9-branch branch has been updated by Pierre Muller
<muller@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6ed34db8858cc18a5a941f32f22bb250017c3d48
commit 6ed34db8858cc18a5a941f32f22bb250017c3d48
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date: Sat May 2 18:21:50 2015 +0200
Subject: [PATCH] Fix pascal behavior for class fields with testcase
Problem reported as PR pascal/17815
Part 1/3: Remember the case pattern that allowed finding a field of this.
File gdb/p-exp.y modified
This is the fix in the pascal parser (p-exp.y),
to avoid the error that GDB does find normal variables
case insensitively, but not fields of this,
inside a class or object method.
Part 2/3: Add "class" option for pascal compiler
File gdb/testsuite/lib/pascal.exp
This part of the patch series is unchanged.
It adds class option to pascal compiler
which adds the required command line option to
accept pascal class types.
Part 3/3:
New file: gdb/testsuite/gdb.pascal/case-insensitive-symbols.exp
New file: gdb/testsuite/gdb.pascal/case-insensitive-symbols.pas
Here is an updated version of this test, using Pedro's suggestions.
Test to check that PR 17815 is fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.