diff options
author | Tom Tromey <tromey@redhat.com> | 2014-07-18 08:48:43 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-07-29 08:53:15 -0600 |
commit | 84202f9c998c3f1bf0aa5d6457de7c9cad5f8500 (patch) | |
tree | 70d4c6c5736c997ffcd489eabd9782eb75498c85 /gdb/ChangeLog | |
parent | 2530441cef6408cb50b9e96670d766104d6123c8 (diff) | |
download | gdb-84202f9c998c3f1bf0aa5d6457de7c9cad5f8500.zip gdb-84202f9c998c3f1bf0aa5d6457de7c9cad5f8500.tar.gz gdb-84202f9c998c3f1bf0aa5d6457de7c9cad5f8500.tar.bz2 |
simplify target_is_pushed
While working on target_is_pushed, I noticed that it is written in a
strange way. The code currently keeps an extra indirection, where a
simple linked list traversal is all that is needed. It seems likely
this was done by copying and pasting other code. However, there is no
reason to do this and the more obvious code is simpler to reason
about. So, this patch change the implementation.
2014-07-29 Tom Tromey <tromey@redhat.com>
* target.c (target_is_pushed): Simplify.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 10b38cd..460547b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-07-29 Tom Tromey <tromey@redhat.com> + + * target.c (target_is_pushed): Simplify. + 2014-07-29 Joel Brobecker <brobecker@adacore.com> GDB 7.8 released. |