Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: gdb/go-lang.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/go-lang.h ('k') | gdb/go-typeprint.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/go-lang.c
diff --git a/gdb/go-lang.c b/gdb/go-lang.c
index 147a9228d1416e3849291b15856ef8ee29eed769..4355e59d18c388ae771e38b9fc4008c482b3fb27 100644
--- a/gdb/go-lang.c
+++ b/gdb/go-lang.c
@@ -1,6 +1,6 @@
/* Go language support routines for GDB, the GNU debugger.
- Copyright (C) 2012 Free Software Foundation, Inc.
+ Copyright (C) 2012-2013 Free Software Foundation, Inc.
This file is part of GDB.
@@ -34,10 +34,11 @@
#include "defs.h"
#include "gdb_assert.h"
#include "gdb_obstack.h"
-#include "gdb_string.h"
+#include <string.h>
#include "block.h"
#include "symtab.h"
#include "language.h"
+#include "varobj.h"
#include "go-lang.h"
#include "c-lang.h"
#include "parser-defs.h"
@@ -560,9 +561,9 @@ go_language_arch_info (struct gdbarch *gdbarch,
static const struct language_defn go_language_defn =
{
"go",
+ "Go",
language_go,
range_check_off,
- type_check_off,
case_sensitive_on,
array_row_major,
macro_expansion_no,
@@ -597,6 +598,7 @@ static const struct language_defn go_language_defn =
c_get_string,
NULL,
iterate_over_symbols,
+ &default_varobj_ops,
LANG_MAGIC
};
« no previous file with comments | « gdb/go-lang.h ('k') | gdb/go-typeprint.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698