binutils-gdb.git
19 years ago*** empty log message ***
gdbadmin [Mon, 14 Mar 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * po/tr.po: Commit new Turkish translation.
Alan Modra [Sun, 13 Mar 2005 23:42:47 +0000 (23:42 +0000)]
* po/tr.po: Commit new Turkish translation.

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

19 years ago* inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
Mark Kettenis [Sun, 13 Mar 2005 22:06:10 +0000 (22:06 +0000)]
* inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
sprintf.
* target.c (normal_pid_to_str): Likewise.
* remote.c (remote_pid_to_str): Use snprint instead of sprintf.
Change capitalization of "thread".  Use ptid_get_pid instead of
GETPID.

19 years ago* cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead of
Mark Kettenis [Sun, 13 Mar 2005 19:55:38 +0000 (19:55 +0000)]
* cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead of
a combination of xmalloc and sprintf.

19 years ago* configure.ac: Use '=', not '=='; the latter is a GNU extension.
Jim Blandy [Sun, 13 Mar 2005 05:37:48 +0000 (05:37 +0000)]
* configure.ac: Use '=', not '=='; the latter is a GNU extension.
* configure: Regenerated.

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

19 years agodaily update
Alan Modra [Sat, 12 Mar 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years agogas:
Zack Weinberg [Sat, 12 Mar 2005 18:25:47 +0000 (18:25 +0000)]
gas:
* config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe,
wfi, yield.
opcodes:
* arm-dis.c (thumb_opcodes): Add ARMv6K instructions nop, sev,
wfe, wfi, yield.
gas/testsuite:
* gas/arm/thumbv6k.d, gas/arm/thumbv6k.s: New dump test.
* gas/arm/arm.exp: Run it.

19 years agoRevert accidental commit of V6K ops
Zack Weinberg [Sat, 12 Mar 2005 18:17:42 +0000 (18:17 +0000)]
Revert accidental commit of V6K ops

19 years agoinclude:
Zack Weinberg [Sat, 12 Mar 2005 18:14:05 +0000 (18:14 +0000)]
include:
* opcode/arm.h: Adjust comments for ARM_EXT_V4T and ARM_EXT_V5T.
Add ARM_EXT_V6T2, ARM_ARCH_V6T2, ARM_ARCH_V6KT2, ARM_ARCH_V6ZT2,
and ARM_ARCH_V6ZKT2.
opcodes:
* arm-dis.c (arm_opcodes): Document %E and %V.
Add entries for v6T2 ARM instructions:
bfc bfi mls strht ldrht ldrsht ldrsbt movw movt rbit ubfx sbfx.
(print_insn_arm): Add support for %E and %V.

19 years ago*** empty log message ***
gdbadmin [Sat, 12 Mar 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-03-11 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 11 Mar 2005 23:16:47 +0000 (23:16 +0000)]
2005-03-11  Michael Snyder  <msnyder@redhat.com>

* mn10300-tdep.c (mn10300_dummy_unwind_dummy_id): Replace
stub fn with real implementatin mn10300_unwind_dummy_id.
(mn10300_push_dummy_call): Implement.  Bare bones version,
does not handle structs or floats.

19 years agodaily update
Alan Modra [Fri, 11 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agoAvoid warnings due to the use of -Wuninitialized without -O.
Jim Blandy [Fri, 11 Mar 2005 21:02:02 +0000 (21:02 +0000)]
Avoid warnings due to the use of -Wuninitialized without -O.
* configure.ac (build_warnings): Include -Wuninitialized only if
CFLAGS is unset at configure time, or CFLAGS is set and includes
some -O option other than -O0.
* configure: Regenerated.

19 years ago* mips-tdep.c (show_mips_abi): Change calling conventions to match
Jim Blandy [Fri, 11 Mar 2005 20:27:56 +0000 (20:27 +0000)]
* mips-tdep.c (show_mips_abi): Change calling conventions to match
those expected by add_setshow_enum_cmd.  Use 'file' argument as
appropriate.

19 years ago * Makefile.am: Remove references to em68klynx.o and esparclynx.o.
Daniel Jacobowitz [Fri, 11 Mar 2005 19:55:36 +0000 (19:55 +0000)]
* Makefile.am: Remove references to em68klynx.o and esparclynx.o.
* Makefile.in: Regenerated.
* emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove.

19 years ago * config-gas.com: Mark vax-vms as obsolete.
Daniel Jacobowitz [Fri, 11 Mar 2005 19:52:51 +0000 (19:52 +0000)]
* config-gas.com: Mark vax-vms as obsolete.
* configure.in: Remove fmt=vms support.
* config.in: Regenerate.
* configure: Regenerate.
* config/obj-vms.h, config/obj-vms.c, config/vms-conf.h: Remove.

19 years ago * libbfd-in.h (_bfd_ar_spacepad): New prototype.
Jakub Jelinek [Fri, 11 Mar 2005 16:37:17 +0000 (16:37 +0000)]
* libbfd-in.h (_bfd_ar_spacepad): New prototype.
* libbfd.h: Rebuilt.
* archive.c (_bfd_ar_spacepad): New function.
(_bfd_construct_extended_name_table, _bfd_write_archive_contents,
bsd_write_armap, _bfd_archive_bsd_update_armap_timestamp,
coff_write_armap): Use it.
(bfd_ar_hdr_from_filesystem): Likewise.  Fix HP-UX large
uid/gid support.
* archive64.c (bfd_elf64_archive_write_armap): Use _bfd_ar_spacepad.

19 years agoUpdated French translation
Nick Clifton [Fri, 11 Mar 2005 08:36:32 +0000 (08:36 +0000)]
Updated French translation

19 years ago * Makefile.in (SFILES): Add cp-names.y.
Daniel Jacobowitz [Fri, 11 Mar 2005 02:24:23 +0000 (02:24 +0000)]
* Makefile.in (SFILES): Add cp-names.y.
(libiberty_h, safe_ctype_h): New.
(YYFILES): Add cp-names.c.
(YYOBJ): Add cp-names.o.
(test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules.
(clean): Remove test-cp-names$(EXEEXT).
(local-maintainer-clean): Remove cp-names.c.
* cp-names.y: New file.
* cp-support.c (find_last_component): Delete.
(d_left, d_right): Define.
(cp_canonicalize_string, mangled_name_to_comp): New functions.
(cp_class_name_from_physname, method_name_from_physname): Rewrite
to use mangled_name_to_comp.
* cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp)
(cp_comp_to_string): New prototypes.
* config/djgpp/fnchange.lst: Add cp-names.c.

19 years ago * config/tc-xtensa.c (finish_vinsn): Include the last instruction slot
Bob Wilson [Fri, 11 Mar 2005 00:14:15 +0000 (00:14 +0000)]
    * config/tc-xtensa.c (finish_vinsn): Include the last instruction slot
        when checking if xg_resolve_literals needs to be called.
        * config/tc-xtensa.h: Fix spelling typo in a comment.

19 years ago*** empty log message ***
gdbadmin [Fri, 11 Mar 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

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

19 years ago* archive.c (_bfd_look_for_bfd_in_cache): Move declaration of
Mark Kettenis [Thu, 10 Mar 2005 21:26:53 +0000 (21:26 +0000)]
* archive.c (_bfd_look_for_bfd_in_cache): Move declaration of
has_table to the start of the function.

19 years agoRemove the --[no]async command line switch from --help
Bob Rossi [Thu, 10 Mar 2005 20:49:08 +0000 (20:49 +0000)]
Remove the --[no]async command line switch from --help

19 years ago * gas/ppc/e500.d: Fix encoding of efscfd.
Aldy Hernandez [Thu, 10 Mar 2005 20:21:49 +0000 (20:21 +0000)]
    * gas/ppc/e500.d: Fix encoding of efscfd.

19 years agoImport updated Russian translation from Translation Project's website.
Nick Clifton [Thu, 10 Mar 2005 16:15:24 +0000 (16:15 +0000)]
Import updated Russian translation from Translation Project's website.

19 years agoAdd 2005 to doco copyright
Bob Rossi [Thu, 10 Mar 2005 13:12:33 +0000 (13:12 +0000)]
Add 2005 to doco copyright

19 years agoopcodes/
Alan Modra [Thu, 10 Mar 2005 12:52:30 +0000 (12:52 +0000)]
opcodes/
* ppc-opc.c (insert_sprg, extract_sprg): New Functions.
(powerpc_operands <SPRG>): Call the above.  Bit field is 5 bits.
(SPRG_MASK): Delete.
(XSPRG_MASK): Mask off extra bits now part of sprg field.
        (powerpc_opcodes): Asjust mfsprg and mtsprg to suit new mask.  Move
mfsprg4..7 after msprg and consolidate.

gas/testsuite
* gas/ppc/booke.s: Add new m[t,f]sprg testcases.
* gas/ppc/booke.d: Likewise.

19 years agoAdd Romanian translation
Nick Clifton [Thu, 10 Mar 2005 10:39:29 +0000 (10:39 +0000)]
Add Romanian translation

19 years agogas/
Jan Beulich [Thu, 10 Mar 2005 09:32:20 +0000 (09:32 +0000)]
gas/
2005-03-10  Jan Beulich  <jbeulich@novell.com>

* config/tc-tic54x.h (tic54x_macro_info): Change parameter type.
* config/tc-tic54x.c (tic54x_macro_info): Likewise. Replace hand-
crafted structure declarations with the types from macro.h.

19 years ago* proc-api.c: Update copyright year.
Mark Kettenis [Thu, 10 Mar 2005 09:11:10 +0000 (09:11 +0000)]
* proc-api.c: Update copyright year.
(_initialize_proc_api): Revert previous patch, removing spurious
space instead.

19 years ago * regcache.c: Fix typo in comment.
Joel Brobecker [Thu, 10 Mar 2005 02:43:23 +0000 (02:43 +0000)]
    * regcache.c: Fix typo in comment.

19 years agomerge from gcc
DJ Delorie [Thu, 10 Mar 2005 01:06:07 +0000 (01:06 +0000)]
merge from gcc

19 years ago * archive.c: Include hashtab.h.
Ben Elliston [Thu, 10 Mar 2005 00:29:35 +0000 (00:29 +0000)]
* archive.c: Include hashtab.h.
(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.

19 years ago*** empty log message ***
gdbadmin [Thu, 10 Mar 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-03-09 David Lecomber <david@lecomber.net>
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.

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

19 years ago* sparc-tdep.c (sparc_frame_cache): Adjust cached frame base
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.

19 years agoFix my email address in 2005-03-05 entry.
Mark Kettenis [Wed, 9 Mar 2005 21:55:21 +0000 (21:55 +0000)]
Fix my email address in 2005-03-05 entry.

19 years ago * pex-os2.c: Remove.
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.

19 years ago * exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.
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)

19 years ago * vax-dis.c (entry_mask_bit): New array.
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.

19 years ago * config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'
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.

19 years ago * config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
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.

19 years ago * config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
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.

19 years ago * config/tc-mips.c (append_insn): Remove cop_interlocks test from
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.

19 years ago * config/tc-mips.h (mips_flush_pending_output): Delete.
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.

19 years ago * config/tc-mips.c (mips_move_labels): New function, taken from...
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.

19 years ago * config/tc-mips.c (MAX_NOPS): New macro.
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.

19 years ago * config/tc-mips.c (append_insn): Remove now-redundant nops != 0
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.

19 years ago * config/tc-mips.c (dummy_opcode): Delete.
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.

19 years ago * config/tc-mips.c (INSERT_BITS, EXTRACT_BITS, INSERT_OPERAND)
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.

19 years ago * config/tc-mips.c (mips_cl_insn): Replace the valid_p, delay_slot_p
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.

19 years ago * config/tc-mips.c (mips_cl_insn): Replace reloc_type array with
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.

19 years ago * config/tc-mips.h (mips_cl_insn): Move definition to...
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.

19 years ago * dwarf2read.c (dwarf_decode_lines): Use the complete filename
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.

19 years ago * gdb.dwarf2/dup-psym.S: New file.
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.

19 years ago*** empty log message ***
gdbadmin [Wed, 9 Mar 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

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

19 years ago * gas/maxq10/maxq10.exp: Remove stray semicolons.
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.

19 years ago * gdb.ada/exec_changed/first.adb: New file.
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.

19 years ago * environ.h (struct environ): Rename to ...
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.

19 years ago * infcmd.c (run_command_1): New function, extracted from
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.

19 years ago * symfile.c (clear_symtab_users): Call
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.

19 years ago * doc/Makefile.am: Update as.info dependencies.
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.

19 years ago * configure.in: Bump version to 2.16.90.
Daniel Jacobowitz [Tue, 8 Mar 2005 15:09:23 +0000 (15:09 +0000)]
* configure.in: Bump version to 2.16.90.
* configure: Regenerated.

19 years ago * ax-gdb.c (gen_expr): Add UNOP_PLUS case.
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.

19 years ago * remote.c (MIN_REMOTE_PACKET_SIZE): Set to 20.
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.

19 years agogas/
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.

19 years ago * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
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 ']'.

19 years ago * tracepoint.c (target_is_remote): Allow extended-remote.
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'.

19 years ago * Makefile.in: Add dependencies for iq2000-tdep.o.
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.

19 years ago * gdb.asm/asm-source.exp: Add iq2000 case.
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.

19 years ago * iq2000: New target subdirectory.
Corinna Vinschen [Tue, 8 Mar 2005 08:55:34 +0000 (08:55 +0000)]
* iq2000: New target subdirectory.
* configure.ac: Add iq2000 target.
* configure: Regenerate.

19 years agogas/
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.

19 years agogas/
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.

19 years agogas/testsuite/
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.

19 years ago * doc/observer.texi (executable_changed): New observer.
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.

19 years ago Adjust testsuite for cris-axis-aout.
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.

19 years ago Adjust testsuite for cris-axis-aout.
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.

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

19 years agomerge from gcc
DJ Delorie [Mon, 7 Mar 2005 23:20:07 +0000 (23:20 +0000)]
merge from gcc

19 years ago * config/default.exp: Remove send_user call for stray output.
Ben Elliston [Mon, 7 Mar 2005 23:12:53 +0000 (23:12 +0000)]
   * config/default.exp: Remove send_user call for stray output.

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

19 years ago * findvar.c (read_var_value): Don't allocate V when it will not
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.

19 years ago2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
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.

19 years ago * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
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.

19 years ago * mpw-config.in: Remove.
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.

19 years ago * ppc-opc.c (powerpc_opcodes): Fix encoding of efscfd.
Aldy Hernandez [Mon, 7 Mar 2005 20:05:44 +0000 (20:05 +0000)]
* ppc-opc.c (powerpc_opcodes): Fix encoding of efscfd.

19 years agofix obvious problem with compiler.c and compiler.cc: for xlc, used 'regsub',
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'.

19 years agoUpdated French translation
Nick Clifton [Mon, 7 Mar 2005 13:56:29 +0000 (13:56 +0000)]
Updated French translation

19 years ago2005-03-07 Jerome Guitton <guitton@gnat.com>
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.

19 years ago * opncls.c (opncls_bread, opncls_bclose): Fix if pread resp.
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.

19 years ago PR ld/778
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.

19 years ago*** empty log message ***
gdbadmin [Mon, 7 Mar 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

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

19 years ago* sparc64fbsd-tdep.c: Include "solib-svr4.h".
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.

19 years agomerge from gcc
DJ Delorie [Sun, 6 Mar 2005 18:48:16 +0000 (18:48 +0000)]
merge from gcc