diff options
author | Tom Tromey <tromey@adacore.com> | 2024-12-16 10:44:55 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2025-01-06 07:32:11 -0700 |
commit | 8ac42dbf5001416e6b741c5361be14186afde5b0 (patch) | |
tree | a05b26736fc12b4813f00d487cba2e5b6e0796d8 /gdb/python/py-param.c | |
parent | 350609bb98cee92c6b4fbd334b99066683b9e5c1 (diff) | |
download | binutils-8ac42dbf5001416e6b741c5361be14186afde5b0.zip binutils-8ac42dbf5001416e6b741c5361be14186afde5b0.tar.gz binutils-8ac42dbf5001416e6b741c5361be14186afde5b0.tar.bz2 |
Handle linesStartAt1 in DAP
The DAP initialize request has a "linesStartAt1" option, where the
client can indicate that it prefers whether line numbers be 0-based or
1-based.
This patch implements this. I audited all the line-related code in
the DAP implementation.
Note that while a similar option exists for column numbers, gdb
doesn't handle these yet, so nothing is done here.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32468
Diffstat (limited to 'gdb/python/py-param.c')
0 files changed, 0 insertions, 0 deletions