Re: sid cgen cpus broken by absence of pic libiberty
Jim Blandy <[email protected]>
| Newsgroups | gmane.comp.tools.cgen.devel,gmane.comp.emulators.sid.devel |
|---|---|
| Message-ID | <[email protected]> |
"Frank Ch. Eigler" <[email protected]> writes: > Hi - > > > > [...] > > <ctype.h> is sensitive to locale. You don't want the syntax of > > keywords changing based on the user's environment. > > How about adding "setlocale (LC_CTYPE, "C");" around a batch of > cgen parsing? And then arranging to carefully set it back before we leave, either successfully or with an error? From any of the callback functions we might be using to read memory, like those in GDB, that use longjmp?