binutils-gdb.git
21 years ago * sh-tdep.c: Fix two copy/paste hangovers in comments.
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.

21 years ago * f-typeprint.c (f_type_print_base): Handle TYPE_CODE_REF.
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.

21 years ago * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
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.

21 years ago * frv-tdep.c (max_instrs_per_bundle, frv_instr_size): New constants.
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.

21 years agodaily update
Alan Modra [Tue, 14 Oct 2003 00:00:28 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 14 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * breakpoint.h (struct breakpoint): Add new member
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.

21 years ago * gdbarch.sh (ADJUST_BREAKPOINT_ADDRESS): New method.
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.

21 years ago * Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset of
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.

21 years ago * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add
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.

21 years ago * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move
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.

21 years ago * gdb.threads/killed.exp: Use gdb_run_cmd.
Daniel Jacobowitz [Mon, 13 Oct 2003 16:32:51 +0000 (16:32 +0000)]
* gdb.threads/killed.exp: Use gdb_run_cmd.

21 years ago * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
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.

21 years ago * linux-low.c (linux_resume): Take a struct thread_resume *
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.

21 years ago * gdb.texinfo (Remote Protocol): Document v and vCont.
Daniel Jacobowitz [Mon, 13 Oct 2003 16:11:57 +0000 (16:11 +0000)]
* gdb.texinfo (Remote Protocol): Document v and vCont.

21 years agobfd/
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.

21 years ago * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
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.

21 years ago * elf64-sh64.c (sh_elf64_relocate_section): Tidy up for the
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.

21 years ago[ld]
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.

21 years agodaily update
Alan Modra [Mon, 13 Oct 2003 00:00:26 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Mon, 13 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
gdbadmin [Sun, 12 Oct 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sun, 12 Oct 2003 00:00:25 +0000 (00:00 +0000)]
daily update

21 years ago * config/tc-sh.h (sh_coff_reloc_mangle): Delete an extra
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.

21 years ago2003-10-11 Michael Chastain <mec@shout.net>
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.

21 years ago* i386bsd-tdep.c (i386bsd_init_abi): Use ARRAY_SIZE to initialize
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.

21 years ago* i386fbsd-tdep.c: New file.
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.

21 years ago* amd64fbsd-tdep.c (amd64fbsd_r_reg_offset): New variable.
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.

21 years ago* x86-64-tdep.c (x86_64_regset_from_core_section): New function.
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.

21 years ago* i386-tdep.c (i386_regset_from_core_section): New function.
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.

21 years ago * config/tc-sh.c: Convert to ISO C90. Remove unnecessary
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.

21 years ago* i386-tdep.h (struct regset): Declare opaque.
Mark Kettenis [Sat, 11 Oct 2003 13:33:31 +0000 (13:33 +0000)]
* i386-tdep.h (struct regset): Declare opaque.

21 years agoFix bugus mail address
Alan Modra [Sat, 11 Oct 2003 13:13:02 +0000 (13:13 +0000)]
Fix bugus mail address

21 years ago * bfd.texinfo: Remove spurious backslash.
Alan Modra [Sat, 11 Oct 2003 13:10:24 +0000 (13:10 +0000)]
* bfd.texinfo: Remove spurious backslash.

21 years ago * coff-sh.c: Move definition of MAP and guard more code with
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.

21 years ago* gdbarch.sh (regset_from_core_section): New method.
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.

21 years ago * interp.c (sim_load): Don't refer directly to _cooked_size and vma;
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.

21 years ago * hppa-tdep.c (hppa_in_solib_call_trampoline): Don't refer directly to
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.

21 years ago * corefile.c (core_create_function_syms): Don't refer directly to
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.

21 years agoOops. missed a line.
Alan Modra [Sat, 11 Oct 2003 12:33:50 +0000 (12:33 +0000)]
Oops. missed a line.

21 years ago * section.c (bfd_get_section_size_before_reloc): Ignore reloc_done.
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.

21 years ago* gdbarch.sh: Remove trailing whitepsace from comments.
Mark Kettenis [Sat, 11 Oct 2003 12:05:44 +0000 (12:05 +0000)]
* gdbarch.sh: Remove trailing whitepsace from comments.

21 years ago * ld-scripts/defined3.d, ld-scripts/defined3.t: New test.
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.

21 years ago * ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbols
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.

21 years ago.
Roland McGrath [Sat, 11 Oct 2003 01:57:07 +0000 (01:57 +0000)]
.

21 years ago2003-10-08 Roland McGrath <roland@redhat.com>
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.

21 years agodaily update
Alan Modra [Sat, 11 Oct 2003 00:00:19 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sat, 11 Oct 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-06-03 Michael Snyder <msnyder@redhat.com>
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.

21 years ago2003-10-10 Michael Snyder <msnyder@redhat.com>
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.

21 years ago2003-10-10 Andrew Cagney <cagney@redhat.com>
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.

21 years ago * blockframe.c (inside_main_func): No longer use symbol_lookup()
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.

21 years ago * sh-tdep.c (sh_treat_as_flt_p): New function to recognize float
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.

21 years ago2003-10-10 Dave Brolley <brolley@redhat.com>
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.

21 years ago2003-10-10 Dave Brolley <brolley@redhat.com>
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.

21 years ago2003-10-10 Dave Brolley <brolley@redhat.com>
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.

21 years ago2003-10-10 Dave Brolley <brolley@redhat.com>
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.

21 years ago2003-10-10 Dave Brolley <brolley@redhat.com>
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.

21 years ago2003-10-10 Elena Zannoni <ezannoni@redhat.com>
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.

21 years ago * sh-tdep.c (sh_use_struct_convention): Clean up to have a
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.

21 years ago2003-10-10 Andrew Cagney <cagney@redhat.com>
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.

21 years ago2003-10-10 H.J. Lu <hongjiu.lu@intel.com>
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.

21 years ago2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
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.

21 years ago2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
Kazuhiro Inaoka [Fri, 10 Oct 2003 07:08:53 +0000 (07:08 +0000)]
2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>

* gdb.texinfo: Replace "Hitachi" and "Mitsubishi" with "Renesas".
* gdbint.texinfo: Ditto.

21 years ago2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
Kazuhiro Inaoka [Fri, 10 Oct 2003 07:08:03 +0000 (07:08 +0000)]
2003-10-10  Kei Sakamoto  <sakamoto.kei@renesas.com>

* config/hmsirom.exp: Replace "Hitachi" with "Renesas".
* gdb.disasm/sh3.s: Ditto.

21 years ago2003-10-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 10 Oct 2003 03:14:08 +0000 (03:14 +0000)]
2003-10-09  Andrew Cagney  <cagney@redhat.com>

Changes from 2003-09-09 Jimi Xenidis <jimix@watson.ibm.com>:
* config/rs6000/tm-rs6000.h (SOFTWARE_SINGLE_STEP): Delete macro.
(SOFTWARE_SINGLE_STEP_P): Ditto.
* config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
* config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Ditto.
(SOFTWARE_SINGLE_STEP_P): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): When AIX, set
software_single_step to rs6000_software_single_step.

21 years ago2003-10-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 10 Oct 2003 02:40:19 +0000 (02:40 +0000)]
2003-10-09  Andrew Cagney  <cagney@redhat.com>

