Fix two typos in gdb_binary_search.h

I noticed a couple of typos in gdb_binary_search.h.  This fixes them.

gdbsupport/ChangeLog
2020-03-08  Tom Tromey  <tom@tromey.com>

	* gdb_binary_search.h: Fix two typos.
This commit is contained in:
Tom Tromey 2020-03-08 11:05:43 -06:00
parent 72fbdf834d
commit e63ee24f98
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2020-03-08 Tom Tromey <tom@tromey.com>
* gdb_binary_search.h: Fix two typos.
2020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
* .dir-locals.el: New file.

View File

@ -26,9 +26,9 @@
namespace gdb {
/* Implements a binary search using C++ iterators.
This differs from std::binary_search in that it returns an interator for
This differs from std::binary_search in that it returns an iterator for
the found element and in that the type of EL can be different from the
type of the elements in the countainer.
type of the elements in the container.
COMP is a C-style comparison function with signature:
int comp(const value_type& a, const T& b);