aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-06-11 06:59:38 -0600
committerTom Tromey <tromey@adacore.com>2019-06-14 07:00:27 -0600
commitabdb711e0855f0597a96db0486b598144b788212 (patch)
treea21b7030c6416a8b0005220652616532f06d3ec8 /gdb/testsuite
parent9a9e394b05a841bdd9163f280d7ef19cc65634d6 (diff)
downloadgdb-abdb711e0855f0597a96db0486b598144b788212.zip
gdb-abdb711e0855f0597a96db0486b598144b788212.tar.gz
gdb-abdb711e0855f0597a96db0486b598144b788212.tar.bz2
Remove alloca(0) calls
PR gdb/24653 points out that a gcc snapshot will complain about the calls to alloca(0) in gdb. These calls are only needed when using the C alloca. I'm inclined to think that no current platform needs this, so this patch removes the calls. Let me know what you think. gdb/ChangeLog 2019-06-14 Tom Tromey <tromey@adacore.com> PR gdb/24653: * regcache.c (registers_changed): Don't call alloca. * top.c (execute_command): Don't call alloca.
Diffstat (limited to 'gdb/testsuite')
0 files changed, 0 insertions, 0 deletions