Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Multi-arch and user-control of architecture flags
@ 2002-05-15  2:32 Richard Earnshaw
  2002-05-15  3:23 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Earnshaw @ 2002-05-15  2:32 UTC (permalink / raw)
  To: gdb; +Cc: Richard.Earnshaw


More random thoughts that I thought worth writing down before I forget 
them...

The current way to allow for a user to control some aspect of a target is 
to add a "set" command so that they can control a flag, for example, the 
ARM target has

  set apcs32 true/flase

to control whether the debugger should work with the processor in 26-bit 
mode or 32-bit mode.

As we move towards supporting multiple processors in a single GDB this is 
going to become increasingly confusing if we continue down this line, and 
it will become very unclear (to the poor user) which options apply to 
which target.

So how feasible would it be to extend the "set" and "show" commands so 
that they could sub-set the information?  For example, to allow

  set <target> <var> <value>

and 

  show <target> <var>

or even

  show <target>

to show all variables specific to the target.

If this isn't particularly practical, then perhaps we need a new command 
(tset/tshow?) that provides this.

R.


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

end of thread, other threads:[~2002-05-16 13:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-15  2:32 Multi-arch and user-control of architecture flags Richard Earnshaw
2002-05-15  3:23 ` Eli Zaretskii
2002-05-15  7:04   ` Andrew Cagney
2002-05-15  7:11     ` Richard Earnshaw
2002-05-15  7:21       ` Andrew Cagney
2002-05-16  6:49       ` Andrew Cagney
2002-05-16  6:59         ` Richard Earnshaw

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