]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/frv/acinclude.m4
Update copyright year range in header of all files managed by GDB
[thirdparty/binutils-gdb.git] / sim / frv / acinclude.m4
CommitLineData
1d506c26 1dnl Copyright (C) 1997-2024 Free Software Foundation, Inc.
408a44aa
MF
2dnl
3dnl This program is free software; you can redistribute it and/or modify
4dnl it under the terms of the GNU General Public License as published by
5dnl the Free Software Foundation; either version 3 of the License, or
6dnl (at your option) any later version.
7dnl
8dnl This program is distributed in the hope that it will be useful,
9dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
10dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11dnl GNU General Public License for more details.
12dnl
13dnl You should have received a copy of the GNU General Public License
14dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
15dnl
16dnl NB: This file is included in sim/configure, so keep settings namespaced.
17dnl
18dnl Enable making unknown traps dump out registers
19AC_MSG_CHECKING([whether sim frv should dump cpu state on unknown traps])
20AC_ARG_ENABLE(sim-frv-trapdump,
21[AS_HELP_STRING([--enable-sim-frv-trapdump],
22 [Make unknown traps dump the registers])],
23[case "${enableval}" in
24yes|no) ;;
25*) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-trapdump");;
26esac])
1ee4d0e3 27if test "x${enable_sim_frv_trapdump}" = xyes; then
408a44aa
MF
28 SIM_FRV_TRAPDUMP_FLAGS="-DTRAPDUMP=1"
29 AC_MSG_RESULT([yes])
30else
31 SIM_FRV_TRAPDUMP_FLAGS="-DTRAPDUMP=0"
32 AC_MSG_RESULT([no])
33fi
34AC_SUBST(SIM_FRV_TRAPDUMP_FLAGS)