+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * configure.ac (--enable-targets): New configure option.
+ Collect gdb_target_obs of multiple targets into TARGET_OBS.
+ Call configure.tgt multiple times, using $targ as operand.
+ * configure.tgt: Operate on $targ instead of $target.
+ * configure: Regenerate.
+ * Makefile.in (ALL_TARGET_OBS): Define.
+
+ * NEWS: Mention --enable-targets option.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * mips-tdep.c (show_mipsfpu_command): Do not crash if called when
+ current architecture is not MIPS.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * cli/cli-setshow.c (do_setshow_command): Use dynamically sized buffer
+ to construct error message if no argument was supplied.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Remove.
+ (i386nbsd_aout_regset_from_core_section): Likewise.
+ (i386nbsd_aout_init_abi): Likewise.
+ (_initialize_i386nbsd_tdep): Do not register i386nbsd_aout_init_abi.
+
+ * vaxnbsd-tdep.c (vaxnbsd_aout_init_abi): Remove.
+ (_initialize_vaxnbsd_tdep): Do not register vaxnbsd_aout_init_abi.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * amd64fsdb-tdep.c (amd64fbsd_sigtramp_start_addr): Use ULL suffix.
+ (amd64fbsd_sigtramp_end_addr): Likewise.
+
+ * iq2000-tdep.c (iq2000_pointer_to_address): Fix argument type.
+ (iq2000_address_to_pointer): Likewise.
+ (iq2000_frame_prev_register): Likewise.
+ (iq2000_extract_return_value): Use regcache_cooked_read_unsigned
+ instead of regcache_cooked_read into CORE_ADDR variable.
+ (iq2000_return_value): Fix argument types.
+
+ * m32r-rom.c (m32r_load_section): Fix printf argument type.
+ (m32r_load): Likewise.
+
+ * m68kbsd-tdep.c: Include "gdbtypes.h".
+ * Makefile.in: Update dependencies.
+
+ * mn10300-tdep.c (mn10300_frame_unwind_cache): Fix aliasing violation.
+
+ * nto-tdep.c (LM_ADDR): Do not refer to no-longer-existing
+ lmo->l_addr_size element.
+
+ * remote-m32r-sdi.c (m32r_xfer_memory): Use paddr to print address.
+ (m32r_insert_breakpoint): Likewise.
+ (m32r_remove_breakpoint): Likewise.
+ (m32r_insert_watchpoint): Likewise.
+ (m32r_remove_watchpoint): Likewise.
+ (m32r_load): Fix printf argument type.
+
+ * xtensa-tdep.c (xtensa_regset_from_core_section): Fix printf
+ argument type.
+ (xtensa_frame_this_id): Do not cast pointers to "int" for output.
+ (xtensa_frame_prev_register): Likewise.
+ (xtensa_push_dummy_call): Likewise.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/alpha/alpha-linux.mt: Remove file.
+ * config/alpha/alpha.mt: Remove file.
+ * config/alpha/alpha-osf1.mt: Remove file.
+ * config/alpha/fbsd.mt: Remove file.
+ * config/alpha/nbsd.mt: Remove file.
+ * config/alpha/obsd.mt: Remove file.
+ * config/arm/embed.mt: Remove file.
+ * config/arm/linux.mt: Remove file.
+ * config/arm/nbsd.mt: Remove file.
+ * config/arm/obsd.mt: Remove file.
+ * config/arm/wince.mt: Remove file.
+ * config/avr/avr.mt: Remove file.
+ * config/cris/cris.mt: Remove file.
+ * config/frv/frv.mt: Remove file.
+ * config/h8300/h8300.mt: Remove file.
+ * config/i386/cygwin.mt: Remove file.
+ * config/i386/fbsd64.mt: Remove file.
+ * config/i386/fbsd.mt: Remove file.
+ * config/i386/i386gnu.mt: Remove file.
+ * config/i386/i386.mt: Remove file.
+ * config/i386/i386sol2.mt: Remove file.
+ * config/i386/linux64.mt: Remove file.
+ * config/i386/linux.mt: Remove file.
+ * config/i386/mingw.mt: Remove file.
+ * config/i386/nbsd64.mt: Remove file.
+ * config/i386/nbsd.mt: Remove file.
+ * config/i386/nto.mt: Remove file.
+ * config/i386/obsd64.mt: Remove file.
+ * config/i386/obsd.mt: Remove file.
+ * config/i386/sol2-64.mt: Remove file.
+ * config/ia64/ia64.mt: Remove file.
+ * config/ia64/linux.mt: Remove file.
+ * config/iq2000/iq2000.mt: Remove file.
+ * config/m32c/m32c.mt: Remove file.
+ * config/m32r/linux.mt: Remove file.
+ * config/m32r/m32r.mt: Remove file.
+ * config/m68hc11/m68hc11.mt: Remove file.
+ * config/m68k/linux.mt: Remove file.
+ * config/m68k/monitor.mt: Remove file.
+ * config/m68k/nbsd.mt: Remove file.
+ * config/m68k/obsd.mt: Remove file.
+ * config/m88k/obsd.mt: Remove file.
+ * config/mep/mep.mt: Remove file.
+ * config/mips/embed.mt: Remove file.
+ * config/mips/irix5.mt: Remove file.
+ * config/mips/irix6.mt: Remove file.
+ * config/mips/linux.mt: Remove file.
+ * config/mips/nbsd.mt: Remove file.
+ * config/mips/obsd64.mt: Remove file.
+ * config/mn10300/linux.mt: Remove file.
+ * config/mn10300/mn10300.mt: Remove file.
+ * config/mt/mt.mt: Remove file.
+ * config/pa/hppahpux.mt: Remove file.
+ * config/pa/hppa.mt: Remove file.
+ * config/pa/linux.mt: Remove file.
+ * config/pa/obsd.mt: Remove file.
+ * config/powerpc/aix.mt: Remove file.
+ * config/powerpc/linux.mt: Remove file.
+ * config/powerpc/nbsd.mt: Remove file.
+ * config/powerpc/obsd.mt: Remove file.
+ * config/powerpc/ppc-eabi.mt: Remove file.
+ * config/s390/s390.mt: Remove file.
+ * config/score/embed.mt: Remove file.
+ * config/sh/embed.mt: Remove file.
+ * config/sh/linux.mt: Remove file.
+ * config/sh/nbsd.mt: Remove file.
+ * config/sh/obsd.mt: Remove file.
+ * config/sh/sh64.mt: Remove file.
+ * config/sparc/embed.mt: Remove file.
+ * config/sparc/fbsd.mt: Remove file.
+ * config/sparc/linux64.mt: Remove file.
+ * config/sparc/linux.mt: Remove file.
+ * config/sparc/nbsd64.mt: Remove file.
+ * config/sparc/nbsd.mt: Remove file.
+ * config/sparc/obsd64.mt: Remove file.
+ * config/sparc/obsd.mt: Remove file.
+ * config/sparc/sol2-64.mt: Remove file.
+ * config/sparc/sol2.mt: Remove file.
+ * config/sparc/sparc64.mt: Remove file.
+ * config/sparc/sparc.mt: Remove file.
+ * config/spu/spu.mt: Remove file.
+ * config/v850/v850.mt: Remove file.
+ * config/vax/nbsd.mt: Remove file.
+ * config/vax/obsd.mt: Remove file.
+ * config/vax/vax.mt: Remove file.
+ * config/xstormy16/xstormy16.mt: Remove file.
+ * config/xtensa/xtensa.mt: Remove file.
+
+ * configure.tgt (gdb_target_cpu): Remove. Do not set anywhere.
+ (gdb_target): Likewise.
+ (gdb_target_obs): Document. Set for every target to contents
+ of TDEPFILES in former .mt makefile fragment.
+
+ * configure.ac (TARGET_OBS): Define.
+ (target_makefile_frag, gdb_target_cpu): Do not define.
+ * configure: Regenerate.
+
+ * Makefile.in (MT_FLAGS): Remove.
+ (GLOBAL_CFLAGS): Update.
+ (TARGET_OBS): Substitute from configure.
+ (DEPFILES): Remove TDEPFILES, add TARGET_OBS.
+ (@target_makefile_frag@): Remove.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/arm/embed.mt (SIM_OBS, SIM): Remove.
+ * config/avr/avr.mt (SIM_OBS, SIM): Remove.
+ * config/frv/frv.mt (SIM_OBS, SIM): Remove.
+ * config/h8300/h8300.mt (SIM_OBS, SIM): Remove.
+ * config/iq2000/iq2000.mt (SIM_OBS, SIM): Remove.
+ * config/m32c/m32c.mt (SIM_OBS, SIM): Remove.
+ * config/m32r/linux.mt (SIM_OBS, SIM): Remove.
+ * config/m32r/m32r.mt (SIM_OBS, SIM): Remove.
+ * config/m68hc11/m68hc11.mt (SIM_OBS, SIM): Remove.
+ * config/mips/embed.mt (SIM_OBS, SIM): Remove.
+ * config/mips/linux.mt (SIM_OBS, SIM): Remove.
+ * config/mips/nbsd.mt (SIM_OBS, SIM): Remove.
+ * config/mn10300/mn10300.mt (SIM_OBS, SIM): Remove.
+ * config/powerpc/linux.mt (SIM_OBS, SIM): Remove.
+ * config/powerpc/nbsd.mt (SIM_OBS, SIM): Remove.
+ * config/powerpc/ppc-sim.mt: Remove file.
+ * config/sh/embed.mt (SIM_OBS, SIM): Remove.
+ * config/sh/linux.mt (SIM_OBS, SIM): Remove.
+ * config/sh/nbsd.mt (SIM_OBS, SIM): Remove.
+ * config/sh/sh64.mt (SIM_OBS, SIM): Remove.
+ * config/sparc/embed.mt (SIM_OBS, SIM): Remove.
+ * config/v850/v850.mt (SIM_OBS, SIM): Remove.
+ * config/xstormy16/xstormy16.mt (SIM_OBS, SIM): Remove.
+
+ * configure.tgt (gdb_sim): Document variable.
+ (arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*): Set it.
+ (avr-*-*): Likewise.
+ (frv-*-*): Likewise.
+ (h8300-*-*): Likewise.
+ (iq2000-*-*): Likewise.
+ (m32c-*-*): Likewise.
+ (m32r*-*-linux*): Likewise.
+ (m32r*-*-*): Likewise.
+ (m68hc11*-*-*|m6811*-*-*): Likewise.
+ (mips*-*-*): Likewise.
+ (mips*-*-linux*): Likewise.
+ (mips*-*-netbsd* | mips*-*-knetbsd*-gnu): Likewise.
+ (mn10300-*-*): Likewise.
+ (powerpc-*-linux* | powerpc64-*-linux*): Likewise.
+ (powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu): Likewise.
+ (powerpc*-*-*): Use ppc-eabi target. Conditionally set gdb_sim.
+ (sh*): Set gdb_sim.
+ (sh-*-linux*): Likewise.
+ (sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu): Likewise.
+ (sh64-*-elf*): Likewise.
+ (sparc-*-rtems*): Likewise.
+ (v850*-*-elf): Likewise.
+ (xstormy16-*-*): Likewise.
+
+ * configure.ac (IGNORE_SIM, IGNORE_SIM_OBS): Do not set.
+ (SIM, SIM_OBS): Set depending on ${ignore_sim} and ${gdb_sim}.
+ * configure: Regenerate.
+ * Makefile.in (SIM, SIM_OBS): Substitute from configure.
+ (@IGNORE_SIM@, @IGNORE_SIM_OBS@): Remove.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * configure.tgt (gdb_osabi, build_gdbserver): Comment variables.
+ (arm*-*-*): Do not set obsolete build_rdi_share variable.
+
+ (*-*-freebsd* | *-*-kfreebsd*-gnu): Remove generic case, replace by ...
+ (alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
+ (i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
+ (sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu): ... specific cases.
+ (x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu): Re-sort.
+
+ (xscale-*-*): Merge into arm*-*-* case.
+ (fido-*-elf*): Merge into m68*-*-elf* case.
+ (m68*-*-aout*, m68*-*-coff*, m68*-*-elf*, m68*-*-rtems*,
+ m68*-*-uclinux*): Merge cases.
+ (powerpc-*-linux*, powerpc64-*-linux*): Merge cases.
+ (sh-*-coff*, sh-*-elf*): Merge into sh* case.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * configure.tgt: Reformat main case statement.
+
+2007-11-16 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * configure.ac (hostfile, targetfile): Remove.
+ (GDB_XM_FILE, GDB_TM_FILE): Do not define.
+ (xm_h, tm_h): Likewise.
+ (DEPRECATED_TM_FILE, XM_FILE): Do not substitute into Makefile.
+ * configure, config.in: Regenerate.
+
+ * Makefile.in (xm_h, tm_h): Remove. Update dependencies.
+ (TAGS): Do not consider DEPRECATED_TM_FILE or XM_FILE.
+ (clean, local-maintainer-clean): Do not remove xm.h or tm.h.
+ * defs.h: Do not include "xm.h" or "tm.h".
+
+ * gdbarch.sh (verify_gdbarch): Do not dump GDB_XM_FILE or GDB_TM_FILE.
+ * gdbarch.c: Regenerate.
+
+ * config/score/embed.mt: Remove obsolete comment.
+
+2007-11-16 Markus Deuling <deuling@de.ibm.com>
+
+ * gdbarch.sh (cannot_fetch_register, cannot_store_register): Add gdbarch
+ as parameter.
+ * gdbarch.{c,h}: Regenerate.
+
+ * alpha-tdep.c (alpha_cannot_fetch_register)
+ (alpha_cannot_store_register): Add gdbarch as parameter. Replace
+ current_gdbarch by gdbarch.
+ * cris-tdep.c (cris_cannot_fetch_register, cris_cannot_store_register)
+ (crisv32_cannot_fetch_register)
+ (crisv32_cannot_store_register): Likewise.
+ * arch-utils.c (cannot_register_not): Likewise.
+ * arch-utils.h (cannot_register_not): Likewise.
+ * hppa-tdep.c (hppa32_cannot_store_register)
+ (hppa32_cannot_store_register, hppa64_cannot_store_register)
+ (hppa64_cannot_fetch_register): Likewise.
+ * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register)
+ (mipsnbsd_cannot_store_register): Likewise.
+
2007-11-16 Markus Deuling <deuling@de.ibm.com>
* m32r-rom.c (m32r_supply_register): Use get_regcache_arch to get at