Index: gdb/gdb_obstack.h |
diff --git a/gdb/gdb_obstack.h b/gdb/gdb_obstack.h |
index 468302bd974b050401042d2ddf08b8ef9eb93574..1459ee96b852b95b07e756f6a1ba7e0bd3099bfd 100644 |
--- a/gdb/gdb_obstack.h |
+++ b/gdb/gdb_obstack.h |
@@ -1,6 +1,6 @@ |
/* Obstack wrapper for GDB. |
- Copyright (C) 2002, 2007-2012 Free Software Foundation, Inc. |
+ Copyright (C) 2002-2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -51,4 +51,11 @@ |
#define obstack_grow_wstr(OBSTACK, WSTRING) \ |
obstack_grow (OBSTACK, WSTRING, sizeof (gdb_wchar_t) * gdb_wcslen (WSTRING)) |
+/* Concatenate NULL terminated variable argument list of `const char |
+ *' strings; return the new string. Space is found in the OBSTACKP. |
+ Argument list must be terminated by a sentinel expression `(char *) |
+ NULL'. */ |
+ |
+extern char *obconcat (struct obstack *obstackp, ...) ATTRIBUTE_SENTINEL; |
+ |
#endif |