Commit Graph

56714 Commits

Author SHA1 Message Date
Luis Machado 542a88d0e4 * 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.
2008-01-03 11:39:35 +00:00
Nick Hudson dc2bbab20c 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
* MAINTAINERS (Write After Approval): Add self.
2008-01-03 10:33:10 +00:00
H.J. Lu e0329a2266 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.
2008-01-03 05:29:53 +00:00
H.J. Lu 18a2244ddd Add a missing ','. 2008-01-03 05:27:55 +00:00
Joel Brobecker a31ace0071 * gdb.base/set-lang-auto.exp: New testcase. 2008-01-03 04:26:57 +00:00
Joel Brobecker 8b60591b5d * 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.
2008-01-03 04:23:46 +00:00
Joel Brobecker a97fced314 * gdb.ada/fun_addr/foo.adb: New file.
* gdb.ada/fun_addr.exp: New testcase.
2008-01-03 04:12:24 +00:00
Joel Brobecker ceef53c1cb * eval.c (evaluate_subexp_for_address): Provide frame address to
locate_var_value only if it will be needed.
2008-01-03 04:11:16 +00:00
H.J. Lu f2a9c676b7 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.
2008-01-03 03:28:35 +00:00
H.J. Lu 615888ae9f Fix a typo. 2008-01-03 00:02:26 +00:00
gdbadmin d6bb2c1530 *** empty log message *** 2008-01-03 00:00:05 +00:00
H.J. Lu fc4adea1ba 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (process_suffix): Fix a typo.
2008-01-02 23:55:45 +00:00
Ian Lance Taylor be2f3dec43 Add cast to avoid signed/unsigned warning. 2008-01-02 23:55:37 +00:00
H.J. Lu d978b5be20 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.
2008-01-02 23:54:47 +00:00
Ian Lance Taylor cb29561284 Reduce the number of system calls. Use readv instead of pread. Do
better handling of cached views.
2008-01-02 23:48:49 +00:00
Alan Modra 2745d86e69 daily update 2008-01-02 23:00:06 +00:00
H.J. Lu 582d5eddfe 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.
2008-01-02 21:43:34 +00:00
H.J. Lu 6c7ac64e17 Move 2007 ChangeLog entries to ChangeLog-2007. 2008-01-02 21:41:02 +00:00
Catherine Moore e7c604dd09 * gas/mips/jalr.s: New test.
* gas/mips/jalr.l: New test output.
    * gas/mips/mips.exp: Run new test.
2008-01-02 20:59:47 +00:00
Jan Kratochvil ef29ce1ab3 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
* gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
	New files
2008-01-02 13:36:38 +00:00
Joel Brobecker 0fafefe315 * array_subscript_addr/p.adb: New file.
* array_subscript_addr.exp: New testcase.
2008-01-02 12:06:38 +00:00
Joel Brobecker 0a07e705b7 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
        This is needed to make sure that any other treatment applied
        to the resulting value does not fail for spurious reason,
        such as trying to take the address of this value.
2008-01-02 12:03:06 +00:00
Joel Brobecker c4359f8d00 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
New files.
        * gdb.ada/str_cmp_ref.exp: New testcase.
2008-01-02 11:25:01 +00:00
Joel Brobecker f58b38bf6a * ada-lang.c (ada_value_equal): Dereference reference types when
comparing arrays.
2008-01-02 11:18:03 +00:00
Mark Kettenis 3fe15143a8 * m88k-dis.c (instructions): Fix fcvt.* instructions.
From Miod Vallat.
2008-01-02 00:37:44 +00:00
gdbadmin cb425d1007 *** empty log message *** 2008-01-02 00:00:33 +00:00
Alan Modra f986c652ba daily update 2008-01-01 23:00:06 +00:00
Daniel Jacobowitz 9b254dd1ce Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
Christopher Faylor 33605d3962 * win32-nat.c (psapi_module_handle): Remove static.
(get_module_name): Rename from psapi_get_dll_name.  Revamp slightly to return
first module found if base_address is zero.  Don't initialize psapi function
pointers here.  Convert to cygwin paths when appropriate.
(win32_pid_to_exec_file): Use Cygwin's /proc interface to determine executable
name.  Use get_module_name when that fails or when !__CYGWIN__.
(_initialize_psapi): New function.  Initialize psapi stuff before it is needed
or issue a warning if it is not found.  Move psapi_module_handle here.
2008-01-01 18:42:08 +00:00
Joel Brobecker 1aa1b15b3c * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
gdb.ada/fun_in_declare/foo.adb: New files.
        * gdb.ada/fun_in_declare.exp: New testcase.
2008-01-01 12:43:41 +00:00
Joel Brobecker 29480c32d9 * ada-lang.c (ada_remove_trailing_digits): New function.
(ada_remove_po_subprogram_suffix): New function.
        (ada_decode): Improve. Move the description of the algorithm
        directly inside the code, instead of in the function global
        description.
2008-01-01 12:39:49 +00:00
Joel Brobecker 81c9b2cf53 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
gdb.ada/ref_param/pck.ads: New files.
        * gdb.ada/ref_param.exp: New testcase.
