*/
#include "defs.h"
-#include "gdb_assert.h"
#include "gdb_obstack.h"
-#include <string.h>
#include "block.h"
#include "symtab.h"
#include "language.h"
const char *
go_main_name (void)
{
- struct minimal_symbol *msym;
+ struct bound_minimal_symbol msym;
msym = lookup_minimal_symbol (GO_MAIN_MAIN, NULL, NULL);
- if (msym != NULL)
+ if (msym.minsym != NULL)
return GO_MAIN_MAIN;
/* No known entry procedure found, the main program is probably not Go. */