summaryrefslogtreecommitdiff
path: root/gdb/ax-gdb.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-02-24 07:39:48 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-02-24 07:39:48 +0000
commita04b0428abc8564638c910f80b68a1cc7f14d3b2 (patch)
treebd34ea0a6e12ba8af1f16dcafebda64166737547 /gdb/ax-gdb.h
parent633ff500c5d9c76c0097985c4f6d83acdaaf08cb (diff)
downloadbinutils-gdb-a04b0428abc8564638c910f80b68a1cc7f14d3b2.tar.gz
Revert the following change (not approved yet):
2011-02-21 Hui Zhu <teawater@gmail.com> * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. * ax-gdb.c (gen_printf_expr_callback): New function. * ax-gdb.h (gen_printf_expr_callback): Forward declare. * ax-general.c (ax_memcpy): New function. (ax_print): Handle "printf". (ax_reqs): Ditto. * ax.h (ax_memcpy): Forward declare. * common/ax.def (invalid2): Removed. (printf): New entry. * printcmd.c (printcmd.h): New include. (string_printf): New function. (ui_printf): Removed. (printf_command): Remove static. Call string_printf. (eval_command): Call string_printf. * printcmd.h: New file. * tracepoint.c (validate_actionline, encode_actions_1): handle printf_command.
Diffstat (limited to 'gdb/ax-gdb.h')
-rw-r--r--gdb/ax-gdb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/ax-gdb.h b/gdb/ax-gdb.h
index 9b15230d976..a2367a67e39 100644
--- a/gdb/ax-gdb.h
+++ b/gdb/ax-gdb.h
@@ -108,8 +108,6 @@ extern struct agent_expr *gen_trace_for_var (CORE_ADDR, struct gdbarch *,
extern struct agent_expr *gen_eval_for_expr (CORE_ADDR, struct expression *);
-extern void gen_printf_expr_callback (char *, char **, void *, void *);
-
extern int trace_kludge;
#endif /* AX_GDB_H */