keep_going: Add missing discard_cleanups call
authorPedro Alves <palves@redhat.com>
Thu, 26 Mar 2015 19:05:40 +0000 (19:05 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 1 Apr 2015 14:18:41 +0000 (15:18 +0100)
commitde1fe8c8ab7f67856d9f2e2c5aa491cec01d3e85
tree6651d366c0a4f4f16385da43056be7c75b5c0184
parente6f5c25b57546cbd88daccea4f1739c3f90f7560
keep_going: Add missing discard_cleanups call

By inspection, I noticed a path where we return without discarding the
cleanups.

gdb/ChangeLog:
2015-04-01  Pedro Alves  <palves@redhat.com>

* infrun.c (keep_going): Also discard cleanups if inserting
breakpoints fails.
gdb/ChangeLog
gdb/infrun.c