aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-12-29 08:15:24 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-12-29 08:15:24 +0000
commiteed9788b42dbb1ce96f8e1b66241acdf9ea0ee19 (patch)
tree75b98083b2fac11b4120aacc902cb4cf21b4da6a
parent9e87a40907128affbb3c7bbfe2bee68fdd34fa0a (diff)
downloadgdb-eed9788b42dbb1ce96f8e1b66241acdf9ea0ee19.zip
gdb-eed9788b42dbb1ce96f8e1b66241acdf9ea0ee19.tar.gz
gdb-eed9788b42dbb1ce96f8e1b66241acdf9ea0ee19.tar.bz2
Fix typo in ada-lang.c comment.
gdb/ChangeLog: * ada-lang.c: Fix typo in comment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ada-lang.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7d3e3ce..43bba0c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2010-12-29 Joel Brobecker <brobecker@adacore.com>
+ * ada-lang.c: Fix typo in comment.
+
+2010-12-29 Joel Brobecker <brobecker@adacore.com>
+
* ada-valprint.c (ada_val_print_1): Print null array pointers as
`0x0' rather than `(null)'. Add assertion.
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 3a5b10f..3efff2e 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -365,7 +365,7 @@ ada_inferior_exit (struct inferior *inf)
/* Utilities */
/* If TYPE is a TYPE_CODE_TYPEDEF type, return the target type after
- all typedef layers have been pealed. Otherwise, return TYPE.
+ all typedef layers have been peeled. Otherwise, return TYPE.
Normally, we really expect a typedef type to only have 1 typedef layer.
In other words, we really expect the target type of a typedef type to be