platform/upstream/binutils.git
16 years agogas/
Bob Wilson [Wed, 9 Jan 2008 17:30:59 +0000 (17:30 +0000)]
gas/
* dwarf2dbg.c (out_sleb128): Delete.
(size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
(out_fixed_inc_line_addr): Delete.
(relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
(dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
(process_entries): Remove calls to out_fixed_inc_line_addr.  When
DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
* read.h (emit_expr_fix): New prototype.
* read.c (emit_expr): Move code to emit_expr_fix and use it here.
(emit_expr_fix): New.
testsuite/
* gas/lns/lns.exp: Run new lns-big-delta test for targets that set
DWARF2_USE_FIXED_ADVANCE_PC.
* gas/lns/lns-big-delta.s: New.
* gas/lns/lns-big-delta.d: New.

16 years ago * gdb.ada/null_array: New test program.
Joel Brobecker [Wed, 9 Jan 2008 17:05:26 +0000 (17:05 +0000)]
    * gdb.ada/null_array: New test program.
        * gdb.ada/null_array.exp: New testcase.

16 years ago * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
Joel Brobecker [Wed, 9 Jan 2008 17:01:54 +0000 (17:01 +0000)]
    * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
        (check_typedef): Likewise.

16 years ago2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 9 Jan 2008 16:55:14 +0000 (16:55 +0000)]
2008-01-09  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (match_template): Check register size
only when size of operands can be encoded the canonical way.

16 years ago * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
Luis Machado [Wed, 9 Jan 2008 13:47:59 +0000 (13:47 +0000)]
* printcmd.c (printf_command): Add seen_big_h, seen_big_d and
seen_double_big_d, treat the new H, D, and DD modifiers as length
modifiers.
* doc/gdb.texinfo (Output): Update documentation on using printf with DFP
types.
* testsuite/gdb.base/printcmds.exp (test_printf_with_dfp): Update
printf calls with required float modifiers.

16 years agoPR gas/5552
Nick Clifton [Wed, 9 Jan 2008 12:29:08 +0000 (12:29 +0000)]
PR gas/5552
  * elf32-fr30.c (fr30_elf_howto_table): Set partial_inplace field to FALSE for all relocs.

16 years agoPR binutils/55326
Nick Clifton [Wed, 9 Jan 2008 10:40:32 +0000 (10:40 +0000)]
PR binutils/55326
   * bucomm.c (list_supported_architectures): Free architecture list after use.
   * windres.c (set_endianess): Likewise.
   * windmc.c (set_endianess): Likewise.

16 years agobfd/
Richard Sandiford [Wed, 9 Jan 2008 09:36:11 +0000 (09:36 +0000)]
bfd/
PR ld/5526
* elf-bfd.h (eh_cie_fde): Add u.cie.u.full_cie and u.cie.merged
fields.  Rename u.cie.u.merged to u.cie.u.merged_with.
(eh_frame_sec_info): Add a cies field.
(eh_frame_hdr_info): Add a merge_cies field.
* elf-eh-frame.c (cie): Add a reloc_index member to the personality
union.
(_bfd_elf_begin_eh_frame_parsing): Set hdr_info->merge_cies instead
of hdr_info->cies.
(_bfd_elf_parse_eh_frame): Remove tmp_cie.  Ccreate an array of
cie structures in all cases and use it instead of extended_cies.
If merging, store the cie array in sec_info->cies and point each
CIE's eh_fde_cie at the associated element.  Do not try to
calculate the value of the personality routine here; record the
offset of the relocation instead.  Do not merge CIEs here.
(_bfd_elf_end_eh_frame_parsing): Do not free hdr_info->cies here...
(_bfd_elf_discard_section_eh_frame_hdr): ...do it here instead.
(_bfd_elf_gc_mark_fdes): Mark the original (unmerged) CIE.
(find_merged_cie): New function.
(_bfd_elf_gc_mark_fdes): Use it.  Free sec_info->cies.

ld/testsuite/
PR ld/5526
* ld-elf/eh6.s, ld-elf/eh6.d: New test.

16 years ago * dwarf2read.c (read_enumeration_type): Add comment.
Joel Brobecker [Wed, 9 Jan 2008 04:28:11 +0000 (04:28 +0000)]
    * dwarf2read.c (read_enumeration_type): Add comment.

16 years ago2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 9 Jan 2008 01:24:07 +0000 (01:24 +0000)]
2008-01-08  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (set_bitfield): Use fail () on error.

16 years ago*** empty log message ***
gdbadmin [Wed, 9 Jan 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 8 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 8 Jan 2008 21:24:16 +0000 (21:24 +0000)]
2008-01-08  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (lineno): New.
(filename): Likewise.
(set_bitfield): Report filename and line numer on error.
(process_i386_opcodes): Set filename and update lineno.
(process_i386_registers): Likewise.

16 years ago2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 8 Jan 2008 19:51:24 +0000 (19:51 +0000)]
2008-01-08  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (i386_operand): Renamed to ...
(i386_att_operand): This.
(parse_operands): Updated.

