Switch register numbers for DWARF2_DEBUG also.

This commit is contained in:
obrien 2002-03-27 05:22:35 +00:00
parent 4865cbe281
commit 9b5143f94f

View File

@ -755,7 +755,8 @@ Boston, MA 02111-1307, USA. */
(n) + 4)
#undef DBX_REGISTER_NUMBER
#define DBX_REGISTER_NUMBER(n) ((write_symbols == DWARF_DEBUG) \
#define DBX_REGISTER_NUMBER(n) ((write_symbols == DWARF2_DEBUG \
|| write_symbols == DWARF_DEBUG) \
? DWARF_DBX_REGISTER_NUMBER(n) \
: STABS_DBX_REGISTER_NUMBER(n))