binutils-gdb.git
18 years agoconfig/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx>
Arnold Metselaar [Fri, 2 Dec 2005 22:31:16 +0000 (22:31 +0000)]
config/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx>

18 years ago2005-12-02 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 2 Dec 2005 20:09:42 +0000 (20:09 +0000)]
2005-12-02  Dave Brolley  <brolley@redhat.com>

        * configure.in (cgen_files): Add cgen-bitset.lo.
        (ta): Add cgen-bitset.lo when arch==bfd_cris_arch.
        * Makefile.am (CFILES): Add cgen-bitset.c.
        (ALL_MACHINES): Add cgen-bitset.lo.
        (cgen-bitset.lo): New target.
        * cgen-opc.c (cgen_bitset_create, cgen_bitset_init, cgen_bitset_clear)
        (cgen_bitset_add, cgen_bitset_set, cgen_bitset_contains)
        (cgen_bitset_compare, cgen_bitset_intersect_p, cgen_bitset_copy)
        (cgen_bitset_union): Moved from here ...
        * cgen-bitset.c: ... to here. New file.
        * Makefile.in: Regenerated.
        * configure: Regenerated.

18 years ago2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Fri, 2 Dec 2005 14:58:18 +0000 (14:58 +0000)]
2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>

* breakpoint.c (BREAK_ARGS_HELP): New mecro.
(_initialize_breakpoint): Enhance break, tbreak, hbreak and thbreak
commands' help by adding more information and using BREAK_ARGS_HELP
to duplicate the common parts.  Remove now-redundant cross-references.

testsuite/
* gdb.base/help.exp (help b, help br, help bre, help brea)
(help break): Update the expected message.

18 years ago2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Fri, 2 Dec 2005 11:44:19 +0000 (11:44 +0000)]
2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>

* value.c (init_if_undefined_command): New function.
(_initialize_values): Add command init-if-undefined.
* NEWS (Changes since GDB 6.3): Rename to 'Changes in GDB 6.4'.
(Changes since GDB 6.4): New section.
Mention new command init-if-undefined.

doc/
* gdb.texinfo (Convenience variables): Add init-if-undefined command.

18 years ago2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Fri, 2 Dec 2005 11:11:23 +0000 (11:11 +0000)]
2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>

* symfile.c (symbol_file_clear): Test symfile_objfile is not NULL
before dereferencing it.
Gettextize the query.

18 years ago GDB 6.4 released from GDB 6.4 branch.
Joel Brobecker [Fri, 2 Dec 2005 07:35:20 +0000 (07:35 +0000)]
   GDB 6.4 released from GDB 6.4 branch.

