This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Multiprocess GDB, formal spec


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]