From 2648dfede02e487f89b9a8643b858aed755f00bd Mon Sep 17 00:00:00 2001
From: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date: Fri, 22 Nov 2013 18:49:51 +0000
Subject: Drop regset_alloc().

Now that all invocations of regset_alloc() have been removed, the
function is dropped.  Since regset_alloc() was the only function
provided by regset.c, this source file is removed as well.
---
 gdb/regset.h | 11 -----------
 1 file changed, 11 deletions(-)

(limited to 'gdb/regset.h')

diff --git a/gdb/regset.h b/gdb/regset.h
index f1a6e241d96..03dbdaac692 100644
--- a/gdb/regset.h
+++ b/gdb/regset.h
@@ -52,15 +52,4 @@ struct regset
   collect_regset_ftype *collect_regset;
 };
 
-/* Allocate a fresh 'struct regset' whose supply_regset function is
-   SUPPLY_REGSET, and whose collect_regset function is COLLECT_REGSET.
-   If the regset has no collect_regset function, pass NULL for
-   COLLECT_REGSET.
-
-   The object returned is allocated on ARCH's obstack.  */
-
-extern struct regset *regset_alloc (struct gdbarch *arch,
-                                    supply_regset_ftype *supply_regset,
-                                    collect_regset_ftype *collect_regset);
-
 #endif /* regset.h */
-- 
cgit v1.2.1