aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-08-16 * gdb-events.sh (clear_gdb_event_hooks): New function.Keith Seitz4-0/+32
* gdb-events.c: Regenerate. * gdb-events.h: Regenerate.
2002-08-16* breakpoint.c (bpstat_stop_status): Rename not_a_breakpoint toAndrew Cagney3-9/+15
not_a_sw_breakpoint. * breakpoint.h (bpstat_stop_status): Add parameter names.
2002-08-16 * remote.c (remote_insert_hw_breakpoint)Grace Sainsbury2-6/+16
(remote_remove_hw_breakpoint): Fix calculation of length field for Z-packet.
2002-08-162002-08-15 Michael Snyder <msnyder@redhat.com>Michael Snyder3-49/+70
* config/mips/tm-mips.h (FUNCTION_START_OFFSET, IN_SIGTRAMP, REGISTER_VIRTUAL_SIZE): Delete. (REGISTER_CONVERT_FROM_TYPE, REGISTER_CONVERT_TO_TYPE): Convert from macros to functions. * mips-tdep.c (mips_register_convert_from_type, mips_register_convert_to_type): New functions. (mips_gdbarch_init): Set up function_start_offset, register_virtual_size, pc_in_sigtramp.
2002-08-162002-08-15 Michael Snyder <msnyder@redhat.com>Michael Snyder3-46/+21
* mips-tdep.c (mips_do_registers_info): Make static. (mips_gdbarch_init): Insert mips_do_registers_info into gdbarch. * config/mips/tm-mips.h (DO_REGISTERS_INFO): Delete.
2002-08-162002-08-15 Michael Snyder <msnyder@redhat.com>Michael Snyder3-19/+51
* mips-tdep.c (mips_gdbarch_init): Set gdbarch read_sp to mips_read_sp. * config/mips/tm-mips.h (TARGET_READ_SP): Delete.
2002-08-162002-08-15 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+6
* irix5-nat.c (supply_gregset): Allocate plenty-big buffer (32 bytes) instead of using MAX_REGISTER_RAW_SIZE. (supply_fpregset): Ditto.
2002-08-162002-08-15 Michael Snyder <msnyder@redhat.com>Michael Snyder3-31/+19
* config/mips/tm-mips.h (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, REGISTER_CONVERTIBLE, MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE): Delete. * mips-tdep.c (mips_gdbarch_init): Set the above in the gdbarch. (mips_register_convertible, mips_register_convert_to_virtual, mips_register_convert_to_raw): Make static.
2002-08-162002-08-15 Andrew Cagney <ac131313@redhat.com>Andrew Cagney8-0/+113
* infcmd.c (vector_info): New function. (_initialize_infcmd): Add command "info vector". (print_vector_info): New function. * gdbarch.sh (PRINT_VECTOR_INFO): New method * gdbarch.h, gdbarch.c: Regenerate. Index: doc/ChangeLog 2002-08-15 Andrew Cagney <ac131313@redhat.com> * gdbint.texinfo (Target Architecture Definition): Document PRINT_VECTOR_INFO. * gdb.texinfo (Vector Unit): Document "info vectors" command.
2002-08-162002-08-15 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-7/+18
* infcmd.c (do_registers_info): Rename parameter ``fpregs'' to ``print_all''. Only print vector registers when ``print_all''.
2002-08-162002-08-15 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-2/+6
* i387-tdep.h (i387_print_float_info): Add `args' parameter. * i387-tdep.c (i387_print_float_info): Add `args' parameter.
2002-08-16*** empty log message ***gdbadmin1-1/+1
2002-08-152002-08-15 Andrew Cagney <ac131313@redhat.com>Andrew Cagney8-30/+69
* gdbarch.sh (PRINT_FLOAT_INFO): Change to a predicate method. Add `args' parameter. * gdbarch.h, gdbarch.c: Regenerate. * arm-tdep.c (arm_print_float_info): Add the parameter `args'. * infcmd.c (float_info): Call print_float_info. (print_float_info): New function. By default, print the floating-point registers. * arch-utils.h (default_print_float_info): Delete declaration. * arch-utils.c (default_print_float_info): Delete function.
2002-08-15* config/i386/nm-i386v.h (FLOAT_INFO): Remove already commentedMark Kettenis2-11/+3
out define.
2002-08-15* i387-tdep.c (i387_print_float_info): Add comment about ignoringMark Kettenis2-1/+7
FRAME.
2002-08-15* NEWS: Mention that the i[3456]-*-aix target has been made obsolete.Mark Kettenis11-518/+529
* configure.host: Make i[3456]86-*-aix host obsolete. * configure.tgt: Make i[3456]86-*-aix target obsolete. * config/i386/i386aix.mh, config/i386/i386aix.mt, config/i386/nm-i386aix.h, condig/i386/tm-i386aix.h, config/i386/xm-i386aix.h: Make files obsolete. * i386aix-nat.c: Make file obsolete. * Makefile.in (ALLDEPFILES): Remove i386aix-nat.c. (i386aix-nat.o): Make target obsolete.
2002-08-15* config/i386/nm-gnu.h: Removed.Mark Kettenis7-68/+65
* config/i386/nm-i386gnu.h: New file. (THREAD_STATE_FLAVOR, THREAD_STATE_SIZE, THREAD_STATE_SET_TRACED, THREAD_STATE_CLEAR_STATE, ATTACH_DETACH): Moved here from ... * config/i386/tm-i386gnu.h: ... here. Removed. * config/i386/xm-i386gnu.h: Removed. * config/i386/i386gnu.mh (XM_FILE): Set to xm-i386.h. (NAT_FILE): Set to nm-i386gnu.h. * config/i386/i386gnu.mt (TDEPFILES): Add i386gnu-tdep.o. * i386-tdep.c: New file. * Makefile.in (ALLDEPFILES): Add i386gnu-nat.c and i386gnu-tdep.c. (i386gnu-tdep.o): Specify dependencies.
2002-08-15* config/i386/tm-i386sco5.h: Include "i386/tm-i386v4.h" instead ofMark Kettenis3-42/+59
"i386/tm-i386.h", "i386/tm-i386v.h" and "config/tm-sysv.h". Adjust a few comments to reflect reality a bit closer. (KERNEL_U_SIZE, TARGET_HAS_HARDWARE_WATCHPOINTS, TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUEABLE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT, target_insert_watchpoint, target_remove_watchpoint): Move defines to ... * config/i386/nm-i386sco5.h: ... here. (kernel_u_size): Add prototype. Improve a few comments and add protection against multiple inclusion.
2002-08-15* config/i386/nm-i386sco.h (FLOAT_INFO): Remove already commentedMark Kettenis2-11/+3
out define.
2002-08-15* uw-thread.c (SP_ARG0): Define if not already defined.Mark Kettenis3-4/+11
* config/i386/tm-i386.h (SO_ARG0): Remove define.
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