projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add .refsym to msp430 backend
[deliverable/binutils-gdb.git]
/
gdb
/
m32r-linux-tdep.c
diff --git
a/gdb/m32r-linux-tdep.c
b/gdb/m32r-linux-tdep.c
index 6804609f8bb235697ce7e274255114997ef44e6d..683b67e81447432d96d01fb39dd7d5dede46762d 100644
(file)
--- a/
gdb/m32r-linux-tdep.c
+++ b/
gdb/m32r-linux-tdep.c
@@
-1,6
+1,6
@@
/* Target-dependent code for GNU/Linux m32r.
/* Target-dependent code for GNU/Linux m32r.
- Copyright (C) 2004
, 2007, 2008, 2009, 2010
Free Software Foundation, Inc.
+ Copyright (C) 2004
-2014
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-27,7
+27,7
@@
#include "reggroups.h"
#include "regset.h"
#include "reggroups.h"
#include "regset.h"
-#include
"gdb_string.h"
+#include
<string.h>
#include "glibc-tdep.h"
#include "solib-svr4.h"
#include "glibc-tdep.h"
#include "solib-svr4.h"
@@
-37,6
+37,8
@@
#include "frame-unwind.h"
#include "m32r-tdep.h"
#include "frame-unwind.h"
#include "m32r-tdep.h"
+#include "linux-tdep.h"
+
\f
/* Recognizing signal handler frames. */
\f
/* Recognizing signal handler frames. */
@@
-171,7
+173,7
@@
m32r_linux_rt_sigtramp_start (CORE_ADDR pc, struct frame_info *this_frame)
}
static int
}
static int
-m32r_linux_pc_in_sigtramp (CORE_ADDR pc, char *name,
+m32r_linux_pc_in_sigtramp (CORE_ADDR pc, c
onst c
har *name,
struct frame_info *this_frame)
{
/* If we have NAME, we can optimize the search. The trampolines are
struct frame_info *this_frame)
{
/* If we have NAME, we can optimize the search. The trampolines are
@@
-291,7
+293,7
@@
m32r_linux_sigtramp_frame_sniffer (const struct frame_unwind *self,
void **this_cache)
{
CORE_ADDR pc = get_frame_pc (this_frame);
void **this_cache)
{
CORE_ADDR pc = get_frame_pc (this_frame);
- char *name;
+ c
onst c
har *name;
find_pc_partial_function (pc, &name, NULL, NULL);
if (m32r_linux_pc_in_sigtramp (pc, name, this_frame))
find_pc_partial_function (pc, &name, NULL, NULL);
if (m32r_linux_pc_in_sigtramp (pc, name, this_frame))
@@
-302,6
+304,7
@@
m32r_linux_sigtramp_frame_sniffer (const struct frame_unwind *self,
static const struct frame_unwind m32r_linux_sigtramp_frame_unwind = {
SIGTRAMP_FRAME,
static const struct frame_unwind m32r_linux_sigtramp_frame_unwind = {
SIGTRAMP_FRAME,
+ default_frame_unwind_stop_reason,
m32r_linux_sigtramp_frame_this_id,
m32r_linux_sigtramp_frame_prev_register,
NULL,
m32r_linux_sigtramp_frame_this_id,
m32r_linux_sigtramp_frame_prev_register,
NULL,
@@
-404,6
+407,8
@@
m32r_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
+ linux_init_abi (info, gdbarch);
+
/* Since EVB register is not available for native debug, we reduce
the number of registers. */
set_gdbarch_num_regs (gdbarch, M32R_NUM_REGS - 1);
/* Since EVB register is not available for native debug, we reduce
the number of registers. */
set_gdbarch_num_regs (gdbarch, M32R_NUM_REGS - 1);
This page took
0.025591 seconds
and
4
git commands to generate.