diff options
author | Matti Puputti <matti.puputti@intel.com> | 2023-05-12 15:33:20 +0200 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2023-05-24 17:02:21 +0100 |
commit | 389971df23ca74092314dbde1303310a33766ba7 (patch) | |
tree | 84a5bfe3138619a51de2ff04661ee35f9bfc8394 /gdb/python/py-block.c | |
parent | ea33730dfa4b2e639f99bb4c1f4f8f073ef5b937 (diff) | |
download | binutils-389971df23ca74092314dbde1303310a33766ba7.zip binutils-389971df23ca74092314dbde1303310a33766ba7.tar.gz binutils-389971df23ca74092314dbde1303310a33766ba7.tar.bz2 |
gdb, infcmd: Support jump command with same line in multiple symtabs
If a header file defining a static function is included in multiple source
files, each calling the function, and GDB is asked to jump to a line inside
that function, there would be multiple locations matching the target. The
solution in this commit is to select the location in the current symtab.
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/python/py-block.c')
0 files changed, 0 insertions, 0 deletions