aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorWu Zhou <woodzltc@cn.ibm.com>2005-06-27 08:38:13 +0000
committerWu Zhou <woodzltc@cn.ibm.com>2005-06-27 08:38:13 +0000
commitc54d24cb8b517d6ee405c1b3e5892cde01559d92 (patch)
treee0109850887a0f3f10d268bb3d7953345e52eeff /gdb
parent4929784d4e82c245986500a1eeaefd7c1c7f3a46 (diff)
downloadgdb-c54d24cb8b517d6ee405c1b3e5892cde01559d92.zip
gdb-c54d24cb8b517d6ee405c1b3e5892cde01559d92.tar.gz
gdb-c54d24cb8b517d6ee405c1b3e5892cde01559d92.tar.bz2
* gdbtypes.c (get_discrete_bounds): Fix a comment typo.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/gdbtypes.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7a365e3..7fc768b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2005-06-27 Wu Zhou <woodzltc@cn.ibm.com>
+
+ * gdbtypes.c (get_discrete_bounds): Fix a comment typo.
+
2005-06-25 Mark Kettenis <kettenis@gnu.org>
* sol-thread.c (sol_thread_xfer_memory): Change type of second
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index 86f1beb..c1af731 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -684,7 +684,7 @@ create_range_type (struct type *result_type, struct type *index_type,
}
/* Set *LOWP and *HIGHP to the lower and upper bounds of discrete type TYPE.
- Return 1 of type is a range type, 0 if it is discrete (and bounds
+ Return 1 if type is a range type, 0 if it is discrete (and bounds
will fit in LONGEST), or -1 otherwise. */
int