aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-10-15 23:04:14 +1030
committerAlan Modra <amodra@gmail.com>2019-10-16 11:03:34 +1030
commit8ef6decbc1f3a5965fff70289e2bdccae3f9aa3c (patch)
treee20a037c9de93b42f9ec7ead0a97dcbcfcadd89b /gdb/thread.c
parentd9f06fca198cd11bbfd8c03e389a75f5d735b3a4 (diff)
downloadgdb-8ef6decbc1f3a5965fff70289e2bdccae3f9aa3c.zip
gdb-8ef6decbc1f3a5965fff70289e2bdccae3f9aa3c.tar.gz
gdb-8ef6decbc1f3a5965fff70289e2bdccae3f9aa3c.tar.bz2
qsort: tc-xtensa.c tidy
Not much to see here, just reduce the number of calls to S_GET_VALUE and symbol_symbolS in the comparison functions. * config/tc-xtensa.c (xg_order_trampoline_chain_entry): Don't call S_GET_VALUE multiple times for a symbol. Rearrange code so it is obvious what is the primary sort key. (xg_order_trampoline_chain): Similarly.
Diffstat (limited to 'gdb/thread.c')
0 files changed, 0 insertions, 0 deletions