external/binutils.git
21 years ago2003-07-25 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 26 Jul 2003 01:00:33 +0000 (01:00 +0000)]
2003-07-25  Michael Snyder  <msnyder@redhat.com>

* pshai.s, pshar.s, pshli.s, pshlr.s: New files.
* allinsn.exp: Add psha, pshl tests.
* pdec.s, pinc.s, padd.s, paddc.s: New files.
* allinsn.exp: Add pdec, pinc, padd, paddc tests.
* pand.s, pdmsb.s: New files.
* allinsn.exp: Add pand, pdmsb tests.

21 years ago2003-07-08 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 26 Jul 2003 00:54:58 +0000 (00:54 +0000)]
2003-07-08  Michael Snyder  <msnyder@redhat.com>

        * allinsn.exp, testutils.inc, add.s, fabs.s, fadd.s, fcmpeq.s,
        fcmpgt.s, fcnvds.s, fcnvsd.s, fdiv.s, fldi0.s, fldi1.s, flds.s,
        float.s, fmac.s, fmov.s, fmul.s, fneg.s, frchg.s, fschg.s,
        fsqrt.s, fsub.s, ftrc.s, shll16.s, shll2.s, shll8.s, shll.s,
        shlr16.s, shlr2.s, shlr8.s, shlr.s, swap.s: New files.

21 years agodaily update
Alan Modra [Sat, 26 Jul 2003 00:00:06 +0000 (00:00 +0000)]
daily update

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

21 years ago2003-07-25 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 25 Jul 2003 23:52:43 +0000 (23:52 +0000)]
2003-07-25  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (pshl): Change < to <= (shift by 16 is allowed).
        Cast argument of >> to unsigned to prevent sign extension.
        (psha): Change < to <= (shift by 32 is allowed).

21 years ago2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 25 Jul 2003 16:08:28 +0000 (16:08 +0000)]
2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (obj_elf_change_section): Always set section
type and flags.

21 years ago2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 25 Jul 2003 14:55:16 +0000 (14:55 +0000)]
2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* bfd-in2.h: Regenerated.

21 years agobfd/
H.J. Lu [Fri, 25 Jul 2003 14:35:56 +0000 (14:35 +0000)]
bfd/

2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (bfd_elf_special_section): New.
(elf_backend_data): Add special_sections, a pointer to
bfd_elf_special_section.
(elf_section_type). New.
(elf_section_flags): New.
(_bfd_elf_get_sec_type_attr): New.

* elf.c (_bfd_elf_make_section_from_shdr): Always use the
real section type/flags.
(special_sections): New.
(get_special_section): New.
(_bfd_elf_get_sec_type_attr): New.
(_bfd_elf_new_section_hook): Check special_section to set
elf_section_type and elf_section_flags.
(elf_fake_sections): Don't use section name to set ELF section
data.

