more fixes of conditional compilation of gdb support
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Wed, 9 Dec 2009 19:10:05 +0000 (14:10 -0500)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Wed, 9 Dec 2009 19:10:05 +0000 (14:10 -0500)
include/ust/processor.h

index 085fa1a5dd4f49b6ed9bd95fba413862054ccd13..7ed7d2ec2a827abe3a644a9aecf0317309cc305d 100644 (file)
@@ -32,12 +32,12 @@ struct registers {
 
 #error "GDB integration not supported for x86-32 yet."
 
-#define save_ip()
+#define save_ip(channel,name)
 #define save_registers(a)
 
 #else /* CONFIG_UST_GDB_INTEGRATION */
 
-#define save_ip()
+#define save_ip(channel,name)
 #define save_registers(a)
 
 #endif /* CONFIG_UST_GDB_INTEGRATION */
@@ -204,6 +204,11 @@ struct registers {
        memcpy(regsptr, (void *)ust_reg_stack_ptr, sizeof(struct registers)); \
        ust_reg_stack_ptr = (void *)(((long)ust_reg_stack_ptr) + sizeof(struct registers));
 
+#else /* CONFIG_UST_GDB_INTEGRATION */
+
+#define save_ip(channel,name)
+#define save_registers(a)
+
 #endif /* CONFIG_UST_GDB_INTEGRATION */
 
 /* Macro to insert the address of a relative jump in an assembly stub,
This page took 0.02428 seconds and 4 git commands to generate.