aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-value.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-03-23 12:31:29 +0100
committerJan Beulich <jbeulich@suse.com>2022-03-23 12:31:29 +0100
commite52a16f2aa20773f42c28bf91a568d0683e5767c (patch)
treee591957158986d497d4aa013a975cd55115767fb /gdb/python/py-value.c
parent64d23078e30e54e1bb095962540e4c6138edaf5a (diff)
downloadgdb-e52a16f2aa20773f42c28bf91a568d0683e5767c.zip
gdb-e52a16f2aa20773f42c28bf91a568d0683e5767c.tar.gz
gdb-e52a16f2aa20773f42c28bf91a568d0683e5767c.tar.bz2
x86: reject relocations involving registers
To prevent fatal or even internal errors, add a simple check to i386_validate_fix(), rejecting relocations when their target symbol is an equate of a register (or resolved to reg_section for any other reason).
Diffstat (limited to 'gdb/python/py-value.c')
0 files changed, 0 insertions, 0 deletions