[fpc-pascal] GDB Case insensitive Search

Richard Ward roward at me.com
Mon Apr 18 16:13:31 CEST 2011

I can't figure out how to make a case insensitive search in GDB.  The GDB docs only say that you can do the following but don't give much else or explain regexp.

forward-search   regexp
reverse-search   regexp

These works fine for simple (case sensitive) searches but I tried quite few variations for the case insensitive switch including various forms of the following: 

rev (?i)xyz   or for (?i)xyz

GDB seems to take the above commands OK but doesn't get me back any results.   I'm not to familiar with regex so I might be making a simple formating mistake.   I was hoping someone might know off-hand if there is some trick.   If not, I'll check with the GDB forum.   I've also tried setting GDB's global case sensitivity switch but that doesn't seem to affect the search command.

Everything else with GDB seems to work very well that I have played with.

thanks  - R

More information about the fpc-pascal mailing list