* infrun.c (start_remote): Don't clear thread list here.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 265f2ae25edc09f0de309959806276839b255291..63be2c46c31d81280c7a950992df8d601ee620ee 100644 (file)
@@ -1,3 +1,123 @@
+2008-06-27  Pedro Alves  <pedro@codesourcery.com>
+
+       * infrun.c (start_remote): Don't clear thread list here.
+       * monitor.c (monitor_open): Include "gdbthread.h".  Clear thread
+       list here.
+       * remote.c (record_currthread): Upgrade the main thread and its
+       entry in the thread list if this is the first time we hear about
+       threads.
+       (remote_thread_alive): Consider magic_null_ptid or a ptid without
+       a tid member always alive.
+       (remote_find_new_threads): Don't update the main thread here.
+       (remote_start_remote): Clear thread list here.  Always add the
+       main thread.
+       (extended_remote_attach_1): Add the main thread here.
+       (extended_remote_mourn_1): Re-add the main thread here.
+       (extended_remote_create_inferior_1): Add a main thread.
+
+       * Makefile.in (monitor.o): Depend on $(gdbthread_h).
+
+2008-06-27  Pedro Alves  <pedro@codesourcery.com>
+
+       Use ptid_t.tid to store thread ids instead of ptid_t.pid.
+
+       * remote.c (magic_null_ptid, not_sent_ptid, any_thread_ptid): New
+       globals.
+       (general_thread, continue_thread): Change type to ptid_t.
+       (record_currthread): Take a ptid_t parameter instead of an
+       integer.
+       (MAGIC_NULL_PID): Delete.
+       (set_thread): Take a ptid_t parameter and adjust.
+       (set_general_thread, set_continue_thread): New.
+       (remote_thread_alive, remote_newthread_step)
+       (remote_current_thread, remote_find_new_threads)
+       (remote_threads_info, remote_start_remote, remote_vcont_resume)
+       (remote_resume_1, remote_wait, extended_remote_create_inferior_1)
+       (threadalive_test, remote_pid_to_str)
+       (remote_get_thread_local_address): Adjust.
+       (_initialize_remote): Initialize magic_null_ptid, not_sent_ptid
+       and any_thread_ptid.
+
+2008-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * configure.ac (--enable-tui): AC_MSG_ERROR for explicit --enable-tui.
+       * configure: Regenerated.
+
+2008-06-26  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2read.c (read_attribute_value): Treat size attribute
+       values of 0xffffffff as if the attribute value was zero.
+
+2008-06-26  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * linux-nat.c: Add description of overall logic.
+
+2008-06-26  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (GNULIB_H): Use GNULIB_STDINT_H.
+       (gdb_stdint_h, gdb_stdint.h, stamp-int): Delete.  Remove
+       all dependencies on $(gdb_stdint_h).
+       (distclean): Do not delete gdb_stdint.h.
+       * acinclude.m4: Do not use stdint.m4.
+       * configure.ac: Set GNULIB_STDINT_H.  Remove tests for stdint.h,
+       uintptr_t, and gdb_stdint.h.
+       * defs.h: Include <stdint.h>.
+       * gdb_thread_db.h: Assume stdint.h is already included.
+       * breakpoint.c, findcmd.c, hppa-tdep.c, inf-ptrace.c, proc-service.c,
+       rs6000-nat.c, spu-linux-nat.c, target.c, win32-nat.c: Do not
+       include gdb_stdint.h.
+       * configure, config.in: Regenerate.
+
+2008-06-26  Joseph Myers  <joseph@codesourcery.com>
+
+       * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle passing
+       decimal floating-point values in GPRs for soft-float.
+       (do_ppc_sysv_return_value): Handle returning decimal
+       floating-point values in GPRs for soft-float.
+
+2008-06-26  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * target.c (target_read_until_error): New.
+        * target.h (target_read_until_error): Declare.
+        * mi/mi-main.c (mi_cmd_data_read_memory): Use
+        target_read_until_error.
+
+2008-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix a memory leak found by Hui Zhu <teawater@gmail.com>.
+       * c-exp.y (parse_number): Move the S and SAVED_CHAR initialization
+       after the DECFLOAT detection to fix a memory leak.  Remove the
+       redundant NUM initialization.  Protect the DECFLOAT detection memory
+       access before the P block.  Restore the P memory content for the
+       DECFLOAT detection.
+
+2008-06-25  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Kill the return value for all MI command functions.
+       * mi/mi-cmds.h (enum mi_cmd_result): Remove.
+       (mi_cmd_argv_ftype): Change return type to void.
+
+       * mi/mi-main.c: Adjust all function that implement
+       MI commands to return nothing.
+       (struct captured_mi_execute_command_actions):
+       Remove the rc field.
+       (mi_cmd_execute): Return nothing.
+       (mi_execute_async_cli_command): Return nothing.
+       (mi_cmd_exec_interrupt): Don't print ^done here.
+       (mi_cmd_target_select): Don't print ^connected here.
+       (captured_mi_execute_command): Don't check for MI_CMD_DONE.
+       Special-case -target-select and output ^connected, not ^done.
+
+       * mi/mi-cmd-break.c: Adjust.
+       * mi/mi-cmd-disas.c: Adjust.
+       * mi/mi-cmd-env.c: Adjust.
+       * mi/mi-cmd-file.c: Adjust.
+       * mi/mi-cmd-stack.c: Adjust.
+       * mi/mi-cmd-target.c: Adjust.
+       * mi/mi-cmd-var.c: Adjust.
+       * mi/mi-interp.c: Adjust.
+       * mi/mi-symbol-cmds.c: Adjust.
+
 2008-06-25  Vladimir Prus  <vladimir@codesourcery.com>
 
        Emit ^running via observer.
This page took 0.02888 seconds and 4 git commands to generate.