X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Ffrv-tdep.h;h=29763e9d2ba2c4cec31f0bd754335d8f5b13fd34;hb=8118159c69a957292ce701b3d2937f19a0d0f973;hp=52aacdd41264044e765a188bfc89561370c79cdc;hpb=8b67aa36eac12705175381f8b47fd30efd3d5b0d;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/frv-tdep.h b/gdb/frv-tdep.h index 52aacdd412..29763e9d2b 100644 --- a/gdb/frv-tdep.h +++ b/gdb/frv-tdep.h @@ -1,11 +1,11 @@ /* Architecture-dependent code for the Fujitsu FR-V, for GDB, the GNU Debugger. - Copyright 2004 Free Software Foundation, Inc. + Copyright (C) 2004-2020 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,9 +14,10 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + along with this program. If not, see . */ + +#ifndef FRV_TDEP_H +#define FRV_TDEP_H /* Enumerate the possible ABIs for FR-V. */ enum frv_abi @@ -97,11 +98,6 @@ enum { /* Return the FR-V ABI associated with GDBARCH. */ enum frv_abi frv_abi (struct gdbarch *gdbarch); -/* Associate a sigcontext address fetcher with GDBARCH. */ -void frv_set_sigcontext_reg_addr (struct gdbarch *gdbarch, - CORE_ADDR (*sigcontext_reg_addr) - (struct frame_info *, int, CORE_ADDR *)); - /* Fetch the interpreter and executable loadmap addresses (for shared library support) for the FDPIC ABI. Return 0 if successful, -1 if not. (E.g, -1 will be returned if the ABI isn't the FDPIC ABI.) */ @@ -116,3 +112,13 @@ CORE_ADDR frv_fdpic_find_global_pointer (CORE_ADDR addr); for that function, if one exists. If no canonical descriptor could be found, return 0. */ CORE_ADDR frv_fdpic_find_canonical_descriptor (CORE_ADDR entry_point); + + +/* Given an objfile, return the address of its link map. This value is + needed for TLS support. */ +CORE_ADDR frv_fetch_objfile_link_map (struct objfile *objfile); + +struct target_so_ops; +extern struct target_so_ops frv_so_ops; + +#endif /* FRV_TDEP_H */