18 years ago*** empty log message ***
gdbadmin [Fri, 2 Dec 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Thu, 1 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * ms1-tdep.c (ms1_register_name): Const qualify array.
Nathan Sidwell [Thu, 1 Dec 2005 13:19:58 +0000 (13:19 +0000)]
* ms1-tdep.c (ms1_register_name): Const qualify array.
(ms1_registers_info): Use gdb_byte.
(ms1_push_dummy_call): Likewise.
(ms1_gdbarch_init): Remove illformed nested prototype.

19 years ago* elf32-m32r.c (m32r_elf_sweep_hook): Fix an illegal duplicate check.
Nick Clifton [Thu, 1 Dec 2005 04:48:13 +0000 (04:48 +0000)]
* elf32-m32r.c (m32r_elf_sweep_hook): Fix an illegal duplicate check.
(m32r_elf_relocate_section): Fix R_M32R_10_PCREL_RELA linkage bug.
(m32r_elf_gc_sweep_hook): Likewise.
(m32r_elf_check_relocs): Likewise.

19 years ago*** empty log message ***
gdbadmin [Thu, 1 Dec 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 30 Nov 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years agoAdd Finnish translation
Nick Clifton [Wed, 30 Nov 2005 21:02:05 +0000 (21:02 +0000)]
Add Finnish translation

19 years ago*** empty log message ***
gdbadmin [Wed, 30 Nov 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 29 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * dwarf2-frame.c (dwarf2_frame_prev_register): Handle
Frederic Riss [Tue, 29 Nov 2005 07:52:39 +0000 (07:52 +0000)]
* dwarf2-frame.c (dwarf2_frame_prev_register): Handle
DWARF2_FRAME_REG_CFA_OFFSET.
* dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add
DWARF2_FRAME_REG_CFA_OFFSET.

19 years ago * sim-signal.c (sim_signal_to_target): Fix typos.
Mark Mitchell [Tue, 29 Nov 2005 02:43:06 +0000 (02:43 +0000)]
* sim-signal.c (sim_signal_to_target): Fix typos.

19 years ago*** empty log message ***
gdbadmin [Tue, 29 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * configure.ac (USE_WIN32API): Define it.
Mark Mitchell [Mon, 28 Nov 2005 23:19:39 +0000 (23:19 +0000)]
* configure.ac (USE_WIN32API): Define it.
* configure.in: Regenerate.
* config.in: Likewise.
* emul_netbsd.c (write_timezone): Guard with HAVE_GETTIMEOFDAY.
* emul_unix.c (do_unix_mkdir): Handle Win32 1-argument mkdir.

19 years agodaily update
Alan Modra [Mon, 28 Nov 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago * psim.c: Include gdb/signals.h.
Mark Mitchell [Mon, 28 Nov 2005 21:30:07 +0000 (21:30 +0000)]
* psim.c: Include gdb/signals.h.

19 years ago * remote-sim.c (gdbsim_wait): Pass target signal numbers to
Mark Mitchell [Mon, 28 Nov 2005 18:33:03 +0000 (18:33 +0000)]
* remote-sim.c (gdbsim_wait): Pass target signal numbers to
sim_resume.  Expect target signal numbers from sim_stop_reason.

* wrapper.c (gdb/signals.h): Include it.
(SIGTRAP): Don't define.
(SIGBUS): Likewise.
(sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*.

* sim-reason.c (sim_stop_reason): Use
sim_signal_to_target, not sim_signal_to_host.
* sim-signal.c (sim_signal_to_host): Fix typo.
(sim_signal_to_target): New function.

* interp.c (gdb/signals.h): Include it.
(sim_stop_reason): Use TARGET_SIGNAL_*.

* interf.c: (gdb/signals.h): Include it.
(sim_stop_reason): Use TARGET_SIGNAL_*.

* sim_calls.c (gdb/signals.h): Include it.
(sim_stop_reason): Use TARGET_SIGNAL_*.
* psim.c (cntrl_c_simulation): Use TARGET_SIGNAL_*.

19 years agoFix changelog typo.
Daniel Jacobowitz [Mon, 28 Nov 2005 03:29:07 +0000 (03:29 +0000)]
Fix changelog typo.

19 years ago* win32-nat.c (env_sort): New function.
Christopher Faylor [Mon, 28 Nov 2005 01:17:59 +0000 (01:17 +0000)]
* win32-nat.c (env_sort): New function.
(win32_create_inferior): Rename env to in_env.  Sort environment before handing
it off to CreateProcess.
(win32_current_sos): Quiet a compiler warning.

19 years ago*** empty log message ***
gdbadmin [Mon, 28 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 27 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sun, 27 Nov 2005 00:01:03 +0000 (00:01 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sat, 26 Nov 2005 23:00:04 +0000 (23:00 +0000)]
daily update

19 years agogas/ acinclude.m4 aclocal.m4 app.c app.o as.c as.h as.h.cvs asintl.h as-new as.o...
Arnold Metselaar [Sat, 26 Nov 2005 20:03:53 +0000 (20:03 +0000)]
gas/ acinclude.m4 aclocal.m4 app.c app.o as.c as.h as.h.cvs asintl.h as-new as.o atof-generic.c atof-generic.o atof-ieee.o autom4te.cache bignum.h bit_fix.h cgen.c cgen.h ChangeLog ChangeLog-0001 ChangeLog-0203 ChangeLog.~1.2755.~ ChangeLog-9295 ChangeLog-9697 ChangeLog-9899 cond.c cond.o config config.cache config.h config.in config.log config.status configure configure.in configure.tgt CONTRIBUTORS COPYING CVS debug.c DEP2 DEPDIR depend.c depend.o dep-in.sed DEPOBJ dep.sed DEPTC doc dw2gencfi.c dw2gencfi.h dw2gencfi.o dwarf2dbg.c dwarf2dbg.h dwarf2dbg.o ecoff.c ecoff.h ecoff.o ehopt.c ehopt.o emul.h emul-target.h expr.c expr.c.cvs expr.h expr.o flonum-copy.c flonum-copy.o flonum.h flonum-konst.c flonum-konst.o flonum-mult.c flonum-mult.o frags.c frags.h frags.o gdbinit.in hash.c hash.h hash.o input-file.c input-file.h input-file.o input-scrub.c input-scrub.o itbl-cpu.h itbl-lex.h itbl-lex.l itbl-ops.c itbl-ops.h itbl-parse.y libtool listing.c listing.h listing.o literal.c literal.o long.s macro.c macro.c.bak macro.h macro.o MAINTAINERS Makefile Makefile.am Makefile.in messages.c messages.o NEWS obj-coff.o obj-format.h obj.h output-file.c output-file.h output-file.o po read.c read.h README read.o sb.c sb.h sb.o site.bak site.exp stabs.c stabs.o stamp-h1 stamp-h.in struc-symbol.h subsegs.c subsegs.h subsegs.o symbols.c symbols.h symbols.o targ-cpu.h targ-env.h tc.h tc-z80.o testsuite write.c write.h write.o config/tc-z80.c (z80_start_line_hook): issue an error when redefining a symbol with equ acinclude.m4 aclocal.m4 app.c app.o as.c as.h as.h.cvs asintl.h as-new as.o atof-generic.c atof-generic.o atof-ieee.o autom4te.cache bignum.h bit_fix.h cgen.c cgen.h ChangeLog ChangeLog-0001 ChangeLog-0203 ChangeLog.~1.2755.~ ChangeLog-9295 ChangeLog-9697 ChangeLog-9899 cond.c cond.o config config.cache config.h config.in config.log config.status configure configure.in configure.tgt CONTRIBUTORS COPYING CVS debug.c DEP2 DEPDIR depend.c depend.o dep-in.sed DEPOBJ dep.sed DEPTC doc dw2gencfi.c dw2gencfi.h dw2gencfi.o dwarf2dbg.c dwarf2dbg.h dwarf2dbg.o ecoff.c ecoff.h ecoff.o ehopt.c ehopt.o emul.h emul-target.h expr.c expr.c.cvs expr.h expr.o flonum-copy.c flonum-copy.o flonum.h flonum-konst.c flonum-konst.o flonum-mult.c flonum-mult.o frags.c frags.h frags.o gdbinit.in hash.c hash.h hash.o input-file.c input-file.h input-file.o input-scrub.c input-scrub.o itbl-cpu.h itbl-lex.h itbl-lex.l itbl-ops.c itbl-ops.h itbl-parse.y libtool listing.c listing.h listing.o literal.c literal.o long.s macro.c macro.c.bak macro.h macro.o MAINTAINERS Makefile Makefile.am Makefile.in messages.c messages.o NEWS obj-coff.o obj-format.h obj.h output-file.c output-file.h output-file.o po read.c read.h README read.o sb.c sb.h sb.o site.bak site.exp stabs.c stabs.o stamp-h1 stamp-h.in struc-symbol.h subsegs.c subsegs.h subsegs.o symbols.c symbols.h symbols.o targ-cpu.h targ-env.h tc.h tc-z80.o testsuite write.c write.h write.o doc/as.texinfo(equ<z80>): mention difference with .equiv acinclude.m4 aclocal.m4 app.c app.o as.c as.h as.h.cvs asintl.h as-new as.o atof-generic.c atof-generic.o atof-ieee.o autom4te.cache bignum.h bit_fix.h cgen.c cgen.h ChangeLog ChangeLog-0001 ChangeLog-0203 ChangeLog.~1.2755.~ ChangeLog-9295 ChangeLog-9697 ChangeLog-9899 cond.c cond.o config config.cache config.h config.in config.log config.status configure configure.in configure.tgt CONTRIBUTORS COPYING CVS debug.c DEP2 DEPDIR depend.c depend.o dep-in.sed DEPOBJ dep.sed DEPTC doc dw2gencfi.c dw2gencfi.h dw2gencfi.o dwarf2dbg.c dwarf2dbg.h dwarf2dbg.o ecoff.c ecoff.h ecoff.o ehopt.c ehopt.o emul.h emul-target.h expr.c expr.c.cvs expr.h expr.o flonum-copy.c flonum-copy.o flonum.h flonum-konst.c flonum-konst.o flonum-mult.c flonum-mult.o frags.c frags.h frags.o gdbinit.in hash.c hash.h hash.o input-file.c input-file.h input-file.o input-scrub.c input-scrub.o itbl-cpu.h itbl-lex.h itbl-lex.l itbl-ops.c itbl-ops.h itbl-parse.y libtool listing.c listing.h listing.o literal.c literal.o long.s macro.c macro.c.bak macro.h macro.o MAINTAINERS Makefile Makefile.am Makefile.in messages.c messages.o NEWS obj-coff.o obj-format.h obj.h output-file.c output-file.h output-file.o po read.c read.h README read.o sb.c sb.h sb.o site.bak site.exp stabs.c stabs.o stamp-h1 stamp-h.in struc-symbol.h subsegs.c subsegs.h subsegs.o symbols.c symbols.h symbols.o targ-cpu.h targ-env.h tc.h tc-z80.o testsuite write.c write.h write.o doc/as.texinfo(err): fix typo acinclude.m4 aclocal.m4 app.c app.o as.c as.h as.h.cvs asintl.h as-new as.o atof-generic.c atof-generic.o atof-ieee.o autom4te.cache bignum.h bit_fix.h cgen.c cgen.h ChangeLog ChangeLog-0001 ChangeLog-0203 ChangeLog.~1.2755.~ ChangeLog-9295 ChangeLog-9697 ChangeLog-9899 cond.c cond.o config config.cache config.h config.in config.log config.status configure configure.in configure.tgt CONTRIBUTORS COPYING CVS debug.c DEP2 DEPDIR depend.c depend.o dep-in.sed DEPOBJ dep.sed DEPTC doc dw2gencfi.c dw2gencfi.h dw2gencfi.o dwarf2dbg.c dwarf2dbg.h dwarf2dbg.o ecoff.c ecoff.h ecoff.o ehopt.c ehopt.o emul.h emul-target.h expr.c expr.c.cvs expr.h expr.o flonum-copy.c flonum-copy.o flonum.h flonum-konst.c flonum-konst.o flonum-mult.c flonum-mult.o frags.c frags.h frags.o gdbinit.in hash.c hash.h hash.o input-file.c input-file.h input-file.o input-scrub.c input-scrub.o itbl-cpu.h itbl-lex.h itbl-lex.l itbl-ops.c itbl-ops.h itbl-parse.y libtool listing.c listing.h listing.o literal.c literal.o long.s macro.c macro.c.bak macro.h macro.o MAINTAINERS Makefile Makefile.am Makefile.in messages.c messages.o NEWS obj-coff.o obj-format.h obj.h output-file.c output-file.h output-file.o po read.c read.h README read.o sb.c sb.h sb.o site.bak site.exp stabs.c stabs.o stamp-h1 stamp-h.in struc-symbol.h subsegs.c subsegs.h subsegs.o symbols.c symbols.h symbols.o targ-cpu.h targ-env.h tc.h tc-z80.o testsuite write.c write.h write.o doc/c-z80.texi(equ): redefining a symbol with equ is no longer allowed

19 years ago * gdbint.texinfo (Start of New Year Procedure): New chapter.
Joel Brobecker [Sat, 26 Nov 2005 00:04:38 +0000 (00:04 +0000)]
    * gdbint.texinfo (Start of New Year Procedure): New chapter.

19 years ago*** empty log message ***
gdbadmin [Sat, 26 Nov 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 25 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2005-11-16 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Fri, 25 Nov 2005 18:33:12 +0000 (18:33 +0000)]
2005-11-16  Andrew Stubbs  <andrew.stubbs@st.com>

* event-top.h (async_init_signals): Add SIGTERM handler.
(handle_sigterm): New function.
* event-top.h (handle_sigterm): New prototype.

19 years agoRemove stray colon.
Daniel Jacobowitz [Fri, 25 Nov 2005 18:12:42 +0000 (18:12 +0000)]
Remove stray colon.

19 years ago2005-11-25 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Fri, 25 Nov 2005 11:45:49 +0000 (11:45 +0000)]
2005-11-25  Andrew Stubbs  <andrew.stubbs@st.com>

* cli-decode.c (find_command_name_length): New function.
(lookup_cmd_1): Replace loop reading command name with
find_command_name_length().
(lookup_cmd): Likewise.
(lookup_cmd_composition): Likewise.

19 years agold/
Jan Beulich [Fri, 25 Nov 2005 09:21:42 +0000 (09:21 +0000)]
ld/
2005-11-25  Jan Beulich  <jbeulich@novell.com>

* Makefile.am: Make configdoc.texi writeable before trying
to write to it.
* Makefile.in: Refresh.

19 years ago * dwarf2-frame.c: (execute_cfa_program): Don't access past the
Frederic Riss [Fri, 25 Nov 2005 06:42:07 +0000 (06:42 +0000)]
* dwarf2-frame.c: (execute_cfa_program): Don't access past the
allocated dwarf2_frame_state.initial.regs.

19 years ago* MAINTAINERS (Write After Approval): Add myself to the list.
Frederic Riss [Fri, 25 Nov 2005 06:34:47 +0000 (06:34 +0000)]
* MAINTAINERS (Write After Approval): Add myself to the list.

19 years ago * gas/macros/purge.l: Increment line numbers.
Dave Anglin [Fri, 25 Nov 2005 02:11:40 +0000 (02:11 +0000)]
* gas/macros/purge.l: Increment line numbers.
* gas/macros/purge.s: Add ".data" line.

19 years ago Bug gas/1896
Dave Anglin [Fri, 25 Nov 2005 02:08:22 +0000 (02:08 +0000)]
Bug gas/1896
* config/tc-hppa.c (hppa_fix_adjustable): Don't reject for reduction
R_HPPA relocations that are 32-bits wide.
* gas/all/redef2.d: Allow "$DATA$" as well as ".data" in matches.
* gas/all/weakref1.d: Allow "$CODE$" as well as ".text" in matches.
* gas/hppa/reloc/reloc.exp: Adjust regexp for new output.

19 years ago*** empty log message ***
gdbadmin [Fri, 25 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Thu, 24 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agobfd/
Alan Modra [Thu, 24 Nov 2005 06:02:08 +0000 (06:02 +0000)]
bfd/
* elf-bfd.h (_bfd_generic_match_sections_by_type): Don't define.
* libbfd-in.h (_bfd_generic_match_sections_by_type): Delete.
* libbfd.c (_bfd_generic_match_sections_by_type): Delete.
* targets.c (bfd_match_sections_by_type): Don't define.
(BFD_JUMP_TABLE_LINK): Remove _bfd_generic_match_sections_by_type.
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
ld/
* ldlang.c (lang_output_section_find_by_flags): Add match_type param.
Run two passes, first using match_type, second without.
* ldlang.h (lang_match_sec_type_func): New typedef.
(lang_output_section_find_by_flags): Update prototype.
bfd_match_sections_by_type and lang_output_section_find_by_flags.
* emultempl/pe.em (place_orphan): Likewise.

19 years ago * ldlang.c (lang_insert_orphan): Skip first assignment to dot
Alan Modra [Thu, 24 Nov 2005 00:58:28 +0000 (00:58 +0000)]
* ldlang.c (lang_insert_orphan): Skip first assignment to dot
in script when looking for place to insert orphan statements.

19 years ago*** empty log message ***
gdbadmin [Thu, 24 Nov 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 23 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2005-11-23 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Wed, 23 Nov 2005 16:30:36 +0000 (16:30 +0000)]
2005-11-23  Andrew Stubbs  <andrew.stubbs@st.com>

* sh-tdep.c (do_fv_register_info, do_dr_register_info): Delete function.
(do_bank_register_info, do_bank_register_info): Likewise.
(sh_print_pseudo_register, sh_do_fp_register): Likewise.
(sh_do_register, sh_print_register, sh_print_registers_info): Likewise.
(sh_gdbarch_init): Remove call to set_gdbarch_print_registers_info().

19 years agobfd/
Daniel Jacobowitz [Wed, 23 Nov 2005 14:04:18 +0000 (14:04 +0000)]
bfd/
* elf32-mips.c (elf_mips_howto_table_rel): Use rightshift 2 for
R_MIPS_PC16.
(mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16.
(bfd_elf32_bfd_reloc_type_lookup): Don't handle
BFD_RELOC_16_PCREL_S2.
* elf64-mips.c (mips_elf64_howto_table_rel): Use rightshift 2 for
R_MIPS_PC16.
(mips_elf64_howto_table_rela): Likewise.
(mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16.
(bfd_elf64_bfd_reloc_type_lookup): Don't handle
BFD_RELOC_16_PCREL_S2.
* elfn32-mips.c (elf_mips_howto_table_rel): Use rightshift 2 for
R_MIPS_PC16.
(elf_mips_howto_table_rela): Likewise.
(mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16.
(bfd_elf32_bfd_reloc_type_lookup): Don't handle
BFD_RELOC_16_PCREL_S2.
* elfxx-mips.c: Formatting fixes.
(mips_elf_calculate_relocation): Handle R_MIPS_GNU_REL16_S2
and R_MIPS_PC16 identically.
gas/
* config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL_S2.
(macro_build): Complain for invalid branch displacements.
(mips_validate_fix): Delete.
(md_apply_fix): Re-add pcrel support for branches.  Use consistent
text for misaligned branch targets.
(tc_gen_reloc: Re-add pcrel support for branches.  Handle strange
BFD pcrel processing.  Remove error for unresolved branches.
* config/tc-mips.h (TC_VALIDATE_FIX, mips_validate_fix): Delete.
gas/testsuite/
* gas/mips/bge.d, gas/mips/bge.s, gas/mips/bgeu.d, gas/mips/bgeu.s,
gas/mips/blt.d, gas/mips/blt.s, gas/mips/bltu.d,
gas/mips/bltu.s: Reactivate external branch tests.
* gas/mips/branch-misc-2.d, gas/mips/branch-misc-2pic.d,
gas/mips/branch-misc-2-64.d, gas/mips/branch-misc-2pic-64.d: New
tests.
* gas/mips/branch-misc-2.l, gas/mips/branch-misc-2pic.l,
gas/testsuite/gas/mips/branch-misc-2pic.s: Remove.
* gas/mips/mips.exp: Adjust branch-misc-2 tests.  Add 64-bit
variants.

19 years ago * elfcode.h (elf_object_p): Delay the setting of start_address
Alan Modra [Wed, 23 Nov 2005 11:46:01 +0000 (11:46 +0000)]
* elfcode.h (elf_object_p): Delay the setting of start_address
until we're sure the backend matches the binary.

19 years agoFix 32-bit host/target --enable-targets=all build failure from Doug Evans.
Jim Wilson [Wed, 23 Nov 2005 04:58:37 +0000 (04:58 +0000)]
Fix 32-bit host/target --enable-targets=all build failure from Doug Evans.
* ia64-gen.c (_opcode_int64_low, _opcode_int64_high,
opcode_fprintf_vma): New.
(print_main_table): New opcode_fprintf_vma instead of fprintf_vma.

19 years agoFix PR 994, core dump with section switching.
Jim Wilson [Wed, 23 Nov 2005 04:34:13 +0000 (04:34 +0000)]
Fix PR 994, core dump with section switching.
* config/tc-ia64.c (slot_index): Emit an error instead of a warning
when the frag chain is broken by section switching.

19 years agoFix PR 1889, infinite loop compiling code with bad user template.
Jim Wilson [Wed, 23 Nov 2005 01:40:55 +0000 (01:40 +0000)]
Fix PR 1889, infinite loop compiling code with bad user template.
* config/tc-ia64.c (emit_one_bundle): Perform last_slot < 0 check
even when manual_bundling isn't set.

19 years ago * gas/all/quad.d: Add -j "\$DATA\$". Modify regexp to check for
Dave Anglin [Wed, 23 Nov 2005 00:28:58 +0000 (00:28 +0000)]
* gas/all/quad.d: Add -j "\$DATA\$".  Modify regexp to check for
"$DATA$" as well as ".data".
* gas/all/sleb128.d: Likewise.

19 years ago2005-11-21 Jim Blandy <jimb@redhat.com>
Jim Blandy [Wed, 23 Nov 2005 00:03:15 +0000 (00:03 +0000)]
2005-11-21  Jim Blandy  <jimb@redhat.com>

* gdb.texinfo (Tracepoint Packets): Document restrictions on
placement of 'R' actions in tracepoint action packets; document
dependence of 'X' and 'M' actions on a preceding 'R' action for
their registers.

19 years ago*** empty log message ***
gdbadmin [Wed, 23 Nov 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 22 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * top.c (print_gdb_version): Update copyright year.
Joel Brobecker [Tue, 22 Nov 2005 19:24:03 +0000 (19:24 +0000)]
    * top.c (print_gdb_version): Update copyright year.

19 years ago*** empty log message ***
gdbadmin [Tue, 22 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Mon, 21 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agoadd self as maintainer for target Z80
Arnold Metselaar [Mon, 21 Nov 2005 14:26:05 +0000 (14:26 +0000)]
add self as maintainer for target Z80

19 years agoadd self as maintainer for target Z80
Arnold Metselaar [Mon, 21 Nov 2005 13:43:33 +0000 (13:43 +0000)]
add self as maintainer for target Z80

19 years ago* inf-ptrace.c (inf_ptrace_xfer_partial): Use PIOD_WRITE_I instead
Mark Kettenis [Mon, 21 Nov 2005 09:11:44 +0000 (09:11 +0000)]
* inf-ptrace.c (inf_ptrace_xfer_partial): Use PIOD_WRITE_I instead
of PIOD_WRITE_D.

19 years ago * sim/cris: New directory with C and assembly tests for the CRIS
Hans-Peter Nilsson [Mon, 21 Nov 2005 04:48:19 +0000 (04:48 +0000)]
* sim/cris: New directory with C and assembly tests for the CRIS
simulator.

19 years ago Bug gas/1894 Bug gas/1895
Dave Anglin [Mon, 21 Nov 2005 04:30:32 +0000 (04:30 +0000)]
Bug gas/1894 Bug gas/1895
* gas/all/gas.exp (redef3): xfail on hppa*-*-hpux*.
* gas/all/redef.d: Add -j "\$DATA\$".  Modify regexp to check for
"$DATA$" as well as ".data".
* gas/all/redef2.d: Likewise.

19 years agogdb/ChangeLog:
Jim Blandy [Mon, 21 Nov 2005 00:30:22 +0000 (00:30 +0000)]
gdb/ChangeLog:
2005-11-19  Jim Blandy  <jimb@redhat.com>

* tracepoint.c (memrange_absolute): New enum constant.
(struct memrange, memrange_cmp, add_memrange, collect_symbol,
stringify_collection_list, encode_actions): Use it instead of '-1'
to indicate an fixed-address memory range.
(Suggested by Eli Zaretskii.)

19 years ago*** empty log message ***
gdbadmin [Mon, 21 Nov 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 20 Nov 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago Bug gas/1879
Dave Anglin [Sun, 20 Nov 2005 22:03:25 +0000 (22:03 +0000)]
Bug gas/1879
* gas/all/weakref1.d: Check for "$CODE$" as well as ".text".
* gas/all/weakref1.s: Indent "-ld1 = l".
* gas/all/weakref1g.d: Remove --no-sort option.
* gas/all/weakref1l.d: Likewise.
* gas/all/weakref1u.d: Likewise.  Sort expected results.
* gas/all/weakref1w.d: Likewise.
* gas/all/weakref2.s: Indent directives.
* gas/all/weakref3.s: Likewise.

19 years ago * som.c (som_decode_symclass): Decode BSF_WEAK symbols in the same
Dave Anglin [Sun, 20 Nov 2005 19:21:06 +0000 (19:21 +0000)]
* som.c (som_decode_symclass): Decode BSF_WEAK symbols in the same
manner as bfd_decode_symclass.

19 years ago cris/traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.
Hans-Peter Nilsson [Sun, 20 Nov 2005 14:52:36 +0000 (14:52 +0000)]
cris/traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.
(open_map): Use TARGET_O_ACCMODE, TARGET_O_RDONLY and
TARGET_O_WRONLY.
(cris_break_13_handler) <case TARGET_SYS_fcntl>: Add support for
F_GETFL on fd 0, 1 and 2.

19 years agogdb/doc/ChangeLog:
Jim Blandy [Sun, 20 Nov 2005 06:12:59 +0000 (06:12 +0000)]
gdb/doc/ChangeLog:
2005-11-19  Jim Blandy  <jimb@redhat.com>

* gdb.texinfo (Tracepoint Packets): New node.
(General Query Packets): Add entries for the tracepoint packets,
referring to the "Tracepoint Packets" node.
(Tracepoints): Add reference to "Tracepoint Packets".

19 years ago*** empty log message ***
gdbadmin [Sun, 20 Nov 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sat, 19 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2005-11-19 Jim Blandy <jimb@redhat.com>
Jim Blandy [Sat, 19 Nov 2005 18:57:28 +0000 (18:57 +0000)]
2005-11-19  Jim Blandy  <jimb@redhat.com>

* tracepoint.c (stringify_collection_list): Indicate absolute
memory ranges by using "-1" as the memory range's base register
number, not "FFFFFFFF".

19 years ago2005-11-19 Randolph Chung <tausq@debian.org>
Randolph Chung [Sat, 19 Nov 2005 13:43:35 +0000 (13:43 +0000)]
2005-11-19  Randolph Chung  <tausq@debian.org>

* dwarf2loc.c (dwarf2_tracepoint_var_ref): Remove extra add for
DW_OP_fbreg.  Handle DW_OP_breg0 through DW_OP_breg31.  Print
DWARF opcode for unsupported case.

19 years ago2005-11-19 Randolph Chung <tausq@debian.org>
Randolph Chung [Sat, 19 Nov 2005 12:55:55 +0000 (12:55 +0000)]
2005-11-19  Randolph Chung  <tausq@debian.org>

* hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Use
HPPA_HPUX_SS_* constants.  Ensure "off" is large enough to hold
64-bit offset.  Set proper signal context offset for 64-bit
programs.  Set pc properly for signal frames.

19 years ago2005-11-19 Randolph Chung <tausq@debian.org>
Randolph Chung [Sat, 19 Nov 2005 12:47:21 +0000 (12:47 +0000)]
2005-11-19  Randolph Chung  <tausq@debian.org>

* hppa-hpux-tdep.c (hppa_hpux_sigtramp_unwind_sniffer): Rely on the
unwind record to determine a signal frame, instead of hardcoding
a function name.

19 years ago2005-11-19 Randolph Chung <tausq@debian.org>
Randolph Chung [Sat, 19 Nov 2005 12:39:50 +0000 (12:39 +0000)]
2005-11-19  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (skip_prologue_hard_way): Add one more insn pattern
for "std rp,-0x10(sp)".
(hppa_frame_cache): Likewise.
(hppa_fallback_frame_cache): Likewise.

19 years ago2005-11-19 Randolph Chung <tausq@debian.org>
Randolph Chung [Sat, 19 Nov 2005 12:38:56 +0000 (12:38 +0000)]
2005-11-19  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_frame_cache): Reformat code and enhance
debugging.

19 years ago2005-11-18 Jim Blandy <jimb@redhat.com>
Jim Blandy [Sat, 19 Nov 2005 04:44:43 +0000 (04:44 +0000)]
2005-11-18  Jim Blandy  <jimb@redhat.com>

* tracepoint.c (collect_symbol): Doc fix.

19 years ago2005-11-18 Jim Blandy <jimb@redhat.com>
Jim Blandy [Sat, 19 Nov 2005 01:23:26 +0000 (01:23 +0000)]
2005-11-18  Jim Blandy  <jimb@redhat.com>

* tracepoint.c (struct memrange): Doc fix.

19 years ago*** empty log message ***
gdbadmin [Sat, 19 Nov 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 18 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * gdb.texinfo (set remotebreak): Add anchor.
Kevin Buettner [Fri, 18 Nov 2005 22:17:09 +0000 (22:17 +0000)]
* gdb.texinfo (set remotebreak): Add anchor.
(X packet): Likewise.
(Remote Protocol): Add new section `Interrupts' and new index
entry `interrupts (remote protocol)'.

19 years ago* gdb.texinfo (Packets): Move information out of 'q' and 'Q'
Jim Blandy [Fri, 18 Nov 2005 19:20:56 +0000 (19:20 +0000)]
* gdb.texinfo (Packets): Move information out of 'q' and 'Q'
entries into the General Query Packets section.  Add a
cross-reference to that section.  Drop description of replies, as
these are covered in the descriptions of each packet.
(General Query Packets): Add introductory text.  Explain naming
conventions, and how the end of a name is recognized.

19 years ago2005-11-18 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Fri, 18 Nov 2005 17:02:14 +0000 (17:02 +0000)]
2005-11-18  Andrew Stubbs  <andrew.stubbs@st.com>

* mi/mi-main.c (mi_load_progress): Ensure the use of the correct mi
uiout for the duration of the function.

19 years ago * config/bfin-defs.h (IS_BREG, IS_LREG): New macros.
Jie Zhang [Fri, 18 Nov 2005 14:21:29 +0000 (14:21 +0000)]
* config/bfin-defs.h (IS_BREG, IS_LREG): New macros.
* config/bfin-parse.y (asm_1): Check register type for load immediate
instruction.

19 years ago(gdb-source-file-list): Declare.
Nick Roberts [Fri, 18 Nov 2005 06:37:38 +0000 (06:37 +0000)]
(gdb-source-file-list): Declare.
(gdbmi): Bind new functions.
(gdbmi-var-list-children-handler, gdbmi-var-list-children-regexp):
Handle string expressions properly.  Move "type" field into regexp.
(gdbmi-var-update-regexp, gdbmi-var-update-handler): Handle string
expressions properly.  Update speedbar.
(gdbmi-breakpoints-buffer, gdb-stack-buffer, gdb-locals-buffer)
(gdb-registers-buffer): Use def-gdb-auto-update-trigger instead of
def-gdb-auto-updated-buffer as handlers is defined explicitly.
(gdb-stack-list-locals-handler): Handle string expressions properly.
(gdb-data-list-register-values-handler)
(gdb-data-list-register-values-custom): Fontify buffer.

19 years ago*** empty log message ***
Nick Roberts [Fri, 18 Nov 2005 06:37:11 +0000 (06:37 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Nick Roberts [Fri, 18 Nov 2005 06:35:02 +0000 (06:35 +0000)]
*** empty log message ***

19 years ago * elf64-ppc.c (ppc64_elf_check_relocs): Don't set has_14bit_branch
Alan Modra [Fri, 18 Nov 2005 04:52:57 +0000 (04:52 +0000)]
* elf64-ppc.c (ppc64_elf_check_relocs): Don't set has_14bit_branch
on branches to same section.

19 years ago * ld-powerpc/symtocbase.d: Adjust for alignment change.
Alan Modra [Fri, 18 Nov 2005 04:41:30 +0000 (04:41 +0000)]
* ld-powerpc/symtocbase.d: Adjust for alignment change.

19 years ago * emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme.
Alan Modra [Fri, 18 Nov 2005 04:26:29 +0000 (04:26 +0000)]
* emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme.
(.got, .toc1, .opd): Likewise.

19 years ago * ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional
Alan Modra [Fri, 18 Nov 2005 04:12:27 +0000 (04:12 +0000)]
* ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional
changes to section alignment.
* ldmisc.c (vfinfo): Handle %ld and %lu.

19 years ago * elf64-hppa.c (elf64_hppa_object_p): Recognize corefiles under
Dave Anglin [Fri, 18 Nov 2005 00:48:50 +0000 (00:48 +0000)]
* elf64-hppa.c (elf64_hppa_object_p): Recognize corefiles under
hppa64-hp-hpux11.11.
(elf64_hppa_section_from_phdr): New function.
(elf_backend_section_from_phdr): Define.

19 years ago*** empty log message ***
gdbadmin [Fri, 18 Nov 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Thu, 17 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agoFix ChangeLog typo from previous commit.
Kevin Buettner [Thu, 17 Nov 2005 19:12:26 +0000 (19:12 +0000)]
Fix ChangeLog typo from previous commit.

19 years ago * gdb.texinfo (Remote Configuration): Fix typo in description of
Kevin Buettner [Thu, 17 Nov 2005 19:08:38 +0000 (19:08 +0000)]
* gdb.texinfo (Remote Configuration): Fix typo in description of
"set remotebreak" command.

19 years ago2005-11-17 Andrew Haley <aph@redhat.com>
Andrew Haley [Thu, 17 Nov 2005 16:58:27 +0000 (16:58 +0000)]
2005-11-17  Andrew Haley  <aph@redhat.com>

        * cxxfilt.c (main): Flush ouput at newline.