diff options
Diffstat (limited to 'gdb/score-tdep.c')
-rw-r--r-- | gdb/score-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/score-tdep.c b/gdb/score-tdep.c index 90cb0fa..72cba90 100644 --- a/gdb/score-tdep.c +++ b/gdb/score-tdep.c @@ -123,7 +123,7 @@ score7_fetch_inst (struct gdbarch *gdbarch, CORE_ADDR addr, gdb_byte *memblock) int big; int ret; - if (target_has_execution && memblock != NULL) + if (target_has_execution () && memblock != NULL) { /* Fetch instruction from local MEMBLOCK. */ memcpy (buf, memblock, SCORE_INSTLEN); |