X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fsparc-nat.c;h=81d16cecfdc32c3a09a02c0d86526132c9354910;hb=9ae6bf640dc7c950e6f36097a3d2d760a132a542;hp=8a124872c7f37ba33962bc7e14bb91b14faf4a8a;hpb=405feb71d4733a36cdc0629e9e4ccecd1a40dc39;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c index 8a124872c7..81d16cecfd 100644 --- a/gdb/sparc-nat.c +++ b/gdb/sparc-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for SPARC. - Copyright (C) 2003-2019 Free Software Foundation, Inc. + Copyright (C) 2003-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -149,7 +149,7 @@ sparc_fetch_inferior_registers (struct regcache *regcache, int regnum) belong to the selected thread (the LWP could be in the middle of executing the thread switch code). - These functions should instead be paramaterized with an explicit + These functions should instead be parameterized with an explicit object (struct regcache, struct thread_info?) into which the LWPs registers can be written. */ pid = get_ptrace_pid (regcache->ptid ()); @@ -252,7 +252,7 @@ sparc_store_inferior_registers (struct regcache *regcache, int regnum) TARGET_OBJECT_WCOOKIE. Fetch StackGhost Per-Process XOR cookie. */ enum target_xfer_status -sparc_xfer_wcookie (struct target_ops *ops, enum target_object object, +sparc_xfer_wcookie (enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len)