Michael Snyder [Fri, 17 Oct 2003 00:15:25 +0000 (00:15 +0000)]
2003-10-16 Michael Snyder <msnyder@redhat.com>
* emul_netbsd.c: Only a comment may follow an #endif.
gdbadmin [Fri, 17 Oct 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 17 Oct 2003 00:00:06 +0000 (00:00 +0000)]
daily update
H.J. Lu [Thu, 16 Oct 2003 21:05:32 +0000 (21:05 +0000)]
2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn
undefined patterns with '*'.
H.J. Lu [Thu, 16 Oct 2003 21:04:04 +0000 (21:04 +0000)]
2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't
use the last CIE from a different section.
(_bfd_elf_write_section_eh_frame): Don't pad beyond the raw
size of the output section.
Daniel Jacobowitz [Thu, 16 Oct 2003 20:51:47 +0000 (20:51 +0000)]
* remote.c (remote_protocol_vcont): New variable.
(set_remote_protocol_vcont_packet_cmd): New function.
(show_remote_protocol_vcont_packet_cmd): New function.
(init_all_packet_configs): Handle remote_protocol_vcont.
(remote_vcont_probe): New function.
(remote_vcont_resume): New function.
(remote_resume): Use it.
(remote_async_resume): Call remote_resume.
(_initialize_remote): Add verbose-resume packet commands.
Roland McGrath [Thu, 16 Oct 2003 18:55:52 +0000 (18:55 +0000)]
.
Roland McGrath [Thu, 16 Oct 2003 18:55:48 +0000 (18:55 +0000)]
2003-10-07 Roland McGrath <roland@redhat.com>
* elf.c (_bfd_elf_make_section_from_phdr): Set alignment_power of
new section from p_align header field.
Andrew Cagney [Thu, 16 Oct 2003 18:24:13 +0000 (18:24 +0000)]
2003-10-16 Andrew Cagney <cagney@redhat.com>
* infrun.c (handle_inferior_event): Add comment about
"frame_id_inner" being too weak.
Elena Zannoni [Thu, 16 Oct 2003 16:35:27 +0000 (16:35 +0000)]
2003-10-16 Elena Zannoni <ezannoni@redhat.com>
* minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
second parameter, which is always null. Remove
SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code.
* symtab.h (lookup_minimal_symbol_solib_trampoline): Update
accordingly.
* somsolib.c (som_solib_create_inferior_hook,
som_solib_desire_dynamic_linker_symbols): Update callers.
* hppa-tdep.c (hppa_fix_call_dummy): Ditto.
H.J. Lu [Thu, 16 Oct 2003 15:25:54 +0000 (15:25 +0000)]
2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
* elf32-xtensa.c (xtensa_read_table_entries): The external size
of entry is 8 bytes.
H.J. Lu [Thu, 16 Oct 2003 15:22:27 +0000 (15:22 +0000)]
2003-10-14 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/demangle-expected: Update the expected output of
_GLOBAL__I__Z2fnv.
Alan Modra [Thu, 16 Oct 2003 13:16:26 +0000 (13:16 +0000)]
* configure.in: Set em=linux for ppc-*-linux-gnu* target.
* configure: Regenerate.
Alan Modra [Thu, 16 Oct 2003 08:46:35 +0000 (08:46 +0000)]
* Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove. Use
GENSCRIPTS and GEN_DEPENDS in place of these.
* Makefile.in: Regenerate.
* genscripts_extra.sh: Delete. Merge extra functionality to..
* genscripts.sh: ..here.
* emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define.
* emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
* emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
* emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
* emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
Alan Modra [Thu, 16 Oct 2003 06:26:37 +0000 (06:26 +0000)]
* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
use $EMULATION_NAME to call bfd function.
Andrew Cagney [Thu, 16 Oct 2003 04:11:10 +0000 (04:11 +0000)]
Index: doc/ChangeLog
2003-10-15 Andrew Cagney <cagney@redhat.com>
* bfdint.texi (BFD target vector symbols): Rename _get_symtab to
_canonicalize_symtab.
2003-10-15 Andrew Cagney <cagney@redhat.com>
* targets.c (BFD_JUMP_TABLE_SYMBOLS): Replace NAME##_get_symtab
with NAME##_canonicalize_symtab.
* libcoff-in.h (coff_canonicalize_symtab): Update.
* xsym.h (bfd_sym_canonicalize_symtab): Update.
* elf-bfd.h (_bfd_elf_canonicalize_symtab): Update.
* coffgen.c (coff_canonicalize_symtab): Update.
* libbfd-in.h (_bfd_nosymbols_canonicalize_symtab): Update.
* libnlm.h (nlmNAME(canonicalize_symtab)): Update.
* ieee.c (ieee_vec): Update comment.
* libecoff.h (_bfd_ecoff_canonicalize_symtab): Update.
* mmo.c (mmo_canonicalize_symtab): Update.
* nlm-target.h (nlm_canonicalize_symtab): Update.
* nlmcode.h (nlm_canonicalize_symtab): Update.
* i386msdos.c (msdos_canonicalize_symtab): Update.
* hp300hpux.c (MY (canonicalize_symtab)): Update.
* oasys.c (oasys_canonicalize_symtab): Update.
* som.c (som_canonicalize_symtab): Update.
* pef.c (bfd_pef_canonicalize_symtab): Update.
* nlmcode.h (nlm_canonicalize_symtab): Update.
* xsym.c (bfd_sym_canonicalize_symtab): Update.
* vms.c (vms_canonicalize_symtab): Update.
* versados.c (versados_canonicalize_symtab): Update.
* mach-o.c (bfd_mach_o_canonicalize_symtab): Update.
* ieee.c (ieee_canonicalize_symtab): Update.
* pdp11.c (NAME(aout,canonicalize_symtab)): Update.
* reloc.c: Update comment.
* libaout.h (NAME(aout,canonicalize_symtab)): Update.
* coff64-rs6000.c (aix5coff64_vec): Update.
* coff64-rs6000.c (bfd_xcoff_aix5_backend_data): Update.
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update.
* aoutx.h (NAME(aout,canonicalize_symtab)): Update.
* elfxx-target.h (bfd_elfNN_canonicalize_symtab): Update.
* hp300hpux.c (MY_canonicalize_symtab): Update.
* ecoff.c (_bfd_ecoff_canonicalize_symtab): Update.
* aout-tic30.c (MY_canonicalize_symtab): Update.
* aout-target.h (MY_canonicalize_symtab): Update.
* ppcboot.c (ppcboot_canonicalize_symtab): Update.
* elf.c (_bfd_elf_canonicalize_symtab): Update.
* elfcode.h (elf_canonicalize_symtab): Update.
* ihex.c (ihex_canonicalize_symtab): Update.
* tekhex.c (tekhex_canonicalize_symtab): Update.
* binary.c (binary_canonicalize_symtab): Update.
* srec.c (srec_canonicalize_symtab): Update.
Kazuhiro Inaoka [Thu, 16 Oct 2003 02:36:39 +0000 (02:36 +0000)]
2003-10-16 Kei Sakamoto <sakamoto.kei@renesas.com>
* remote-m32r-sdi.c : New file, interface to m32r on-chip
debug interface, SDI (Scalable Debug Interface).
* NEWS: Mention m32r SDI protocol was supported.
* Makefile.in (remote-m32r-sdi.o): Add build rule.
* config/m32r/m32r.mt (TDEPFILES) : Add remote-m32r-sdi.o.
Kazuhiro Inaoka [Thu, 16 Oct 2003 02:33:46 +0000 (02:33 +0000)]
2003-10-16 Kei Sakamot Sakamoto <sakamoto.kei@renesas.com>
* gdb.texinfo (M32R/D): Mention m32rsdi target.
gdbadmin [Thu, 16 Oct 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 16 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update
Jeff Johnston [Wed, 15 Oct 2003 22:55:32 +0000 (22:55 +0000)]
2003-10-15 Jeff Johnston <jjohnstn@redhat.com>
* ia64-linux-tdep.c: Include gdbcore.h.
(IA64_LINUX_SIGCONTEXT_OFFSET): Magic constant removed.
(ia64_linux_sigcontext_register_addr): Find the address of the
sigcontext area stored in the sigframe instead of using
a magic offset constant.
Michael Snyder [Wed, 15 Oct 2003 21:32:36 +0000 (21:32 +0000)]
2003-10-15 Michael Snyder <msnyder@redhat.com>
* Makefile.in (sim_calls.o): No longer depends on gdb/tm.h.
Andrew Cagney [Wed, 15 Oct 2003 21:10:55 +0000 (21:10 +0000)]
2003-10-15 Andrew Cagney <cagney@redhat.com>
* remote.c (remote_search): Delete function.
* target.h (target_search): Delete disabled macro.
(struct target_ops): Delete disabled field "to_search".
Kazu Hirata [Wed, 15 Oct 2003 19:08:10 +0000 (19:08 +0000)]
* elf32-h8300.c (elf_reloc_map): Fix a comment typo.
Kevin Buettner [Wed, 15 Oct 2003 17:55:02 +0000 (17:55 +0000)]
* gdb.texinfo (Breakpoints related warnings): Insert into menu.
Alan Modra [Wed, 15 Oct 2003 14:16:29 +0000 (14:16 +0000)]
* doc/as.texinfo (Align): Correct list of byte targets.
Joern Rennecke [Wed, 15 Oct 2003 12:30:47 +0000 (12:30 +0000)]
include/gdb:
* callback.h (struct host_callback_struct): New members ftruncate
and truncate.
gdb:
sim/common:
* callback.c (os_ftruncate, os_truncate): New functions.
(default_callback): Initialize ftruncate and truncate members.
sim/sh:
* syscall.h (SYS_truncate, SYS_ftruncate): Define.
* interp.c (trap): Add support for SYS_ftruncate and SYS_truncate.
Joern Rennecke [Wed, 15 Oct 2003 12:28:50 +0000 (12:28 +0000)]
nclude/gdb:
* callback.h (struct host_callback_struct): New members ftruncate
and truncate.
gdb:
sim/common:
* callback.c (os_ftruncate, os_truncate): New functions.
(default_callback): Initialize ftruncate and truncate members.
sim/sh:
* syscall.h (SYS_truncate, SYS_ftruncate): Define.
* interp.c (trap): Add support for SYS_ftruncate and SYS_truncate.
Thiemo Seufer [Wed, 15 Oct 2003 11:12:53 +0000 (11:12 +0000)]
* config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
Fix indentation. Better error message.
Kaz Kojima [Wed, 15 Oct 2003 06:23:55 +0000 (06:23 +0000)]
[bfd]
* elf32-sh.c (sh_elf_relocate_section): Handle R_SH_IMM_*_PCREL
relocations.
(sh_elf_check_relocs): Likewise.
* elf32-sh64.c (elf_backend_merge_symbol_attribute): Define.
(sh64_elf_merge_symbol_attribute): New.
* elf64-sh64.c (elf_backend_merge_symbol_attribute): Define.
(sh64_elf64_merge_symbol_attribute): New.
[ld/testsuite]
* ld-sh/sh64/rd-sh64.exp: If the test matches *-dso.d, copy
the output of linker to the file tmpdir/*-dso.so.
* ld-sh/sh64/stobin-0-dso.d: New.
* ld-sh/sh64/stobin-1.d: New.
* ld-sh/sh64/stobin.s: New.
* ld-sh/sh64/stolib.s: New.
gdbadmin [Wed, 15 Oct 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 15 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update
Kaz Kojima [Tue, 14 Oct 2003 22:43:10 +0000 (22:43 +0000)]
* elf-bfd.h (struct elf_backend_data): New function pointer member
elf_backend_merge_symbol_attribute.
* elflink.h (elf_link_add_object_symbols): Adjust call to
elf_backend_merge_symbol_attribute if the backend defined it.
* elfxx-target.h (elf_backend_merge_symbol_attribute): New macro.
(elfNN_bed): Add that to the initializer.
Bob Wilson [Tue, 14 Oct 2003 22:28:28 +0000 (22:28 +0000)]
bfd ChangeLog:
2003-10-14 Bob Wilson <bob.wilson@acm.org>
* elf32-xtensa.c (get_is_linkonce_section): Delete.
(xtensa_is_property_section, xtensa_is_littable_section): Use
XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Do not recognize
linkonce sections containing ".xt.insn" and ".xt.lit" substrings.
(xtensa_get_property_section_name): Check section name instead of
calling get_is_linkonce_section. Remove unused bfd parameter. Use
XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Never generate
linkonce section names by appending ".xt.insn" or ".xt.lit".
(xtensa_read_table_entries): Remove bfd argument in call to
xtensa_get_property_section_name. Free section name when done.
(elf_xtensa_combine_prop_entries): Free leaking table.
gas ChangeLog:
2003-10-14 Bob Wilson <bob.wilson@acm.org>
* config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd
argument in call to xtensa_get_property_section_name. Formatting.
include ChangeLog:
2003-10-14 Bob Wilson <bob.wilson@acm.org>
* elf/xtensa.h: Formatting. Fix comments about property section
names for linkonce sections.
Nathanael Nerode [Tue, 14 Oct 2003 21:40:44 +0000 (21:40 +0000)]
* gettext.m4: Properly quote arguments to AC_DEFUN.
Kevin Buettner [Tue, 14 Oct 2003 20:44:46 +0000 (20:44 +0000)]
* frv-tdep.c (frv_frame_this_id): Call inside_entry_func()
instead of deprecated_inside_entry_file().
Kevin Buettner [Tue, 14 Oct 2003 20:23:29 +0000 (20:23 +0000)]
* gdb.texinfo (Breakpoint related warnings): New node.
* gdbint.texinfo (ADJUST_BREAKPOINT_ADDRESS): Document.
Corinna Vinschen [Tue, 14 Oct 2003 15:35:43 +0000 (15:35 +0000)]
* sh-tdep.c: Fix two copy/paste hangovers in comments.
(sh_push_dummy_call_fpu): Accomodate double passing in little endian
mode.
(sh3e_sh4_extract_return_value): Ditto.
Richard Henderson [Tue, 14 Oct 2003 06:51:14 +0000 (06:51 +0000)]
* f-typeprint.c (f_type_print_base): Handle TYPE_CODE_REF.
* f-valprint.c (f_val_print): Likewise. Tweak TYPE_CODE_PTR to
match c_val_print a bit closer.
Danny Smith [Tue, 14 Oct 2003 06:26:31 +0000 (06:26 +0000)]
* pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
to identify data symbols.
Kevin Buettner [Tue, 14 Oct 2003 00:30:27 +0000 (00:30 +0000)]
* frv-tdep.c (max_instrs_per_bundle, frv_instr_size): New constants.
(frv_gdbarch_adjust_breakpoint_address): New function.
(frv_gdbarch_init): Initialize ``gdbarch_adjust_breakpoint_address''
method.
Alan Modra [Tue, 14 Oct 2003 00:00:28 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 14 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Kevin Buettner [Mon, 13 Oct 2003 23:53:20 +0000 (23:53 +0000)]
* breakpoint.h (struct breakpoint): Add new member
``requested_address''.
* breakpoint.c (breakpoint_adjustment_warning)
(adjust_breakpoint_address): New static functions.
(print_it_typical): Issue warning if breakpoint's address is different
from its requested address.
(set_raw_breakpoint, set_longjmp_resume_breakpoint, watch_command_1)
(breakpoint_re_set_one): Set breakpoint's
``requested_address'' field. Set ``address'' field to the
result of calling adjust_breakpoint_address() on the requested
address.
Kevin Buettner [Mon, 13 Oct 2003 23:41:40 +0000 (23:41 +0000)]
* gdbarch.sh (ADJUST_BREAKPOINT_ADDRESS): New method.
* gdbarch.h, gdbarch.c: Regenerate.
Nathanael Nerode [Mon, 13 Oct 2003 21:45:29 +0000 (21:45 +0000)]
* Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset of
HOST_FLAGS_TO_PASS.
* Makefile.in: Regenerate.
Richard Sandiford [Mon, 13 Oct 2003 19:51:10 +0000 (19:51 +0000)]
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add
DT_MIPS_LIBLIST or DT_MIPS_CONFLICT entries.
(_bfd_mips_elf_finish_dynamic_symbol): Don't handle them. Don't
handle DT_MIPS_MSYM. Set DT_RELSZ based on the number of relocations
that were needed.
(_bfd_mips_elf_modify_segment_map): Fix placement of PT_MIPS_OPTIONS.
(_bfd_mips_elf_merge_private_bfd_data): Ignore EF_MIPS_UCODE.
Richard Sandiford [Mon, 13 Oct 2003 19:48:39 +0000 (19:48 +0000)]
* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move
definition from elf64btsmip.sh.
(TEXT_DYNAMIC): Likewise elf32btsmipn32.sh.
* emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove.
* emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove.
* emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define.
(EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects.
Define __program_header_table in terms of __elf_header.
Daniel Jacobowitz [Mon, 13 Oct 2003 16:32:51 +0000 (16:32 +0000)]
* gdb.threads/killed.exp: Use gdb_run_cmd.
Daniel Jacobowitz [Mon, 13 Oct 2003 16:30:45 +0000 (16:30 +0000)]
* gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
create a core file.
* gdb.threads/gcore-thread.exp: Likewise.
Daniel Jacobowitz [Mon, 13 Oct 2003 16:17:21 +0000 (16:17 +0000)]
* linux-low.c (linux_resume): Take a struct thread_resume *
argument.
(linux_wait): Update call.
(resume_ptr): New static variable.
(linux_continue_one_thread): Renamed from
linux_continue_one_process. Use resume_ptr.
(linux_resume): Use linux_continue_one_thread.
* server.c (handle_v_cont, handle_v_requests): New functions.
(myresume): New function.
(main): Handle 'v' case.
* target.h (struct thread_resume): New type.
(struct target_ops): Change argument of "resume" to struct
thread_resume *.
(myresume): Delete macro.
Daniel Jacobowitz [Mon, 13 Oct 2003 16:11:57 +0000 (16:11 +0000)]
* gdb.texinfo (Remote Protocol): Document v and vCont.
H.J. Lu [Mon, 13 Oct 2003 15:55:51 +0000 (15:55 +0000)]
bfd/
2003-10-10 H.J. Lu <hongjiu.lu@intel.com>
* bfd-in.h (bfd_elf32_ia64_after_parse): New prototype.
(bfd_elf64_ia64_after_parse): Likewise.
* bfd-in2.h: Regenerated.
* elfxx-ia64.c (oor_ip): New.
(oor_branch_size): Likewise.
(bfd_elfNN_ia64_after_parse): Likewise.
(elfNN_ia64_relax_section): Use oor_ip if oor_branch_size
equals sizeof (oor_ip).
ld/
2003-10-10 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (eelf64_ia64.c): Also depend on
$(srcdir)/emultempl/ia64elf.em.
* Makefile.in: Regenerated.
* emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf.
* emultempl/ia64elf.em: New.
Corinna Vinschen [Mon, 13 Oct 2003 09:13:43 +0000 (09:13 +0000)]
* gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
type, based on char type.
(struct bit_flags_short_t): New bitfield type, based on short type.
(init_bit_flags_char): New fuction.
(init_bit_flags_short): Ditto.
(print_bit_flags_char): Ditto.
(print_bit_flags_short): Ditto.
(main): Add handling for bit_flags_char_t and bit_flags_short_t.
Kaz Kojima [Mon, 13 Oct 2003 05:11:30 +0000 (05:11 +0000)]
* elf64-sh64.c (sh_elf64_relocate_section): Tidy up for the
renumbering of some relocation numbers.
Kaz Kojima [Mon, 13 Oct 2003 05:09:21 +0000 (05:09 +0000)]
[ld]
* emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine.
[ld/testsuite]
* ld-sh/rd-sh.exp (LDFLAGS): Define appropriately for each
sh64/sh5 targets.
* ld-sh/sh.exp: Don't do relaxing test for sh64*-*-* and
sh5*-*-* targets.
* ld-sh/sh64/relax.exp (emul32): Set to shelf32_nbsd for netbsd.
* ld-sh/sh64/relfail.exp: Set parameters for netbsd.
* ld-sh/sh64/sh64.exp: Skip this for netbsd. Trim the section
numbers for crangerel1 and crengerel2 tests.
* ld-sh/sh64/abi32.sd: Update.
* ld-sh/sh64/abi32.xd: Likewise.
* ld-sh/sh64/abi64.sd: Likewise.
* ld-sh/sh64/abi64.xd: Likewise.
* ld-sh/sh64/abixx-noexp.sd: Likewise.
* ld-sh/sh64/cmpct1.sd: Likewise.
* ld-sh/sh64/cmpct1.xd: Likewise.
* ld-sh/sh64/crange1.rd: Likewise.
* ld-sh/sh64/crange2.rd: Likewise.
* ld-sh/sh64/crange3-cmpct.rd: Likewise.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/crangerel1.rd: Likewise.
* ld-sh/sh64/crangerel2.rd: Likewise.
* ld-sh/sh64/dlsection.sd: Likewise.
* ld-sh/sh64/endian.sbd: Likewise.
* ld-sh/sh64/endian.sld: Likewise.
* ld-sh/sh64/gotplt.d: Likewise.
* ld-sh/sh64/init-cmpct.d: Likewise.
* ld-sh/sh64/init-media.d: Likewise.
* ld-sh/sh64/init.s: Align functions.
* ld-sh/sh64/init64.d: Update.
* ld-sh/sh64/mix1-noexp.sd: Likewise.
* ld-sh/sh64/mix1.sd: Likewise.
* ld-sh/sh64/mix1.xd: Likewise.
* ld-sh/sh64/mix2-noexp.sd: Likewise.
* ld-sh/sh64/mix2.sd: Likewise.
* ld-sh/sh64/mix2.xd:Likewise.
* ld-sh/sh64/rel32.xd: Likewise.
* ld-sh/sh64/rel64.xd: Likewise.
* ld-sh/sh64/reldl32.rd: Likewise.
* ld-sh/sh64/reldl64.rd: Likewise.
* ld-sh/sh64/shdl32.xd: Update.
* ld-sh/sh64/shdl64.sd: Likewise.
* ld-sh/sh64/shdl64.xd: Likewise.
* ld-sh/shared-1.d: Add -z nocombreloc to ld option. Update.
* ld-sh/sub2l-1.d: Make file format match with elf32-sh.*.
* ld-sh/weak1.d: Likewise.
Alan Modra [Mon, 13 Oct 2003 00:00:26 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 13 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Sun, 12 Oct 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 12 Oct 2003 00:00:25 +0000 (00:00 +0000)]
daily update
Kaz Kojima [Sat, 11 Oct 2003 21:51:13 +0000 (21:51 +0000)]
* config/tc-sh.h (sh_coff_reloc_mangle): Delete an extra
parenthesis.
Michael Chastain [Sat, 11 Oct 2003 20:57:42 +0000 (20:57 +0000)]
2003-10-11 Michael Chastain <mec@shout.net>
* gdb.base/call-rt-st.exp: Update copyright year.
Mark Kettenis [Sat, 11 Oct 2003 15:38:55 +0000 (15:38 +0000)]
* i386bsd-tdep.c (i386bsd_init_abi): Use ARRAY_SIZE to initialize
TDEP->sc_num_regs.
Mark Kettenis [Sat, 11 Oct 2003 15:22:39 +0000 (15:22 +0000)]
* i386fbsd-tdep.c: New file.
(i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi,
i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Move here from
i386bsd-tdep.c.
(_initialize_i386fbsd_tdep): New function.
(i386fbsd_r_reg_offset, i386fbsd4_r_reg_offset): New varibles.
(i386fbsdaout_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs, TDEP->sizeof_gregset and
TDEP->sizeof_fpregset. Use ARRAY_SIZE to initialize
TDEP->sc_num_regs.
(i386fbsd4_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE
to initialize TDEP->sc_num_regs.
* i386bsd-tdep.c (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi,
i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Remove.
(_initialize_i386bsd_tdep): Don't register FreeBSD a.out and
FreeBSD ELF OS/ABI's here.
* Makefile.in (ALLDEPFILES): Add i386fbsd-tdep.c.
(i386fbsd-tdep.o): New target.
* config/i386/fbsd.mt (TDEPFILES): Add i386fbsd-tdep.o.
* config/i386/fbsd64.mt (TDEPFILES): Add i386fbsd-tdep.o.
Mark Kettenis [Sat, 11 Oct 2003 14:54:24 +0000 (14:54 +0000)]
* amd64fbsd-tdep.c (amd64fbsd_r_reg_offset): New variable.
(amd64fbsd_init_abi): Set TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE
in initialization of TDEP->sc_num_regs.
Mark Kettenis [Sat, 11 Oct 2003 14:19:11 +0000 (14:19 +0000)]
* x86-64-tdep.c (x86_64_regset_from_core_section): New function.
(x86_64_init_abi): Initialize regset_from_core_section if
appropriate.
Mark Kettenis [Sat, 11 Oct 2003 13:50:25 +0000 (13:50 +0000)]
* i386-tdep.c (i386_regset_from_core_section): New function.
(i386_gdbarch_init): Initialize regset_from_core_section if
appropriate.
* i386-tdep.h (i386_regset_from_core_section): New declaration.
Kaz Kojima [Sat, 11 Oct 2003 13:40:21 +0000 (13:40 +0000)]
* config/tc-sh.c: Convert to ISO C90. Remove unnecessary
prototypes and casts.
* config/tc-sh.h: Likewise.
* config/tc-sh64.c: Likewise.
* config/tc-sh64.h: Likewise.
Mark Kettenis [Sat, 11 Oct 2003 13:33:31 +0000 (13:33 +0000)]
* i386-tdep.h (struct regset): Declare opaque.
Alan Modra [Sat, 11 Oct 2003 13:13:02 +0000 (13:13 +0000)]
Fix bugus mail address
Alan Modra [Sat, 11 Oct 2003 13:10:24 +0000 (13:10 +0000)]
* bfd.texinfo: Remove spurious backslash.
Alan Modra [Sat, 11 Oct 2003 13:08:44 +0000 (13:08 +0000)]
* coff-sh.c: Move definition of MAP and guard more code with
COFF_IMAGE_WITH_PE.
Mark Kettenis [Sat, 11 Oct 2003 12:52:30 +0000 (12:52 +0000)]
* gdbarch.sh (regset_from_core_section): New method.
(struct regset): Declare opaque.
* gdbarch.c, gdbarch.h: Regenerated.
Alan Modra [Sat, 11 Oct 2003 12:41:12 +0000 (12:41 +0000)]
* interp.c (sim_load): Don't refer directly to _cooked_size and vma;
Use bfd_section_size and bfd_get_section_vma.
Alan Modra [Sat, 11 Oct 2003 12:40:38 +0000 (12:40 +0000)]
* hppa-tdep.c (hppa_in_solib_call_trampoline): Don't refer directly to
_cooked_size and vma; Use bfd_section_size and bfd_get_section_vma.
Correct test for pc within section.
Alan Modra [Sat, 11 Oct 2003 12:34:31 +0000 (12:34 +0000)]
* corefile.c (core_create_function_syms): Don't refer directly to
_cooked_size and vma; Use bfd_section_size and bfd_get_section_vma.
Alan Modra [Sat, 11 Oct 2003 12:33:50 +0000 (12:33 +0000)]
Oops. missed a line.
Alan Modra [Sat, 11 Oct 2003 12:32:18 +0000 (12:32 +0000)]
* section.c (bfd_get_section_size_before_reloc): Ignore reloc_done.
* bfd-in2.h: Regenerate.
Mark Kettenis [Sat, 11 Oct 2003 12:05:44 +0000 (12:05 +0000)]
* gdbarch.sh: Remove trailing whitepsace from comments.
Hans-Peter Nilsson [Sat, 11 Oct 2003 09:18:58 +0000 (09:18 +0000)]
* ld-scripts/defined3.d, ld-scripts/defined3.t: New test.
* ld-scripts/defined.exp: Run defined3.
Hans-Peter Nilsson [Sat, 11 Oct 2003 09:16:20 +0000 (09:16 +0000)]
* ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbols
defined before the statement using DEFINED yield 1.
* ldexp.c (fold_name) <case DEFINED>: In lang_first_phase_enum,
call lang_track_definedness on symbol. In subsequent phases, use
lang_symbol_definition_iteration and lang_statement_iteration to
check whether the symbol was defined before the current statement.
(exp_fold_tree) <case etree_assign et al>: Call
lang_update_definedness before updating symbol type when setting
symbol.
* ldlang.c (lang_definedness_table): New variable.
(lang_definedness_newfunc, lang_track_definedness)
(lang_symbol_definition_iteration, lang_update_definedness): New
functions.
(lang_init): Initialize lang_definedness_table and
lang_statement_iteration.
(lang_finish): Destroy bfd_hash_table_free.
(lang_size_sections): Increment lang_statement_iteration.
(lang_do_assignments_1): New function with former
lang_do_assignments contents. Change recursive calls to call this
function.
(lang_do_assignments): Evacuate contents. Increment
lang_statement_iteration, then just call lang_do_assignments_1.
* ldlang.h (struct lang_definedness_hash_entry)
(lang_statement_iteration, lang_track_definedness)
(lang_symbol_definition_iteration, lang_update_definedness):
Declare.
Roland McGrath [Sat, 11 Oct 2003 01:57:07 +0000 (01:57 +0000)]
.
Roland McGrath [Sat, 11 Oct 2003 01:56:53 +0000 (01:56 +0000)]
2003-10-08 Roland McGrath <roland@redhat.com>
* gcore.c (make_mem_sec): Function removed, folded into ...
(gcore_create_callback): ... here. To omit a section, clear its
SEC_LOAD bit rather than zeroing its size.
Omit read-only sections only if they correspond to a known disk file.
(gcore_copy_callback): Ignore sections without SEC_LOAD flag set.
Alan Modra [Sat, 11 Oct 2003 00:00:19 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 11 Oct 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Fri, 10 Oct 2003 22:13:49 +0000 (22:13 +0000)]
2003-06-03 Michael Snyder <msnyder@redhat.com>
and Bernd Schmidt <bernds@redhat.com>
and Alexandre Oliva <aoliva@redhat.com>
* disassemble.c (disassembler): Add support for h8300sx.
Michael Snyder [Fri, 10 Oct 2003 21:59:05 +0000 (21:59 +0000)]
2003-10-10 Michael Snyder <msnyder@redhat.com>
* d10v-tdep.c: Fix typo in comment.
Andrew Cagney [Fri, 10 Oct 2003 21:32:47 +0000 (21:32 +0000)]
2003-10-10 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (e500_store_return_value): Delete function.
(e500_extract_return_value): Delete function.
(rs6000_gdbarch_init): When SYSV, set "extract_return_value" and
"restore_return_value" to "ppc_sysv_abi_extract_return_value" and
"ppc_sysv_abi_restore_return_value" where applicable.
* ppc-tdep.h: (ppc_sysv_abi_store_return_value): Declare.
(ppc_sysv_abi_extract_return_value): Declare.
(ppc_sysv_abi_broken_store_return_value): Declare.
(ppc_sysv_abi_broken_extract_return_value): Declare.
(ppc_sysv_abi_broken_use_struct_convention:) Delete declaration.
* ppc-sysv-tdep.c (return_value_convention): Move definition to
start of file.
(do_ppc_sysv_return_value): New function.
(ppc_sysv_abi_extract_return_value): New function.
(ppc_sysv_abi_store_return_value): New function.
(ppc_sysv_abi_broken_extract_return_value): New function.
(ppc_sysv_abi_broken_store_return_value): New function.
(ppc_sysv_abi_use_struct_convention): Call
do_ppc_sysv_return_value.
Joel Brobecker [Fri, 10 Oct 2003 20:49:40 +0000 (20:49 +0000)]
* blockframe.c (inside_main_func): No longer use symbol_lookup()
to lookup the main function symbol.
Corinna Vinschen [Fri, 10 Oct 2003 20:30:45 +0000 (20:30 +0000)]
* sh-tdep.c (sh_treat_as_flt_p): New function to recognize float
types correctly.
(sh_push_dummy_call_fpu): Fix argument passing rules.
(sh3e_sh4_extract_return_value): Call sh_treat_as_flt_p to recognize
float types.
(sh3e_sh4_store_return_value): Ditto.
Dave Brolley [Fri, 10 Oct 2003 19:31:18 +0000 (19:31 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* gas/frv/allinsn.s: Use preoperly aligned registers.
* gas/frv/allinsn.d: Update expected results.
Dave Brolley [Fri, 10 Oct 2003 19:30:50 +0000 (19:30 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* sim/frv/testutils.inc (or_gr_immed): New macro.
* sim/frv/fp_exception-fr550.cgs: Write insns using
unaligned registers into the program in order to
cause the required exceptions.
* sim/frv/fp_exception.cgs: Ditto.
* sim/frv/regalign.cgs: Ditto.
Dave Brolley [Fri, 10 Oct 2003 19:30:21 +0000 (19:30 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* cpu.h, sem.c: Regenerate.
Dave Brolley [Fri, 10 Oct 2003 19:30:02 +0000 (19:30 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* frv-asm.c,frv-desc.c,frv-opc.c: Regenerated.
Dave Brolley [Fri, 10 Oct 2003 19:29:38 +0000 (19:29 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* frv.cpu (dnpmop): New p-macro.
(GRdoublek): Use dnpmop.
(CPRdoublek, FRdoublei, FRdoublej, FRdoublek): Ditto.
(store-double-r-r): Use (.sym regtype doublek).
(r-store-double): Ditto.
(store-double-r-r-u): Ditto.
(conditional-store-double): Ditto.
(conditional-store-double-u): Ditto.
(store-double-r-simm): Ditto.
(fmovs): Assign to UNIT FMALL.
Elena Zannoni [Fri, 10 Oct 2003 19:20:31 +0000 (19:20 +0000)]
2003-10-10 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_use_struct_convention): Clarify one case in
comment.
Corinna Vinschen [Fri, 10 Oct 2003 19:14:08 +0000 (19:14 +0000)]
* sh-tdep.c (sh_use_struct_convention): Clean up to have a
more readable code. Accomodate passing of bitfields.
Andrew Cagney [Fri, 10 Oct 2003 18:29:13 +0000 (18:29 +0000)]
2003-10-10 Andrew Cagney <cagney@redhat.com>
* Makefile.in (ppc-sysv-tdep.o): Add $(gdb_assert_h).
* rs6000-tdep.c (rs6000_gdbarch_init): When 64 bit SysV ABI, set
push_dummy_call to ppc64_sysv_abi_push_dummy_call.
* ppc-sysv-tdep.c: Include "gdb_assert.h".
(ppc64_sysv_abi_push_dummy_call): New function.
(ppc64_sysv_abi_broken_push_dummy_call): New function.
* ppc-tdep.h (ppc64_sysv_abi_push_dummy_call): Declare.
(ppc64_sysv_abi_broken_push_dummy_call): Declare.
H.J. Lu [Fri, 10 Oct 2003 15:29:50 +0000 (15:29 +0000)]
2003-10-10 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Likewise.
Kazuhiro Inaoka [Fri, 10 Oct 2003 07:13:11 +0000 (07:13 +0000)]
2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
* NEWS: Replace "Hitachi" and "Mitsubishi" with "Renesas".
* README: Ditto.
* d10v-tdep.c: Ditto.
* h8300-tdep.c: Ditto.
* remote-e7000.c: Ditto.
* remote-hms.c: Ditto.
* ser-e7kpc.c: Ditto.
* sh-stub.c: Ditto.
* sh-tdep.c: Ditto.
* sh-tdep.h: Ditto.
* sh3-rom.c: Ditto.
* sh64-tdep.c: Ditto.
* top.c: Ditto.
* wince.c: Ditto.
* config/d10v/d10v.mt: Ditto.
* config/sh/embed.mt: Ditto.
* config/sh/linux.mt: Ditto.
* config/sh/tm-linux.h: Ditto.
* config/sh/tm-sh.h: Ditto.
* config/sh/wince.mt: Ditto.