gdb: make skip_over_slash_fmt available outside printcmd.c
authorAndrew Burgess <aburgess@redhat.com>
Fri, 20 Oct 2023 13:20:35 +0000 (14:20 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Wed, 8 Nov 2023 11:18:39 +0000 (11:18 +0000)
commit7f51f2cd5866d485898fd4b60827fa3643252b71
tree530a97d88bb5c7d1fddcb0f0523d2ec805953a9a
parentf3a8a979bbed4f9462761638a57136fcb38bad68
gdb: make skip_over_slash_fmt available outside printcmd.c

Move the function skip_over_slash_fmt into completer.c, and make it
extern, with a declaration in completer.h.

This is a refactor in order to support the next commit.  I've not
changed any of the code in skip_over_slash_fmt.

There should be no user visible changes after this commit.
gdb/completer.c
gdb/completer.h
gdb/printcmd.c