From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Kettenis To: muller@cerbere.u-strasbg.fr Cc: gdb@sourceware.cygnus.com Subject: Re: [RFC] Pascal language: case insensitivity! Date: Mon, 19 Jun 2000 15:34:00 -0000 Message-id: <200006192234.e5JMYE100594@delius.kettenis.local> References: <200006191117.NAA25188@cerbere.u-strasbg.fr> <3.0.6.32.20000619222954.0087c9a0@ics.u-strasbg.fr> X-SW-Source: 2000-06/msg00155.html From: muller@cerbere.u-strasbg.fr Date: Mon, 19 Jun 2000 22:29:54 +0200 I don't really care about acceptation of this patch, but I do care about GDB supporting case insensitivness for pascal language. So there are two possibilities to consider at least: - apply my patches only locally in GDB tree. Adding local changes to gnu-regex.c should only be done as a last resort since it increases the amount of work to be done when importing a new copy of the master source. - use POSIX regex instead of GNU regex in GDB. I really have no idea about the second issue, but there might be several drawbacks, there are probably build systems that don't have a without POSIX library. The GNU regex library provides both POSIX and BSD regex entry points. Right now GDB uses the BSD functions, but we can change it to use the POSIX functions. Someone needs to for over all the regex function invocations in GDB and convert them. Then we can simply add the REG_ICASE flag when necessary. Mark