diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-11 17:55:29 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-11 17:55:29 +0000 |
commit | 56aebc891674cd2d07b3f64183415697be200084 (patch) | |
tree | c3cfc08f9593b32d16bb3469be3a7d479f8f99d9 /configure | |
parent | 1792f2867c645ac8d587e30b30bdc6e0bb28a0d0 (diff) | |
download | hqemu-56aebc891674cd2d07b3f64183415697be200084.zip hqemu-56aebc891674cd2d07b3f64183415697be200084.tar.gz |
Add GDB XML register description support.
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5459 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1386,6 +1386,7 @@ elfload32="no" target_nptl="no" interp_prefix1=`echo "$interp_prefix" | sed "s/%M/$target_cpu/g"` echo "#define CONFIG_QEMU_PREFIX \"$interp_prefix1\"" >> $config_h +gdb_xml_files="" case "$target_cpu" in i386) @@ -1425,6 +1426,7 @@ case "$target_cpu" in echo "#define TARGET_ARM 1" >> $config_h bflt="yes" target_nptl="yes" + gdb_xml_files="arm-core.xml arm-vfp.xml arm-vfp3.xml arm-neon.xml" ;; cris) echo "TARGET_ARCH=cris" >> $config_mak @@ -1436,6 +1438,7 @@ case "$target_cpu" in echo "#define TARGET_ARCH \"m68k\"" >> $config_h echo "#define TARGET_M68K 1" >> $config_h bflt="yes" + gdb_xml_files="cf-core.xml cf-fp.xml" ;; mips|mipsel) echo "TARGET_ARCH=mips" >> $config_mak @@ -1545,6 +1548,13 @@ if test "$target_darwin_user" = "yes" ; then echo "CONFIG_DARWIN_USER=yes" >> $config_mak echo "#define CONFIG_DARWIN_USER 1" >> $config_h fi +list="" +if test ! -z "$gdb_xml_files" ; then + for x in $gdb_xml_files; do + list="$list $source_path/gdb-xml/$x" + done +fi +echo "TARGET_XML_FILES=$list" >> $config_mak if test "$target_cpu" = "arm" \ -o "$target_cpu" = "armeb" \ |