16 years ago * gdb.ada/funcall_param: New test program.
Joel Brobecker [Tue, 8 Jan 2008 19:39:34 +0000 (19:39 +0000)]
    * gdb.ada/funcall_param: New test program.
        * gdb.ada/funcall_param.exp: New testcase.

16 years ago * config.in: Regenerate.
Thiago Jung Bauermann [Tue, 8 Jan 2008 19:38:33 +0000 (19:38 +0000)]
* config.in: Regenerate.

16 years ago * gdb.ada/arrayparam: New test program.
Joel Brobecker [Tue, 8 Jan 2008 19:31:36 +0000 (19:31 +0000)]
    * gdb.ada/arrayparam: New test program.
        * gdb.ada/arrayparam.exp: New testcase.

16 years ago * ada-lang.c (ada_convert_actual): Renames convert_actual.
Joel Brobecker [Tue, 8 Jan 2008 19:28:09 +0000 (19:28 +0000)]
    * ada-lang.c (ada_convert_actual): Renames convert_actual.
        Make non-static.
        (ada_convert_actuals): Delete.
        * ada-lang.h (ada_convert_actual): Add declaration.
        (ada_convert_actuals): Remove declaration.
        * infcall.c: #include "ada-lang.h".
        (value_arg_coerce): Add new parameter sp.  Update function
        documetnation.  Add handling of Ada function call parameters.
        * Makefile.in (infcall.o): Update dependencies.

16 years ago * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
Joel Brobecker [Tue, 8 Jan 2008 18:17:30 +0000 (18:17 +0000)]
    * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
        landed.  Should also fix random failures in the test following it.

16 years ago * ada-lang.c (ensure_lval): Fix value lval kind.
Joel Brobecker [Tue, 8 Jan 2008 17:40:09 +0000 (17:40 +0000)]
    * ada-lang.c (ensure_lval): Fix value lval kind.
        (convert_actual): Add handling for arguments passed by reference.

16 years ago * futex.m4: New file.
Jakub Jelinek [Tue, 8 Jan 2008 17:29:24 +0000 (17:29 +0000)]
* futex.m4: New file.

16 years ago * dbxread.c (read_dbx_symtab): Fix indentation.
Doug Evans [Tue, 8 Jan 2008 17:14:28 +0000 (17:14 +0000)]
* dbxread.c (read_dbx_symtab): Fix indentation.

16 years agobinutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post characters
Kai Tietz [Tue, 8 Jan 2008 09:10:47 +0000 (09:10 +0000)]
binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post characters
for name tokens. PR/5529.

16 years ago PR gas/5322
Nick Clifton [Tue, 8 Jan 2008 08:37:13 +0000 (08:37 +0000)]
  PR gas/5322
* lib/gas-defs.exp (gas_host_run): Add fourth argument to regsub command.

16 years ago*** empty log message ***
gdbadmin [Tue, 8 Jan 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Mon, 7 Jan 2008 23:25:47 +0000 (23:25 +0000)]
* config.sub, config.guess: Update from upstream sources.

16 years ago * prdbg.c (print_vma): Print as long long, if host supports it.
Greg McGary [Mon, 7 Jan 2008 23:17:48 +0000 (23:17 +0000)]
    * prdbg.c (print_vma): Print as long long, if host supports it.

