This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: New function terminal_save_ours()
>
> Agree. It does not address that.
>
>
>>
>> How to best address it is where things get tricky. I'm not sure if the
>> targets should all be updated to do the set/get tty tweeking or if the
>> set/get tty stuff should be brought closer to GDB and always done.
>>
>> Andrew
>>
>
>
> Can we see this as a first step?
>
> I would like to avoid to change the target vector before 5.1.
> We can introduce the target function after 5.1 and let it point to
> the terminal_save_our_state() as for other terminal_xxx().
> The TUI uses terminal_save_our_state() and we will switch it
> to the target_xxx().
Sorry, but no, I'd rather see the probem fixed :-/ You're just,
unfortunatly, the one to draw the short straw.
The target vector has a very sordid history in this regard. Too often
have people allowed things to slip through that should have, instead,
been included in the target vector.
For the TUI, I was thinking more of a 5.2 timeframe. Regarding the
target vector, I might cook something (gdbarch.sh like) up - but what
ever it is it wouldn't go in until 5.1 is branched.
Andrew