Factor out enum printing code from generic_val_print
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 27 Jul 2015 18:11:21 +0000 (14:11 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 27 Jul 2015 18:11:21 +0000 (14:11 -0400)
commitef0bc0dd961898d393627c3d502ad168028d7c40
tree1c03942e2b73fa158d2be2a6c71fdd2d6bfad515
parentfe43fede4726122efbee9d52b9e68b47be97757f
Factor out enum printing code from generic_val_print

gdb/ChangeLog:

* valprint.c (generic_val_print): Factor out enum
printing code to ...
(generic_val_print_enum): ... this new function.
gdb/ChangeLog
gdb/valprint.c