1
# Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
1
# Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
3
3
# This file is part of GDB.
5
5
# This program is free software; you can redistribute it and/or modify
6
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation; either version 2 of the License, or
7
# the Free Software Foundation; either version 3 of the License, or
8
8
# (at your option) any later version.
10
10
# This program is distributed in the hope that it will be useful,
13
13
# GNU General Public License for more details.
15
15
# You should have received a copy of the GNU General Public License
16
# along with this program; if not, write to the Free Software
17
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
# along with this program. If not, see <http://www.gnu.org/licenses/>.
20
19
# This file requires GNU make!
32
31
# make GDB=/path/to/gdb XMLTOC="xml files" cfiles
34
33
WHICH = arm-with-iwmmxt arm-with-vfpv2 arm-with-vfpv3 arm-with-neon \
34
i386/i386 i386/i386-linux \
35
i386/amd64 i386/amd64-linux \
35
36
mips-linux mips64-linux \
36
37
rs6000/powerpc-32l rs6000/powerpc-altivec32l rs6000/powerpc-e500l \
37
38
rs6000/powerpc-64l rs6000/powerpc-altivec64l rs6000/powerpc-vsx32l \
38
rs6000/powerpc-vsx64l rs6000/powerpc-cell32l rs6000/powerpc-cell64l
39
rs6000/powerpc-vsx64l rs6000/powerpc-cell32l rs6000/powerpc-cell64l \
40
s390-linux32 s390-linux64 s390x-linux64
40
42
# Record which registers should be sent to GDB by default after stop.
41
43
arm-expedite = r11,sp,pc
44
i386/i386-expedite = ebp,esp,eip
45
i386/i386-linux-expedite = ebp,esp,eip
46
i386/amd64-expedite = rbp,rsp,rip
47
i386/amd64-linux-expedite = rbp,rsp,rip
42
48
mips-expedite = r29,pc
43
49
mips64-expedite = r29,pc
44
50
powerpc-expedite = r1,pc
45
51
rs6000/powerpc-cell32l-expedite = r1,pc,r0,orig_r3,r4
46
52
rs6000/powerpc-cell64l-expedite = r1,pc,r0,orig_r3,r4
53
s390-linux32-expedite = r14,r15,pswa
54
s390-linux64-expedite = r14l,r15l,pswa
55
s390x-linux64-expedite = r14,r15,pswa
49
58
XSLTPROC = xsltproc
76
85
# Other dependencies.
77
86
$(outdir)/arm-with-iwmmxt.dat: arm-core.xml xscale-iwmmxt.xml
87
$(outdir)/i386/i386.dat: i386/32bit-core.xml i386/32bit-sse.xml
88
$(outdir)/i386/i386-linux.dat: i386/32bit-core.xml i386/32bit-sse.xml \
90
$(outdir)/i386/amd64.dat: i386/64bit-core.xml i386/64bit-sse.xml
91
$(outdir)/i386/amd64-linux.dat: i386/64bit-core.xml i386/64bit-sse.xml \