[PATCH 8/8] gdbserver: Update Haiku support for 18.x

Jérôme Duval
2026-03-12T17:26:58Z

---
gdbserver/haiku-amd64-low.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gdbserver/haiku-amd64-low.cc b/gdbserver/haiku-amd64-low.cc
index 3503d5ce..c79d7055 100644
--- a/gdbserver/haiku-amd64-low.cc
+++ b/gdbserver/haiku-amd64-low.cc
@@ -245,12 +245,12 @@ haiku_amd64_target::low_arch_setup (process_info *process)
process = current_process ();

/* Set up the target description. */
- target_desc *tdesc = amd64_create_target_description (X86_XSTATE_AVX_MASK,
+ target_desc_up tdesc = amd64_create_target_description (X86_XSTATE_AVX_MASK,
false, false, false);

- init_target_desc (tdesc, amd64_expedite_regs, GDB_OSABI_HAIKU);
+ init_target_desc (tdesc.get (), amd64_expedite_regs, GDB_OSABI_HAIKU);

- process->tdesc = tdesc;
+ process->tdesc = tdesc.release ();
}

/* The singleton target ops object. */
--
2.43.0