* elf32-m32r.c (m32r_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-m68hc11.c (elf32_m68hc11_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-mcore.c (mcore_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-ppc.c (ppc_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-sh64.c (sh64_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-v850.c (v850_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf32-xtensa.c (elf_xtensa_special_sections): New.
(elf_backend_special_sections): Defined.

* elf64-alpha.c (elf64_alpha_special_sections): New.
(elf_backend_special_sections): Defined.

* elf64-hppa.c (elf64_hppa_special_sections): New.
(elf_backend_special_sections): Defined.

* elf64-ppc.c (ppc64_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elf64-sh64.c (sh64_elf64_special_sections): New.
(elf_backend_special_sections): Defined.

* elfxx-ia64.c (elfNN_ia64_special_sections): New.
(elf_backend_special_sections): Defined.

* elfxx-mips.c (_bfd_mips_elf_special_sections): New.

* elfxx-mips.h (_bfd_mips_elf_special_sections): New.
(elf_backend_special_sections): Defined.

* elfxx-target.h (elf_backend_special_sections): New. Default
to NULL.
(elfNN_bed): Initialize special_sections.

* section.c (bfd_abs_section): Remove const.
(bfd_und_section): Likewise.
(bfd_com_section): Likewise.
(bfd_ind_section): Likewise.

gas/

2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (special_sections): Removed.
(obj_elf_change_section): Call _bfd_elf_get_sec_type_attr. Set
elf_section_type and elf_section_flags.
(elf_frob_file): Set SHT_GROUP.

* config/obj-elf.h (obj_sec_set_private_data): New.

* config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): Removed.
* config/tc-ia64.h: Likewise.
* config/tc-m32r.h: Likewise.
* config/tc-m68hc11.h: Likewise.
* config/tc-mcore.h: Likewise.
* config/tc-mips.h: Likewise.
* config/tc-ppc.h: Likewise.
* config/tc-sh64.h: Likewise.
* config/tc-v850.h: Likewise.
* config/tc-xtensa.h: Likewise.

* config/tc-v850.h (SHF_V850_GPREL): Removed.
(SHF_V850_EPREL): Likewise.
(SHF_V850_R0REL): Likewise.

* subsegs.c (subseg_get): Call obj_sec_set_private_data if it
is defined.

include/elf/

2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* v850.h (SHF_V850_GPREL): New.
(SHF_V850_EPREL): Likewise.
(SHF_V850_R0REL): Likewise.

21 years agoInclude SEC_CODE so that code sections are assigned the LOAD attribute.
Nick Clifton [Fri, 25 Jul 2003 10:50:03 +0000 (10:50 +0000)]
Include SEC_CODE so that code sections are assigned the LOAD attribute.

21 years ago * elf32-sh.c: Convert to C90. Replace PTR with void *.
Kaz Kojima [Fri, 25 Jul 2003 06:19:20 +0000 (06:19 +0000)]
* elf32-sh.c: Convert to C90.  Replace PTR with void *.
* elf32-sh64-com.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-sh64.h: Likewise.
* elf64-sh64.c: Likewise.

21 years ago2003-07-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 25 Jul 2003 01:39:42 +0000 (01:39 +0000)]
2003-07-24  H.J. Lu  <hongjiu.lu@intel.com>

* ld-powerpc/tlsexe.r: .sbss is NOBITS, not PROGBITS.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.

21 years ago2003-07-24 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 25 Jul 2003 00:59:36 +0000 (00:59 +0000)]
2003-07-24  Michael Snyder  <msnyder@redhat.com>

        * gencode.c: Fix typo in comment.

21 years agodaily update
Alan Modra [Fri, 25 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 25 Jul 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * config/tc-m68hc11.h (DWARF2_ADDR_SIZE): Use 32-bit address for
Stephane Carrez [Thu, 24 Jul 2003 20:55:38 +0000 (20:55 +0000)]
* config/tc-m68hc11.h (DWARF2_ADDR_SIZE): Use 32-bit address for
debugging symbols so that we handle page memory correctly.

21 years ago * tui.c (tui_rl_other_window): New function to switch the TUI active
Stephane Carrez [Thu, 24 Jul 2003 20:23:17 +0000 (20:23 +0000)]
* tui.c (tui_rl_other_window): New function to switch the TUI active
window and give focus to a next window.
(tui_initialize_readline): Bind it to c-x o.
(tui_rl_next_keymap): Activate TUI mode when entering SingleKey mode.

21 years ago * NEWS: Mention "regs" deprecated for m68hc11 too.
Stephane Carrez [Thu, 24 Jul 2003 19:59:33 +0000 (19:59 +0000)]
* NEWS: Mention "regs" deprecated for m68hc11 too.

* m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command.
(m68hc11_print_register): New function to print out one register.
(m68hc11_print_registers_info): New function to print registers.
(show_regs): Deprecate and use the above.
(m68hc11_gdbarch_init): Install the print_registers_info.

21 years ago * linux-arm-low.c (arm_reinsert_addr): New function.
Daniel Jacobowitz [Thu, 24 Jul 2003 19:03:50 +0000 (19:03 +0000)]
* linux-arm-low.c (arm_reinsert_addr): New function.
(the_low_target): Add arm_reinsert_addr.

21 years ago * gdbint.texinfo (libgdb components): Correct a GDB to GDBN.
Daniel Jacobowitz [Thu, 24 Jul 2003 18:56:37 +0000 (18:56 +0000)]
* gdbint.texinfo (libgdb components): Correct a GDB to GDBN.

21 years ago * gdb.texinfo (Server): Mention pidof.
Daniel Jacobowitz [Thu, 24 Jul 2003 18:55:04 +0000 (18:55 +0000)]
* gdb.texinfo (Server): Mention pidof.

21 years ago From Kei Sakamoto <sakamoto.kei@renesas.com>:
Daniel Jacobowitz [Thu, 24 Jul 2003 18:45:43 +0000 (18:45 +0000)]
From Kei Sakamoto <sakamoto.kei@renesas.com>:
* gdb.base/relocate.c (dummy): New padding array.

21 years ago2003-07-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 24 Jul 2003 16:42:54 +0000 (16:42 +0000)]
2003-07-24  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify
        that we have a SIGTRAP before returning non-zero.

21 years agoDo not ignore sections without the LOAD flag when disassemble_all is true.
Nick Clifton [Thu, 24 Jul 2003 14:06:07 +0000 (14:06 +0000)]
Do not ignore sections without the LOAD flag when disassemble_all is true.
Only print a message about disassembling a section if it contains some data.

21 years ago * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
Kaz Kojima [Thu, 24 Jul 2003 11:37:02 +0000 (11:37 +0000)]
* elf32-sh.c (sh_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
(allocate_dynrelocs): Likewise.
(sh_elf_relocate_section): Likewise. Use SYMBOL_REFERENCES_LOCAL.
(sh_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.

21 years agoUpdated French translations
Nick Clifton [Thu, 24 Jul 2003 11:16:05 +0000 (11:16 +0000)]
Updated French translations

21 years ago2003-07-23 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 24 Jul 2003 00:38:07 +0000 (00:38 +0000)]
2003-07-23  Michael Snyder  <msnyder@redhat.com>

        * gencode.c: A few more fix-ups of refs and defs.
        (frchg): Raise SIGILL if in double-precision mode.
        (ldtlb): We don't simulate cache, so this is a no-op.
        (movsxy_tab): Correct a few bit pattern errors.

21 years ago * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Make inline and move
Bob Wilson [Thu, 24 Jul 2003 00:24:00 +0000 (00:24 +0000)]
    * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Make inline and move
        near the beginning of the file.  Swap order of arguments.  Call
        _bfd_elf_dynamic_symbol_p with "ignore_protected" set to 0.
        (elf_xtensa_fix_refcounts): Adjust xtensa_elf_dynamic_symbol_p call.
        (elf_xtensa_relocate_section): Likewise.
        (shrink_dynamic_reloc_sections): Likewise.

21 years ago * elf32-xtensa.c (plt_reloc_count): Fix typo in comment.
Bob Wilson [Thu, 24 Jul 2003 00:13:42 +0000 (00:13 +0000)]
    * elf32-xtensa.c (plt_reloc_count): Fix typo in comment.
        (elf_xtensa_size_dynamic_sections): Use elf_discarded_section.
        (elf_xtensa_combine_prop_entries): Avoid returning non-zero without
        first printing an error message.
        (elf_xtensa_finish_dynamic_sections): Likewise.
        (elf_xtensa_discard_info_for_section): Adjust size of .got.loc when
        discarding literal table entries.
        (elf_xtensa_merge_private_bfd_data): Remove newline from error message.
        (elf_xtensa_do_asm_simplify): Likewise.

21 years agodaily update
Alan Modra [Thu, 24 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Thu, 24 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-07-09 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 Jul 2003 21:47:28 +0000 (21:47 +0000)]
2003-07-09  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (prnd): Clear LSW of result to zeros.

21 years ago2003-07-23 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 Jul 2003 21:45:36 +0000 (21:45 +0000)]
2003-07-23  Michael Snyder  <msnyder@redhat.com>

        * pmuls.s: New file.

21 years ago2003-07-09 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 Jul 2003 21:43:50 +0000 (21:43 +0000)]
2003-07-09  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (pmuls): Expression is mis-parenthesized.

21 years ago2003-07-09 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 Jul 2003 21:41:30 +0000 (21:41 +0000)]
2003-07-09  Michael Snyder  <msnyder@redhat.com>

* configure.in: Add testsuite to extra_subdirs for sh.
* configure: Regenerate.

21 years ago2003-07-09 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 Jul 2003 21:41:09 +0000 (21:41 +0000)]
2003-07-09  Michael Snyder  <msnyder@redhat.com>

* sim/sh: New directory.  Tests for Renesas sh family.

21 years ago * tui.c (tui_enable): Call tuiRefreshAll to make sure the window
Stephane Carrez [Wed, 23 Jul 2003 21:40:59 +0000 (21:40 +0000)]
* tui.c (tui_enable): Call tuiRefreshAll to make sure the window
is accurate.

21 years ago2003-07-08 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 Jul 2003 21:40:43 +0000 (21:40 +0000)]
2003-07-08  Michael Snyder  <msnyder@redhat.com>

