Re: [PATCHv3 1/7] gdb: split apart two different types of filename completion

Tom Tromey
2024-06-06T16:18:48Z

>>>>> "Andrew" == Andrew Burgess <aburgess@redhat.com> writes:

Andrew> Unfortunately we have two different types of filename completion in
Andrew> GDB.

I am coming into this thread pretty late, so sorry if this has already
been discussed -- but did you consider changing gdb to have a single way
to pass a filename to a command?

It seems to me that a change like this in a major release would be fine.
And, it would only really affect the minority of users who use weird
filenames.

I suspect the current unquoted filename cases can't really handle
everything correctly. For instance, IIRC the gdb command processor
removes trailing whitespace -- so files like that are impossible to give
to some commands.

Tom