Changes from 2003-09-09 Jimi Xenidis <jimix@watson.ibm.com>:
* config/rs6000/tm-rs6000.h (SOFTWARE_SINGLE_STEP): Delete macro.
(SOFTWARE_SINGLE_STEP_P): Ditto.
* config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
* config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Ditto.
(SOFTWARE_SINGLE_STEP_P): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): When AIX, set
software_single_step to rs6000_software_single_step.

21 years ago2003-10-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 10 Oct 2003 02:13:07 +0000 (02:13 +0000)]
2003-10-09  Andrew Cagney  <cagney@redhat.com>

From 2003-09-18 David Anderson <davea@sgi.com>:
* gdb.texinfo (GDB/MI Symbol Query): Replace "comamnd" with
"command".

21 years ago2003-10-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 10 Oct 2003 01:59:13 +0000 (01:59 +0000)]
2003-10-09  Andrew Cagney  <cagney@redhat.com>

* MAINTAINERS: Mark m32r-elf as buildable with -Werror.

21 years agoFix typo in previous CL entry.
Elena Zannoni [Fri, 10 Oct 2003 01:43:56 +0000 (01:43 +0000)]
Fix typo in previous CL entry.

21 years ago2003-10-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 10 Oct 2003 01:36:36 +0000 (01:36 +0000)]
2003-10-09  H.J. Lu  <hongjiu.lu@intel.com>

* scripttempl/elf.sc (__executable_start): Provide.

21 years ago2003-10-09 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 10 Oct 2003 00:32:04 +0000 (00:32 +0000)]
2003-10-09  Michael Snyder  <msnyder@redhat.com>

        * frame.h: Fix typo in comment.