* allinsn.exp, testutils.inc, add.s, fabs.s, fadd.s, fcmpeq.s,
fcmpgt.s, fcnvds.s, fcnvsd.s, fdiv.s, fldi0.s, fldi1.s, flds.s,
float.s, fmac.s, fmov.s, fmul.s, fneg.s, frchg.s, fschg.s,
fsqrt.s, fsub.s, ftrc.s, shll16.s, shll2.s, shll8.s, shll.s,
shlr16.s, shlr2.s, shlr8.s, shlr.s, swap.s: New files.

21 years ago2003-07-09 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 Jul 2003 21:28:06 +0000 (21:28 +0000)]
2003-07-09  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (ppi_gensim): For a conditional ppi insn, if the
        condition is false, we want to return (not break).  A break
        will take us to the end of the function where registers will
be updated, whereas the desired outcome is for nothing to change.

21 years ago2003-06-27 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 Jul 2003 21:25:41 +0000 (21:25 +0000)]
2003-06-27  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (op tab): Some fix-ups of refs and defs.
        (ocbi, ocbp): Cache not simulated, but may cause memory fault.
        (gensym_caselist): Add default case to switch statement.
        (expand_ppi_code): Add default case to switch statement.

21 years ago2003-06-27 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 Jul 2003 21:23:32 +0000 (21:23 +0000)]
2003-06-27  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (op tab): Implement movca.l.

