| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* 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.
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
and target_find_new_threads.
|
| |
|
|
|
|
|
|
|
| |
to parallel selected_frame_level_changed.
* thread.c (do_captured_thread_select): Ditto.
* gdb-events.c: Regenerate.
* gdb-events.h: Regenerate.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
the interpreter. This could really undermine MI clients.
* top.c (catcher): Don't worry about interpreter changes.
|
|
|
|
| |
to "set interpreter" command.
|
|
|
|
| |
* interps.h: Ditto.
|
|
|
|
|
|
|
| |
* gdb-events.sh (context_hook): Removed comment.
(context_changed): Add new event.
* gdb-events.c: Regenerate.
* gdb-events.h: Regenerate.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
(register_update): New event.
* gdb-events.c: Regenerated.
* gdb-events.h: Regenerated.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
| |
modified by me.)
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
`tr' and `sed'. Mention that `broken' targets are not expected to
build.
|
| |
|
|
|
|
|
| |
* x86-64-tdep.c (x86_64_skip_prologue): Remove obsolete note.
Let PC point right after the prologue before looking up symbols.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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_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_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_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.
|