OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
17 years ago2007-06-12 Markus Deuling <deuling@de.ibm.com>
uweigand [Tue, 12 Jun 2007 16:43:39 +0000 (16:43 +0000)]
2007-06-12  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Replace by
gdbarch_virtual_frame_pointer.
* tracepoint.c (encode_actions): Likewise.
* dwarf2loc.c (dwarf2_loc_desc_needs_frame): Likewise.
* ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago2007-06-12 Markus Deuling <deuling@de.ibm.com>
uweigand [Tue, 12 Jun 2007 16:33:19 +0000 (16:33 +0000)]
2007-06-12  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (TARGET_FLOAT_BIT): Replace by gdbarch_float_bit.
* p-lang.c (pascal_create_fundamental_type): Likewise.
* objc-lang.c (objc_create_fundamental_type): Likewise.
* mdebugread.c (_initialize_mdebugread): Likewise.
* m2-lang.c (m2_create_fundamental_type)
(_initialize_m2_language): Likewise.
* gdbtypes.c (build_gdbtypes): Likewise.
* f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
* doublest.c (floatformat_from_length): Likewise.
* c-lang.c (c_create_fundamental_type): Likewise.
* ada-lang.c (ada_create_fundamental_type)
(ada_language_arch_info): Likewise.
* gdbarch.sh (TARGET_FLOAT_FORMAT): Replace by gdbarch_float_format.
* value.c (unpack_double): Likewise (comment).
* gdbtypes.c (build_gdbtypes): Likewise.
* doublest.c (floatformat_from_length): Likewise.
* gdbarch.sh (TARGET_DOUBLE_BIT): Replace by gdbarch_double_bit.
* valarith.c (value_binop): Likewise.
* p-lang.c (pascal_create_fundamental_type): Likewise.
* objc-lang.c (objc_create_fundamental_type): Likewise.
* mdebugread.c (_initialize_mdebugread): Likewise.
* m2-lang.c (m2_create_fundamental_type): Likewise.
* gdbtypes.c (build_gdbtypes): Likewise.
* f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
* doublest.c (floatformat_from_length): Likewise.
* cris-tdep.c (cris_gdbarch_init): Likewise (comment).
* c-lang.c (c_create_fundamental_type): Likewise.
* ada-lex.l (processReal): Likewise.
* ada-lang.c (ada_create_fundamental_type)
(ada_language_arch_info): Likewise.
* gdbarch.sh (TARGET_DOUBLE_FORMAT): Replace by gdbarch_double_format.
* value.c (unpack_double): Likewise (comment).
* gdbtypes.c (build_gdbtypes): Likewise.
* doublest.c (floatformat_from_length): Likewise.
* gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Replace by
gdbarch_long_double_bit.
* p-lang.c (pascal_create_fundamental_type): Likewise.
* objc-lang.c (objc_create_fundamental_type): Likewise.
* m2-lang.c (m2_create_fundamental_type): Likewise.
* gdbtypes.c (build_gdbtypes): Likewise.
* f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
* doublest.c (floatformat_from_length): Likewise.
* c-lang.c (c_create_fundamental_type): Likewise.
* ada-lex.l (processReal): Likewise.
* ada-lang.c (ada_create_fundamental_type)
(ada_language_arch_info): Likewise.
* gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Replace by
gdbarch_long_double_format.
* gdbtypes.c (build_gdbtypes): Likewise.
* doublest.c (floatformat_from_length): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago2007-06-12 Markus Deuling <deuling@de.ibm.com>
uweigand [Tue, 12 Jun 2007 15:33:03 +0000 (15:33 +0000)]
2007-06-12  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (TARGET_SHORT_BIT): Replace by gdbarch_int_bit.
* ada-lang.c (ada_create_fundamental_type)
(ada_language_arch_info): Likewise.
* c-lang.c (c_create_fundamental_type): Likewise.
* f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
* gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
* m2-lang.c (m2_create_fundamental_type): Likewise.
* objc-lang.c (objc_create_fundamental_type): Likewise.
* p-lang.c (pascal_create_fundamental_type): Likewise.
* gdbarch.sh (TARGET_INT_BIT): Replace by gdbarch_int_bit.
* c-exp.y (parse_number): Likewise.
* objc-exp.y (parse_number): Likewise.
* ada-lex.l (processInt): Likewise.
* f-exp.y (parse_number): Likewise.
* p-exp.y (parse_number): Likewise.
* ada-lang.c (ada_create_fundamental_type, ada_language_arch_info)
(gdbtypes_post_init, build_gdbtypes): Likewise.
* p-lang.c (pascal_create_fundamental_type): Likewise.
* parse.c (build_parse): Likewise.
* xcoffread.c (_initialize_xcoffread): Likewise.
* stabsread.c (define_symbol, read_one_struct_field, read_enum_type)
(read_range_type): Likewise.
* objc-lang.c (objc_create_fundamental_type): Likewise.
* f-lang.c (build_fortran_types, f_create_fundamental_type): Likewise.
* m2-lang.c (m2_create_fundamental_type, _initialize_m2_language)
(m2_create_fundamental_type): Likewise.
* c-lang.c (c_create_fundamental_type): Likewise.
* coffread.c (coff_read_enum_type): Likewise.
* mdebugread.c (parse_symbol, _initialize_mdebugread): Likewise.
* dwarf2read.c (new_symbol): Likewise.
* gdbarch.sh (TARGET_LONG_BIT): Replace by gdbarch_long_bit.
* c-exp.y (parse_number): Likewise.
* objc-exp.y (parse_number): Likewise.
* ada-lex.l (processInt): Likewise.
* f-exp.y (parse_number): Likewise.
* p-exp.y (parse_number): Likewise.
* valarith.c (value_binop): Likewise.
* symfile.c (read_target_long_array, simple_overlay_update_1): Likewise.
* ada-lang.c (ada_create_fundamental_type)
(ada_language_arch_info): Likewise.
* gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
* symfile.c (TARGET_LONG_BYTES): Likewise.
* p-lang.c (pascal_create_fundamental_type): Likewise.
* objc-lang.c (objc_create_fundamental_type): Likewise.
* m2-lang.c (m2_create_fundamental_type): Likewise.
* f-lang.c (f_create_fundamental_type): Likewise.
* c-lang.c (c_create_fundamental_type): Likewise.
* coffread.c (decode_base_type): Likewise.
* gdbarch.sh (TARGET_LONG_LONG_BIT): Replace by gdbarch_long_long_bit.
* c-exp.y (parse_number): Likewise.
* objc-exp.y (parse_number): Likewise.
* p-exp.y (parse_number): Likewise.
* ada-lang.c (ada_create_fundamental_type)
(ada_language_arch_info): Likewise.
* gdbtypes.c (gdbtypes_post_init, build_gdbtypes): Likewise.
* stabsread.c (read_range_type): Likewise.
* p-lang.c (pascal_create_fundamental_type): Likewise.
* objc-lang.c (objc_create_fundamental_type): Likewise.
* m2-lang.c (m2_create_fundamental_type): Likewise.
* f-lang.c (f_create_fundamental_type): Likewise.
* c-lang.c (c_create_fundamental_type): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago * Makefile.in (DLL_OFILES): Add xsique.o.
corinna [Tue, 12 Jun 2007 15:24:46 +0000 (15:24 +0000)]
* Makefile.in (DLL_OFILES): Add xsique.o.
* cygwin.din (confstr): Make NOSIGFE.
(insque): Export.
(remque): Export.
* lsearch.cc: Remove superfluous _SEARCH_PRIVATE define.
* posix.sgml: Move insque to defined SUSv3 interfaces.  Remove
comment for remque.
* include/search.h: Remove _SEARCH_PRIVATE guarded definitions.
Add struct qelem definition.  Add insque and remque declarations.
* include/cygwin/version.h: Bump API minor number.
* include/sys/queue.h: Remove insque/remque definitions so as not
to collide with SUSv3 compatible declaration in search.h.
* libc/xsique.cc: New file implementing insque and remque.

