diff options
author | Tom Tromey <tom@tromey.com> | 2021-01-23 12:20:11 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-01-23 20:33:25 -0700 |
commit | b10bae18753862874628f902796eb1cd3925f95d (patch) | |
tree | b2f9a8be71b6ca2276eef3ca352e280958e90bd3 /README-maintainer-mode | |
parent | 3637a558a50141676f9997979491296dc007168d (diff) | |
download | gdb-b10bae18753862874628f902796eb1cd3925f95d.zip gdb-b10bae18753862874628f902796eb1cd3925f95d.tar.gz gdb-b10bae18753862874628f902796eb1cd3925f95d.tar.bz2 |
Avoid crash when "compile" expression uses cooked register
If the "compile" command is used with an expression that happens to
require a cooked register, then GDB can crash. This patch does not
fix the bug, but at least turns the crash into an error instead.
2021-01-23 Tom Tromey <tom@tromey.com>
PR compile/25575
* compile/compile-loc2c.c (note_register): New function.
(pushf_register_address, pushf_register): Use it.
Diffstat (limited to 'README-maintainer-mode')
0 files changed, 0 insertions, 0 deletions