aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2023-09-01 12:29:44 +0200
committerJan Beulich <jbeulich@suse.com>2023-09-01 12:29:44 +0200
commitdfab07b9ead66f08661325c03175e1df9210ccd7 (patch)
tree2cc5350b6ca01e147e925ad7f34db193bf967105 /gdb
parentd54678ebc021d4827b8b00256e37a115f2853884 (diff)
downloadgdb-dfab07b9ead66f08661325c03175e1df9210ccd7.zip
gdb-dfab07b9ead66f08661325c03175e1df9210ccd7.tar.gz
gdb-dfab07b9ead66f08661325c03175e1df9210ccd7.tar.bz2
x86: unindent most of set_cpu_arch()
Inverting the initial if()'s condition allows to move out the bulk of the function by a level, improving readability at least a bit. While doing that also pull the push/pop handling up first, such that "else if" after "return" isn't needed anymore; the order in which special cases are checked doesn't really matter.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions