Commit Graph

56550 Commits

Author SHA1 Message Date
Alan Modra 7833b9b3df daily update 2007-12-28 23:00:05 +00:00
H.J. Lu 70ad4a561e Add ',' at the end of cpu_flag_init. 2007-12-28 19:42:53 +00:00
H.J. Lu 8d79a8c8d5 gas/testsuite/
2007-12-28  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/i386/arch-1.d: New file.
	* gas/i386/arch-1.s: Likewise.
	* gas/i386/arch-2.d: Likewise.
	* gas/i386/arch-2.s: Likewise.
	* gas/i386/arch-3.d: Likewise.
	* gas/i386/arch-3.s: Likewise.
	* gas/i386/arch-4.d: Likewise.
	* gas/i386/arch-4.s: Likewise.

	* gas/i386/i386.exp: Run arch-1, arch-2, arch-3 and arch-4.

opcodes/

2007-12-28  H.J. Lu  <hongjiu.lu@intel.com>

	* i386-gen.c (cpu_flag_init): Add CpuSSE4_1_Or_5 to
	CPU_SSE4_1_FLAGS, CPU_SSE4_2_FLAGS and CPU_SSE5_FLAGS.
	(cpu_flags): Add CpuSSE4_1_Or_5.

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

	* i386-opc.h (CpuSSE4_1_Or_5): New.
	(CpuLM): Updated.
	(i386_cpu_flags): Add cpusse4_1_or_5.

	* i386-opc.tbl: Use CpuSSE4_1_Or_5 instead of CpuSSE4_1|CpuSSE5
	on ptest roundpd, roundps, roundsd and roundss.
2007-12-28 16:04:41 +00:00
Nick Clifton 4750aaa464 * elf32-hppa.c (hppa_record_segment_addr): Locate the segment
containing the section using the segment map, rather than guessing
  based upon the section's vma and file position.
2007-12-28 14:45:34 +00:00
Joel Brobecker 000d512403 * ada-lang.c (ada_evaluate_subexp): Break two large expressions
using temporary variables.
2007-12-28 13:06:17 +00:00
Joel Brobecker f652e42f28 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
gdb.ada/fixed_cmp/fixed.adb: New files.
        * gdb.ada/fixed_cmp.exp: New testcase.
2007-12-28 06:32:46 +00:00
Joel Brobecker 6e48bd2c90 * ada-lang.c (ada_value_cast): New function, extracted out from
the code in ada_evaluate_subexp, case UNOP_CAST.  The code handling
        the obscure case has been removed as we think that it is actually
        unnecessary.
        (ada_evaluate_subexp): Add type case when evaluating an OP_DOUBLE
        or an OP_LONG with a non-null expect_type. Replace extracted-out
        code with call to new ada_value_cast function.
2007-12-28 06:25:56 +00:00
Joel Brobecker 6943e5962a * gdb.ada/boolean_expr.exp: New testcase. 2007-12-28 06:17:49 +00:00
Joel Brobecker 2330c6c69c * ada-lang.c (ada_evaluate_subexp): Add cases for BINOP_LOGICAL_AND,
BINOP_LOGICAL_OR, UNOP_LOGICAL_NOT, BINOP_BITWISE_IOR,
        BINOP_BITWISE_XOR, BINOP_BITWISE_AND.
        * language.c (lang_bool_type): Add Ada case.
