diff options
author | Tom Tromey <tromey@redhat.com> | 2013-05-30 17:35:40 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-05-30 17:35:40 +0000 |
commit | cd82eddcf152515d67367cdca3fefdfe2aa31b7f (patch) | |
tree | 9311ff9967ece56626ae18c051bdeb6dd10b94bc /gdb/ChangeLog | |
parent | 57cee33aeea77d8c6760ae27162b627f9687c32c (diff) | |
download | gdb-cd82eddcf152515d67367cdca3fefdfe2aa31b7f.zip gdb-cd82eddcf152515d67367cdca3fefdfe2aa31b7f.tar.gz gdb-cd82eddcf152515d67367cdca3fefdfe2aa31b7f.tar.bz2 |
fix mi-cmd-stack.c
mi-cmd-stack.d had a conditional cleanup, "cleanup_tuple" that
confused the checker. However, there was no need for this, since it
was only used via do_cleanups at the end of the function, just before
another call to do_cleanups.
So, while this is a stylistic patch for the checker, I also consider
it a generic improvement for readers of the code.
* mi/mi-cmd-stack.c (list_arg_or_local): Remove
"cleanup_tuple".
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 96c19fa..5c999c0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2013-05-30 Tom Tromey <tromey@redhat.com> + * mi/mi-cmd-stack.c (list_arg_or_local): Remove + "cleanup_tuple". + +2013-05-30 Tom Tromey <tromey@redhat.com> + * dbxread.c (dbx_read_symtab): Declare 'back_to' in a more inner scope. Unconditionally call do_cleanups. |