/* Target-dependent code for GNU/Linux m32r.
- Copyright (C) 2004, 2007-2012 Free Software Foundation, Inc.
+ Copyright (C) 2004-2014 Free Software Foundation, Inc.
This file is part of GDB.
#include "reggroups.h"
#include "regset.h"
-#include "gdb_string.h"
+#include <string.h>
#include "glibc-tdep.h"
#include "solib-svr4.h"
}
static int
-m32r_linux_pc_in_sigtramp (CORE_ADDR pc, char *name,
+m32r_linux_pc_in_sigtramp (CORE_ADDR pc, const char *name,
struct frame_info *this_frame)
{
/* If we have NAME, we can optimize the search. The trampolines are
void **this_cache)
{
CORE_ADDR pc = get_frame_pc (this_frame);
- char *name;
+ const char *name;
find_pc_partial_function (pc, &name, NULL, NULL);
if (m32r_linux_pc_in_sigtramp (pc, name, this_frame))