diff options
author | Torbjörn SVENSSON <torbjorn.svensson@foss.st.com> | 2022-07-25 14:51:58 +0200 |
---|---|---|
committer | Yvan Roux <yvan.roux@foss.st.com> | 2022-07-25 15:31:16 +0200 |
commit | 42e11f363c5e2c5e750e9b9b67fbae511d83974d (patch) | |
tree | 0a04a7d9f67a677b3b4c041354b2fda79365339e /gdb/compile/compile-object-run.c | |
parent | eea2d83593428d2ac18f6b3fc43cff5472521579 (diff) | |
download | gdb-42e11f363c5e2c5e750e9b9b67fbae511d83974d.zip gdb-42e11f363c5e2c5e750e9b9b67fbae511d83974d.tar.gz gdb-42e11f363c5e2c5e750e9b9b67fbae511d83974d.tar.bz2 |
gdb/arm: Use if-else if instead of switch
As the register numbers for the alternative Arm SP registers are not
constant, it's not possible to use switch statement to define the
rules. In order to not have a mix, replace the few existing
switch statements with regular if-else if statements
Diffstat (limited to 'gdb/compile/compile-object-run.c')
0 files changed, 0 insertions, 0 deletions