21 years ago * tui-interp.c (tui_resume): Enable tui when we expected it.
Stephane Carrez [Wed, 23 Jul 2003 21:22:14 +0000 (21:22 +0000)]
* tui-interp.c (tui_resume): Enable tui when we expected it.
(tui_suspend): Remember in which TUI mode we are.
(_initialize_tui_interp): Use the tui interpreter even when no
other interpreter was set and define in which TUI mode to start.

21 years ago2003-06-27 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 Jul 2003 21:17:33 +0000 (21:17 +0000)]
2003-06-27  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (op movsxy_tab): Fix an error in the bit pattern.

21 years ago2003-06-27 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 Jul 2003 21:14:54 +0000 (21:14 +0000)]
2003-06-27  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (gensim_caselist): The movy instructions use
        registers R6 and R7 (not R4 and R5 like the movx insns).

21 years ago * gas/m68hc11/m68hc11.exp: Execute the new tests.
Stephane Carrez [Wed, 23 Jul 2003 20:13:38 +0000 (20:13 +0000)]
* gas/m68hc11/m68hc11.exp: Execute the new tests.
* gas/m68hc11/abi.s: New test for abi elf flags.
* gas/m68hc11/abi-m68hc11-32-64.d: Test for 32-bit int, 64-bit float.
* gas/m68hc11/abi-m68hc11-16-64.d: Test for 16-bit int, 64-bit float.
* gas/m68hc11/abi-m68hc11-32-32.d: Test for 32-bit int, 32-bit float.
* gas/m68hc11/abi-m68hc11-16-32.d: Test for 16-bit int, 32-bit float.

21 years ago * ld-srec/srec.exp: For m6811/m6812 use --defsym to define _.z soft
Stephane Carrez [Wed, 23 Jul 2003 19:55:53 +0000 (19:55 +0000)]
* ld-srec/srec.exp: For m6811/m6812 use --defsym to define _.z soft
register.

21 years ago * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Avoid crash when
Stephane Carrez [Wed, 23 Jul 2003 19:40:23 +0000 (19:40 +0000)]
* elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Avoid crash when
we have a local symbol in common section.

21 years ago * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
Stephane Carrez [Wed, 23 Jul 2003 19:33:20 +0000 (19:33 +0000)]
* scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
account .tramp sections;
* scripttempl/elfm68hc12.sc: Likewise.

