diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2025-10-11 00:06:20 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2025-10-14 14:07:58 -0400 |
commit | 927cb4b7781cb122a2c5ce02a5541a159a1a0627 (patch) | |
tree | 566295b7d6a813b9faee84650a9b555424e60056 /gdb/python/py-block.c | |
parent | 71adb55542d61bc5776cb3b0921db9e8a97a3d00 (diff) | |
download | binutils-927cb4b7781cb122a2c5ce02a5541a159a1a0627.zip binutils-927cb4b7781cb122a2c5ce02a5541a159a1a0627.tar.gz binutils-927cb4b7781cb122a2c5ce02a5541a159a1a0627.tar.bz2 |
gdb: remove unnecessary use of symtab_and_line in create_sals_line_offset
create_sals_line_offset uses a symtab_and_line essentially just to hold
a line number and pass it down to decode_digits_list_mode. Change the
local variable to be an int, and change decode_digits_list_mode to
accept an int, instead of a symtab_and_line. I think this makes the
code a bit simpler.
Change-Id: I445d2473f042693c3a4f2693877408f85100cd1f
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/python/py-block.c')
0 files changed, 0 insertions, 0 deletions