aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-finishbreakpoint.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-10-29 08:08:29 +0100
committerJan Beulich <jbeulich@suse.com>2024-10-29 08:08:29 +0100
commitc1a4b47e2a3016ae9144f701319c529b340dec75 (patch)
tree7c425c4571f3dbd07511ad0188d2b540c31b110f /gdb/python/py-finishbreakpoint.c
parent641cf0e2c049efac533cbc517a18c04a150b2595 (diff)
downloadgdb-c1a4b47e2a3016ae9144f701319c529b340dec75.zip
gdb-c1a4b47e2a3016ae9144f701319c529b340dec75.tar.gz
gdb-c1a4b47e2a3016ae9144f701319c529b340dec75.tar.bz2
gas: make fix_new_exp()'s "exp" parameter const
This really should be only an input; in particular it looks bogus that O_add expressions are even altered. That altering and the recursion are even pointless: Once expanding what the inner call would do (with O_symbol) it becomes clear that this is no different than the default case. Simplify the code accordingly, retaining the comment.
Diffstat (limited to 'gdb/python/py-finishbreakpoint.c')
0 files changed, 0 insertions, 0 deletions