2003-12-11 Ulrich Weigand <uweigand@de.ibm.com>
authorRoland McGrath <roland@gnu.org>
Tue, 6 Jan 2004 10:30:50 +0000 (10:30 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 6 Jan 2004 10:30:50 +0000 (10:30 +0000)
* db_info.c (REGISTER): Add bit size of thread register as second
parameter to REGISTER macro.

nptl_db/db_info.c

index 40cf5bf..4d47b66 100644 (file)
@@ -93,8 +93,8 @@ DESC (_thread_db_pthread_dtvp,
 # define REGISTER_THREAD_AREA(bits, regofs, scale) \
   DB_DEFINE_DESC (_thread_db_register##bits##_thread_area, \
                  bits, (scale), (regofs));
-# define REGISTER(bits, regofs, bias) \
-  DB_DEFINE_DESC (_thread_db_register##bits, bits, (uint32_t)(bias), (regofs));
+# define REGISTER(bits, size, regofs, bias) \
+  DB_DEFINE_DESC (_thread_db_register##bits, size, (uint32_t)(bias), (regofs));
 
 DB_THREAD_SELF
 #endif