This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: RFA: handle sparse register sets in Insight register window
- To: Jim Blandy <jimb at cygnus dot com>
- Subject: Re: RFA: handle sparse register sets in Insight register window
- From: James Ingham <jingham at cygnus dot com>
- Date: Fri, 24 Mar 2000 16:52:24 -0800 (PST)
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <200003242326.SAA17809@zwingli.cygnus.com>
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