aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-14 18:17:20 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-14 18:17:20 +0000
commitbc8332bb44886d189fce38b812d6919a157af734 (patch)
treea590a5efa15e042b71e7abe802d574fce2477069 /gdb/varobj.c
parent4e18e2de1e848546c649ac74f8fbb8711c789243 (diff)
downloadgdb-bc8332bb44886d189fce38b812d6919a157af734.zip
gdb-bc8332bb44886d189fce38b812d6919a157af734.tar.gz
gdb-bc8332bb44886d189fce38b812d6919a157af734.tar.bz2
Index: ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org> * varobj.c (varobj_create): Add missing \n. Index: testsuite/ChangeLog 2005-01-14 Andrew Cagney <cagney@gnu.org> * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output. * gdb.mi/mi2-var-cmd.exp: Ditto.
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c
index 23a8bb3..175fd43 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -1,5 +1,6 @@
/* Implementation of the GDB variable objects API.
- Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ Copyright 1999, 2000, 2001, 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -472,8 +473,8 @@ varobj_create (char *objname,
if (var->root->exp->elts[0].opcode == OP_TYPE)
{
do_cleanups (old_chain);
- fprintf_unfiltered (gdb_stderr,
- "Attempt to use a type name as an expression.");
+ fprintf_unfiltered (gdb_stderr, "Attempt to use a type name"
+ " as an expression.\n");
return NULL;
}