aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2015-05-16 14:26:06 +0200
committerJan Kratochvil <jan.kratochvil@redhat.com>2015-05-16 14:26:06 +0200
commit1c88ceb1bedc81dbfd1d076e4a49bbf533b4e238 (patch)
tree536661170661d5de5ca7a65457d1be3aaa8dd6e1 /gdb/cli
parent0b738f2744178ad33eeb60bcd9bdfb77adb5605b (diff)
downloadgdb-1c88ceb1bedc81dbfd1d076e4a49bbf533b4e238.zip
gdb-1c88ceb1bedc81dbfd1d076e4a49bbf533b4e238.tar.gz
gdb-1c88ceb1bedc81dbfd1d076e4a49bbf533b4e238.tar.bz2
Code cleanup: Make parts of print_command_1 public
The later 'compile print' command should share its behavior with the existing 'print' command. Make the needed existing parts of print_command_1 public. gdb/ChangeLog 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com> * printcmd.c (struct format_data): Move it to valprint.h. (print_command_parse_format, print_value): New functions from ... (print_command_1): ... here. Call them. * valprint.h (struct format_data): Move it here from printcmd.c. (print_command_parse_format, print_value): New declarations.
Diffstat (limited to 'gdb/cli')
0 files changed, 0 insertions, 0 deletions