Move common bits of catchpoint/exception_catchpoint to breakpoint's ctor
authorPedro Alves <pedro@palves.net>
Sat, 7 May 2022 00:29:34 +0000 (01:29 +0100)
committerPedro Alves <pedro@palves.net>
Fri, 20 May 2022 19:41:01 +0000 (20:41 +0100)
commit92bb0228c8293ec78c0efcd556b1f115b6e1b3f4
treec9878ddf8cb8af4032f78415f71cef8ede55af19
parentacd0955bc118d14dd32c08fd8a6b2ca7fa4e294c
Move common bits of catchpoint/exception_catchpoint to breakpoint's ctor

Move common bits of catchpoint and exception_catchpoint to
breakpoint's ctor, to avoid duplicating code.

Change-Id: I3a115180f4d496426522f1d89a3875026aea3cf2
gdb/break-catch-throw.c
gdb/breakpoint.c
gdb/breakpoint.h