21 years ago * config/tc-arm.c (arm_archs): Add iwmmxt.
Daniel Jacobowitz [Wed, 23 Jul 2003 19:30:39 +0000 (19:30 +0000)]
* config/tc-arm.c (arm_archs): Add iwmmxt.

21 years ago2003-07-23 Michal Ludvig <mludvig@suse.cz>
Elena Zannoni [Wed, 23 Jul 2003 19:24:31 +0000 (19:24 +0000)]
2003-07-23  Michal Ludvig  <mludvig@suse.cz>
    Elena Zannoni  <ezannoni@redhat.com>

  * linespec.c (decode_line_2): Avoid crash if
  find_function_start_sal() returns empty record.

21 years ago2003-07-23 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 Jul 2003 18:53:34 +0000 (18:53 +0000)]
2003-07-23  Michael Snyder  <msnyder@redhat.com>

        * gdb.base/return2.exp: Don't test long-long return.

21 years ago2003-07-23 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 Jul 2003 18:46:14 +0000 (18:46 +0000)]
2003-07-23  Michael Snyder  <msnyder@redhat.com>

* gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
* gdb.disasm/t01_mov.exp: Ditto.
* gdb.disasm/t02_mova.s: Ditto.
* gdb.disasm/t02_mova.exp: Ditto.
* gdb.disasm/t03_add.s: Ditto.
* gdb.disasm/t03_add.exp: Ditto.
* gdb.disasm/t04_sub.s: Ditto.
* gdb.disasm/t04_sub.exp: Ditto.
* gdb.disasm/t05_cmp.s: Ditto.
* gdb.disasm/t05_cmp.exp: Ditto.
* gdb.disasm/t06_ari2.s: Ditto.
* gdb.disasm/t06_ari2.exp: Ditto.
* gdb.disasm/t07_ari3.s: Ditto.
* gdb.disasm/t07_ari3.exp: Ditto.
* gdb.disasm/t08_or.s: Ditto.
* gdb.disasm/t08_or.exp: Ditto.
* gdb.disasm/t09_xor.s: Ditto.
* gdb.disasm/t09_xor.exp: Ditto.
* gdb.disasm/t10_and.s: Ditto.
* gdb.disasm/t10_and.exp: Ditto.
* gdb.disasm/t11_logs.s: Ditto.
* gdb.disasm/t11_logs.exp: Ditto.
* gdb.disasm/t12_bit.s: Ditto.
* gdb.disasm/t12_bit.exp: Ditto.
* gdb.disasm/t13_otr.s: Ditto.
* gdb.disasm/t13_otr.exp: Ditto.

21 years ago * ia64-tdep.c (ia64_print_insn): New function.
Andreas Schwab [Wed, 23 Jul 2003 18:32:20 +0000 (18:32 +0000)]
* ia64-tdep.c (ia64_print_insn): New function.
(ia64_gdbarch_init): Set print_insn to it.
(_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and
deprecated_tm_print_insn_info.

21 years agoTidy up code. Switch to ISO C
Nick Clifton [Wed, 23 Jul 2003 17:34:03 +0000 (17:34 +0000)]
Tidy up code.  Switch to ISO C

21 years ago2003-07-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 23 Jul 2003 03:08:26 +0000 (03:08 +0000)]
2003-07-22  Elena Zannoni  <ezannoni@redhat.com>

* gdb.threads/tls.exp :Add kfail for 'info address' case.

21 years ago2003-07-22 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 Jul 2003 01:25:55 +0000 (01:25 +0000)]
2003-07-22  Michael Snyder  <msnyder@redhat.com>

        * h8300-tdep.c (h8300_extract_return_value): Teach it how to
        handle 8-bit returns (long long).
        (h8300h_extract_return_value): Ditto.
        (h8300_gdbarch_init): Long long is 8 bytes, char is unsigned.

21 years ago*** empty log message ***
gdbadmin [Wed, 23 Jul 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Wed, 23 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-07-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 22 Jul 2003 19:49:58 +0000 (19:49 +0000)]
2003-07-22  Andrew Cagney  <cagney@redhat.com>