17 years ago * frame-unwind.h (frame_dealloc_cache_ftype): Define.
schwab [Tue, 12 Jun 2007 15:21:26 +0000 (15:21 +0000)]
* frame-unwind.h (frame_dealloc_cache_ftype): Define.
(struct frame_unwind): Add dealloc_cache.
* frame.c (reinit_frame_cache): Call dealloc_cache on all caches.

* libunwind-frame.h (libunwind_frame_dealloc_cache): Declare.
* libunwind-frame.c (libunwind_frame_dealloc_cache): Define.
(libunwind_frame_unwind): Set dealloc_cache.
* ia64-tdep.c (ia64_libunwind_frame_unwind): Set dealloc_cache.

17 years ago * gdb.threads/manythreads.exp: Prevent expect buffer overflow
drow [Tue, 12 Jun 2007 14:44:15 +0000 (14:44 +0000)]
* gdb.threads/manythreads.exp: Prevent expect buffer overflow
in info threads output.

17 years agoChangeLog:
uweigand [Tue, 12 Jun 2007 14:38:32 +0000 (14:38 +0000)]
ChangeLog:

* remote.c (remote_write_qxfer): New function.
(remote_xfer_partial): Add handling for TARGET_OBJECT_SPU.
(remote_read_qxfer): Do not cache empty objects.
(_initialize_remote): Add PACKET_qXfer_spu_read and
PACKET_qXfer_spu_write.

doc/ChangeLog:

* gdb.texinfo (General Query Packets): Document qXfer:spu:read
and qXfer:spu:write packets and mention them under qSupported.

gdbserver/ChangeLog:

* remote-utils.c (decode_xfer_write): New function.
* server.h (decode_xfer_write): Add prototype.
* server.c (handle_query): Add PACKET_LEN argument.  Support
qXfer:spu:read and qXfer:spu:write packets.
(main): Pass packet_len to handle_query.
* spu-low.c (spu_target_ops): Add spu_proc_xfer_spu.
* target.h (target_ops): Add qxfer_spu.

17 years ago * target.h (enum target_object): Add TARGET_OBJECT_SPU.
uweigand [Tue, 12 Jun 2007 14:35:25 +0000 (14:35 +0000)]
* target.h (enum target_object): Add TARGET_OBJECT_SPU.
* spu-linux-nat.c (spu_xfer_partial): Handle TARGET_OBJECT_SPU.

* spu-tdep.h (SPU_NUM_PSEUDO_REGS): Add 5 pseudo registers.
(enum spu_regnum): Add SPU_FPSCR_REGNUM, SPU_SRR0_REGNUM,
SPU_LSLR_REGNUM, SPU_DECR_REGNUM, SPU_DECR_STATUS_REGNUM.
* spu-tdep.c (infospucmdlist): New variable.
(spu_register_name): Handle additional pseudo registers.
(spu_register_type): Likewise.
(spu_pseudo_register_read): Likewise.
(spu_pseudo_register_write): Likewise.
(spu_pseudo_register_read_spu): New function.
(spu_pseudo_register_write_spu): Likewise.
(info_spu_event_command): New function.
(info_spu_signal_command): Likewise.
(info_spu_mailbox_list): Likewise.
(info_spu_mailbox_command): Likewise.
(spu_mfc_get_bitfield): Likewise.
(info_spu_dma_cmdlist): Likewise.
(info_spu_dma_command): Likewise.
(info_spu_proxydma_command): Likewise.
(info_spu_command): Likewise.
(_initialize_spu_tdep): Install "info spu" commands.

