binutils-gdb/gdb/python/lib/gdb
Tom Tromey 68ca7890dd Fix DAP stackTrace through frames without debuginfo
The DAP stackTrace implementation did not fully account for frames
without debuginfo.  Attemping this would yield a result like:

{"request_seq": 5, "type": "response", "command": "stackTrace", "success": false, "message": "'NoneType' object has no attribute 'filename'", "seq": 11}

This patch fixes the problem by adding another check for None.
2023-03-06 08:15:04 -07:00
..
command gdb: reformat Python files with black 23.1.0 2023-02-27 13:28:32 -05:00
dap Fix DAP stackTrace through frames without debuginfo 2023-03-06 08:15:04 -07:00
function Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
printer Remove unused imports from gdb's Python code 2023-02-13 10:22:48 -07:00
__init__.py Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
disassembler.py Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
FrameDecorator.py gdb: reformat Python files with black 23.1.0 2023-02-27 13:28:32 -05:00
FrameIterator.py Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
frames.py Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
printing.py gdb: reformat Python files with black 23.1.0 2023-02-27 13:28:32 -05:00
prompt.py Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
styling.py Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
types.py Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
unwinder.py Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
xmethod.py Remove unused imports from gdb's Python code 2023-02-13 10:22:48 -07:00