* gdbarch.c Include "gdb_obstack.h".
(struct gdbarch): Add an "obstack".
(alloc_gdbarch_data): Allocate the gdbarch data using
GDBARCH_OBSTACK_CALLOC.
(free_gdbarch_data): Delete function.
(gdbarch_obstack_zalloc): New function.
(gdbarch_free): Free the obstack, do not call free_gdbarch_data.
Assert that the architecture is not initialized.
(gdbarch_alloc): Allocate an obstack, allocate the architecture
vector from the obstack.
(alloc_gdbarch_data, init_gdbarch_swap): Allocate memory using the
architecture obstack.
(GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Define.
(set_gdbarch_data): Assert that the data is not initialized.
(struct gdbarch_data): Delete member "free".
(register_gdbarch_data): Do not initialize "free".
* gdbarch.h, gdbarch.c: Re-generate.

21 years ago2003-07-22 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 22 Jul 2003 19:07:30 +0000 (19:07 +0000)]
2003-07-22  Michael Snyder  <msnyder@redhat.com>

        * compile.c (sim_resume): Revert 6-24 change, it does not
        work with gdb breakpoints.

21 years ago* Makefile.tpl (all-make): Depend on intl.
Alexandre Oliva [Tue, 22 Jul 2003 19:03:26 +0000 (19:03 +0000)]
* Makefile.tpl (all-make): Depend on intl.
* Makefile.in: Rebuilt.

21 years ago2003-07-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 22 Jul 2003 18:24:42 +0000 (18:24 +0000)]
2003-07-22  Elena Zannoni  <ezannoni@redhat.com>

* dwarf2loc.c (locexpr_describe_location): Fix typos.

21 years ago2003-07-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 22 Jul 2003 18:18:10 +0000 (18:18 +0000)]
2003-07-22  Andrew Cagney  <cagney@redhat.com>

* configure.in (build_warnings): Add -Wformat-nonliteral.
* configure: Re-generate.

2003-07-22  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Coding): Add -Wformat-nonliteral to -Werror
list.

21 years ago2003-07-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 22 Jul 2003 18:16:05 +0000 (18:16 +0000)]
2003-07-22  Elena Zannoni  <ezannoni@redhat.com>

dwarf2loc.c (locexpr_describe_location): Fix typo.

21 years ago2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 22 Jul 2003 15:52:44 +0000 (15:52 +0000)]
2003-07-22  H.J. Lu <hongjiu.lu@intel.com>

* elflink.c (_bfd_elf_dynamic_symbol_p): Don't return TRUE for
weak symbols.

21 years ago2003-07-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 22 Jul 2003 15:49:45 +0000 (15:49 +0000)]
2003-07-22  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.threads/tls.c : New file.
        * gdb.threads/tls.exp : New file.
        * gdb.threads/tls-main.c : New file.
        * gdb.threads/tls-shared.c : New file.
        * gdb.threads/tls-shared.exp : New file.

21 years ago2003-07-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 22 Jul 2003 15:41:59 +0000 (15:41 +0000)]
2003-07-22  Elena Zannoni  <ezannoni@redhat.com>

* findvar.c (read_var_value): Remove case for thread local storage
variables.  It is now entirely handled by the dwarf2 location
expression code.
* printcmd.c (address_info): Ditto.
* symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC
enumeration value.
(struct symbol): Remove objfile field, which was used by
LOC_THREAD_LOCAL_STATIC only.
* dwarf2read.c (decode_locdesc): Remove is_thread_local variable.
* dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about
usage of objfile pointer.
* dwarf2loc.c (locexpr_describe_location): Add case to handle
thread local variables.
Add include of objfiles.h.
* dwarf2expr.c (execute_stack_op): Add comments about thread local
storage variables.
* Makefile.in (dwarf2loc.o): Update dependencies.

21 years ago2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 22 Jul 2003 15:27:06 +0000 (15:27 +0000)]
2003-07-22  H.J. Lu <hongjiu.lu@intel.com>

* read.c (do_parse_cons_expression): Mark nbytes unused to
silence gcc.

21 years ago2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 22 Jul 2003 14:58:35 +0000 (14:58 +0000)]
2003-07-22  H.J. Lu <hongjiu.lu@intel.com>

* ld-selective/selective.exp: Skip "ia64-*-*".

* ld-srec/srec.exp: Make xfail on "ia64-*-*".