21 years ago2003-10-09 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 10 Oct 2003 00:28:43 +0000 (00:28 +0000)]
2003-10-09  Michael Snyder  <msnyder@redhat.com>

* dummy-frame.c: Fix typo.

21 years ago2003-10-09 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 10 Oct 2003 00:25:43 +0000 (00:25 +0000)]
2003-10-09  Michael Snyder  <msnyder@redhat.com>

        * d10v-tdep.c: Random whitespace/comment tweaks.

21 years ago*** empty log message ***
gdbadmin [Fri, 10 Oct 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Fri, 10 Oct 2003 00:00:19 +0000 (00:00 +0000)]
daily update

21 years ago2003-10-09 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 9 Oct 2003 20:23:41 +0000 (20:23 +0000)]
2003-10-09  Elena Zannoni  <ezannoni@redhat.com>

        * sh-tdep.c (sh_gdbarch_init): Delete setting of push_dummy_code.
        (sh_gdbarch_init): Delete function, it's only used for dummy calls
        on stack.

        Based on input by Stephen Clarke (stephen.clarke@superh.com):
        * sh-tdep.c (sh_use_struct_convention): Add comment explaining ABI
        in detail.

21 years ago * gdb.threads/switch-threads.exp: New test.
Daniel Jacobowitz [Thu, 9 Oct 2003 19:49:28 +0000 (19:49 +0000)]
* gdb.threads/switch-threads.exp: New test.
* gdb.threads/switch-threads.c: New source file.

21 years ago2003-10-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 9 Oct 2003 18:15:59 +0000 (18:15 +0000)]
2003-10-09  H.J. Lu  <hongjiu.lu@intel.com>

* cofflink.c: Include "safe-ctype.h".
(coff_link_add_symbols): Use ISDIGIT instead of isdigit.

21 years ago * remote-mips.c (mips_initialize): Remove unneeded call to
Daniel Jacobowitz [Thu, 9 Oct 2003 14:34:04 +0000 (14:34 +0000)]
* remote-mips.c (mips_initialize): Remove unneeded call to
get_selected_frame.  Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.

21 years ago * dwarf2expr.c (execute_stack_op): Don't treat the frame base as
Daniel Jacobowitz [Thu, 9 Oct 2003 14:11:58 +0000 (14:11 +0000)]
* dwarf2expr.c (execute_stack_op): Don't treat the frame base as
a memory pointer.

21 years ago * emulparams/armelf.sh: Define NO_SMALL_DATA.
Daniel Jacobowitz [Thu, 9 Oct 2003 14:06:07 +0000 (14:06 +0000)]
* emulparams/armelf.sh: Define NO_SMALL_DATA.
* emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh,
emulparams/armnto.sh: Likewise.

21 years agodaily update
Alan Modra [Thu, 9 Oct 2003 00:00:19 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Thu, 9 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
Alexandre Oliva [Wed, 8 Oct 2003 22:17:35 +0000 (22:17 +0000)]
* ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
whether to skip test for no memory region.

21 years ago2003-10-05 Mohan Embar <gnustuff@thisiscool.com>
DJ Delorie [Wed, 8 Oct 2003 21:29:04 +0000 (21:29 +0000)]
2003-10-05  Mohan Embar  <gnustuff@thisiscool.com>
* configure.in: Allow explicit specification of CFLAGS_FOR_BUILD.
* configure: Rebuilt
* Makefile.tpl: Use CFLAGS_FOR_BUILD computed by configure
* Makefile.in: Rebuilt

21 years agoMove ChangeLog entries for config/ subdir into config/ChangeLog, where
Nathanael Nerode [Wed, 8 Oct 2003 21:26:42 +0000 (21:26 +0000)]
Move ChangeLog entries for config/ subdir into config/ChangeLog, where
they belong.  Thanks to Kelley Cook <kcook34@ford.com>.

21 years ago2003-10-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 8 Oct 2003 20:05:56 +0000 (20:05 +0000)]
2003-10-08  Jeff Johnston  <jjohnstn@redhat.com>

        * lin-lwp.c (stop_and_resume_callback): Set the resumed flag
        for any lwp we resume.
        (running_callback): Add lwps that have pending status events
        against them to be considered running.

21 years ago2003-10-08 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 8 Oct 2003 18:26:01 +0000 (18:26 +0000)]
2003-10-08  Dave Brolley  <brolley@redhat.com>

        * frv-desc.[ch], frv-opc.[ch]: Regenerated.

