OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
15 years ago * arm-tdep.c (arm_pc_is_thumb): Use obj_section_addr.
palves [Thu, 21 Aug 2008 13:19:17 +0000 (13:19 +0000)]
* arm-tdep.c (arm_pc_is_thumb): Use obj_section_addr.
* hppa-hpux-tdep.c (hppa_hpux_find_dummy_bpaddr): Likewise.
* hppa-linux-tdep.c (hppa_linux_find_global_pointer): Use
obj_section_addr and obj_section_endaddr.
* hppa-tdep.c (hppa64_convert_code_addr_to_fptr): Likewise.
* hppabsd-tdep.c (hppabsd_find_global_pointer): Likewise.
* ia64-tdep.c (ia64_find_global_pointer): Likewise.
(find_extant_func_descr): Likewise.
* solib-frv.c (frv_relocate_main_executable): Use
obj_section_addr.
* xstormy16-tdep.c (xstormy16_find_jmp_table_entry): Use
obj_section_addr and obj_section_endaddr.

15 years ago PR ld/6833
jkratoch [Thu, 21 Aug 2008 13:10:54 +0000 (13:10 +0000)]
PR ld/6833
* ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Do not align
EXPLD.DATASEG.MIN_BASE.
* ldlang.c (lang_size_sections): New variable OLD_BASE.  Rename
OLD_MIN_BASE to MIN_BASE with the former alignment from `ldexp.c'.
Use OLD_BASE now for the minimal base check after the base decrease by
the maximum alignment found.

15 years ago* gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
kettenis [Thu, 21 Aug 2008 11:36:38 +0000 (11:36 +0000)]
* gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
expect to find it in the "info frame" output.

15 years agoAmplify last NEWS entry about boolean types in Ada, and add
hilfingr [Thu, 21 Aug 2008 09:05:31 +0000 (09:05 +0000)]
Amplify last NEWS entry about boolean types in Ada, and add
corresponding description of treatment of True and false to gdb.texinfo.

15 years ago2008-08-20 Craig Silverstein <csilvers@google.com>
csilvers [Thu, 21 Aug 2008 00:30:13 +0000 (00:30 +0000)]
2008-08-20  Craig Silverstein  <csilvers@google.com>

* fileread.cc (File_read::open): Do not lock the file unless it
was successfully opened.

15 years agodaily update
amodra [Thu, 21 Aug 2008 00:00:11 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Thu, 21 Aug 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years agoCommit file that I accidentally omitted from my change to support TLS on Xtensa.
bwilson [Wed, 20 Aug 2008 23:43:41 +0000 (23:43 +0000)]
Commit file that I accidentally omitted from my change to support TLS on Xtensa.

15 years ago2008-08-20 Bob Wilson <bob.wilson@acm.org>
bwilson [Wed, 20 Aug 2008 23:38:38 +0000 (23:38 +0000)]
2008-08-20  Bob Wilson  <bob.wilson@acm.org>
        * gas/all/gas.exp: Expect the redef test to fail on Xtensa.

15 years ago2008-08-20 Bob Wilson <bob.wilson@acm.org>
bwilson [Wed, 20 Aug 2008 23:28:57 +0000 (23:28 +0000)]
2008-08-20  Bob Wilson  <bob.wilson@acm.org>
bfd/
        * elf-bfd.h (elf_object_id): Add XTENSA_ELF_TDATA.
        * elf32-xtensa.c (elf_howto_table): Add TLS relocations.
        (elf_xtensa_reloc_type_lookup): Likewise.
        (TCB_SIZE): Define.
        (elf_xtensa_link_hash_entry): New.
        (GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE, GOT_TLS_ANY): Define.
        (elf_xtensa_hash_entry): Define.
        (elf_xtensa_obj_tdata): New.
        (elf_xtensa_tdata): Define.
        (elf_xtensa_local_got_tls_type): Define.
        (elf_xtensa_local_tlsfunc_refcounts): Define.
        (is_xtensa_elf): Define.
        (elf_xtensa_mkobject): New.
        (elf_xtensa_link_hash_table): Add tlsbase field.
        (elf_xtensa_link_hash_newfunc): New.
        (elf_xtensa_link_hash_table_create): Use elf_xtensa_link_hash_newfunc.
        Create an entry for "_TLS_MODULE_BASE_" and save it in tlsbase field.
        (elf_xtensa_copy_indirect_symbol): New.
        (elf_xtensa_check_relocs): Rewrite to handle TLS relocations.
        (elf_xtensa_gc_sweep_hook): Likewise.
        (elf_xtensa_allocate_dynrelocs): Optimize away GOT entries for
        TLSDESC_FN relocations when an IE reference is seen.
        (elf_xtensa_allocate_local_got_size): Likewise.
        (elf_xtensa_always_size_sections): New.
        (dtpoff_base, tpoff): New.
        (elf_xtensa_do_reloc): Handle TLS relocations.
        (replace_tls_insn): New.
        (IS_XTENSA_TLS_RELOC): Define.
        (elf_xtensa_relocate_section): Handle TLS relocations.
        (get_indirect_call_dest_reg): New.
        (bfd_elf32_mkobject): Define.
        (elf_backend_always_size_sections): New.
        (elf_backend_copy_indirect_symbol): New.
        * reloc.c (BFD_RELOC_XTENSA_TLSDESC_FN, BFD_RELOC_XTENSA_TLSDESC_ARG)
        (BFD_RELOC_XTENSA_TLS_DTPOFF, BFD_RELOC_XTENSA_TLS_TPOFF)
        (BFD_RELOC_XTENSA_TLS_FUNC, BFD_RELOC_XTENSA_TLS_ARG)
        (BFD_RELOC_XTENSA_TLS_CALL): New.
        * bfd-in2.h: Regenerate.
        * libbfd.h: Regenerate.
gas/
        * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
        (O_tpoff, O_dtpoff): Define.
        (suffix_relocs): Add entries for TLS suffixes.
        (xtensa_elf_cons): Check for invalid use of TLS relocations.
        (map_operator_to_reloc): Add is_literal parameter and use it to
        control translating TLS instruction relocations to the corresponding
        literal relocations.
        (xg_valid_literal_expression): Allow TLS operators.
        (xg_build_to_insn): Copy TLS operators from pseudo-instruction
        operands to generated literals.
        (xg_assemble_literal): Handle TLS operators.  Update call to
        map_operator_to_reloc.
        (md_assemble): Handle CALLXn.TLS pseudo-instruction.
        (md_apply_fix): Handle TLS relocations.
        (emit_single_op): Handle TLS operators.
        (convert_frag_immed): Update call to map_operator_to_reloc.
        (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
        * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
        * config/xtensa-relax.c (append_literal_op): Add src_op parameter
        to initialize the op_data field of the BuildOp.
        (build_transition): Use it here to record the source operand
        corresponding to a generated literal.
        * config/xtensa-relax.h (build_op): Comment op_data use for literals.
include/elf/
        * xtensa.h (R_XTENSA_TLSDESC_FN, R_XTENSA_TLSDESC_ARG)
        (R_XTENSA_TLS_DTPOFF, R_XTENSA_TLS_TPOFF, R_XTENSA_TLS_FUNC)
        (R_XTENSA_TLS_ARG, R_XTENSA_TLS_CALL): New.
ld/testsuite/
        * ld-xtensa/tlsbin.dd, ld-xtensa/tlsbin.rd, ld-xtensa/tlsbin.s,
        ld-xtensa/tlsbin.sd, ld-xtensa/tlsbin.td, ld-xtensa/tlslib.s,
        ld-xtensa/tlspic.dd, ld-xtensa/tlspic.rd, ld-xtensa/tlspic.sd,
        ld-xtensa/tlspic.td, ld-xtensa/tlspic1.s, ld-xtensa/tlspic2.s: New.
        * ld-xtensa/xtensa.exp: Run them.

16 years ago * dwarf2read.c (die_specification, dwarf2_extension, follow_die_ref):
drow [Wed, 20 Aug 2008 20:37:57 +0000 (20:37 +0000)]
* dwarf2read.c (die_specification, dwarf2_extension, follow_die_ref):
Make the dwarf2_cu * parameter output as well as input.  Update it if
we follow a reference to another CU.
(read_func_scope, determine_class_name, namespace_name, dwarf2_attr)
(die_type, die_containing_type): Update calls to changed functions.
Use the returned CU along with the returned DIE.
(read_namespace): Use dwarf2_attr instead of dwarf2_extension.

16 years ago * dwarf2read.c (queue_comp_unit): Take an objfile argument. Read
drow [Wed, 20 Aug 2008 20:31:49 +0000 (20:31 +0000)]
* dwarf2read.c (queue_comp_unit): Take an objfile argument.  Read
in the DIEs here.
(process_queue): Do not read in the DIEs here.
(psymtab_to_symtab_1): Update call to queue_comp_unit.
(read_full_die): Do not call queue_comp_unit from here.
(maybe_queue_comp_unit): New function.
(follow_die_ref): Use it.

16 years ago * dwarf2read.c (struct attribute): Move earlier.
drow [Wed, 20 Aug 2008 20:12:24 +0000 (20:12 +0000)]
* dwarf2read.c (struct attribute): Move earlier.
(struct die_info): Change attrs to a trailing array.
(dwarf_alloc_die): Take the number of attributes.  Allocate space
for them.
(read_full_die): Update call to dwarf_alloc_die.  Do not manually
allocate attributes.

16 years ago * dwarf2read.c (REF_HASH_SIZE): Delete.
drow [Wed, 20 Aug 2008 19:50:54 +0000 (19:50 +0000)]
* dwarf2read.c (REF_HASH_SIZE): Delete.
(struct dwarf2_cu): Replace die_ref_table with die_hash.
(struct die_info): Remove next_ref.
(store_in_ref_table): Remove offset argument.  Rewrite to use
htab_find_slot_with_hash.
(die_hash, die_eq): New.
(read_comp_unit): Allocate the die_hash.
(read_die_and_children): Update call to store_die_ref.
(follow_die_ref): Rewrite to use htab_find_with_hash.

16 years ago * dwarf2read.c (free_die_list, copy_die): Delete.
drow [Wed, 20 Aug 2008 19:39:10 +0000 (19:39 +0000)]
* dwarf2read.c (free_die_list, copy_die): Delete.
(dwarf_alloc_die): Take a CU argument.  Allocate the new DIE
on the obstack.
(read_full_die): Update call to dwarf_alloc_die.  Allocate
attributes on the CU obstack.
(free_one_comp_unit): Do not call free_die_list.

16 years ago * dwarf2read.c (read_die_and_children): Ignore NULL DIEs.
drow [Wed, 20 Aug 2008 19:27:58 +0000 (19:27 +0000)]
* dwarf2read.c (read_die_and_children): Ignore NULL DIEs.
(read_die_and_siblings): Likewise.  Do not add padding DIEs to the
sibling list.
(read_full_die): Do not allocate DIEs for abbrev 0.
(follow_die_ref): Correct error message.

16 years ago * gdb.base/interp.exp: Always consume both prompts.
drow [Wed, 20 Aug 2008 18:55:56 +0000 (18:55 +0000)]
* gdb.base/interp.exp: Always consume both prompts.

16 years agoAdd the missing ChangeLog entry for the AES + AVX checkin.
hjl [Wed, 20 Aug 2008 18:48:09 +0000 (18:48 +0000)]
Add the missing ChangeLog entry for the AES + AVX checkin.

16 years agogas/
hjl [Wed, 20 Aug 2008 18:38:39 +0000 (18:38 +0000)]
gas/

2008-08-20  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (August, 2008)
* config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
(CPU_FLAGS_AVX_MATCH): Likewise.
(CPU_FLAGS_32BIT_MATCH): Updated.
(cpu_flags_match): Likewise.

gas/testsuite/

2008-08-20  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (August, 2008)
* gas/i386/avx.s: Add AES + AVX tests.
* gas/i386/arch-10.s: Likewise.
* gas/i386/sse2avx.s: Likewise.
* gas/i386/x86-64-arch-2.s: Likewise.
* gas/i386/x86-64-avx.s: Likewise.
* gas/i386/x86-64-sse2avx.s: Likewise.

* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/avx.d: Likewise.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/sse2avx.d: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.
* gas/i386/x86-64-sse2avx.d: Likewise.

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

* gas/i386/arch-avx-1.d: New.
* gas/i386/arch-avx-1.s: Likewise.
* gas/i386/arch-avx-1-1.l: Likewise.
* gas/i386/arch-avx-1-1.s: Likewise.
* gas/i386/arch-avx-1-2.l: Likewise.
* gas/i386/arch-avx-1-2.s: Likewise.

opcodes/

2008-08-20  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (August, 2008)
* i386-dis.c (PREFIX_VEX_38DB): New.
(PREFIX_VEX_38DC): Likewise.
(PREFIX_VEX_38DD): Likewise.
(PREFIX_VEX_38DE): Likewise.
(PREFIX_VEX_38DF): Likewise.
(PREFIX_VEX_3ADF): Likewise.
(VEX_LEN_38DB_P_2): Likewise.
(VEX_LEN_38DC_P_2): Likewise.
(VEX_LEN_38DD_P_2): Likewise.
(VEX_LEN_38DE_P_2): Likewise.
(VEX_LEN_38DF_P_2): Likewise.
(VEX_LEN_3ADF_P_2): Likewise.
(PREFIX_VEX_3A04): Updated.
(VEX_LEN_3A06_P_2): Likewise.
(prefix_table): Add PREFIX_VEX_38DB, PREFIX_VEX_38DC,
PREFIX_VEX_38DD, PREFIX_VEX_38DE and PREFIX_VEX_3ADF.
(x86_64_table): Likewise.
(vex_len_table): Add VEX_LEN_38DB_P_2, VEX_LEN_38DC_P_2,
VEX_LEN_38DD_P_2, VEX_LEN_38DE_P_2, VEX_LEN_38DF_P_2 and
VEX_LEN_3ADF_P_2.

* i386-opc.tbl: Add AES + AVX instructions.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

16 years ago PR 6848
amodra [Wed, 20 Aug 2008 13:43:31 +0000 (13:43 +0000)]
PR 6848
* write.c (install_reloc): Check that reloc symbols have been
written.
(set_symtab): Mark symbols with BSF_KEEP.

16 years ago gdb/
palves [Wed, 20 Aug 2008 11:47:57 +0000 (11:47 +0000)]
gdb/
* linespec.c (symtab_from_filename): Also throw NOT_FOUND_ERROR if
there are no symbols loaded, instead of throwing a generic error.
(decode_variable): Likewise.

gdb/testsuite/
* gdb.base/pending.exp: Test pending breakpoints without symbols
loaded.

16 years ago * objfiles.h (struct obj_section): Remove addr and endaddr fields.
palves [Wed, 20 Aug 2008 11:21:44 +0000 (11:21 +0000)]
* objfiles.h (struct obj_section): Remove addr and endaddr fields.
(obj_section_offset, obj_section_addr, obj_section_endaddr): New
macros.
* objfiles.c (add_to_objfile_sections): Don't set addr, endaddr
and offset.  Use size_t instead of unsigned long.
(build_objfile_section_table): Use size_t instead of unsigned
long.
(objfile_relocate): Don't relocate s->addr and s->endaddr, they're
gone.
(find_pc_sect_section): Use obj_section_addr and
obj_section_endaddr.
* symfile.c (symfile.c): Remove code that maps sections
offsets in "addr" to the object's sections.
* blockframe.c (find_pc_partial_function): Use obj_section_endaddr.
* gcore.c (gcore_create_callback): Use obj_section_addr and
obj_section_endaddr.
* maint.c (print_objfile_section_info): Likewise.
* printcmd.c (sym_info): Use obj_section_addr and
obj_section_endaddr.
* symtab.c (fixup_section): Likewise.

16 years ago * path.cc (symlink_info::check_shortcut): If file can't be opened,
corinna [Wed, 20 Aug 2008 10:53:54 +0000 (10:53 +0000)]
* path.cc (symlink_info::check_shortcut): If file can't be opened,
treat it as non-symlink rather than generating an EIO error.
(symlink_info::check_sysfile): Ditto.

16 years ago* Makefile.in: Remove page break; OpenBSD make chokes on them.
kettenis [Wed, 20 Aug 2008 10:18:23 +0000 (10:18 +0000)]
* Makefile.in: Remove page break; OpenBSD make chokes on them.

16 years ago* sparc-tdep.c: Make some comments catch up with reality.
kettenis [Wed, 20 Aug 2008 09:43:15 +0000 (09:43 +0000)]
* sparc-tdep.c: Make some comments catch up with reality.

16 years ago * NEWS: Mention 'set target-async'
vprus [Wed, 20 Aug 2008 04:58:32 +0000 (04:58 +0000)]
* NEWS: Mention 'set target-async'

16 years ago * gdb.textinfo (GDB/MI Miscellaneous Commands): Use @table
vprus [Wed, 20 Aug 2008 04:57:32 +0000 (04:57 +0000)]
    * gdb.textinfo (GDB/MI Miscellaneous Commands): Use @table
        for possible features of -list-features.

16 years ago2008-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Wed, 20 Aug 2008 02:30:04 +0000 (02:30 +0000)]
2008-08-19  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/wtsapi32.h (_WTS_INFO_CLASS, _WTS_CONNECTSTATE_CLASS,
        WTSQuerySessionInformation, WTSFreeMemory): Define.

16 years ago* fhandler.cc (fhandler_base::wait_overlapped): Always assume that bytes will
cgf [Wed, 20 Aug 2008 02:25:05 +0000 (02:25 +0000)]
* fhandler.cc (fhandler_base::wait_overlapped): Always assume that bytes will
be non-NULL.  Distinguish input result from result derived from WFMO and
GetOverlappedResult or res can never be -1.  Only raise SIGPIPE when writing.
* fhandler.h (fhandler_base::wait_overlapped): Pass first argument by value.
* fhandler_fifo.cc (fhandler_fifo::wait): Pass in dummy byte count to
wait_overlapped.
* pipe.cc (DEFAULT_PIPEBUFSIZE): Define to 65536 explicitly.

16 years ago*** empty log message ***
gdbadmin [Wed, 20 Aug 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Wed, 20 Aug 2008 00:00:08 +0000 (00:00 +0000)]
daily update

16 years ago * lib/mi-support.exp (mi_expect_stop): Produce
vprus [Tue, 19 Aug 2008 14:13:29 +0000 (14:13 +0000)]
* lib/mi-support.exp (mi_expect_stop): Produce
more details on failures.
* gdb.mi/mi-nonstop.exp: New.
* gdb.mi/non-stop.c: New.

16 years ago * infrun.c (resume): If the thread is placed to the deferred step
vprus [Tue, 19 Aug 2008 13:57:25 +0000 (13:57 +0000)]
* infrun.c (resume): If the thread is placed to the deferred step
        queue, mark it as running.

16 years ago Make sure target supports non-stop.
vprus [Tue, 19 Aug 2008 13:22:14 +0000 (13:22 +0000)]
Make sure target supports non-stop.
        * infcmd.c (run_command_1, attach_command): If non-stop mode
        is requested, verify the target supports it.
        * linux-nat.c (linux_nat_supports_non_stop): New.
        (linux_nat_add_target): Register the above.
        * target.c (find_default_supports_non_stop)
        (target_supports_non_stop): New.
        (init_dummy_target): Register find_default_supports_non_stop.
        * target.h (struct target_ops): New field to_supports_non_stop.
        (target_supports_non_stop): New.

16 years ago * target.c (target_async_permitted, target_async_permitted_1)
vprus [Tue, 19 Aug 2008 13:05:01 +0000 (13:05 +0000)]
* target.c (target_async_permitted, target_async_permitted_1)
        (set_maintenance_target_async_permitted)
        (show_maintenance_target_async_permitted): New.
        (initialize_targets): Register 'set target-async'.
        * target.h (target_async_permitted): Declare.
        * linux-nat.c (linux_nat_async_enabled)
        (linux_nat_async_permitted, set_maintenance_linux_async_permitted)
        (show_maintenance_linux_async_permitted): Remove.
        (sigchld_handler, linux_nat_is_async_p, linux_nat_can_async_p)
        (get_pending_events, linux_nat_async): Use target_async_permitted.
        (linux_nat_set_async_mode): Remove, moving the only used bits
        into...
        (linux_nat_setup_async): This.
        (_initialize_linux_nat): Do not register 'maint set linux-async'.
        Use linux_nat_setup_async.
        * remote.c (remote_async_permitted, remote_async_permitted_set)
        (set_maintenance_remote_async_permitted)
        (show_maintenance_remote_async_permitted): Remove.
        (remote_open_1, remote_terminal_inferior, remote_can_async_p)
        (remote_is_async_p): Use target_async_permitted.
        (_initialize_remote): Don't register 'main set remote-async'.
        * mi/mi-cmds.c (mi_cmds): Register -list-target-features.
        * mi/mi-cmds.h (mi_cmd_list_target_features): New.
        * mi/mi-main.c (mi_cmd_list_target_features): New.

16 years ago * target.c (maybe_kill_then_attach)
vprus [Tue, 19 Aug 2008 12:49:18 +0000 (12:49 +0000)]
* target.c (maybe_kill_then_attach)
        (maybe_kill_then_create_inferior): Remove.
        (update_current_target): Do not default to_attach,
        to_create_inferiour, to_is_async_p.

16 years ago * doc/gdb.texinfo (PowerPC): Fix typo.
vprus [Tue, 19 Aug 2008 12:31:35 +0000 (12:31 +0000)]
* doc/gdb.texinfo (PowerPC): Fix typo.
(PowerPC features): Fix typo.

16 years agoAdd NEWS entry for last Ada changes, and adjust typos in last ChangeLog
hilfingr [Tue, 19 Aug 2008 10:36:43 +0000 (10:36 +0000)]
Add NEWS entry for last Ada changes, and adjust typos in last ChangeLog
entry.

16 years ago* ada-lang.c (discrete_type_high_bound,discrete_type_low_bound): Change
hilfingr [Tue, 19 Aug 2008 10:10:38 +0000 (10:10 +0000)]
* ada-lang.c (discrete_type_high_bound,discrete_type_low_bound): Change
API to return LONGEST values rather than struct values.
(ada_evaluate_subexp): Change to use new API of discrete_type_low_bound
and discrete_type_high_bound.
(to_fixed_range_type): Create a range type in cases where
argument is base type and its limits are representable as ints.
(ada_is_modular_type): Correct so that base type must be integral.
* ada-lex.l (TRUEKEYWORD,FALSEKEYWORD): Make 'true' and 'false'
keywords when they appear alone, since we are phasing out
direct representation of these identifiers in ebugging data.
* ada-exp.y: Define 'true' and 'false' as primaries.
(type_boolean): New function.
(type_int,type_long,type_long_long,type_floattype_double)
(type_long_double): Remove uses of current_gdbarch for consistency
with type_boolean.
(write_int): Change comment to indicate that it might write boolean
constant as well.
* ada-typeprint.c (ada_print_type): Print '(false, true)' for boolean
type, since will no longer be represented as enumerated type in
debugging data.
* ada-valprint.c (print_optional_low_bound): Handle boolean case
as well.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::mkdir): Drop fattr variable
corinna [Tue, 19 Aug 2008 09:46:31 +0000 (09:46 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::mkdir): Drop fattr variable
and use FILE_ATTRIBUTE_DIRECTORY directly in call to NtCreateFile.
* posix_ipc.cc (ipc_mutex_init): Fix format string when creating IPC
object name.
(ipc_cond_init): Ditto.
* security.cc (alloc_sd): Add parentheses to fix setting initial
owner_allow value.

16 years ago* fhandler.cc (fhandler_base::wait_overlapped): Don't treat ERROR_BROKEN_PIPE
cgf [Tue, 19 Aug 2008 02:56:27 +0000 (02:56 +0000)]
* fhandler.cc (fhandler_base::wait_overlapped): Don't treat ERROR_BROKEN_PIPE
as a non-error.  Do raise SIGPIPE when it is detected.

16 years agodaily update
amodra [Tue, 19 Aug 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Tue, 19 Aug 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * bsd-uthread.c (bsd_uthread_close): New.
palves [Mon, 18 Aug 2008 23:24:57 +0000 (23:24 +0000)]
* bsd-uthread.c (bsd_uthread_close): New.
(bsd_uthread_deactivate): Don't cleanup here, just unpush the
target.
(bsd_uthread_solib_loaded): Fix typo.
(bsd_uthread_target): Register bsd_uthread_close.

16 years ago * corelow.c (core_open): Assume there was no upper layer left
palves [Mon, 18 Aug 2008 23:12:39 +0000 (23:12 +0000)]
* corelow.c (core_open): Assume there was no upper layer left
behind from a previous inferior.
* target.c (pop_all_targets): Rename to ...
(pop_all_targets_above): ... this.  Add a target stratum
parameter.  Use it instead of hardcoding the dummy_stratum.
(pop_all_targets): New, defer to pop_all_targets_above.
(target_preopen): Use pop_all_targets_above.
* target.h (pop_all_targets_above): Declare.

16 years ago2008-08-18 Pedro Alves <pedro@codesourcery.com>
palves [Mon, 18 Aug 2008 22:35:16 +0000 (22:35 +0000)]
2008-08-18  Pedro Alves  <pedro@codesourcery.com>

gdb/doc/
* observer.texi (thread_ptid_changed): New.

gdb/
* gdbthread.h (thread_change_ptid): Declare.
* infrun.c (infrun_thread_ptid_changed): New.
(_initialize_infrun): Attach infrun_thread_ptid_changed to the
thread_ptid_changed observer.
* regcache.c (regcache_thread_ptid_changed): New.
(_initialize_regcache): Attach regcache_thread_ptid_changed to the
thread_ptid_changed observer.
* thread.c (thread_change_ptid): New.

16 years ago * symfile.c (reread_symbols): Update.
tromey [Mon, 18 Aug 2008 19:44:49 +0000 (19:44 +0000)]
* symfile.c (reread_symbols): Update.
* solib-sunos.c (allocate_rt_common_objfile): Update.
* objfiles.c (allocate_objfile): Update.
* objfiles.h (struct objfile) <md, mmfd, deprecated_obj_private>:
Remove.

16 years ago * gdbtypes.c (copy_type_recursive): Allocate 'stored' on objfile's
tromey [Mon, 18 Aug 2008 19:41:27 +0000 (19:41 +0000)]
* gdbtypes.c (copy_type_recursive): Allocate 'stored' on objfile's
obstack.

16 years ago2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 18 Aug 2008 18:21:14 +0000 (18:21 +0000)]
2008-08-18  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (i386_align_code): Fix a comment typo.

16 years agobfd/
rsandifo [Mon, 18 Aug 2008 18:14:03 +0000 (18:14 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Copy MIPS16
stub information.

ld/testsuite/
* ld-mips-elf/mips16-pic-4a.s, ld-mips-elf/mips16-pic-4b.s,
ld-mips-elf/mips16-pic-4.ver, ld-mips-elf/mips16-pic-4a.dd,
ld-mips-elf/mips16-pic-4a.nd, ld-mips-elf/mips16-pic-4a.gd,
ld-mips-elf/mips16-pic-4c.s, ld-mips-elf/mips16-pic-4b.dd: New tests.
* ld-mips-elf/mips-elf.exp: Run them.

16 years ago * doc/gdb.texinfo (PowerPC): Mention Extended FPR's for POWER7.
luisgpm [Mon, 18 Aug 2008 15:46:08 +0000 (15:46 +0000)]
* doc/gdb.texinfo (PowerPC): Mention Extended FPR's for POWER7.
(PowerPC features): Mention feature set for VSX registers.

* gdbserver/Makefile.in: Add required vsx dependencies.

* gdbserver/linux-ppc-low: Define PPC_FEATURE_HAS_VSX.
Declare init_registers_powerpc_vsx32l.
Declare init_registers_powerpc_vsx64l.
Define PTRACE_GETVSXREGS and PTRACE_SETVSXREGS.
(ppc_arch_setup): Check for VSX in hwcap.
(ppc_fill_vsxregset): New function.
(ppc_store_vsxregset): New function.
Add new VSX entry in regset_info target_regsets.

* gdbserver/configure.srv: Add new VSX dependencies.

16 years ago * mkgroup.c (enum_local_groups): Use NetLocalGroupGetInfo to find out
corinna [Mon, 18 Aug 2008 12:56:59 +0000 (12:56 +0000)]
* mkgroup.c (enum_local_groups): Use NetLocalGroupGetInfo to find out
if a group exists, rather than just allocating a buffer and going ahead.

16 years ago * mkgroup.c (enum_local_groups): Call print_win_error with GetLastError
corinna [Mon, 18 Aug 2008 12:42:44 +0000 (12:42 +0000)]
* mkgroup.c (enum_local_groups): Call print_win_error with GetLastError
as argument when LookupAccountXXX failed.
(enum_groups): Ditto.

16 years ago * rs6000-tdep.c (struct rs6000_framedata): Add gpr_mask, used_bl,
drow [Mon, 18 Aug 2008 12:32:46 +0000 (12:32 +0000)]
* rs6000-tdep.c (struct rs6000_framedata): Add gpr_mask, used_bl,
lr_register.
(rs6000_in_function_epilogue_p): Check for bctr.
(skip_prologue): Initialize lr_register.  Set lr_reg to a register
number.  Set gpr_mask and used_bl.  Continue scanning while some
expected registers are not saved.  Set lr_register if LR is not
stored.
(rs6000_frame_cache): Handle gpr_mask and lr_register.

* gdb.arch/powerpc-prologue.exp: Correct saved registers.

16 years ago * mkgroup.c (enum_local_groups): Return failure if looking for a single
corinna [Mon, 18 Aug 2008 08:58:21 +0000 (08:58 +0000)]
* mkgroup.c (enum_local_groups): Return failure if looking for a single
group succeeded.  Add comment.

16 years ago * mkgroup.c (main): Keep correctly track of optional arguments.
corinna [Mon, 18 Aug 2008 08:52:48 +0000 (08:52 +0000)]
* mkgroup.c (main): Keep correctly track of optional arguments.
* mkpasswd.c (main): Ditto.

16 years ago * mkgroup.c (main): Always unset environment variable POSIXLY_CORRECT.
corinna [Mon, 18 Aug 2008 08:33:48 +0000 (08:33 +0000)]
* mkgroup.c (main): Always unset environment variable POSIXLY_CORRECT.
Keep track of optional argumnts and fix up optind afterwards.
* mkpasswd.c (main): Ditto.

16 years ago*** empty log message ***
gdbadmin [Mon, 18 Aug 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Mon, 18 Aug 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago* elf32-arm.c: Tidy up the code.
nickc [Sun, 17 Aug 2008 20:48:21 +0000 (20:48 +0000)]
* elf32-arm.c: Tidy up the code.
  (bfd_elf32_arm_allocate_interworking_sections): Move common code
  into...
  (arm_allocate_glue_section_space): ... New function.
  (bfd_elf32_arm_add_glue_sections_to_bfd): Move common code
  into...
  (arm_make_glue_section): ... New function.

16 years ago * ld-elf/sec-to-seg1.s: Shorten test data to align the section to
nickc [Sun, 17 Aug 2008 20:42:52 +0000 (20:42 +0000)]
    * ld-elf/sec-to-seg1.s: Shorten test data to align the section to
        a 4-byte boundary.

16 years ago* elfxx-mips.c (_bfd_mips_elf_check_relocs): Handle the situation
nickc [Sun, 17 Aug 2008 20:39:34 +0000 (20:39 +0000)]
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Handle the situation
  where the sym_hashes are not available.

16 years ago* cygcheck.cc (print_version): Update copyright dates.
cgf [Sun, 17 Aug 2008 17:15:41 +0000 (17:15 +0000)]
* cygcheck.cc (print_version): Update copyright dates.

16 years ago* mkpasswd.c (main): Avoid printing system accounts when a single user name has
cgf [Sun, 17 Aug 2008 17:00:50 +0000 (17:00 +0000)]
* mkpasswd.c (main): Avoid printing system accounts when a single user name has
been requested.

16 years agogdb:
tromey [Sun, 17 Aug 2008 16:58:16 +0000 (16:58 +0000)]
gdb:
PR gdb/1535:
* breakpoint.c (CATCH_PERMANENT, CATCH_TEMPORARY): New macros.
(ep_find_event_name_end): Remove.
(catch_fork_temporary, catch_vfork_temporary,
catch_fork_permanent, catch_vfork_permanent): New constants.
(catch_vfork, catch_fork): Remove.
(catch_fork_command_1): Add 'command' argument.  Remove
'fork_kind' and 'tempflag'.  Handle NULL 'arg'.  Update switch for
all cases.
(catch_exec_command_1): Add 'command' argument; remove
'tempflag'.  Handle NULL 'arg'.
(catch_load_command_1): Likewise.
(catch_unload_command_1): Likewise.
(catch_ada_exception_command): Likewise.
(catch_assert_command): Likewise.
(catch_catch_command): New function.
(catch_throw_command): Likewise.
(catch_command_1): Remove.
(catch_command): Just call error.
(tcatch_command): Likewise.
(catch_cmdlist): New global.
(tcatch_cmdlist): Likewise.
(add_catch_command): New function.
(_initialize_breakpoint): Create "catch" and "tcatch" as prefix
commands.  Create all catch sub-commands.
gdb/testsuite:
* gdb.base/help.exp (help catch): Rewrite.

16 years ago* Makefile.in (ALL_LDFLAGS): Add --enable-auto-import option to quiet ld
cgf [Sun, 17 Aug 2008 16:45:43 +0000 (16:45 +0000)]
* Makefile.in (ALL_LDFLAGS): Add --enable-auto-import option to quiet ld
warnings.
* mkgroup.c: Change all global variables and most functions to static.
(enum_local_groups): Add a print_current parameter to control whether entries
for everything should be printed or just the current user.
(enum_groups): Ditto.
(main): Move call fetch_current_pgrp_sid earlier to avoid a NULL deference when
no command line arguments are specified.  Accommodate argument changes to above
functions.  Avoid printing SYSTEM account when print_current is specified.
Issue error when extra stuff is found on the command line.
* mkpasswd.c: Change all global variables and most functions to static.
(enum_users): Add a print_current parameter to control whether entries for
everything should be printed or just the current user.
(main): Move call fetch_current_user_sid earlier to avoid a NULL deference when
no command line arguments are specified.  Accommodate argument change to above
function.  Avoid printing standard accounts when print_current is specified.
Issue error when extra stuff is found on the command line.

16 years agobfd/
amodra [Sun, 17 Aug 2008 03:12:49 +0000 (03:12 +0000)]
bfd/
* bfd.c (struct _bfd): Correct outsymbols comment.
* bfd-in2.h: Regenerate.
* linker.c (bfd_generic_link_read_symbols): Renamed from..
(generic_link_read_symbols): ..this, and made global.

include/
* bfdlink.h (bfd_generic_link_read_symbols): Declare.
ld/
PR 6478
* ldcref.c (check_local_sym_xref): Use bfd_generic_link_read_symbols.
Don't free symbol pointer array.
(check_refs): Likewise.
* ldmain.c (warning_callback): Likewise.
* ldmisc.c (vfinfo): Likewise.
* pe-dll.c (process_def_file): Likewise.
(pe_walk_relocs_of_symbol, generate_reloc): Likewise.
* emultempl/pe.em (pe_find_data_imports): Likewise.
(gld_${EMULATION_NAME}_after_open): Likewise.
* emultempl/pep.em (pep_find_data_imports): Likewise.
(gld_${EMULATION_NAME}_after_open): Likewise.
* ldlang.h (lang_input_statement_type): Delete asymbols, symbol_count,
passive_position, closed.
* ldlang.c (new_afile): Don't set asymbols and symbol_count.
* ldmain.c (add_archive_element): xcalloc lang_input_statement_type.

16 years agodaily update
amodra [Sun, 17 Aug 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 17 Aug 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * gdbthread.h: Add comments.
palves [Sat, 16 Aug 2008 23:51:14 +0000 (23:51 +0000)]
* gdbthread.h: Add comments.
* stack.c (get_selected_block): Return 0 on an exited thread.
* top.c (execute_command): Check for is_stopped, not !is_running.
* event-top.c (command_handler): Likewise.

16 years ago * mi/mi-main.c (mi_cmd_exec_next, mi_cmd_exec_next_instruction)
palves [Sat, 16 Aug 2008 22:26:19 +0000 (22:26 +0000)]
* mi/mi-main.c (mi_cmd_exec_next, mi_cmd_exec_next_instruction)
(mi_cmd_exec_step, mi_cmd_exec_step_instruction)
(mi_cmd_exec_finish): Remove "return".

16 years ago * target.h (pop_all_targets): Declare.
palves [Sat, 16 Aug 2008 22:12:17 +0000 (22:12 +0000)]
* target.h (pop_all_targets): Declare.
* target.c (pop_all_targets): New.
* top.c (quit_target): Pop all targets instead of just closing the
current.

16 years agogdb/
bauermann [Sat, 16 Aug 2008 20:36:27 +0000 (20:36 +0000)]
gdb/
2008-08-16  Vladimir Prus  <vladimir@codesourcery.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* cli-script.c (read_next_line): Add parse_commands argument.
(recurse_read_control_structure): Adapt to new read_next_line
signature.
(read_command_lines): Add parse_commands argument.
(define_command): Adapt to new read_command_lines signature.
(document_command): Likewise.
* breakpoint.c (commands_command): Likewise.
* defs.h (read_command_lines): Adjust function prototype.

testsuite/
2008-08-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>

* gdb.base/define.exp: Test indented command documentation.
* gdb.python/python.exp: Test indented multi-line command.

16 years ago(pos_atr): Account for the possibility that the argument may be a reference.
hilfingr [Sat, 16 Aug 2008 09:26:24 +0000 (09:26 +0000)]
(pos_atr): Account for the possibility that the argument may be a reference.

16 years ago(scan_xcoff_symtab): Do not include global symbols
hilfingr [Sat, 16 Aug 2008 08:49:22 +0000 (08:49 +0000)]
(scan_xcoff_symtab): Do not include global symbols
 ('F' format) for @FIX names generated by the loader, retaining only
 the minimal symbols (and no partial symbol tables) for these names.
 Fixes warning messages about symbols that are found in partial
 symbol tables, but not full symbol tables.

16 years ago * configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu.
rsandifo [Sat, 16 Aug 2008 06:47:17 +0000 (06:47 +0000)]
* configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu.
* configure: Regenerate.

config/
* mt-mips16-compat: New file, taken from mt-mips-elfoabi.
* mt-mips-elfoabi: Include mt-mips16-compat.
* mt-mips-gnu: New file.

16 years ago * infrun.c (fetch_inferior_event): Only call normal_stop if not
palves [Sat, 16 Aug 2008 01:04:15 +0000 (01:04 +0000)]
* infrun.c (fetch_inferior_event): Only call normal_stop if not
stopping quietly.

16 years ago*** empty log message ***
gdbadmin [Sat, 16 Aug 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sat, 16 Aug 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * rs6000-tdep: Include "features/rs6000/powerpc-vsx32.c".
luisgpm [Fri, 15 Aug 2008 15:18:30 +0000 (15:18 +0000)]
* rs6000-tdep: Include "features/rs6000/powerpc-vsx32.c".
Include "features/rs6000/powerpc-vsx64.c".
(ppc_supply_vsxregset): New function.
(ppc_collect_vsxregset): New function.
(IS_VSX_PSEUDOREG): New macro.
(IS_EFP_PSEUDOREG): New macro.
(vsx_register_p): New function.
(ppc_vsx_support_p): New function.
(rs6000_builtin_type_vec128): New function.
(rs6000_register_name): Hide upper halves of vs0~vs31.  Return
correct names for VSX registers and EFPR registers.
(rs6000_pseudo_register_type): Return correct types for VSX
and EFPR registers.
(rs6000_pseudo_register_reggroup_p): Return correct group for
VSX and EFPR registers.
(ppc_pseudo_register_read): Rename to dfp_pseudo_register_read.
(ppc_pseudo_register_write): Rename to dfp_pseudo_register_write.
(vsx_pseudo_register_read): New function.
(vsx_pseudo_register_write): New function.
(efpr_pseudo_register_read): New function.
(efpr_pseudo_register_write): New function.
(rs6000_pseudo_register_read): Call new VSX and EFPR read functions.
(rs6000_pseudo_register_write): Call new VSX and EFPR write functions.
(rs6000_gdbarch_init): Declare have_vsx.
Initialize new upper half VSX registers.
Initialize VSX-related and EFPR-related pseudo-registers variables.
Adjust the number of pseudo registers accordingly.

* ppc-linux-nat.c: Define PTRACE_GETVSXREGS, PTRACE_SETVSXREGS
and SIZEOF_VSRREGS.
(gdb_vsxregset_t): New type.
(have_ptrace_getsetvsxregs): New variable.
(fetch_vsx_register): New function.
(fetch_register): Handle VSX registers.
(fetch_vsx_registers): New function.
(fetch_ppc_registers): Handle VSX registers.
(store_ppc_registers): Handle VSX registers.
(store_vsx_register): New function.
(store_register): Handle VSX registers.
(store_vsx_registers): New function.
(ppc_linux_read_description): Handle VSX-enabled inferiors.
(gdb_vsxregset_t): New type.
(supply_vsxregset): New function.
(fill_vsxregset): New function.

* ppc-tdep.h (vsx_register_p): New prototype.
(vsx_support_p): New prototype.
(ppc_vsr0_regnum): New variable.
(ppc_vsr0_upper_regnum): Likewise.
(ppc_efpr0_regnum): Likewise.
(ppc_builtin_type_vec128): New type.
(ppc_num_vsrs): New constant.
(ppc_num_vshrs): New constant.
(ppc_num_efprs): Likewise.
Define POWERPC_VEC_VSX PPC_VSR0_UPPER_REGNUM and PPC_VSR31_UPPER_REGNUM.
(ppc_supply_vsxregset): New prototype.
(ppc_collect_vsxregset): New prototype.

* ppc-linux-tdep.c: Include "features/rs6000/powerpc-vsx32l.c"
Include "features/rs6000/powerpc-vsx64l.c".
(_initialize_ppc_linux_tdep): Initialize VSX-enabled targets.
(ppc_linux_regset_sections): Add new ".reg-ppc-vsx" field.
(ppc32_linux_vsxregset): New 32-bit VSX-enabled regset.
(ppc_linux_regset_from_core_section): Handle VSX core section.
(ppc_linux_core_read_description): Support VSX-enabled core files.

* ppc-linux-tdep.h: Declare *tdesc_powerpc_vsx32l
Declare tdesc_powerpc_vsx64l

* corelow.c (get_core_register_section): Support VSX-enabled
core files.

* features/rs6000/power-vsx.xml: New VSX descriptions.
* features/rs6000/powerpc-vsx32.xml: New file.
* features/rs6000/powerpc-vsx32l.xml: New file.
* features/rs6000/powerpc-vsx64.xml: New file.
* features/rs6000/powerpc-vsx64l.xml: New file.
* features/rs6000/powerpc-vsx32.c: New file (generated).
* features/rs6000/powerpc-vsx32l.c: New file (generated).
* features/rs6000/powerpc-vsx64.c: New file (generated).
* features/rs6000/powerpc-vsx64l.c: New file (generated).
* features/Makefile: Updated with new descriptions.
* regformats/rs6000/powerpc-vsx32l.dat: New file (generated).
* regformats/rs6000/powerpc-vsx64l.dat: New file (generated).

* testsuite/gdb.arch/vsx-regs.c: New source file.
* testsuite/gdb.arch/vsx-regs.exp: New testcase.
* testsuite/lib/gdb.exp (skip_vsx_tests): New function.

16 years ago * mkgroup.c (fetch_current_pgrp_sid): New function to fetch primary
corinna [Fri, 15 Aug 2008 13:08:47 +0000 (13:08 +0000)]
* mkgroup.c (fetch_current_pgrp_sid): New function to fetch primary
group SID from user token.
(current_group): Move up in file.  Move fetching primary group SID to
fetch_current_pgrp_sid.
(enum_local_groups): Check if current SID is the same as current user's
primary group SID.
(enum_groups): Ditto.
(main): Call fetch_current_pgrp_sid before enumerating groups.  Call
current_group only if current group hasn't been enumerated already.
* mkpasswd.c (fetch_current_user_sid): New function to fetch current
user SID from user token.
(current_user): Move fetching current user SID to
fetch_current_user_sid.
(enum_users): Check if current SID is the same as current user's SID.
(main): Call fetch_current_user_sid before enumerating users.  Call
current_user only if current user hasn't been enumerated already.

16 years ago * mount.cc (mount_info::get_mounts_here): Don't subtract 2 from
corinna [Fri, 15 Aug 2008 12:33:26 +0000 (12:33 +0000)]
* mount.cc (mount_info::get_mounts_here): Don't subtract 2 from
Length if it's 0 anyway.

16 years ago2008-08-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Fri, 15 Aug 2008 12:10:21 +0000 (12:10 +0000)]
2008-08-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* s390-opc.c (INSTR_RRF_FFRU, MASK_RRF_FFRU): New instruction format.
* s390-opc.txt (lxr, rrdtr, rrxtr): Fix instruction format.

2008-08-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gas/s390/esa-g5.d: lxr operands are floating point.
* gas/s390/esa-g5.s: Likewise.
* gas/testsuite/gas/s390/zarch-z9-ec.d: rrdtr, rrxtr third
operands is gpr.
* gas/testsuite/gas/s390/zarch-z9-ec.s: Likewise.

16 years ago * mount.cc (mount_info::create_root_entry): Create default cygdrive
corinna [Fri, 15 Aug 2008 12:06:38 +0000 (12:06 +0000)]
* mount.cc (mount_info::create_root_entry): Create default cygdrive
prefix with MOUNT_NOPOSIX flag.

16 years ago * path.cc (symlink_info::check): Don't use eabuf when trying to open
corinna [Fri, 15 Aug 2008 10:19:11 +0000 (10:19 +0000)]
* path.cc (symlink_info::check): Don't use eabuf when trying to open
file a second time.  Call NtOpenFile instead of NtCreateFile in this
case.

16 years ago PR 6526
amodra [Fri, 15 Aug 2008 08:31:45 +0000 (08:31 +0000)]
PR 6526
* configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.

16 years ago * ia64-linux.nat (_initialize_ia64_linux_nat): Don't
vprus [Fri, 15 Aug 2008 08:08:25 +0000 (08:08 +0000)]
* ia64-linux.nat (_initialize_ia64_linux_nat): Don't
call linux_target twice.

16 years ago2008-08-14 Cary Coutant <ccoutant@google.com>
ccoutant [Fri, 15 Aug 2008 04:57:46 +0000 (04:57 +0000)]
2008-08-14  Cary Coutant  <ccoutant@google.com>

* x86_64.cc (Target_x86_64::Relocate::relocat_tls):
Use addend for DTPOFF32, DTPOFF64, and TPOFF32 relocs.
* testsuite/tls_test.cc (struct int128): 128-bit struct
for testing TLS relocs with non-zero addend.
(v12): New TLS variable.
(t12): New test.
(t_last): Add check for v12.
* testsuite/tls_test.h (t12): New function.
* testsuite/tls_test_main.cc (thread_routine): Call new test.

16 years ago*** empty log message ***
gdbadmin [Fri, 15 Aug 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Fri, 15 Aug 2008 00:00:07 +0000 (00:00 +0000)]
daily update

16 years ago2008-08-14 Jie Zhang <jie.zhang@analog.com>
jjohnstn [Thu, 14 Aug 2008 22:00:45 +0000 (22:00 +0000)]
2008-08-14  Jie Zhang  <jie.zhang@analog.com>

        * bfin/Makefile.in: (top_srcdir): Define.
        (mkinstalldirs): Define.
        (BOARD_SCRIPTS): Define.
        (BOARD_LDFLAGS): Define.
        (BOARD_BSP): Define.
        (BOARD_CRT0S): Define.
        (BOARD_OBJS): Define.
        (BOARD_TEST): Define.
        (BOARD_INSTALL): Define.
        (INCLUDES): Add -I$(srcdir)/include.
        (all): Add ${BOARD_CRT0S} and ${BOARD_BSP}.
        (.c.S): Remove target.
        (crt0.o): New target.
        (basiccrt.o): Likewise.
        (basiccrtb.o): Likewise.
        (basiccrts.o): Likewise.
        (basiccrt561.o, basiccrt561s.o, basiccrt561b.o): Likewise
        (clean mostlyclean): Remove ${BOARD_BSP}.
        (install): Depend on ${BOARD_INSTALL}.
        (install-sim): Reformat.
        (install-board): New target.
        * bfin/basiccrt.S: Remove useless __ADSPBF561_COREB__ in
        workaround code for 05000229.
        * bfin/syscalls.c (do_syscall): Use `EXCPT 0' instead of
        `RAISE 0' for syscall.
        * bfin/basiccrt.S: New file.
        * bfin/bf5*ld: New file.
        * bfin/bfin-common-mc.ld: New file.
        * bfin/bfin-common-sc.ld: New file.
        * bfin/include/blackfin.h: New file.
        * bfin/include/cdefBF5*.h: New file.
        * bfin/include/cdef_LPBlackfin.h: New file.
        * bfin/include/cdefblackfin.h: New file.
        * bfin/include/cplb.h: New file.
        * bfin/include/cplbtab.h: New file.
        * bfin/include/defBF5*.h: New files.
        * bfin/include/def_LPBlackfin.h: New files.
        * bfin/include/defblackfin.h: New file.
        * bfin/include/sys/_adi_platform.h: New file.
        * bfin/include/sys/anomaly_macros_rtl.h: New file.
        * bfin/include/sys/excause.h: New file.
        * bfin/include/sys/exception.h: New file.
        * bfin/include/sys/mc_typedef.h: New file.
        * bfin/include/sys/platform.h: New file.
        * bfin/include/sys/pll.h: New file.
        * bfin/include/sysreg.h: New file.
        * libnosys/configure.in (MISSING_SYSCALL_NAMES): Don't define
        for bfin.
        * libnosys/configure: Regenerate.

16 years ago * nto-tdep.c (lm_info): Updated struct lm_info definition from
aristovski [Thu, 14 Aug 2008 20:55:21 +0000 (20:55 +0000)]
* nto-tdep.c (lm_info): Updated struct lm_info definition from
solib-svr4.c
(LM_ADDR): Use l_addr if available; if not, use link map and set l_addr.

16 years agogdb:
tromey [Thu, 14 Aug 2008 18:03:19 +0000 (18:03 +0000)]
gdb:
* macrocmd.c (macro_define_command): Check for NULL argument.
(macro_undef_command): Likewise.
gdb/testsuite:
* gdb.base/macscp.exp: Add regression test for "macro define" or
"macro undef" with no arguments.

16 years agoAdd missing dependencies for building libmingwex.a.
keithmarshall [Thu, 14 Aug 2008 15:13:17 +0000 (15:13 +0000)]
Add missing dependencies for building libmingwex.a.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::link): Fix linking
corinna [Thu, 14 Aug 2008 15:00:47 +0000 (15:00 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::link): Fix linking
against symlinks.

16 years ago * config/tc-tic4x.c (tic4x_operands_parse): Make static.
amodra [Thu, 14 Aug 2008 14:54:40 +0000 (14:54 +0000)]
* config/tc-tic4x.c (tic4x_operands_parse): Make static.

16 years ago * external.cc (cygwin_internal): Call set_security_attribute with
corinna [Thu, 14 Aug 2008 14:05:03 +0000 (14:05 +0000)]
* external.cc (cygwin_internal): Call set_security_attribute with
additional path_conv argument.
* fhandler.cc (fhandler_base::open): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Never set DOS
R/O attribute when using ACLs.
(fhandler_disk_file::mkdir): Ditto.  Set
security descriptor on remote dirs after creating the dir, same as in
fhandler_base::open.
* fhandler_socket.cc (fhandler_socket::bind): Ditto for remote AF_LOCAL
socket files.
* path.cc (symlink_worker): Ditto. for remote symlinks.
* security.cc (alloc_sd): Take additional path_conv argument.
Accommodate throughout.  Drop setting FILE_WRITE_EA/FILE_READ_EA
flags unconditionally (was only necessary for "ntea"). Don't set
FILE_READ_ATTRIBUTES and FILE_WRITE_ATTRIBUTES unconditionally on
Samba.  Add comment to explain.  Drop useless setting of
STANDARD_RIGHTS_WRITE, it's in FILE_GENERIC_WRITE anyway.
Remove FILE_READ_ATTRIBUTES bit from FILE_GENERIC_EXECUTE so as not
to enforce read permissions on Samba.
(set_security_attribute): Take additional path_conv argument.
* security.h (set_security_attribute): Change prototype accordingly.

16 years ago PR 6825
amodra [Thu, 14 Aug 2008 13:56:00 +0000 (13:56 +0000)]
PR 6825
* ppc-opc.c (powerpc_opcodes): Enable rfci, mfpmr, mtpmr for e300.

16 years ago * coffgen.c (coff_find_nearest_line): Correct cached line index.
amodra [Thu, 14 Aug 2008 02:38:21 +0000 (02:38 +0000)]
* coffgen.c (coff_find_nearest_line): Correct cached line index.

16 years ago * gdb.texinfo (Ada Mode Intro): Improve the documentation regarding
brobecke [Thu, 14 Aug 2008 02:34:08 +0000 (02:34 +0000)]
    * gdb.texinfo (Ada Mode Intro): Improve the documentation regarding
        the direct visibility of all names in user-written packages.