aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-11-17Oops, accidental commit, reverting.Andrew Cagney2-872/+163
2003-11-172003-11-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-163/+935
* lib/gdb.exp (compiler_info): New global. (test_compiler_info): New function. (get_compiler_info): Set compiler_info. * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set "compiler_info" to gcc-<major>-<minor>.
2003-11-17 * breakpoint.c (re_enable_breakpoints_in_shlibs): Only re-enable aDaniel Jacobowitz2-2/+9
bp_shlib_disabled breakpoint if there is a shared library mapped at its expected address.
2003-11-17*** empty log message ***gdbadmin1-1/+1
2003-11-162003-11-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-31/+5
* configure.tgt: Delete mips*tx39*-elf*. * config/mips/tm-tx39.h: Delete file. * config/mips/tx39.mt: Delete file. * config/mips/tx39.mt: Delete file.
2003-11-16daily updateAlan Modra1-1/+1
2003-11-162003-11-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney8-221/+112
* mips-tdep.h (deprecated_mips_set_processor_regs_hack): Declare. * remote-mips.c (common_open): Instead of "mips_read_register_type" and "mips_set_processor_type_command" call "deprecated_mips_set_processor_regs_hack". * config/mips/tm-mips.h (mips_read_processor_type): Delete declaration. (mips_set_processor_type_command): Delete declaration. * mips-tdep.c (mips_gdbarch_init): Update comment. (mips_dump_tdep): Do not print MIPS_REGISTER_NAMES. (mips_set_processor_type): Delete function. (NUM_MIPS_PROCESSOR_REGS): Define. (mips_show_processor_type_command): Delete function. (mips_set_processor_type_command): Delete function. (tmp_mips_processor_type): Delete. (mips_processor_type): Delete. (mips_processor_type_table): Delete. (mips_r3051_reg_names): Delete. (mips_r3081_reg_names): Delete. (mips_lsi33k_reg_names): Delete. (mips_processor_reg_names): Delete. (mips_read_processor_type): Delete function. (deprecated_mips_set_processor_regs_hack): New function. (struct gdbarch_tdep): Add member "mips_processor_reg_names". (mips_register_name): Get the processor names from the tdep. (mips_tx39_reg_names): New array. (mips_generic_reg_names): Wire to a standard set of names. (mips_gdbarch_init): Set "mips_processor_reg_names". * config/mips/tm-irix5.h (MIPS_REGISTER_NAMES): Delete macro. * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Delete macro. * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Delete macro.
2003-11-162003-11-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney17-385/+408
* mips-tdep.c (struct gdbarch_tdep): Add field "regnum". (mips_fpa0_regnum, mips_regnum): New function. (mips_gdbarch_init): Fill in the "regnum" fields. * mips-tdep.h (struct mips_regnum): Define. (mips_regnum): Declare. * config/mips/tm-mips.h (BADVADDR_REGNUM): Delete macro. (LO_REGNUM, HI_REGNUM, BADVADDR_REGNUM): Ditto. (CAUSE_REGNUM, PC_REGNUM, FP0_REGNUM): Ditto. (FCRCS_REGNUM, FCRIR_REGNUM, FPA0_REGNUM): Ditto. * config/mips/tm-irix6.h (FP0_REGNUM): Delete macro. (PC_REGNUM, CAUSE_REGNUM, BADVADDR_REGNUM): Ditto. (HI_REGNUM, LO_REGNUM, FCRCS_REGNUM, FCRIR_REGNUM): Ditto. * config/mips/tm-irix5.h (FP0_REGNUM): Delete macro. (PC_REGNUM, CAUSE_REGNUM, BADVADDR_REGNUM): Ditto. (HI_REGNUM, LO_REGNUM, FCRCS_REGNUM, FCRIR_REGNUM): Ditto. * remote-mips.c: Include "mips-tdep.h". Update. * mipsnbsd-tdep.c: Update. * mipsv4-nat.c: Update. * mips-tdep.c: Update. * mips-nat.c: Update. * mips-linux-tdep.c: Update. * mips-linux-nat.c: Update. * irix5-nat.c: Update. * dve3900-rom.c: Include "mips-tdep.h". Update. (ignore_packet): Supress GCC warning. * config/mips/nm-riscos.h: Update. * Makefile.in (dve3900-rom.o, remote-mips.o): Update dependencies.
2003-11-162003-11-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-69/+83
* mips-tdep.c: Replace DEPRECATED_REGISTER_RAW_SIZE with register_size. (mips_register_raw_size): Delete function. (mips_register_type): Handle "mips64_transfers_32bit_regs_p". (mips_gdbarch_init): Do not set "deprecated_register_raw_size". Check and set "mips64_transfers_32bit_regs_p". (struct gdbarch_tdep): Add "mips64_transfers_32bit_regs_p". (mips_register_convertible): Check the architecture's "mips64_transfers_32bit_regs_p". (set_mips64_transfers_32bit_regs): New function. (_initialize_mips_tdep): Use "add_setshow_cmd" when adding the "set remote-mips64-transfers-32bit-regs" command. Specify set_mips64_transfers_32bit_regs as the set function.
2003-11-16* i386-tdep.h (i386_supply_gregset): Provide prototype.Mark Kettenis3-1/+13
* i386-tdep.c (i386_supply_gregset): Make public.
2003-11-162003-11-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-66/+8
* mips-tdep.c (mips_register_byte): Delete function. (mips_gdbarch_init): Do not set "deprecated_register_byte". * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Delete macro. * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Delete macro. * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Delete macro.
2003-11-16* i386-tdep.c (i386_extract_return_value): Don't use bfd_byte.Mark Kettenis2-3/+6
2003-11-162003-11-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney9-80/+16
* config/mips/linux64.mt: Delete file. * config/mips/tm-linux64.h: Delete file. * config/mips/tm-mips64.h: Delete file. * config/mips/embed64.mt: Delete file. * config/djgpp/fnchange.lst: Update. * configure.tgt: Delete explicit patterns for mipsisa64*-*-linux*, mips64*-*-linux*, mips64*-*-*, and mipsisa64*-*-*. * config/mips/tm-irix6.h: Update copyright. Include "mips/tm-mips.h" instead of "mips/tm-mips64.h". * mips-tdep.c (mips_dump_tdep): Do not print "OP_LDFPR" or "OP_LDGPR".
2003-11-162003-11-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-63/+47
* mips-tdep.c (mips_register_type): Simplify. Eliminate reference to MIPS_REGISTER_TYPE. Make integer registers signed. Make IRIX n32 registers 64 bit. (mips_register_raw_size, mips_register_byte): For pseudo registers, use the register's pseudo size and not the corresponding raw register's size. * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Delete macro. * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Delete macro. * config/mips/tm-irix6.h: Don't #undef MIPS_REGISTER_TYPE. * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Delete macro.
2003-11-16*** empty log message ***gdbadmin1-1/+1
2003-11-152003-11-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-49/+28
* mips-tdep.c (struct gdbarch_tdep): Delete member gdb_target_is_mips64. (GDB_TARGET_IS_MIPS64): Delete macro. (mips_gdbarch_init): Do not set tdep's gdb_target_is_mips64. (mips_dump_tdep): Do not print GDB_TARGET_IS_MIPS64. (mips_addr_bits_remove): Simplify.
2003-11-152003-11-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-7/+11
* mips-tdep.c: Replace DEPRECATED_REGISTER_VIRTUAL_SIZE with register_size.
2003-11-152003-11-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney11-63/+99
Replace MIPS_REGSIZE with mips_regsize. * mips-tdep.c (mips_regsize): New function. * mips-tdep.h (mips_regsize): Declare. * mipsnbsd-tdep.h (SIZEOF_STRUCT_FPREG): Update. (SIZEOF_STRUCT_REG): Update. * mipsnbsd-tdep.c (mipsnbsd_supply_reg): Update. (mipsnbsd_fill_reg): Update. (mipsnbsd_supply_fpreg): Update. (mipsnbsd_fill_fpreg): Update. (NBSD_MIPS_JB_ELEMENT_SIZE): Update. * mips-tdep.c (mips_register_raw_size): Update. (mips_register_type): Update. (SIGFRAME_BASE): Update. (SIGFRAME_PC_OFF): Update. (SIGFRAME_REGSAVE_OFF): Update. (SIGFRAME_FPREGSAVE_OFF): Update. (SIGFRAME_REG_SIZE): Update. (mips32_heuristic_proc_desc): Update. (print_gp_register_row): Update. (mips_dump_tdep): Do not print MIPS_REGSIZE. * irix5-nat.c (supply_gregset): Update. (fetch_core_registers): Update. * config/mips/tm-mips64.h (MIPS_REGSIZE): Delete macro. * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Update. * config/mips/tm-mips.h (MIPS_REGSIZE): Delete macro. (MIPS_REGISTER_BYTE): Update. * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Update.
2003-11-152003-11-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-2/+10
* config/sparc/tm-sparc.h (DEPRECATE_USE_REGISTER_NOT_ARG): Rename USE_REGISTER_NOT_ARG. * stabsread.c (define_symbol): Update.
2003-11-152003-11-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-8/+37
* bcache.h (deprecated_bcache): Declare. (bcache): Make returned buffer constant. * bcache.c (deprecated_bcache): New function. (bcache_data): New function. (bcache): Call bcache data. * symfile.c (add_psymbol_to_list): Use deprecated_bcache. (add_psymbol_with_dem_name_to_list): Ditto.
2003-11-152003-11-15 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-899/+4
* gdb.trace/configure: Remove.
2003-11-15Move an entry that belong to sim/h8300/ChangeLog.Kazu Hirata2-13/+15
2003-11-15* config/tc-mips.c: Formatting fixes.Maciej W. Rozycki2-5/+9
2003-11-15* glibc-tdep.h (struct gdbarch): Declare opaque.Mark Kettenis7-32/+21
(glibc_skip_solib_resolver): Adjust prototype. * glibc-tdep.c (glibc_skip_solib_resolver): Adjust. * arm-linux-tdep.c (arm_linux_skip_solib_resolver): Remove. (arm_linux_init_abi): Set skip_solib_resolver. * i386-linux-tdep.c (i386_linux_skip_solib_resolver): Remove. (i386_linux_init_abi): Set skip_solib_resolver. * config/arm/tm-linux.h (SKIP_SOLIB_RESOLVER): Remove. (arm_linux_skip_solib_resolver): Remove prototype. * config/i386/tm-linux.h (SKIP_SOLIB_RESOLVER): Remove. (i386_linux_skip_solib_resolver): Remove prototype.
2003-11-15*** empty log message ***gdbadmin1-1/+1
2003-11-14* gdbarch.sh (skip_solib_resolver): Change into a multi-archMark Kettenis7-22/+23
function. * gdbarch.c, gdbarch.h: Regenerate. * infrun.c (handle_inferior_event): Call gdbarch_skip_solib_resolver instead of SKIP_SOLIB_RESOLVER. * arch-utils.c (generic_in_solib_call_trampoline): Adjust function definition. * arch-utils.h (generic_in_solib_call_trampoline): Adjust function prototype.
2003-11-142003-11-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston8-524/+1219
* libunwind-frame.c: New file. * libunwind-frame.h: New file. * acconfig.h (HAVE_LIBUNWIND): #undef reference added. * configure.in: Add --with-libunwind option support. Define HAVE_LIBUNWIND if libunwind support selected / defaulted. Also check for libunwind.h and libunwind-ia64.h headers. * configure: Regenerated. * Makefile.in: Add support for libunwind-frame.o. * config.in: Regenerated.
2003-11-142003-11-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston5-4/+36
* config/ia64/nm-linux.h (NATIVE_XFER_UNWIND_TABLE): New macro to set up the ia64 linux native target method for getting the kernel unwind table. * ia64-linux-nat.c (ia64_linux_xfer_unwind_table): New function. * inftarg.c (child_xfer_partial): Enable section of code to handle TARGET_OBJECT_UNWIND_TABLE. * target.h (target_object): Add new TARGET_OBJECT_UNWIND_TABLE macro.
2003-11-14 * config/arm/nbsd.mt (TM_FILE): Define.Ian Lance Taylor3-0/+32
* config/arm/tm-nbsd.h: New file.
2003-11-14 * elfxx-mips.c (mips_elf_merge_gots): Weaken assert for localDaniel Jacobowitz2-2/+7
GOT entries.
2003-11-14Add new field to disassemble_info structure: symbol_is_valid() and use it toNick Clifton12-60/+170
skip displaying arm elf mapping symbols in disassembly output.
2003-11-142003-11-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-15/+32
* Makefile.in (ppc-sysv-tdep.o): Update dependencies. * ppc-sysv-tdep.c: Include "objfiles.h". (ppc64_sysv_abi_push_dummy_call): Provide the the FN's objfile when looking for the descriptor.
2003-11-142003-11-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+8
* ppc-linux-tdep.c (ppc_linux_init_abi): Set PPC64's "name_of_malloc" to ".malloc".
2003-11-14Fix typo in ChangeLog entry: s/R_390_RELAVITE/R_390_RELATIVE/.Martin Schwidefsky1-2/+2
2003-11-14oops - oomitted during previous commitNick Clifton1-0/+3
2003-11-14 * config/tc-arm.c (arm_elf_change_section): Not static.Ben Elliston2-1/+5
2003-11-14*** empty log message ***gdbadmin1-1/+1
2003-11-13* config/i386/x86-64linux.mt (TDEPFILES): Add glibc-tdep.o.Mark Kettenis2-1/+5
2003-11-132003-11-13 David Carlton <carlton@kealia.com>David Carlton2-1/+5
* cp-namespace.c (lookup_namespace_scope): Fix typo in comment.
2003-11-132003-11-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-75/+69
* arch-utils.h (selected_architecture_name): Declare. (selected_byte_order): Declare. * arch-utils.c (selected_byte_order): New function. (selected_architecture_name): New function. (target_architecture_auto): Make static. (set_architecture_string): Make static. (target_byte_order): Make static. (target_byte_order_auto): Make static. * gdbarch.sh (TARGET_BYTE_ORDER, TARGET_ARCHITECTURE): Delete non-multi-arch definition. (TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_AUTO): Delete. (target_byte_order, target_architecture): Delete declaration. (target_byte_order_auto, target_architecture_auto): Ditto. * gdbarch.h: Re-generate. * remote-sim.c (gdbsim_open): Use "selected_architecture_name" and "selected_byte_order".
2003-11-132003-11-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+8
* ppc-linux-tdep.c (ppc_linux_return_value): Fix parameter order.
2003-11-13* cp-namespace.c: Doc fix.Jim Blandy2-1/+5
2003-11-13Emit a warning when an archive is created (only shown with -v) in order toNick Clifton2-0/+7
confrom to POSIX specification.
2003-11-13 * elf32-s390.c (elf_s390_relocate_section): Only convert R_390_32Martin Schwidefsky3-6/+83
to R_390_RELAVITE. Convert the other relocations against local symbols to relocations against the start of the section. * elf64-s390.c (elf_s390_relocate_section): Only convert R_390_64 to R_390_RELAVITE. Convert the other relocations against local symbols to relocations against the start of the section.
2003-11-132003-11-13 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-88/+113
* gdb.base/break.c: Add comments to aid finding line numbers for breakpoints. * gdb.base/break.exp: Remove all references to explicit line numbers.
2003-11-13Add support for ARM ELF Mapping symbolsNick Clifton8-0/+271
2003-11-132003-11-12 Michael Snyder <msnyder@redhat.com>Michael Snyder2-31/+44
* sh64_tdep.c: Regularize some names. (sh_sh64_register_name): Rename to sh64_register_name. (sh_sh64_breakpoint_from_pc): Rename to sh64_breakpoint_from_pc. (sh_sh64_register_byte): Rename to sh64_register_byte. (sh_sh64_build_float_register_type): Rename to sh64_build_float_register_type. (sh_sh64_register_convert_to_virtual): Rename to sh64_register_convert_to_virtual. (sh_sh64_register_convert_to_raw): Rename to sh64_register_convert_to_raw.
2003-11-13*** empty log message ***gdbadmin1-1/+1
2003-11-122003-11-12 Michael Snyder <msnyder@redhat.com>Michael Snyder2-24/+13
* sh64-tdep.c (translate_insn_rn, is_media_pseudo, sh64_media_reg_base_num, sh64_compact_reg_base_num, sh64_nofp_frame_init_saved_regs, sh64_push_arguments, sh64_extract_return_value, sh64_show_media_regs, sh64_show_compact_regs, sh_sh64_register_byte, sh64_register_type, sh_sh64_register_convert_to_virtual, sh_sh64_register_convert_to_raw, sh64_pseudo_register_read, sh64_pseudo_register_write, sh64_do_pseudo_register, sh_compact_print_registers_info): Delete unused variable 'tdep'.
2003-11-122003-11-12 Michael Snyder <msnyder@redhat.com>Michael Snyder2-220/+221
* sh64-tdep.c: Coding standard and spelling comment fixes. (sh64_extract_return_value): Replace deprecated_store_floating with store_typed_floating. (sh_sh64_register_convert_to_raw): Replace deprecated_store_floating with store_typed_floating. (sh_sh64_register_virtual_type): Convert to sh64_register_type. (sh64_frame_chain, sh64_get_saved_pr, sh64_get_saved_register, sh64_nofp_frame_init_saved_regs, sh64_push_arguments, sh64_extract_struct_value_address, sh64_pop_frame, sh64_extract_return_value, sh64_store_return_value, sh_sh64_register_convert_to_virtual, sh64_pseudo_register_read, sh_sh64_register_convert_to_raw, sh_pseudo_register_write): Replace DEPRECATED_REGISTER_RAW_SIZE with register_size. Replace DEPRECATED_REGISTER_VIRTUAL_TYPE with register_type. (sh64_gdbarch_init): Don't set deprecated_register_bytes, deprecated_register_virtual_type, deprecated_register_raw_size, deprecated_max_register_raw_size, or deprecated_max_register_virtual_size. Instead, just set gdbarch_register_type.