From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Hayes To: Stan Shebs Cc: gdb@sourceware.cygnus.com Subject: Proposal for handling large numbers of registers Date: Fri, 06 Aug 1999 17:33:00 -0000 Message-id: <14251.31513.361599.969792@ongaonga.elec.canterbury.ac.nz> References: <199908062333.QAA16667@andros.cygnus.com> X-SW-Source: 1999-q3/msg00123.html Stan Shebs writes: > So I'm considering importing the idea of "register classes" from GCC. > GCC uses the class idea to guide allocation and instruction selection, > but we don't even need that much; just define the names of the classes > and which registers belong to each. I like this idea. It would be nice if one could just cut the register class definitions from gcc tm.h and paste them into gdb tm.h. Ideally one could refer to the class names by their full name, such as ADDR_REGS, or by their class letter, such as 'a'. Michael.