This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Multiprocess GDB, formal spec
- From: Tom Tromey <tromey at redhat dot com>
- To: Stan Shebs <stan at codesourcery dot com>
- Cc: gdb at sourceware dot org
- Date: Thu, 21 Aug 2008 14:06:11 -0600
- Subject: Re: Multiprocess GDB, formal spec
- References: <48A35D22.30705@codesourcery.com>
- Reply-to: tromey at redhat dot com
>>>>> "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