diff options
author | Tom Tromey <tom@tromey.com> | 2017-09-09 09:56:27 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-09-11 16:15:10 -0600 |
commit | d6b9b80f9483b6c1a3a018c0fcaf813ca098d8af (patch) | |
tree | 4494fcc0db28cae657a5ce9bd9f8e57d5136bb9a /gdb/ChangeLog | |
parent | a9921622de0a7332a333c5206ce8cd632803df97 (diff) | |
download | gdb-d6b9b80f9483b6c1a3a018c0fcaf813ca098d8af.zip gdb-d6b9b80f9483b6c1a3a018c0fcaf813ca098d8af.tar.gz gdb-d6b9b80f9483b6c1a3a018c0fcaf813ca098d8af.tar.bz2 |
Remove cleanups from findcmd.c
This removes cleanups from findcmd.c, replacing manual buffer
management with a gdb::byte_vector.
ChangeLog
2017-09-11 Tom Tromey <tom@tromey.com>
* findcmd.c (put_bits): Take a gdb::byte_vector.
(parse_find_args): Return gdb::byte_vector. "args" now const.
Remove "pattern_bufp" and "pattern_lenp" parameters. Remove
cleanups.
(find_command): Update.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a0dfb78..805204c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2017-09-11 Tom Tromey <tom@tromey.com> + * findcmd.c (put_bits): Take a gdb::byte_vector. + (parse_find_args): Return gdb::byte_vector. "args" now const. + Remove "pattern_bufp" and "pattern_lenp" parameters. Remove + cleanups. + (find_command): Update. + +2017-09-11 Tom Tromey <tom@tromey.com> + * cli/cli-script.c (class scoped_restore_hook_in): New. (clear_hook_in_cleanup): Remove. (execute_cmd_pre_hook, execute_cmd_post_hook): Use |