+2002-10-10 Marko Mlinar <markom@opencores.org>
+
+ * infrun.c (resume): Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C,
+ accidentially not commited 2002-10-09
+ * gdbarch.h, gdbarch.c: Re-generate.
+
2002-10-09 Marko Mlinar <markom@opencores.org>
* infrun.c (resume): Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C.
0,
"malloc",
0,
+ 0,
/* startup_gdbarch() */
};
(long) current_gdbarch->get_saved_register
/*GET_SAVED_REGISTER ()*/);
#endif
-#ifdef HAVE_STEPPABLE_WATCHPOINT
+#ifdef HAVE_NONSTEPPABLE_WATCHPOINT
fprintf_unfiltered (file,
- "gdbarch_dump: HAVE_STEPPABLE_WATCHPOINT # %s\n",
- XSTRING (HAVE_STEPPABLE_WATCHPOINT));
+ "gdbarch_dump: HAVE_NONSTEPPABLE_WATCHPOINT # %s\n",
+ XSTRING (HAVE_NONSTEPPABLE_WATCHPOINT));
fprintf_unfiltered (file,
- "gdbarch_dump: HAVE_STEPPABLE_WATCHPOINT = %d\n",
- HAVE_STEPPABLE_WATCHPOINT);
+ "gdbarch_dump: HAVE_NONSTEPPABLE_WATCHPOINT = %d\n",
+ HAVE_NONSTEPPABLE_WATCHPOINT);
#endif
#ifdef INIT_EXTRA_FRAME_INFO
#if GDB_MULTI_ARCH
void
set_gdbarch_have_nonsteppable_watchpoint (struct gdbarch *gdbarch,
- int have_nonsteppable_watchpoint)
+ int have_nonsteppable_watchpoint)
{
gdbarch->have_nonsteppable_watchpoint = have_nonsteppable_watchpoint;
}
#define HAVE_STEPPABLE_WATCHPOINT 1
#endif
-#ifndef HAVE_NONSTEPPABLE_WATCHPOINT
-#define HAVE_NONSTEPPABLE_WATCHPOINT 0
-#else
-#undef HAVE_NONSTEPPABLE_WATCHPOINT
-#define HAVE_NONSTEPPABLE_WATCHPOINT 1
-#endif
-
#ifndef HAVE_CONTINUABLE_WATCHPOINT
#define HAVE_CONTINUABLE_WATCHPOINT 0
#else