projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check addr32flag instead of sizeflag for rip/eip
[deliverable/binutils-gdb.git]
/
gdb
/
sparc64fbsd-tdep.c
diff --git
a/gdb/sparc64fbsd-tdep.c
b/gdb/sparc64fbsd-tdep.c
index 453f2b43613ede6f5c12b155dcfbbb66dc6018bf..27ca52e66a21485f9bb23a4b8438520fefe9e3f5 100644
(file)
--- a/
gdb/sparc64fbsd-tdep.c
+++ b/
gdb/sparc64fbsd-tdep.c
@@
-1,6
+1,6
@@
/* Target-dependent code for FreeBSD/sparc64.
/* Target-dependent code for FreeBSD/sparc64.
- Copyright (C) 2003-201
4
Free Software Foundation, Inc.
+ Copyright (C) 2003-201
6
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-27,9
+27,8
@@
#include "target.h"
#include "trad-frame.h"
#include "target.h"
#include "trad-frame.h"
-#include <string.h>
-
#include "sparc64-tdep.h"
#include "sparc64-tdep.h"
+#include "fbsd-tdep.h"
#include "solib-svr4.h"
/* From <machine/reg.h>. */
#include "solib-svr4.h"
/* From <machine/reg.h>. */
@@
-98,7
+97,7
@@
sparc64fbsd_sigtramp_frame_cache (struct frame_info *this_frame,
int regnum;
if (*this_cache)
int regnum;
if (*this_cache)
- return *this_cache;
+ return
(struct sparc_frame_cache *)
*this_cache;
cache = sparc_frame_cache (this_frame, this_cache);
gdb_assert (cache == *this_cache);
cache = sparc_frame_cache (this_frame, this_cache);
gdb_assert (cache == *this_cache);
@@
-223,6
+222,9
@@
sparc64fbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
+ /* Generic FreeBSD support. */
+ fbsd_init_abi (info, gdbarch);
+
tdep->gregset = &sparc64fbsd_gregset;
tdep->sizeof_gregset = 256;
tdep->gregset = &sparc64fbsd_gregset;
tdep->sizeof_gregset = 256;
This page took
0.024787 seconds
and
4
git commands to generate.