projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* c-exp.y (enum token_flags): New.
[deliverable/binutils-gdb.git]
/
gdb
/
sparc64obsd-tdep.c
diff --git
a/gdb/sparc64obsd-tdep.c
b/gdb/sparc64obsd-tdep.c
index c4407d22dfc996176364e19ac9f0bdea2cd6e772..6148eab217d8f04e0a36c389cce0795d5e006bbc 100644
(file)
--- a/
gdb/sparc64obsd-tdep.c
+++ b/
gdb/sparc64obsd-tdep.c
@@
-1,7
+1,6
@@
/* Target-dependent code for OpenBSD/sparc64.
/* Target-dependent code for OpenBSD/sparc64.
- Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009
- Free Software Foundation, Inc.
+ Copyright (C) 2004-2012 Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-94,7
+93,7
@@
static const int sparc64obsd_sigreturn_offset[] = {
};
static int
};
static int
-sparc64obsd_pc_in_sigtramp (CORE_ADDR pc, char *name)
+sparc64obsd_pc_in_sigtramp (CORE_ADDR pc, c
onst c
har *name)
{
CORE_ADDR start_pc = (pc & ~(sparc64obsd_page_size - 1));
unsigned long insn;
{
CORE_ADDR start_pc = (pc & ~(sparc64obsd_page_size - 1));
unsigned long insn;
@@
-142,7
+141,7
@@
sparc64obsd_frame_cache (struct frame_info *this_frame, void **this_cache)
/* Since we couldn't find the frame's function, the cache was
initialized under the assumption that we're frameless. */
/* Since we couldn't find the frame's function, the cache was
initialized under the assumption that we're frameless. */
-
cache->frameless_p = 0
;
+
sparc_record_save_insn (cache)
;
addr = get_frame_register_unsigned (this_frame, SPARC_FP_REGNUM);
if (addr & 1)
addr += BIAS;
addr = get_frame_register_unsigned (this_frame, SPARC_FP_REGNUM);
if (addr & 1)
addr += BIAS;
@@
-183,7
+182,7
@@
sparc64obsd_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 (sparc64obsd_pc_in_sigtramp (pc, name))
find_pc_partial_function (pc, &name, NULL, NULL);
if (sparc64obsd_pc_in_sigtramp (pc, name))
@@
-195,6
+194,7
@@
sparc64obsd_sigtramp_frame_sniffer (const struct frame_unwind *self,
static const struct frame_unwind sparc64obsd_frame_unwind =
{
SIGTRAMP_FRAME,
static const struct frame_unwind sparc64obsd_frame_unwind =
{
SIGTRAMP_FRAME,
+ default_frame_unwind_stop_reason,
sparc64obsd_frame_this_id,
sparc64obsd_frame_prev_register,
NULL,
sparc64obsd_frame_this_id,
sparc64obsd_frame_prev_register,
NULL,
@@
-259,7
+259,7
@@
sparc64obsd_trapframe_sniffer (const struct frame_unwind *self,
{
CORE_ADDR pc;
ULONGEST pstate;
{
CORE_ADDR pc;
ULONGEST pstate;
- char *name;
+ c
onst c
har *name;
/* Check whether we are in privileged mode, and bail out if we're not. */
pstate = get_frame_register_unsigned (this_frame, SPARC64_PSTATE_REGNUM);
/* Check whether we are in privileged mode, and bail out if we're not. */
pstate = get_frame_register_unsigned (this_frame, SPARC64_PSTATE_REGNUM);
@@
-277,6
+277,7
@@
sparc64obsd_trapframe_sniffer (const struct frame_unwind *self,
static const struct frame_unwind sparc64obsd_trapframe_unwind =
{
NORMAL_FRAME,
static const struct frame_unwind sparc64obsd_trapframe_unwind =
{
NORMAL_FRAME,
+ default_frame_unwind_stop_reason,
sparc64obsd_trapframe_this_id,
sparc64obsd_trapframe_prev_register,
NULL,
sparc64obsd_trapframe_this_id,
sparc64obsd_trapframe_prev_register,
NULL,
This page took
0.033744 seconds
and
4
git commands to generate.