aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-10-01 03:01:33 +0000
committerFred Fish <fnf@specifix.com>1996-10-01 03:01:33 +0000
commit77f7bfd835cfe6517f35eb7801bf750ca67d0137 (patch)
treef309fb8e9f5e096a83429fbc4db998ef907e3c71 /include
parent875c8d5cc836c32620229f32efcb7a02318e6585 (diff)
downloadgdb-77f7bfd835cfe6517f35eb7801bf750ca67d0137.zip
gdb-77f7bfd835cfe6517f35eb7801bf750ca67d0137.tar.gz
gdb-77f7bfd835cfe6517f35eb7801bf750ca67d0137.tar.bz2
* libiberty.h: Remove #ifndef PRIVATE_XMALLOC.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog15
-rw-r--r--include/libiberty.h19
2 files changed, 32 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index e61547a..d4d6cb1 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,18 @@
+Mon Sep 30 13:56:11 1996 Fred Fish <fnf@cygnus.com>
+
+ * libiberty.h: Remove #ifndef PRIVATE_XMALLOC.
+
+start-sanitize-v850
+Sat Aug 31 13:27:06 1996 Jeffrey A Law (law@cygnus.com)
+
+ * dis-asm.h (print_insn_v850): Declare.
+
+end-sanitize-v850
+Tue Aug 13 16:10:30 1996 Stu Grossman (grossman@critters.cygnus.com)
+
+ * obstack.h: Change bcopy to memcpy. Works better on Posix
+ systems, which generally lack bcopy.
+
Mon Aug 12 17:03:18 1996 Stu Grossman (grossman@critters.cygnus.com)
* ansidecl.h: Change WIN32 to _WIN32.
diff --git a/include/libiberty.h b/include/libiberty.h
index 7e4fdaa..498a7f0 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -21,9 +21,12 @@ extern char **buildargv PARAMS ((char *));
extern void freeargv PARAMS ((char **));
-/* Return the last component of a path name. */
+/* Return the last component of a path name. Note that we can't use a
+ prototype here because the parameter is declared inconsistently
+ across different systems, sometimes as "char *" and sometimes as
+ "const char *" */
-extern char *basename PARAMS ((const char *));
+extern char *basename ();
/* Concatenate an arbitrary number of strings, up to (char *) NULL.
Allocates memory using xmalloc. */
@@ -38,6 +41,10 @@ extern int fdmatch PARAMS ((int fd1, int fd2));
extern long get_run_time PARAMS ((void));
+/* Choose a temporary directory to use for scratch files. */
+
+extern char *choose_temp_base PARAMS ((void));
+
/* Allocate memory filled with spaces. Allocates using malloc. */
extern const char *spaces PARAMS ((int count));
@@ -56,6 +63,10 @@ extern const char *strerrno PARAMS ((int));
extern int strtoerrno PARAMS ((const char *));
+/* ANSI's strerror(), but more robust. */
+
+extern char *xstrerror PARAMS ((int));
+
/* Return the maximum signal number for which strsignal will return a
string. */
@@ -111,6 +122,10 @@ extern PTR xmalloc ();
extern PTR xrealloc ();
+/* Copy a string into a memory buffer without fail. */
+
+extern char *xstrdup PARAMS ((const char *));
+
/* hex character manipulation routines */
#define _hex_array_size 256