Re: Multiprocess GDB, formal spec

Tom Tromey
2008-08-21T20:11:58Z

>>>>> "Stan" == Stan Shebs <stan@codesourcery.com> writes:

Stan> set args <arg> ...
Stan> set environment <arg> ...

It occurred to me today that "set target-charset" will also have to be
per-inferior.

I am not sure if you were trying to make an exhaustive list here or
not, but figured it was better to mention it than not.

Note that this has some weird implications. Suppose you are debugging
two running instances of "program", each with a different target
charset. And suppose you set a breakpoint somewhere in that program,
and that breakpoint's condition uses a string.

Right now, gdb converts to the target charset early -- while parsing.
However, in this case, you would actually want to do the conversion
lazily. (Lazy would be better anyhow, since target-charset can be
changed by the user at any time.)

These are rather obscure scenarios.

Tom