| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tui/tui-hooks.c: Include observer.h.
(tui_event_default, tui_old_event_hooks, tui_event_hooks):
Remove.
(tui_bp_created_observer, tui_bp_deleted_observer,
tui_bp_modified_observer): New globals.
(tui_install_hooks): Use observers, not events.
(tui_remove_hooks): Likewise.
* mi/mi-cmd-break.c: Include observer.h, not gdb-events.h.
(mi_breakpoint_observers_installed, mi_can_breakpoint_notify): New
globals.
(breakpoint_notify): Check mi_can_breakpoint_notify.
(breakpoint_hooks): Remove.
(mi_cmd_break_insert): Attach observers. Don't use events.
* tracepoint.c: Include observer.h, not gdb-events.h.
(tracepoint_operation, trace_pass_command): Notify observer.
* interps.c: Don't include gdb-events.h.
(clear_interpreter_hooks): Don't call clear_gdb_event_hooks.
* gdbarch.c: Rebuild.
* gdbarch.sh: Emit include for observer.h, not gdb-events.h.
(deprecated_current_gdbarch_select_hack): Notify observer.
* breakpoint.h: Don't include gdb-events.h.
* breakpoint.c: Don't include gdb-events.h.
(condition_command): Notify observer.
(commands_command): Likewise.
(commands_from_control_command): Likewise.
(mention, delete_breakpoint, set_ignore_count): Likewise.
(disable_breakpoint, do_enable_breakpoint): Likewise.
* Makefile.in (gdb_events_h): Remove.
(breakpoint_h): Update.
(COMMON_OBS): Remove gdb-events.o.
(gdb-events.o): Remove.
(breakpoint.o, gdbarch.o, interps.o, tracepoint.o, gdbtk-bp.o,
gdbtk-hooks.o, mi-cmd-break.o, tui-hooks.o): Update.
* gdb-events.c: Remove.
* gdb-events.h: Remove.
* gdb-events.sh: Remove.
gdb/doc:
* observer.texi (GDB Observers): Document new observers:
breakpoint_created, breakpoint_deleted, breakpoint_modified,
tracepoint_created, tracepoint_deleted, tracepoint_modified,
architecture_changed.
gdb/gdbtk:
* generic/gdbtk-hooks.c: Include observer.h, not gdb-events.h.
(gdbtk_add_hooks): Use observers, not events.
(gdbtk_architecture_changed): Add argument, for observer.
* generic/gdbtk-bp.c: Include observer.h.
(gdb_set_bp): Notify observer.
(gdb_set_bp_addr): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LOC_LOCAL_ARG, LOC_COMPUTED_ARG, LOC_REGPARM, LOC_BASEARG_ARG, and
LOC_BASEARG.
(gdb_get_blocks): Likewise.
(gdb_get_vars_command): Likewise.
Fix type-punned pointer error introduced on 03-07.
* generic/gdbtk-cmds.c (gdbtk_load_asm): Use paddress instead
of deprecated_print_address_numeric.
(gdb_stop): Update use of target_stop.
* generic/gdbtk.h (gdbtk_get_ptid): Declare new function.
* generic/gdbtk-hooks.c (gdbtk_wait): Save inferior's ptid.
(gdbtk_get_ptid): Define new function.
* generic/gdbtk-varobj.c (variable_update): Update for recent
varobj_update API change.
* generic/gdbtk-wrapper.h (GDB_varobj_update): Likewise.
* generic/gdbtk-wrapper.c (GDB_varobj_update): Likewise.
(wrap_varobj_update): Likewise.
* library/targetselection.itb (init_target_db): Initialize
preferences here instead of ...
(_init): ... here.
(_init_prefs): Define gdb/load/default-portname, too.
|
|
|
|
|
|
|
|
|
| |
generic/gdbtk-cmds.c: Add "language.h" include.
(gdb_eval): Add current_language as new arg of val_print.
generic/gdbtk-register.c: Add "language.h" include.
(get_register): Add current_language as new arg of val_print.
generic/gdbtk-wrapper.c: Add "language.h" include.
(wrap_val_print): Add current_language as new arg of val_print.
|
|
|
|
| |
open_source_file instead of find_and_open_source.
|
|
|
|
|
|
|
| |
* README: Fix a typo.
testsuite/gdb.gdbtk/
* README: Fix a few typos throughout.
|
|
|
|
| |
top_level.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for passing arguments to mapping functions.
(map_func): New definition of mapping function.
Changed all callers to use these new types.
* generic/gdbtk-stack.c (gdb_get_vars_command): Change
cast to int to dereference of int *.
* generic/gdbtk-wrapper.c: Change all casts to char * for
results and args to use pointer or integer flavor of
gdb_wrapper_args.results and .args.
* generic/gdbtk-wrapper.h: struct gdb_wrapper_arguments
members result and args now return a union of void * and int.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gdbtk-cmds.c: Guard <sys/ioctl.h> with HAVE_SYS_IOCTL_H.
* gdbtk-hooks.c: Ditto.
* gdbtk.c: Ditto.
* gdbtk-interp.c: Include windows.h under mingw32.
(gdbtk_start_timer, gdbtk_stop_timer): Remove timer calls under mingw.
(gdbtk_init): Include windows-specific commands under mingw without
cygwin path commands.
* library/download.itb (Download::download_it): Only use ide_cygwin_path
on cygwin hosts.
* library/interface.tcl (_open_file): Ditto.
* library/prefs.tcl (pref_read): Ditto.
* library/targetselection.itb (TargetSelection::default_port): Default
to "/dev/com1" under cygwin and "COM1" under mingw.
(TargetSelection::port_list): Use "/dev/com" under cygwin and
"COM" under mingw.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/attachdlg.itb (list_pids): Use gdbtk_platform
instead of tcl_platform.
* library/bpwin.itb (build_win): Likewise.
(_bp_add): Likewise.
(_bp_modify): Likewise.
* library/download.itb (download_it): Likewise.
* library/globalpref.itb (_build_win): Likewise.
* library/helpviewer.tcl (open_help): Likewise.
* library/interface.tcl (gdbtk_tcl_query): Likewise.
(show_warning): Likewise.
(open_file): Likewise.
(run_executable): Likewise.
* library/managedwin.itb (reveal): Likewise.
(_create): Likewise.
* library/prefs.tcl (pref_read): Likewise.
(pref_set_defaults): Likewise.
(pref_set_colors): Likewise.
* library/session.tcl (_exe_name): Likewise.
* library/srcbar.itcl (_update_file_menu): Likewise.
(create_run_menu): Likewise.
* library/srctextwin.itb (_mtime_changed): Likewise.
(LoadFromCache): Likewise.
* library/targetselection.itb (default_port): Likewise.
(build_win): Likewise.
* library/memwin.itb (build_win): Remove unused tcl_platform
declaration.
* library/pluginwin.itcl (enable_ui): Likewise.
* library/process.itb (build_win): Likewise.
* library/srcbar.itcl (enable_ui): Likewise.
* library/srcwin.itb (location): Likewise.
* library/stackwin.itb (build_win): Likewise.
* library/tdump.tcl (build_win): Likewise.
|
| |
|
| |
|
|
|
|
| |
for varobj_list_children change.
|
| |
|
|
|
|
|
| |
* gdbtk/generic/gdbtk-stack.c (get_frame_name): Remove dead code
(PC_LOAD_SEGMENT).
|
|
|
|
|
|
| |
calls to deprecated_register_gdbarch_swap.
Add "gdb_reg_arch_changed" command.
* library/regwin.itb (arch_changed): Call gdb_reg_arch_changed.
|
|
|
|
|
|
| |
calls to deprecated_register_gdbarch_swap.
Add "gdb_reg_arch_changed" command.
* library/regwin.itb (arch_changed): Call gdb_reg_arch_changed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* disasm.c (gdb_print_insn): Return the number of branch delay
slot instructions too.
* disasm.h (gdb_print_insn): Update prototype.
* printcmd.c (branch_delay_insns): New variable to record the
number of delay slot instructions after disassembling a branch.
(print_formatted): Record the number of branch delay slot
instructions.
(do_examine): When disassembling, if the last instruction
disassembled has any branch delay slots, then bump the count so
that they get disassembled too.
* tui/tui-disasm.c (tui_disassemble): Update the call to
gdb_print_insn().
* NEWS: Document the new behaviour.
gdb/doc/:
* gdb.texinfo (Examining Memory): Document the new behaviour.
gdb/gdbtk/:
* generic/gdbtk-cmds.c (gdbtk_load_asm): Update the call to
gdb_print_insn().
|
|
|
|
|
|
| |
with gdbarch_register_name.
(get_register_name): Ditto.
(map_arg_registers): Ditto.
|
|
|
|
|
|
|
|
|
|
| |
of TARGET_BYTE_ORDER.
* generic/gdbtk-register.c (get_register): Likewise.
(map_arg_registers): Use gdbarch_num_regs and gdbarch_num_pseduo_regs
instead of NUM_REGS and NUM_PSEUDO_REGS.
(setup_architecture_data): Likewise.
(gdb_regformat): Likewise.
(gdb_reggroup): Likewise.
|
|
|
|
| |
newlines from dummy/sigtramp frame names.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.in (gdbtk-wrapper.o): Update dependencies.
(gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise.
gdb/gdbtk/:
* generic/gdbtk-wrapper.c (GDB_varobj_update): New function.
(wrap_varobj_update): Likewise.
* generic/gdbtk-wrapper.h (GDB_varobj_update): New declaration.
* generic/gdbtk-varobj.c (variable_update): Call
GDB_varobj_update() rather than varobj_update() directly. Take
the new semantics of the latter into account.
* generic/gdbtk-cmds.c: Include "varobj.h".
* generic/gdbtk-stack.c: Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/watch.tcl (no_inferior): Remove all varobjs and
clear the display.
(clear_file): Call no_inferior. Update comments.
* library/locals.tcl: Remove unused variables "Running"
and "Variables". Changed throughout.
(no_inferior): Delete the current frame and clear the display.
(clear_file): Call no_inferior. Update comments.
(context_switch): To delete an Itcl object, one uses
"delete object" not "destroy".
|
|
|
|
|
|
| |
* generic/gdbtk.c (gdbtk_init): Don't check if DISPLAY is set,
it isn't needed anymore. Gdb will not abort, and Tk_Init will
fail gracefully.
|
|
|
|
|
| |
Remove it.
(get_target_list): Use "scan" to parse "help target" output.
|
|
|
|
|
| |
Cygwin now uses .gdbinit.
* help/trace/watch.html: Likewise.
|
|
|
|
|
| |
* configure: Regenerate.
* Makefile.in: Regenerate.
|
|
|
|
|
| |
* library/prefs.tcl (pref_save): Save preferences if
INSIGHT_FORCE_READ_PREFERENCES is set in the environment.
|
| |
|
|
|
|
| |
variable.
|
| |
|
|
|
|
| |
by default.
|
|
|
|
| |
the missing frame problem.
|
|
|
|
| |
(gdb_path_conv): Call cygwin_conv_to_full_win32_path instead.
|
|
|
|
| |
* library/help/source.html: Add entries for the missing menu commands.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/mempref.itb (MemPref::constructor): Allow the Byte Per Row
combo box to accept arbitrary values.
(MemPref::set_bytes_per_row): Validate the new value; reject invalid
entries and round up to a multiple of the word size.
(MemPref::apply): Read the value from the text box even if the user
has not pressed return.
(MemPref::enable_format): Ensure the bytes per row value is still valid.
(MemPref::disable_format): Likewise.
* library/mempref.ith (MemPref): Add $gbprlist.
* library/help/memory.html: Update.
|
|
|
|
|
| |
* library/helpviewer.tcl (open_help): Add firefox and opera to the
browser list used to display help.
|
|
|
|
| |
* ChagneLog-2005: ... here.
|
| |
|
| |
|
|
|
|
|
| |
* msrselection.itb:
* cpuinfo.tcl: Put (C) after Copyright.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/actiondlg.tcl:
* library/about.tcl:
* library/ehandler.itb:
* library/editor.tcl:
* library/download.ith:
* library/download.itb:
* library/debugwin.ith:
* library/debugwin.itb:
* library/cspref.ith:
* library/cspref.itb:
* library/console.ith:
* library/console.itb:
* library/browserwin.ith:
* library/browserwin.itb:
* library/bpwin.ith:
* library/bpwin.itb:
* library/blockframe.ith:
* library/managedwin.ith:
* library/managedwin.itb:
* library/main.tcl:
* library/locals.tcl:
* library/ipcpref.ith:
* library/ipcpref.itb:
* library/ipc.tcl:
* library/interface.tcl:
* library/helpviewer.tcl:
* library/globalpref.ith:
* library/globalpref.itb:
* library/gdbwin.ith:
* library/gdbtoolbar.itcl:
* library/gdbmenubar.itcl:
* library/gdbevent.ith:
* library/gdbevent.itb:
* library/embeddedwin.ith:
* library/ehandler.ith:
* library/srcwin.itb:
* library/srctextwin.ith:
* library/srctextwin.itb:
* library/srcpref.ith:
* library/srcpref.itb:
* library/srcbar.itcl:
* library/session.tcl:
* library/regwin.ith:
* library/regwin.itb:
* library/process.ith:
* library/process.itb:
* library/prefs.tcl:
* library/pluginwin.itcl:
* library/modal.tcl:
* library/memwin.ith:
* library/memwin.itb:
* library/mempref.ith:
* library/mempref.itb:
* library/watch.tcl:
* library/watch.tcl:
* library/warning.tcl:
* library/vartree.ith:
* library/vartree.itb:
* library/util.tcl:
* library/tracedlg.tcl:
* library/toplevelwin.ith:
* library/tfind_args.tcl:
* library/tdump.tcl:
* library/targetselection.ith:
* library/targetselection.itb:
* library/stackwin.ith:
* library/stackwin.itb:
* library/srcwin.ith:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/gdbtk.c:
* generic/gdbtk-wrapper.h:
* generic/gdbtk-wrapper.c:
* generic/gdbtk-varobj.c:
* generic/gdbtk-stack.c:
* generic/gdbtk-register.c:
* generic/gdbtk-main.c:
* generic/gdbtk-interp.c:
* generic/gdbtk-hooks.c:
* generic/gdbtk-cmds.h:
* generic/gdbtk-cmds.c:
* generic/gdbtk-bp.c: Put (C) after Copyright. Update the FSF
address.
|
|
|
|
|
|
| |
* library/prefs.tcl (pref_read): Read preferences file if environment
variable INSIGHT_FORCE_READ_PREFERENCES is set (regardless of -nx).
* README: Mention INSIGHT_FORCE_READ_PREFERENCES.
|
|
|
|
|
| |
* library/targetselection.itb (build_win): Only pack the xterm checkbutton
on unix platforms.
|
|
|
|
| |
* README: Ditto.
|
|
|
|
|
|
| |
* library/targetselection.itb (help): Implement.
(build_win): Don't disable help button.
Only display "use tty" option on unix hosts.
|
|
|
|
| |
the breakpoint condition, too -- include it in the lassign.
|
|
|
|
|
|
| |
* library/memwin.itb (update_address): Change parameter name
so that it does not shadow a member variable.
Save the updated address internally.
|