gdbadmin [Thu, 10 Mar 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
David Lecomber [Wed, 9 Mar 2005 23:33:52 +0000 (23:33 +0000)]
2005-03-09 David Lecomber <david@lecomber.net>
* proc-api.c (_initialize_proc_api): Fix invalid multi-line
i18n text.
Alan Modra [Wed, 9 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Wed, 9 Mar 2005 22:08:13 +0000 (22:08 +0000)]
* sparc-tdep.c (sparc_frame_cache): Adjust cached frame base
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.
Mark Kettenis [Wed, 9 Mar 2005 21:55:21 +0000 (21:55 +0000)]
Fix my email address in 2005-03-05 entry.
Ian Lance Taylor [Wed, 9 Mar 2005 21:28:10 +0000 (21:28 +0000)]
* pex-os2.c: Remove.
* 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.
Corinna Vinschen [Wed, 9 Mar 2005 17:52:54 +0000 (17:52 +0000)]
* exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.
(plus a tiny ChangeLog fix)
Alan Modra [Wed, 9 Mar 2005 13:08:26 +0000 (13:08 +0000)]
* vax-dis.c (entry_mask_bit): New array.
(print_insn_vax): Decode function entry mask.
Richard Sandiford [Wed, 9 Mar 2005 11:56:15 +0000 (11:56 +0000)]
* config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'
for -mno-shared optimization.
Richard Sandiford [Wed, 9 Mar 2005 09:53:50 +0000 (09:53 +0000)]
* config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
(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.
Richard Sandiford [Wed, 9 Mar 2005 09:39:31 +0000 (09:39 +0000)]
* config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
(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.
Richard Sandiford [Wed, 9 Mar 2005 09:35:00 +0000 (09:35 +0000)]
* config/tc-mips.c (append_insn): Remove cop_interlocks test from
branch delay code.
Richard Sandiford [Wed, 9 Mar 2005 09:22:25 +0000 (09:22 +0000)]
* config/tc-mips.h (mips_flush_pending_output): Delete.
(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.
Richard Sandiford [Wed, 9 Mar 2005 09:21:18 +0000 (09:21 +0000)]
* config/tc-mips.c (mips_move_labels): New function, taken from...
(append_insn, mips_emit_delays): ...here.
Richard Sandiford [Wed, 9 Mar 2005 09:20:27 +0000 (09:20 +0000)]
* config/tc-mips.c (MAX_NOPS): New macro.
(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.
Richard Sandiford [Wed, 9 Mar 2005 09:17:41 +0000 (09:17 +0000)]
* config/tc-mips.c (append_insn): Remove now-redundant nops != 0
check from branch delay code. Remove unnecessary check for branches.
Richard Sandiford [Wed, 9 Mar 2005 09:17:02 +0000 (09:17 +0000)]
* config/tc-mips.c (dummy_opcode): Delete.
(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.
Richard Sandiford [Wed, 9 Mar 2005 09:15:35 +0000 (09:15 +0000)]
* config/tc-mips.c (INSERT_BITS, EXTRACT_BITS, INSERT_OPERAND)
(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.
Richard Sandiford [Wed, 9 Mar 2005 09:14:20 +0000 (09:14 +0000)]
* config/tc-mips.c (mips_cl_insn): Replace the valid_p, delay_slot_p
and extended_p fields with a single fixed_p field.
(append_insn, mips_no_prev_insn): Adjust accordingly.
Richard Sandiford [Wed, 9 Mar 2005 09:13:18 +0000 (09:13 +0000)]
* config/tc-mips.c (mips_cl_insn): Replace reloc_type array with
a single mips16_absolute_jump_p bit.
(append_insn): Adjust accordingly.
Richard Sandiford [Wed, 9 Mar 2005 09:12:29 +0000 (09:12 +0000)]
* config/tc-mips.h (mips_cl_insn): Move definition to...
* 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.
Joel Brobecker [Wed, 9 Mar 2005 06:03:15 +0000 (06:03 +0000)]
* dwarf2read.c (dwarf_decode_lines): Use the complete filename
when creating include psymtabs.
Joel Brobecker [Wed, 9 Mar 2005 05:58:45 +0000 (05:58 +0000)]
* gdb.dwarf2/dup-psym.S: New file.
* gdb.dwarf2/dup-psym.exp: New testcase.
gdbadmin [Wed, 9 Mar 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 8 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Ben Elliston [Tue, 8 Mar 2005 22:41:05 +0000 (22:41 +0000)]
* gas/maxq10/maxq10.exp: Remove stray semicolons.
* gas/maxq20/maxq20.exp: Likewise.
Joel Brobecker [Tue, 8 Mar 2005 22:19:15 +0000 (22:19 +0000)]
* gdb.ada/exec_changed/first.adb: New file.
* gdb.ada/exec_changed/second.adb: New file.
* gdb.ada/exec_changed.exp: New testcase.
Mark Mitchell [Tue, 8 Mar 2005 22:17:34 +0000 (22:17 +0000)]
* environ.h (struct environ): Rename to ...
(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.
Joel Brobecker [Tue, 8 Mar 2005 22:03:43 +0000 (22:03 +0000)]
* infcmd.c (run_command_1): New function, extracted from
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.
Daniel Jacobowitz [Tue, 8 Mar 2005 21:40:46 +0000 (21:40 +0000)]
* symfile.c (clear_symtab_users): Call
clear_current_source_symtab_and_line first.
Daniel Jacobowitz [Tue, 8 Mar 2005 17:16:25 +0000 (17:16 +0000)]
* doc/Makefile.am: Update as.info dependencies.
* aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
Daniel Jacobowitz [Tue, 8 Mar 2005 15:09:23 +0000 (15:09 +0000)]
* configure.in: Bump version to 2.16.90.
* configure: Regenerated.
Nathan Sidwell [Tue, 8 Mar 2005 14:35:20 +0000 (14:35 +0000)]
* ax-gdb.c (gen_expr): Add UNOP_PLUS case.
* 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.
Nathan Sidwell [Tue, 8 Mar 2005 14:30:46 +0000 (14:30 +0000)]
* remote.c (MIN_REMOTE_PACKET_SIZE): Set to 20.
(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.
Jan Beulich [Tue, 8 Mar 2005 13:59:23 +0000 (13:59 +0000)]
gas/
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.
Nathan Sidwell [Tue, 8 Mar 2005 10:12:21 +0000 (10:12 +0000)]
* gdb.base/sigbpt.exp: Disable if gdb,nosignals.
* 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 ']'.
Nathan Sidwell [Tue, 8 Mar 2005 10:03:47 +0000 (10:03 +0000)]
* tracepoint.c (target_is_remote): Allow extended-remote.
(struct collection_list): Allow 256 registers, like the comment
said.
(add_memrange): Fix comment.
(read_actions): Turn EOF into 'end'.
Corinna Vinschen [Tue, 8 Mar 2005 08:59:47 +0000 (08:59 +0000)]
* Makefile.in: Add dependencies for iq2000-tdep.o.
* configure.tgt: Add iq2000-*-* target.
* iq2000-tdep.c: New file.
* config/iq2000/iq2000.mt: New file.
Corinna Vinschen [Tue, 8 Mar 2005 08:59:17 +0000 (08:59 +0000)]
* gdb.asm/asm-source.exp: Add iq2000 case.
* gdb.asm/iq2000.inc: New file.
Corinna Vinschen [Tue, 8 Mar 2005 08:55:34 +0000 (08:55 +0000)]
* iq2000: New target subdirectory.
* configure.ac: Add iq2000 target.
* configure: Regenerate.
Jan Beulich [Tue, 8 Mar 2005 08:27:02 +0000 (08:27 +0000)]
gas/
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.
Jan Beulich [Tue, 8 Mar 2005 08:23:32 +0000 (08:23 +0000)]
gas/
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.
Jan Beulich [Tue, 8 Mar 2005 08:15:40 +0000 (08:15 +0000)]
gas/testsuite/
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.
Joel Brobecker [Tue, 8 Mar 2005 04:34:45 +0000 (04:34 +0000)]
* doc/observer.texi (executable_changed): New observer.
* 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.
Hans-Peter Nilsson [Tue, 8 Mar 2005 02:31:40 +0000 (02:31 +0000)]
Adjust testsuite for cris-axis-aout.
* 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.
Hans-Peter Nilsson [Tue, 8 Mar 2005 02:26:21 +0000 (02:26 +0000)]
Adjust testsuite for cris-axis-aout.
* 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.
gdbadmin [Tue, 8 Mar 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
DJ Delorie [Mon, 7 Mar 2005 23:20:07 +0000 (23:20 +0000)]
merge from gcc
Ben Elliston [Mon, 7 Mar 2005 23:12:53 +0000 (23:12 +0000)]
* config/default.exp: Remove send_user call for stray output.
Alan Modra [Mon, 7 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Mon, 7 Mar 2005 22:38:04 +0000 (22:38 +0000)]
* findvar.c (read_var_value): Don't allocate V when it will not
be used. Add missing break for LOC_INDIRECT.
Manoj Iyer [Mon, 7 Mar 2005 21:37:25 +0000 (21:37 +0000)]
2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
* gdb.base/command.exp: Change hardcoded value to regular expression.
* gdb.base/float.exp: Add powerpc to the list of targets checked.
Daniel Jacobowitz [Mon, 7 Mar 2005 21:16:50 +0000 (21:16 +0000)]
* gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
gdb.asm/x86_64.inc: Use .purgem before redefining macros.
Ian Lance Taylor [Mon, 7 Mar 2005 21:12:04 +0000 (21:12 +0000)]
* mpw-config.in: Remove.
* mpw-make.sed: Remove.
* mpw.c: Remove.
* Makefile.in (CFILES): Remove pex-mpw.c.
(CONFIGURED_OFILES): Remove pex-mpw.o.
(mpw.o, pex-mpw.o): Remove targets.
* maint-tool (undoc): Remove reference to mpw.c.
Aldy Hernandez [Mon, 7 Mar 2005 20:05:44 +0000 (20:05 +0000)]
* ppc-opc.c (powerpc_opcodes): Fix encoding of efscfd.
Paul Gilliam [Mon, 7 Mar 2005 18:57:57 +0000 (18:57 +0000)]
fix obvious problem with compiler.c and compiler.cc: for xlc, used 'regsub',
but for get_compiler_info, line must start with 'set'.
Nick Clifton [Mon, 7 Mar 2005 13:56:29 +0000 (13:56 +0000)]
Updated French translation
Jerome Guitton [Mon, 7 Mar 2005 11:09:05 +0000 (11:09 +0000)]
2005-03-07 Jerome Guitton <guitton@gnat.com>
* sim/erc32/float.c (set_fsr): Do not use deprecated multi-line
strings.
(clear_accex): Ditto.
* sim/erc32/interf.c: Remove the redeclaration of fprintf.
* sim/erc32/sis.c: Ditto.
* sim/erc32/exec.c: Add missing semicolon.
* sim/erc32/func.c: Remove definitions of generic_print_address,
generic_symbol_at_address, buffer_read_memory and perror_memory, as
they are already defined in opcodes/dis-buf.c.
Jakub Jelinek [Mon, 7 Mar 2005 10:32:38 +0000 (10:32 +0000)]
* opncls.c (opncls_bread, opncls_bclose): Fix if pread resp.
close is a function like macro in system headers.
Alan Modra [Mon, 7 Mar 2005 06:01:17 +0000 (06:01 +0000)]
PR ld/778
* elf32-hppa.c (elf32_hppa_create_dynamic_sections): Reinstate
_GLOBAL_OFFSET_TABLE_ as a normal dynamic symbol.
gdbadmin [Mon, 7 Mar 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 6 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sun, 6 Mar 2005 21:29:10 +0000 (21:29 +0000)]
* sparc64fbsd-tdep.c: Include "solib-svr4.h".
(sparc64fbsd_init_abi): Set skip_trampoline_code and
solib_svr4_fetch_link_map_offsets.
* Makefile.in (sparc64fbsd-tdep.o): Update dependencies.
DJ Delorie [Sun, 6 Mar 2005 18:48:16 +0000 (18:48 +0000)]
merge from gcc
Daniel Jacobowitz [Sun, 6 Mar 2005 16:43:20 +0000 (16:43 +0000)]
Correct email address in last commit.
Daniel Jacobowitz [Sun, 6 Mar 2005 16:42:20 +0000 (16:42 +0000)]
* linux-nat.c (child_follow_fork): Call target_terminal_ours before
printing output. Use fprintf_unfiltered. Only print output when
debugging.
Alan Modra [Sun, 6 Mar 2005 02:02:15 +0000 (02:02 +0000)]
* elf.c (elfcore_grok_win32pstatus): Warning fixes.
gdbadmin [Sun, 6 Mar 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 5 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sat, 5 Mar 2005 20:58:14 +0000 (20:58 +0000)]
* sparc64-tdep.c (sparc64_store_floating_fields): Constify third
argument.
(sparc64_store_arguments): Constify.
Mark Kettenis [Sat, 5 Mar 2005 14:36:10 +0000 (14:36 +0000)]
* alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h".
(alphabsd_fetch_inferior_registers): Rename from
fetch_inferior_registers. Make static.
(alphabsd_store_inferior_registers): Rename from
store_inferior_registers. Make static.
(_initialize_alphabsd_nat): New function.
* Makefile.in (alphabsd-nat.o): Update dependencies.
* config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o. Add inf-ptrace.o, fbsd-nat.o and gcore.o.
* config/alpha/nbsd.mh (NAT_CLIBS): Remove variable.
(NATDEPFILES): Remove infptrace.o and inftarg.o. Add
alphabsd-nat.o.
* config/alpha/nm-fbsd.h: Update copyright year. Don't include
"config/nm-bsd.h" and "elf/common.h".
* config/alpha/nm-nbsd.h: Update copyright year. Don't include
"config/nm-nbsd.h".
Mark Kettenis [Sat, 5 Mar 2005 13:31:26 +0000 (13:31 +0000)]
* gdb.cp/ovldbreak.exp: Adjust regular expression for recent
changes.
Alan Modra [Sat, 5 Mar 2005 12:14:34 +0000 (12:14 +0000)]
Regenerate .pot files
Alan Modra [Sat, 5 Mar 2005 12:03:13 +0000 (12:03 +0000)]
* ld-alpha/tlsbin.dd: Update to suit changed section layout and
removed section symbols.
* ld-alpha/tlsbin.rd: Likewise.
* ld-alpha/tlsbin.sd: Likewise.
* ld-alpha/tlsbinr.dd: Likewise.
* ld-alpha/tlsbinr.rd: Likewise.
* ld-alpha/tlspic.dd: Likewise.
* ld-alpha/tlspic.rd: Likewise.
* ld-alpha/tlspic.sd: Likewise.
Alan Modra [Sat, 5 Mar 2005 11:56:48 +0000 (11:56 +0000)]
* ld-powerpc/tlsexe.g: Update.
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.g: Update.
* ld-powerpc/tlsexetoc.r: Update.
Alan Modra [Sat, 5 Mar 2005 11:44:14 +0000 (11:44 +0000)]
* elf64-ppc.c (update_plt_info): Don't mark new ABI call syms
with is_func.
(func_desc_adjust): Force dot-syms local in executables as well
as shared libs.
Mark Kettenis [Sat, 5 Mar 2005 10:47:49 +0000 (10:47 +0000)]
Fix botched checkin.
Mark Kettenis [Sat, 5 Mar 2005 10:46:59 +0000 (10:46 +0000)]
* mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
software_single_step.
Mark Kettenis [Sat, 5 Mar 2005 10:10:11 +0000 (10:10 +0000)]
* mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
software_single_step.
* acconfig.h: Remove #undef.
Michael Snyder [Sat, 5 Mar 2005 02:01:40 +0000 (02:01 +0000)]
2005-03-04 Michael Snyder <msnyder@redhat.com>
* mn10300-prologue.c: New file. Prologue analysis.
* mn10300-tdep.c: Move REGNUM values to mn10300-tdep.h.
(mn10300_frame_unwind_cache): Don't call trad_frame_set_id
until after analyze_prologue, and don't call trad_frame_set_base
at all (let analyze_prologue do it).
Michael Snyder [Sat, 5 Mar 2005 01:57:20 +0000 (01:57 +0000)]
2005-03-04 Michael Snyder <msnyder@redhat.com>
* trad-frame.c (trad_frame_set_reg_value): New function.
* trad-frame.h (trad_frame_set_reg_value): Export.
Thiemo Seufer [Sat, 5 Mar 2005 00:01:44 +0000 (00:01 +0000)]
bfd/ChangeLog
* elfxx-mips.c (mips_elf_calculate_relocation): Handle special
'__gnu_local_gp' symbol used by gas -mno-shared.
gas/ChangeLog
* config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp'
instead of '_gp' for -mno-shared optimization.
(s_cpload): Ditto.
(s_abicalls): Document it in the comment.
(md_show_usage): Document the -mno-shared option.
gas/testsuite/ChangeLog
* gas/mips/elf-rel23b.d: Use '__gnu_local_gp' instead of '_gp'
for -mno-shared optimization.
* gas/mips/elf-rel25a.d: Ditto.
ld/testsuite/ChangeLog
* ld-mips-elf/multi-got-no-shared-1.s,
ld-mips-elf/multi-got-no-shared-2.s,
ld-mips-elf/multi-got-no-shared.d: New tests.
* ld-mips-elf/mips-elf.exp: Run them.
gdbadmin [Sat, 5 Mar 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 4 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Fri, 4 Mar 2005 18:16:25 +0000 (18:16 +0000)]
* Makefile.in (stamp-h): Set CONFIG_HEADERS explicitly.
Daniel Jacobowitz [Fri, 4 Mar 2005 17:52:53 +0000 (17:52 +0000)]
* Makefile.in (remote.o): Update dependencies.
* remote.c: Include "observer.h".
Daniel Jacobowitz [Fri, 4 Mar 2005 17:47:59 +0000 (17:47 +0000)]
* target.c (target_read_memory_partial): Always initialize
ERR.
(target_write_memory_partial): Likewise.
Paul Gilliam [Fri, 4 Mar 2005 17:35:46 +0000 (17:35 +0000)]
2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
* lib/compiler.c: Add test for IBM's xlc compiler.
* lib/compiler.cc: Likewise.
Nick Clifton [Fri, 4 Mar 2005 15:28:36 +0000 (15:28 +0000)]
Fix unexpected failrues for arm toolchains
Richard Sandiford [Fri, 4 Mar 2005 09:51:11 +0000 (09:51 +0000)]
* config/tc-mips.c (mips_set_options): Add sym32 field.
(mips_opts): Initialize it.
(HAVE_32BIT_ADDRESSES): Set to true if pointers are 32 bits wide.
(HAVE_64BIT_ADDRESSES): Redefine as !HAVE_32BIT_ADDRESSES.
(HAVE_32BIT_SYMBOLS, HAVE_64BIT_SYMBOLS): New macros.
(load_address): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES
when deciding whether to use a symbolic %highest/%higher expansion.
(macro): Likewise. Remove o64/n32 linux hack. Always use
ADDRESS_ADD*_INSN for address addition in the expansion of "dla"
and "la". Handle constants separately from symbolic expressions in
the "ld_st:" case, using 64-bit arithmetic if HAVE_64BIT_ADDRESSES
and using load_register to load the high part of the address.
(OPTION_MSYM32, OPTION_NO_MSYM32): New macros.
(OPTION_ELF_BASE): Bump by 2.
(md_longopts): Add entries for -msym32 and -mno-sym32.
(md_parse_option): Handle them.
(usage): Document them.
(s_mipsset): Handle ".set sym32" and ".set nosym32".
(s_cpload, s_cpsetup): Use HAVE_64BIT_SYMBOLS instead of
HAVE_64BIT_ADDRESSES to detect 64-bit values of "_gp".
* doc/c-mips.texi: Document ".set sym32", ".set nosym32",
-msym32 and -mno-sym32.
gdbadmin [Fri, 4 Mar 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 3 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update
H.J. Lu [Thu, 3 Mar 2005 20:52:31 +0000 (20:52 +0000)]
2005-03-03 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (elf_backend_data): Add "const char *" to
elf_backend_section_from_phdr.
* elf.c (bfd_section_from_phdr): Pass "proc" to the
elf_backend_section_from_phdr hook.
Thiemo Seufer [Thu, 3 Mar 2005 19:53:18 +0000 (19:53 +0000)]
* config/tc-mips.c (load_address): Implement GP optimization
for 64bit address space non-PIC. Fix formatting.
(macro): Likewise. Simplify code.
(md_parse_option): Don't bail out if -G 0 is set for PIC code.
(mips_after_parse_args): Simplify code.
Nick Clifton [Thu, 3 Mar 2005 17:25:36 +0000 (17:25 +0000)]
(and.s): Expect this test to fail for the tic4x-coff target because it uses
the '&' character as a line separator.
Nick Clifton [Thu, 3 Mar 2005 17:22:12 +0000 (17:22 +0000)]
Remove redundant code enclosed by #ifdef RELAX_PAREN_GROUPING....#endif.
Nick Clifton [Thu, 3 Mar 2005 16:59:20 +0000 (16:59 +0000)]
* gas/sh/basic.exp: Add an sh-hms version of the pcrel test.
* gas/sh/pcrel-hms.d: New file. Adjusted form of pcrel-coff.d for the sh-hms
target.
* gas/sh/arch/arch.exp: Expect the same failures for sh-hms port as for the
sh-coff port.
Daniel Jacobowitz [Thu, 3 Mar 2005 16:56:53 +0000 (16:56 +0000)]
* inferiors.c (change_inferior_id, add_thread, find_inferior_id):
Take unsigned long arguments for PIDs.
* linux-low.c (add_process, linux_attach_lwp, linux_attach)
(linux_thread_alive, linux_wait_for_event, kill_lwp, send_sigstop)
(wait_for_sigstop, linux_resume_one_process)
(regsets_fetch_inferior_registers, linux_send_signal)
(linux_read_auxv): Likewise. Update the types of variables holding
PIDs. Update format string specifiers.
* linux-low.h (struct process_info, linux_attach_lwp): Likewise.
* remote-utils.c (prepare_resume_reply): Likewise.
* server.c (cont_thread, general_thread, step_thread)
(thread_from_wait, old_thread_from_wait, signal_pid): Change type to
unsigned long.
(handle_query): Update format specifiers.
(handle_v_cont, main): Use strtoul for thread IDs.
* server.h (struct inferior_list_entry): Use unsigned long for ID.
(add_thread, find_inferior_id, change_inferior_id, cont_thread)
(general_thread, step_thread, thread_from_wait)
(old_thread_from_wait): Update.
* target.h (struct thread_resume): Use unsigned long for THREAD.
(struct target_ops): Use unsigned long for arguments to attach and
thread_alive.
Daniel Jacobowitz [Thu, 3 Mar 2005 16:54:05 +0000 (16:54 +0000)]
* remote.c (remote_open_1): Call observer_notify_inferior_created.
Ramana Radhakrishnan [Thu, 3 Mar 2005 15:42:05 +0000 (15:42 +0000)]
2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
* opcodes/arc-dis.c:Add enum a4_decoding_class.
(dsmOneArcInst): Use the enum values for the decoding class
Remove redundant case in the switch for decodingClass value 11