testsuite/ChangeLog:

* gdb.arch/spu-info.exp: New testcase.
* gdb.arch/spu-info.c: New file.

doc/ChangeLog:

* gdb.texinfo (Architectures): Add new SPU section to document
Cell Broadband Engine SPU architecture specific commands.

17 years agoChangeLog:
uweigand [Tue, 12 Jun 2007 14:31:23 +0000 (14:31 +0000)]
ChangeLog:

* spu-linux-nat.c (spu_proc_xfer_spu): Do not return failure when
accessing non-seekable spufs files.

gdbserver/ChangeLog:

* spu-low.c (spu_proc_xfer_spu): Do not return failure when
accessing non-seekable spufs files.

17 years ago * fhandler.cc (fhandler_base::fstat): Set pipe permission bits more
corinna [Tue, 12 Jun 2007 08:28:44 +0000 (08:28 +0000)]
* fhandler.cc (fhandler_base::fstat): Set pipe permission bits more
correctly.

17 years ago*** empty log message ***
gdbadmin [Tue, 12 Jun 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Tue, 12 Jun 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
bwilson [Mon, 11 Jun 2007 23:46:32 +0000 (23:46 +0000)]
* emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
for .xt_except_table.
(OTHER_RELRO_SECTIONS): New.

17 years ago * cygwin.din (confstr): Export.
corinna [Mon, 11 Jun 2007 17:38:26 +0000 (17:38 +0000)]
* cygwin.din (confstr): Export.
* posix.sgml (confstr): Move to list of implemented SUSv3 functions.
* sysconf.cc (confstr): Implement.
* include/cygwin/version.h: Bump API minor number.

17 years ago * libc/include/sys/unistd.h: Declare confstr for Cygwin.
corinna [Mon, 11 Jun 2007 17:33:43 +0000 (17:33 +0000)]
* libc/include/sys/unistd.h: Declare confstr for Cygwin.
Define confstr constants for Cygwin.  Add comment.

17 years agobfd/
bwilson [Mon, 11 Jun 2007 16:53:07 +0000 (16:53 +0000)]
bfd/
        * elf32-xtensa.c (extend_ebb_bounds_forward): Use renamed
        XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
        (extend_ebb_bounds_backward, compute_text_actions): Likewise.
        (compute_ebb_proposed_actions, coalesce_shared_literal): Likewise.
        (xtensa_get_property_predef_flags): Likewise.
        (compute_removed_literals): Pass new arguments to is_removable_literal.
        (is_removable_literal): Add sec, prop_table and ptblsize arguments.
        Do not remove literal if the NO_TRANSFORM property flag is set.
gas/
        * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
        (XTENSA_PROP_NO_TRANSFORM): ...this.
        (frag_flags_struct): Move is_no_transform out of the insn sub-struct.
        (xtensa_mark_frags_for_org): New.
        (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org.
        (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org.
        (get_frag_property_flags): Adjust reference to is_no_transform flag.
        (xtensa_frag_flags_combinable): Likewise.
        (frag_flags_to_number): Likewise.  Use XTENSA_PROP_NO_TRANSFORM.
        * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG.
include/elf/
        * xtensa.h (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
        (XTENSA_PROP_NO_TRANSFORM): ...this.
ld/
        * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
        XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.

17 years ago * dwarf.c (decode_location_expression): Add DW_OP_form_tls_address.
nathan [Mon, 11 Jun 2007 11:30:29 +0000 (11:30 +0000)]
* dwarf.c (decode_location_expression): Add DW_OP_form_tls_address.

17 years ago * crt1.c (__mingw_CRTStartup): Add explicit call to libgcc's __main.
dannysmith [Mon, 11 Jun 2007 08:38:16 +0000 (08:38 +0000)]
* crt1.c (__mingw_CRTStartup): Add explicit call to libgcc's __main.

17 years agodaily update
amodra [Mon, 11 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Mon, 11 Jun 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * libc/sys/mmixware/access.c (access): Do not try to use a magic
hp [Sun, 10 Jun 2007 12:54:35 +0000 (12:54 +0000)]
* libc/sys/mmixware/access.c (access): Do not try to use a magic
file-handle and a direct syscall, just use _open.
* libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
file-handle.

* libc/sys/mmixware/_exit.c (_exit): Update comment about
passing on the exit value.

17 years agodaily update
amodra [Sun, 10 Jun 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sun, 10 Jun 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * generic/gdbtk-register.c get_register): Replace REGISTER_NAME
kseitz [Sat, 9 Jun 2007 17:15:01 +0000 (17:15 +0000)]
    * generic/gdbtk-register.c get_register): Replace REGISTER_NAME
        with gdbarch_register_name.
        (get_register_name): Ditto.
        (map_arg_registers): Ditto.

17 years ago2007-06-09 Markus Deuling <deuling@de.ibm.com>
uweigand [Sat, 9 Jun 2007 14:20:23 +0000 (14:20 +0000)]
2007-06-09  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (SKIP_TRAMPOLINE_CODE): Replace by
gdbarch_skip_trampoline_code.
* rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment).
* objc-lang.c (objc_skip_trampoline)
(objc_submethod_helper_data): Likewise.
* m32c-lang.c (m32c_skip_trampoline_code): Likewise (comment).
* infrun.c (handle_inferior_event): Likewise.
* gnu-v3-abi.c (gnuv3_skip_trampoline): Likewise.
* gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Replace by
gdbarch_in_solib_return_trampoline.
* rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment).
* infrun.c (handle_inferior_event): Likewise.
* hppa-tdep.c (hppa_stub_unwind_sniffer): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago2007-06-09 Markus Deuling <deuling@de.ibm.com>
uweigand [Sat, 9 Jun 2007 14:15:52 +0000 (14:15 +0000)]
2007-06-09  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (SKIP_PROLOGUE): Replace by gdbarch_skip_prologue.
* symtab.c (find_function_start_sal, in_prologue): Likewise.
* linespec.c (minsym_found): Likewise.
* infrun.c (step_into_function): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago2007-06-09 Markus Deuling <deuling@de.ibm.com>
uweigand [Sat, 9 Jun 2007 14:12:52 +0000 (14:12 +0000)]
2007-06-09  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (NAME_OF_MALLOC): Replace by gdbarch_name_of_malloc.
* valops.c (value_allocate_space_in_inferior): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago2007-06-09 Markus Deuling <deuling@de.ibm.com>
uweigand [Sat, 9 Jun 2007 14:02:39 +0000 (14:02 +0000)]
2007-06-09  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by
gdbarch_memory_insert_breakpoint.
* mem-break.c (memory_insert_breakpoint): Likewise.
* gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by
gdbarch_memory_remove_breakpoint.
* mem-break.c (memory_remove_breakpoint): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago2007-06-09 Markus Deuling <deuling@de.ibm.com>
uweigand [Sat, 9 Jun 2007 13:59:42 +0000 (13:59 +0000)]
2007-06-09  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS): Replace by
gdbarch_fetch_tls_load_module_address.
* gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS_P): Replace by
gdbarch_fetch_tls_load_module_address_p.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago2007-06-09 Markus Deuling <deuling@de.ibm.com>
uweigand [Sat, 9 Jun 2007 13:55:50 +0000 (13:55 +0000)]
2007-06-09  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by
gdbarch_decr_pc_after_break.
* tracepoint.c (trace_dump_command): Likewise.
* solib-sunos.c (sunos_solib_create_inferior_hook): Likewise.
* linux-thread-db.c (check_event): Likewise.
* linux-nat.c (cancel_breakpoints_callback): Likewise.
* infrun.c (adjust_pc_after_break, normal_stop): Likewise.
* frame.h: Likewise (comment).
* dummy-frame.c (deprecated_pc_in_call_dummy): Likewise.
* aix-thread.c (aix_thread_wait): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago2007-06-09 Markus Deuling <deuling@de.ibm.com>
uweigand [Sat, 9 Jun 2007 13:51:51 +0000 (13:51 +0000)]
2007-06-09  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS): Replace by
gdbarch_address_class_type_flags.
* dwarf2read.c (read_tag_pointer_type): Likewise.
* gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_P): Replace by
gdbarch_address_class_type_flags_p.
* dwarf2read.c (read_tag_pointer_type): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago2007-06-09 Markus Deuling <deuling@de.ibm.com>
uweigand [Sat, 9 Jun 2007 13:49:20 +0000 (13:49 +0000)]
2007-06-09  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (ADDR_BITS_REMOVE): Replace by gdbarch_addr_bits_remove.
* value.c (value_as_address): Likewise (comment).
* remote-mips.c (common_breakpoint): Likewise.
* regcache.c (read_pc_pid): Likewise.
* printcmd.c (do_one_display): Likewise.
* monitor.c (monitor_write_memory, monitor_read_memory)
(monitor_insert_breakpoint): Likewise.
* mips-tdep.c (heuristic_proc_start): Likewise.
* infrun.c (insert_step_resume_breakpoint_at_frame)
(insert_step_resume_breakpoint_at_caller): Likewise.
* buildsym.c (record_line): Likewise.
* arm-tdep.c (arm_scan_prologue, thumb_get_next_pc)
(arm_get_next_pc): Likewise.
* armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
(store_regs): Likewise.
* arm-linux-tdep.c (arm_linux_supply_gregset): Likewise.
* arm-linux-nat.c (fetch_register, fetch_regs): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago2007-06-09 Markus Deuling <deuling@de.ibm.com>
uweigand [Sat, 9 Jun 2007 13:42:14 +0000 (13:42 +0000)]
2007-06-09  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (REGISTER_NAME): Replace by gdbarch_register_name.
* tracepoint.c (scope_info): Likewise.
* target.c (debug_print_register): Likewise.
* stack.c (frame_info): Likewise.
* sh-tdep.c (sh_register_reggroup_p): Likewise.
* sh64-tdep.c (sh64_do_fp_register, sh64_do_register)
(sh64_media_print_registers_info)
(sh64_compact_print_registers_info): Likewise.
* rs6000-tdep.c (rs6000_register_reggroup_p): Likewise.
* remote-sim.c (gdbsim_fetch_register): Likewise.
* remote.c (packet_reg): Likewise (comment).
* reggroups.c (default_register_reggroup_p): Likewise.
* regcache.c (regcache_dump): Likewise.
* printcmd.c (address_info): Likewise.
* ppc-linux-nat.c (fetch_register, store_register): Likewise.
* mt-dep.c (mt_registers_info): Likewise.
* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Likewise (comment).
* mips-tdep.c (mips_register_reggroup_p, mips_read_fp_register_single)
(mips_read_fp_register_double, mips_print_fp_register)
(mips_print_register, print_gp_register_row, mips_print_registers_info)
(mips_register_sim_regno): Likewise.
* m68klinux-nat.c (regmap, fetch_register, store_register): Likewise.
* inf-ptrace.c (inf_ptrace_fetch_register)
(inf_ptrace_store_register): Likewise.
* infcmd.c (default_print_registers_info): Likewise.
* ia64-linux-nat.c (ia64_linux_fetch_register)
(ia64_linux_store_register): Likewise.
* i386-linux-nat.c (fetch_register, store_register): Likewise.
* i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise.
* hppa-linux-nat.c (fetch_register, store_register): Likewise.
* hppa-hpux-nat.c (hppa_hpux_fetch_register)
(hppa_hpux_store_register): Likewise.
* findvar.c (locate_var_value): Likewise.
* dwarf2loc.c (locexpr_describe_location): Likewise.
* dwarf2-frame.c (execute_cfa_program): Likewise.
* arm-tdep.c (arm_push_dummy_call): Likewise.
* arch-utils.c (legacy_register_sim_regno): Likewise.
* alpha-tdep.c (alpha_register_reggroup_p): Likewise.
* alpha-nat.c (fetch_osf_core_registers): Likewise.
* mi/mi-main.c (mi_cmd_data_list_register_names)
(mi_cmd_data_list_changed_registers, mi_cmd_data_list_register_values)
(mi_cmd_data_write_register_values): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago * gdb.texinfo (GDB/MI Variable Objects): Editorial
vprus [Sat, 9 Jun 2007 10:08:16 +0000 (10:08 +0000)]
    * gdb.texinfo (GDB/MI Variable Objects): Editorial
        comments.

