mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-02 06:54:54 +00:00
merge from gcc
This commit is contained in:
parent
12eed87b7c
commit
6e9980f54d
@ -1,3 +1,7 @@
|
|||||||
|
2002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
|
||||||
|
|
||||||
|
* xmalloc.c (xmalloc_fail): Clarify error message.
|
||||||
|
|
||||||
2002-02-21 Jim Blandy <jimb@redhat.com>
|
2002-02-21 Jim Blandy <jimb@redhat.com>
|
||||||
|
|
||||||
* splay-tree.c (splay_tree_xmalloc_allocate,
|
* splay-tree.c (splay_tree_xmalloc_allocate,
|
||||||
|
@ -120,12 +120,12 @@ xmalloc_failed (size)
|
|||||||
else
|
else
|
||||||
allocated = (char *) sbrk (0) - (char *) &environ;
|
allocated = (char *) sbrk (0) - (char *) &environ;
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
"\n%s%sCannot allocate %lu bytes after allocating %lu bytes\n",
|
"\n%s%sout of memory allocating %lu bytes after allocating %lu bytes\n",
|
||||||
name, *name ? ": " : "",
|
name, *name ? ": " : "",
|
||||||
(unsigned long) size, (unsigned long) allocated);
|
(unsigned long) size, (unsigned long) allocated);
|
||||||
#else /* HAVE_SBRK */
|
#else /* HAVE_SBRK */
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
"\n%s%sCannot allocate %lu bytes\n",
|
"\n%s%sout of memory allocating %lu bytes\n",
|
||||||
name, *name ? ": " : "",
|
name, *name ? ": " : "",
|
||||||
(unsigned long) size);
|
(unsigned long) size);
|
||||||
#endif /* HAVE_SBRK */
|
#endif /* HAVE_SBRK */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user