Age | Commit message (Collapse) | Author | Files | Lines |
|
* source.c (openp): Fix typo in comment.
|
|
* frame.h (FRAME_FP): Spelling fix.
|
|
|
|
|
|
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.
|
|
|
|
(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.
|
|
|
|
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): SR_REGNUM is
now part of gdbarch_tdep structure.
(sh_gdbarch_init): Initialize SR_REGNUM.
* config/sh/tm-sh.h (struct gdbarch_tdep): Add field SR_REGNUM.
|
|
|
|
* sh-tdep.c (sh_do_pseudo_register): Indent properly. Call
do_dr_register_info() only for DR registers.
(sh_sh4_register_name): Add comments with numbers.
(_initialize_sh_tdep): Move assignment to disassemble printing
function from here...
(sh_gdbarch_init):...to here. Move some more general settings to
before the architecture is recognized.
|
|
|
|
|
|
added in last commit.
|
|
|
|
|
|
|
|
|