summaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* 2002-11-05 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-051-0/+4
| | | | * defs.h (selected_frame_level_changed_hook): Removed.
* 2002-11-05 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-051-0/+4
| | | | * event-top.c: Reorg some code, to minimize diffs with mainline.
* 2002-11-05 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-051-0/+5
| | | | | * Makefile.in (event-loop.o): Remove dependency on interps.h. * event-loop.c: Remove include of interps.h.
* merge from mainlineElena Zannoni2002-11-051-1/+12
|
* 2002-11-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-041-0/+5
| | | | | | | | | | | | * interps.h (clear_interpreter_hooks): Add 'extern' keyword. 2002-11-04 Elena Zannoni <ezannoni@redhat.com> * mi.h: Clean up interface, removing unnecessarily exported functions and data structures. * mi-events.c (mi_event_handlers): Move here... * mi-interps.c: .. from here. Include gdb_string.h.
* 2002-11-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-041-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cli/cli-interp.c (_initialize_cli_interp): Call gdb_interpreter_new and gdb_interpreter_add. * top.c (gdb_init): Call gdb_interpreter_lookup. (gdb_init): Call gdb_interpreter_set. * interps.c (gdb_interpreter_new): Renamed from gdb_new_interpreter. (gdb_interpreter_add): Renamed from gdb_add_interpreter. (gdb_interpreter_set): Renamed from gdb_set_interpreter. (gdb_interpreter_lookup): Renamed from gdb_lookup_interpreter. (gdb_interpreter_current): Renamed from gdb_current_interpreter. Update all callers. * interps.h: Ditto. 2002-11-04 Elena Zannoni <ezannoni@redhat.com> * mi-interp.c (mi_interpreter_resume): Ditto. (mi_cmd_interpreter_exec): Use gdb_interpreter_lookup. (_initialize_mi_interp): Use gdb_interpreter_new, gdb_interpreter_add. * mi-cmd-break.c (mi_cmd_break_insert): Use gdb_interpreter_current_is_named_p. (mi_cmd_break_watch): Ditto. * mi-events.c (mi_interp_stack_changed_hook): Ditto. (event_notify): Ditto. * mi-main.c (captured_mi_execute_command): Use gdb_interpreter_current_is_named_p. (mi_load_progress): Ditto.
* 2002-11-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-041-0/+13
| | | | | | | | | | * interps.h (gdb_interpreter_is_quiet_p): Rename from gdb_interpreter_is_quiet. * cli/cli-interp.c (cli_interpreter_display_prompt_p): Call gdb_interpreter_is_quiet_p. * interps.c (gdb_interpreter_is_quiet_p): Rename from gdb_interpreter_is_quiet. (gdb_set_interpreter): Call gdb_interpreter_is_quiet_p.
* 2002-11-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-041-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | * event-top.c (display_gdb_prompt): Use gdb_interpreter_display_prompt_p. * cli/cli-interp.c (cli_interpreter_display_prompt_p): Rename from cli_interpreter_display_prompt and rewrite. (_initialize_cli_interp): New proc name is cli_interpreter_display_prompt_p. * interps.c (gdb_new_interpreter): Initialize prompt_proc_p instead of prompt_proc. (gdb_interpreter_display_prompt_p): Rewrite as a predicate. * interps.h (interp_prompt_ftype): Update typedef. (struct gdb_interpreter_procs): Rename prompt_proc to prompt_proc_p. (gdb_interpreter_display_prompt_p): Export this instead of old function. 2002-11-04 Elena Zannoni <ezannoni@redhat.com> * mi-interp.c (_initialize_mi_interp): Use mi_interpreter_prompt_p instead of mi_interpreter_prompt. (mi_interpreter_prompt_p): Rename from mi_interpreter_prompt and rewrite.
* 2002-11-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-041-0/+6
| | | | | | * interps.c (list_interpreter_cmd, do_set_interpreter): Remove useless prototypes. Update a few comments, remove gratuitous blank lines.
* 2002-11-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-041-0/+12
| | | | | | | | | | | | | | | | | * cli/cli-interp.c (cli_interpreter_delete): Delete. (_initialize_cli_interp): Remove delete_proc. * interps.h (struct gdb_interpreter_procs): Remove delete_proc. (interp_delete_ftype): Delete. (gdb_delete_interpreter): Remove. * interps.c (gdb_delete_interpreter): Remove. (gdb_new_interpreter): Don't initialize delete_proc. 2002-11-04 Elena Zannoni <ezannoni@redhat.com> * mi-interp.c mi_interpreter_delete): Remove. (_initialize_mi_interp): Remove mi_interpreter_delete.
* 2002-11-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-041-0/+5
| | | | * interps.c (set_interpreter_cmd): Remove.
* 2002-11-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-041-0/+5
| | | | | * interps.c (interpreter_completer): Initialize alloced. (struct gdb_interpreter): Reformat.
* 2002-11-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-041-0/+11
| | | | | | | | | | | | | | | * interps.h (struct gdb_interpreter_procs): Remove do_one_event_proc. (interp_do_one_event_ftype): Delete. * interps.c (gdb_new_interpreter): Remove setup of do_one_event procedure. (interpreter_do_one_event): Delete. * event-loop.c (start_event_loop): Remove no-op call to interpreter_do_one_event. * cli/cli-interps.c: (cli_interpreter_do_one_event): Delete. 2002-11-04 Elena Zannoni <ezannoni@redhat.com> * mi-interp.c (mi_interpreter_do_one_event): Remove.
* 2002-11-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-041-0/+5
| | | | | * Makefile.in (mi-main.o, mi-cmd-break.o, event-loop.o): Update dependencies on interps.h.
* 2002-11-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-041-0/+5
| | | | | | | | | | | | | * interps.h (GDB_INTERPRETER_MI2): Define. (GDB_INTERPRETER_MI0): Remove. 2002-11-04 Elena Zannoni <ezannoni@redhat.com> * mi-interp.c: Increment mi version numbers: 0->1, 1->2, and 2->3. Remove MI0 references. * mi-events.c: Ditto. * mi-main.c: Ditto. Remove erroneously merged code. * mi.h: Ditto.
* merge from mainlineElena Zannoni2002-11-041-10/+820
|
* * interps.c (list_interpreter_cmd): Removed.Keith Seitz2002-10-011-0/+1
|
* * interps.c (interpreter_exec_cmd): Remove mention of "mi" inKeith Seitz2002-10-011-0/+12
| | | | | | | | | | | error message. * cli/cli-interp.c (do_captured_execute_command): New function. (safe_execute_command): New function. * Makefile.in (cli-interp.c): Depend on top_h. * wrapper.c (do_captured_execute_command): Moved to cli/cli-interp.c. (gdb_execute_command): Removed. * wrapper.h (gdb_execute_command): Removed.
* Merge with kseitz_interps-20020930-merge.Keith Seitz2002-10-011-0/+950
|
* * thread.c (do_captured_list_thread_ids): Call prune_threadsKeith Seitz2002-09-041-0/+5
| | | | and target_find_new_threads.
* Merge with kseitz_interps-20020829-merge tag from trunk.Keith Seitz2002-08-301-395/+1288
|
* * gdb-events.sh (context_changed): Rename to selected_thread_changedKeith Seitz2002-08-291-0/+8
| | | | | | | to parallel selected_frame_level_changed. * thread.c (do_captured_thread_select): Ditto. * gdb-events.c: Regenerate. * gdb-events.h: Regenerate.
* * interps.c (interpreter_exec_cmd): Temporarily setKeith Seitz2002-08-281-0/+6
| | | | | current interpreter to quiet, too, so that we don't get too many prompts when switching interpreters.
* * thread.c (do_captured_thread_select): Add context-changedKeith Seitz2002-08-281-0/+10
| | | | | | | | | notification. * infrun.c (handle_inferior_event): Remove context-changed notification. The stop result already has this information. * thread.c (do_captured_list_thread_ids): Use ui_out_list_begin/end instead of ui_out_tuple_begin/end.
* Update with patch that went into mainline.Keith Seitz2002-08-221-0/+7
| | | | | | | * breakpoint.c (internal_breakpoint_number): Revert 2002-06-18 change. (create_internal_breakpoint): Likewise. (watch_command_1): Use create_internal_breakpoint to create the watchpoint scope breakpoint.
* Make same as CVS HEAD.Keith Seitz2002-08-211-0/+8
| | | | | | | | * gdb-events.sh: Replace register_update with target-changed event. * gdb-events.c: Regenerated. * gdb-events.c: Regenerated. * valops.c (value_assign): Use target_changed_event instead of register_update_event and memory_changed.
* * stack.c (select_frame_command): Send selected-frame-level-changedKeith Seitz2002-08-191-0/+11
| | | | | | | | | | event notification, but only if the level actually changed. (up_silently_base): Add selected-frame-level-changed event notification. (down_silently_base): Likewise. (frame_command): Revert 2002-07-25 changes. (up_command): Likewise. (down_command): Likewise.
* * interps.c (_initialize_interpreter): Remove ability to setKeith Seitz2002-08-131-0/+6
| | | | | the interpreter. This could really undermine MI clients. * top.c (catcher): Don't worry about interpreter changes.
* * interps.c (_initialize_interpreter): Add completer functionKeith Seitz2002-08-121-0/+5
| | | | to "set interpreter" command.
* * interps.c: Run through gdb_indent.shKeith Seitz2002-08-121-0/+5
| | | | * interps.h: Ditto.
* * infrun.c (handle_inferior_event): Add context_changed_event.Keith Seitz2002-08-091-14/+8
| | | | | | | * gdb-events.sh (context_hook): Removed comment. (context_changed): Add new event. * gdb-events.c: Regenerate. * gdb-events.h: Regenerate.
* Merge with kseitz_interps-20020809-merge of CVS head.Keith Seitz2002-08-091-0/+757
|
* * stack.c (frame_command): If the frame level changed, issueKeith Seitz2002-07-251-0/+17
| | | | | | | | | | | | | | | | a selected_frame_level_changed event. (up_command): Add selected_frame_level_changed event; (down_command): Likewise. * gdb-events.sh: Add selected_frame_level_changed event. * gdb-events.c: Regenerate. * gdb-events.h: Regenerate. * stack.c (print_frame_info_base): Always set current_source_symtab and current_source_line. * cli/cli-interp.c (cli_interpreter_exec): Pass from_tty=1 to gdb_execute_command.
* Correct date of checkin for valops.cKeith Seitz2002-07-221-1/+1
|
* * gdb-events.sh (register_changed_hook): Remove comment.Keith Seitz2002-07-221-0/+12
| | | | | | (register_update): New event. * gdb-events.c: Regenerated. * gdb-events.h: Regenerated.
* Merge w/trunk (kseitz_interps-20020722-merge).Keith Seitz2002-07-221-1/+1255
|
* * Makefile.in (interps.o): Add gdb-events.h as a dependency.Keith Seitz2002-06-241-0/+21
| | | | | | | | | | | | | | | | | | | * gdb-events.sh (clear_gdb_event_hooks): New function. * gdb-events.c: Regenerate. * gdb-events.h: Regenerate. * cli-out.h (cli_out_set_stream): New function. * cli-out.c (cli_out_set_stream): New function. * interps.c: Include gdb-events.h. (clear_interpreter_hooks): Also clear out event handlers. (gdb_set_interpreter): Clear out any hooks/event handlers that may have been installed by old interpreter. * cli/cli-interp.c (cli_interpreter_exec): Set the stream for the cli's uiout to gdb_stdout, which has probably changed from it's initialization. Restore the original stream when we're done executing in the interpreter.
* Merge with mainline, kseitz_interps-20020619-merge.Keith Seitz2002-06-201-0/+1249
|
* * breakpoint.c (internal_breakpoint_number): Make static global.Keith Seitz2002-06-191-0/+23
| | | | | | | | | | | | | | | | | | | | | | (condition_command): Add modify breakpoint event notification. (commands_command): Likewise. (create_internal_breakpoint): internal_breakpoint_number is now global. Add create breakpoint event notification. (create_fork_vfork_event_catchpoint): Likewise. (create_exec_event_catchpoint): Likewise. (mention): Remove FIXME and create breakpoint event. (create_breakpoints): Add create breakpoint event notification. (watch_command_1): Likewise. (create_exception_catchpoint): Likewise. (set_breakpoint_sal): Likewise. (set_ignore_count): Add modify breakopint event notification. * interps.h: Add GDB_INTERPRETER_MI1. GDB_INTERPRETER_MI will now be mi version 2. * cli/cli-interp.c (cli_uiout): Make static. (cli_interp): Make static. (cli_interpreter_exec): Use cli_uiout instead of uiout.
* Initial check-in of interpreter support from Apple. (Slightly massaged andKeith Seitz2002-05-281-0/+46
| | | | modified by me.)
* * ppcnbsd-nat.c: Rewrite.Jason Thorpe2002-05-281-0/+10
| | | | | | | | | * ppcnbsd-tdep.c: New file. * ppcnbsd-tdep.h: New file. * config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o, solib.o, and solib-svr4.o. * config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o, nbsd-tdep.o, and corelow.o.
* * MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to useAndrew Cagney2002-05-281-0/+6
| | | | | `tr' and `sed'. Mention that `broken' targets are not expected to build.
* Fixed date in my last ChangeLog entryMichal Ludvig2002-05-271-1/+1
|
* 2002-05-24 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2002-05-271-6/+5
| | | | | * x86-64-tdep.c (x86_64_skip_prologue): Remove obsolete note. Let PC point right after the prologue before looking up symbols.
* 2002-05-27 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-05-271-0/+19
| | | | | | | | | | | | | * i386-tdep.c (i386_register_virtual_type): Return builtin_type_vec128i for SSE registers. * gdbtypes.h (builtin_type_vec128i): Declare. * gdbtypes.c (build_builtin_type_vec128i): New function. (builtin_type_v2_double, builtin_type_v4_int64): New types. (builtin_type_vec128i): New type for SSE2 128-bit registers. (build_gdbtypes): Initialize new builtin vector types. (_initialize_gdbtypes): Register new vector types with gdbarch.
* * MAINTAINERS: ns32k is not longer an obsolete candidate,Jason Thorpe2002-05-271-0/+8
| | | | | | | since it has been multi-arch'd. * NEWS: Note that ns32k-*-* is now partial multi-arch. Move Alpha and VAX multi-arch news entries to same section as other multi-arch news.
* * ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h,Jason Thorpe2002-05-271-0/+19
| | | | | | | | | | | | | | | | | | target.s, arch-utils.h, ns32k-tdep.h. Make many functions static. Rename some register numbers to put them in ns32k-tdep private namespace. (ns32k_get_saved_register, ns32k_gdbarch_init_32082, ns32k_gdbarch_init_32382, ns32k_gdbarch_init, ns32k_dump_tdep): New functions. (_initialize_ns32k_tdep): Use gdbarch_register. * ns32k-tdep.h: New file. * ns32knbsd-tdep.c: New file. * config/ns32k/nbsdaout.mt (TDEPFILES): Add ns32knbsd-tdep.o. * config/ns32k/tm-nbsd.h: Include "ns32k/tm-ns32k.h". (IN_SOLIB_CALL_TRAMPOLINE, REGISTER_NAME, NUM_REGS, REGISTER_BYTES, REGISTER_BYTE): Remove. * config/ns32k/tm-ns32k.h: New file. * config/ns32k/tm-umax.h: Remove.
* * ns32k-tdep.c (ns32k_saved_pc_after_call,Jason Thorpe2002-05-261-0/+14
| | | | | | | | | | | | | ns32k_store_struct_return, ns32k_extract_return_value, ns32k_store_return_value, ns32k_extract_struct_value_address): New functions. * config/ns32k/tm-umax.h (SAVED_PC_AFTER_CALL): Define as ns32k_saved_pc_after_call. (STORE_STRUCT_RETURN): Define as ns32k_store_struct_return. (EXTRACT_RETURN_VALUE): Define as ns32k_extract_return_value. (STORE_RETURN_VALUE): Define as ns32k_store_return_value. (EXTRACT_STRUCT_VALUE_ADDRESS): Define as ns32k_extract_struct_value_address.
* * ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words,Jason Thorpe2002-05-261-0/+11
| | | | | | | | | | ns32k_fix_call_dummy): New. * config/ns32k/tm-umax.h (CALL_DUMMY_WORDS): Define as ns32k_call_dummy_words. (SIZEOF_CALL_DUMMY_WORDS): Define as sizeof_ns32k_call_dummy_words. (CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_ADDR, CALL_DUMMY_NARGS): Remove. (FIX_CALL_DUMMY): Define as ns32k_fix_call_dummy.
* * ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain,Jason Thorpe2002-05-261-0/+19
| | | | | | | | | | | | | | | | | | ns32k_frame_saved_pc, ns32k_frame_args_address, ns32k_frame_locals_address, ns32k_frame_init_saved_regs, ns32k_push_dummy_frame, ns32k_pop_frame): New functions. * config/ns32k/tm-nbsd.h (FRAME_SAVED_PC): Remove. * config/ns32k/tm-umax.h (INNER_THAN): Define as core_addr_lessthan. (BREAKPOINT_FROM_PC): Define as ns32k_breakpoint_from_pc. (BREAKPOINT): Remove.. (FRAME_CHAIN): Define as ns32k_frame_chain. (FRAME_SAVED_PC): Define as ns32k_frame_saved_pc. (FRAME_ARGS_ADDRESS): Define as ns32k_frame_args_address. (FRAME_LOCALS_ADDRESS): Define as ns32k_frame_locals_address. (FRAME_FIND_SAVED_REGS): Remove. (FRAME_INIT_SAVED_REGS): Define as ns32k_frame_init_saved_regs. (PUSH_DUMMY_FRAME): Define as ns32k_push_dummy_frame. (POP_FRAME): Define as ns32k_pop_frame.