aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-05-23 15:34:36 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2009-05-23 15:34:36 +0000
commit61d8f2758f5881aa0138e31b45105515e98eb715 (patch)
tree02e8b5dd73af48e20fe6ac82c7eee9f3ae6626f2 /gdb/varobj.c
parent70926f63737781fd8c8485caafe0da987379ba97 (diff)
downloadgdb-61d8f2758f5881aa0138e31b45105515e98eb715.zip
gdb-61d8f2758f5881aa0138e31b45105515e98eb715.tar.gz
gdb-61d8f2758f5881aa0138e31b45105515e98eb715.tar.bz2
gdb/
Remove already unreachable code. * varobj.c (varobj_get_handle): Fix comment when error is called. All callers updated.
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c
index d36e46d..54c2a02 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -591,8 +591,8 @@ varobj_gen_name (void)
return obj_name;
}
-/* Given an "objname", returns the pointer to the corresponding varobj
- or NULL if not found */
+/* Given an OBJNAME, returns the pointer to the corresponding varobj. Call
+ error if OBJNAME cannot be found. */
struct varobj *
varobj_get_handle (char *objname)