aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-03-10merge from gccDJ Delorie6-7/+71
2005-03-10 * archive.c: Include hashtab.h.Ben Elliston4-26/+63
(struct ar_cache): Rename `arelt' to `arbfd' and remove `next'. (_bfd_look_for_bfd_in_cache): Reimplement using htab_find. (hash_file_ptr): New function. (eq_file_ptr): Likewise. (_bfd_add_bfd_to_archive_cache): Reimplement using a hash table. * libbfd-in.h: Include hashtab.h. (struct artdata): Change `cache' member type to htab_t. * libbfd.h: Rebuild.
2005-03-10*** empty log message ***gdbadmin1-1/+1
2005-03-092005-03-09 David Lecomber <david@lecomber.net>David Lecomber2-6/+11
* proc-api.c (_initialize_proc_api): Fix invalid multi-line i18n text.
2005-03-09daily updateAlan Modra1-1/+1
2005-03-09* sparc-tdep.c (sparc_frame_cache): Adjust cached frame baseMark Kettenis5-11/+37
address for 64-bit code. (sparc_unwind_dummy_id): Likewise. * sparc64-tdep.c (sparc64_frame_prev_register): Adjust for new frame base address convention. (sparc64_push_dummy_call): Likewise. * sparc64nbsd-tdep.c: Update copyright year. (sparc64nbsd_sigcontext_frame_cache): Adjust cached frame base address for 64-bit code. (sparc64nbsd_init_abi): Tweak comment. * sparc64obsd-tdep.c: Update copyright year. (sparc64obsd_frame_cache): Adjust cached frame base address for 64-bit code. (sparc64obsd_init_abi): Tweak comment.
2005-03-09Fix my email address in 2005-03-05 entry.Mark Kettenis1-1/+1
2005-03-09 * pex-os2.c: Remove.Ian Lance Taylor5-83/+11
* configure.ac: Remove *-*-os2-emx* case when setting pexecute. * Makefile.in (CFILES): Remove pex-os2.c. (CONFIGURED_OFILES): Remove pex-os2.o. (pex-os2.o): Remove target. * configure: Rebuild.
2005-03-09 * exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.Corinna Vinschen2-7/+14
(plus a tiny ChangeLog fix)
2005-03-09 * vax-dis.c (entry_mask_bit): New array.Alan Modra2-2/+44
(print_insn_vax): Decode function entry mask.
2005-03-09 * config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'Richard Sandiford2-1/+6
for -mno-shared optimization.
2005-03-09 * config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.Richard Sandiford2-0/+5
(MAX_NOPS): Bump to 4. (mips_fix_vr4130): New variable. (nops_for_vr4130): New function. (nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS. Use nops_for_vr4130 if working around VR4130 errata. (OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros. (md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130. (md_parse_option): Handle them. (md_show_usage): Print them. * doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130.
2005-03-09 * config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.Richard Sandiford5-5/+1105
(MAX_NOPS): Bump to 4. (mips_fix_vr4130): New variable. (nops_for_vr4130): New function. (nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS. Use nops_for_vr4130 if working around VR4130 errata. (OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros. (md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130. (md_parse_option): Handle them. (md_show_usage): Print them. * doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130.
2005-03-09 * config/tc-mips.c (append_insn): Remove cop_interlocks test fromRichard Sandiford8-310/+411
branch delay code.
2005-03-09 * config/tc-mips.h (mips_flush_pending_output): Delete.Richard Sandiford3-118/+116
(mips_emit_delays): Declare. (md_flush_pending_output): Use mips_emit_delays. * config/tc-mips.c (mips_no_prev_insn): Remove parameter; always forget the previous instructions. (md_begin, append_insn, md_parse_option): Update callers. (mips_emit_delay): Remove parameter. Move INSNS != 0 code to start_noreorder. (mips_align, s_change_sec, s_cons, s_float_cons, s_gpword) (s_gpdword): Update callers. (start_noreorder, end_noreorder): New functions. (macro, macro2, mips16_macro, s_mipsset): Use them instead of manipulating mips_opts or prev_nop_frag directly. (mips_flush_pending_output): Delete.
2005-03-09 * config/tc-mips.c (mips_move_labels): New function, taken from...Richard Sandiford2-27/+27
(append_insn, mips_emit_delays): ...here.
2005-03-09 * config/tc-mips.c (MAX_NOPS): New macro.Richard Sandiford2-411/+348
(history): Resize to 1 + MAX_NOPS. (fix_vr4120_class): New enumeration. (vr4120_conflicts): New variable. (init_vr4120_conflicts): New function. (md_begin): Call it. (insn_uses_reg): Constify first argument. (classify_vr4120_insn, insns_between, nops_for_insn, nops_for_sequence) (nops_for_insn_or_target): New functions. (append_insn): Use the new nops_for_* functions instead of inline delay checks. Generalize prev_nop_frag handling to handle an arbitrary history length. Insert nops into the history buffer once the number of nops in prev_nop_frag is fixed. (emit_delays): Use nops_for_insn instead of inline delay checks.
2005-03-09 * config/tc-mips.c (append_insn): Remove now-redundant nops != 0Richard Sandiford2-8/+5
check from branch delay code. Remove unnecessary check for branches.
2005-03-09 * config/tc-mips.c (dummy_opcode): Delete.Richard Sandiford2-312/+269
(nop_insn, mips16_nop_insn): New variables. (NOP_INSN): New macro. (insn_length, create_insn, install_insn, move_insn, add_fixed_insn) (add_relaxed_insn, insert_into_history, emit_nop): New functions. (md_begin): Initialize nop_insn and mips16_nop_insn. (append_insn): Use the new emit_nop function to add nops, recording them in the history buffer. Use add_fixed_insn or add_relaxed_insn to reserve room for the instruction and install_insn to install the final form. Use insert_into_history to record the instruction in the history buffer. Use move_insn to do delay slot filling. (mips_emit_delays): Use add_fixed_insn instead of the emit_nop macro. (macro_build, mips16_macro_build, macro_build_lui, mips_ip) (mips16_ip): Use create_insn to initialize mips_cl_insns.
2005-03-09 * config/tc-mips.c (INSERT_BITS, EXTRACT_BITS, INSERT_OPERAND)Richard Sandiford2-203/+176
(EXTRACT_OPERAND, MIPS16_INSERT_OPERAND, MIPS16_EXTRACT_OPERAND): New. (insn_uses_reg, reg_needs_delay, append_insn, macro_build) (mips16_macro_build, macro_build_lui, mips16_macro, mips_ip) (mips16_ip): Use the new macros instead of explicit masks and shifts.
2005-03-09 * config/tc-mips.c (mips_cl_insn): Replace the valid_p, delay_slot_pRichard Sandiford2-40/+19
and extended_p fields with a single fixed_p field. (append_insn, mips_no_prev_insn): Adjust accordingly.
2005-03-09 * config/tc-mips.c (mips_cl_insn): Replace reloc_type array withRichard Sandiford2-20/+17
a single mips16_absolute_jump_p bit. (append_insn): Adjust accordingly.
2005-03-09 * config/tc-mips.h (mips_cl_insn): Move definition to...Richard Sandiford3-198/+239
* config/tc-mips.c (mips_cl_insn): ...here. Add new fields: frag, where, fixp, reloc_type, valid_p, noreorder_p, delay_slot_p and extended_p. (history): New variable. (prev_insn, prev_prev_insn, prev_insn_valid, prev_insn_frag) (prev_insn_where, prev_insn_reloc_type, prev_insn_fixp) (prev_insn_is_delay_slot, prev_insn_unreordered, prev_insn_extended) (prev_prev_insn_unreordered): Delete. (reg_needs_delay, append_insn, mips_no_prev_insn, mips_emit_delays) (macro_start): Replace uses of prev_insn* with the equivalent history[] field.
2005-03-09 * dwarf2read.c (dwarf_decode_lines): Use the complete filenameJoel Brobecker2-3/+28
when creating include psymtabs.
2005-03-09 * gdb.dwarf2/dup-psym.S: New file.Joel Brobecker3-0/+265
* gdb.dwarf2/dup-psym.exp: New testcase.
2005-03-09*** empty log message ***gdbadmin1-1/+1
2005-03-08daily updateAlan Modra1-1/+1
2005-03-08 * gas/maxq10/maxq10.exp: Remove stray semicolons.Ben Elliston3-4/+9
* gas/maxq20/maxq20.exp: Likewise.
2005-03-08 * gdb.ada/exec_changed/first.adb: New file.Joel Brobecker4-0/+101
* gdb.ada/exec_changed/second.adb: New file. * gdb.ada/exec_changed.exp: New testcase.
2005-03-08 * environ.h (struct environ): Rename to ...Mark Mitchell5-22/+45
(struct gdb_environ): ... this. (make_environ): Update prototype. (free_environ): Likewise. (init_environ): Likewise. (get_in_environ): Likewise. (set_in_environ): Likewise. (unset_in_environ): Likewise. (environ_vector): Likewise. * environ.c (make_environ): Replace "struct environ" with "struct gdb_environ". (free_environ): Likewise. (init_environ): Likewise. (environ_vector): Likewise. (get_in_environ): Likewise. (set_in_environ): Likewise. (unset_in_environ): Likewise. * infcmd.c (inferior_environ): Likewise. * inferior.h (inferior_environ): Likewise.
2005-03-08 * infcmd.c (run_command_1): New function, extracted fromJoel Brobecker2-10/+26
run_command. (run_command): Replace implementation by call to run_command_1. (start_command): Use run_command_1 to insert the temporary breakpoint and run the program. Remove code that's no longer needed, as already done at the proper time by run_command_1.
2005-03-08 * symfile.c (clear_symtab_users): CallDaniel Jacobowitz2-1/+10
clear_current_source_symtab_and_line first.
2005-03-08 * doc/Makefile.am: Update as.info dependencies.Daniel Jacobowitz5-347/+158
* aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
2005-03-08 * configure.in: Bump version to 2.16.90.Daniel Jacobowitz3-2/+7
* configure: Regenerated.
2005-03-08 * ax-gdb.c (gen_expr): Add UNOP_PLUS case.Nathan Sidwell9-3/+93
* c-exp.y (exp): Add unary plus. * eval.c (evaluate_subexp_standard): Add UNOP_PLUS case. * valarith.c (value_x_unop): Add UNOP_PLUS case. (value_pos): New. * value.h (value_pos): Declare. * gdb.cp/userdef.cc (A1::operator+): New unary plus. (A2): New class. (main): Test operator+. * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for breakpoint test.
2005-03-08 * remote.c (MIN_REMOTE_PACKET_SIZE): Set to 20.Nathan Sidwell2-8/+24
(remote_fetch_registers): Allow uppercase hex when resyncing. (remote_write_bytes): Only call get_memory_write_packet_size once. Robustify packet size calculation for very small packets. Check that at least one byte will be written.
2005-03-08gas/Jan Beulich3-2/+13
2004-03-08 Jan Beulich <jbeulich@novell.com> * doc/as.texinfo: Add sentence to indicate redefining a macro is an error, and point to .purgem documentation if someone really needs re-definitions. * NEWS: Mention macro redefinition is now an error.
2005-03-08 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.Nathan Sidwell10-41/+80
* gdb.base/signull.exp: Disable if gdb,nosignals. * gdb.cp/bs15503.exp: Disable if skip_cplus_tests * gdb.cp/exception.exp: Disable if skip_cplus_tests. * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio. * gdb.mi/mi2-console.exp: Likewise. * gdb.trace/collection.exp (run_trace_experiment): Consume the continue output at start. (gdb_collect_locals_test): Robustify regexp. * gdb.trace/passc-dyn.exp: Fix comment typo. * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
2005-03-08 * tracepoint.c (target_is_remote): Allow extended-remote.Nathan Sidwell2-3/+15
(struct collection_list): Allow 256 registers, like the comment said. (add_memrange): Fix comment. (read_actions): Turn EOF into 'end'.
2005-03-08 * Makefile.in: Add dependencies for iq2000-tdep.o.Corinna Vinschen5-0/+889
* configure.tgt: Add iq2000-*-* target. * iq2000-tdep.c: New file. * config/iq2000/iq2000.mt: New file.
2005-03-08 * gdb.asm/asm-source.exp: Add iq2000 case.Corinna Vinschen3-0/+49
* gdb.asm/iq2000.inc: New file.
2005-03-08 * iq2000: New target subdirectory.Corinna Vinschen25-0/+21933
* configure.ac: Add iq2000 target. * configure: Regenerate.
2005-03-08gas/Jan Beulich6-26/+87
2005-03-08 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (emit_one_bundle): Track last slot user insn was emitted to. Add more precise diagnostics for non-fitting insns based on that. Eliminate now superfluous special casing of MLX. Clear out slot information when dropping an insn. gas/testsuite/ 2005-03-08 Jan Beulich <jbeulich@novell.com> * gas/ia64/no-fit.[ls]: New. * gas/ia64/ia64.exp: Run new test.
2005-03-08gas/Jan Beulich7-68/+186
2005-03-08 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (parse_section_name): Rename to... (cross_section): In addition to separating the name from the rest of the arguments, also carry out the operation. (dot_xdata): Use cross_section. (dot_float_cons): Likewise. (dot_xstringer): Likewise. (dot_xdata_ua): Likewise. (dot_float_cons_ua): Likewise. Pass float_cons, not stmt_float_cons. gas/testsuite/ 2005-03-08 Jan Beulich <jbeulich@novell.com> * gas/ia64/xdata.[sd], gas/ia64/xdata-ilp32.d: New. * gas/ia64/ia64.exp: Run new tests.
2005-03-08gas/testsuite/Jan Beulich3-2/+8
2005-03-08 Jan Beulich <jbeulich@novell.com> * gas/ia64/pcrel.d: Account for big endian target. * gas/ia64/reloc-bad.s: Enforce 64-bit ABI.
2005-03-08 * doc/observer.texi (executable_changed): New observer.Joel Brobecker6-8/+88
* symtab.c: Include "observer.h". (find_main_name): New function. (main_name): If name_of_main is unset, then compute it using find_main_name. (symtab_observer_executable_changed): New function. (_initialize_symtab): Attach executable_changed observer. * exec.c: Include "observer.h". (exec_file_attach): Emit executable_changed notification. * symfile.c: Include "observer.h". (reread_symbols): Send an executable_changed if appropriate. * Makefile.in (exec.o): Add dependency on observer.h. (symfile.o): Likewise. (symtab.o): Likewise.
2005-03-08 Adjust testsuite for cris-axis-aout.Hans-Peter Nilsson39-39/+64
* ld-cris/noglob1.d: Adjust regexp for a.out output. * ld-cris/badgotr1.d, ld-cris/expdyn1.d, ld-cris/expdyn2.d, ld-cris/expdyn3.d, ld-cris/expdyn4.d, ld-cris/expdyn5.d, ld-cris/expdyn6.d, ld-cris/expdyn7.d, ld-cris/gotplt1.d, ld-cris/gotplt2.d, ld-cris/gotplt3.d, ld-cris/hiddef1.d, ld-cris/libdso-1.d, ld-cris/libdso-10.d, ld-cris/libdso-11.d, ld-cris/libdso-12.d, ld-cris/libdso-13.d, ld-cris/libdso-14.d, ld-cris/libdso-2.d, ld-cris/libdso-3.d, ld-cris/libdso-4.d, ld-cris/locref1.d, ld-cris/locref2.d, ld-cris/nodyn4.d, ld-cris/nodyn5.d, ld-cris/pv32-1.d, ld-cris/undef1.d, ld-cris/weakref1.d: ld-cris/weakref2.d: Pass --em=criself to gas. * ld-cris/v10-v32.d, ld-cris/v10-va.d, ld-cris/v32-ba-1.d, ld-cris/v32-v10.d, ld-cris/v32-va.d, ld-cris/va-v10.d, ld-cris/va-v32.d: Ditto. Pass -m criself to gld. * ld-cris/v32-bin-1.d: Pass -m criself to gld.
2005-03-08 Adjust testsuite for cris-axis-aout.Hans-Peter Nilsson13-19/+30
* gas/cris/rd-bcnst.d, gas/cris/rd-usp-1.d: Adjust regexps for a.out output. * gas/cris/mulbug-err-1.s, gas/cris/rd-arch-1.d, gas/cris/rd-arch-2.d, gas/cris/rd-arch-3.d, gas/cris/rd-break32.d, gas/cris/rd-pcrel2.d, gas/cris/rd-ppv1032.d, gas/cris/rd-ppv32.d, gas/cris/rd-usp-1b.d, gas/cris/v32-err-7.s: Pass --em=criself.
2005-03-08*** empty log message ***gdbadmin1-1/+1
2005-03-07merge from gccDJ Delorie1-15/+2