16 years agodaily update
Alan Modra [Mon, 7 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.texinfo (C and C++): Add Decimal Floating Point format
Thiago Jung Bauermann [Mon, 7 Jan 2008 22:35:36 +0000 (22:35 +0000)]
* gdb.texinfo (C and C++): Add Decimal Floating Point format
subsubsection.
(Decimal Floating Point format): New subsubsection.

16 years ago * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
Thiago Jung Bauermann [Mon, 7 Jan 2008 22:34:49 +0000 (22:34 +0000)]
* gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
for expressions with decimal float values.
(test_dfp_conversions): New function to test casts to and from
decimal float types.
Call test_dfp_conversions.
* gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
elements.
(main): Initialize ds.float4 and ds.double8 elements.
* gdb.base/dfp-test.exp (d32_set_tests): Fix typo.  Adjust expect
string to new error message.
(d64_set_tests): Likewise.
(d128_set_tests): Likewise.
Add tests for expressions with decimal float variables.  Add tests for
conversions to and from decimal float types.

16 years ago * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
Thiago Jung Bauermann [Mon, 7 Jan 2008 22:33:57 +0000 (22:33 +0000)]
* Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
(valarith.o): Depend on dfp.h.
(valops.o): Likewise.
* dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
(set_decnumber_context): New function.
(decimal_check_errors): Likewise.
(decimal_from_number): Likewise.
(decimal_to_number): Likewise.
(decimal_from_string): Use set_decnumber_context and
decimal_check_errors.
(decimal_from_integral): New function.
(decimal_from_floating): Likewise.
(decimal_to_double): Likewise.
(promote_decimal): Likewise.
(decimal_binop): Likewise.
(decimal_is_zero): Likewise.
(decimal_compare): Likewise.
(decimal_convert): Likewise.
* dfp.h (decimal_from_integral): New prototype.
(decimal_from_floating): Likewise.
(decimal_to_double): Likewise.
(decimal_binop): Likewise.
(decimal_is_zero): Likewise.
(decimal_compare): Likewise.
(decimal_convert): Likewise.
* eval.c (evaluate_subexp_standard): Remove expect_type argument from
call to value_from_decfloat.
* valarith.c: Include dfp.h.
(value_args_as_decimal): New function.
(value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
(value_logical_not): Likewise.
(value_equal): Likewise.
(value_less): Likewise.
(value_pos): Likewise.
(value_neg): Formatting fix.
* valops.c: Include dfp.h.
(value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
* value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
(unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
(value_from_decfloat): Remove expect_type argument.
* value.h (value_from_decfloat): Update prototype.

16 years agoPR binutils/5535
Nick Clifton [Mon, 7 Jan 2008 17:53:03 +0000 (17:53 +0000)]
PR binutils/5535
   * vms.c (vms_close_and_cleanup): Check for the presence of a
   vms_private_data_struct before examining any of its fields.

16 years agobfd/
H.J. Lu [Mon, 7 Jan 2008 16:45:35 +0000 (16:45 +0000)]
bfd/

2008-01-07  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/5522
* elflink.c (elf_link_input_bfd): Don't write out a section if
its output section is marked with SEC_NEVER_LOAD.

ld/testsuite/

2008-01-07  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/5522
* ld-elf/noload-3.d: New file.
* ld-elf/noload-3.s: Likewise.
* ld-elf/noload-3.t: Likewise.

16 years ago Ignore change in name of dynamic linker during
Vladimir Prus [Mon, 7 Jan 2008 15:19:58 +0000 (15:19 +0000)]
Ignore change in name of dynamic linker during
execution, on Solaris.  This also unbreaks pending breakpoints.

* solist.h (struct target_so_ops): New field same.
        * solib-svr4.c (svr4_same): New.
        (_initialize_svr4_solib): Register svr4_same.
        * solib.c (update_solib_list): Use ops->same, if available.

16 years agoReport linker script errors with line numbers. Ignore OUTPUT_FORMAT
Ian Lance Taylor [Mon, 7 Jan 2008 05:19:02 +0000 (05:19 +0000)]
Report linker script errors with line numbers.  Ignore OUTPUT_FORMAT
with three arguments, and ignore OUTPUT_ARCH.

16 years ago*** empty log message ***
gdbadmin [Mon, 7 Jan 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sun, 6 Jan 2008 23:00:04 +0000 (23:00 +0000)]
daily update

16 years ago* win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings when
Christopher Faylor [Sun, 6 Jan 2008 06:59:14 +0000 (06:59 +0000)]
* win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings when
using MS-DOS paths.

16 years agoAdd support for -e and for ENTRY in linker scripts.
Ian Lance Taylor [Sun, 6 Jan 2008 00:47:10 +0000 (00:47 +0000)]
Add support for -e and for ENTRY in linker scripts.

16 years ago*** empty log message ***
gdbadmin [Sun, 6 Jan 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 5 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago gdb/
Pedro Alves [Sat, 5 Jan 2008 21:50:44 +0000 (21:50 +0000)]
gdb/

* NEWS: Mention --pid and --core command line behaviour changes.

gdb/doc/

* gdb.texinfo (File Options): Remove mention of the attempt to
open a core file with the -p option.  Don't list -c as a valid
option to attach to a process.

16 years agogas/
H.J. Lu [Sat, 5 Jan 2008 17:07:25 +0000 (17:07 +0000)]
gas/

2008-01-05  H.J. Lu  <hongjiu.lu@intel.com>

* doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.

* config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
only.
(md_assemble): Remove Intel mode workaround.
(match_template): Check support for old gcc, AT&T mnemonic
and Intel Syntax.
(md_parse_option): Don't set intel_mnemonic to 0 for
OPTION_MOLD_GCC.

gas/testsuite/

2008-01-05  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/intel.s: Add tests for fadd, faddp, fdiv, fdivp,
fdivr, fdivrp, fmul, fmulp, fsub, fsubp, fsubr and fsubrp.

* gas/i386/intel.d: Updated.
* gas/i386/intel.e: Likewise.

opcodes/

2008-01-05  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Rename IntelMnemonic to
ATTSyntax.

* i386-opc.h (IntelMnemonic): Renamed to ..
(ATTSyntax): This
(Opcode_Modifier_Max): Updated.
(i386_opcode_modifier): Remove intelmnemonic. Add attsyntax
and intelsyntax.

* i386-opc.tbl: Remove IntelMnemonic and update with ATTSyntax
on fsub, fubp, fsubr, fsubrp, div, fdivp, fdivr and fdivrp.
* i386-tbl.h: Regenerated.

16 years ago gdb/
Pedro Alves [Sat, 5 Jan 2008 16:49:53 +0000 (16:49 +0000)]
gdb/
* main.c (captured_main): Remove 'count' varible and the
ALIGN_STACK_ON_ENTRY block that used it.  Error out if --core and
--pid options were issued simultaneously.  If an explicit pid
option was passed, don't fallback to core file.  Detect extra
arguments better in the presence of explicit pid or core
arguments.

gdb/doc/
* gdbint.texinfo (Host Conditionals): Remove mention of
ALIGN_STACK_ON_ENTRY.

16 years ago * gdb.ada/packed_tagged/comp_bug.adb: New file.
Joel Brobecker [Sat, 5 Jan 2008 15:48:08 +0000 (15:48 +0000)]
    * gdb.ada/packed_tagged/comp_bug.adb: New file.
        * gdb.ada/packed_tagged.exp: New testcase.

16 years ago * ada-lang.c (ada_which_variant_applies): Correctly compute
Joel Brobecker [Sat, 5 Jan 2008 15:44:53 +0000 (15:44 +0000)]
    * ada-lang.c (ada_which_variant_applies): Correctly compute
        the value of the discriminant when the variant record is packed.

16 years ago * gdbint.texinfo (Start of New Year Procedure): Add item
Joel Brobecker [Sat, 5 Jan 2008 15:12:56 +0000 (15:12 +0000)]
    * gdbint.texinfo (Start of New Year Procedure): Add item
        describing how to update the source and documentation copyright
        notices.

16 years ago*** empty log message ***
gdbadmin [Sat, 5 Jan 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Fri, 4 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
Joel Brobecker [Fri, 4 Jan 2008 21:40:34 +0000 (21:40 +0000)]
    * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
        gdb.ada/homonym/homonym_main.adb: New files.
        * gdb.ada/homonym.exp: New testcase.

16 years ago * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
Joel Brobecker [Fri, 4 Jan 2008 21:36:25 +0000 (21:36 +0000)]
    * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
        that are used to differentiate homonyms.

16 years ago * gdb.ada/packed_array.exp: Add testing of references to
Joel Brobecker [Fri, 4 Jan 2008 20:47:16 +0000 (20:47 +0000)]
    * gdb.ada/packed_array.exp: Add testing of references to
        a packed array.

16 years ago * ada-lang.c (decode_packed_array_type): Avoid a seg fault
Joel Brobecker [Fri, 4 Jan 2008 20:45:05 +0000 (20:45 +0000)]
    * ada-lang.c (decode_packed_array_type): Avoid a seg fault
        when the type is an anonymous pointer type.
        (ada_check_typedef): Avoid a seg fault when the type is null.
        * ada-typeprint.c (print_array_type): Add support for pointer
        to packed arrays.

16 years ago * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
Joel Brobecker [Fri, 4 Jan 2008 20:07:40 +0000 (20:07 +0000)]
    * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
        New files.
        * gdb.ada/type_coercion.exp: New testcase.

16 years ago * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
Joel Brobecker [Fri, 4 Jan 2008 20:02:29 +0000 (20:02 +0000)]
    * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
        gdb.ada/tagged/foo.adb: New file.
        * gdb.ada/tagged.exp: New testcase.

16 years ago * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
Joel Brobecker [Fri, 4 Jan 2008 19:46:28 +0000 (19:46 +0000)]
    * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.

16 years ago * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
Joel Brobecker [Fri, 4 Jan 2008 19:01:30 +0000 (19:01 +0000)]
    * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
        EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.

16 years ago2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 4 Jan 2008 18:19:12 +0000 (18:19 +0000)]
2008-01-04  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.h: Update copyright to 2008.

16 years ago2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 4 Jan 2008 18:10:08 +0000 (18:10 +0000)]
2008-01-04  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c: Update copyright to 2008.
* i386-opc.h: Likewise.
* i386-opc.tbl: Likewise.

* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

16 years agogas/testsuite/
H.J. Lu [Fri, 4 Jan 2008 18:03:02 +0000 (18:03 +0000)]
gas/testsuite/

2008-01-04  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/rexw.d: New.
* gas/i386/rexw.s: Likewise.

* gas/i386/x86-64-sse4_1-intel.d: Updated.
* gas/i386/x86-64-sse4_1.d: Likewise.

opcodes/

2008-01-04  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Add NoRex64 to extractps, movmskpd, movmskps,
pextrb, pextrw, pinsrb, pinsrw and pmovmskb.
* i386-tbl.h: Regenerated.

16 years ago * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
Joel Brobecker [Fri, 4 Jan 2008 15:10:10 +0000 (15:10 +0000)]
    * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
        gdb.ada/ptype_field/foo.adb: New files.
        * gdb.ada/ptype_field.exp: New testcase.

16 years ago * ada-exp.y (chop_separator): New function.
Joel Brobecker [Fri, 4 Jan 2008 15:04:10 +0000 (15:04 +0000)]
    * ada-exp.y (chop_separator): New function.
        (write_selectors): Rewrite to re-use chop_separator.
        (ada_nget_field_index, get_symbol_field_type): New functions.
        (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
        expressions.

16 years ago* config/tc-ppc.c (parse_cpu): Preserve the settings of the
Nick Clifton [Fri, 4 Jan 2008 14:53:50 +0000 (14:53 +0000)]
* config/tc-ppc.c (parse_cpu): Preserve the settings of the
  PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.

* gas/ppc/altivec_and_spe.s: New test - checks that ISA extension
  command line options (-maltivec, -mspe) can be specified before
  CPU selection command line options.
* gas/ppc/altivec_and_spe.d: Expected disassembly.
* gas/ppc/ppc.exp: Run the new test

16 years ago * dwarf.c (read_and_display_attr_value): Prefix values that are
Nick Clifton [Fri, 4 Jan 2008 09:53:41 +0000 (09:53 +0000)]
    * dwarf.c (read_and_display_attr_value): Prefix values that are
        displayed in hexadecimal with 0x.
        For the DW_AT_import attribute display the abbreviation number and
        tag of the imported DIE.
        (process_debug_info): Warn about lengths that reserved by the
        DWARF3 specification.
        Provide more information when corrupted DIEs are detected.
        Warn if DIE corruption makes the sibling level negative.

16 years agoAdd -h/-soname option.
Ian Lance Taylor [Fri, 4 Jan 2008 05:35:24 +0000 (05:35 +0000)]
Add -h/-soname option.

16 years agoDon't create the postprocessing buffer if it already exists.
Ian Lance Taylor [Fri, 4 Jan 2008 05:04:56 +0000 (05:04 +0000)]
Don't create the postprocessing buffer if it already exists.

16 years ago2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 4 Jan 2008 01:27:01 +0000 (01:27 +0000)]
2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
of SYSV386_COMPAT.

16 years agogas/
H.J. Lu [Fri, 4 Jan 2008 01:05:45 +0000 (01:05 +0000)]
gas/

2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
(cpu_flags_not): Likewise.
(cpu_flags_match): Updated to check 64bit and arch.
(set_code_flag): Remove cpu_arch_flags_not.
(set_16bit_gcc_code_flag): Likewise.
(set_cpu_arch): Likewise.
(md_begin): Likewise.
(parse_insn): Call cpu_flags_match to check 64bit and arch.
(match_template): Likewise.

gas/testsuite/

2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-9.d: New file.
* gas/i386/arch-9.s: Likewise.

* gas/i386/i386.exp: Run arch-9.

opcodes/

2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Remove CpuSSE4_1_Or_5 and
CpuSSE4_2_Or_ABM.
(cpu_flags): Likewise.

* i386-opc.h (CpuSSE4_1_Or_5): Removed.
(CpuSSE4_2_Or_ABM): Likewise.
(CpuLM): Updated.
(i386_cpu_flags): Remove cpusse4_1_or_5 and cpusse4_2_or_abm.

* i386-opc.tbl: Replace CpuSSE4_1_Or_5, CpuSSE4_2_Or_ABM and
Cpu686|CpuPadLock with CpuSSE4_1|CpuSSE5, CpuABM|CpuSSE4_2
and CpuPadLock, respectively.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

16 years ago*** empty log message ***
gdbadmin [Fri, 4 Jan 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 3 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
Thiago Jung Bauermann [Thu, 3 Jan 2008 21:30:13 +0000 (21:30 +0000)]
* symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
of SYMBOL_VALUE when working with function symbols.

16 years ago * config/tc-i386.c (process_drex): Initialize modrm_reg and
Jakub Jelinek [Thu, 3 Jan 2008 20:19:29 +0000 (20:19 +0000)]
* config/tc-i386.c (process_drex): Initialize modrm_reg and
modrm_regmem to 0 instead of None.

16 years agogas/
H.J. Lu [Thu, 3 Jan 2008 20:09:38 +0000 (20:09 +0000)]
gas/

2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (match_template): Use the xmmword field
instead of no_xsuf.

opcodes/

2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Remove No_xSuf.

* i386-opc.h (No_xSuf): Removed.
(CheckSize): Updated.

* i386-tbl.h: Regenerated.

16 years ago * gdb.ada/print_pc.exp: New testcase.
Joel Brobecker [Thu, 3 Jan 2008 19:22:20 +0000 (19:22 +0000)]
    * gdb.ada/print_pc.exp: New testcase.

16 years ago * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
Joel Brobecker [Thu, 3 Jan 2008 19:19:22 +0000 (19:19 +0000)]
    * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
        gdb.ada/taft_type/p.adb: New files.
        * gdb.ada/taft_type.exp: New testcase.

16 years ago * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
Joel Brobecker [Thu, 3 Jan 2008 19:15:10 +0000 (19:15 +0000)]
    * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
        expressions.  These expressions do not need to be rewriten.

16 years ago * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
Joel Brobecker [Thu, 3 Jan 2008 17:32:10 +0000 (17:32 +0000)]
    * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
        gdb.ada/taft_type/p.adb: New files.
        * gdb.ada/taft_type.exp: New testcase.

16 years ago * dwarf2read.c (read_enumeration_type): Flag type as stub if
Joel Brobecker [Thu, 3 Jan 2008 17:29:56 +0000 (17:29 +0000)]
    * dwarf2read.c (read_enumeration_type): Flag type as stub if
        the given die is a declaration.

16 years ago * gdb.ada/array_bounds/bar.adb: New file.
Joel Brobecker [Thu, 3 Jan 2008 14:19:52 +0000 (14:19 +0000)]
    * gdb.ada/array_bounds/bar.adb: New file.
        * gdb.ada/array_bounds.exp: New testcase.

16 years ago * ada-lang.c (ada_array_bound_from_type): Make non-static.
Joel Brobecker [Thu, 3 Jan 2008 14:07:10 +0000 (14:07 +0000)]
    * ada-lang.c (ada_array_bound_from_type): Make non-static.
        Handle properly the case when the index type is an enumerated type.
        Do not return the subtype of the bounds type, just return the
        bounds type directly - this is not needed and is more consistent
        with what we do for arrays when no XA parallel type exists.

16 years ago * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
Joel Brobecker [Thu, 3 Jan 2008 13:15:43 +0000 (13:15 +0000)]
    * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
        gdb.ada/arrayptr/foo.adb: New files.
        * gdb.ada/arrayptr.exp: New testcase.

16 years ago * ada-lang.c (static_unwrap_type): Add forward declaration.
Joel Brobecker [Thu, 3 Jan 2008 13:11:51 +0000 (13:11 +0000)]
    * ada-lang.c (static_unwrap_type): Add forward declaration.
        (template_to_static_fixed_type): Fields of dynamic types sometimes
        also need to be unwrapped. Take this into account.
        (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
        (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
        * ada-typeprint.c (ada_print_type): Get the typename from
        the original type, not the base type.

16 years ago * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
Joel Brobecker [Thu, 3 Jan 2008 12:30:38 +0000 (12:30 +0000)]
    * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
        (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
        Update calls to ada_to_fixed_type.
        (ada_template_to_fixed_record_type_1): Ditto, but without looking
        for the tag.
        (ada_to_fixed_type): Add check_tag parameter; do not look for
        tag if null.  When looking for a tag, use a fixed record type.
        * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
        * ada-valprint.c (printable_val_type, ada_value_print): Update
        calls to ada_to_fixed_type.

16 years ago * doublest.c (convert_floatformat_to_doublest): Call
Luis Machado [Thu, 3 Jan 2008 11:39:35 +0000 (11:39 +0000)]
* doublest.c (convert_floatformat_to_doublest): Call
floatformat_to_doublest instead of floatformat_to_double and use
DOUBLEST variables.
(convert_doublest_to_floatformat): Call floatformat_from_doublest
instead of floatformat_from_double and use DOUBLEST variables.

16 years ago2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
Nick Hudson [Thu, 3 Jan 2008 10:33:10 +0000 (10:33 +0000)]
2008-01-03  Nick Hudson  <nick.hudson@dsl.pipex.com>

* MAINTAINERS (Write After Approval): Add self.

16 years agogas/testsuite/
H.J. Lu [Thu, 3 Jan 2008 05:29:53 +0000 (05:29 +0000)]
gas/testsuite/

2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-5.d: New file.
* gas/i386/arch-5.s: Likewise.
* gas/i386/arch-6.d: Likewise.
* gas/i386/arch-6.s: Likewise.
* gas/i386/arch-7.d: Likewise.
* gas/i386/arch-7.s: Likewise.
* gas/i386/arch-8.d: Likewise.
* gas/i386/arch-8.s: Likewise.

* gas/i386/i386.exp: Run arch-5, arch-6, arch-7 and arch-8.

opcodes/

2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Add CpuSSE4_2_Or_ABM to
CPU_AMDFAM10_FLAGS, CPU_SSE4_2_FLAGS, CpuABM and
CPU_SSE5_FLAGS.
(cpu_flags): Add CpuSSE4_2_Or_ABM.

* i386-opc.h (CpuSSE4_2_Or_ABM): New.
(CpuLM): Updated.
(i386_cpu_flags): Add cpusse4_2_or_abm.

* i386-opc.tbl: Use CpuSSE4_2_Or_ABM instead of
CpuABM|CpuSSE4_2 on popcnt.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

16 years agoAdd a missing ','.
H.J. Lu [Thu, 3 Jan 2008 05:27:55 +0000 (05:27 +0000)]
Add a missing ','.

16 years ago * gdb.base/set-lang-auto.exp: New testcase.
Joel Brobecker [Thu, 3 Jan 2008 04:26:57 +0000 (04:26 +0000)]
    * gdb.base/set-lang-auto.exp: New testcase.

16 years ago * symfile.c (set_initial_language): Make non-static.
Joel Brobecker [Thu, 3 Jan 2008 04:23:46 +0000 (04:23 +0000)]
    * symfile.c (set_initial_language): Make non-static.
        * symfile.h (set_initial_language): Add declaration.
        * language.c: #include "symfile.h".
        (set_language): Call set_initial_language if the frame language
        could not be determined.

16 years ago * gdb.ada/fun_addr/foo.adb: New file.
Joel Brobecker [Thu, 3 Jan 2008 04:12:24 +0000 (04:12 +0000)]
    * gdb.ada/fun_addr/foo.adb: New file.
        * gdb.ada/fun_addr.exp: New testcase.

16 years ago * eval.c (evaluate_subexp_for_address): Provide frame address to
Joel Brobecker [Thu, 3 Jan 2008 04:11:16 +0000 (04:11 +0000)]
    * eval.c (evaluate_subexp_for_address): Provide frame address to
        locate_var_value only if it will be needed.

16 years agogas/testsuite/
H.J. Lu [Thu, 3 Jan 2008 03:28:35 +0000 (03:28 +0000)]
gas/testsuite/

2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.s: Add tests for movq.
* gas/i386/x86_64.s: Likewise.

* gas/i386/i386.d Updated.
* gas/i386/x86_64.d: Likewise.

opcodes/

2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.h: Update comments.

16 years agoFix a typo.
H.J. Lu [Thu, 3 Jan 2008 00:02:26 +0000 (00:02 +0000)]
Fix a typo.

16 years ago*** empty log message ***
gdbadmin [Thu, 3 Jan 2008 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 2 Jan 2008 23:55:45 +0000 (23:55 +0000)]
2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (process_suffix): Fix a typo.

16 years agoAdd cast to avoid signed/unsigned warning.
Ian Lance Taylor [Wed, 2 Jan 2008 23:55:37 +0000 (23:55 +0000)]
Add cast to avoid signed/unsigned warning.

16 years ago2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 2 Jan 2008 23:54:47 +0000 (23:54 +0000)]
2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Use Qword instead of QWord.
* i386-opc.h: Likewise.
* i386-opc.tbl: Likewise.

16 years agoReduce the number of system calls. Use readv instead of pread. Do
Ian Lance Taylor [Wed, 2 Jan 2008 23:48:49 +0000 (23:48 +0000)]
Reduce the number of system calls.  Use readv instead of pread.  Do
better handling of cached views.

16 years agodaily update
Alan Modra [Wed, 2 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agogas/
H.J. Lu [Wed, 2 Jan 2008 21:43:34 +0000 (21:43 +0000)]
gas/

2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/5534
* config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
Check memory size in Intel mode.
(process_suffix): Handle XMMWORD_MNEM_SUFFIX.
(intel_e09): Likewise.

* config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.

gas/testsuite/

2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/5534
* gas/i386/intel.s: Use QWORD on movq instead of DWORD.

* gas/i386/inval.s: Add tests for movq.
* gas/i386/x86-64-inval.s: Likewise.

* gas/i386/inval.l: Updated.
* gas/i386/x86-64-inval.l: Likewise.

opcodes/

2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/5534
* i386-gen.c (opcode_modifiers): Add No_xSuf, CheckSize,
Byte, Word, Dword, QWord and Xmmword.

* i386-opc.h (No_xSuf): New.
(CheckSize): Likewise.
(Byte): Likewise.
(Word): Likewise.
(Dword): Likewise.
(QWord): Likewise.
(Xmmword): Likewise.
(FWait): Updated.
(i386_opcode_modifier): Add No_xSuf, CheckSize, Byte, Word,
Dword, QWord and Xmmword.

* i386-opc.tbl: Add CheckSize|QWord to movq if IgnoreSize is
used.
* i386-tbl.h: Regenerated.