17 years agodaily update
amodra [Sat, 9 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sat, 9 Jun 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 8 Jun 2007 18:38:51 +0000 (18:38 +0000)]
2007-06-08  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/string/strcasestr.c: New file.
        * libc/include/string.h: Add strcasestr.
        * libc/string/strings.tex: Add strcasestr.
        * libc/string/Makefile.am: Ditto.
        * libc/string/Makefile.in: Regenerated.

17 years agodaily update
amodra [Fri, 8 Jun 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Fri, 8 Jun 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * configure.ac: Non-default multilibs can be cross compilations.
geoffk [Thu, 7 Jun 2007 18:43:51 +0000 (18:43 +0000)]
* configure.ac: Non-default multilibs can be cross compilations.
* configure: Regenerate

17 years ago * target-memory.c (blocks_to_erase): Correct off-by-one error.
drow [Thu, 7 Jun 2007 14:24:14 +0000 (14:24 +0000)]
* target-memory.c (blocks_to_erase): Correct off-by-one error.

17 years agoCleanup white spaces and fix an entry.
hjl [Thu, 7 Jun 2007 14:07:02 +0000 (14:07 +0000)]
Cleanup white spaces and fix an entry.

17 years ago * remote.c (process_g_packet): Don't check size.
vprus [Thu, 7 Jun 2007 05:00:36 +0000 (05:00 +0000)]
* remote.c (process_g_packet): Don't check size.
* gdbarch.sh: Remove register_bytes_ok.
* gdbarch.c: Regenerated.
* gdbarch.h: Regenerated.
* m68k-tdep.c (REGISTER_BYTES_NOFP): Remove.
(m68k_register_bytes_ok): Remove.
(m68k_gdbarch_init): Don't register m68k_register_bytes_ok.

17 years ago*** empty log message ***
gdbadmin [Thu, 7 Jun 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Thu, 7 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago * config.sub, config.guess: Update from upstream sources.
bje [Wed, 6 Jun 2007 23:23:36 +0000 (23:23 +0000)]
* config.sub, config.guess: Update from upstream sources.

17 years ago * Makefile.tpl: Fix spelling error.
bje [Wed, 6 Jun 2007 23:12:20 +0000 (23:12 +0000)]
* Makefile.tpl: Fix spelling error.
* Makefile.in: Regenerate.

17 years ago(Emacs): Describe GDB under Emacs 22.1.
nickrob [Wed, 6 Jun 2007 21:29:14 +0000 (21:29 +0000)]
(Emacs): Describe GDB under Emacs 22.1.

17 years ago*** empty log message ***
nickrob [Wed, 6 Jun 2007 21:27:24 +0000 (21:27 +0000)]
*** empty log message ***

17 years ago * libunwind-frame.c (unw_destroy_addr_space_p): Define.
schwab [Wed, 6 Jun 2007 19:35:01 +0000 (19:35 +0000)]
* libunwind-frame.c (unw_destroy_addr_space_p): Define.
(destroy_addr_space_name): Define.
(libunwind_load): Get address of destroy_addr_space function.
(libunwind_frame_cache): Destroy unw_addr_space_t object before
returning unsuccessfully.
(libunwind_frame_sniffer): Destroy unw_addr_space_t object before
returning.
(libunwind_sigtramp_frame_sniffer): Likewise.
(libunwind_get_reg_special): Likewise.

17 years ago2007-06-06 Christian Groessler <chris@groessler.org>
jjohnstn [Wed, 6 Jun 2007 19:24:28 +0000 (19:24 +0000)]
2007-06-06  Christian Groessler  <chris@groessler.org>

        * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
        rnd is done after the last local variable declaration.

2007-06-06  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.

17 years ago2007-06-06 Paul Brook <paul@codesourcery.com>
pbrook [Wed, 6 Jun 2007 17:36:53 +0000 (17:36 +0000)]
2007-06-06  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (s_align): Pad code sections appropriately.

gas/testsuite/
* gas/arm/thumb.d: Update expected output.
* gas/arm/thumb2_relax.d: Ditto.

17 years ago2007-06-06 Markus Deuling <deuling@de.ibm.com>
uweigand [Wed, 6 Jun 2007 15:43:26 +0000 (15:43 +0000)]
2007-06-06  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (FETCH_POINTER_ARGUMENT): Replace by
gdbarch_fetch_pointer_argument.
* objc-lang.c (OBJC_FETCH_POINTER_ARGUMENT): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago2007-06-06 Markus Deuling <deuling@de.ibm.com>
uweigand [Wed, 6 Jun 2007 15:38:56 +0000 (15:38 +0000)]
2007-06-06  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by
gdbarch_have_nonsteppable_watchpoint.
* infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise.
* gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by
gdbarch_cannot_step_breakpoint.
* infrun.c (resume): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago2007-06-06 Markus Deuling <deuling@de.ibm.com>
uweigand [Wed, 6 Jun 2007 15:35:49 +0000 (15:35 +0000)]
2007-06-06  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (FRAME_ARGS_SKIP): Replace by gdbarch_frame_args_skip.
* stack.c (print_frame_args): Likewise.
* gdbarch.sh (FRAME_NUM_ARGS): Replace by gdbarch_frame_num_args.
* stack.c (print_args_stub, frame_info): Likewise.
* gdbarch.sh (FRAME_NUM_ARGS_P): Replace by gdbarch_frame_num_args_p.
* stack.c (print_args_stub, frame_info): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago2007-06-06 Markus Deuling <deuling@de.ibm.com>
uweigand [Wed, 6 Jun 2007 15:32:25 +0000 (15:32 +0000)]
2007-06-06  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by
gdbarch_coff_make_msymbol_special.
* coffread.c (coff_symtab_read): Likewise.
* gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by
gdbarch_elf_make_msymbol_special.
* elfread.c (elf_symtab_read): Likewise.
* mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment).
* sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment).
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago2007-06-06 Markus Deuling <deuling@de.ibm.com>
uweigand [Wed, 6 Jun 2007 15:29:35 +0000 (15:29 +0000)]
2007-06-06  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by
gdbarch_frame_red_zone_size.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago2007-06-06 Markus Deuling <deuling@de.ibm.com>
uweigand [Wed, 6 Jun 2007 15:26:27 +0000 (15:26 +0000)]
2007-06-06  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than.
* infcall.c (call_function_by_hand): Likewise.
* gcore.c (derive_stack_segment): Likewise.
* frame.c (frame_id_inner): Likewise.
* arch-utils.c (core_addr_lessthan): Likewise (comment).
* ada-lang.c (ensure_lval): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago2007-06-06 Markus Deuling <deuling@de.ibm.com>
uweigand [Wed, 6 Jun 2007 15:23:05 +0000 (15:23 +0000)]
2007-06-06  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (ADDRESS_TO_POINTER): Replace by
gdbarch_address_to_pointer.
* findvar.c (store_typed_address): Likewise.
* gdbtypes.c (make_pointer_type): Likewise (comment).
* procfs.c (procfs_address_to_host_pointer): Likewise.
* std-regs.c (value_of_builtin_frame_reg): Likewise.
(value_of_builtin_frame_fp_reg): Likewise.
(value_of_builtin_frame_pc_reg): Likewise.
* utils.c (paddress): Likewise (comment).
* gdbarch.sh (POINTER_TO_ADDRESS): Replace by
gdbarch_pointer_to_address.
* findvar.c (extract_typed_address): Likewise.
* gdbtypes.c (make_pointer_type): Likewise (comment).
* valops.c (value_cast): Likewise (comment).
* gdbarch.c, gdbarch.h: Regenerate.

