aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-01-02 21:32:14 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2021-01-02 21:32:14 -0500
commit9898e882c5a5c544415b72850b0ab265cc72a046 (patch)
tree81778f261c8e54496134fdd6610c1ae8a4ded805
parente3b53295d59d2e78292eaae4500243dd9e007ae4 (diff)
downloadgdb-9898e882c5a5c544415b72850b0ab265cc72a046.zip
gdb-9898e882c5a5c544415b72850b0ab265cc72a046.tar.gz
gdb-9898e882c5a5c544415b72850b0ab265cc72a046.tar.bz2
gdb: fix typos in comments in target-float.c
gdb/ChangeLog: * target-float.c: Fix typos. Change-Id: Ib65e90746d0a7c77c3fbead81139facb40b91977
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/target-float.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6fce234..f5bea32 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2021-01-02 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * target-float.c: Fix typos.
+
2021-01-02 Hannes Domani <ssbssa@yahoo.de>
* gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
diff --git a/gdb/target-float.c b/gdb/target-float.c
index e287ace..692af59 100644
--- a/gdb/target-float.c
+++ b/gdb/target-float.c
@@ -1191,7 +1191,7 @@ public:
const gdb_byte *y, const struct type *type_y) const override;
private:
- /* Local wrapper class to handle mpfr_t initalization and cleanup. */
+ /* Local wrapper class to handle mpfr_t initialization and cleanup. */
class gdb_mpfr
{
public:
@@ -2234,7 +2234,7 @@ get_target_float_ops_kind (const struct type *type)
}
}
-/* Return target_float_ops to peform operations for KIND. */
+/* Return target_float_ops to perform operations for KIND. */
static const target_float_ops *
get_target_float_ops (enum target_float_ops_kind kind)
{