diff options
author | Pedro Alves <palves@redhat.com> | 2016-03-09 18:25:00 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-03-09 18:25:00 +0000 |
commit | 7a3bde34bc61af108556c74b661533dadddcb178 (patch) | |
tree | ff453098a898dc71721e2188ba49df506907529f /gdb/ChangeLog | |
parent | c5c136ea94f21e5ff968d5b402494611464c7b31 (diff) | |
download | gdb-7a3bde34bc61af108556c74b661533dadddcb178.zip gdb-7a3bde34bc61af108556c74b661533dadddcb178.tar.gz gdb-7a3bde34bc61af108556c74b661533dadddcb178.tar.bz2 |
Use struct buffer in gdb_readline_no_editing
gdb/ChangeLog:
2016-03-09 Pedro Alves <palves@redhat.com>
* common/buffer.h (buffer_grow_char): New function.
* top.c: Include buffer.h.
(gdb_readline_no_editing): Rename 'prompt_arg' parameter to
'prompt'. Use struct buffer instead of xrealloc.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 06d1373..bea8172 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 2016-03-09 Pedro Alves <palves@redhat.com> + * common/buffer.h (buffer_grow_char): New function. + * top.c: Include buffer.h. + (gdb_readline_no_editing): Rename 'prompt_arg' parameter to + 'prompt'. Use struct buffer instead of xrealloc. + +2016-03-09 Pedro Alves <palves@redhat.com> + * defs.h (gdb_readline): Delete declaration. * top.c (gdb_readline): Rename to ... (gdb_readline_no_editing): ... this, and make static. |