Re: [PATCH 6/9] gdb/testsuite/dap: pass around dicts instead of ton objects

Tom Tromey
2023-01-25T22:04:49Z

>>>>> "Simon" == Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> writes:

Simon> Change-Id: I2ca47bea355bf459090bae8680c6a917350b5c3f

Probably could use a commit message.

The main issue with this is that dicts lose type information from the
JSON. So, if we ever need to check the type of some value sent by gdb,
we won't be able to.

But I suppose we could always just add some new proc that returns the
TON form and go from there. I don't recall if I've needed any such
tests yet. Arguably maybe we should write one.

Tom