aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-lazy-string.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-11-12 13:07:46 -0700
committerTom Tromey <tromey@adacore.com>2024-12-09 14:05:02 -0700
commit9ba5ef4bf1e3266db47eb500beab803d03c74b3f (patch)
tree1745f4b52e1c663b12626a269309647a694dc411 /gdb/testsuite/gdb.python/py-lazy-string.c
parent6b9efd5c1a6ead15845ef5d40b0a4bdc2cb33480 (diff)
downloadbinutils-9ba5ef4bf1e3266db47eb500beab803d03c74b3f.zip
binutils-9ba5ef4bf1e3266db47eb500beab803d03c74b3f.tar.gz
binutils-9ba5ef4bf1e3266db47eb500beab803d03c74b3f.tar.bz2
Omit artificial symbols from DAP variables response
While testing DAP, we found a situation where a compiler-generated variable caused the "variables" request to fail -- the variable in question being an apparent 67-megabyte string. It seems to me that artificial variables like this aren't interesting to DAP users, and the gdb CLI omits these as well. This patch changes DAP to omit these variables, adding a new gdb.Symbol.is_artificial attribute to make this possible.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-lazy-string.c')
0 files changed, 0 insertions, 0 deletions