+2008-03-14 Vladimir Prus <vladimir@codesourcery.com>
+
+ Implement MI notification for new threads.
+ * doc/observer.texi (new_thread): Document.
+ * observer.sh: Forward declare struct thread_info.
+ * thread.c (add_thread): Notify observer.
+
+ * interps.h (interp_init_ftype): New parameter
+ top_level.
+ (interp_set): Likewise.
+ (top_level_interpreter_data): Declare.
+ * interps.c (interp_set): New parameter top_level.
+ Pass it to interpreter's init function. Remember
+ top level interpreter.
+ (interpreter_exec_cmd): Adjust.
+ (top_level_interpreter_data): New.
+ * main.c (captured_main): Pass 1 for top_level
+ parameter of interp_set.
+ * cli/cli-interp.c (cli_interpreter_init): New
+ parameter top_level.
+ * tui/tui-interp.c (tui_init): New parameter top_level.
+
+ * mi/mi-interp.c (mi_new_thread): New.
+ (mi_interpreter_init): If top level, register
+ observer for new threads.
+
+ * Makefile.in (mi-interp.o, thread.o): Update dependencies.
+
+2008-03-14 Pedro Alves <pedro@codesourcery.com>
+
+ * top.c (execute_command): Disable break and stop
+ commands in async mode.
+
+2008-03-14 Pedro Alves <pedro@codesourcery.com>
+
+ revert:
+ 2008-03-14 Pedro Alves <pedro@codesourcery.com>
+ * inf-loop.c (inferior_event_handler): Don't include remote.h.
+ Call target_stop in the INF_QUIT_REQ case.
+ * Makefile.in (inf-loop.o): Update.
+
+2008-03-14 Pedro Alves <pedro@codesourcery.com>
+
+ * inf-loop.c (inferior_event_handler): Don't include remote.h.
+ Call target_stop in the INF_QUIT_REQ case.
+ * Makefile.in (inf-loop.o): Update.
+
+2008-03-14 Pedro Alves <pedro@codesourcery.com>
+
+ * top.c (execute_command): Enable break, info and interrupt
+ commands in async mode.
+
+2008-03-13 Vladimir Prus <vladimir@codesourcery.com>
+ Daniel Jacobowitz <dan@codesourcery.com>
+
+ * breakpoint.h (breakpoint_restore_shadows): New
+ declaration.
+ * breakpoint.c (breakpoint_restore_shadows): New.
+ (read_memory_nobpt): Delete.
+ * gdbcore.h (read_memory_nobpt): Delete declaration.
+ * target.c (memory_xfer_partial): Call
+ breakpoint_restore_shadows.
+ (restore_show_memory_breakpoints)
+ (make_show_memory_beakpoints_cleanup): New.
+ (show_memory_breakpoints): New.
+ * target.h (make_show_memory_beakpoints_cleanup): Declare.
+ * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint):
+ Make sure we see memory breakpoints when checking if
+ breakpoint is still there.
+ * alpha-tdep.c, alphanbsd-tdep.c, frame.c, frv-tdep.c,
+ hppa-linux-tdep.c, hppa-tdep.c, i386-linux-nat.c, i386-tdep.c,
+ m68klinux-tdep.c, mips-tdep.c, mn10300-tdep.c, s390-tdep.c,
+ sparc-tdep.c: Use target_read_memory instead of read_memory_nobpt.
+
+2008-03-12 Pedro Alves <pedro@codesourcery.com>
+
+ * thread.c (add_thread): Use printf_unfiltered to print.
+
+2008-03-12 Joel Brobecker <brobecker@gnat.com>
+
+ * sol-thread.c: Replace use of TM_I386SOL2_H by an expression
+ that is true only on x86-solaris and x86_64-solaris.
+ * procfs.c: Likewise. Move procfs_find_LDT_entry up together
+ with proc_get_LDT_entry.
+
+2008-03-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * configure.ac (AC_CHECK_FUNCS): Add check for setsid.
+ * config.in, configure: Regenerate.
+ * fork-child.c (fork_inferior): Call create_tty_session.
+ * inflow.c (new_tty): Set controlling terminal with TIOCSCTTY.
+ (create_tty_session): New function.
+ * terminal.h: Declare create_tty_session.
+
+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