* alpha-tdep.c (alpha_gdbarch_init): Set cannot_step_breakpoint.
* config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Remove. * config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Remove. * config/alpha/nm-nbsd.h: Remove file. * config/alpha/nm-fbsd.h: Remove file * config/alpha/nbsd.mh (NAT_FILE): Remove. * config/alpha/fbsd.mh (NAT_FILE): Remove.
This commit is contained in:
parent
0a029df55b
commit
9d51923083
8 changed files with 11 additions and 69 deletions
|
@ -1,3 +1,13 @@
|
||||||
|
2006-01-15 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* alpha-tdep.c (alpha_gdbarch_init): Set cannot_step_breakpoint.
|
||||||
|
* config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Remove.
|
||||||
|
* config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Remove.
|
||||||
|
* config/alpha/nm-nbsd.h: Remove file.
|
||||||
|
* config/alpha/nm-fbsd.h: Remove file
|
||||||
|
* config/alpha/nbsd.mh (NAT_FILE): Remove.
|
||||||
|
* config/alpha/fbsd.mh (NAT_FILE): Remove.
|
||||||
|
|
||||||
2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
|
2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
* macroexp.c (expand): Initialize argc.
|
* macroexp.c (expand): Initialize argc.
|
||||||
|
|
|
@ -1609,6 +1609,7 @@ alpha_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
|
||||||
|
|
||||||
set_gdbarch_breakpoint_from_pc (gdbarch, alpha_breakpoint_from_pc);
|
set_gdbarch_breakpoint_from_pc (gdbarch, alpha_breakpoint_from_pc);
|
||||||
set_gdbarch_decr_pc_after_break (gdbarch, 4);
|
set_gdbarch_decr_pc_after_break (gdbarch, 4);
|
||||||
|
set_gdbarch_cannot_step_breakpoint (gdbarch, 1);
|
||||||
|
|
||||||
/* Hook in ABI-specific overrides, if they have been registered. */
|
/* Hook in ABI-specific overrides, if they have been registered. */
|
||||||
gdbarch_init_osabi (info, gdbarch);
|
gdbarch_init_osabi (info, gdbarch);
|
||||||
|
|
|
@ -2,4 +2,3 @@
|
||||||
NATDEPFILES= fork-child.o inf-ptrace.o \
|
NATDEPFILES= fork-child.o inf-ptrace.o \
|
||||||
fbsd-nat.o alphabsd-nat.o \
|
fbsd-nat.o alphabsd-nat.o \
|
||||||
gcore.o corelow.o core-regset.o
|
gcore.o corelow.o core-regset.o
|
||||||
NAT_FILE= nm-fbsd.h
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
# Host: NetBSD/alpha
|
# Host: NetBSD/alpha
|
||||||
NATDEPFILES= fork-child.o inf-ptrace.o alphabsd-nat.o
|
NATDEPFILES= fork-child.o inf-ptrace.o alphabsd-nat.o
|
||||||
NAT_FILE= nm-nbsd.h
|
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
/* Native-dependent definitions for FreeBSD/alpha.
|
|
||||||
|
|
||||||
Copyright 1986, 1987, 1989, 1992, 1996, 2000, 2004, 2005, 2006
|
|
||||||
Free Software Foundation, Inc.
|
|
||||||
|
|
||||||
This file is part of GDB.
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330,
|
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#ifndef NM_FBSD_H
|
|
||||||
#define NM_FBSD_H
|
|
||||||
|
|
||||||
/* The Alpha does not step over a breakpoint. */
|
|
||||||
#define CANNOT_STEP_BREAKPOINT 1
|
|
||||||
|
|
||||||
#endif /* nm-fbsd.h */
|
|
|
@ -29,10 +29,6 @@
|
||||||
|
|
||||||
#define U_REGS_OFFSET 0
|
#define U_REGS_OFFSET 0
|
||||||
|
|
||||||
/* The alpha does not step over a breakpoint, the manpage is lying again. */
|
|
||||||
|
|
||||||
#define CANNOT_STEP_BREAKPOINT 1
|
|
||||||
|
|
||||||
/* Given a pointer to either a gregset_t or fpregset_t, return a
|
/* Given a pointer to either a gregset_t or fpregset_t, return a
|
||||||
pointer to the first register. */
|
pointer to the first register. */
|
||||||
#define ALPHA_REGSET_BASE(regsetp) ((long *) (regsetp))
|
#define ALPHA_REGSET_BASE(regsetp) ((long *) (regsetp))
|
||||||
|
|
|
@ -1,30 +0,0 @@
|
||||||
/* Native-dependent definitions for NetBSD/alpha.
|
|
||||||
|
|
||||||
Copyright 2002, 2005 Free Software Foundation, Inc.
|
|
||||||
|
|
||||||
Contributed by Wasabi Systems, Inc.
|
|
||||||
|
|
||||||
This file is part of GDB.
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330,
|
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#ifndef NM_NBSD_H
|
|
||||||
#define NM_NBSD_H
|
|
||||||
|
|
||||||
/* The Alpha does not step over a breakpoint. */
|
|
||||||
#define CANNOT_STEP_BREAKPOINT 1
|
|
||||||
|
|
||||||
#endif /* nm-nbsd.h */
|
|
|
@ -33,10 +33,6 @@
|
||||||
|
|
||||||
#define PTRACE_XFER_TYPE long
|
#define PTRACE_XFER_TYPE long
|
||||||
|
|
||||||
/* The alpha does not step over a breakpoint, the manpage is lying again. */
|
|
||||||
|
|
||||||
#define CANNOT_STEP_BREAKPOINT 1
|
|
||||||
|
|
||||||
/* Support for shared libraries. */
|
/* Support for shared libraries. */
|
||||||
|
|
||||||
#include "solib.h"
|
#include "solib.h"
|
||||||
|
|
Loading…
Add table
Reference in a new issue