diff options
author | Hui Zhu <teawater@gmail.com> | 2011-02-21 08:38:09 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2011-02-21 08:38:09 +0000 |
commit | 831a4c272727ced21904659824e78d549ba1f222 (patch) | |
tree | e356b828268dab616059f05e5beb04372305e473 /gdb/ax.h | |
parent | 9132aac991426fff40ff1fbed0f5d7e64f94d016 (diff) | |
download | gdb-831a4c272727ced21904659824e78d549ba1f222.tar.gz |
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.h')
-rw-r--r-- | gdb/ax.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -213,6 +213,8 @@ extern void ax_reg_mask (struct agent_expr *ax, int reg); /* Assemble code to operate on a trace state variable. */ extern void ax_tsv (struct agent_expr *expr, enum agent_op op, int num); + +extern void ax_memcpy (struct agent_expr *x, const void *src, size_t n); /* Functions for printing out expressions, and otherwise debugging |