Bump GDB's version number to 15.0.91.DATE-git.
[binutils-gdb.git] / gdb / aarch64-newlib-tdep.c
blob4ac42a4ae268880700c8c447b10e6b5a0855ef5f
1 /* Target-dependent code for Newlib AArch64.
3 Copyright (C) 2011-2024 Free Software Foundation, Inc.
4 Contributed by ARM Ltd.
6 This file is part of GDB.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>. */
22 #include "gdbarch.h"
23 #include "aarch64-tdep.h"
24 #include "osabi.h"
26 /* Implement the 'init_osabi' method of struct gdb_osabi_handler. */
28 static void
29 aarch64_newlib_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
31 aarch64_gdbarch_tdep *tdep = gdbarch_tdep<aarch64_gdbarch_tdep> (gdbarch);
33 /* Jump buffer - support for longjmp.
34 Offset of original PC in jump buffer (in registers). */
35 tdep->jb_pc = 11;
38 void _initialize_aarch64_newlib_tdep ();
39 void
40 _initialize_aarch64_newlib_tdep ()
42 gdbarch_register_osabi (bfd_arch_aarch64, 0, GDB_OSABI_NEWLIB,
43 aarch64_newlib_init_abi);