Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* [Interpeters] "set interpreter" useful?
@ 2002-08-12 15:01 Keith Seitz
  2002-08-12 15:47 ` Andrew Cagney
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 2002-08-12 15:01 UTC (permalink / raw)
  To: gdb

Hi,

I've been testing the interpreter stuff with which I've been working on 
and off for a little while, and I have to ask: does anyone think it will 
be useful for someone to switch interpreters?

$ gdb -nw -nx -q
(gdb) set interpeter mi
(gdb) 

OR

$ gdb -nx -i=mi -q
(gdb) 
-interpreter-set console
(gdb) 

This is obviously a real nightmare to get working properly. I won't even 
mention what kind of havoc this could cause if someone using an MI-based 
UI did something like:

-interpreter-exec console "set interpreter console"

Would anyone care if I ripped out the ability to change interpreters on 
the fly? (I'm not going to touch interpreter-exec, just "set 
intepreter"/"-interpreter-set".

Keith


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Interpeters] "set interpreter" useful?
  2002-08-12 15:01 [Interpeters] "set interpreter" useful? Keith Seitz
@ 2002-08-12 15:47 ` Andrew Cagney
  2002-08-12 15:52   ` Keith Seitz
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2002-08-12 15:47 UTC (permalink / raw)
  To: Keith Seitz; +Cc: gdb

> Hi,
> 
> I've been testing the interpreter stuff with which I've been working on 
> and off for a little while, and I have to ask: does anyone think it will 
> be useful for someone to switch interpreters?
> 
> $ gdb -nw -nx -q
> (gdb) set interpeter mi
> (gdb) 
> 
> OR
> 
> $ gdb -nx -i=mi -q
> (gdb) 
> -interpreter-set console
> (gdb) 
> 
> This is obviously a real nightmare to get working properly. I won't even 
> mention what kind of havoc this could cause if someone using an MI-based 
> UI did something like:
> 
> -interpreter-exec console "set interpreter console"
> 
> Would anyone care if I ripped out the ability to change interpreters on 
> the fly? (I'm not going to touch interpreter-exec, just "set 
> intepreter"/"-interpreter-set".

Yes (how can you rip out something that was never fully 
approved/committed? :-)

Sounds like you've come up with a bit of doco that should go with 
-interpreter-exec, explaining why ``-interpreter-set'' would be a bad 
move :-)

Andrew



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Interpeters] "set interpreter" useful?
  2002-08-12 15:47 ` Andrew Cagney
@ 2002-08-12 15:52   ` Keith Seitz
  0 siblings, 0 replies; 3+ messages in thread
From: Keith Seitz @ 2002-08-12 15:52 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb

> Yes (how can you rip out something that was never fully 
> approved/committed? :-)

:-)

> Sounds like you've come up with a bit of doco that should go with 
> -interpreter-exec, explaining why ``-interpreter-set'' would be a bad 
> move :-)

Yup, I'll comment on that. Thanks for the comment. Now that this headache 
is over with (gee, and I almost got it working really well!), I'm gonna 
finish up some documentation changes and start submitting patches for 
review... Stay tuned!

Keith



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-08-12 22:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-12 15:01 [Interpeters] "set interpreter" useful? Keith Seitz
2002-08-12 15:47 ` Andrew Cagney
2002-08-12 15:52   ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox