Remove f-strings from DAP
authorTom Tromey <tromey@adacore.com>
Fri, 2 Jun 2023 15:43:01 +0000 (09:43 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 12 Jun 2023 18:24:07 +0000 (12:24 -0600)
commita1ef65231b379e5b01fc2079d3fdc185c90d704c
treef7daa6ce610ff225c19b7da728bea126f2037efd
parentd294a0fc26891eaa8826d19f61db9ce7f7399c03
Remove f-strings from DAP

Kévin pointed out that gdb claims a minimum Python version of 3.2, but
the DAP code uses f-strings, which were added in 3.6.

This patch removes the uses of f-strings from the DAP code.  I can't
test an older version of Python, but I did confirm that this still
works with the version I have.
gdb/python/lib/gdb/dap/evaluate.py
gdb/python/lib/gdb/dap/io.py
gdb/python/lib/gdb/dap/launch.py
gdb/python/lib/gdb/dap/state.py