Kazu Hirata [Thu, 20 Nov 2003 03:11:18 +0000 (03:11 +0000)]
* config/tc-mcore.h: Remove prototypes already in tc.h.
* config/tc-tic4x.c: Likewise.
DJ Delorie [Thu, 20 Nov 2003 02:01:32 +0000 (02:01 +0000)]
merge from gcc
Kazu Hirata [Thu, 20 Nov 2003 01:36:49 +0000 (01:36 +0000)]
* config/tc-arc.c: Remove a local prototype of atof_ieee.
* config/tc-ip2k.c: Likewise.
* config/tc-iq2000.c: Likewise.
* config/tc-tic30.c: Remove a comment.
Kazu Hirata [Thu, 20 Nov 2003 00:01:55 +0000 (00:01 +0000)]
* config/obj-aout.h: Fix comment typos.
* config/obj-bout.h: Likewise.
* config/obj-coff.c: Likewise.
* config/obj-coff.h: Likewise.
* config/obj-elf.c: Likewise.
* config/obj-ieee.c: Likewise.
* config/obj-som.c: Likewise.
* config/obj-vms.c: Likewise.
* config/obj-vms.h: Likewise.
gdbadmin [Thu, 20 Nov 2003 00:01:02 +0000 (00:01 +0000)]
*** empty log message ***
Bob Wilson [Wed, 19 Nov 2003 23:55:06 +0000 (23:55 +0000)]
* config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add
call to dwarf2_emit_insn.
Alan Modra [Wed, 19 Nov 2003 23:00:07 +0000 (23:00 +0000)]
daily update
DJ Delorie [Wed, 19 Nov 2003 19:56:22 +0000 (19:56 +0000)]
* Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.
* Makefile.in: Regenerate.
Kazu Hirata [Wed, 19 Nov 2003 19:44:58 +0000 (19:44 +0000)]
* h8300-dis.c (print_colon_thingie): Remove.
Andrew Cagney [Wed, 19 Nov 2003 18:34:52 +0000 (18:34 +0000)]
2003-11-19 Andrew Cagney <cagney@redhat.com>
* gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
KFAIL.
Mark Kettenis [Wed, 19 Nov 2003 17:42:43 +0000 (17:42 +0000)]
New testcase for PR backtrace/1435.
* gdb.arch/i386-unwind.exp: New file.
* gdb.arch/i386-unwind.c: New file.
Mark Kettenis [Wed, 19 Nov 2003 17:35:46 +0000 (17:35 +0000)]
* frame.c (get_prev_frame): Use result from
get_frame_address_in_block instead of get_frame_pc as argument to
inside_main_func. Fixes PR backtrace/1435.
Andrew Cagney [Wed, 19 Nov 2003 16:27:56 +0000 (16:27 +0000)]
2003-11-19 Andrew Cagney <cagney@redhat.com>
* stack.c (return_command): Handle "void", "legacy" and "unknown
location" return values separatly.
* values.c (using_struct_return): Return 0 for a "void" return
type. Mention "register_value_being_returned".
(register_value_being_returned): Mention "using_struct_return".
DJ Delorie [Wed, 19 Nov 2003 16:19:14 +0000 (16:19 +0000)]
merge from gcc
Daniel Jacobowitz [Wed, 19 Nov 2003 15:08:01 +0000 (15:08 +0000)]
* dwarf2read.c (offreg, basereg, isderef, frame_base_reg)
(frame_base_offset): Delete.
(read_func_scope): Delete call to decode_locdesc.
(decode_locdesc): Update comments. Don't set the removed variables.
Complain for DW_OP_reg* not at the end. Remove DW_OP_breg* and
DW_OP_fbreg support.
Alan Modra [Wed, 19 Nov 2003 08:21:14 +0000 (08:21 +0000)]
* objdump.c: Wrap long lines, init vars separately from decl.
(disassemble_section): Reset require_sec after call to
find_symbol_for_address.
Alan Modra [Wed, 19 Nov 2003 03:46:08 +0000 (03:46 +0000)]
* ld-powerpc/tlsexe32.d: Update for changed symbols from objdump.
* ld-powerpc/tlsso32.d: Likewise.
Jim Wilson [Wed, 19 Nov 2003 02:40:55 +0000 (02:40 +0000)]
Fix IA-64 linker failure reported by Andreas Schwab.
* ldlang.c (lang_process): Move lang_reset_memory_regions call after
lang_do_assignments call.
Jim Wilson [Wed, 19 Nov 2003 01:06:13 +0000 (01:06 +0000)]
Fix -pie core dump with .rela.opd section.
bfd/ChangeLog
* elfxx-ia64.c (get_fptr): For fptr_rel, use dynobj not abfd.
(elfNN_ia64_size_dynamic_sections): When stripping sections, check
for ia64_info->rel_fptr_sec.
ld/ChangeLog
* emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include
.rela.opd if -pie.
gdbadmin [Wed, 19 Nov 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 18 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Tue, 18 Nov 2003 21:51:38 +0000 (21:51 +0000)]
* dwarf2read.c (optimized_out, islocal): Remove.
(decode_locdesc): Update comments. Don't set optimized_out
or islocal.
Maciej W. Rozycki [Tue, 18 Nov 2003 21:22:57 +0000 (21:22 +0000)]
* config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"
for loading addresses using CALL relocations.
Don't emit CALL relocations when a base register is used.
* gas/mips/lca-svr4pic.d: New test for the "lca" macro.
* gas/mips/lca-xgot.d: Likewise.
* gas/mips/lca.s: Source for the new tests.
* gas/mips/mips.exp: Run the new tests.
* opcode/mips.h: Define new enum members, M_LCA_AB and M_DLCA_AB.
* mips-opc.c (mips_builtin_opcodes): Handle new macros: "lca" and
"dlca".
DJ Delorie [Tue, 18 Nov 2003 19:10:05 +0000 (19:10 +0000)]
merge from gcc
Alan Modra [Tue, 18 Nov 2003 04:14:15 +0000 (04:14 +0000)]
* elf64-ppc.c (toc_adjusting_stub_needed): Exit early if section
size is zero.
gdbadmin [Tue, 18 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 17 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Jeff Johnston [Mon, 17 Nov 2003 21:38:36 +0000 (21:38 +0000)]
2003-11-17 Jeff Johnston <jjohnstn@redhat.com>
David Mosberger <davidm@hpl.hp.com>
* ia64-tdep.c: Include elf.h.
[HAVE_LIBUNWIND_IA64_H]: Include libunwind-frame.h and
libunwind-ia64.h.
(ia64_rse_slot_num, ia64_rse_skip_regs): New for libunwind support.
(ia64_gdb2uw_regnum, ia64_uw2gdb_regnum): Ditto.
(ia64_is_fpreg, ia64_access_reg): Ditto.
(ia64_access_fpreg, ia64_access_mem): Ditto.
(get_kernel_table): Ditto.
(ia64_find_unwind_table): Ditto.
(ia64_find_proc_info_x, ia64_put_unwind_info): Ditto.
(ia64_get_dyn_info_list, ia64_libunwind_frame_this_id): Ditto.
(ia64_libunwind_frame_prev_register): Ditto.
(ia64_libunwind_frame_sniffer): Ditto.
(ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Add libunwind frame
sniffer. Register libunwind functions needed by generic
libunwind frame code using libunwind_frame_set_descr().
Daniel Jacobowitz [Mon, 17 Nov 2003 21:31:11 +0000 (21:31 +0000)]
* elf.c (_bfd_elf_link_hash_copy_indirect): Copy
ELF_LINK_HASH_NEEDS_PLT. Fix formatting.
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise.
* elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
* elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
* elf32-xtensa.c (elf_xtensa_copy_indirect_symbol): Remove.
(elf_backend_copy_indirect_symbol): Don't define.
Andrew Cagney [Mon, 17 Nov 2003 15:09:19 +0000 (15:09 +0000)]
Oops, accidental commit, reverting.
Andrew Cagney [Mon, 17 Nov 2003 15:00:20 +0000 (15:00 +0000)]
2003-11-17 Andrew Cagney <cagney@redhat.com>
* 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>.
Daniel Jacobowitz [Mon, 17 Nov 2003 00:55:49 +0000 (00:55 +0000)]
* breakpoint.c (re_enable_breakpoints_in_shlibs): Only re-enable a
bp_shlib_disabled breakpoint if there is a shared library mapped
at its expected address.
gdbadmin [Mon, 17 Nov 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Sun, 16 Nov 2003 23:08:36 +0000 (23:08 +0000)]
2003-11-16 Andrew Cagney <cagney@redhat.com>
* 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.
Alan Modra [Sun, 16 Nov 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Sun, 16 Nov 2003 22:46:49 +0000 (22:46 +0000)]
2003-11-16 Andrew Cagney <cagney@redhat.com>
* 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.
Andrew Cagney [Sun, 16 Nov 2003 19:24:05 +0000 (19:24 +0000)]
2003-11-16 Andrew Cagney <cagney@redhat.com>
* 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.
Andrew Cagney [Sun, 16 Nov 2003 16:13:50 +0000 (16:13 +0000)]
2003-11-16 Andrew Cagney <cagney@redhat.com>
* 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.
Mark Kettenis [Sun, 16 Nov 2003 15:07:00 +0000 (15:07 +0000)]
* i386-tdep.h (i386_supply_gregset): Provide prototype.
* i386-tdep.c (i386_supply_gregset): Make public.
Andrew Cagney [Sun, 16 Nov 2003 14:31:53 +0000 (14:31 +0000)]
2003-11-16 Andrew Cagney <cagney@redhat.com>
* 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.
Mark Kettenis [Sun, 16 Nov 2003 10:43:07 +0000 (10:43 +0000)]
* i386-tdep.c (i386_extract_return_value): Don't use bfd_byte.
Andrew Cagney [Sun, 16 Nov 2003 05:57:09 +0000 (05:57 +0000)]
2003-11-16 Andrew Cagney <cagney@redhat.com>
* 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".
Andrew Cagney [Sun, 16 Nov 2003 04:57:25 +0000 (04:57 +0000)]
2003-11-15 Andrew Cagney <cagney@redhat.com>
* 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.
gdbadmin [Sun, 16 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Sat, 15 Nov 2003 23:34:55 +0000 (23:34 +0000)]
2003-11-15 Andrew Cagney <cagney@redhat.com>
* 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.
Andrew Cagney [Sat, 15 Nov 2003 22:35:37 +0000 (22:35 +0000)]
2003-11-15 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c: Replace DEPRECATED_REGISTER_VIRTUAL_SIZE with
register_size.
Andrew Cagney [Sat, 15 Nov 2003 22:09:07 +0000 (22:09 +0000)]
2003-11-15 Andrew Cagney <cagney@redhat.com>
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.
Andrew Cagney [Sat, 15 Nov 2003 21:49:30 +0000 (21:49 +0000)]
2003-11-15 Andrew Cagney <cagney@redhat.com>
* config/sparc/tm-sparc.h (DEPRECATE_USE_REGISTER_NOT_ARG): Rename
USE_REGISTER_NOT_ARG.
* stabsread.c (define_symbol): Update.
Andrew Cagney [Sat, 15 Nov 2003 19:39:04 +0000 (19:39 +0000)]
2003-11-15 Andrew Cagney <cagney@redhat.com>
* 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.
Michael Chastain [Sat, 15 Nov 2003 18:31:44 +0000 (18:31 +0000)]
2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.trace/configure: Remove.
Kazu Hirata [Sat, 15 Nov 2003 16:57:07 +0000 (16:57 +0000)]
Move an entry that belong to sim/h8300/ChangeLog.
Maciej W. Rozycki [Sat, 15 Nov 2003 15:57:14 +0000 (15:57 +0000)]
* config/tc-mips.c: Formatting fixes.
Mark Kettenis [Sat, 15 Nov 2003 14:02:58 +0000 (14:02 +0000)]
* glibc-tdep.h (struct gdbarch): Declare opaque.
(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.
gdbadmin [Sat, 15 Nov 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Fri, 14 Nov 2003 21:22:42 +0000 (21:22 +0000)]
* gdbarch.sh (skip_solib_resolver): Change into a multi-arch
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.
Jeff Johnston [Fri, 14 Nov 2003 21:17:51 +0000 (21:17 +0000)]
2003-11-14 Jeff Johnston <jjohnstn@redhat.com>
* 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.
Jeff Johnston [Fri, 14 Nov 2003 20:49:23 +0000 (20:49 +0000)]
2003-11-14 Jeff Johnston <jjohnstn@redhat.com>
* 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.
Ian Lance Taylor [Fri, 14 Nov 2003 20:45:12 +0000 (20:45 +0000)]
* config/arm/nbsd.mt (TM_FILE): Define.
* config/arm/tm-nbsd.h: New file.
Daniel Jacobowitz [Fri, 14 Nov 2003 16:05:13 +0000 (16:05 +0000)]
* elfxx-mips.c (mips_elf_merge_gots): Weaken assert for local
GOT entries.
Nick Clifton [Fri, 14 Nov 2003 15:12:44 +0000 (15:12 +0000)]
Add new field to disassemble_info structure: symbol_is_valid() and use it to
skip displaying arm elf mapping symbols in disassembly output.
Andrew Cagney [Fri, 14 Nov 2003 14:34:30 +0000 (14:34 +0000)]
2003-11-14 Andrew Cagney <cagney@redhat.com>
* 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.
Andrew Cagney [Fri, 14 Nov 2003 14:16:29 +0000 (14:16 +0000)]
2003-11-13 Andrew Cagney <cagney@redhat.com>
* ppc-linux-tdep.c (ppc_linux_init_abi): Set PPC64's
"name_of_malloc" to ".malloc".
Martin Schwidefsky [Fri, 14 Nov 2003 09:25:00 +0000 (09:25 +0000)]
Fix typo in ChangeLog entry: s/R_390_RELAVITE/R_390_RELATIVE/.
Nick Clifton [Fri, 14 Nov 2003 08:21:02 +0000 (08:21 +0000)]
oops - oomitted during previous commit
Ben Elliston [Fri, 14 Nov 2003 06:55:21 +0000 (06:55 +0000)]
* config/tc-arm.c (arm_elf_change_section): Not static.
gdbadmin [Fri, 14 Nov 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Thu, 13 Nov 2003 22:01:01 +0000 (22:01 +0000)]
* config/i386/x86-64linux.mt (TDEPFILES): Add glibc-tdep.o.
David Carlton [Thu, 13 Nov 2003 19:34:02 +0000 (19:34 +0000)]
2003-11-13 David Carlton <carlton@kealia.com>
* cp-namespace.c (lookup_namespace_scope): Fix typo in comment.
Andrew Cagney [Thu, 13 Nov 2003 19:06:26 +0000 (19:06 +0000)]
2003-11-13 Andrew Cagney <cagney@redhat.com>
* 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".
Andrew Cagney [Thu, 13 Nov 2003 18:08:57 +0000 (18:08 +0000)]
2003-11-13 Andrew Cagney <cagney@redhat.com>
* ppc-linux-tdep.c (ppc_linux_return_value): Fix parameter order.
Jim Blandy [Thu, 13 Nov 2003 17:28:38 +0000 (17:28 +0000)]
* cp-namespace.c: Doc fix.
Nick Clifton [Thu, 13 Nov 2003 16:01:52 +0000 (16:01 +0000)]
Emit a warning when an archive is created (only shown with -v) in order to
confrom to POSIX specification.
Martin Schwidefsky [Thu, 13 Nov 2003 15:56:50 +0000 (15:56 +0000)]
* elf32-s390.c (elf_s390_relocate_section): Only convert R_390_32
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.
Elena Zannoni [Thu, 13 Nov 2003 15:34:39 +0000 (15:34 +0000)]
2003-11-13 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/break.c: Add comments to aid finding line numbers for
breakpoints.
* gdb.base/break.exp: Remove all references to explicit line
numbers.
Nick Clifton [Thu, 13 Nov 2003 14:19:01 +0000 (14:19 +0000)]
Add support for ARM ELF Mapping symbols
Michael Snyder [Thu, 13 Nov 2003 00:04:59 +0000 (00:04 +0000)]
2003-11-12 Michael Snyder <msnyder@redhat.com>
* 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.
gdbadmin [Thu, 13 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Wed, 12 Nov 2003 22:45:41 +0000 (22:45 +0000)]
2003-11-12 Michael Snyder <msnyder@redhat.com>
* 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'.
Michael Snyder [Wed, 12 Nov 2003 22:12:59 +0000 (22:12 +0000)]
2003-11-12 Michael Snyder <msnyder@redhat.com>
* 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.
Daniel Jacobowitz [Wed, 12 Nov 2003 17:15:38 +0000 (17:15 +0000)]
* Makefile.am (install, install-info, RECURSIVE_TARGETS): Define.
* doc/Makefile.am (install-info): Define.
* aclocal.m4: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
Daniel Jacobowitz [Wed, 12 Nov 2003 17:10:55 +0000 (17:10 +0000)]
* dwarf2read.c (struct dwarf2_cu): New type.
(dwarf2_build_psymtabs_hard, psymtab_to_symtab_1): Create a
dwarf2_cu structure to pass down.
(scan_partial_symbols, add_partial_symbol, add_partial_namespace)
(add_partial_enumeration, locate_pdi_sibling, process_die)
(read_file_scope, read_func_scope)
(read_lexical_block_scope, dwarf2_get_pc_bounds)
(dwarf2_add_field, dwarf2_attach_fields_to_type)
(dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type)
(read_structure_scope, read_enumeration, read_array_type)
(read_common_block, read_namespace, read_tag_pointer_type)
(read_tag_ptr_to_member_type, read_tag_reference_type)
(read_tag_const_type, read_tag_volatile_type, read_tag_string_type)
(read_subroutine_type, read_typedef, read_base_type, read_comp_unit)
(read_die_and_children, read_die_and_siblings, dwarf2_read_section)
(dwarf2_read_abbrevs, dwarf2_lookup_abbrev, read_partial_die)
(read_full_die. read_attribute_value, read_attribute)
(read_address, dwarf_decode_line_header, dwarf_decode_lines)
(var_decode_location, new_symbol, dwarf2_const_value, die_type)
(die_containing_type, type_at_offset, tag_type_to_type)
(read_type_die, dwarf_base_type, decode_locdesc, dwarf_decode_macros)
(dwarf2_symbol_mark_computed): Accept and use a dwarf2_cu object.
Daniel Jacobowitz [Wed, 12 Nov 2003 17:00:42 +0000 (17:00 +0000)]
PR breakpoints/1450
* breakpoint.c (insert_bp_location): Fix a logic error by returning
0 after a catchpoint fails.
gdbadmin [Wed, 12 Nov 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 11 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Michael Chastain [Tue, 11 Nov 2003 21:07:52 +0000 (21:07 +0000)]
2003-11-11 Michael Chastain <mec.gnu@mindspring.com>
* mips-tdep.c (msymbol_size): Delete.
Michael Chastain [Tue, 11 Nov 2003 20:04:52 +0000 (20:04 +0000)]
2003-11-07 Michael Chastain <mec@shout.net>
* symtab.h (struct minimal_symbol): Add size.
* dbxread.c: Use it.
* elfread.c: (record_minimal_symbol_and_info): Do not use info.
Rename to record_minimal_symbol.
(elf_symtab_read): Set MSYMBOL_SIZE explicitly.
* minsyms.c (prim_record_minimal_symbol_and_info): Initialize MSYMBOL_SIZE.
(install_minimal_symbols): Ditto.
* objfiles.c (terminate_minimal_symbol_table): Ditto.
* arm-tdep.c: Delete unused MSYMBOL_SIZE.
* m68hc11-tdep.c: Ditto.
* mips-tdep.c: Ditto.
* sh64-tdep.c: Ditto.
Nick Clifton [Tue, 11 Nov 2003 17:58:28 +0000 (17:58 +0000)]
Do not run for targets which do not support shared objects.
Nick Clifton [Tue, 11 Nov 2003 17:50:26 +0000 (17:50 +0000)]
Add new feature to objcopy/strip. The -w switch allows wildcards to be used
in symbol names.
Michael Chastain [Tue, 11 Nov 2003 14:51:33 +0000 (14:51 +0000)]
2003-11-10 Michael Chastain <mec.gnu@mindspring.com>
* MAINTAINERS: Change my e-mail address.
Elena Zannoni [Tue, 11 Nov 2003 14:09:37 +0000 (14:09 +0000)]
2003-11-11 Elena Zannoni <ezannoni@redhat.com>
* stabs.texinfo: Add dircategory and direntry commands.
* annotate.texinfo: Ditto.
Nick Clifton [Tue, 11 Nov 2003 13:32:38 +0000 (13:32 +0000)]
Fix decision about when a .interp section should exist
Nick Clifton [Tue, 11 Nov 2003 12:05:08 +0000 (12:05 +0000)]
Add support for arm-wince-pe target.
Andreas Jaeger [Tue, 11 Nov 2003 09:30:48 +0000 (09:30 +0000)]
2003-11-11 Jan Hubicka <jh@suse.cz>
* config/tc-i386.c (tc_i386_fix_adjustable):
Alan Modra [Tue, 11 Nov 2003 01:57:04 +0000 (01:57 +0000)]
* objdump.c: Revert rev 1.81 commit.
gdbadmin [Tue, 11 Nov 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 10 Nov 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Mon, 10 Nov 2003 22:47:31 +0000 (22:47 +0000)]
2003-11-10 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (return_value): Replace "inval" and "outval" with
"readbuf" and "writebuf".
* ppcnbsd-tdep.c (ppcnbsd_return_value): Ditto.
* d10v-tdep.c (d10v_return_value): Ditto.
* ppc-tdep.h (ppc_sysv_abi_return_value): Ditto.
(ppc_sysv_abi_broken_return_value): Ditto.
(ppc64_sysv_abi_return_value): Ditto.
* ppc-sysv-tdep.c (do_ppc_sysv_return_value): Ditto.
(ppc_sysv_abi_return_value): Ditto.
(ppc_sysv_abi_broken_return_value): Ditto.
(ppc64_sysv_abi_return_value): Ditto.
* values.c (register_value_being_returned): Update call.
* stack.c (return_command): Update call.
* gdbarch.h, gdbarch.c: Re-generate.
Index: gdb/doc/ChangeLog
2003-11-10 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Replace the
return_value method's "inval" and "outval" parameters with
"readbuf" and "writebuf".
Andrew Cagney [Mon, 10 Nov 2003 21:20:44 +0000 (21:20 +0000)]
2003-11-10 Andrew Cagney <cagney@redhat.com>
* target.h (struct target_ops): Order xfer buffer parameters "read
write" not "write read".
* bfd-target.c (target_bfd_xfer_partial): Update.
* remote.c (remote_xfer_partial): Update.
* inftarg.c (child_xfer_partial): Update.
* target.c (default_xfer_partial): Update.
(target_read_partial, target_write_partial): Update.
(debug_to_xfer_partial): Update.
Nick Clifton [Mon, 10 Nov 2003 17:28:33 +0000 (17:28 +0000)]
Remove "member" from verbose output of "-dv" in order to conform to POSIX
specification.
Nick Clifton [Mon, 10 Nov 2003 17:04:55 +0000 (17:04 +0000)]
Add initial support for TLS sections in PE format files.