* configure.in (*-*-sunos*): Use trailing * to match all
[deliverable/binutils-gdb.git] / gdb / sparc-stub.c
index 461b9cd6155c366535a2060355d5cd50db729351..62636c2cad7f780b3530bb75d7bd0a873ebe64a2 100644 (file)
@@ -546,7 +546,7 @@ hexToInt(char **ptr, int *intValue)
       *intValue = (*intValue << 4) | hexValue;
       numChars ++;
 
-      *ptr++;
+      (*ptr)++;
     }
 
   return (numChars);
@@ -727,6 +727,12 @@ handle_exception (registers)
              registers[NPC] = addr + 4;
            }
 
+/* Need to flush the instruction cache here, as we may have deposited a
+   breakpoint, and the icache probably has no way of knowing that a data ref to
+   some location may have changed something that is in the instruction cache.
+ */
+
+         flush_i_cache();
          return;
 
          /* kill the program */
This page took 0.023603 seconds and 4 git commands to generate.