* remote.c (remote_detach_1): Don't delete the inferior here.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a0f27153b4261a4f331b67caee2ba939038da8bf..33a32b653ff4cee23b60d456154b2d97571941c0 100644 (file)
@@ -1,3 +1,109 @@
+2008-12-12  Pedro Alves  <pedro@codesourcery.com>
+
+       * remote.c (remote_detach_1): Don't delete the inferior here.
+       (process_stop_reply): Ditto.
+       (extended_remote_kill): Ditto.
+
+2008-12-12  Pedro Alves  <pedro@codesourcery.com>
+
+       * remote.c (read_ptid): If we don't know about any inferior yet,
+       use the pid of magic_null_ptid.
+       (remote_start_remote): In the non-stop mode case, don't set
+       inferior_ptid to magic_null_ptid here.
+
+2008-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
+           Pedro Alves  <pedro@codesourcery.com>
+
+       * infcmd.c (step_1): Use step_once in the synchronous case too.
+       (step_1_continuation): Wrap line.
+       (step_once): Adjust comment.  Only install the continuation in
+       async mode.
+
+2008-12-11  Pedro Alves  <pedro@codesourcery.com>
+
+       * infrun.c (handle_inferior_event): On a TARGET_WAITKIND_EXITED or
+       TARGET_WAITKIND_SIGNALLED, switch inferior_ptid to the event ptid.
+       * linux_thread_db.c (thread_db_wait): On a TARGET_WAITKIND_EXITED
+       or TARGET_WAITKIND_SIGNALLED, return the ptid the beneath target
+       returned.
+       * inf-ptrace.c (inf_ptrace_wait): Return inferior_ptid instead of
+       minus_one_ptid if the inferior disappeared.
+       * rs6000-nat.c (rs6000_wait): Likewise.
+       * spu-linux-nat.c (spu_child_wait): Likewise.
+
+2008-12-11  Tom Tromey  <tromey@redhat.com>
+
+       PR macros/2564:
+       * c-exp.y (macro_original_text, expansion_obstack,
+       expression_macro_scope): New globals.
+       (scan_macro_expansion): New function.
+       (scanning_macro_expansion): Likewise.
+       (finished_macro_expansion): Likewise.
+       (scan_macro_cleanup): Likewise.
+       (c_parse): Find macro scope.  Initialize obstack.
+       * c-lang.h (scan_macro_expansion, scanning_macro_expansion,
+       finished_macro_expansion, expression_macro_lookup_func,
+       expression_macro_lookup_baton): Remove.
+       * c-lang.c (scan_macro_expansion, scanning_macro_expansion,
+       finished_macro_expansion, expression_macro_lookup_func,
+       expression_macro_lookup_baton): Remove.
+       (macro_original_text, macro_expanded_text,
+       c_preprocess_and_parse): Remove.
+       (c_language_defn, cplus_language_defn, asm_language_defn,
+       minimal_language_defn): Use c_parse.
+
+2008-12-10  Pedro Alves  <pedro@codesourcery.com>
+
+       * infcmd.c (until_next_command, finish_backward): Use get_frame_pc
+       instead of read_pc.
+
+2008-12-09  Tom Tromey  <tromey@redhat.com>
+
+       PR gdb/1815:
+       * cli/cli-decode.c (delete_cmd): Forward declare.
+       (delete_cmd): Now static.  Change return type.  Remove command
+       from alias chain.  Rewrite.
+       (add_cmd): Initialize new fields.  Update cmd_pointer on all
+       aliases.
+       (add_alias_cmd): Put command on alias chain.
+       * command.h (delete_cmd): Don't declare.
+       * cli/cli-decode.h (delete_cmd): Don't declare.
+       (struct cmd_list_element) <aliases, alias_chain>: New fields.
+
+2008-12-09  Tom Tromey  <tromey@redhat.com>
+
+       * config.in, configure: Rebuild.
+       * configure.ac: Check for locale.h, setlocale.  Call
+       AM_LC_MESSAGES.
+       * acinclude.m4: Include lcmessage.m4.
+
+2008-12-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * remote.c (remote_parse_stop_reply): Use REG only after its NULL check.
+
+2008-12-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * python/python-value.c (values_in_python): Add specific initialization
+       to NULL to work-around a MacOS linker bug.
+
+2008-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix loc_type of `bp_location's created by update_watchpoint.
+       * breakpoint.c (allocate_bp_location): Remove the bp_type parameter.
+       Replace bp_type by bpt->type.  Update prototype.  All callers updated.
+       (add_location_to_breakpoint):  Remove the bp_type parameter.
+       Replace bp_type by b->type.  All callers updated.
+       (set_breakpoint_location_function): Replace bptype by b->type.
+
+2008-12-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * breakpoint.c (update_global_location_list): Fix the comment.
+
+2008-12-05  Pedro Alves  <pedro@codesourcery.com>
+
+       * infcmd.c (step_1, step_once): Look up the stepping range based
+       on the current frame's PC, not on stop_pc.
+
 2008-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Fix compilation on 32-bit host configurations.
This page took 0.026335 seconds and 4 git commands to generate.