aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-06-14 08:31:21 -0600
committerTom Tromey <tromey@adacore.com>2023-07-10 13:17:30 -0600
commit4a1311ba0c46c673fd933375209da38e058982c6 (patch)
tree4488d1d6e2f3c019bd00f5bcb1ac34d765598b8c /gdb/python/python.c
parent70ef91c5aa0626f2aa1ab117b8bd5da4bc6a115f (diff)
downloadbinutils-4a1311ba0c46c673fd933375209da38e058982c6.zip
binutils-4a1311ba0c46c673fd933375209da38e058982c6.tar.gz
binutils-4a1311ba0c46c673fd933375209da38e058982c6.tar.bz2
Fix oversights in frame decorator code
The frame decorator "FrameVars" code misses a couple of cases, discovered when working on related DAP changes. First, fetch_frame_locals does not stop when reaching a function boundary. This means it would return locals from any enclosing functions. Second, fetch_frame_args assumes that all arguments are at the outermost scope, but this doesn't seem to be required by gdb.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions