projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more fixes of conditional compilation of gdb support
[ust.git]
/
include
/
ust
/
processor.h
diff --git
a/include/ust/processor.h
b/include/ust/processor.h
index 085fa1a5dd4f49b6ed9bd95fba413862054ccd13..7ed7d2ec2a827abe3a644a9aecf0317309cc305d 100644
(file)
--- a/
include/ust/processor.h
+++ b/
include/ust/processor.h
@@
-32,12
+32,12
@@
struct registers {
#error "GDB integration not supported for x86-32 yet."
#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_registers(a)
#else /* CONFIG_UST_GDB_INTEGRATION */
-#define save_ip()
+#define save_ip(
channel,name
)
#define save_registers(a)
#endif /* CONFIG_UST_GDB_INTEGRATION */
#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));
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,
#endif /* CONFIG_UST_GDB_INTEGRATION */
/* Macro to insert the address of a relative jump in an assembly stub,
This page took
0.023932 seconds
and
4
git commands to generate.