Per-inferior program arguments and io terminal

Vladimir Prus vladimir@codesourcery.com
Wed Jan 13 12:44:00 GMT 2010


At present, 'set args' sets global program arguments -- for every inferior. So,
if you wish to debug multiple programs, and they have different arguments, things
are unpleasant -- arguments should be changed before running each program. The
same problem exists with tty setting. The latter is probably most important for
frontends.

This patch makes 'set args' and 'set inferior-tty' be per-inferior. No regressions
on i686 linux. OK?

- Volodya

-------------- next part --------------
A non-text attachment was scrubbed...
Name: per-inferior-args.diff
Type: text/x-patch
Size: 11966 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20100113/9320a6cd/attachment.bin>


More information about the Gdb-patches mailing list