Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* RFC: "set" command with 2 arguments instead of one?
@ 2014-11-23  4:24 Joel Brobecker
  2014-11-23  9:32 ` Andreas Schwab
  0 siblings, 1 reply; 12+ messages in thread
From: Joel Brobecker @ 2014-11-23  4:24 UTC (permalink / raw)
  To: gdb-patches

Hello everyone,

Please see the following patch submission:
https://www.sourceware.org/ml/gdb-patches/2014-09/msg00869.html

It proposes the introduction of a couple of commands, one to dump
the contents of the of the bounds table, and one to set the bounds
for any given address. Since those commands are MPX-specific,
I would like to have them prefixed somehow. But the beyond the
fact that I'd like to have them prefixed, I was wondering if
set/show commands could be used for that. Eg:

    show mpx bound ADDR
    set mpx bound ADDR LBOUND UBOUND

The reason why I am asking for comments is that the "set" command
above has a syntax which is slightly unusual for "set" commands
in the sense that "set" commands nearly always only have one argument,
whereas it has 3 in this case.

I don't think that's an actual issue, as I don't see why we would
not want that and I do feel that "set mpx bound" sounds pretty
natural.

Any thoughts on the above?

Thank you!
-- 
Joel


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

end of thread, other threads:[~2015-04-20 15:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-23  4:24 RFC: "set" command with 2 arguments instead of one? Joel Brobecker
2014-11-23  9:32 ` Andreas Schwab
2014-11-23  9:53   ` Joel Brobecker
2014-11-24  5:39     ` Doug Evans
2014-11-24  7:13       ` Joel Brobecker
2014-11-24 10:38         ` Andreas Schwab
2014-11-24 15:36         ` Doug Evans
2015-04-13 15:32         ` Tedeschi, Walfred
2015-04-14 12:49           ` Joel Brobecker
2015-04-20  5:44             ` Doug Evans
2015-04-20 15:25               ` Joel Brobecker
2015-04-20 15:30               ` Tedeschi, Walfred

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