aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2024-04-15 13:48:34 +0100
committerAndrew Burgess <aburgess@redhat.com>2024-04-17 13:34:29 +0100
commitc25c939387cfc378c01fb5eb7f49c78c03b8cdcb (patch)
tree49c6bec9ef1cacafa5279047024b48ee6fce9ecf /libctf
parent0f91492fcf3e75a014c605bc61fc7eed8ad5100e (diff)
downloadgdb-c25c939387cfc378c01fb5eb7f49c78c03b8cdcb.zip
gdb-c25c939387cfc378c01fb5eb7f49c78c03b8cdcb.tar.gz
gdb-c25c939387cfc378c01fb5eb7f49c78c03b8cdcb.tar.bz2
gdb/record: remove unnecessary use of filename_completer
Spotted that the 'record' command has its completer set to filename_completer. The problem is that 'record' is a prefix command, as such, its completer is hard-coded to complete on sub-commands. The attempt to use filename_completer is irrelevant. The 'record' command is itself a command though, that is, a user can do this: (gdb) record which is really just an alias for: (gdb) target record-full Nowhere does cmd_record_start (which is called when 'record' is used) expect a filename, and 'target record-full' doesn't expect a filename either. So lets just drop the line which sets filename_completer as the completer for 'record'. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions