Factor out print_unpacked_pointer from c_val_print
authorSimon Marchi <simon.marchi@ericsson.com>
Thu, 9 Jul 2015 15:16:22 +0000 (11:16 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 9 Jul 2015 15:24:56 +0000 (11:24 -0400)
commit1033c33c36c5f3d0b89d58aaaa374c76562583f3
tree7a6197bc5efb1574b71c9a3e63e4141bdf546bca
parentf6b93c346364866f96529fb03557eb43e0434fa5
Factor out print_unpacked_pointer from c_val_print

Turn this code into a function, instead of a goto.

gdb/ChangeLog:

* c-valprint.c (c_val_print): Factor out pointer printing code
to ...
(print_unpacked_pointer): ... this new function.
gdb/ChangeLog
gdb/c-valprint.c