| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* frame.h (FRAME_FP): Spelling fix.
|
| |
|
| |
|
|
|
|
|
| |
* library/srcmenubar.itcl (create_file_menu): Add missing incr for
session numbers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
real_register, pseudo_register fetch_register, store_register):
New functions.
(register_changed, read_relative_register_raw_bytes_for_frame,
registers_changed, registers_fetched, read_register_bytes,
read_register_gen, write_register_gen, read_register,
read_signed_register, write_register, supply_register): Replace
register_valid[] with register_cached() and
set_register_cached().
(read_register_bytes, read_register_gen, write_register_gen,
read_register, read_signed_register, write_register,
supply_register): Replace registers[] with register_buffer().
(read_register_bytes, read_register_gen, read_register,
read_signed_register): Call fetch_register().
(write_register_gen, write_register): Call real_register() and
store_register().
(write_register_bytes): Call store_register().
* value.h (set_register_cached, register_buffer): Prototype.
* remote.c (remote_fetch_registers): Allocate regs[] with a
run-time size. Replace register_valid[] with
set_register_cached().
(store_register_using_P, remote_store_registers): Replace
registers[] with register_buffer().
|
|
|
|
|
|
|
|
| |
Change "regno" to "regnum".
(read_register, read_signed_register): Remove "raw" from return
value description.
(supply_register): Spelling fix.
* value.h: Change "regno" to "regnum".
|
|
|
|
|
| |
* Makefile.in (install-gdbtk): Add .itcl files to the list of files
to be installed.
|
|
|
|
| |
* mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
|
| |
|
|
|
|
|
|
|
|
|
| |
The following changes fix the problem of having to click on a splash
window to make it disapear.
* modal.tcl (post): Take as an argument "expire", the time a modal
window is displayed.
* managedwin.itb (open): Check for an "expire" argument and pass the
value down to modal post method.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/gdbmenubar.itcl (set_class_state): New public method.
Standard method to control state by class.
(menubar_menu_class_find): Delete public accessor method.
(menubar_change_menu_state): Change the state of a menu item
not of a whole class list.
* library/srcmenubar.itcl (enable_ui): Use set_class_state instead
of prying into base class internal data.
* library/gdbtoolbar.itcl (set_class_state): New public method.
Standard method to control state by class.
(toolbar_button_class_find): Delete public accessor method.
* library/srctoolbar.itcl (enable_ui): Use set_class_state instead
of prying into base class internal data.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/interface.tcl (gdbtk_connect): New proc. Connects to ai
remote target (code previously at library/gdbmenubar.itcl).
(disconnect): Rename to...
(gdbtk_disconnect): New name for proc disconnect.
* library/gdbmenubar.itcl (do_connect): Remove the code mentioned
above and call the new interface proc gdbtk_connect.
Also, call ::update idletasks after changing the state of the
menu entries.
(do_detach): Call gdbtk_disconnect, not ::disconnect (old name).
(do_disconnect): Call gdbtk_disconnect, not disconnect (old name).
|
|
|
|
|
|
|
|
| |
(SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
(cli_utils_h): New variable.
(cli/cli-utils.o): New rule.
* cli/cli-utils.c: New file.
* cli/cli-utils.h: New file.
|
|
|
|
| |
REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* library/prefs.tcl (pref_set_defaults): Define gdb/src/top_control
to allow the source window controls to be placed at the top.
* library/srcwin.itb (_build_win): Test for gdb/src/top_control
and place the controls accordingly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/gdbmenubar.itcl: New file. Define the GDBMenuBar class,
a generic menubar building facility for Insight windows (WIP).
* library/gdbtoolbar.itcl: New file. Define the GDBToolBar class,
a generic toolbar building facility for Insight windows (WIP).
* library/srcmenubar.itcl: New file. Define the SrcMenuBar class,
which implements the Source Window menubar (inherits GDBMenuBar).
* library/srctoolbar.itcl: New file. Define the SrcToolBar class,
which implements the Source Window toolbar (inherits GDBToolBar).
* library/srcwin.itb (_build_win): Use SrcMenuBar and SrcToolBar
instead of the obsolete GDBSrcBar.
* library/srcbar.tcl: Mark as OBSOLETE.
* library/toolbar.tcl: Mark as OBSOLETE. Rename class GDBToolBar
to avoid conflict with new class with the same name.
* library/Makefile (TCL): Include .itcl files.
* library/tclIndex: Regenerate.
|
|
|
|
|
|
|
| |
* library/srcwin.itb (_build_win): If gdb is running a program, load
the window with source for that location (if available).
(download_progress): Calls to "update" must refer to the global
namespace.
|
|
|
|
|
| |
* library/interface.tcl (gdbtk_quit_check): Save session whenever
possible.
|
|
|
|
|
| |
* sh-tdep.c (sh_extract_return_value): Allow for small return type.
(sh_sh4_extract_return_value): Call sh_extract_return_value for
|
| |
|
| |
|
| |
|
|
|
|
| |
* sparc-tdep.c (sparc-frame-chain): Fix typo in comment.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* arch-utils.c (default_frame_address): New function. Default
implementation of frame_args_address and frame_locals_address.
* arch-utils.h (default_frame_address): Export.
* d10v-tdep.c (d10v_gdbarch_init): Use default_frame_address.
(d10v_frame_args_address, d10v_frame_locals_address): Delete.
* sh-tdep.c (sh_gdbarch_init): Use default_frame_address.
(sh_frame_args_address, sh_frame_locals_address): Delete.
* sparc-tdep.c (sparc_gdbarch_init): Use default_frame_address.
(sparc_frame_address): Delete.
|
|
|
|
|
|
|
|
|
| |
* library/ChangeLog-2000: New file. Entries dated 2000 moved here
from library/ChangeLog.
* library/ChangeLog: Removed.
* generic/ChangeLog-2000: New file. Entries dated 2000 moved here
from library/ChangeLog.
* generic/ChangeLog: Removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* thread-db.c: Various comment fixes and additions.
Include "bfd.h", "symfile.h" and "objfiles.h".
(keep_thread_db): New variable.
(find_new_threads_callback): Remove prototype.
(thread_db_find_new_threads): New prototype.
(thread_db_push_target, thread_db_unpush_target): Remove
functions.
(deactivate_target): New function.
(thread_db_new_objfile): If OBJFILE == NULL, force deactivation of
target vector. Activate target vector directly instead of calling
thread_db_push_target. Set keep_thread_db if thread library is
detected in the main symbol file. Only enable thread event
reporting if there actually is a child process. Likewise for
detecting new threads, done by calling thread_db_find_new_threads
instead of iterating over the threads ourselves.
(thread_db_detach): Call deactivate_target instead of
thread_db_unpush_target.
(thread_db_wait): Bail out early if we're not debugging the
multi-threaded child process yet.
(thread_db_post_startup_inferior): New function.
(thread_db_mourn_inferior): Call deactivate_target instead of
thread_db_unpush_target.
(init_thread_db_ops): Add thread_db_post_startup_inferior to
thread_db_ops.
|
| |
|
| |
|
|
|
|
|
| |
literally. This matches the behaviour of the GNU dynamic linker
more closely.
|
|
|
|
|
|
| |
* variables.tcl (constructor): Use the file_changed_hook to remove
all variables if the exec file changes. This prevents the Watch
Window to dump core because the "types" are not valid anymore.
|
|
|
|
| |
* README: Suggest building in an empty directory.
|
|
|
|
|
| |
* gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
Add a RE to accept a non-ascii char if one is ever presented.
|
|
|
|
|
|
|
|
|
|
| |
(i386_extract_return_value): Return directly after issuing the
warning and filling *VALBUF with zeroes if we cannot get at the
floating-point registers.
(i386_store_return_value): New function.
* config/i386/tm-i386.h (STORE_RETURN_VALUE): Simply call
i386_store_return_value.
Add prototype for i386_store_return_value.
|
|
|
|
| |
the PTRACE_GETFPXREGS request, and return zero if it's not.
|
|
|
|
| |
* TODO: Add pre-uiout code removal to 5.2 cleanups.
|
|
|
|
|
|
| |
* configure.in: Rename CONFIG_LOBS to CONFIG_LIB_OBS.
* Makefile.in: Ditto.
* configure: Regenerate.
|
|
|
|
|
| |
* command.h: Register date when it was deprecated.
* call-cmds.h: Ditto.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.in (UIOUT_CFLAGS): New macro. CFLAGS needed for uiout code
to be compiled. Defines UI_OUT.
(SUBDIR_MI_CFLAGS): Defines MI_OUT, not UI_OUT.
(INTERNAL_WARN_CFLAGS): Also include UIOUT_CFLAGS.
* configure.in (UIOUT_CFLAGS): New configuration variable.
(--with-uiout): New configuration option. Causes uiout code to
be compiled, instead of the old *printf one.
* configure: Regenerate.
* top.c (print_gdb_version): Test for and print MI_OUT, not UI_OUT.
* testsuite/lib/mi-support.exp (mi_gdb_start): Test for MI_OUT,
not UI_OUT.
|
|
|
|
|
|
|
| |
* complaints.c (complain): Call warning_hook if defined, instead of
writting to gdb_stderr.
(clear_complaints): Do not write anything to gdb_stderr if warning_hook
is defined.
|
|
|
|
|
| |
* gdb.base/setvar.exp: Use double '\\' to quote curly braces
in regexp. One '\' does not suffice on Linux.
|
|
|
|
|
| |
* sh-tdep.c (sh_print_register): Don't leave regnum 0 out of the
non-pseudo-regs group.
|
|
|
|
|
| |
* sh-tdep.c (sh_gdbarch_init): Move setting of breakpoint_from_pc
to before switch statement.
|
|
|
|
|
|
|
| |
* sh-tdep.c (sh_gdbarch_init): Initialize do_registers_info.
* config/sh/tm-sh.h (DO_REGISTERS_INFO): Remove macro. Use
multiarch version instead.
|
| |
|
|
|
|
| |
* config/sh/tm-sh.h: Don't remove SR_REGNUM from enum.
|
|
|
|
| |
(gnu_store_registers): Replace assert with gdb_assert.
|