aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-08-15* config/i386/tm-i386v4.h (HAVE_I387_REGS): Remove define.Mark Kettenis2-5/+5
2002-08-15*** empty log message ***Mark Kettenis2-3/+3
2002-08-15* config/i386/tm-i386.h: Don't include "regcache.h".Mark Kettenis2-2/+2
2002-08-15* i387-tdep.h (i387_print_float_info): New prototype.Mark Kettenis5-82/+102
* i387-tdep.c (print_i387_value, print_i387_ext, print_i387_status_word, print_i387_control_word): Add `struct ui_file *' argument and use it for output. (i387_print_float_info): Renamed from i387_float_info. Add `struct gdbarch *' and `struct ui_file *' arguments and use the latter for output. * i386-tdep.c: Include "i387-tdep.h". (i386_gdbarch_init): Set print_float_info. * config/i386/tm-i386.h (i387_float_info): Remove prototype. (FLOAT_INFO): Remove define.
2002-08-15* gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal withMark Kettenis2-2/+7
2002-07-24 change that removes final dots from error messages.
2002-08-15*** empty log message ***gdbadmin1-1/+1
2002-08-142002-08-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-129/+40
* mips-tdep.c (mips_push_arguments): Rename to mips_eabi_push_arguments, and tune for EABI. (MIPS_REGS_HAVE_HOME_P): Delete. (struct gdbarch_tdep): Remove mips_regs_have_home_p field. (mips_gdbarch_init): Set gdbarch push_arguments for eabi. Delete references to mips_regs_have_home_p.
2002-08-14 * Makefile.in (install-gdbtk): Create insight plugin directory.Keith Seitz2-0/+7
Install plugins.tcl file.
2002-08-14 * configure.in: Move SUBDIRS to near top of the file so thatKeith Seitz3-282/+295
--enable options may add things to it. If gdbtk is enabled, add gdbtk directory to SUBDIRS and configdirs. * configure: Regenerate.
2002-08-142002-08-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+311
* mips-tdep.c (mips_o32o64_push_arguments): New function, cloned from mips_push_arguments, tuned for o32/o64 ABI. (mips_gdbarch_init): Set gdbarch_push_arguments to new func.
2002-08-142002-08-13 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-145/+9
* vax-tdep.c (vax_get_saved_register): Delete function. (vax_gdbarch_init): Update. * ns32k-tdep.c (ns32k_get_saved_register): Delete function. (ns32k_gdbarch_init): Update. * alpha-tdep.c (alpha_get_saved_register): Delete function. (alpha_gdbarch_init): Update.
2002-08-14*** empty log message ***gdbadmin1-1/+1
2002-08-132002-08-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+19
* regcache.c (init_regcache_descr): Overallocate the raw_register_valid_p array including space for NUM_PSEUDO_REGS. (registers_changed): Replace NUM_REGS+NUM_PSEUDO_REGS with num_raw_registers. (set_register_cached): Add range checking assertions. Use current_regcache.
2002-08-13 * gdb.base/readline.exp: New file.Tom Tromey2-0/+194
2002-08-13* i386-tdep.c (i386_stab_reg_to_regnum): Return correct registerMark Kettenis2-3/+6
numbers for MMX registers.
2002-08-132002-08-13 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+21
* gdb.texinfo (Maintenance Commands): Document "maint print registers", "maint print raw-registers" and "maint print cooked-registers".
2002-08-13* i386-tdep.c (i386_gdbarch_init): UseAndrew Cagney2-1/+6
generic_unwind_get_saved_register.
2002-08-13 * procfs.c (procfs_can_use_hw_breakpoint): New function.Kevin Buettner3-1/+45
(init_procfs_ops): Define ``to_can_use_hw_breakpoint'' for procfs target vector. * config/mips/nm-irix5.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete. Add comment regarding this now-deleted target method.
2002-08-13 * m68hc11-tdep.c (M68HC12_NUM_PSEUDO_REGS): New define.Stephane Carrez2-3/+81
(M68HC12_HARD_PC_REGNUM): Define specific PC for 68HC12 (pseudo reg). (m68hc11_pseudo_register_read): Compute the 68HC12 PC using the real PC and the page number (if it's within the memory bank window). (m68hc11_pseudo_register_write): Likewise when saving. (m68hc11_register_name): Name the virtual pc 'pc' and the real one ppc. (m68hc11_register_virtual_type): Return uint32 for virtual pc. (m68hc11_register_raw_size): And use 32-bit for it. (m68hc11_gdbarch_init): Use 32-bit address for 68HC12 if the 16K memory bank is used by the prog; also use the virtual pc.
2002-08-13 * m68hc11-tdep.c (m68hc11_elf_make_msymbol_special): New function.Stephane Carrez2-13/+158
(m68hc11_gdbarch_init): Install it in gdbarch. (MSYMBOL_SET_RTC, MSYMBOL_SET_RTI): New to set symbol specific flags. (MSYMBOL_IS_RTC, MSYMBOL_IS_RTI): New to test these flags. (MSYMBOL_SIZE): New for documentation. (insn_return_kind): Enum to specify how a function returns. (frame_extra_info): Cleanup and record the return mode. (gdbarch_tdep, USE_PAGE_REGISTER): New to control the use of page register in address computation. (m68hc11_get_return_insn): New to obtain the return instruction used by the function. (m68hc11_frame_init_saved_regs): Take into account the return instruction used by the function for far and interrupt functions. (m68hc11_init_extra_frame_info): Take into account page register. (m68hc11_frame_args_address): Adjust according to the return mode. (show_regs): Print page register only when it's used.
2002-08-13 * m68hc11-tdep.c (HARD_PAGE_REGNUM): Define for 68HC12 page register.Stephane Carrez2-4/+39
(M68HC11_LAST_HARD_REG, m68hc11_register_names): Update. (m68hc11_register_virtual_type): Return a 8-bit type for 8-bit registers. (m68hc11_register_raw_size): Likewise.
2002-08-132002-08-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-0/+123
* i386-tdep.c (i386_register_name): Handle mmx registers. (mmx_regnum_p): New function. (i386_mmx_names): New array. (mmx_num_regs): New variable. (i386_pseudo_register_read): New function. (i386_pseudo_register_write): New function. (mmx_regnum_to_fp_regnum): New function. Code from Fernando Nasser. * regcache.c (regcache_raw_read_unsigned): New function. (regcache_raw_read_signed): New function. * regcache.h (regcache_raw_read_unsigned): Declare. (regcache_raw_read_signed): Declare.
2002-08-132002-08-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-14/+80
* regcache.c (regcache_raw_read_as_address): Delete function. (regcache_cooked_read_signed): New function. (regcache_cooked_read_unsigned): New function. * regcache.h (regcache_cooked_read_signed): Declare. (regcache_cooked_read_unsigned): Declare. (regcache_raw_read_as_address): Delete declaration. * blockframe.c (generic_read_register_dummy): Use regcache_cooked_read_unsigned. * i386-tdep.c (i386_extract_struct_value_address): Use regcache_cooked_read_unsigned.
2002-08-13 * m68hc11-tdep.c (m68hc11_gdbarch_init): Set int, double and longStephane Carrez2-4/+27
double sizes according to ELF ABI flags. (gdbarch_tdep): Record elf_flags.
2002-08-13 * m68hc11-tdep.c (M6812_OP_PSHX, M6812_OP_PSHY): New defines.Stephane Carrez2-6/+11
(m6812_prolog): They can appear in 68HC12 function prologue. (m68hc11_frame_chain): Cleanup.
2002-08-13*** empty log message ***gdbadmin1-1/+1
2002-08-122002-08-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-127/+18
* i386-tdep.h (i386_register_byte, i386_register_raw_size): Delete declarations. * i386-linux-tdep.c (i386_linux_register_byte): Delete function. (i386_linux_register_raw_size): Delete function. i386_linux_init_abi): Update. * i386-tdep.c (i386_register_raw_size): Delete function. (i386_register_byte): Delete function. (i386_gdbarch_init): Update. (i386_register_size): Delete array. (i386_register_offset): Delete array. * config/i386/tm-symmetry.h (REGISTER_BYTE): Delete macro. (REGISTER_RAW_SIZE): Delete macro. * config/i386/tm-ptx.h (REGISTER_RAW_SIZE): Delete macro. (REGISTER_BYTE): Delete macro.
2002-08-12*** empty log message ***gdbadmin1-1/+1
2002-08-11 * ada-lang.c (ada_lookup_partial_symbol)Aidan Skinner3-16/+24
(to_fixed_variant_branch_type) (find_line_in_linetable): Fix prototype names so that grep ^func works properly. * ada-lang.c (ada_array_element_type) (ada_lookup_partial_symbol): Fix typos in parameter list. * ada-valprint.c (val_print_packed_array_elements) (ada_val_print_1): Fix prototype names so that grep ^func works properly.
2002-08-11*** empty log message ***gdbadmin1-1/+1
2002-08-102002-08-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-1/+80
Elena Zannoni <ezannoni@redhat.com> Martin M. Hunt <hunt@redhat.com> * gdbtypes.c (build_builtin_type_vec128): Set the vector bit. (build_builtin_type_vec128i): Set the vector bit. * gdbtypes.h (builtin_type_vec64, builtin_type_vec64i): Declare. * gdbtypes.c (builtin_type_vec64, builtin_type_vec64i): Define. (build_builtin_type_vec64): New function. (build_builtin_type_vec64i): New function. (build_gdbtypes): Initialize builtin_type_vec64 and builtin_type_vec64i.
2002-08-102002-08-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-6/+40
* regcache.c (regcache_dump): Compare the register offset with REGISTER_BYTE. * arch-utils.c (generic_register_byte): New function. * arch-utils.h (generic_register_byte): Declare. * gdbarch.sh (REGISTER_BYTE): Default to generic_register_byte. * gdbarch.h, gdbarch.c: Regenerate.
2002-08-10Oversights in previous checkin.Michael Snyder2-6/+1
2002-08-10Shh, revert unintended commit.Andrew Cagney2-18/+0
2002-08-102002-08-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-2/+283
* regcache.c: Include "gdbcmd.h" (_initialize_regcache): Add commands "maintenance print registers", "maintenance print raw-registers" and "maintenance print cooked-registers". (enum regcache_dump_what): Define. (dump_endian_bytes): New function. (regcache_dump): New function. (regcache_print): New function. (maintenance_print_registers): New function. (maintenance_print_raw_registers): New function. (maintenance_print_cooked_registers): New function. * Makefile.in (regcache.o): Update dependencies.
2002-08-102002-08-09 Michael Snyder <msnyder@redhat.com>Michael Snyder2-26/+273
* mips-tdep.c (ROUND_DOWN, ROUND_UP): Move to global scope. (mips_push_arguments): Correct some comments. Use paddr_nz for printing addresses in debug output. Replace static allocation using MAX_REGISTER_RAW_SIZE with alloca. (mips_n32n64_push_arguments): New function, cloned from mips_push_arguments and tuned for the n32/n64 ABI. (mips_push_register): Buffer needs dynamic allocation. (mips_print_register): Ditto. (do_gp_register_row): Ditto. (mips_store_return_value): Ditto. (mips_gdbarch_init): Set gdbarch_push_arguments per ABI.
2002-08-10*** empty log message ***gdbadmin1-1/+1
2002-08-092002-08-09 Don Howard <dhoward@redhat.com>Don Howard2-5/+18
* memattr.c (mem_info_command): Print special case of upper bound as max CORE_ADDR + 1.
2002-08-092002-08-08 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+6
* mips-tdep.c (mips_n32n64_use_struct_convention): N32 only returns structs by ref if they're too big to fit in two registers.
2002-08-09Fix minor formatting problem in previous patch.Kevin Buettner1-2/+1
2002-08-09 * mips-tdep.c (mips_init_extra_frame_info): Initialize SP_REGNUM'sKevin Buettner2-3/+26
saved regs value. (read_next_frame_reg): Call FRAME_INIT_SAVED_REGS instead of mips_find_saved_regs(). (mips_pop_frame): Likewise.
2002-08-09 * blockframe.c (frame_saved_regs_register_unwind): ReviseKevin Buettner2-1/+11
PC_IN_CALL_DUMMY assertion to only apply when generic dummy frames are in use.
2002-08-09 * remote.c: (remote_wait, remote_async_wait): Add check for awatchGrace Sainsbury4-35/+199
T-packets; the 'a' is not taken as a register number. (remote_check_watch_resources, remote_stopped_by_watchpoint) (remote_stopped_data_address): New functions; add to target vector. (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Change prototypes to match other implementations of this function. replace integer argument with pointer -- the length field in the Z-packet is the length of what is pointed to or 1 if pointer is null. Add to target vector. (remote_insert_watchpoint, remote_remove_watchpoint): Add to target vector. From Mark Salter: * remote.c (remote_wait): Add support to extract optional watchpoint information from T-packet. Ignore unrecognized optional info in T-packet. (remote_async_wait): Ditto. doc: From Mark Salter: * gdb.texinfo (Protocol): Document T packet extension to allow watchpoint address reporting.
2002-08-09 * cli/cli-dump.c: Change fopen modes to use binary open modesCorinna Vinschen2-13/+18
as defined in include/fopen-bin.h throughout.
2002-08-092002-08-08 Michael Snyder <msnyder@redhat.com>Michael Snyder2-9/+13
* mips-tdep.c: Minor whitespace and indentation clean-ups.
2002-08-09 * doublest.c (store_floating): Avoid floatformat_from_doublest()Kevin Buettner2-0/+6
assertion failure by returning early after a warning.
2002-08-09*** empty log message ***gdbadmin1-1/+1
2002-08-08Multiarch FRAME_INIT_SAVED_REGS for mips.Kevin Buettner1-0/+8
2002-08-08 * mips-tdep.c (mips_find_saved_regs): Make static.Kevin Buettner2-14/+19
(mips_frame_init_saved_regs): New function. (mips_gdbarch_init): Setup FRAME_INIT_SAVED_REGS method. * config/mips/tm-mips.h (FRAME_INIT_SAVED_REGS): Delete macro. (mips_find_saved_regs): Delete declaration.
2002-08-082002-08-06 Michael Snyder <msnyder@redhat.com>Michael Snyder1-2/+0
* config/mips/tm-mips.h: Remove #define USE_STRUCT_CONVENTION.