public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/11560] New: Support case-preserving case-insensitive identifier
@ 2010-04-30  6:59 jan dot kratochvil at redhat dot com
  2010-04-30 18:01 ` [Bug fortran/11560] " tromey at redhat dot com
  2010-04-30 18:23 ` jan dot kratochvil at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-04-30  6:59 UTC (permalink / raw)
  To: gdb-prs

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.


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

* [Bug fortran/11560] Support case-preserving case-insensitive identifier
  2010-04-30  6:59 [Bug fortran/11560] New: Support case-preserving case-insensitive identifier jan dot kratochvil at redhat dot com
@ 2010-04-30 18:01 ` tromey at redhat dot com
  2010-04-30 18:23 ` jan dot kratochvil at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2010-04-30 18:01 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From tromey at redhat dot com  2010-04-30 18:01 -------
(In reply to comment #0)

> DWARF3 supports: DW_AT_identifier_case with DW_ID_case_insensitive (+others)
> None of GDB, gfortran or iFort support it.

Could you file a gfortran bug report?

-- 


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.


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

* [Bug fortran/11560] Support case-preserving case-insensitive identifier
  2010-04-30  6:59 [Bug fortran/11560] New: Support case-preserving case-insensitive identifier jan dot kratochvil at redhat dot com
  2010-04-30 18:01 ` [Bug fortran/11560] " tromey at redhat dot com
@ 2010-04-30 18:23 ` jan dot kratochvil at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-04-30 18:23 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From jan dot kratochvil at redhat dot com  2010-04-30 18:23 -------
Filed for GCC as:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43950


-- 


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.


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

end of thread, other threads:[~2010-04-30 18:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-30  6:59 [Bug fortran/11560] New: Support case-preserving case-insensitive identifier jan dot kratochvil at redhat dot com
2010-04-30 18:01 ` [Bug fortran/11560] " tromey at redhat dot com
2010-04-30 18:23 ` jan dot kratochvil 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).