mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-14 07:38:41 +00:00
* common/buffer.c (buffer_grow): ARI fix: Remove unneeded
call to abort.
This commit is contained in:
parent
e4de50d447
commit
8bea7ed1e0
@ -1,3 +1,8 @@
|
||||
2012-05-22 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* common/buffer.c (buffer_grow): ARI fix: Remove unneeded
|
||||
call to abort.
|
||||
|
||||
2012-05-22 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* target.h (store_waitstatus): Move declaration ...
|
||||
|
@ -47,8 +47,6 @@ buffer_grow (struct buffer *buffer, const char *data, size_t size)
|
||||
while (buffer->used_size + size > new_buffer_size)
|
||||
new_buffer_size *= 2;
|
||||
new_buffer = xrealloc (buffer->buffer, new_buffer_size);
|
||||
if (!new_buffer)
|
||||
abort ();
|
||||
memcpy (new_buffer + buffer->used_size, data, size);
|
||||
buffer->buffer = new_buffer;
|
||||
buffer->buffer_size = new_buffer_size;
|
||||
|
Loading…
Reference in New Issue
Block a user