aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2002-01-052002-01-04 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+5
* thread-db.c (thread_db_new_objfile): Do not enable thread_db for core files.
2002-01-04* config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.Jason Thorpe1-0/+4
2002-01-04Move value_ptr typedef to gdbtk-wrapper from value.h.Andrew Cagney1-0/+4
2002-01-04* i386nbsd-nat.c: Update copyright years.Jason Thorpe1-0/+5
Include i386-tdep.h.
2002-01-04Mention PR number fixed.Elena Zannoni1-0/+1
2002-01-042002-01-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+8
* stabsread.c: Update copyright years. From Debashis Mahata <debashis.mahata@wipro.com>: (read_struct_fields): Deal with Sun C compiler erroneous stab output for structs and unions.
2002-01-042002-01-04 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+5
* p-valprint.c: Include "cp-abi.h" for baseclass_offset prototype.
2002-01-042002-01-04 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+18
* cp-abi.c: Fix whitespace. (baseclass_offset): New wrapper function. * cp-abi.h (baseclass_offset): Add prototype. (struct cp_abi_ops): Add baseclass_offset pointer. * valops.c (vb_match): Move to... * gnu-v2-abi.c (vb_match): here. * valops.c (baseclass_offset): Move to... * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. * gnu-v3-abi.c (init_gnuv3_ops): Likewise. * hpacc-abi.c (init_hpacc_ops): Likewise.
2002-01-042002-01-04 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+8
* valops.c (find_overload_match): Accept obj as a reference parameter. Update it before returning. * value.h (find_overload_match): Update prototype. * eval.c (evaluate_subexp_standard): Pass object to find_overload_match by reference.
2002-01-04s/value_ptr/struct value */Andrew Cagney1-0/+8
2002-01-03Roll ChangeLog files.Andrew Cagney1-9888/+1
2002-01-01* i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.Mark Kettenis1-0/+6
* i386-tdep.c: Include "elf-bfd.h". (process_note_abi_tag_sections): New function. (i386_gdbarch_init): Add code to recognize various OS/ABI combinations.
2002-01-01* maint.c (_initialize_maint_cmds): Add missing inMark Kettenis1-0/+5
string-literal.
2001-12-302001-12-30 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+4
* sparc-tdep.c (sparc-store-return-value): Whitespace fix-up.
2001-12-302001-12-29 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+25
* Makefile.in (rs6000-tdep.o): Add dependency on parser-defs.h. * rs6000-tdep.c: Include parser-defs.h. (rs6000_register_virtual_type): Rewrite, including handling of AltiVec regs type. (altivec_register_p): New function. (rs6000_do_altivec_registers): New function. (rs6000_altivec_registers_info): New function. (rs6000_do_registers_info): New function. (R16): Define. (PPC_ALTIVEC_REGS): Define. (registers_powerpc): Add AltiVec registers. (registers_7400): Define. (variants): Add 7400 machine. (rs6000_gdbarch_init): Set the numbers of AltiVec registers. Initialize gdbarch_do)_registers_info. (rs6000_info_power_command): New function. (info_power_cmdlist): New static variable. (_initialize_rs6000_tdep): Add new 'info powerpc altivec' command. * ppc-tdep.h (struct gdbarch_tdep): Add altivec regnum fields. (altivec_register_p): Export.
2001-12-29* i386bsd-nat.c (reg_offset): Fix typo.Mark Kettenis1-0/+2
2001-12-29* i386-tdep.c (i386_push_dummy_frame): Don't write back theMark Kettenis1-0/+5
modified frame pointer until the old frame pointer has been saved.
2001-12-29* arch-utils.c (initialize_current_architecture): Test byte_orderAndrew Cagney1-0/+10
against BFD_ENDIAN_UNKNOWN. (gdbarch_info_init): Initialize byte_order to BFD_ENDIAN_UNKNOWN. * gdbarch.sh: Update comments on default value of byte_order. (verify_gdbarch, gdbarch_update_p): Test byte_order against BFD_ENDIAN_UNKNOWN. * gdbarch.h, gdbarch.c: Re-generate.
2001-12-282001-12-21 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+8
* procfs.c (info_proc_cmd): Add the 'mappings' sub-command that was dropped a few years ago, when procfs.c was rewritten. (info_proc_mappings): New function, implement 'info proc mappings'. (mappingflags): New function. (_initialize_procfs): Document new option to 'info proc' command.
2001-12-272001-12-27 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+2
* i386-linux-nat.c: Include i386-tdep.h.
2001-12-272001-12-27 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+6
* maint.c (match_substring): GNU coding standards fixes. (print_bfd_section_info): Ditto. (print_objfile_section_info): Ditto.
2001-12-27* maint.c (match_substring): Make parameters `string' and `substr'Mark Kettenis1-0/+5
const. Make local variable `tok' const.
2001-12-27* config/i386/tm-i386.h (FP7_REGNUM, FIRST_FPU_CTRL_REGNUM,Mark Kettenis1-0/+35
FCTRL_REGNUM, FPC_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM, FOP_REGNUM, LAST_FPU_CTRL_REGNUM, XMM0_REGNUM, XMM7_REGNUM, MXCSR_REGNUM, IS_FP_REGNUM, IS_SSE_REGNUM): Removed. (FP0_REGNUM): Define conditionally depending on HAVE_I387_REGS. (SIZEOF_FPU_CTRL_REGS): Hardcode value. * i386-tdep.h (struct gdbarch_tdep): Change such that it contains a single member `num_xmm_regs'. (FPC_REGNUM): New macro. (FIRST_FPU_REGNUM, LAST_FPU_REGNUM, FISRT_XMM_REGNUM, LAST_XMM_REGNUM, MXCSR_REGNUM, FIRST_FPU_CTRL_REGNUM, LAST_FPU_CTRL_REGNUM): Removed. (FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FOP_REGNUM, XMM0_REGNUM, MXCSR_REGNUM): Define unconditionally. Change macros to match the comment describing the register layout. (FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM): New macros. (FP_REGNUM_P, FPC_REGNUM_P, SSE_REGNUM_P): New macros. (IS_FP_REGNUM, IS_FPU_CTRL_REGNUM, IS_SSE_REGNUM): Make obsolete, unconditionally define in terms of FP_REGNUM_P, FPC_REGNUM_P and SSE_REGNUM_P). (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM): Make obsolete, unconditionally define in terms of FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM. * i386-tdep.c (i386_gdbarch_init): Initialize `num_xmm_regs' member of `struct gdbarch_tdep'. * x86-64-tdep.c (i386_gdbarch_init): Change initialization of `struct gdbarch_tdep'. * i387-nat.c (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM): Replace with FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM and FOOFF_REGNUM. Use FPC_REGNUM instead of FIRST_FPU_CTRL_REGNUM. Use XMM0_REGNUM instead of LAST_FPU_CTRL_REGNUM.
2001-12-25* cli/cli-script.c (execute_control_command): Replace value_ptrAndrew Cagney1-0/+10
with a struct value pointer. * ch-lang.c (evaluate_subexp_chill): Ditto. * printcmd.c (printf_command): Ditto. * tracepoint.c (set_traceframe_context): Ditto. (encode_actions): Ditto. * eval.c (evaluate_subexp_standard): Ditto.
2001-12-25* gdbarch.sh: When an int variable, print value using %d insteadAndrew Cagney1-0/+6
of %ld. * gdbarch.c: Re-generate.
2001-12-24powerpc aix build failure. Add self to maintainers.Tom Rix1-0/+5
2001-12-21 * configure, config.in: Rebuilt.Tom Tromey1-0/+15
* configure.in: Check for realpath. * defs.h (gdb_realpath): Declare. * symtab.h (partial_symtab): Added fullname field. * source.c (openp): Use gdb_realpath. (forget_cached_source_info): Clear full name of each partial symtab. * utils.c (gdb_realpath): New function. * symtab.c (lookup_symtab): Removed. (lookup_symtab_1): Renamed to lookup_symtab. (lookup_symtab): Look for real path. (lookup_partial_symtab): Likewise.
2001-12-212001-12-21 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+9
* maint.c (match_substring): New function. Tokenizer for 'maintenance info sections' command arguments. (match_bfd_flag): Use match_substring. (print_bfd_section_info): Use match_substring. (print_objfile_section_info): Use match_substring. (maintenance_info_sections): Use match_substring.
2001-12-212001-12-21 Orjan Friberg <orjanf@axis.com>Orjan Friberg1-0/+16
* configure.tgt: Delete CRIS from multi-arch targets. * config/cris/tm-cris.h: New file. * config/cris/cris.mt (TDEPFILES): Add corelow.o solib.o solib-svr4.o. (TM_FILE): New macro. * cris-tdep.c (cris_examine): Correct check for srp register. (supply_gregset, fetch_core_registers, cris_linux_svr4_fetch_link_map_offsets, cris_fpless_backtrace): New functions. (_initialize_cris_tdep): Add core functions and new command. (cris_gdbarch_init): Define link map offsets.
2001-12-20 * somsolib.c (som_solib_add): Ignore the solib limit threshholdJeff Law1-0/+8
if AUTO_SOLIB_LIMIT is not greater than zero. * somsolib.c (som_solib_create_inferior_hook): No longer warn about missing __d_pid symbol.
2001-12-202001-12-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+20
* ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): New function. (fetch_register): New function. (fetch_ppc_registers): New function. (fetch_inferior_registers): New function. (store_register): New function. (store_ppc_registers): New function. (store_inferior_registers): New function. (ppc_register_u_addr): Eliminate ustart parameter and its uses. Make static. (PT_READ_U, PT_WRITE_U, PTRACE_XFER_TYPE): Define if needed. Include sys/ptrace.h. * config/powerpc/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. (U_REGS_OFFSET, REGISTER_U_ADDR): Delete. * config/powerpc/linux.mh (NATDEPFILES): Delete core-aout.o.
2001-12-202001-12-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+5
* rs6000-nat.c (fetch_register): Don't error out unless the register number is really bogus.
2001-12-202001-12-20 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+10
* maint.c (maintenance_info_sections): Accept new argument 'ALLOBJ', iterate over all object files. (print_section_table): Delete. Replaced by: (print_section_info): New function. (print_bfd_section_info): New function. (print_objfile_section_info): New function. (_initialize_maint_commands): Add help for new features.
2001-12-20 * arm-tdep.c (arm_scan_prologue): Don't require "mov ip, sp"Kevin Buettner1-0/+4
to be the first instruction in the prologue. Also, revise the way the frame offset is computed for frameless functions.
2001-12-20Fix some ARM call dummy problems.Kevin Buettner1-0/+10
2001-12-202001-12-20 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+9
* maint.c (maintenance_info_sections): Pass string argument to print_section_table, so that it can be used to select sections. (print_section_table): Change PTR to void *. Look at string arg to select sections by name and by flag attributes. (match_bfd_flags): New function. (print_bfd_flags): New function.
2001-12-20 * cli/cli-decode.c (add_cmd): Initialize pre_show_hook inJeff Law1-0/+5
the new command.
2001-12-20* remote.c (struct packet_reg): Add field in_g_packet.Andrew Cagney1-0/+11
(struct remote_state): Rename field g_packet to regs; (free_remote_state): Update. (init_remote_state): Add pseudo-registers to table. Initialize in_g_packet. Drop sentinal from table. (packet_reg_from_regnum, packet_reg_from_pnum): Update. (remote_fetch_registers): Handle registers not in the g-packet. (remote_store_registers): Ditto.
2001-12-20* gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the printAndrew Cagney1-0/+5
format.
2001-12-20* s390-tdep.c (s390_pop_frame_regular): Make sure the saved_regsJim Blandy1-0/+3
array is actually set before we try to use it.
2001-12-20* s390-tdep.c (s390_frame_saved_pc_nofix): If we get the saved PCJim Blandy1-0/+5
out of the return address register, cache that in the frame's extra info, just as if we'd gotten it from the saved regs array; that way, it's not a lie to set the saved_pc_valid flag.
2001-12-20* s390-tdep.c (s390_get_frame_info): Give orig_sp a reasonableJim Blandy1-0/+3
value, even when fextra_info->stack_bought can't be trusted,
2001-12-20* s390-tdep.c (s390_readinstruction): Don't callJim Blandy1-0/+4
info->read_memory_func to read zero bytes. Some targets' xfer_memory functions can't cope with that.
2001-12-20* gdbarch.sh (TARGET_CHAR_SIGNED): New macro.Jim Blandy1-0/+11
* gdbarch.c, gdbarch.h: Regenerated. * gdbtypes.c (build_gdbtypes): If TARGET_CHAR_SIGNED is zero, set the TYPE_FLAG_UNSIGNED bit on the type. * s390-tdep.c (s390_gdbarch_init): On the S/390, characters are unsigned by default. * rs6000-tdep.c (rs6000_gdbarch_init): Same for PowerPC and RS6000.
2001-12-192001-12-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+8
* corefile.c (do_captured_read_memory_integer, safe_read_memory_integer): New functions. * gdbcore.h (safe_read_memory_integer): Export. * arm-tdep.c (arm_scan_prologue): Use safe_read_memory_integer, to read the frame value, to capture calls to error().
2001-12-19* s390-tdep.c (s390_register_name): S390_LAST_REGNUM is, in fact,Jim Blandy1-0/+7
the last register number, not one greater than the last register number. * s390-tdep.c (s390_register_virtual_type): Replace clever but incorrect range comparison with correct, legible equivalent.
2001-12-19* s390-tdep.c (s390_register_raw_size): Replace unnecessarilyJim Blandy1-0/+5
obscure range comparison with legible equivalent.
2001-12-19 * config/pa/tm-hppa.h (STORE_RETURN_VALUE): Use hppa_store_return_value.Jeff Law1-1/+6
(EXTRACT_RETURN_VALUE): Similarly. * hppa-tdep.c (hppa_store_return_value): New function. (hppa_extract_return_value): New function.
2001-12-19 * infttrate.c (child_acknowledge_created_inferior): PassJeff Law1-0/+6
correct argument to add_thread. (update_thread_state_after_attach): Likewise.
2001-12-192001-12-19 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-0/+9
* config/arm/tm-arm.h: Properly define SOFTWARE_SINGLE_STEP_P. Always define SOFTWARE_SINGLE_STEP. * config/arm/tm-embed.h: Properly define SOFTWARE_SINGLE_STEP_P. * arm-tdep.c (arm_get_next_pc, thumb_get_next_pc, bitcount, shifted_reg_val): Always compile these functions. (arm_software_single_step): Fix second argument in function calls.