Move find_toplevel_char to cp-support.[ch]
authorKeith Seitz <keiths@redhat.com>
Fri, 25 Feb 2022 00:42:22 +0000 (16:42 -0800)
committerKeith Seitz <keiths@redhat.com>
Fri, 25 Feb 2022 00:42:22 +0000 (16:42 -0800)
commit2f2c677e670063360cbb3fb1b32bd6cf36bcf03a
treeae2115f266176ad9555cc09d8e1b5239ee04de15
parent685c6a86373edfce04454562e022a20a303eb734
Move find_toplevel_char to cp-support.[ch]

find_toplevel_char is being used more and more outside of linespec.c, so
this patch moves it into cp-support.[ch].
gdb/cp-support.c
gdb/cp-support.h
gdb/linespec.c
gdb/linespec.h