21 years ago* objdump.c: New command line option --debugging-tags.
Nick Clifton [Tue, 22 Jul 2003 13:33:32 +0000 (13:33 +0000)]
* objdump.c: New command line option --debugging-tags.
* doc/binutils.texi: Document new command line option.
* prdbg.c: Code to print the debug info as tags compatible with ctags.
* budbg.h: Adjust prototype.
* NEWS: Mention new switch

21 years ago2003-07-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 22 Jul 2003 12:48:23 +0000 (12:48 +0000)]
2003-07-22  Andrew Cagney  <cagney@redhat.com>

* config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use
get_frame_base.
(FRAME_BASE_BEFORE_SIGTRAMP): Ditto.
(FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto.
(struct value): Add opaque declaration.
(DEPRECATED_FRAME_ARGS_ADDRESS): Delete.

21 years ago * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
Andreas Schwab [Tue, 22 Jul 2003 12:16:37 +0000 (12:16 +0000)]
* gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.

21 years agoAdd C_TCSYM and C_ECOML to expected RS6000 storage classes.
Nick Clifton [Tue, 22 Jul 2003 09:06:49 +0000 (09:06 +0000)]
Add C_TCSYM and C_ECOML to expected RS6000 storage classes.

21 years ago* config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc
Alexandre Oliva [Tue, 22 Jul 2003 04:56:50 +0000 (04:56 +0000)]
* config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc
or bsr/bs.

21 years ago* config/tc-h8300.c (md_assemble): Make sure characters after
Alexandre Oliva [Tue, 22 Jul 2003 04:56:05 +0000 (04:56 +0000)]
* config/tc-h8300.c (md_assemble): Make sure characters after
slash and dot are lower-case.

21 years agodaily update
Alan Modra [Tue, 22 Jul 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 22 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-07-21 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 21 Jul 2003 23:00:22 +0000 (23:00 +0000)]
2003-07-21  H.J. Lu <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Mark
output_bfd unused to silence gcc.

21 years ago2003-07-21 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 21 Jul 2003 18:56:05 +0000 (18:56 +0000)]
2003-07-21  Andrew Cagney  <cagney@redhat.com>

From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>:
* m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite.

21 years agoUpdated Swedish translation
Nick Clifton [Mon, 21 Jul 2003 09:36:39 +0000 (09:36 +0000)]
Updated Swedish translation

21 years ago * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use..
Alan Modra [Mon, 21 Jul 2003 00:24:10 +0000 (00:24 +0000)]
* elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use..
(_bfd_elf_symbol_refs_local_p): ..this.  Declare.
* elflink.c (_bfd_elf_symbol_refs_local_p): New function.
* elf32-i386.c (elf_i386_relocate_section): Remove h NULL test
now done in _bfd_elf_symbol_refs_local_p.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.

21 years agodaily update
Alan Modra [Mon, 21 Jul 2003 00:00:06 +0000 (00:00 +0000)]
daily update

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

21 years ago * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use
Stephane Carrez [Sun, 20 Jul 2003 18:36:27 +0000 (18:36 +0000)]
* m68hc11-tdep.c (m68hc11_pseudo_register_read): Use
regcache_cooked_read_unsigned instead of read_register.
(m68hc11_saved_pc_after_call): Likewise.
(m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned
instead of write_register.
(m68hc11_register_type): New function.
(m68hc11_register_virtual_type): Remove.
(m68hc11_store_return_value): Convert to use the regcache.
(m68hc11_extract_struct_value_address): Likewise.
(m68hc11_gdbarch_init): Remove deprecated ops for register to use
m68hc11_register_type; undeprecate store_return_value and
extract_struct_value_address.

21 years ago * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
Andreas Schwab [Sun, 20 Jul 2003 17:39:16 +0000 (17:39 +0000)]
* gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
due to insn reordering.

21 years ago * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read
Stephane Carrez [Sun, 20 Jul 2003 14:18:14 +0000 (14:18 +0000)]
* m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read
and translate to use regcache.
(m68hc11_gdbarch_init): Undeprecate extract_return_value.

21 years agodaily update
Alan Modra [Sun, 20 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sun, 20 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-07-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 19 Jul 2003 07:31:15 +0000 (07:31 +0000)]
2003-07-20  H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (.po.gmo): Do check if the .gmo file is writable
before generating it.

21 years ago2003-07-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 19 Jul 2003 06:41:42 +0000 (06:41 +0000)]
2003-07-18  H.J. Lu <hongjiu.lu@intel.com>

