diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2025-10-11 00:02:44 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2025-10-14 13:46:29 -0400 |
commit | 71adb55542d61bc5776cb3b0921db9e8a97a3d00 (patch) | |
tree | 82b3019043de8d075379138fcd7c07a672d6e348 /gdb/python/py-block.c | |
parent | d39a6e7c1b01792a2aa4021f6511a3f9173efe48 (diff) | |
download | binutils-71adb55542d61bc5776cb3b0921db9e8a97a3d00.zip binutils-71adb55542d61bc5776cb3b0921db9e8a97a3d00.tar.gz binutils-71adb55542d61bc5776cb3b0921db9e8a97a3d00.tar.bz2 |
gdb/symtab: declare variables on first use in skip_prologue_sal
I'm currently looking at this function, and think it makes it easier to
process if the variables are declared when actually used.
I turned one while loop into a for, in order to be able to declare the
loop variable in the for loop.
Change-Id: I70258a94f39acb3d56e5b8e85cdfadc2f7687bc4
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/python/py-block.c')
0 files changed, 0 insertions, 0 deletions