+2008-08-08 Andreas Schwab <schwab@suse.de>
+
+ * corefile.c (_initialize_core): Remove spurious paren from set
+ gnutarget doc string.
+
+2008-08-08 Luis Machado <luisgpm@br.ibm.com>
+
+ * ppc-linux-nat.c: Include "auxv.h" and "elf/common.h".
+ Define PPC_FEATURE_BOOKE.
+ (ppc_linux_get_hwcap): New function.
+ (ppc_linux_region_ok_for_hw_watchpoint): Handle PowerPC 440
+ 4-bytes alignment restrictions.
+ (ppc_linux_insert_watchpoint): Handle PowerPC 440-specific
+ positioning of the read/write flags.
+ (ppc_linux_watchpoint_addr_within_range): Handle PowerPC 440
+ 4-bytes alignment.
+
+2008-08-08 Pedro Alves <pedro@codesourcery.com>
+
+ Use ptid_t.tid to store thread ids instead of ptid_t.pid.
+
+ * win32-nat.c (win32_add_thread): Change thread argument type to
+ ptid_t. Adjust.
+ (win32_add_thread): Adjust.
+ (win32_delete_thread): Change thread argument type to ptid_t.
+ Adjust.
+ (win32_fetch_inferior_registers, win32_store_inferior_registers)
+ (win32_resume, get_win32_debug_event, get_win32_debug_event)
+ (win32_wait, win32_pid_to_exec_file, win32_pid_to_str): Adjust.
+ (init_win32_ops): Put to_magic last.
+ (win32_win32_thread_alive): Adjust.
+
+2008-08-08 Pedro Alves <pedro@codesourcery.com>
+
+ * remote-m32r-sdi.c (m32r_thread_alive, m32r_pid_to_str): New.
+ (init_m32r_ops): Register m32r_thread_alive and m32r_pid_to_str.
+
+2008-08-08 Pedro Alves <pedro@codesourcery.com>
+
+ * remote-m32r-sdi.c: Include "gdbthread.h".
+ (remote_m32r_ptid): New.
+ (m32r_close): Delete the main thread.
+ (m32r_resume): Set inferior_ptid toA remote_m32r_ptid. Add the
+ main thread.
+ (m32r_kill, m32r_load, sdireset_command): Delete the main thread.
+ (_initialize_remote_m32r): Initialize remote_m32r_ptid.
+
+2008-08-07 Tom Tromey <tromey@redhat.com>
+ Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * aclocal.m4, configure: Rebuild.
+ * configure.in: Call ZW_CREATE_DEPDIR,
+ ZW_PROG_COMPILER_DEPENDENCIES, AC_PROG_MAKE_SET.
+ (MAKE, GMAKE): New substs.
+ * acinclude.m4: Include depstand.m4.
+ * Makefile.in (DEPMODE, DEPDIR, COMPILE.post, COMPILE.pre,
+ COMPILE, POSTCOMPILE, depcomp): New variables.
+ Remove all _h variables.
+ Remove many .o targets.
+ ($(srcdir)/copying.c): avoid backslash-newline after comment
+ sign (@maintainer_mode_true@).
+ (HFILES_NO_SRCDIR): Regenerate.
+ (generated_files): New variable.
+ (all_gdbtk_cflags): Likewise.
+ (.c.o): Rewrote.
+ (init.o, version.o, copying.o): Remove.
+ (distclean): Remove DEPDIR.
+ (test-cp-name-parser.o, hpux-thread.o, main.o, monitor.o,
+ printcmd.o, procfs.o, v850ice.o): Rewrite.
+ (cli-cmds.o, cli-decode.o, cli-dump.o, cli-interp.o, cli-logging.o,
+ cli-script.o, cli-setshow.o, cli-utils.o): Likewise.
+ (gdbtk.o, gdbtk-bp.o, gdbtk-cmds.o, gdbtk-hooks.o, gdbtk-interp.o,
+ gdbtk-main.o, gdbtk-register.o, gdbtk-stack.o, gdbtk-varobj.o,
+ gdbtk-wrapper.o): Likewise.
+ (mi-cmd-break.o, mi-cmd-disas.o, mi-cmd-env.o, mi-cmd-file.o,
+ mi-cmds.o, mi-cmd-stack.o, mi-cmd-target.o, mi-cmd-var.o,
+ mi-console.o, mi-getopt.o, mi-interp.o, mi-main.o, mi-out.o,
+ mi-parse.o, mi-symbol-cmds.o, mi-common.o, signals.o, tui.o,
+ tui-command.o, tui-data.o, tui-disasm.o, tui-file.o, tui-hooks.o,
+ tui-interp.o, tui-io.o, tui-layout.o, tui-main.o, tui-out.o,
+ tui-regs.o, tui-source.o, tui-stack.o, tui-win.o, tui-windata.o,
+ tui-wingeneral.o, tui-winsource.o): Likewise.
+ (all_object_files): New variable.
+ ($(all_object_files)): New target.
+ Include dependency files, when using GNU Make.
+
+2008-08-07 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * spu-tdep.c (info_spu_dma_cmdlist): Only show entries with
+ the valid bit set. Ensure display order respects partial
+ order defined by dependency bits.
+
+2008-08-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * solib-pa64.c (read_dld_descriptor): Return zero if load map is not
+ setup.
+
+2008-08-06 Mark Kettenis <kettenis@gnu.org>
+
+ * i386obsd-nat.c (i386obsd_supply_pcb): Adjust for changes in
+ OpenBSD 4.3.
+
+2008-08-06 Vladimir Prus <vladimir@codesourcery.com>
+ Tom Tromey <tromey@redhat.com>
+ Thiago Jung Bauermann <bauerman@br.ibm.com>
+ Doug Evans <dje@google.com>
+
+ * Makefile.in (SUBDIR_PYTHON_OBS, SUBDIR_PYTHON_SRCS,
+ SUBDIR_PYTHON_DEPS, SUBDIR_PYTHON_LDFLAGS, SUBDIR_PYTHON_CFLAGS,
+ PYTHON_CFLAGS): New.
+ (python_h, python_internal_h): New.
+ (cli-script.o): Depend on python.h
+ (python.o, python-utils.o): New.
+ * cli/cli-script.c (print_command_lines): Handle python_control.
+ (execute_control_command): Handle python_control.
+ (execute_control_command_untraced): New function.
+ (while_command): Call execute_control_command_untraced.
+ (if_command): Likewise.
+ (get_command_line): Remove static attribute.
+ (read_next_line): Handle "python".
+ (recurse_read_control_structure): Handle python_control.
+ (read_command_lines): Handle python_control.
+ Include python.h.
+ * cli/cli-script.h (get_command_line): Add prototype.
+ (execute_control_command_untraced): Likewise.
+ * configure.ac: Add --with-python.
+ * defs.h (enum command_control_type) <python_control>: New
+ constant.
+ * python/python-internal.h: New file.
+ * python/python.c: New file.
+ * python/python.h: New file.
+ * python/python-utils.c: New file.
+ * NEWS: Mention Python scripting support and its new commands.
+
+2008-08-06 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * spu-tdep.c (spu_gdbarch_init): Call set_gdbarch_frame_red_zone_size.
+
+2008-08-06 Phil Muldoon <pmuldoon@redhat.com>
+
+ * MAINTAINERS (Write After Approval): Add self.
+
+2008-08-06 Phil Muldoon <pmuldoon@redhat.com>
+
+ * breakpoint.c (hw_breakpoint_used_count): Use breakpoint_enabled.
+ (insert_breakpoint_locations): Likewise.
+
+2008-08-05 Phil Muldoon <pmuldoon@redhat.com>
+
+ * breakpoint.c (create_longjmp_breakpoint): Remove unused struct
+ breakpoint.
+ (set_longjmp_breakpoint): Likewise.
+
+2008-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR build/2490
+ * solib-pa64.c: Only compile if both HAVE_ELF_HP_H and __LP64__ are
+ defined.
+
+2008-08-05 Tom Tromey <tromey@redhat.com>
+
+ * bcache.c (deprecated_bcache_added): Initialize obstack.
+ (bcache_xmalloc): Don't initialize obstack.
+ (bcache_xfree): Conditionally free obstack.
+ (bcache_memory_used): Update.
+
+2008-08-05 Tom Tromey <tromey@redhat.com>
+
+ * symfile.c (add_psymbol_to_bcache): Return a const pointer. Use
+ bcache_full.
+ (append_psymbol_to_list): Accept a const pointer.
+ (add_psymbol_to_list): Fix const correctness.
+ * bcache.h: (deprecated_bcache_added, deprecated_bcache): Remove.
+ (bcache_full): Declare.
+ * bcache.c (bcache_data, deprecated_bcache): Remove.
+ (bcache): Use bcache_full.
+ (bcache_full): Rename from deprecated_bcache_added. Change return
+ type.
+
+2008-08-04 Stan Shebs <stan@codesourcery.com>
+
+ * solib-svr4.c (BKPT_AT_SYMBOL): Remove, always defined.
+ (bkpt_names): Remove SOLIB_BKPT_NAME, never defined.
+ (enable_break): Remove test of BKPT_AT_SYMBOL.
+
+2008-08-02 Keith Seitz <keiths@redhat.com>
+
+ * acinclude.m4: Include ../config/tcl.m4 to pick up
+ standard Tcl configury bits.
+ Remove all Tcl, Tk, Itcl, Itk, etc definitions.
+ * configure.ac: Don't check if ../itcl exists when building
+ gdbtk. It could be installed.
+ Rewrite gdbtk configury to allow for using system-supplied
+ Tcl and Tk. Gdbtk no longer requires build-time access to
+ itcl and itk.
+ * Makefile.in: Remove everything related to itcl and itk.
+ Rewrite the Tcl bits for gdbtk to correspond to rewrite of
+ configure.ac.
+ Remove v850ice.o build rule.
+ (ALL_TCL_CFLAGS): New convenience defintion. Change all
+ gdbtk sources to use it.
+ * configure: Regenerate.
+
+2008-07-31 Stan Shebs <stan@codesourcery.com>
+
+ * coffread.c (coff_symtab_read): Remove FUNCTION_EPILOGUE_SIZE.
+
+2008-07-30 Stan Shebs <stan@codesourcery.com>
+
+ * objfiles.c (TARGET_KEEP_SECTION): Remove.
+ (add_to_objfile_sections): Remove use.
+
+2008-07-29 Tom Tromey <tromey@redhat.com>
+
+ * cli/cli-decode.c (lookup_cmd_1): Use memcpy.
+ (lookup_cmd_composition): Likewise.
+
+2008-07-29 Tom Tromey <tromey@redhat.com>
+
+ * cli/cli-cmds.c (edit_command): Remove unused variables. Delete
+ dead code. Fix indentation.
+
+2008-07-29 Stan Shebs <stan@codesourcery.com>
+
+ * main.c (captured_main): Remove long-unused #if 0 blocks.
+
+2008-07-28 Tom Tromey <tromey@redhat.com>
+
+ * annotate.h (deprecated_annotate_starting_hook): Remove.
+ (deprecated_annotate_stopped_hook): Remove.
+ (deprecated_annotate_exited_hook): Remove.
+ * Makefile.in (annotate.o): Depend on observer_h.
+ * top.c (deprecated_delete_breakpoint_hook): Remove.
+ (deprecated_create_breakpoint_hook): Likewise.
+ (deprecated_modify_breakpoint_hook): Likewise.
+ * interps.c (clear_interpreter_hooks): Update for removed hooks.
+ * breakpoint.c (mention): Don't call removed hook.
+ (delete_breakpoint): Likewise.
+ (disable_breakpoint): Likewise.
+ (do_enable_breakpoint): Likewise.
+ * annotate.c: Include observer.h.
+ (breakpoint_changed): Change type of argument.
+ (_initialize_annotate): Register observers.
+ (deprecated_annotate_starting_hook): Remove.
+ (deprecated_annotate_stopped_hook): Remove.
+ (deprecated_annotate_exited_hook): Remove.
+ (annotate_starting): Update for hook removal.
+ (annotate_stopped): Likewise.
+ (annotate_exited): Likewise.
+ * defs.h (deprecated_delete_breakpoint_hook): Remove.
+ (deprecated_create_breakpoint_hook): Likewise.
+ (deprecated_modify_breakpoint_hook): Likewise.
+
+2008-07-28 Tom Tromey <tromey@redhat.com>
+
+ * main.c (captured_main): Don't use BEFORE_MAIN_LOOP_HOOK.
+
+2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * configure.ac: Check for the GNU/Linux ptrace signature.
+ * configure: Regenerated.
+
+2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * linux-nat.c (resume_callback): Add more debugging output.
+ (linux_nat_has_pending_sigint): New function, based on
+ linux_nat_has_pending.
+ (set_ignore_sigint, maybe_clear_ignore_sigint): New functions.
+ (stop_wait_callback): Remove flush_mask handling. Honor
+ ignore_sigint. Call maybe_clear_ignore_sigint. Pass NULL
+ to recursive calls.
+ (linux_nat_has_pending, flush_callback): Remove.
+ (linux_nat_filter_event): Check for ignore_sigint.
+ (linux_nat_wait): Remove flush_mask support and call to
+ flush_callback. Use set_ignore_sigint and maybe_clear_ignore_sigint.
+ * linux-nat.h (struct lwp_info): Add ignore_sigint field.
+
+2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * linux-nat.c (count_events_callback, select_event_lwp_callback): Only
+ report events from resumed threads.
+
+2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * mips-linux-tdep.c (mips_linux_syscall_next_pc): New function.
+ (mips_linux_init_abi): Set tdep->syscall_next_pc.
+ * mips-tdep.c (enum mips_fpu_type, struct gdbarch_tdep): Move to
+ mips-tdep.h.
+ (mips32_next_pc): Handle the syscall instruction.
+ * mips-tdep.h (enum mips_fpu_type, struct gdbarch_tdep): New,
+ from mips-tdep.c. Add syscall_next_pc to gdbarch_tdep.
+
+2008-07-26 Tom Tromey <tromey@redhat.com>
+
+ PR gdb/1158:
+ * valops.c (value_struct_elt): Treat function-valued field as a
+ static method.
+
+2008-07-26 Tom Tromey <tromey@redhat.com>
+
+ PR gdb/1136:
+ * macroexp.c (get_punctuator) <punctuators>: Rearrange to put
+ longer tokens first.
+
+2008-07-26 Vladimir Prus <vladimir@codesourcery.com>
+
+ Kill cmd_async_ok.
+ * cli/cli-decode.h (CMD_ASYNC_OK, set_cmd_async_ok)
+ (get_cmd_async_ok): Remove.
+ * cli/cli-decode.c (set_cmd_async_ok, get_cmd_async_ok): Remove.
+ * cli/cli-cmds.c (init_cli_cmds): Don't use set_cmd_async_ok.
+ * infcmd.c (_initialize_infcmd): Likewise.
+ * thread.c (_initialize_thread): Likewise.
+
+2008-07-25 Joseph Myers <joseph@codesourcery.com>
+
+ * mips-tdep.c (mips_n32n64_push_dummy_call): Handle passing
+ 128-bit long doubles in even-odd pairs of FPRs. Do not
+ right-align float arguments for big-endian.
+ (mips_n32n64_return_value): Apply return value convention for
+ structs containing one or two floating-point values to soft-float
+ as well as hard-float. Handle 128-bit long doubles in such
+ structs.
+ (mips_o32_push_dummy_call): Only skip one integer register for a
+ float argument passed in an FPR.
+
+2008-07-25 Tom Tromey <tromey@redhat.com>
+
+ * tui/tui-hooks.c: Include observer.h.
+ (tui_event_default, tui_old_event_hooks, tui_event_hooks):
+ Remove.
+ (tui_bp_created_observer, tui_bp_deleted_observer,
+ tui_bp_modified_observer): New globals.
+ (tui_install_hooks): Use observers, not events.
+ (tui_remove_hooks): Likewise.
+ * mi/mi-cmd-break.c: Include observer.h, not gdb-events.h.
+ (mi_breakpoint_observers_installed, mi_can_breakpoint_notify): New
+ globals.
+ (breakpoint_notify): Check mi_can_breakpoint_notify.
+ (breakpoint_hooks): Remove.
+ (mi_cmd_break_insert): Attach observers. Don't use events.
+ * tracepoint.c: Include observer.h, not gdb-events.h.
+ (tracepoint_operation, trace_pass_command): Notify observer.
+ * interps.c: Don't include gdb-events.h.
+ (clear_interpreter_hooks): Don't call clear_gdb_event_hooks.
+ * gdbarch.c: Rebuild.
+ * gdbarch.sh: Emit include for observer.h, not gdb-events.h.
+ (deprecated_current_gdbarch_select_hack): Notify observer.
+ * breakpoint.h: Don't include gdb-events.h.
+ * breakpoint.c: Don't include gdb-events.h.
+ (condition_command): Notify observer.
+ (commands_command): Likewise.
+ (commands_from_control_command): Likewise.
+ (mention, delete_breakpoint, set_ignore_count): Likewise.
+ (disable_breakpoint, do_enable_breakpoint): Likewise.
+ * Makefile.in (gdb_events_h): Remove.
+ (breakpoint_h): Update.
+ (COMMON_OBS): Remove gdb-events.o.
+ (gdb-events.o): Remove.
+ (breakpoint.o, gdbarch.o, interps.o, tracepoint.o, gdbtk-bp.o,
+ gdbtk-hooks.o, mi-cmd-break.o, tui-hooks.o): Update.
+ * gdb-events.c: Remove.
+ * gdb-events.h: Remove.
+ * gdb-events.sh: Remove.
+
+2008-07-24 Pedro Alves <pedro@codesourcery.com>
+
+ * remote.c (remote_threads_extra_info): Don't query the remote
+ server about info on the internally added main thread.
+
+2008-07-24 Aleksandar Ristovski <aristovski@qnx.com>
+
+ * nto-procfs.c (procfs_attach): Populate initial thread list.
+ (procfs_wait): Return new pid, built from the inferior status.
+
+2008-07-23 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * configure.ac (CONFIG_INITS): Delete long obsoleted variable.
+ * configure: Regenerate.
+
+2008-07-23 Aleksandar Ristovski <aristovski@qnx.com>
+
+ * nto-procfs.c (procfs_xfer_memory): Changed signature.
+ (procfs_resume): Workaround for dereferencing type-punned pointer
+ warning.
+ * nto-tdep.c (nto_parse_redirection): Change signature to be const
+ correct.
+ * nto-tdep.h (nto_parse_redirection): Likewise.
+
+2008-07-21 Stan Shebs <stan@codesourcery.com>
+
+ Scrub remnants of IN_SOLIB_DYNSYM_RESOLVE_CODE.
+ * gdbarch.sh: Adjust comment to refer to
+ in_solib_dynsym_resolve_code().
+ * gdbarch.h, gdbarch.c: Update.
+ * solib-osf.c: Ditto.
+ * infrun.c: Ditto.
+ (handle_inferior_event): Use in_solib_dynsym_resolve_code
+ unconditionally.
+ * config/mips/nm-irix5.h: Remove undef of
+ IN_SOLIB_DYNSYM_RESOLVE_CODE.
+
+2008-07-21 Tom Tromey <tromey@redhat.com>
+
+ * symfile.c (reread_symbols): Don't pass argument to observer.
+ * exec.c (exec_file_attach): Don't pass argument to observer.
+ * ada-lang.c (ada_executable_changed_observer): Remove argument.
+ * symtab.c (symtab_observer_executable_changed): Remove argument.
+ * observer.sh: Handle functions with no arguments.
+
+2008-07-20 Sergei Poselenov <sposelenov@emcraft.com>
+ Chris Demetriou <cgd@google.com>
+
+ * elfread.c (elf_symfile_segments): Fix the check that each loadable
+ section fits within an ELF segment to handle ELF segments that hit
+ the end of the address space.
+
2008-07-20 Chris Demetriou <cgd@google.com>
* MAINTAINERS (Write After Approval): Add self.