This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug fortran/11560] New: Support case-preserving case-insensitive identifier
- From: "jan dot kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 30 Apr 2010 06:59:59 -0000
- Subject: [Bug fortran/11560] New: Support case-preserving case-insensitive identifier
- Reply-to: sourceware-bugzilla at sourceware dot org
Currently gfortran and even iFort (Intel Fortran) lowercase all the identifiers.
GDB uses:
case_sensitivity = current_language->la_case_sensitivity;
const struct language_defn f_language_defn =
case_sensitive_off,
and in such case lowercases the string in lookup_symbol_in_language.
While iFort lowercases identifiers it explicitly uppercases the module names:
l_cprof_p_11.1.072_intel64.tgz
<66> DW_AT_producer : Intel(R) Fortran Compiler Fixes RangesRelative
<1><234>: Abbrev Number: 6 (DW_TAG_module)
<238> DW_AT_name : MODMANY
This way module-fully-qualified-name "`modmany`symbol" can never be looked up on
iFort produced inferior (this module support is still not in FSF GDB HEAD).
DWARF3 supports: DW_AT_identifier_case with DW_ID_case_insensitive (+others)
None of GDB, gfortran or iFort support it.
Proper DW_AT_identifier_case would enable gfortran to preserve source file
identifiers case.
--
Summary: Support case-preserving case-insensitive identifier
Product: gdb
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at sourceware dot org
ReportedBy: jan dot kratochvil at redhat dot com
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=11560
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.