Joel Brobecker
137033e974
* dwarf2read.c (read_enumeration_type): Add comment.
2008-01-09 04:28:11 +00:00
H.J. Lu
50e8458f68
2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
...
* i386-gen.c (set_bitfield): Use fail () on error.
2008-01-09 01:24:07 +00:00
gdbadmin
60b4775e82
*** empty log message ***
2008-01-09 00:00:03 +00:00
Alan Modra
e0d99a80eb
daily update
2008-01-08 23:00:06 +00:00
H.J. Lu
3d4d5afaf0
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.
2008-01-08 21:24:16 +00:00
H.J. Lu
a761937534
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.
2008-01-08 19:51:24 +00:00
Joel Brobecker
0b3549005a
* gdb.ada/funcall_param: New test program.
...
* gdb.ada/funcall_param.exp: New testcase.
2008-01-08 19:39:34 +00:00
Thiago Jung Bauermann
dda297ecb6
* config.in: Regenerate.
2008-01-08 19:38:33 +00:00
Joel Brobecker
cdb7f5d4dc
* gdb.ada/arrayparam: New test program.
...
* gdb.ada/arrayparam.exp: New testcase.
2008-01-08 19:31:36 +00:00
Joel Brobecker
a93c0eb695
* 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.
2008-01-08 19:28:09 +00:00
Joel Brobecker
88e2547f13
* gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
...
landed. Should also fix random failures in the test following it.
2008-01-08 18:17:30 +00:00
Joel Brobecker
a84a8a0d30
* ada-lang.c (ensure_lval): Fix value lval kind.
...
(convert_actual): Add handling for arguments passed by reference.
2008-01-08 17:40:09 +00:00
Jakub Jelinek
7eebcca8bd
* futex.m4: New file.
2008-01-08 17:29:24 +00:00
Doug Evans
d7f98cced6
* dbxread.c (read_dbx_symtab): Fix indentation.
2008-01-08 17:14:28 +00:00
Kai Tietz
aeafac0cd3
binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post characters
...
for name tokens. PR/5529.
2008-01-08 09:10:47 +00:00
Nick Clifton
9396508db2
PR gas/5322
...
* lib/gas-defs.exp (gas_host_run): Add fourth argument to regsub command.
2008-01-08 08:37:13 +00:00
gdbadmin
2ae6c22fab
*** empty log message ***
2008-01-08 00:00:33 +00:00
Ben Elliston
9f1e7fd31e
* config.sub, config.guess: Update from upstream sources.
2008-01-07 23:25:47 +00:00
Greg McGary
3c75e4f892
* prdbg.c (print_vma): Print as long long, if host supports it.
2008-01-07 23:17:48 +00:00
Alan Modra
6945b3e87b
daily update
2008-01-07 23:00:05 +00:00
Thiago Jung Bauermann
febe438365
* gdb.texinfo (C and C++): Add Decimal Floating Point format
...
subsubsection.
(Decimal Floating Point format): New subsubsection.
2008-01-07 22:35:36 +00:00
Thiago Jung Bauermann
f6867ce08c
* 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.
2008-01-07 22:34:49 +00:00
Thiago Jung Bauermann
4ef30785ea
* 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.
2008-01-07 22:33:57 +00:00
Nick Clifton
780b23606d
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.
2008-01-07 17:53:03 +00:00
H.J. Lu
ace7938838
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.
2008-01-07 16:45:35 +00:00
Vladimir Prus
a7c02bc8e1
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.
2008-01-07 15:19:58 +00:00
Ian Lance Taylor
2dd3e587bd
Report linker script errors with line numbers. Ignore OUTPUT_FORMAT
...
with three arguments, and ignore OUTPUT_ARCH.
2008-01-07 05:19:02 +00:00
gdbadmin
d4e917ea7f
*** empty log message ***
2008-01-07 00:00:33 +00:00
Alan Modra
885e4b3d1f
daily update
2008-01-06 23:00:04 +00:00
Christopher Faylor
610dd7f9a6
* win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings when
...
using MS-DOS paths.
2008-01-06 06:59:14 +00:00
Ian Lance Taylor
d391083d3c
Add support for -e and for ENTRY in linker scripts.
2008-01-06 00:47:10 +00:00
gdbadmin
2969336b5e
*** empty log message ***
2008-01-06 00:00:33 +00:00
Alan Modra
8133291eb3
daily update
2008-01-05 23:00:05 +00:00
Pedro Alves
7a404eba27
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.
2008-01-05 21:50:44 +00:00
H.J. Lu
e1d4d8936f
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.
2008-01-05 17:07:25 +00:00
Pedro Alves
a4d9b460bd
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.
2008-01-05 16:49:53 +00:00
Joel Brobecker
f9c112822a
* gdb.ada/packed_tagged/comp_bug.adb: New file.
...
* gdb.ada/packed_tagged.exp: New testcase.
2008-01-05 15:48:08 +00:00
Joel Brobecker
0c281816be
* ada-lang.c (ada_which_variant_applies): Correctly compute
...
the value of the discriminant when the variant record is packed.
2008-01-05 15:44:53 +00:00
Joel Brobecker
6ec2edbe70
* gdbint.texinfo (Start of New Year Procedure): Add item
...
describing how to update the source and documentation copyright
notices.
2008-01-05 15:12:56 +00:00
gdbadmin
dd208731ed
*** empty log message ***
2008-01-05 00:00:03 +00:00
Alan Modra
28d105a1bc
daily update
2008-01-04 23:00:05 +00:00
Joel Brobecker
0ecbca72c8
* gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
...
gdb.ada/homonym/homonym_main.adb: New files.
* gdb.ada/homonym.exp: New testcase.
2008-01-04 21:40:34 +00:00
Joel Brobecker
babe1480e8
* ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
...
that are used to differentiate homonyms.
2008-01-04 21:36:25 +00:00
Joel Brobecker
c18d3d891b
* gdb.ada/packed_array.exp: Add testing of references to
...
a packed array.
2008-01-04 20:47:16 +00:00
Joel Brobecker
727e3d2e5c
* 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.
2008-01-04 20:45:05 +00:00
Joel Brobecker
ecc7085baf
* gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
...
New files.
* gdb.ada/type_coercion.exp: New testcase.
2008-01-04 20:07:40 +00:00
Joel Brobecker
c474c9229e
* gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
...
gdb.ada/tagged/foo.adb: New file.
* gdb.ada/tagged.exp: New testcase.
2008-01-04 20:02:29 +00:00
Joel Brobecker
bb28a9dcd8
* ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
2008-01-04 19:46:28 +00:00
Joel Brobecker
6799def481
* ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
...
EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
2008-01-04 19:01:30 +00:00
H.J. Lu
23117009d4
2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
...
* config/tc-i386.h: Update copyright to 2008.
2008-01-04 18:19:12 +00:00