aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r--gdb/gdbarch.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 37ce22a..0d4142b 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -449,16 +449,6 @@ gdbarch_obstack_zalloc (struct gdbarch *arch, long size)
return data;
}
-/* See gdbarch.h. */
-
-char *
-gdbarch_obstack_strdup (struct gdbarch *gdbarch, const char *string)
-{
- char *obstring = gdbarch_obstack_zalloc (gdbarch, strlen (string) + 1);
- strcpy (obstring, string);
- return obstring;
-}
-
/* Free a gdbarch struct. This should never happen in normal
operation --- once you've created a gdbarch, you keep it around.