Commit graph

56597 commits

Author SHA1 Message Date
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
gdbadmin
4d21221c08 *** empty log message *** 2007-12-31 00:00:03 +00:00
Alan Modra
b198fbe692 daily update 2007-12-30 23:00:05 +00:00
Pedro Alves
fd39ac051a * configure.tgt (*-*-mingw32ce*): Set gdb_osabi to
GDB_OSABI_WINCE.
	(*-*-mingw* | *-*-cygwin*): Set gdb_osabi to GDB_OSABI_CYGWIN.
2007-12-30 22:13:55 +00:00
gdbadmin
5a018c1a5f *** empty log message *** 2007-12-30 00:00:33 +00:00
Alan Modra
3f5ccab567 daily update 2007-12-29 23:00:06 +00:00
H.J. Lu
1557f12029 Remove extra whitespace. 2007-12-29 17:37:57 +00:00
Mark Kettenis
70f13f6b00 * i386nbsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h"
(sigtramp_retcode, i386nbsd_sigtramp_offset, i386nbsd_sigtramp_p):
Remove
(i386nbsd_mc_reg_offset): New array.
(i386nbsd_sigtramp_cache_init): New function.
(i386nbsd_sigtramp_sc16, i386nbsd_sigtramp_sc2, i386nbsd_sigtramp_si2)
(i386nbsd_sigtramp_si31, i386nbsd_sigtramp_si4): New signal trampoline
frame descriptions.
(i386nbsd_init_abi): Override ABI sigcontext defaults and register
new signal frame unwinders
* Makefile.in (i386nbsd-tdep.o): Update dependencies.
* tramp-frame.h (struct tramp_frame): Allow for 48 instructions
2007-12-29 17:01:41 +00:00
H.J. Lu
ba104c838a 2007-12-29 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_show_usage): Add -mmnemonic, -msyntax,
	-mindex-reg, -mnaked-reg and -mold-gcc.
2007-12-29 14:15:20 +00:00
Jim Blandy
f6f3eb6ccf * configure: Regenerated. 2007-12-29 14:01:30 +00:00
Joel Brobecker
6b69afc449 * ada-lang.c (_initialize_ada_language): Attach executable_changed
observer.
2007-12-29 05:37:25 +00:00
Dave Anglin
17b939cdc8 * gas/all/gas.exp: Skip relax test on hppa*-*-hpux*. 2007-12-29 01:57:08 +00:00
Dave Anglin
d68aa3e6e8 PR binutils/5146
* elf64-hppa.c: Declare alloca when __GNUC__ is defined.
	* som.c: Likewise.
2007-12-29 01:36:40 +00:00
gdbadmin
548a34edb3 *** empty log message *** 2007-12-29 00:00:33 +00:00
Dave Anglin
7ae8e4e805 * elf-hppa.h (elf_hppa_osec_to_segment): New function.
(elf_hppa_record_segment_addrs): Use elf_hppa_osec_to_segment.
	Remove ATTRIBUTE_UNUSED from abfd argument.
	* elf32-hppa.c (hppa_record_segment_addr): Likewise.
2007-12-28 23:43:45 +00:00
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