aboutsummaryrefslogtreecommitdiff
path: root/gdb/m3-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m3-nat.c')
-rw-r--r--gdb/m3-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m3-nat.c b/gdb/m3-nat.c
index bf5f9d7..52a3eb6 100644
--- a/gdb/m3-nat.c
+++ b/gdb/m3-nat.c
@@ -2462,7 +2462,7 @@ lookup_address_of_variable (name)
if (! symaddr)
{
- msymbol = lookup_minimal_symbol (name, (struct objfile *) NULL);
+ msymbol = lookup_minimal_symbol (name, NULL, NULL);
if (msymbol && msymbol->type == mst_data)
symaddr = SYMBOL_VALUE_ADDRESS (msymbol);