17 years ago * gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target.
uweigand [Wed, 6 Jun 2007 15:15:33 +0000 (15:15 +0000)]
* gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target.
* infrun.c (handle_inferior_event): Likewise.
* gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by
gdbarch_get_longjmp_target_p.
* breakpoint.c (breakpoint_re_set): Likewise.
* infrun.c (handle_inferior_event): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

17 years agoPR binutils/4356 binutils/591
nickc [Wed, 6 Jun 2007 08:02:47 +0000 (08:02 +0000)]
PR binutils/4356 binutils/591
* resrc.c (filename_need_quotes): New function.
  (look_for_default): If filename_need_quotes is true then quote the filename in the command line being created.
  (read_rc_file): Likewise.

17 years ago * doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".
bje [Wed, 6 Jun 2007 04:46:41 +0000 (04:46 +0000)]
* doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".

17 years agodaily update
amodra [Wed, 6 Jun 2007 00:00:08 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Wed, 6 Jun 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook,
uweigand [Tue, 5 Jun 2007 22:47:50 +0000 (22:47 +0000)]
* hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook,
HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break,
HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification,
hp_cxx_exception_support, hp_cxx_exception_support_initialized,
eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr,
eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior,
find_stub_with_shl_get, cover_find_stub_with_shl_get,
initialize_hp_cxx_exception_support, child_enable_exception_callback,
current_ex_event, child_get_current_exception_event): Remove.
(hppa_hpux_inferior_created): Remove.
(hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created.

* breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove.
(deprecated_exception_support_initialized): Remove.
* breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove.
(deprecated_exception_support_initialized): Remove.
(breakpoint_init_inferior): Remove handling of non-zero
deprecated_exception_catchpoints_are_fragile.

* symtab.h (deprecated_hp_som_som_object_present): Remove.
* symtab.c (deprecated_hp_som_som_object_present): Remove.
* c-typeprint.c (c_type_print_base): Remove handling of non-zero
deprecated_hp_som_som_object_present.
* eval.c (evaluate_subexp_standard): Likewise.
* valops.c (value_cast): Likewise.

* parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove.
* parser-defs.h (parse_nested_classes_for_hpacc): Remove.
* c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc.

17 years ago * objfiles.h (ImportEntry, ExportEntry): Remove types.
uweigand [Tue, 5 Jun 2007 22:46:28 +0000 (22:46 +0000)]
* objfiles.h (ImportEntry, ExportEntry): Remove types.
(struct objfile): Remove import_list, import_list_size,
export_list, export_list_size members.
(is_in_import_list): Remove prototype.
* objfiles.c (is_in_import_list): Remove.
* somread.c (init_import_symbols, init_export_symbols): Remove.
(som_symfile_read): Do not call init_import_symbols.  Do not
set objfile->export_list and objfile->export_list_size.

17 years ago2007-06-05 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 5 Jun 2007 22:02:45 +0000 (22:02 +0000)]
2007-06-05  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (insns): Correct Thumb-2 ldrd/strd opcodes.

