summaryrefslogtreecommitdiff
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* * blockframe.c (generic_get_saved_register): Spelling fix.Nicholas Duffek2001-01-123-2/+7
| | | | * frame.h (FRAME_FP): Spelling fix.
* Restore missing space lost when switching to UI_OUT.Andrew Cagney2001-01-124-2/+11
|
* Shuffle ChangeLog files...J.T. Conklin2001-01-1212-11353/+11369
|
* 2001-01-09 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-01-092-0/+6
| | | | | * library/srcmenubar.itcl (create_file_menu): Add missing incr for session numbers.
* * regcache.c (set_register_cached, register_buffer,Nicholas Duffek2001-01-094-67/+134
| | | | | | | | | | | | | | | | | | | | | | | | | 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().
* * regcache.c: Change "write-back" comment to "write-through".Nicholas Duffek2001-01-093-109/+117
| | | | | | | | 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".
* 2001-01-08 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-01-082-5/+13
| | | | | * Makefile.in (install-gdbtk): Add .itcl files to the list of files to be installed.
* 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2001-01-042-1/+5
| | | | * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
* * valops.c (VALUE_SUBSTRING_START): Delete.Nicholas Duffek2001-01-042-2/+4
|
* 2001-01-04 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-01-043-10/+20
| | | | | | | | | 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.
* 2001-01-04 Fernando Nasser <fnasser@totem.toronto.redhat.com>Fernando Nasser2001-01-044-52/+60
| | | | | | | | | | | | | | | * 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.
* Fix ChangeLog entry and commit typo (gdbmenubar should read srcmenubar).Fernando Nasser2001-01-042-58/+7
|
* 2001-01-04 Fernando Nasser <fnasser@totem.toronto.redhat.com>Fernando Nasser2001-01-042-2/+75
| | | | | | | | | | | | | * 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).
* * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.Nicholas Duffek2001-01-044-2/+72
| | | | | | | | (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.
* * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,Nicholas Duffek2001-01-042-2/+7
| | | | REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
* * gdbint.texinfo (POP_FRAME): Document use by return_command.Nicholas Duffek2001-01-042-2/+6
|
* * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in comment.J.T. Conklin2001-01-034-3/+8
|
* 2001-01-03 Fernando Nasser <fnasser@totem.toronto.redhat.com>Fernando Nasser2001-01-033-9/+35
| | | | | | | * 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.
* 2001-01-02 Fernando Nasser <fnasser@totem.toronto.redhat.com>Fernando Nasser2001-01-0310-4/+1952
| | | | | | | | | | | | | | | | | | * 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.
* 2001-01-02 Fernando Nasser <fnasser@totem.toronto.redhat.com>Fernando Nasser2001-01-032-2/+13
| | | | | | | * 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.
* 2001-01-02 Fernando Nasser <fnasser@totem.toronto.redhat.com>Fernando Nasser2001-01-032-1/+9
| | | | | * library/interface.tcl (gdbtk_quit_check): Save session whenever possible.
* 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2001-01-022-4/+18
| | | | | * sh-tdep.c (sh_extract_return_value): Allow for small return type. (sh_sh4_extract_return_value): Call sh_extract_return_value for
* Remove prototypes for obsolete static functions.Michael Snyder2001-01-021-2/+0
|
* * sparc-tdep.c: update copyright notice.Michael Snyder2001-01-022-3/+4
|
* Oops, fix typo in previous check-in.Michael Snyder2001-01-021-1/+1
|
* 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2001-01-022-1/+5
| | | | * sparc-tdep.c (sparc-frame-chain): Fix typo in comment.
* 2000-12-20 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2001-01-026-38/+30
| | | | | | | | | | | | * 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.
* 2001-01-01 Fernando Nasser <fnasser@totem.toronto.redhat.com>insight-precleanup-2001-01-01Fernando Nasser2001-01-023-0/+9
| | | | | | | | | * 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.
* Fix debugging programs statically linked against the thread library.Mark Kettenis2000-12-272-46/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Added Orjan Friberg to Write After Approval list.Orjan Friberg2000-12-271-0/+1
|
* GDB version and refcard copyright fixed.Eli Zaretskii2000-12-252-3/+8
|
* * solib.c (solib_open): If path is relative, look for itMark Kettenis2000-12-232-7/+14
| | | | | literally. This matches the behaviour of the GNU dynamic linker more closely.
* 2000-12-13 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-12-222-0/+10
| | | | | | * 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.
* 2000-12-22 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-12-222-1/+18
| | | | * README: Suggest building in an empty directory.
* 2000-12-21 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2000-12-222-2/+14
| | | | | * 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-tdep.c: Add missing ')' in comment.Mark Kettenis2000-12-213-12/+74
| | | | | | | | | | (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.
* * i386-linux-nat.c (store_fpxregs): Add code to detect support forMark Kettenis2000-12-212-1/+14
| | | | the PTRACE_GETFPXREGS request, and return zero if it's not.
* 2000-12-21 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-12-212-0/+9
| | | | * TODO: Add pre-uiout code removal to 5.2 cleanups.
* 2000-12-20 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-12-214-12/+18
| | | | | | * configure.in: Rename CONFIG_LOBS to CONFIG_LIB_OBS. * Makefile.in: Ditto. * configure: Regenerate.
* 2000-12-20 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-12-213-2/+7
| | | | | * command.h: Register date when it was deprecated. * call-cmds.h: Ditto.
* Fix typo on last entry.Fernando Nasser2000-12-201-2/+1
|
* 2000-12-20 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-12-207-335/+407
| | | | | | | | | | | | | | * 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.
* 2000-12-20 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-12-202-15/+37
| | | | | | | * 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.
* 2000-12-18 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2000-12-202-24/+29
| | | | | * gdb.base/setvar.exp: Use double '\\' to quote curly braces in regexp. One '\' does not suffice on Linux.
* 2000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-12-192-1/+6
| | | | | * sh-tdep.c (sh_print_register): Don't leave regnum 0 out of the non-pseudo-regs group.
* 2000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-12-192-1/+6
| | | | | * sh-tdep.c (sh_gdbarch_init): Move setting of breakpoint_from_pc to before switch statement.
* 2000-12-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-12-183-6/+5
| | | | | | | * sh-tdep.c (sh_gdbarch_init): Initialize do_registers_info. * config/sh/tm-sh.h (DO_REGISTERS_INFO): Remove macro. Use multiarch version instead.
* Fix date of last commit.Elena Zannoni2000-12-181-1/+1
|
* 2000-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-12-182-1/+6
| | | | * config/sh/tm-sh.h: Don't remove SR_REGNUM from enum.
* * i386gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.Andrew Cagney2000-12-172-2/+7
| | | | (gnu_store_registers): Replace assert with gdb_assert.