* elflink.c (_bfd_elf_dynamic_symbol_p): Undo the last change.

21 years ago2003-07-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 19 Jul 2003 04:12:22 +0000 (04:12 +0000)]
2003-07-18  H.J. Lu <hongjiu.lu@intel.com>

* elf-bfd.h (SYMBOL_REFERENCES_LOCAL): Fix a typo.
(SYMBOL_CALLS_LOCAL): Likewise.

* elflink.c (_bfd_elf_dynamic_symbol_p): Return TRUE
immediately if symbol isn't defined locally.

21 years ago*** empty log message ***
gdbadmin [Sat, 19 Jul 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

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

21 years ago2003-07-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 18 Jul 2003 21:31:50 +0000 (21:31 +0000)]
2003-07-18  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method.
* gdbarch.h, gdbarch.c: Re-generate.
* i386-tdep.c (i386_gdbarch_init): Do not set
DWARF2_BUILD_FRAME_INFO.
* elfread.c (elf_symfile_read): Call dwarf2_build_frame_info
unconditionally.
* alpha-tdep.c (alpha_dwarf2_init_abi): Do not set
DWARF2_BUILD_FRAME_INFO.

21 years ago * elflink.c (_bfd_elf_dynamic_symbol_p): New.
Richard Henderson [Fri, 18 Jul 2003 21:09:28 +0000 (21:09 +0000)]
    * elflink.c (_bfd_elf_dynamic_symbol_p): New.
        * elf-bfd.h (_bfd_elf_dynamic_symbol_p): Declare it.
        (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use it.
        * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Likewise.
        * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.
        * elf64-hppa.c (elf64_hppa_dynamic_symbol_p): Likewise.
        * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Likewise.
        Update all callers to provide the relocation being resolved.

21 years ago2003-07-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 18 Jul 2003 20:16:23 +0000 (20:16 +0000)]
2003-07-18  Andrew Cagney  <cagney@redhat.com>

From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>:
        * disasm.c (gdb_disassemble_info): Initilize di.arch.

21 years ago2003-07-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 18 Jul 2003 19:59:27 +0000 (19:59 +0000)]
2003-07-18  Andrew Cagney  <cagney@redhat.com>

* dwarf2-frame.c (dwarf2_frame_sniffer): Use
frame_unwind_address_in_block, instead of frame_pc_unwind.
(dwarf2_frame_cache): Ditto.

21 years ago2003-07-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 18 Jul 2003 19:01:14 +0000 (19:01 +0000)]
2003-07-18  Andrew Cagney  <cagney@redhat.com>

* user-regs.h (struct gdbarch): Declare opaque.
* ui-out.h (struct ui_file): Declare opaque.
* dwarf2-frame.h (struct frame_info): Declare opaque.

21 years ago2003-07-18 Kris Warkentin <kewarken@qnx.com>
Kris Warkentin [Fri, 18 Jul 2003 17:15:33 +0000 (17:15 +0000)]
2003-07-18  Kris Warkentin  <kewarken@qnx.com>

* nto-procfs.c: Clean ARI hits.  Change #include <..> to
#include ....
(procfs_meminfo): Change strerror to safe_strerror.
(procfs_can_run): Remove K&R badness.

21 years ago* objdump.c (main) :Accept multiple -M switch.
Nick Clifton [Fri, 18 Jul 2003 11:34:41 +0000 (11:34 +0000)]
* objdump.c (main) :Accept multiple -M switch.
* doc/binutils.texi: Document that multiple -M switches are accepted and that
  a single -M switch can contain comma separated options.
* arm-dis.c (parse_arm_disassembler_option): Do not expect option string to be
  NUL terminated.
  (parse_disassembler_options): Allow options to be space or comma separated.

21 years ago2003-07-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 18 Jul 2003 00:21:00 +0000 (00:21 +0000)]
2003-07-17  Michael Snyder  <msnyder@redhat.com>

* remote-sim.c: Comment typo fix.