X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Famd64-nat.h;h=1c8ebf0e5a84e860f38fcbaaaa1b804c26df2ac7;hb=de69cec0c53f1ef5cb242bfc969723b7dba4defb;hp=edf6df8de876929adfa1bbab673c75e959dee4a4;hpb=c40d267a71c9fdfb1c3f68217608bba45a468838;p=binutils-gdb.git diff --git a/gdb/amd64-nat.h b/gdb/amd64-nat.h index edf6df8de87..1c8ebf0e5a8 100644 --- a/gdb/amd64-nat.h +++ b/gdb/amd64-nat.h @@ -1,12 +1,12 @@ /* Native-dependent code for AMD64. - Copyright 2003 Free Software Foundation, Inc. + Copyright (C) 2003-2022 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, @@ -15,9 +15,7 @@ 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 AMD64_NAT_H #define AMD64_NAT_H 1 @@ -35,7 +33,8 @@ extern int amd64_native_gregset64_num_regs; /* Return whether the native general-purpose register set supplies register REGNUM. */ -extern int amd64_native_gregset_supplies_p (int regnum); +extern int amd64_native_gregset_supplies_p (struct gdbarch *gdbarch, + int regnum); /* Supply register REGNUM, whose contents are store in BUF, to REGCACHE. If REGNUM is -1, supply all appropriate registers. */