Refactor set_internal_breakpoint / internal_breakpoint ctor
authorPedro Alves <pedro@palves.net>
Fri, 6 May 2022 23:50:24 +0000 (00:50 +0100)
committerPedro Alves <pedro@palves.net>
Fri, 20 May 2022 19:41:01 +0000 (20:41 +0100)
commit752a2291b120ef2923615123f8a5ada334745f08
tree2f758ab9344a2210f4eabee00c8c8e715c97e431
parentbd21b6c9cf3e4a3fc78158ef288787dc572ce244
Refactor set_internal_breakpoint / internal_breakpoint ctor

This moves initialization of internal_breakpoint's breakpoint fields
to internal_breakpoint's ctor, and stops using
new_breakpoint_from_type for internal_breakpoint breakpoints.

Change-Id: I898ed0565f47cb00e4429f1c6446e6f9a385a78d
gdb/breakpoint.c