forked from Imagelibrary/binutils-gdb
gdb: drop struct keyword when using bound_minimal_symbol
This is a simple find / replace from "struct bound_minimal_symbol" to "bound_minimal_symbol", to make things shorter and more consisten througout. In some cases, move variable declarations where first used. Change-Id: Ica4af11c4ac528aa842bfa49a7afe8fe77a66849 Reviewed-by: Keith Seitz <keiths@redhat.com> Approved-By: Andrew Burgess <aburgess@redhat.com>
This commit is contained in:
committed by
Simon Marchi
parent
10ac7e80c0
commit
03b40f6f55
@@ -598,9 +598,8 @@ gen_var_ref (struct agent_expr *ax, struct axs_value *value, struct symbol *var)
|
||||
|
||||
case LOC_UNRESOLVED:
|
||||
{
|
||||
struct bound_minimal_symbol msym
|
||||
bound_minimal_symbol msym
|
||||
= lookup_minimal_symbol (var->linkage_name (), NULL, NULL);
|
||||
|
||||
if (!msym.minsym)
|
||||
error (_("Couldn't resolve symbol `%s'."), var->print_name ());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user