Remove target_has_execution macro
[deliverable/binutils-gdb.git] / gdb / score-tdep.c
index 90cb0fa312a2bbdd4c51ca14a6ac6ad80b9f3b3e..72cba90a27ca986e59d7fdcd78a79ef12e0d66d6 100644 (file)
@@ -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);
This page took 0.028463 seconds and 4 git commands to generate.