aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-lang.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-03-13 17:39:52 -0600
committerTom Tromey <tom@tromey.com>2020-03-13 18:03:39 -0600
commita1f6a07c3d1d3a34d36d4e49f0fd3c66554e41b2 (patch)
tree0903e61b62d8cfc09a77c4198f21672fa577d2d2 /gdb/c-lang.c
parent410cf315014145f169c146442e9c28163d9ae10a (diff)
downloadfsf-binutils-gdb-a1f6a07c3d1d3a34d36d4e49f0fd3c66554e41b2.zip
fsf-binutils-gdb-a1f6a07c3d1d3a34d36d4e49f0fd3c66554e41b2.tar.gz
fsf-binutils-gdb-a1f6a07c3d1d3a34d36d4e49f0fd3c66554e41b2.tar.bz2
Use common_val_print in c-valprint.c
This changes c_value_print to call common_val_print. This is more complicated than the usual sort of common_val_print change, due to the handling of RTTI. gdb/ChangeLog 2020-03-13 Tom Tromey <tom@tromey.com> * c-valprint.c (c_value_print): Use common_val_print. gdb/testsuite/ChangeLog 2020-03-13 Tom Tromey <tom@tromey.com> * gdb.base/printcmds.exp (test_print_strings): Add regression test. * gdb.base/printcmds.c (charptr): New typedef. (teststring2): New global.
Diffstat (limited to 'gdb/c-lang.c')
0 files changed, 0 insertions, 0 deletions