Move code out of 'between TRY and CATCH'
authorPedro Alves <palves@redhat.com>
Wed, 4 Oct 2017 10:07:28 +0000 (11:07 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 4 Oct 2017 12:01:20 +0000 (13:01 +0100)
commit73dcd72d4eeec176f769660ddcdefd1f25d0a2ec
tree733a256c53bcca16a687a41d1520fafba2f46694
parent44704526e482d24baa104764495ca376561a85bf
Move code out of 'between TRY and CATCH'

I tried building GDB with TRY/CATCH mapped to raw C++ try/catch (by
defining GDB_XCPT to GDB_XCPT_RAW_TRY in
gdb/common/common-exceptions.h), and that caught a case of code
written between try and catch.  This commit fixes it.

gdb/ChangeLog:
2017-10-04  Pedro Alves  <palves@redhat.com>

* guile/scm-breakpoint.c (gdbscm_breakpoint_commands): Move code
out of 'between TRY and CATCH'.
gdb/ChangeLog
gdb/guile/scm-breakpoint.c