H.J. Lu [Wed, 23 Jan 2008 19:05:12 +0000 (19:05 +0000)]
gas/
2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_show_usage): Replace tabs with spaces.
gas/testsuite/
2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp : Run x86-64-arch-1 and x86-64-arch-10.
* gas/i386/x86-64-arch-1.d: New.
* gas/i386/x86-64-arch-1.s: Likewise.
* gas/i386/x86-64-arch-10.d: Likewise.
opcodes/
2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (cpu_flag_init): Add CpuLM to CPU_GENERIC64_FLAGS.
* i386-init.h: Regenerated.
Eric B. Weddington [Wed, 23 Jan 2008 17:36:23 +0000 (17:36 +0000)]
/gas:
2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
* config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
/include:
2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
* opcode/avr.h (AVR_ISA_RF401): Add new opcode set for at86rf401.
Andreas Schwab [Wed, 23 Jan 2008 16:05:45 +0000 (16:05 +0000)]
* ld-gc/gc.c: Make sure used_func is not inlined.
H.J. Lu [Wed, 23 Jan 2008 14:13:08 +0000 (14:13 +0000)]
2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_show_usage): Show more processors for
-march=/-mtune=.
Vladimir Prus [Wed, 23 Jan 2008 11:26:29 +0000 (11:26 +0000)]
Inform about new thread in a single place.
* thread.c (add_thread_silent): Renamed
from add_thread.
(print_thread_events): New variable definition.
(show_print_thread_events): New function.
(_initialize_thread): Add "set print thread-events" and
"show print thread-events" commands.
(add_thread): Announce new thread.
* gdbthread.h (add_thread_silent): Declare.
(print_thread_events): New variable declaration.
* inf-ttrace.c (inf_ttrace_wait): Don't
inform about new thread, as add_thread is always
called too, and will take care of that.
* infrun.c (handle_inferior_event): Likewise.
* procfs.c (procfs_wait): Likewise.
* remote.c (remote_currthread): Likewise.
* sol-thread.c (sol_thread_wait): Likewise.
* win32-nat.c (get_win32_debug_event): Likewise.
* linux-thread-db.c (attach_thread): Likewise.
Remove the verbose parameter.
(check_event): Make detach_thread be verbose
only if print_thread_events is set.
* linux-nat.c (lin_lwp_attach_lwp): Don't inform
about new thread. This is called only from
linux-thread-db.c:attach_thread, which will take care.
Remove the verbose parameter.
* linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
Tristan Gingold [Wed, 23 Jan 2008 08:57:11 +0000 (08:57 +0000)]
2008-01-23 Tristan Gingold <gingold@adacore.com>
* gas/ia64/regs.d: Updated as the ia64 disassembler now displays
symbolic names for all ar registers.
Tristan Gingold [Wed, 23 Jan 2008 08:53:44 +0000 (08:53 +0000)]
2008-01-23 Tristan Gingold <gingold@adacore.com>
* ia64-dis.c (print_insn_ia64): Display symbolic name of ar.fcr,
ar.eflag, ar.csd, ar.ssd, ar.cflg, ar.fsr, ar.fir and ar.fdr.
Ian Lance Taylor [Wed, 23 Jan 2008 07:15:59 +0000 (07:15 +0000)]
From Cary Coutant: Fix mixing PIC and non-PIC relocs in the same
shared library.
Nick Roberts [Wed, 23 Jan 2008 06:20:57 +0000 (06:20 +0000)]
Add value field to tests for output of -var-set-format.
Nick Roberts [Wed, 23 Jan 2008 06:20:34 +0000 (06:20 +0000)]
Add the variable octal.
Nick Roberts [Wed, 23 Jan 2008 06:19:31 +0000 (06:19 +0000)]
*** empty log message ***
Nick Roberts [Wed, 23 Jan 2008 06:13:44 +0000 (06:13 +0000)]
(mi_cmd_var_set_format): Add value field to output.
Nick Roberts [Wed, 23 Jan 2008 06:13:28 +0000 (06:13 +0000)]
*** empty log message ***
Ben Elliston [Wed, 23 Jan 2008 05:12:47 +0000 (05:12 +0000)]
2008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com>
* cplus-dem.c (demangle_function_name): Changed to return value
indicating if a name was correctly demangled.
(iterate_demangle_function): Use demangle_function_name return
value.
Ben Elliston [Wed, 23 Jan 2008 02:43:51 +0000 (02:43 +0000)]
* config.sub, config.guess: Update from upstream sources.
Ian Lance Taylor [Wed, 23 Jan 2008 02:13:38 +0000 (02:13 +0000)]
Add explicit dependencies on yyscript.h to make sure that it is
built.
Ian Lance Taylor [Wed, 23 Jan 2008 01:31:13 +0000 (01:31 +0000)]
Parse a SECTIONS clause in a linker script.
gdbadmin [Wed, 23 Jan 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Ian Lance Taylor [Tue, 22 Jan 2008 22:50:31 +0000 (22:50 +0000)]
Include <vector>.
Daniel Jacobowitz [Tue, 22 Jan 2008 21:30:02 +0000 (21:30 +0000)]
* gdb.base/float.exp: Allow missing floating point for m68k and
PowerPC.
H.J. Lu [Tue, 22 Jan 2008 19:57:30 +0000 (19:57 +0000)]
gas/
2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (i386_target_format): Remove cpummx2.
gas/testsuite/
2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/arch-10.d: New.
* gas/i386/arch-11.s: Likewise.
* gas/i386/arch-12.d: Likewise.
* gas/i386/arch-12.s: Likewise.
* gas/i386/i386.exp: Run arch-11 and arch-12.
opcodes/
2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (cpu_flag_init): Remove CpuMMX2.
(cpu_flags): Likewise.
* i386-opc.h (CpuMMX2): Removed.
(CpuSSE): Updated.
* i386-opc.tbl: Replace CpuMMX2 with CpuSSE|Cpu3dnowA.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
Vladimir Prus [Tue, 22 Jan 2008 19:43:10 +0000 (19:43 +0000)]
* breakpoint.c (break_command_really): New parameter
ignore_count.
(break_command_1): Pass 0 as
ignore_count to break_command_really.
(gdb_breakpoint): Pass ignore_count to
break_command_really.
H.J. Lu [Tue, 22 Jan 2008 19:36:58 +0000 (19:36 +0000)]
2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
* ld-gc/gc.exp: Use [which $CC] != 0.
H.J. Lu [Tue, 22 Jan 2008 19:16:45 +0000 (19:16 +0000)]
gas/
2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
(XXX_MNEM_SUFFIX): Likewise.
(END_OF_INSN): Likewise.
(templates): Likewise.
(modrm_byte): Likewise.
(rex_byte): Likewise.
(DREX_XXX): Likewise.
(drex_byte): Likewise.
(sib_byte): Likewise.
(processor_type): Likewise.
(arch_entry): Likewise.
(cpu_sub_arch_name): Remove const.
(cpu_arch): Add .vmx and .smx.
(set_cpu_arch): Append cpu_sub_arch_name.
(md_parse_option): Support -march=CPU[,+EXTENSION...].
(md_show_usage): Updated.
* config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
(XXX_MNEM_SUFFIX): Likewise.
(END_OF_INSN): Likewise.
(templates): Likewise.
(modrm_byte): Likewise.
(rex_byte): Likewise.
(DREX_XXX): Likewise.
(drex_byte): Likewise.
(sib_byte): Likewise.
(processor_type): Likewise.
(arch_entry): Likewise.
* doc/as.texinfo: Update i386 -march option.
* doc/c-i386.texi: Update -march= for ISA.
gas/testsuite/
2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/arch-10-1.l: New.
* gas/i386/arch-10-1.s: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-2.s: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-3.s: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/arch-10-4.s: Likewise.
* gas/i386/arch-10.d: Likewise.
* gas/i386/arch-10.s: Likewise.
* gas/i386/i386.exp: Run arch-10, arch-10-1, arch-10-2,
arch-10-3 and arch-10-4.
* gas/i386/nops-2.s: Use movsbl instead of cmove.
* gas/i386/nops-2-i386.d: Updated.
* gas/i386/nops-2-merom.d: Likewise.
* gas/i386/nops-2.d: Likewise.
* gas/i386/x86-64-nops-2.d: Likewise.
opcodes/
2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (cpu_flag_init): Add CPU_VMX_FLAGS and
CPU_SMX_FLAGS.
* i386-init.h: Regenerated.
Kevin Buettner [Tue, 22 Jan 2008 01:17:25 +0000 (01:17 +0000)]
* mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
sigcontext struct via pointer.
(struct sigframe comment): Update to show new field `psc'.
gdbadmin [Tue, 22 Jan 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 21 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update
Vladimir Prus [Mon, 21 Jan 2008 16:34:00 +0000 (16:34 +0000)]
* infrun.c (handle_inferior_event): If
we failed to remove breakpoints, error,
don't try to increment PC by hand.
Alan Modra [Mon, 21 Jan 2008 04:56:47 +0000 (04:56 +0000)]
PR 4453
* format.c (bfd_check_format_matches): Don't accept archives as
fully matching unless they have a map.
Alan Modra [Mon, 21 Jan 2008 03:53:07 +0000 (03:53 +0000)]
* elflink.c (_bfd_elf_link_output_relocs): Correct error return.
Alan Modra [Mon, 21 Jan 2008 03:48:10 +0000 (03:48 +0000)]
* ecoff.c (_bfd_ecoff_archive_p): Delete.
* libecoff.h (_bfd_ecoff_archive_p): Delete.
* coff-alpha.c (ecoffalpha_little_vec): Use bfd_generic_archive_p.
* coff-mips.c (ecoff_little_vec, ecoff_big_vec): Likewise.
(ecoff_biglittle_vec): Likewise.
gdbadmin [Mon, 21 Jan 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 20 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 20 Jan 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 19 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update
Nick Hudson [Sat, 19 Jan 2008 15:03:50 +0000 (15:03 +0000)]
Add NetBSD/hppa target and host support.
* hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
(hppabsd_gregset): Move to ...
(hppabsd_regset_from_core_section): Rename
hppaobsd_regset_from_core_section and move to ...
(hppabsd_find_global_pointer): Update comment.
(hppabsd_init_abi): Make global. Do not register
hppabsd_regset_from_core_section.
(hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
move to ...
(_initialize_hppabsd_tdep): Move to ...
* hppaobsd-tdep.c: ... here. New file.
* hppnbsd-tdep.c: New file.
* hppnbsd-nat.c: New file.
* Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
(ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
(hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
(hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
* configure.host (hppa*-*-netbsd*): New entry.
* configure.tgt (hppa*-*-netbsd*): New entry.
(hppa*-*-openbsd*): Update.
* NEWS (New native configuration): Mention NetBSD/hppa.
(New targets): Mention NetBSD/hppa.
Eli Zaretskii [Sat, 19 Jan 2008 13:37:13 +0000 (13:37 +0000)]
* gdb.texinfo (Specify Location): New section.
(Delete Breaks, Edit, Set Breaks): Remove description of
locations. Instead, add a reference to "Specify Location".
(Machine Code, Jumping, Thread Stops, Continuing and Stepping)
(Symbols): Refer to "Specify Location" for the valid forms of
linespecs and locations.
Alan Modra [Sat, 19 Jan 2008 10:07:25 +0000 (10:07 +0000)]
PR 5646
* elf64-ppc.c (ppc64_elf_tls_optimize): Ensure htab->tls_get_addr
non-NULL before dereferencing.
DJ Delorie [Sat, 19 Jan 2008 01:18:42 +0000 (01:18 +0000)]
merge from gcc
gdbadmin [Sat, 19 Jan 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Ian Lance Taylor [Fri, 18 Jan 2008 23:41:31 +0000 (23:41 +0000)]
From Craig Silverstein: Optionally print command line for easier
debugging.
Ian Lance Taylor [Fri, 18 Jan 2008 23:35:09 +0000 (23:35 +0000)]
From Craig Silverstein: Handle quoted strings differently in version
scripts, and handle extern "C++" in the middle of a block.
Ian Lance Taylor [Fri, 18 Jan 2008 23:26:48 +0000 (23:26 +0000)]
Don't include options.h in fileread.h. Remove General_options
reference from Output_file class.
Alan Modra [Fri, 18 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update
Bob Wilson [Fri, 18 Jan 2008 22:49:38 +0000 (22:49 +0000)]
* scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
changes from elf.sc.
Bob Wilson [Fri, 18 Jan 2008 19:13:48 +0000 (19:13 +0000)]
* config/tc-xtensa.c (xtensa_leb128): New function.
(md_pseudo_table): Use it for sleb128 and uleb128.
(is_leb128_expr): New internal flag.
(xtensa_symbol_new_hook): Check new flag.
Markus Deuling [Fri, 18 Jan 2008 17:07:40 +0000 (17:07 +0000)]
* gdbarch.sh (function_list): Add new property bits_big_endian to
gdbarch structure.
* gdbarch.{c,h}: Regenerate.
* value.c (struct value): Replace BITS_BIG_ENDIAN by
gdbarch_bits_big_endian (comment).
(unpack_field_as_long, modify_field): Likewise.
* value.h: Likewise (comment).
* valops.c (value_slice): Likewise.
* valarith.c (value_subscript, value_bit_index): Likewise.
* gdbtypes.h (field): Likewise (comment).
* eval.c (evaluate_subexp_standard): Likewise.
* dwarf2read.c (dwarf2_add_field): Likewise.
* ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
(move_bits, ada_value_assign, value_assign_to_component): Likewise.
* defs.h (BITS_BIG_ENDIAN): Remove.
* gdbint.texinfo (Target Conditionals): Replace the description of
BITS_BIG_ENDIAN with a description of gdbarch_bits_big_endian.
Markus Deuling [Fri, 18 Jan 2008 09:12:19 +0000 (09:12 +0000)]
* jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
function calls.
* m2-exp.y (yylex): Likewise.
* objc-exp.y (yylex): Likewise.
* defs.h (DEPRECATED_STREQN): Remove.
gdbadmin [Fri, 18 Jan 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Thu, 17 Jan 2008 23:48:20 +0000 (23:48 +0000)]
binutils/
2008-01-17 H.J. Lu <hjl.tools@gmail.com>
* MAINTAINERS: Update my email address.
gdb/
2008-01-17 H.J. Lu <hjl.tools@gmail.com>
* MAINTAINERS: Update my email address.
Alan Modra [Thu, 17 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update
Jim Blandy [Thu, 17 Jan 2008 20:18:48 +0000 (20:18 +0000)]
* README: Mention gdbserver/README.
Pierre Muller [Thu, 17 Jan 2008 19:55:09 +0000 (19:55 +0000)]
* valarith.c (value_binop): Handle BINOP_INTDIV
for unsigned and signed integers.
Ulrich Weigand [Thu, 17 Jan 2008 16:05:41 +0000 (16:05 +0000)]
* s390-tdep.c (s390_gdbarch_init): Set default long double
type to 128-bit IEEE quad.
Pedro Alves [Thu, 17 Jan 2008 14:34:22 +0000 (14:34 +0000)]
* gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
and 'dummy_ptr' integer pointer. Initialize struct_declarations
with dummy_ptr's address.
* gdb.mi/var-cmd.c (do_children_tests): Likewise.
* gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
all targets.
* gdb.mi/mi2-var-child.exp: Likewise.
Joel Brobecker [Thu, 17 Jan 2008 05:51:08 +0000 (05:51 +0000)]
* hpux-thread.c (hpux_thread_resume): Delete commented-out code.
gdbadmin [Thu, 17 Jan 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 16 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Wed, 16 Jan 2008 22:01:42 +0000 (22:01 +0000)]
* common.h (AT_SUN_AUXFLAGS): Define.
Eric B. Weddington [Wed, 16 Jan 2008 17:59:07 +0000 (17:59 +0000)]
/gas:
2008-01-03 Eric B. Weddington <eric.weddington@atmel.com>
* config/tc-avr.c (mcu_types): Change opcode set for avr3,
at90usb82, at90usb162.
* doc/c-avr.texi: Change architecture grouping for at90usb82,
at90usb162.
These changes support the new avr35 architecture group in gcc.
/include:
2008-01-03 Eric B. Weddington <eric.weddington@atmel.com>
* opcode/avr.h (AVR_ISA_USB162): Add new opcode set.
(AVR_ISA_AVR3): Likewise.
Mark Kettenis [Wed, 16 Jan 2008 16:27:37 +0000 (16:27 +0000)]
* auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
Mark Kettenis [Wed, 16 Jan 2008 16:16:44 +0000 (16:16 +0000)]
* dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
* value.c: All callers changed.
Markus Deuling [Wed, 16 Jan 2008 11:21:42 +0000 (11:21 +0000)]
* rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
DEPRECATED_STREQ by its expression.
* coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
* xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
(scan_xcoff_symtab): Likewise.
* hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
* f-lang.c (find_common_for_function): Likewise.
* objc-exp.y (parse_number): Likewise.
* defs.h (DEPRECATED_STREQ): Remove.
Markus Deuling [Wed, 16 Jan 2008 04:56:34 +0000 (04:56 +0000)]
* mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
* mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
get_frame_arch to get at the current_architecture. Update AM33_MODE
call.
(mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
(mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
architecture.
(set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
Markus Deuling [Wed, 16 Jan 2008 04:52:52 +0000 (04:52 +0000)]
* amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
parameter.
* amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
(amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
current_gdbarch by gdbarch. Update caller.
* amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
(amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
the current architecture. Update calls of
amd64_native_gregset_supplies_p.
* amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
(amd64bsd_store_inferior_registers): Likewise.
Markus Deuling [Wed, 16 Jan 2008 04:48:55 +0000 (04:48 +0000)]
* ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
Replace current_gdbarch by gdbarch. Update caller.
Markus Deuling [Wed, 16 Jan 2008 04:43:38 +0000 (04:43 +0000)]
* dbxread.c (repeated_header_complaint, dbx_symfile_init)
(read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
(read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
(dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
(stabsect_build_psymtabs): Fix indentation.
Alan Modra [Wed, 16 Jan 2008 01:29:42 +0000 (01:29 +0000)]
update copyright
Alan Modra [Wed, 16 Jan 2008 01:28:21 +0000 (01:28 +0000)]
* ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
Michael Snyder [Wed, 16 Jan 2008 01:17:24 +0000 (01:17 +0000)]
2008-01-15 Michael Snyder <msnyder@specifix.com>
* corelow.c (core_xfer_partial): Comment, cut/paste error.
Alan Modra [Wed, 16 Jan 2008 00:31:18 +0000 (00:31 +0000)]
* ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
(lang_afile_asection_pair_statement_type): Delete.
(lang_statement_union_type): Delete afile_asection_pair_statement.
* ldlang.c (lang_insert_orphan): Delete case handling the above.
(map_input_to_output_sections, print_statement): Likewise.
H.J. Lu [Wed, 16 Jan 2008 00:05:56 +0000 (00:05 +0000)]
gas/testsuite/
2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/prescott.s: Add tests for movddup in Intel syntax.
* gas/i386/x86-64-prescott.s: Likewise.
* gas/i386/prescott.d: Updated.
* gas/i386/x86-64-prescott.d: Likewise.
opcodes/
2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
* i386-opc.tbl: Use Qword on movddup.
* i386-tbl.h: Regenerated.
gdbadmin [Wed, 16 Jan 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Ian Lance Taylor [Tue, 15 Jan 2008 23:41:28 +0000 (23:41 +0000)]
From Andrew Chatham and Craig Silverstein: Add support for version
scripts.
Kaz Kojima [Tue, 15 Jan 2008 23:05:46 +0000 (23:05 +0000)]
* emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
with __data_start.
* emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
Alan Modra [Tue, 15 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update
H.J. Lu [Tue, 15 Jan 2008 18:50:44 +0000 (18:50 +0000)]
gas/
2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_assemble): Also zap movzx and movsx
suffix for AT&T syntax.
gas/testsuite/
2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.s: Add more tests for movsx and movzx.
* gas/i386/x86_64.s: Likewise.
* gas/i386/inval.s: Remove tests for movsxw and movzxw.
* gas/i386/x86-64-inval.s: Remove tests for movsxb, movsxw,
movsxl, movzxb and movzxw.
* gas/i386/i386.d: Updated.
* gas/i386/inval.l: Likewise.
* gas/i386/x86_64.d: Likewise.
* gas/i386/x86-64-inval.l: Likewise.
opcodes/
2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
* i386-opc.tbl: Put back 16bit movsx/movzx for AT&T syntax.
* i386-tbl.h: Regenerated.
H.J. Lu [Tue, 15 Jan 2008 17:20:50 +0000 (17:20 +0000)]
2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (Mx): New.
(PREFIX_0FC3): Likewise.
(PREFIX_0FC7_REG_6): Updated.
(dis386_twobyte): Use PREFIX_0FC3.
(prefix_table): Add PREFIX_0FC3. Use Mq on movntq and movntsd.
Use Mx on movntps, movntpd, movntdq and movntdqa. Use Md on
movntss.
Alan Modra [Tue, 15 Jan 2008 07:25:49 +0000 (07:25 +0000)]
bfd/
PR 5604
* elf-bfd.h (struct elf_backend_data): Add gc_keep. Remove param
names from others.
(_bfd_elf_gc_keep): Declare.
* elfxx-target.h (elf_backend_gc_keep): Define.
(elfNN_bed): Init new field.
* elflink.c (_bfd_elf_gc_keep): New function.
(bfd_elf_gc_sections): Call gc_keep.
* elf64-ppc.c (elf_backend_gc_keep): Define.
(struct _ppc64_elf_section_data): Move .opd related fields to
a struct so they don't occupy the same storage. Adjust accesses
throughout file.
(ppc64_elf_gc_keep): New function, split out from..
(ppc64_elf_gc_mark_hook): ..here. Don't call _bfd_elf_gc_mark
to mark .opd section, just set gc_mark.
(ppc64_elf_edit_opd): Remove no_opd_opt parm. Don't set opd->adjust
unless we are changing .opd. Test non-NULL opd->adjust at all
accesses throughout file.
* elf64-ppc.h (ppc64_elf_edit_opd): Update prototype.
ld/
PR 5604
* ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
syms to _bfd_elf_gc_keep.
* emultempl/ppc64elf.em (ppc_before_allocation): Don't call
ppc64_elf_edit_opd if no_opd_opt.
H.J. Lu [Tue, 15 Jan 2008 01:37:56 +0000 (01:37 +0000)]
gas/
2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_reg_size): New.
(match_mem_size): Likewise.
(operand_size_match): Likewise.
(operand_type_match): Also clear all size fields.
(match_template): Skip Intel syntax when in AT&T syntax.
Call operand_size_match to check operand size.
(i386_att_operand): Set the mem field to 1 for memory
operand.
(i386_intel_operand): Likewise.
gas/testsuite/
2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.s: Add tests for movsx, movzx and movnti.
* gas/i386/inval.s: Likewise.
* gas/i386/x86_64.s: Likewise.
* gas/i386/x86-64-inval.s: Likewise.
* gas/i386/i386.d: Updated.
* gas/i386/inval.l: Likewise.
* gas/i386/x86_64.d: Likewise.
* gas/i386/x86-64-inval.l: Likewise.
opcodes/
2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (opcode_modifiers): Add IntelSyntax.
(operand_types): Add Mem.
* i386-opc.h (IntelSyntax): New.
* i386-opc.h (Mem): New.
(Byte): Updated.
(Opcode_Modifier_Max): Updated.
(i386_opcode_modifier): Add intelsyntax.
(i386_operand_type): Add mem.
* i386-opc.tbl: Remove Reg16 from movnti. Add sizes to more
instructions.
* i386-reg.tbl: Add size for accumulator.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
Alan Modra [Tue, 15 Jan 2008 00:54:22 +0000 (00:54 +0000)]
* bfd-in.h (BFD_HOST_LONG_LONG): Delete.
* bfd-in2.h: Regenerate.
gdbadmin [Tue, 15 Jan 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 14 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update
Hans-Peter Nilsson [Mon, 14 Jan 2008 19:52:43 +0000 (19:52 +0000)]
* ld-gc/gc.exp (test_gc): Let missing C compiler make tests
"untested" instead of "failed".
Nick Clifton [Mon, 14 Jan 2008 14:53:47 +0000 (14:53 +0000)]
(DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
when the .debug_info section could not be loaded/parsed.
(process_debug_info): Display the length of the compilation unit
in hex, so that it corresponds with the offsets that will follow.
Tell the user if the length was 32-bit or 64-bit.
If a DIE abbreviation could not be found, tell the user the offset
of the DIE.
(free_debug_memory): Do not attempt to free any entries in the
debug_information array if num_debug_info_entries is set to
DEBUG_INFO_UNAVAILABLE.
Nick Clifton [Mon, 14 Jan 2008 12:26:57 +0000 (12:26 +0000)]
* dwarf.c (process_debug_info): Include the CU offset and corrupt
version value when reporting unrecognised DWARF version numbers.
(load_debug_info): Remember a failed attempt to load and parse the
.debug_info section and do not repeat such attempts.
(display_debug_lines): Check the return value from load_debug_info
and return whilst displaying a warning message if the load failed.
(display_debug_loc): Likewise.
(display_debug_ranges): Likewise.
Pierre Muller [Mon, 14 Jan 2008 08:01:15 +0000 (08:01 +0000)]
* win32-nat.c (win32_create_inferior): Restore code calling
CloseHandle on ProcessInformation structure.
H.J. Lu [Mon, 14 Jan 2008 05:15:06 +0000 (05:15 +0000)]
2008-01-13 H.J. Lu <hongjiu.lu@intel.com>
* i386-opc.h (Byte): Fix a typo.
gdbadmin [Mon, 14 Jan 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 13 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update
Nick Hudson [Sun, 13 Jan 2008 12:23:05 +0000 (12:23 +0000)]
* configure.ac: Check for void * as 3 argument of ptrace.
* configure: regenerate.
gdbadmin [Sun, 13 Jan 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 12 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update
H.J. Lu [Sat, 12 Jan 2008 16:05:42 +0000 (16:05 +0000)]
gas/testsuite/
2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* gas/i386/i386.s: Add tests for fnstsw and fstsw.
* gas/i386/inval.s: Likewise.
* gas/i386/x86_64.s: Likewise.
* gas/i386/intel.s: Use word instead of dword on ss.
* gas/i386/x86-64-inval.s: Add tests for fnstsw, fstsw, in
and out.
* gas/i386/prefix.s: Remove invalid fstsw.
* gas/i386/inval.l: Updated.
* gas/i386/intelbad.l: Likewise.
* gas/i386/i386.d: Likewise.
* gas/i386/x86_64.d: Likewise.
* gas/i386/x86-64-inval.l: Likewise.
* gas/i386/prefix.d: Updated.
gas/
2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* config/tc-i386.c (_i386_insn): Update comment.
(operand_type_match): Also clear unspecified.
(operand_type_register_match): Likewise.
(parse_operands): Initialize unspecified.
(i386_intel_operand): Likewise.
(match_template): Check memory and accumulator operand size.
(i386_att_operand): Clear unspecified on register operand.
(intel_e11): Likewise.
(intel_e09): Set operand size and clean unspecified for
"XXX PTR".
opcodes/
2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* i386-gen.c (operand_type_init): Add Dword to
OPERAND_TYPE_ACC32. Add Qword to OPERAND_TYPE_ACC64.
(opcode_modifiers): Remove CheckSize, Byte, Word, Dword,
Qword and Xmmword.
(operand_types): Add Byte, Word, Dword, Fword, Qword, Tbyte,
Xmmword, Unspecified and Anysize.
(set_bitfield): Make Mmword an alias of Qword. Make Oword
an alias of Xmmword.
* i386-opc.h (CheckSize): Removed.
(Byte): Updated.
(Word): Likewise.
(Dword): Likewise.
(Qword): Likewise.
(Xmmword): Likewise.
(FWait): Updated.
(OTMax): Likewise.
(i386_opcode_modifier): Remove checksize, byte, word, dword,
qword and xmmword.
(Fword): New.
(TBYTE): Likewise.
(Unspecified): Likewise.
(Anysize): Likewise.
(i386_operand_type): Add byte, word, dword, fword, qword,
tbyte xmmword, unspecified and anysize.
* i386-opc.tbl: Updated to use Byte, Word, Dword, Fword, Qword,
Tbyte, Xmmword, Unspecified and Anysize.
* i386-reg.tbl: Add size for accumulator.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
Joel Brobecker [Sat, 12 Jan 2008 08:36:10 +0000 (08:36 +0000)]
* gdb.texinfo (C Operators): Remove incorrect parenthetical comment
about &&var, which is rejected by the expression parser.
gdbadmin [Sat, 12 Jan 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 11 Jan 2008 23:00:10 +0000 (23:00 +0000)]
daily update
Andreas Schwab [Fri, 11 Jan 2008 16:18:43 +0000 (16:18 +0000)]
* read.c (s_space): Declare `repeat' as offsetT.
Markus Deuling [Fri, 11 Jan 2008 14:43:15 +0000 (14:43 +0000)]
* alpha-tdep.c (alpha_heuristic_proc_start)
(alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
current_gdbarch by gdbarch.
(alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
current architecture by frame_info. Update alpha_heuristic_proc_start
call.
(alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
get_frame_arch to get at the current architecture by frame_info. Update
alpha_sigtramp_register_address call.
* arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
current_gdbarch by gdbarch. Update caller.
(convert_to_extended, convert_from_extended): Add endianess parameter
for comparison. Update caller.
(arm_extract_return_value, arm_store_return_value): Use
get_regcache_arch to get at the current architecture.
* cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
current_gdbarch by gdbarch. Update caller.
(cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
* h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
gdbarch as parameter. Update caller.
(h8300_init_frame_cache): Add gdbarch as parameter. Replace
current_gdbarch by gdbarch. Update caller.
* hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
update caller. Replace current_gdbarch by gdbarch.
* m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
the current architecture. Replace current_gdbarch by gdbarch.
* m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
(STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
expression. Add gdbarch as parameter and replace current_gdbarch with
it. Update caller.
(M6811_TDEP): Remove.
(m68hc11_frame_prev_register): Use get_frame_arch to get at the current
architecture.
(m68hc11_scan_prologue): Add gdbarch as parameter. Replace
current_gdbarch by gdbarch. Update caller.
* m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
update caller.
(m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
by gdbarch.
* rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
caller. Relace current_gdbarch by gdbarch.
(altivec_register_p, spe_register_p): Likewise.
* ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
parameter.
* ppc-linux-nat.c (fetch_register, store_register): Update caller of
altivec_register_p and spe_register_p.
* score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
caller. Replace current_gdbarch by gdbarch.
(score_analyze_prologue): use get_frame_arch to get at the current
architecture.
* sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
* sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
current_gdbarch by gdbarch. Update caller.
(sparc_frame_cache): Use get_frame_arch to get at the current
architecture.
* sparce64-tdep.c (sparc64_skip_prologue): Update call of
sparc_analyze_prologue.
* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
parameter.
Markus Deuling [Fri, 11 Jan 2008 13:34:15 +0000 (13:34 +0000)]
* exec.c: #include "arch-utils.h"
(print_section_info): Use gdbarch_from_bfd to get at the
current architecture. Replace current_gdbarch. Fix indention.
Replace deprecated_print_address_numeric by paddress.
* Makefile.in (exec.o) Add dependency to arch-utils.h.
* valprint.c (val_print_string): Replace
deprecated_print_address_numeric.
* tracepoint.c (trace_mention, scope_info): Likewise.
* symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
(print_symbol, print_partial_symbols, maintenance_info_psymtabs)
(maintenance_check_symtabs): Likewise.
* symfile.c (list_overlays_command): Likewise.
* stack.c (frame_info, print_block_frame_labels): Likewise.
* printcmd.c (print_address, print_address_demangle)
(address_info): Likewise.
* corefile.c (memory_error): Likewise.
* infcmd.c (jump_command): Likewise.
* breakpoint.c (insert_bp_location, describe_other_breakpoints)
(mention, delete_breakpoint): Likewise.
* c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
* dwarf2read.c (dump_die): Likewise.
* ada-valprint.c (ada_val_print_1): Likewise.
* f-valprint.c (f_val_print): Likewise.
* linux-fork.c (info_forks_command): Likewise.
* m32r-com.c (m32r_load_section, m32r_load)
(m32r_upload_command): Likewise.
* ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.