+2008-03-12 Alan Modra <amodra@bigpond.net.au>
+
+ PR 5900
+ * elfread.c (elf_symtab_read): Make shndx an unsigned int.
+ * mipsread.c: Include elf/internal.h.
+ (read_alphacoff_dynamic_symtab): Map external reserved sym_shndx
+ to internal range.
+
+2008-03-11 Markus Deuling <deuling@de.ibm.com>
+
+ * win32-nat.c (do_win32_fetch_inferior_registers): Use get_regcache_arch
+ to get at the current architecture and at the target specific vector.
+ Add target specific vector to I387_FISEG_REGNUM and I387_FOP_REGNUM and
+ remove define of I387_ST0_REGNUM.
+
+ * amd64-tdep.c (I387_ST0_REGNUM): Remove define.
+
+ (amd64_supply_fxsave, amd64_collect_fxsave): Use get_regcache_arch to
+ get at the current architecture
+ (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Add target specific vector as
+ parameter.
+
+ * i386-tdep.c: Remove various define's and undef's of I387_ST0_REGNUM,
+ I387_NUM_XMM_REGS and I387_MM0_REGNUM.
+
+ (I387_NUM_XMM_REGS, I387_XMM0_REGNUM, I387_MXCSR_REGNUM,
+ I387_ST0_REGNUM, I387_FCTRL_REGNUM, I387_MM0_REGNUM,
+ (I387_FSTAT_REGNUM): Add target specific vector as parameter.
+
+ (i386_register_name, i386_dbx_reg_to_regnum): Use gdbarch_tdep to get
+ at the target specific vector.
+
+ (i386_get_longjmp_target): Use get_frame_arch to get at the current
+ architecture. Use gdbarch_tdep to get at the target specific vector.
+
+ (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as parameter and
+ update caller. Use gdbarch_tdep to get at the target specific vector.
+
+ (i386_register_to_value: Use get_frame_arch to get at the current
+ architecture.
+
+ * i386-tdep.h (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as
+ parameter.
+
+ * i387-tdep.c (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM,
+ I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM
+ I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_ST0_REGNUM, FSAVE_ADDR,
+ FXSAVE_ADDR, I387_XMM0_REGNUM): Add target specific vector as parameter.
+
+ (I387_ST0_REGNUM, I387_NUM_XMM_REGS): Remove various define's and
+ undef's.
+
+ (i387_convert_register_p, i387_register_to_value,
+ i387_value_to_register): Update call for i386_fp_regnum_p.
+
+ * i387-tdep.h: Remove comment.
+ (I387_ST0_REGNUM, I387_NUM_XMM_REGS, I387_MM0_REGNUM): Add define.
+ (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM,
+ I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM,
+ I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_XMM0_REGNUM,
+ I387_MXCSR_REGNUM): Add target specific vector as parameter.
+
+2008-03-10 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * Makefile.in (fork-child.o): Update.
+ * NEWS: Document "set exec-wrapper" and the gdbserver --wrapper
+ argument. Gather all gdbserver features together.
+ * fork-child.c (exec_wrapper): New variable.
+ (fork_inferior): Use it.
+ (startup_inferior): Skip an extra trap if using "set exec-wrapper".
+ (unset_exec_wrapper_command, _initialize_fork_child): New.
+
+2008-03-10 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
+
+ * source.c (directory_command): Modify the determination of
+ condition of terminal "from_tty".
+
+2008-03-10 Matt Rice <ratmice@gmail.com>
+
+ * dwarf2read.c (set_cu_language): Add DW_LANG_ObjC.
+
+2008-03-10 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
+
+ * spu-tdep.c (info_spu_event_command): Insert a '\0' to the end
+ of the data passing to strtoulst function.
+ (info_spu_signal_command): Likewise.
+
+2008-03-08 Vladimir Prus <vladimir@codesourcery.com>
+
+ * mi/mi-interp.c (mi_command_loop): Remove
+ commented-out code.
+
+2008-03-07 Joel Brobecker <brobecker@adacore.com>
+
+ * remote.c (extended_remote_attach_1): Make local variable pid an int
+ instead of a pid_t.
+
+2008-03-07 Joel Brobecker <brobecker@adacore.com>
+
+ * solib-svr4.c (svr4_same_1): New function, originally extracted
+ from svr4_same and expanded to handle the sparc64 case.
+ (svr4_same): Move up and reimplement using svr4_same_1.
+ (enable_break): Use svr4_same_1 to do shared library name comparisons.
+
+2008-03-07 Ramana Radhakrishnan <ramana.r@gmail.com>
+
+ * MAINTAINERS: Move self to Paper trail.
+
+2008-03-05 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * Makefile.in (mingw-hdep.o, posix-hdep.o, remote-fileio.o): Update.
+ * event-loop.c (call_async_signal_handler): New.
+ * event-loop.h (call_async_signal_handler)
+ (gdb_call_async_signal_handler): Declare.
+ (mark_async_signal_handler): Add comments.
+ * event-top.c (handle_sigint): Use gdb_call_async_signal_handler.
+ * mingw-hdep.c (sigint_event, sigint_handler): New.
+ (gdb_select): Use them. Wait for the readline signal handler
+ to finish.
+ (gdb_call_async_signal_handler, _initialize_mingw_hdep): New functions.
+ * posix-hdep.c (gdb_call_async_signal_handler): New function.
+ * remote-fileio.c (sigint_fileio_token, async_remote_fileio_interrupt):
+ New.
+ (remote_fileio_ctrl_c_signal_handler): Use
+ gdb_call_async_signal_handler.
+ (initialize_remote_fileio): Initialize sigint_fileio_token.
+ * remote.c (initialize_sigint_signal_handler, handle_remote_sigint): Do
+ not initialize tokens here.
+ (handle_remote_sigint_twice): Likewise. Reinstall
+ handle_remote_sigint.
+ (async_remote_interrupt_twice): Just call interrupt_query.
+ (cleanup_sigint_signal_handler): Do not delete tokens.
+ (remote_interrupt, remote_interrupt_twice): Use
+ gdb_call_async_signal_handler.
+ (interrupt_query): Reinstall the default signal handler.
+ (_initialize_remote): Initialize tokens here.
+
+2008-03-04 Joel Brobecker <brobecker@adacore.com>
+
+ * features/rs6000/power-core.xml, features/rs6000/power64-core.xml,
+ features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml:
+ Change the type of the lr register to code_ptr.
+ * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c,
+ features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c,
+ features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c,
+ features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c,
+ features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c,
+ features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c,
+ features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: Regenerate.
+
+2008-03-03 James E. Wilson <wilson@tuliptree.org>
+
+ * MAINTAINERS: Update my email address.
+
+2008-03-03 Keith Seitz <keiths@redhat.com>
+
+ From Dave Murphy <davem@devkitpro.org>:
+ * configure.ac: Set tcl configdir to win under mingw.
+ * configure: Regenerate.
+
+2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * breakpoint.c (fetch_watchpoint_value): New function.
+ (update_watchpoint): Set and clear val_valid. Use
+ fetch_watchpoint_value. Handle unreadable values on the
+ value chain. Correct check for user-requested array watchpoints.
+ (breakpoint_init_inferior): Clear val_valid.
+ (watchpoint_value_print): New function.
+ (print_it_typical): Use it. Do not free or clear old_val. Print
+ watchpoints even if old_val == NULL.
+ (watchpoint_check): Use fetch_watchpoint_value. Check for values
+ becoming readable or unreadable.
+ (watch_command_1): Use fetch_watchpoint_value. Set val_valid.
+ (do_enable_watchpoint): Likewise.
+ * breakpoint.h (struct breakpoint): Update comment for val. Add
+ val_valid.
+ * NEWS: Mention watchpoints on inaccessible memory.
+
+2007-02-29 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * Makefile.in (i386-nat.o): Update.
+ * amd64-linux-nat.c (_initialize_amd64_linux_nat): Call
+ i386_use_watchpoints.
+ * i386-linux-nat.c (_initialize_i386_linux_nat): Call
+ i386_use_watchpoints.
+ * i386-nat.c (i386_stopped_data_address): Take two arguments.
+ (i386_stopped_by_watchpoint): Update call.
+ (i386_can_use_hw_breakpoint, i386_use_watchpoints): New.
+ * config/i386/nm-i386.h: Conditionalize definitions on
+ ! I386_WATCHPOINTS_IN_TARGET_VECTOR.
+ (i386_use_watchpoints): Declare.
+ (i386_stopped_data_address): Update.
+ * config/i386/nm-linux.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define.
+ * config/i386/nm-linux64.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define.
+
+2008-02-29 Joel Brobecker <brobecker@adacore.com>
+
+ GDB 6.8 branch created (branch timestamp: 2008-02-26 10:00 UTC)
+ * version.in: Bump version to 6.8.50.20080229-cvs.
+
+2008-02-28 Markus Deuling <deuling@de.ibm.com>
+
+ * f-typeprint.c (f_print_type): Handle NULL pointer in VARSTRING
+ properly.
+
+2008-02-28 Tom Tromey <tromey@redhat.com>
+
+ * infcmd.c (notice_args_read): Print result of get_inferior_args.
+
+2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * infcmd.c (kill_if_already_running): Make static. Use
+ target_require_runnable.
+ * target.c (target_require_runnable): New.
+ * target.h (target_require_runnable): Declare.
+
+2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * frame.c (reinit_frame_cache): Only annotate if frames were
+ previously valid.
+
+2008-02-28 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * regformats/reg-ppc.dat: Rename "ps" to "msr".
+ * regformats/reg-ppc64.dat: Likewise.
+
+2008-02-28 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * features/Makefile (%.dat): Emit xmltarget statement.
+
+ * regformats/regdat.sh: Support xmltarget and xmlarch statments.
+ Generate code to set gdbserver_xmltarget in init_registers_${name}.
+
+ * regformats/arm-with-iwmmxt.dat: Regenerate.
+ * regformats/mips64-linux.dat: Regenerate.
+ * regformats/mips-linux.dat: Regenerate.
+ * regformats/rs6000/powerpc-32.dat: Regenerate.
+ * regformats/rs6000/powerpc-64.dat: Regenerate.
+ * regformats/rs6000/powerpc-e500.dat: Regenerate.
+
+ * regformats/reg-arm.dat: Add xmlarch statement.
+ * regformats/reg-i386.dat: Likewise.
+ * regformats/reg-i386-linux.dat: Likewise.
+ * regformats/reg-x86-64-linux.dat: Likewise.
+ * regformats/reg-spu.dat: Likewise.
+
+2008-02-27 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * remote.c (remote_wait, remote_async_wait): Stop if we receive
+ an error.
+
+2008-02-27 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * utils.c (debug_timestamp): New.
+ (vfprintf_unfiltered): Print timestamps if requested.
+ (show_debug_timestamp): New.
+ (initialize_utils): Register "set debug timestamp".
+ * NEWS: Mention "set debug timestamp". Add GDB 6.8 section.
+
+2008-02-27 Joel Brobecker <brobecker@adacore.com>
+
+ * breakpoint.c (skip_prologue_sal): New function.
+ (resolve_sal_pc): Adjust SAL past prologue if the SAL was
+ computed from a line number.
+
+2008-02-27 Joel Brobecker <brobecker@adacore.com>
+
+ * features/rs6000/power-core.xml, features/rs6000/power64-core.xml
+ features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml:
+ Set PC register type to "code_ptr".
+ * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c,
+ features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c,
+ features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c,
+ features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c,
+ features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c,
+ features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c,
+ features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c:
+ Regenerate.
+
+2008-02-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * regformats/regdat.sh: Rename init_registers function in
+ generated file to init_registers_${name}.
+
+ * regformats/reg-crisv32.dat: Set "name" to crisv32.
+ * regformats/reg-ppc64.dat: Set "name" to ppc64.
+ * regformats/reg-s390x.dat: Set "name" to s390x.
+
+2008-02-26 Greg Law <glaw@undo-software.com>
+
+ * regcache.c (registers_changed): Call reinit_frame_cache.
+
+2008-02-26 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * configure.tgt (sh-*-linux*): Match sh*. Add glibc-tdep.o.
+ * sh-linux-tdep.c (sh_linux_init_abi): Use glibc_skip_solib_resolver
+ and svr4_fetch_objfile_link_map.
+ * Makefile.in (sh-linux-tdep.o): Update.
+
+2008-02-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * amd64-tdep.c (amd64_classify): Add support for decimal float
+ types.
+ * i386-tdep.c (i386_return_value): Make 128-bit decimal float
+ use the struct return convention.
+
+2008-02-26 Nick Roberts <nickrob@snap.net.nz>
+
+ * breakpoint.c (print_one_breakpoint_location): Revert Enb field
+ to old format. Discard breakpoint address if shared library is
+ unloaded.
+ (breakpoint_1): Adjust formatting of table header accordingly.
+
+2008-02-25 Vladimir Prus <vladimir@codesourcery.com>
+
+ * remote.c (remote_get_threadlist): If the response
+ is empty, don't try to parse it.
+
+2008-02-23 Vladimir Prus <vladimir@codesourcery.com>
+
+ Unbreak 'target async'.
+ * serial.c (serial_async): Set the
+ handler function before enabling async
+ mode.
+
+2008-02-22 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * solib-svr4.c (enable_break): Convert r_brk to a code address.
+
+2008-02-21 Pedro Alves <pedro@codesourcery.com>
+
+ * remote.c (extended_remote_attach_1): Set attach_flag.
+ (extended_remote_create_inferior_1): Clear attach_flag.
+
+2008-02-20 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set
+ r_brk_offset.
+ (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
+ * solib-svr4.c (solib_svr4_r_brk): New.
+ (open_symbol_file_object, svr4_current_sos): Always check the
+ debug base.
+ (svr4_fetch_objfile_link_map): Do not set debug_base.
+ (enable_break): Use r_brk if it is set.
+ (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset.
+ (svr4_lp64_fetch_link_map_offsets): Likewise.
+ * solib-svr4.h (struct link_map_offsets): Add r_brk_offset.
+
+2008-02-20 Markus Deuling <deuling@de.ibm.com>
+ Mark Kettenis <kettenis@gnu.org>
+
+ * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by
+ trad_frame_saved_reg.
+ (trad-frame.h): New include.
+
+ (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs
+ instead of frame_obstack_zalloc.
+ (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register.
+
+ * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h.
+
+2008-02-20 Markus Deuling <deuling@de.ibm.com>
+
+ * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess
+ from disassemble_info instead of gdbarch_byte_order.
+
+ * mips-tdep.c (gdb_print_insn_mips): Likewise.
+ * arm-tdep.c (gdb_print_insn_arm): Likewise.
+
+2008-02-20 Markus Deuling <deuling@de.ibm.com>
+
+ * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add
+ gdbarch as parameter.
+
+ * gdbarch.{c,h}: Regenerate.
+
+ * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as
+ parameter.
+ * mem-break.c (default_memory_insert_breakpoint)
+ (default_memory_remove_breakpoint): Likewise.
+ * target.h (default_memory_remove_breakpoint)
+ (default_memory_insert_breakpoint): Likewise.
+
+ * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as
+ parameter. Replace current_gdbarch by gdbarch.
+ * m32r-tdep.c (m32r_memory_insert_breakpoint)
+ (m32r_memory_remove_breakpoint): Likewise.
+
+2008-02-19 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * MAINTAINERS: Add Vladimir Prus as MI maintainer.
+
+2008-02-19 Joel Brobecker <brobecker@adacore.com>
+
+ * NEWS: Add entry describing Add support improvements.
+
+2008-02-18 Markus Deuling <deuling@de.ibm.com>
+
+ * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
+ M68K_FP0_REGNUM.
+
+2008-02-18 Markus Deuling <deuling@de.ibm.com>
+
+ * sentinel-frame.c (sentinel_frame_prev_register): Do not call
+ register_offset_hack anymore.
+
+ * regcache.{c,h} (register_offset_hack): Remove.
+
+2008-02-18 Markus Deuling <deuling@de.ibm.com>
+
+ * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.
+
+ * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace
+ current_gdbarch by gdbarch.
+ (hppa64_hpux_find_global_pointer): Likewise.
+ * hppa-tdep.c (hppa_find_global_pointer): Likewise.
+ (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for
+ find_global_pointer.
+
+ * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as
+ parameter.
+ * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise.
+
+ * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead
+ of gdbarch_num_regs.
+
+ * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and
+ replace current_gdbarch by gdbarch.
+ (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr.
+
+2008-02-18 Markus Deuling <deuling@de.ibm.com>
+
+ * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter
+ and replace current_gdbarch by gdbarch.
+
+ (store_register): Update call for exec_one_dummy_insn.
+ (fetch_register, store_register): Update call of regmap.
+
+ * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as
+ parameter and replace current_gdbarch by gdbarch.
+
+ (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at
+ the current architecture. Update call for getregs_supplies and
+ getfpregs_supplies.
+ (ppcnbsd_fetch_inferior_registers): Likewise.
+
+ * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and
+ replace current_gdbarch by gdbarch.
+ (ppcobsd_fetch_registers, ppcobsd_store_registers): Use
+ get_regcache_arch to get at the current architecture. Update call for
+ getfpregs_supplies.
+
+2008-02-18 Markus Deuling <deuling@de.ibm.com>
+
+ * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
+ variables.
+
+2008-02-15 Markus Deuling <deuling@de.ibm.com>
+
+ * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.
+
+2008-02-14 Vladimir Prus <vladimir@codesourcery.com>
+
+ * NEWS: Mention pending breakpints in MI.
+
+2008-02-14 Markus Deuling <deuling@de.ibm.com>
+
+ * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.
+
+2008-02-13 Markus Deuling <deuling@de.ibm.com>
+
+ Add script to build and test GDB using enable-targets=all.
+
+ * gdb_buildall.sh: New file.
+
+2008-02-11 Maxim Grigoriev <maxim2405@gmail.com>
+
+ * NEWS (New native configurations): Xtensa GNU/Linux.
+ (New targets): Xtensa GNU/Linux.
+ * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and
+ xtensa-linux-tdep.o
+ (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c
+ (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies.
+ * configure.tgt (xtensa*-*-linux*): New entry.
+ * xtensa-config.c (xtensa_tdep): New variable.
+ (xtensa_config_byte_order, xtensa_config_tdep): Removed.
+ (rmap): Change format based on new macro XTREG.
+ (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h.
+ * xtensa-linux-nat.c: New.
+ * xtensa-linux-tdep.c: New.
+ * xtensa-xtregs.c: New.
+ * xtensa-tdep.h (xtensa_elf_gregset_t): Update.
+ (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE)
+ (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros.
+ (xtensa_register_t): New field coprocessor.
+ (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected.
+ * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed.
+ (xtensa_pseudo_register_read, xtensa_pseudo_register_write):
+ Update to handle privileged registers.
+ (xtensa_supply_gregset) Remove exccause and excvaddr registers.
+ (xtensa_push_dummy_call): Set windowstart register correctly.
+ (call0_analyze_prologue): Initialize xtensa_default_isa.
+ (xtensa_derive_tdep): New.
+ (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and
+ xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead.
+ Call xtensa_derive_tdep().
+ * config/xtensa/linux.mh: New.
+ * regformats/reg-xtensa.dat: New.
+
+2008-02-09 Aleksandar Ristovski <aristovski@qnx.com> (tiny change)
+
+ * corelow.c (core_open): Use IS_ABSOLUTE_PATH.
+ (filenames.h): New include.
+ * Makefile.in (corelow.o): Add dependency for filenames.h.
+
+2008-02-08 Doug Evans <dje@google.com>
+
+ * source.c (find_and_open_source): Always rewrite absolute filenames.
+
+2008-02-07 Doug Evans <dje@google.com>
+
+ * breakpoint.c: #include "hashtab.h".
+ (ambiguous_names_p): New fn.
+ (update_breakpoint_locations): When restoring bp enable status, don't
+ compare function names if any functions have same name.
+ * Makefile.in (breakpoint.o): Add hashtab.h dependency.
+
+2008-02-07 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
+ instead of just a VEC*. Update use of SV.
+ (ada_make_symbol_completion_list): Update symbol_completion_add calls.
+
+2007-02-07 Joel Brobecker <brobecker@adacore.com>
+
+ * NEWS: Put all new commands since gdb-6.7 together.
+
+2007-02-07 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c: #include "vec.h".
+ (struct string_vector, new_string_vector, string_vector_append):
+ Delete.
+ (char_ptr): New typedef.
+ (DEF_VEC_P (char_ptr)): New VEC type.
+ (symbol_completion_add): Update profile to take the new VEC type
+ instead of the old string_vector structure. Update code accordingly.
+ (ada_make_symbol_completion_list): Use the new VEC type instead of
+ the old string_vector structure, and update the code accordingly.
+ * Makefile.in (ada-lang.o): Add dependency on vec.h.
+
+2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * p-exp.y: Set current_type in missing places.
+ (leftdiv_is_integer): New static variable.
+ Typecast right operand of BINOP_DIV to long_double if both operands
+ are integers.
+
+2008-02-06 Maciej W. Rozycki <macro@mips.com>
+
+ * remote-mips.c (set_breakpoint): Rename to...
+ (mips_set_breakpoint): ... this.
+ (clear_breakpoint): Rename to...
+ (mips_clear_breakpoint): ... this.
+ (common_breakpoint): Rename to...
+ (mips_common_breakpoint): ... this.
+ (check_lsi_error): Rename to...
+ (mips_check_lsi_error): ... this.
+
+2007-02-05 Joel Brobecker <brobecker@adacore.com>
+
+ * language.h (struct language_defn): Add new field
+ la_make_symbol_completion_list.
+ * symtab.c (default_make_symbol_completion_list): Renames
+ make_symbol_completion_list.
+ (make_symbol_completion_list): New function.
+ * symtab.h (default_make_symbol_completion_list): Add declaration.
+ * langauge.c (unknown_language): Set la_make_symbol_completion_list.
+ (auto_language, local_language): Likewise.
+ * objc-lang.c (objc_language_defn): Likewise.
+ * scm-lang.c (scm_language_defn): Likewise.
+ * m2-lang.c (m2_language_defn): Likewise.
+ * f-lang.c (f_language_defn): Likewise.
+ * jv-lang.c (java_language_defn): Likewise.
+ * p-lang.c (pascal_language_defn): Likewise.
+ * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn)
+ (minimal_language_defn): Likewise.
+ * ada-lang.c (struct string_vector): New structure.
+ (new_string_vector, string_vector_append, ada_unqualified_name)
+ (add_angle_brackets, symbol_completion_match, symbol_completion_add)
+ (ada_make_symbol_completion_list): New functions.
+ (ada_language_defn): Set la_make_symbol_completion_list.
+ * ada-lang.h (ada_make_symbol_completion_list): Remove declaration,
+ this function is static.
+
+2008-02-05 Kevin Buettner <kevinb@redhat.com>
+
+ * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
+ to account for call site optimizations.
+
+2008-02-05 Andrzej Zaborowski <balrogg@gmail.com>
+
+ * tracepoint.c (read_actions): Handle end-of-text indicator
+ in action list properly. (Committed by Jim Blandy)
+
+2008-02-05 Jim Blandy <jimb@red-bean.com>
+
+ * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
+ pseudoregister, not an internal error.
+ Reported by: Andrzej Zaborowski
+
+2008-02-04 Vladimir Prus <vladimir@codesourcery.com>
+
+ * varobj.c (c_value_of_variable): Use xstrdup.
+
+2008-02-04 Vladimir Prus <vladimir@codesourcery.com>
+
+ Update stored rendition of varobj value when format changes.
+ * varobj.c (varobj_set_display_format): Recomputed
+ print_value.
+ (c_value_of_variable): Return print_value.
+
+2008-02-03 Doug Evans <dje@google.com>
+
+ * eval.c (evaluate_subexp_standard): Fix type of result of mixed
+ integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
+ * valops.c (value_one): New function.
+ * value.h (value_one): Declare.
+
+ Fix argument promotion for binary arithmetic ops for C.
+ * valarith.c (unop_result_type): New fn.
+ (binop_result_type): New fn.
+ (value_binop): Move result type computation to binop_result_type.
+ (value_pos, value_neg, value_complement): Move result type
+ computation to unop_result_type.
+
+ PR 2384
+ * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
+ Return basetype, fieldno if found. All callers updated.
+ Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
+ objfile.
+ * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
+ * symfile.h (fill_in_vptr_fieldno): Delete.
+
+2008-02-02 Doug Evans <dje@google.com>
+
+ * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
+
+ * typeprint.c (*): Whitespace cleanup.
+
+2008-02-02 Mark Kettenis <kettenis@gnu.org>
+ Luis Machado <luisgpm@br.ibm.com>
+ Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
+ don't fit into registerson the stack the way GCC does.
+
+2008-02-01 Joel Brobecker <brobecker@adacore.com>
+
+ * symtab.c (symbol_set_names): Do not add an entry in the demangling
+ hash table for Ada symbols. Just store the linkage name as is,
+ and leave the demangled_name as NULL.
+
+2007-02-01 Joel Brobecker <brobecker@adacore.com>
+
+ * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
+ in the global scope.
+ (new_symbol): Likewise.
+
+2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
+
+ * breakpoint.c (break_command_1): Return void.
+ (break_command_really): Return void. Rethrow
+ exceptions instead of returning.
+ (gdb_breakpoint): Remove the error_message parameter.
+ Return void. Rename to set_breakpoint.
+ * gdb.h (gdb_breakpoint): Rename and move to...
+ * breakpoint.h (set_breakpoint): ...here.
+ * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
+ event hooks even if exception is thrown. Adjust to
+ gdb_breakpoint interface changes.
+
+
+2008-02-01 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
+ float in both first and second word in the doubleword, to support
+ old and new ABIs.
+
+2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
+
+ Properly rethrow exception. This fixes errors
+ about non-existent functions for -break-insert.
+ * breakpoint.c (break_command_really): Use throw_exception
+ for rethrowing. If rethrowing, don't print the exception.
+
+2008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * NEWS: Mention Decimal Floating Point support.
+
+2008-01-31 Joel Brobecker <brobecker@adacore.com>
+
+ * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
+ value type to builtin_type_void_func_ptr.
+
+2008-01-31 Andreas Krebbel <krebbel1@de.ibm.com>
+
+ * s390-tdep.c (is_float_singleton, is_float_like,
+ alignment_of, s390_return_value): Make checks for
+ TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well.
+
+2008-01-31 Luis Machado <luisgpm@br.ibm.com>
+ Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * infcmd.c (default_print_registers_info): Also print hex
+ raw contents for TYPE_CODE_DECFLOAT registers.
+ * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
+ * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
+ (rs6000_register_name): Add support for DFP pseudo-registers.
+ (rs6000_pseudo_register_type): Likewise.
+ rs6000_pseudo_register_reggroup_p): Likewise.
+ (ppc_pseudo_register_read): New function.
+ (ppc_pseudo_register_write): Likewise.
+ (rs6000_pseudo_register_read): Likewise.
+ (rs6000_pseudo_register_write): Likewise.
+ (e500_pseudo_register_read): Move checks to
+ rs6000_pseudo_register_read.
+ (e500_pseudo_register_write): Move checks to
+ rs6000_pseudo_register_write.
+ (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install
+ rs6000_pseudo_register_read and rs6000_pseudo_register_write
+ in gdbarch if SPE or DFP is available. Adjust gdbarch's
+ num_pseudo_regs to account for DFP pseudo regs.
+
+2008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
+ * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
+ (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
+ rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
+ e500_pseudo_register_read, e500_pseudo_register_write): Use
+ IS_SPE_PSEUDOREG macro.
+ (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
+ (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
+ Remove initialization of tdep->ppc_ev31_regnum.
+
+2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
+
+ * printcmd.c (print_formatted): Handle references as for unformatted
+ prints.
+
+2008-01-30 Joel Brobecker <brobecker@adacore.com>
+
+ * eval.c (evaluate_subexp_standard): Add handling of user
+ registers when in EVAL_AVOID_SIDE_EFFECTS mode.
+
+2008-01-30 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * eval.c (evaluate_subexp_standard): Support
+ BINOP_INTDIV opcode.
+
+2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
+
+ * valarith.c (value_binop): Add floating-point BINOP_MIN and
+ BINOP_MAX cases.
+ For BINOP_EXP, use length and signedness of left operand only for
+ result, as for shifts.
+ For integral operands to BINOP_EXP, use new integer_pow and
+ uinteger_pow functions so as to get full range of results.
+ (integer_pow): New function.
+ (uinteger_pow): New function.
+
+2008-01-30 Vladimir Prus <vladimir@codesourcery.com>
+
+ Use vector for varobj_list_children interface.
+ * gdb/varobj.c (varobj_list_children): Return vector
+ of varobjs.
+ * gdb/varobj.h (varobj_list_children): Adjust
+ prototype.
+ (varobj_p): Declare. Declare vector thereof.
+ * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
+ for varobj_list_children change.
+ * Makefile.in (varobj_h): Update dependencies.
+
+2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
+ TYPE_CODE_DECFLOAT arguments.
+ (ppc64_sysv_abi_push_dummy_call) Likewise.
+ (get_decimal_float_return_value): New function.
+ (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
+ values by calling get_decimal_float_return_value.
+ (ppc64_sysv_abi_return_value): Likewise.
+
+2008-01-30 Nick Roberts <nickrob@snap.net.nz>
+
+ * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field
+ for preprocessor macro information. Formatting changes.
+
+2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * remote.c (struct remote_state): Add cached_wait_status.
+ (remote_exec_file): New variable.
+ (PACKET_vAttach, PACKET_vRun): New constants.
+ (extended_remote_restart): Do not query for status.
+ (struct start_remote_args): New.
+ (remote_start_remote): Take it as a second argument. Check
+ whether the target is running. Issue an error for non-running
+ non-extended targets. Cache the wait status. Set inferior_ptid
+ here.
+ (remote_open_1): Prompt to disconnect non-running targets. Make
+ sure the target is marked running. Do not set inferior_ptid here.
+ Update call to remote_start_remote. Do not call remote_check_symbols
+ if the target is not running.
+ (remote_detach_1): Rename from remote_detach. Take an EXTENDED
+ argument. Handle a non-running target.
+ (remote_detach): Use it.
+ (extended_remote_detach): New.
+ (remote_disconnect): Fix typo. Use remoute_mourn_1.
+ (extended_remote_attach_1, extended_remote_attach)
+ (extended_async_remote_attach): New.
+ (remote_vcont_resume): Remove unused variable.
+ (remote_wait, remote_async_wait): Use any cached wait status.
+ (putpkt_binary, getpkt): Clear any cached wait status.
+ (extended_remoute_mourn_1): New.
+ (extended_remote_mourn): Use it.
+ (extended_async_remote_mourn, extended_remote_run): New.
+ (extended_remote_create_inferior_1): New.
+ (extended_remote_create_inferior): Use it.
+ (extended_remote_async_create_inferior): Likewise.
+ (remote_xfer_partial): Skip for non-executing targets.
+ (init_extended_remote_ops): Set to_detach and to_attach.
+ (init_extended_async_remote_ops): Likewise. Use
+ extended_async_remote_mourn.
+ (_initialize_remote): Register vAttach, vRun, and
+ set remote exec-file.
+ * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.
+
+2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * Makefile.in (symfile.o): Update.
+ * NEWS: Mention exec tracing support.
+ * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
+ exec events.
+ * infcmd.c (kill_if_already_running, detach_command)
+ (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
+ * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
+ (follow_exec): Do not check may_follow_exec. Do not mourn and push
+ targets. Apply the sysroot path to the loaded executable. Use
+ no_shared_libraries.
+ * linux-nat.c (linux_child_follow_fork): Print fork following
+ messages if verbose.
+ (kill_wait_callback): Kill again before waiting a second time.
+ * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
+ no_shared_libraries.
+
+2008-01-29 Joel Brobecker <brobecker@adacore.com>
+
+ * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
+
+2008-01-29 Joel Brobecker <brobecker@adacore.com>
+
+ * nto-tdep.h: Remove #include "defs.h".
+ * nto-tdep.c: Add #include "defs.h".
+ * Makefile.in (nto_tdep_h): Update dependencies.
+ (nto-tdep.o): Likewise.
+
+2008-01-29 Joel Brobecker <brobecker@adacore.com>
+
+ * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
+ and use it.
+ (proceed, start_remote): Update call to wait_for_inferior.
+ * inferior.h (wait_for_inferior): Update declaration.
+ * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
+ solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
+ * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
+ TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
+
+2008-01-29 Aleksandar Ristovski <aristovski@qnx.com>
+
+ * varobj (adjust_value_for_child_access): Added checking for
+ returned value from gdb_value_ind.
+ (c_describe_child): Likewise.
+ (cplus_describe_child): Fixed a typo.
+
+2008-01-29 Jim Blandy <jimb@red-bean.com>
+
+ * MAINTAINERS: Update my info.
+
+2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
+
+ Use multiple locations for hardware watchpoints.
+ This eliminates the need to traverse value chain, doing
+ various checks, in three different places.
+
+ * breakpoint.h (struct bp_location): New fields
+ lengths and watchpoint_type.
+ (struct breakpoint): Remove the val_chain field.
+ * breakpoint.c (is_hardware_watchpoint): New.
+ (free_valchain): Remove.
+ (update_watchpoint): New.
+ (insert_bp_location): For hardware watchpoint, just
+ directly insert it.
+ (insert_breakpoints): Call update_watchpoint_locations
+ on all watchpoints. If we have failed to insert
+ any location of a hardware watchpoint, remove all inserted
+ locations.
+ (remove_breakpoint): For hardware watchpoints, directly
+ remove location.
+ (watchpoints_triggered): Iterate over locations.
+ (bpstat_stop_status): Use only first location of
+ a resource watchpoint.
+ (delete_breakpoint): Don't call free_valchain.
+ (print_one_breakpoint): Don't print all
+ locations for watchpoints.
+ (breakpoint_re_set_one): Use update_watchpoint for
+ watchpoints.
+
2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
Don't reset watchpoint block on solib load.