| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* mi-cmd-stack.c (mi_cmd_stack_select_frame): Remove stray statement.
Remove include of gdb-events.h.
|
|
|
|
| |
* defs.h (selected_frame_level_changed_hook): Removed.
|
|
|
|
| |
* event-top.c: Reorg some code, to minimize diffs with mainline.
|
|
|
|
|
| |
* Makefile.in (event-loop.o): Remove dependency on interps.h.
* event-loop.c: Remove include of interps.h.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* interps.c (list_interpreter_cmd, do_set_interpreter): Remove
useless prototypes.
Update a few comments, remove gratuitous blank lines.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* interps.c (set_interpreter_cmd): Remove.
|
|
|
|
|
| |
* interps.c (interpreter_completer): Initialize alloced.
(struct gdb_interpreter): Reformat.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* mi-cmd-break.c (mi_cmd_break_insert): Initialize old_hooks.
(mi_cmd_break_insert, mi_cmd_break_watch, mi_cmd_break_insert):
Increment MI version number.
|
|
|
|
|
| |
* Makefile.in (mi-main.o, mi-cmd-break.o, event-loop.o): Update
dependencies on interps.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
(mi_next): Use mi_next_to.
(mi_step): Use mi_step_to.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(check_mi_and_console_threads): Moved contents dealing with
getting MI thread list...
(get_mi_threads): ...to here.
(check_mi_and_console_threads): New tests.
(check_console_thread_commands): New tests.
* pthreads.c (done_making_threads): New marker function.
(create_thread): New function to create threads.
(main): Make several threads using create_thread.
Call marker function done_making_threads when done making
threads.
|
|
|
|
|
| |
runto proc.
(mi_run_to_main): Use mi_runto.
|
|
|
|
|
|
|
|
| |
Check for pthread.h.
* configure: Regenerate.
* config.in: New file.
* mi-pthreads.exp: New file to test thread functionality.
* pthreads.c: New file.
|
|
|
|
| |
and target_find_new_threads.
|
|
|
|
|
|
|
|
| |
regexp for stopping at main. Could have multiple event notifications.
Don't assume that main was declared with no parameters.
(mi_step_next_helper): New procedure to do step/next.
(mi_next): Use mi_step_next_helper.
(mi_step): Ditto.
|
|
|
|
|
| |
Use integer comparison instead of string comparison for testing
whether binary was built.
|
| |
|
|
|
|
| |
information. Recommended by Eli Zaretskii <eliz@is.elta.co.il>.
|
|
|
|
|
|
|
| |
to parallel selected_frame_level_changed.
* thread.c (do_captured_thread_select): Ditto.
* gdb-events.c: Regenerate.
* gdb-events.h: Regenerate.
|
|
|
|
| |
expect_out so that callers can get at it.
|
|
|
|
| |
(mi_interpreter_exec): New function. MI's exec_proc.
|
|
|
|
| |
command-line option "-i"/"--interpreter" to this chapter.
|
|
|
|
|
| |
current interpreter to quiet, too, so that we don't get
too many prompts when switching interpreters.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* mi.h (mi_target_changed): Ditto.
* mi-interp.c (mi_event_handlers): Ditto.
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
change. stack.c now handles it properly.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
to allow this.
* mi-cmds.c: Remove "interpreter-set" command.
* mi-cmds.h (mi_cmd_interpreter_set): Remove.
|
|
|
|
|
| |
the interpreter. This could really undermine MI clients.
* top.c (catcher): Don't worry about interpreter changes.
|
|
|
|
| |
to "set interpreter" command.
|
|
|
|
| |
* interps.h: Ditto.
|
|
|
|
| |
option.
|