mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-18 06:43:36 +08:00
sim: enable watchpoint module everywhere
We build & bundle the watchpoint module everywhere, but we don't make the command line flags available by default. A few targets opted in, but most did not. Just enable the flag for everyone. Not all targets will respect the flags (making them nops), but shouldn't be a big deal. This is how we handle other common modules already.
This commit is contained in:
parent
3cabaf66d6
commit
84e8e361dd
@ -1,3 +1,8 @@
|
||||
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* sim-module.c [WITH_WATCHPOINTS] (modules): Always call
|
||||
sim_watchpoint_install.
|
||||
|
||||
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* sim-base.h [SIM_HAVE_FLATMEM] (sim_state_base): Delete flatmem code.
|
||||
|
@ -54,9 +54,7 @@ static MODULE_INSTALL_FN * const modules[] = {
|
||||
#endif
|
||||
sim_core_install,
|
||||
sim_memopt_install,
|
||||
#if WITH_WATCHPOINTS
|
||||
sim_watchpoint_install,
|
||||
#endif
|
||||
#if WITH_SCACHE
|
||||
scache_install,
|
||||
#endif
|
||||
|
@ -1,3 +1,7 @@
|
||||
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* tconfig.h (WITH_WATCHPOINTS): Delete.
|
||||
|
||||
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* tconfig.h (SIM_HAVE_MEM_SIZE): Delete.
|
||||
|
@ -6,11 +6,6 @@
|
||||
/* For MSPR support. FIXME: revisit. */
|
||||
#define WITH_DEVICES 1
|
||||
|
||||
#if 0
|
||||
/* Enable watchpoints. */
|
||||
#define WITH_WATCHPOINTS 1
|
||||
#endif
|
||||
|
||||
/* ??? Temporary hack until model support unified. */
|
||||
#define SIM_HAVE_MODEL
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* tconfig.h (WITH_WATCHPOINTS): Delete.
|
||||
|
||||
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* tconfig.h (SIM_HAVE_MEM_SIZE): Delete.
|
||||
|
@ -6,11 +6,6 @@
|
||||
/* For MSPR support. FIXME: revisit. */
|
||||
#define WITH_DEVICES 0
|
||||
|
||||
#if 0
|
||||
/* Enable watchpoints. */
|
||||
#define WITH_WATCHPOINTS 1
|
||||
#endif
|
||||
|
||||
/* ??? Temporary hack until model support unified. */
|
||||
#define SIM_HAVE_MODEL
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* tconfig.h (WITH_WATCHPOINTS): Delete.
|
||||
|
||||
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* tconfig.h (SIM_HAVE_MEM_SIZE): Delete.
|
||||
|
@ -9,11 +9,6 @@
|
||||
/* For MSPR support. FIXME: revisit. */
|
||||
#define WITH_DEVICES 1
|
||||
|
||||
#if 0
|
||||
/* Enable watchpoints. */
|
||||
#define WITH_WATCHPOINTS 1
|
||||
#endif
|
||||
|
||||
/* Define this to enable the intrinsic breakpoint mechanism. */
|
||||
/* FIXME: may be able to remove SIM_HAVE_BREAKPOINT since it essentially
|
||||
duplicates ifdef SIM_BREAKPOINT (right?) */
|
||||
|
@ -1,3 +1,7 @@
|
||||
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* sim-main.h (WITH_WATCHPOINTS): Delete.
|
||||
|
||||
2015-11-17 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* sim-main.h (WITH_MODULO_MEMORY): Delete.
|
||||
|
@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#ifndef _SIM_MAIN_H
|
||||
#define _SIM_MAIN_H
|
||||
|
||||
#define WITH_WATCHPOINTS 1
|
||||
#define SIM_HANDLES_LMA 1
|
||||
|
||||
#include "sim-basics.h"
|
||||
|
@ -1,3 +1,7 @@
|
||||
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* sim-main.h (WITH_WATCHPOINTS): Delete.
|
||||
|
||||
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* interp.c [SIM_HAVE_FLATMEM] (sim_open): Delete flatmem code.
|
||||
|
@ -20,10 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#ifndef SIM_MAIN_H
|
||||
#define SIM_MAIN_H
|
||||
|
||||
/* hobble some common features for moment */
|
||||
#define WITH_WATCHPOINTS 1
|
||||
|
||||
|
||||
#define SIM_CORE_SIGNAL(SD,CPU,CIA,MAP,NR_BYTES,ADDR,TRANSFER,ERROR) \
|
||||
mips_core_signal ((SD), (CPU), (CIA), (MAP), (NR_BYTES), (ADDR), (TRANSFER), (ERROR))
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* sim-main.h (WITH_WATCHPOINTS): Delete.
|
||||
|
||||
2015-11-21 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* interp.c (mn10300_callback): Delete.
|
||||
|
@ -22,7 +22,6 @@
|
||||
#ifndef SIM_MAIN_H
|
||||
#define SIM_MAIN_H
|
||||
|
||||
#define WITH_WATCHPOINTS 1
|
||||
#define SIM_HANDLES_LMA 1
|
||||
|
||||
#define SIM_ENGINE_HALT_HOOK(SD,LAST_CPU,CIA) 0 /* disable this hook */
|
||||
@ -41,8 +40,6 @@
|
||||
#include "itable.h"
|
||||
#include "idecode.h"
|
||||
|
||||
#define WITH_WATCHPOINTS 1
|
||||
|
||||
#define SIM_CORE_SIGNAL(SD,CPU,CIA,MAP,NR_BYTES,ADDR,TRANSFER,ERROR) \
|
||||
mn10300_core_signal ((SD), (CPU), (CIA), (MAP), (NR_BYTES), (ADDR), (TRANSFER), (ERROR))
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* tconfig.h (WITH_WATCHPOINTS): Delete.
|
||||
|
||||
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* tconfig.h (SIM_HAVE_MEM_SIZE): Delete.
|
||||
|
@ -6,11 +6,6 @@
|
||||
/* For MSPR support. FIXME: revisit. */
|
||||
#define WITH_DEVICES 0
|
||||
|
||||
#if 0
|
||||
/* Enable watchpoints. */
|
||||
#define WITH_WATCHPOINTS 1
|
||||
#endif
|
||||
|
||||
/* ??? Temporary hack until model support unified. */
|
||||
#define SIM_HAVE_MODEL
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
2015-12-24 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* sim-main.h (WITH_WATCHPOINTS): Delete.
|
||||
|
||||
2015-12-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
|
||||
|
||||
* simops.c (v850_bins): Fix left shift of negative value.
|
||||
|
@ -1,11 +1,6 @@
|
||||
#ifndef SIM_MAIN_H
|
||||
#define SIM_MAIN_H
|
||||
|
||||
/* General config options */
|
||||
|
||||
#define WITH_WATCHPOINTS 1
|
||||
|
||||
|
||||
/* The v850 has 32bit words, numbered 31 (MSB) to 0 (LSB) */
|
||||
|
||||
#define WITH_TARGET_WORD_MSB 31
|
||||
|
Loading…
Reference in New Issue
Block a user