From mboxrd@z Thu Jan 1 00:00:00 1970 From: muller@cerbere.u-strasbg.fr To: Mark Kettenis Cc: gdb@sourceware.cygnus.com Subject: Re: [RFC] Pascal language: case insensitivity! Date: Mon, 19 Jun 2000 13:25:00 -0000 Message-id: <3.0.6.32.20000619222954.0087c9a0@ics.u-strasbg.fr> References: <200006191117.NAA25188@cerbere.u-strasbg.fr> <200006191653.SAA03393@landau.wins.uva.nl> X-SW-Source: 2000-06/msg00154.html At 18:53 19/06/00 +0200, Mark Kettenis wrote: > Date: Mon, 19 Jun 2000 12:51:56 +0200 > From: Pierre Muller > > I already talked a while ago about this and someone (can't remember who) > said that there is a much simpler way to get this result. > I would of course really like to know more about this possibility. > >It might have been me. I believe I suggested to change GDB to use the >POSIX entry points regcomp() and regexec() instead of the BSD >re_comp() and re_exec() functions. There is already a REG_ICASE flag >that's supposed to ignore case when matching. It's just that you >cannot use it with re_comp() and re_exec(). > >The GNU regex library is used by several GNU packages, and the master >version lives in the GNU C Library. The version in GDB shouldn't >diverge too much from the master version, and I'm pretty sure your >patch will be rejected by the maintainer of the GNU C Library. 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. - 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.