aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>2022-07-25 14:51:58 +0200
committerYvan Roux <yvan.roux@foss.st.com>2022-07-25 15:31:16 +0200
commit42e11f363c5e2c5e750e9b9b67fbae511d83974d (patch)
tree0a04a7d9f67a677b3b4c041354b2fda79365339e /gdb/python
parenteea2d83593428d2ac18f6b3fc43cff5472521579 (diff)
downloadbinutils-42e11f363c5e2c5e750e9b9b67fbae511d83974d.zip
binutils-42e11f363c5e2c5e750e9b9b67fbae511d83974d.tar.gz
binutils-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/python')
0 files changed, 0 insertions, 0 deletions