2007-12-28 06:13:51 +00:00
gdbadmin a6017fbaa5 *** empty log message *** 2007-12-28 00:00:34 +00:00
Alan Modra a47bc319af daily update 2007-12-27 23:00:05 +00:00
Dave Anglin 3a0d49fcec * config/tc-hppa.h (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number
in parens.
2007-12-27 15:35:53 +00:00
gdbadmin ab0bcd0a84 *** empty log message *** 2007-12-27 00:00:03 +00:00
Alan Modra 71983bf851 daily update 2007-12-26 23:00:06 +00:00
Jim Blandy aad9a19303 * gdb.base/multi-forks.exp: Doc fix. 2007-12-26 17:11:16 +00:00
Joel Brobecker fb5f3683c3 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
* gdb.ada/char_param.exp: Do not compile our test program with
        -gnata, this is unnecessary.
        * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
2007-12-26 14:21:53 +00:00
Joel Brobecker 1760d9d580 * dwarf2read.c (read_base_type): Fix obvious &&/|| confusion. 2007-12-26 12:36:18 +00:00
Luis Machado a6a5a94583 * dwarf2-frame.c (execute_cfa_program): Call dwarf2_restore_rule
function to handle required actions for the DW_CFA_restore and
	DW_CFA_restore_extended instructions.
	(dwarf2_restore_rule): New function.
2007-12-26 10:57:50 +00:00
gdbadmin 5588bc95a7 *** empty log message *** 2007-12-26 00:00:34 +00:00
Alan Modra dd340c05b0 daily update 2007-12-25 23:00:05 +00:00
gdbadmin 8e05b6ff93 *** empty log message *** 2007-12-25 00:00:33 +00:00
Alan Modra a23ab006b5 daily update 2007-12-24 23:00:06 +00:00
Nick Clifton 9b168ecec9 * genscripts.sh (LIB_PATH): Include both {target_alias} and
{TOOL_LIB} in the search paths for multilibbed targets.
2007-12-24 17:27:34 +00:00
Joel Brobecker 384e4a9cc2 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
gdb.ada/print_chars/foo.adb: New files.
        * gdb.ada/print_chars.exp: New testcase.
2007-12-24 17:13:32 +00:00
H.J. Lu 0efc80c807 bfd/
2007-12-24  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/5488
	* elf.c (IS_NOTE): New.
	(IS_COREFILE_NOTE): Use IS_NOTE.
	(IS_SECTION_IN_INPUT_SEGMENT): Use IS_NOTE instead of
	IS_COREFILE_NOTE.

ld/testsuite/

2007-12-24  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/5488
	* ld-elf/note-2.d: New.
	* ld-elf/note-2.s: Likewise.
	* ld-elf/note-2.t: Likewise.
2007-12-24 16:58:23 +00:00
H.J. Lu 147d51c232 2007-12-24 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/5449
	* elf.c (rewrite_elf_program_header): Don't adjust p_paddr if
	p_paddr is set to 0.
	(copy_private_bfd_data): Call rewrite_elf_program_header if
	p_paddr is set to 0.

	* elfcode.h (elf_swap_phdr_out): Set p_paddr to 0 if needed.

	* elfxx-ia64.c (ELF_MAXPAGESIZE): Don't redefine it for HPUX.
2007-12-24 16:55:39 +00:00
Joel Brobecker 5a517ebd81 * ada-lang.c (ada_is_character_type): Add recognition of type
"Wide_Wide_Character".
2007-12-24 16:52:24 +00:00
Nick Clifton 7e261fc58b Updated Russian translation. 2007-12-24 16:18:14 +00:00
Joel Brobecker 01e044f750 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
gdb.ada/char_param/foo.adb: New files.
        * gdb.ada/char_param.exp: New testcase.
2007-12-24 07:57:00 +00:00
Joel Brobecker 7b9f71f288 * dwarf2read.c (read_base_type): Set code to TYPE_CODE_CHAR
for char and unsigned char types of Ada compilation units.
        * ada-lang.c (ada_is_character_type): Always return true if
        the type code is TYPE_CODE_CHAR.
2007-12-24 06:29:27 +00:00
H.J. Lu 5209009a1b Fix a typo in comment. 2007-12-24 06:10:17 +00:00
H.J. Lu 1efbbeb461 gas/
2007-12-23  H.J. Lu  <hongjiu.lu@intel.com>

	* config/tc-i386.c (set_intel_mnemonic): New.
	(intel_mnemonic): Likewise.
	(old_gcc): Likewise.
	(OPTION_MMNEMONIC): Likewise.
	(OPTION_MSYNTAX): Likewise.
	(OPTION_MINDEX_REG): Likewise.
	(OPTION_MNAKED_REG): Likewise.
	(OPTION_MOLD_GCC): Likewise.
	(md_pseudo_table): Add .intel_mnemonic and .att_mnemonic.
	(match_template): Don't allow AT&T/Intel mnemonic if Intel/AT&T
	mnemonic is specified.  Don't allow old gcc support if old_gcc
	is 0.
	(md_longopts): Add -mmnemonic, -msyntax, -mindex-reg,
	-mmnaked-reg and -mold-gcc.
	(md_parse_option): Handle OPTION_MMNEMONIC, OPTION_MSYNTAX,
	OPTION_MINDEX_REG, OPTION_MNAKED_REG and OPTION_MOLD_GCC.

	* doc/c-i386.texi: Docoument -mmnemonic, -msyntax, --mnaked-reg
	and AT&T mnemonic vs. Intel mnemonic.

gas/testsuite/

2007-12-23  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/i386/compat-intel.d: Pass -mmnemonic=att to assembler.
	* gas/i386/compat.d: Likewise.

	* gas/i386/i386.exp: Pass -mmnemonic=att to assembler for
	"float".  Pass -mold-gcc to assembler for  "general".

opcodes/

2007-12-23  H.J. Lu  <hongjiu.lu@intel.com>

	* i386-gen.c (opcode_modifiers): Add OldGcc, ATTMnemonic and
	IntelMnemonic.

	* i386-opc.h (OldGcc): New.
	(ATTMnemonic): Likewise.
	(IntelMnemonic): Likewise.
	(Opcode_Modifier_Max): Updated.
	(i386_opcode_modifier): Add oldgcc, attmnemonic and
	intelmnemonic.

	* i386-opc.tbl: Update fadd, fdiv, fdivp, fdivr, fdivrp, fmul,
	fsub, fsubp, fsubr and fsubrp with OldGcc, ATTMnemonic and
	IntelMnemonic.
	* i386-tbl.h: Regeneratd.
2007-12-24 05:27:39 +00:00
gdbadmin 896c3b60e9 *** empty log message *** 2007-12-24 00:00:03 +00:00
Alan Modra ecbe32d016 daily update 2007-12-23 23:00:06 +00:00
Joel Brobecker 1ce9f7f229 * infrun.c (handle_inferior_event): Remove code that made us
stop when stepping into the last line of the current function.
2007-12-23 05:34:38 +00:00
gdbadmin 8bed666aef *** empty log message *** 2007-12-23 00:00:03 +00:00
Alan Modra 9c1b5f1b84 daily update 2007-12-22 23:00:05 +00:00
Pierre Muller 8861631251 2007-12-22 Pierre Muller <muller@ics.u-strasbg.fr>
* win32-nat.c: Fix PR/2388.
	(do_win32_fetch_inferior_registers): Do not overwrite debug register
	array dr if debug_registers_changed variable is set.
2007-12-22 22:09:56 +00:00
Jan Kratochvil 680b30c7fe * dwarf2read.c (scan_partial_symbols partial_die_parent_scope)
(add_partial_symbol, pdi_needs_namespace, process_die)
	(is_type_tag_for_partial, load_partial_dies, new_symbol)
	(read_type_die, determine_prefix): Extend the current code of
	`DW_TAG_class_type' also for `DW_TAG_interface_type'.
2007-12-22 20:58:30 +00:00
H.J. Lu 9d14166966 binutils/
2007-12-22  H.J. Lu  <hongjiu.lu@intel.com>

	* doc/binutils.texi: Document the new intel-mnemonic and
	intel-mnemonic options for i386 disassembler.

gas/testsuite/

2007-12-22  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/i386/compat-intel.d: New file.
	* gas/i386/compat.d: Likewise.
	* gas/i386/compat.s: Likewise.

	* gas/i386/i386.exp: Run compat.

opcodes/

2007-12-22  H.J. Lu  <hongjiu.lu@intel.com>

	* i386-dis.c (intel_mnemonic): New.
	(print_i386_disassembler_options): Display att-mnemonic and
	intel-mnemonic options.
	(print_insn): Handle att-mnemonic and intel-mnemonic.
	(float_reg): Replace SYSV386_COMPAT with "!M" and "M".
	(putop): Handle "!M" and "M".
2007-12-22 14:06:31 +00:00
Jim Blandy 0ce17860b0 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
hard-coding source line numbers into the test.
	* gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
	gdb_get_line_number to find.
2007-12-22 06:44:28 +00:00
Joel Brobecker 919809b973 * gdb.base/ptype.c (highest): New struct type.
(the_highest): New variable of that type.
        (main): Add dummy assignment to a field of variable the_highest.
        * gdb.base/ptype.exp: Test type printing of our new variable.
2007-12-22 05:28:19 +00:00
Ian Lance Taylor cf88803ada Use a simpler hash function. 2007-12-22 01:53:39 +00:00
Ian Lance Taylor 06a9731e8a Correct contributor name on new tests, remove #if 0 code. 2007-12-22 00:50:43 +00:00
gdbadmin e1d88ee402 *** empty log message *** 2007-12-22 00:00:03 +00:00
Ian Lance Taylor 99f8facac9 From Cary Coutant: Fix handling of versioned symbols, add some tests. 2007-12-21 23:31:19 +00:00
Bob Wilson dc96b90a10 * elf32-xtensa.c (relax_section): Update DIFF relocations in the
same way as other relocations.
2007-12-21 23:11:28 +00:00
Ian Lance Taylor 8d32f93595 Correct handling of non-section symbol in merged section. Avoid some
64-bit signed/unsigned warnings.
2007-12-21 23:08:25 +00:00
Alan Modra 2e324ab383 daily update 2007-12-21 23:00:05 +00:00
Ian Lance Taylor a9a60db689 Speed up relocations against local symbols in merged sections. 2007-12-21 21:19:45 +00:00