gas/testsuite/
* gas/arm/thumb32.d: Add writeback addressing mode tests.
* gas/arm/thumb32.s: Update expected output.

opcodes/
* arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.

17 years agoFix entry to refer to function instead of variable.
jjohnstn [Tue, 5 Jun 2007 21:42:17 +0000 (21:42 +0000)]
Fix entry to refer to function instead of variable.

17 years ago2007-06-05 Christian Groessler <chris@groessler.org>
jjohnstn [Tue, 5 Jun 2007 21:40:48 +0000 (21:40 +0000)]
2007-06-05  Christian Groessler  <chris@groessler.org>

        * libc/argz/argz_insert.c (delta): Move variable declaration
        to top of function in keeping with C89 standard.

17 years ago2007-06-05 Patrick Mansfield <patman@us.ibm.com>
jjohnstn [Tue, 5 Jun 2007 19:01:30 +0000 (19:01 +0000)]
2007-06-05  Patrick Mansfield  <patman@us.ibm.com>

        * spu/jsre.h: Remove the assist call structs and defines that are
        specific to one assist call from here.
        * spu/access.c: Move struct syscall_access_t to here.
        * spu/fstat.c: Move struct syscall_fstat_t to here.
        * spu/ftruncate.c: Move struct syscall_ftruncate_t to here.
        * spu/gettimeofday.c: Move struct syscall_gettimeofday_t to here.
        * spu/lseek.c: Move struct syscall_lseek_t and JSRE_SEEK defines to
        here.
        * spu/open.c: Move struct syscall_open_t and JSRE_O_ defines to here.
        * spu/read.c: Move struct syscall_read_t to here, and actually use
        it (it is the same as syscall_write_t).
        * spu/stat.c: Move struct syscall_stat_t to here.
        * spu/write.c: Move struct syscall_write_t to here.
        * spu/close.c: Pass the address of the first and only argument to
        __send_to_ppe rather than using an automatic variable and a
        special struct.
        * spu/dup.c: Ditto.
        * spu/unlink.c: Ditto.

