Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: RFA: handle sparse register sets in Insight register window
  2000-04-01  0:00 ` RFA: handle sparse register sets in Insight register window James Ingham
@ 2000-03-24 16:49   ` James Ingham
  0 siblings, 0 replies; 2+ messages in thread
From: James Ingham @ 2000-03-24 16:49 UTC (permalink / raw)
  To: Jim Blandy; +Cc: gdb-patches

Jim,

This looks okay, but in half the uses you only want the names of the
register, so wouldn't it be better to add a flag to gdb_regnames to
print out the index, so:

gdb_regnames

just prints out the names, and

gdb_regnames -index

prints out the list of pairs?

This would be simpler and faster on the Tcl end.  You can check for
the flag in gdb_regnames, and use the last argument of
map_arg_registers to pass in the value.

Jim




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

* Re: RFA: handle sparse register sets in Insight register window
       [not found] <200003242326.SAA17809@zwingli.cygnus.com>
@ 2000-04-01  0:00 ` James Ingham
  2000-03-24 16:49   ` James Ingham
  0 siblings, 1 reply; 2+ messages in thread
From: James Ingham @ 2000-04-01  0:00 UTC (permalink / raw)
  To: Jim Blandy; +Cc: gdb-patches

Jim,

This looks okay, but in half the uses you only want the names of the
register, so wouldn't it be better to add a flag to gdb_regnames to
print out the index, so:

gdb_regnames

just prints out the names, and

gdb_regnames -index

prints out the list of pairs?

This would be simpler and faster on the Tcl end.  You can check for
the flag in gdb_regnames, and use the last argument of
map_arg_registers to pass in the value.

Jim




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

end of thread, other threads:[~2000-04-01  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200003242326.SAA17809@zwingli.cygnus.com>
2000-04-01  0:00 ` RFA: handle sparse register sets in Insight register window James Ingham
2000-03-24 16:49   ` James Ingham

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