summaryrefslogtreecommitdiff
path: root/gdb/s390-linux-tdep.c
diff options
context:
space:
mode:
authorMarcin Koƛcielnicki <koriakin@0x04.net>2015-11-02 02:12:58 +0100
committerMarcin Koƛcielnicki <koriakin@0x04.net>2015-11-04 15:26:59 +0100
commit394816ee10a85e3e0fa7c9b0a4ca29e7e160e63c (patch)
tree3e358b49f28689b4eab4a4ed71f8b98aff5bc7c5 /gdb/s390-linux-tdep.c
parentfe6052e1eeffd4e2e2210cebc480b90094429a16 (diff)
gdb/record-full: Use xmalloc instead of alloca for temporary memory storage.
On the newly added s390 target, it's possible for a single instruction to write practically unbounded amount of memory (eg. MVCLE). This caused a stack overflow when alloca was used. gdb/ChangeLog: * record-full.c (record_full_exec_insn): Use xmalloc for temporary memory storage.
Diffstat (limited to 'gdb/s390-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions