]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/regcache.c
Remove regcache_get_ptid
[thirdparty/binutils-gdb.git] / gdb / regcache.c
index 83bcbd22a374060d9bf995316abed2a4c76288fa..9881e92468ddce3c3ca5eea97872df26cda4bd93 100644 (file)
@@ -223,16 +223,6 @@ reg_buffer::arch () const
   return m_descr->gdbarch;
 }
 
-/* See regcache.h.  */
-
-ptid_t
-regcache_get_ptid (const struct regcache *regcache)
-{
-  gdb_assert (!ptid_equal (regcache->ptid (), minus_one_ptid));
-
-  return regcache->ptid ();
-}
-
 /* Cleanup class for invalidating a register.  */
 
 class regcache_invalidator