OSDN Git Service

Revert the following change (not approved yet):
authorbrobecke <brobecke>
Thu, 24 Feb 2011 16:39:46 +0000 (16:39 +0000)
committerbrobecke <brobecke>
Thu, 24 Feb 2011 16:39:46 +0000 (16:39 +0000)
commit4e832dd5eb6088d2cefb31e2d8c3d763d04d0b36
treeb7b9c02099147d50a142e09a23c0e23199affdec
parent6a5f87d4c6612ac936e14fc72322ef8e2a845351
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.
gdb/ChangeLog
gdb/Makefile.in
gdb/ax-gdb.c
gdb/ax-gdb.h
gdb/ax-general.c
gdb/ax.h
gdb/common/ax.def
gdb/printcmd.c
gdb/printcmd.h [deleted file]
gdb/tracepoint.c