2008-01-01 11:42:53 +00:00
Joel Brobecker 969a136098 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
and always print the dereferenced value.
2008-01-01 11:39:07 +00:00
Joel Brobecker b7789565fa * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
of the case where the first argument is a reference.
        (ada_evaluate_subexp, case BINOP_ADD): Likewise.
2008-01-01 07:38:37 +00:00
Joel Brobecker 319e46745f * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
gdb.ada/interface/foo.adb: New files.
        * gdb.ada/interface.exp: New testcase.
2008-01-01 07:25:45 +00:00
Joel Brobecker 73fb998568 Implement support for Ada interface types.
* ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
        (ada_is_ignored_field): Ignore fields that are a dispatch table
        of a tagged type.
2008-01-01 07:21:59 +00:00
Joel Brobecker 636265b635 * top.c (print_gdb_version): Update copyright year. 2008-01-01 04:27:43 +00:00
Joel Brobecker 9d200a2e61 * ChangeLog-2007: New ChangeLog rotation.
* ChangeLog: Reset for 2008.
        * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
        ChangeLog-2007.
2008-01-01 04:20:42 +00:00
gdbadmin fb82d048d1 *** empty log message *** 2008-01-01 00:00:34 +00:00
Alan Modra 672cc33200 daily update 2007-12-31 23:00:05 +00:00
Jim Blandy ef682c56ef * gdb.base/multi-forks.exp: Consume all output from child
processes before proceeding to next test.
2007-12-31 21:34:48 +00:00
H.J. Lu 992824d50e 2007-12-31 H.J. Lu <hongjiu.lu@intel.com>
PR ld/5530
	* elfxx-ia64.c (elfNN_ia64_relocate_section): Call
	_bfd_elf_find_segment_containing_section with output_bfd,
	instead of input_bfd.
2007-12-31 19:23:07 +00:00
Daniel Jacobowitz b7589f7df4 * remote.c (unpack_nibble): Use fromhex.
* symtab.c (find_line_common): Always set exact_match.
2007-12-31 18:38:43 +00:00
H.J. Lu 4ae6d70300 Fix a typo in ChangeLog. 2007-12-31 16:17:43 +00:00
H.J. Lu 14f13750ff Expect cvtsi2ssl instead of cvtsi2ss. 2007-12-31 16:02:07 +00:00
Daniel Jacobowitz afa3502125 * hppa-linux-nat.c: Use hppa-linux-offsets.h.
* hppa-linux-offsets.h: New file.
2007-12-31 15:49:44 +00:00
H.J. Lu 98b528ac84 gas/testsuite/
2007-12-31  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/i386/inval.s: Add test for cvtsi2ss/cvtsi2sd.
	* gas/i386/simd.s: Likewise.
	* gas/i386/x86-64-simd.s: Likewise.

	* gas/i386/inval.l: Updated.
	* gas/i386/simd-intel.d: Likewise.
	* gas/i386/simd-suffix.d: Likewise.
	* gas/i386/simd.d: Likewise.
	* gas/i386/sse2.d: Likewise.
	* gas/i386/x86-64-opcode.d: Likewise.
	* gas/i386/x86-64-simd-intel.d: Likewise.
	* gas/i386/x86-64-simd-suffix.d: Likewise.
	* gas/i386/x86-64-simd.d: Likewise.

opcodes/

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

	* i386-dis.c (prefix_table): Use "%LQ" on cvtpi2ps/cvtsi2sd.
	(putop): Handle '%' and "LQ".

	* i386-opc.tbl: Remove IgnoreSize from cvtpi2ps/cvtsi2sd.
	* i386-tbl.h: Regenerated.
2007-12-31 15:42:22 +00:00
Nick Clifton 281153f387 * elf-m10300.c (mn10300_elf_relax_section): Use _bfd_merged_section_offset
to compute the offset of a symbol in a merged section.
2007-12-31 11:29:31 +00:00
Nick Clifton e9e9cead3f * ld-elf/flags1.d: Add xfails for ports for which the test will work.
* ld-mn10300/i143317.s: New test - checks linker relaxation when  symbols
  are in a merged section.
* ld-mn10300/i143317.d: Expected disassembly.
* ld-mn10300/i143317.t: Linker map.
* ld-mn10300/mn10300.exp (mn10300_tests): Add the i143317 test.
2007-12-31 11:29:01 +00:00
Nick Clifton 2ea37f1c66 * elf.c (_bfd_elf_find_segment_containing_section): New function:
Scan the segment map looking for the segment containing a
  specified function.
* elf-bfd.h: Prototype the new function.
* elf-hppa.h (elf_hppa_osec_to_segment): Delete.
  (elf_hppa_record_segment_addrs): Use new function.
* elf32-bfin.c (_bfdfdpic_osec_to_segment): Use new function.
* elf32-frv.c (_frvfdpic_osec_to_segment): Use new function.
* elf32-hppa.c (hppa_record_segment_addr): Use new function.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Use new function.
2007-12-31 11:01:54 +00:00