summaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
authorMarko Mlinar <markom@opencores.org>2002-10-10 07:41:37 +0000
committerMarko Mlinar <markom@opencores.org>2002-10-10 07:41:37 +0000
commit024a10323299ee4d77d97c77d0bd144b7a05dd08 (patch)
treef4eb0c54b2cfa2b1fc271d37842e8e1c25459caf /gdb/gdbarch.c
parente1944fc6fc4ecd4c8e71e49ea64014f7b7231850 (diff)
downloadgdb-024a10323299ee4d77d97c77d0bd144b7a05dd08.tar.gz
Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r--gdb/gdbarch.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index bca10438beb..fe40062d3d5 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -430,6 +430,7 @@ struct gdbarch startup_gdbarch =
0,
"malloc",
0,
+ 0,
/* startup_gdbarch() */
};
@@ -1385,13 +1386,13 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file)
(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
@@ -5074,7 +5075,7 @@ gdbarch_have_nonsteppable_watchpoint (struct gdbarch *gdbarch)
void
set_gdbarch_have_nonsteppable_watchpoint (struct gdbarch *gdbarch,
- int have_nonsteppable_watchpoint)
+ int have_nonsteppable_watchpoint)
{
gdbarch->have_nonsteppable_watchpoint = have_nonsteppable_watchpoint;
}