diff options
Diffstat (limited to 'gdb/d-lang.c')
-rw-r--r-- | gdb/d-lang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/d-lang.c b/gdb/d-lang.c index b724b96..434f30a 100644 --- a/gdb/d-lang.c +++ b/gdb/d-lang.c @@ -37,10 +37,10 @@ static const char D_MAIN[] = "D main"; const char * d_main_name (void) { - struct minimal_symbol *msym; + struct bound_minimal_symbol msym; msym = lookup_minimal_symbol (D_MAIN, NULL, NULL); - if (msym != NULL) + if (msym.minsym != NULL) return D_MAIN; /* No known entry procedure found, the main program is probably not D. */ |