Make sure we don't resume the stepped thread by accident.
[deliverable/binutils-gdb.git] / gdb / alpha-osf1-tdep.c
index 7edb38672d716b8c0a44986f9a3e3f476e40069a..43bae959c6ad5d6621bd06cb1775efb7410dd291 100644 (file)
@@ -1,6 +1,5 @@
 /* Target-dependent code for OSF/1 on Alpha.
-   Copyright (C) 2002, 2003, 2007, 2008, 2009, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright (C) 2002-2014 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
 #include "gdbcore.h"
 #include "value.h"
 #include "osabi.h"
-#include "gdb_string.h"
+#include <string.h>
 #include "objfiles.h"
 
 #include "alpha-tdep.h"
 
 static int
 alpha_osf1_pc_in_sigtramp (struct gdbarch *gdbarch,
-                          CORE_ADDR pc, char *func_name)
+                          CORE_ADDR pc, const char *func_name)
 {
   return (func_name != NULL && strcmp ("__sigtramp", func_name) == 0);
 }
@@ -58,8 +57,8 @@ alpha_osf1_init_abi (struct gdbarch_info info,
   alpha_mdebug_init_abi (info, gdbarch);
 
   /* The next/step support via procfs on OSF1 is broken when running
-     on multi-processor machines. We need to use software single stepping
-     instead.  */
+     on multi-processor machines.  We need to use software single
+     stepping instead.  */
   set_gdbarch_software_single_step (gdbarch, alpha_software_single_step);
 
   tdep->sigcontext_addr = alpha_osf1_sigcontext_addr;
This page took 0.025753 seconds and 4 git commands to generate.