21 years ago2003-10-08 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 8 Oct 2003 18:24:37 +0000 (18:24 +0000)]
2003-10-08  Dave Brolley  <brolley@redhat.com>

        * configure.in: Move frv handling to alphabetically correct placement.

21 years ago2003-10-06 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 8 Oct 2003 18:21:02 +0000 (18:21 +0000)]
2003-10-06  Dave Brolley  <brolley@redhat.com>

        * sim/frv/fr550: New subdirectory.
        * sim/frv/fr400/*.cgs: Add fr550 as appropriate.
        * sim/frv/fr500/*.cgs: Add fr550 as appropriate.
        * sim/frv/interrupts/*.cgs: Add fr550 as appropriate.
        * sim/frv/interrupts/*-fr550.cgs: New test cases for fr550.

21 years ago2003-10-06 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 8 Oct 2003 18:19:33 +0000 (18:19 +0000)]
2003-10-06  Dave Brolley  <brolley@redhat.com>

        * profile-fr550.[ch]: New files.
        * configure.in: Move frv handling to alphabetically correct placement.
        * Makefile.in: Add fr550 support.
        * frv-sim.h,frv.c,interrups.c,memory.c,mloop.in,pipeline.c,
        profile.[ch],registers.c,traps.c: Add fr550 support.
        * arch.c,arch.h,cpu.c,cpu.h,cpuall.h,model.h,decode.c,decode.h,sem.c:
        Regenerate.

21 years ago2003-10-06 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 8 Oct 2003 18:13:38 +0000 (18:13 +0000)]
2003-10-06  Dave Brolley  <brolley@redhat.com>

        * binutils-all/objdump.exp (cpu_expected): Add fr550.

21 years ago2003-10-06 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 8 Oct 2003 18:12:53 +0000 (18:12 +0000)]
2003-10-06  Dave Brolley  <brolley@redhat.com>

        * frv.h (EF_FRV_CPU_FR550): New macro.

21 years ago2003-10-08 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 8 Oct 2003 18:11:55 +0000 (18:11 +0000)]
2003-10-08  Dave Brolley  <brolley@redhat.com>

        * config/tc-frv.c (fr550_check_insn_acc_range): New function.
        (fr550_check_acc_range): New function.
        (md_assemble): Call fr550_check_acc_range.

21 years ago2003-10-08 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 8 Oct 2003 18:01:10 +0000 (18:01 +0000)]
2003-10-08  Chris Demetriou  <cgd@broadcom.com>

        * lib/gas-defs.exp (gas_run): Always log the command being run.
        (gas_start): Likewise.
        (regexp_diff): Make error reporting about non-existent files
        consistent.

21 years ago2003-10-08 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 8 Oct 2003 17:57:59 +0000 (17:57 +0000)]
2003-10-08  Dave Brolley  <brolley@redhat.com>
        On behalf of Michael Snyder  <msnyder@redhat.com>

        * archures.c: Add FRV fr550 machine.
        * cpu-frv.c: Ditto.
        * elf32-frv.c: Ditto.
        * bfd-in2.h: Regenerate.

21 years ago2003-10-06 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 8 Oct 2003 17:53:40 +0000 (17:53 +0000)]
2003-10-06  Dave Brolley  <brolley@redhat.com>

        * frv.cpu, frv.opc: Add support for fr550.

21 years ago * elfxx-mips.c (STUB_MOVE,STUB_LI16): Fix stub code
Thiemo Seufer [Wed, 8 Oct 2003 17:36:19 +0000 (17:36 +0000)]
* elfxx-mips.c (STUB_MOVE,STUB_LI16): Fix stub code
for non-SGI N64 ABI. Improve code consitency.

21 years ago* as.c (use_gnu_debug_info_extensions) : New variable.
Nick Clifton [Wed, 8 Oct 2003 14:37:20 +0000 (14:37 +0000)]
* as.c (use_gnu_debug_info_extensions) : New variable.
 (parse_args) : Accept new --gstabs+ option, and set `use_gnu_debug_info_extensions'.
 (show_usage) : Document --gstabs+ option.
* as.h (use_gnu_debug_info_extensions) : New extern declaration.
* stabs.c (stabs_generate_asm_file) : If `use_gnu_debug_info_extensions' is set
  add the compilation directory to the stabs debug info.
* doc/as.texinfo : Document --gstabs+ option.
* NEWS: Mention new feature.