projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[gdbserver] Move malloc.h include to server.h.
[deliverable/binutils-gdb.git]
/
gdb
/
amd64fbsd-tdep.c
diff --git
a/gdb/amd64fbsd-tdep.c
b/gdb/amd64fbsd-tdep.c
index dbf0dba25977443ef207f49f4290b34f1ee8c34f..18ef0473e344421d00859869ff3637b85e1b59b9 100644
(file)
--- a/
gdb/amd64fbsd-tdep.c
+++ b/
gdb/amd64fbsd-tdep.c
@@
-1,6
+1,7
@@
/* Target-dependent code for FreeBSD/amd64.
/* Target-dependent code for FreeBSD/amd64.
- Copyright (C) 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2004, 2005, 2007, 2008, 2009, 2010
+ Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-33,18
+34,18
@@
/* Support for signal handlers. */
/* Support for signal handlers. */
-/* Assuming
NEXT_FRAME is for a frame following a BSD sigtramp
-
routine, return the
address of the associated sigcontext structure. */
+/* Assuming
THIS_FRAME is for a BSD sigtramp routine, return the
+ address of the associated sigcontext structure. */
static CORE_ADDR
static CORE_ADDR
-amd64fbsd_sigcontext_addr (struct frame_info *
next
_frame)
+amd64fbsd_sigcontext_addr (struct frame_info *
this
_frame)
{
CORE_ADDR sp;
/* The `struct sigcontext' (which really is an `ucontext_t' on
FreeBSD/amd64) lives at a fixed offset in the signal frame. See
<machine/sigframe.h>. */
{
CORE_ADDR sp;
/* The `struct sigcontext' (which really is an `ucontext_t' on
FreeBSD/amd64) lives at a fixed offset in the signal frame. See
<machine/sigframe.h>. */
- sp = frame_unwind_register_unsigned (
next
_frame, AMD64_RSP_REGNUM);
+ sp = frame_unwind_register_unsigned (
this
_frame, AMD64_RSP_REGNUM);
return sp + 16;
}
\f
return sp + 16;
}
\f
@@
-180,7
+181,7
@@
amd64fbsd_collect_uthread (const struct regcache *regcache,
}
}
}
}
-void
+
static
void
amd64fbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
amd64fbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
This page took
0.02377 seconds
and
4
git commands to generate.