From 1bae970c1932d62004eecdf242e25c7aac796d08 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 13 Nov 2025 16:46:54 -0500 Subject: [PATCH] gdbserver: adjust init_target_desc call in tic6x_read_description I spotted this call missing an argument. For context, init_target_desc gained this osabi parameter in this commit: Author: Andrew Burgess AuthorDate: Fri Oct 4 19:30:04 2024 +0100 Commit: Andrew Burgess CommitDate: Tue Nov 12 12:51:36 2024 +0000 gdbserver: pass osabi to GDB in more target descriptions This bug was present in GDB 16. I wonder if anybody uses this today. Change-Id: Id5483be3efa0ca9d238d59af8abae94e8bdbd57c Approved-By: Tom Tromey --- gdbserver/linux-tic6x-low.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdbserver/linux-tic6x-low.cc b/gdbserver/linux-tic6x-low.cc index b81863ba64c..68fee8d6426 100644 --- a/gdbserver/linux-tic6x-low.cc +++ b/gdbserver/linux-tic6x-low.cc @@ -228,7 +228,7 @@ tic6x_read_description (enum c6x_feature feature) { *tdesc = tic6x_create_target_description (feature); static const char *expedite_regs[] = { "A15", "PC", NULL }; - init_target_desc (*tdesc, expedite_regs); + init_target_desc (*tdesc, expedite_regs, GDB_OSABI_LINUX); } return *tdesc;