17 years ago * gdb.arch/thumb-prologue.c: Record the breakpoint address in
drow [Tue, 5 Jun 2007 18:50:41 +0000 (18:50 +0000)]
* gdb.arch/thumb-prologue.c: Record the breakpoint address in
tpcs_offset.  Restore lr after the call.
* gdb.arch/thumb-prologue.exp: Use tpcs_offset.

17 years agoPatch for PR4587 + move proc run_list_test into gas-defs.exp
nickc [Tue, 5 Jun 2007 17:00:30 +0000 (17:00 +0000)]
Patch for PR4587 + move proc run_list_test into gas-defs.exp

17 years ago * dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting.
drow [Tue, 5 Jun 2007 15:04:39 +0000 (15:04 +0000)]
* dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting.
Use the original objfile if necessary.

17 years ago* Makefile.am: Add LIBICONV to windres.
nickc [Tue, 5 Jun 2007 13:10:29 +0000 (13:10 +0000)]
* Makefile.am: Add LIBICONV to windres.
* acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files.
* configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV.
* config.in: Add ICONV defines.
* aclocal: Regenerate.
* confugure: Regenerate.
* winduni.c: (local_iconv_map codepages, wind_language_t, languages, unicode_is$
  (ascii_from_unicode): Use codepage_from_unicode.
  (ascii_from_unicode): Use unicode_from_codepage.
  Use for cygwin windows API for unicode transformation.
* winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New macros.
  (wind_language_t, local_iconv_map): New types.
  (wind_find_language_by_id, wind_find_language_by_codepage,
  (unicode_is_valid_codepage, wind_find_codepage_info, unicode_from_codepage, c$

17 years ago * cygwin-api.in.sgml: Accommodate new "Compatibility" section layout.
corinna [Tue, 5 Jun 2007 10:11:55 +0000 (10:11 +0000)]
* cygwin-api.in.sgml: Accommodate new "Compatibility" section layout.

17 years ago * ansi.sgml: Delete.
corinna [Tue, 5 Jun 2007 10:10:15 +0000 (10:10 +0000)]
* ansi.sgml: Delete.
* misc-std.sgml: Delete.
* posix.sgml: Rework entirely.

17 years ago * generic/gdbtk-cmds.c (hex2bin): Use gdbarch_byte_order instead
kseitz [Tue, 5 Jun 2007 00:36:29 +0000 (00:36 +0000)]
    * generic/gdbtk-cmds.c (hex2bin): Use gdbarch_byte_order instead
        of TARGET_BYTE_ORDER.
        * generic/gdbtk-register.c (get_register): Likewise.
        (map_arg_registers): Use gdbarch_num_regs and gdbarch_num_pseduo_regs
        instead of NUM_REGS and NUM_PSEUDO_REGS.
        (setup_architecture_data): Likewise.
        (gdb_regformat): Likewise.
        (gdb_reggroup): Likewise.

17 years ago * config/tc-spu.c (spu_cons): Use deferred_expression. Handle
amodra [Tue, 5 Jun 2007 00:28:03 +0000 (00:28 +0000)]
* config/tc-spu.c (spu_cons): Use deferred_expression.  Handle
number@ppu.
(tc_gen_reloc): Abort if neither addsy or subsy is set.
(md_apply_fix): Don't attempt to resolve SPU_PPU relocs.
* config/tc-spu.h (md_operand): Handle @ppu without sym.

17 years ago * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.
amodra [Tue, 5 Jun 2007 00:27:39 +0000 (00:27 +0000)]
* embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.

17 years ago*** empty log message ***
gdbadmin [Tue, 5 Jun 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Tue, 5 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agoImplement funopen, fopencookie.
ericb [Mon, 4 Jun 2007 18:10:16 +0000 (18:10 +0000)]
Implement funopen, fopencookie.
* libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
Switch to reentrant callbacks.
* libc/include/stdio.h (funopen): Fix declaration.
(fopencookie): Declare.
* libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
(__sseek64, __swrite64): Fix prototypes.
[__SCLE]: Pull in setmode declaration.
* libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
reentrancy.
* libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
(__sseek64, __swrite64): Fix reentrancy.
* libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
reentrancy.
* libc/stdio/ftell.c (_ftell_r): Likewise.
* libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
* libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
* libc/stdio/freopen.c (_freopen_r): Likewise.
* libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
* libc/stdio/refill.c (__srefill_r): Likewise.
* libc/stdio/siscanf.c (eofread): Likewise.
* libc/stdio/sscanf.c (eofread): Likewise.
* libc/stdio/vsiscanf.c (eofread1): Likewise.
* libc/stdio/vsscanf.c (eofread1): Likewise.
* libc/stdio64/freopen64.c (_freopen64_r): Likewise.
* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
* libc/stdio64/ftello64.c (_ftello64_r): Likewise.
* libc/stdio/fflush.c (fflush): Improve reentrancy, although more
could be fixed.
* libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
* libc/stdio/funopen.c (_funopen_r, funopen): New file.
* libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
new files.
* libc/stdio/Makefile.in: Regenerate.

17 years ago * defs.h (ldirname): New prototype.
drow [Mon, 4 Jun 2007 12:34:10 +0000 (12:34 +0000)]
* defs.h (ldirname): New prototype.
* dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is
missing.
* utils.c (ldirname): New function.
* xml-tdesc.c (file_read_description_xml): Use ldirname.

17 years ago2007-06-04 Olivier Hainque <hainque@adacore.com>
bonzini [Mon, 4 Jun 2007 09:33:35 +0000 (09:33 +0000)]
2007-06-04  Olivier Hainque  <hainque@adacore.com>

* mh-ppc-aix: Add default ADAFLAGS to BOOT_ADAFLAGS.

17 years ago2007-06-04 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 4 Jun 2007 08:32:52 +0000 (08:32 +0000)]
2007-06-04  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:
2007-05-30  Jakub Jelinek  <jakub@redhat.com>

        PR bootstrap/29382
        * configure.ac: Don't use -fkeep-inline-functions for GCC < 3.3.1.
        * configure: Rebuilt.

17 years ago* cygcheck.cc (pathlike): New class.
cgf [Mon, 4 Jun 2007 01:57:16 +0000 (01:57 +0000)]
* cygcheck.cc (pathlike): New class.
(paths): Redefine as type pathlike.
(display_error): Declare a few different ways to allow more flexible usage
throughout.
(display_error_fmt): New function for those cases where C++ just isn't enough.
(add_path): Rewrite to allocate pathlike paths.  Always tack on a trailing
slash since that's what everyone who uses it wants.  NULL terminate the path
list.  Register "it's a system path" field.
(init_path): Call add_path with info regarding whether path is a system path or
not.
(pathlike::check_existence): Move into pathlike class.  Accept file and
extension arguments to build up path on the fly.  Modify other arguments.
(find_on_path): Constify return value and appropriate arguments.  Eliminate
short-circuit for fully-qualified paths.  Simplify loop which iterates over
path.
(already_did): Constify argument.
(track_down): Ditto.  Regularize some error messages.
(find_app_on_path): Ditto.
(cygcheck): Constify argument.  Use 20th century string handling functions.
(dump_sysinfo): Remove odd inclusion of '\\bin' "Just in case".  Accommodate
change of paths to pathlike.
* path.cc (isslash): Rename from SLASH_P and use throughout.
(rel_vconcat): Front-end to vconcat which prepends cwd to path before passing
along for conversion to native windows.
(cygpath): Remove "./" test.  Call rel_vconcat if filename appears to be
relative.

17 years agodaily update
amodra [Mon, 4 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Mon, 4 Jun 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
gdbadmin [Sun, 3 Jun 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sun, 3 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agodaily update
amodra [Sat, 2 Jun 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sat, 2 Jun 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * spu-tdep.c (spu_push_dummy_call): Store stack back chain.
uweigand [Fri, 1 Jun 2007 19:31:08 +0000 (19:31 +0000)]
* spu-tdep.c (spu_push_dummy_call): Store stack back chain.

17 years ago * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning.
brobecke [Fri, 1 Jun 2007 14:24:36 +0000 (14:24 +0000)]
    * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning.

17 years agoCorrect ChangeLog entry.
hjl [Fri, 1 Jun 2007 13:44:18 +0000 (13:44 +0000)]
Correct ChangeLog entry.

17 years ago * irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove.
uweigand [Fri, 1 Jun 2007 13:15:58 +0000 (13:15 +0000)]
* irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove.

17 years ago * ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777,
uweigand [Fri, 1 Jun 2007 13:05:52 +0000 (13:05 +0000)]
* ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777,
INSTR_LI_R0_NR_sigreturn, INSTR_LI_R0_NR_rt_sigreturn): Remove.
(PPC_LINUX_SIGNAL_FRAMESIZE, PPC_LINUX_REGS_PTR_OFFSET,
PPC_LINUX_HANDLER_PTR_OFFSET): Remove.
(ppc_linux_in_sigtramp, insn_is_sigreturn,
ppc_linux_at_sigtramp_return_path): Remove.

17 years ago2007-06-01 Steve Ellcey <sje@cup.hp.com>
bonzini [Fri, 1 Jun 2007 11:33:01 +0000 (11:33 +0000)]
2007-06-01  Steve Ellcey  <sje@cup.hp.com>

* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Try using getconf
to set lt_cv_sys_max_cmd_len.

17 years agodaily update
amodra [Fri, 1 Jun 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Fri, 1 Jun 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***