Pascal and case sensitivity

Joost van der Sluis joost@cnoc.nl
Mon Jan 10 20:00:00 GMT 2011


Hi all,

Attached is patch to fix case-sensitivity issues with Pascal. It first
searches case-sensitive an if an identifier isn't found, a
case-insensitive search is performed.

But this path is quite messy it can be cleaned up somewhat, but it will
never win the 'most beautiful patch' contest. ;)

Would it be acceptable to make the hash (msymbol_hash_iw or dict_hash)
case insensitive by adding a to_lower, and to change strcmp_iw so that
it does a case-insensitive compare when some case-insensitivity setting
is set?

Regards,

Joost.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb_case_insensitive_patch2.diff
Type: text/x-patch
Size: 5232 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb/attachments/20110110/cd9c42fe/attachment.bin>


More information about the Gdb mailing list