OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
15 years ago Silence a few -Wmissing-prototypes warnings.
palves [Sun, 22 Feb 2009 01:02:16 +0000 (01:02 +0000)]
Silence a few -Wmissing-prototypes warnings.

PR build/9877:
        * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Make
it static.
        * alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Declare.
        * amd64fbsd-tdep.c (amd64fbsd_init_abi): Make it static.
        * amd64nbsd-tdep.c (_initialize_amd64nbsd_ndep): Rename to ...
(_initialize_amd64nbsd_tdep): ... this.
* arm-linux-tdep.c (arm_linux_software_single_step): Make it static.
(_initialize_arm_linux_tdep): Declare.
* armbsd-tdep.c (armbsd_fpreg_offset): Make it static.
* armnbsd-tdep.c (_initialize_arm_netbsd_tdep): Declare.
* armobsd-tdep.c (_initialize_armobsd_tdep): Declare.
* avr-tdep.c (avr_return_value): Make it static.
(avr_frame_unwind_cache): Ditto.
* bsd-uthread.c (bsd_uthread_inferior_created): Ditto.
(bsd_uthread_solib_loaded): Ditto.
(bsd_uthread_solib_unloaded): Ditto.
(bsd_uthread_target): Ditto.
(_initialize_bsd_uthread): Declare.
* cris-tdep.c (crisv32_single_step_through_delay): Make it static.
(cris_frame_unwind_cache): Ditto.
* frv-tdep.c (frv_return_value): Ditto.
* h8300-tdep.c (h8300_use_struct_convention): Ditto.
(h8300h_use_struct_convention): Ditto.
* hppa-tdep.c (hppa_sign_extend, hppa_low_hppa_sign_extend):
Ditto.
* hppa-tdep.h (hppa_low_sign_extend, hppa_sign_extend): Delete
declarations.
* hppabsd-tdep.c: Include hppabsd-tdep.h.
(hppabsd_find_global_pointer): Make it static.
* hppabsd-tdep.h: New.
* hppanbsd-tdep.c: Include hppabsd-tdep.h.
(hppabsd_init_abi): Remove declaration.
(_initialize_hppabsd_tdep): Remove declaration.
(_initialize_hppanbsd_tdep): Declare.
* hppaobsd-tdep.c: Include hppabsd-tdep.h.
(hppabsd_init_abi): Delete declaration.
(hppaobsd_init_abi): Make it static.
* i386-nto-tdep.c (_initialize_i386nto_tdep): Declare.
* i386nbsd-tdep.c (_initialize_i386nbsd_tdep): Declare.
* ia64-linux-tdep.c (_initialize_ia64_linux_tdep): Declare.
* ia64-tdep.c (ia64_register_reggroup_p): Make it static.
* iq2000-tdep.c (_initialize_iq2000_tdep): Declare.
* m32c-tdep.c (m32c_register_reggroup_p): Make it static.
(m32c_analyze_prologue, m32c_virtual_frame_pointer): Ditto.
(_initialize_m32c_tdep): Declare.
* m32r-rom.c (_initialize_m32r_rom): Declare.
* m32r-tdep.c (m32r_skip_prologue): Make it static.
(m32r_return_value): Ditto.
* m68hc11-tdep.c (m68hc11_frame_unwind_cache): Make it static.
(m68hc11_return_value): Ditto.
* m68klinux-tdep.c (_initialize_m68k_linux_tdep): Declare.
* m88k-tdep.c (m88k_frame_cache): Make it static.
* mep-tdep.c (mep_gdb_print_insn): Ditto.
(mep_return_value): Ditto.
(_initialize_mep_tdep): Declare.
* mips-irix-tdep.c (_initialize_mips_irix_tdep): Declare.
* mips-linux-tdep.c (supply_64bit_reg): Make it static.
(mips_linux_syscall_next_pc): Ditto.
(_initialize_mips_linux_tdep): Declare.
* mips-tdep.c (mips_single_step_through_delay): Make it static.
* mipsnbsd-tdep.c (_initialize_mipsnbsd_tdep): Declare.
* mn10300-linux-tdep.c (_initialize_mn10300_linux_tdep): Declare.
* mn10300-tdep.c (_initialize_mn10300_tdep): Declare.
* mt-tdep.c (_initialize_mt_tdep): Declare.
* nbsd-tdep.c: Include nbsd-tdep.h.
* nto-tdep.c (find_load_phdr): Make it static.
(_initialize_nto_tdep): Declare.
* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Make it
static.
(_initialize_ppc_linux_tdep): Declare.
* remote-m32r-sdi.c (m32r_can_use_hw_watchpoint)
(m32r_insert_watchpoint, m32r_remove_watchpoint)
(m32r_stopped_data_address, m32r_stopped_by_watchpoint): Make
static.
* rs6000-aix-tdep.c (_initialize_rs6000_aix_tdep): Declare.
* rs6000-nat.c: Include xcoffread.h.
(find_toc_address): Don't extern declare get_toc_offset.  Adjust
to call xcoff_get_to_offset.
* rs6000-tdep.c (ppc_vsx_support_p, ppc_displaced_step_fixup)
(rs6000_skip_main_prologue, rs6000_in_solib_return_trampoline)
(rs6000_skip_trampoline_code): Make static.
* s390-tdep.c (s390_regset_from_core_section): Ditto.
* sh-tdep.c (sh_register_reggroup_p): Ditto.
* shnbsd-tdep.c (shnbsd_regset_from_core_section): Ditto.
(_initialize_shnbsd_tdep): Declare.
* solib-frv.c (displacement_from_map): Make static.
(_initialize_frv_solib): Declare.
* solib-irix.c (fetch_lm_info): Make static.
(_initialize_irix_solib): Declare.
* solib-som.c: Include solib-som.h.
(som_solib_select): Line break.
* sparc-tdep.c (sparc_regset_from_core_section): Make static.
* sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Rename to ...
(_initialize_sparcnbsd_tdep): ... this.
* spu-tdep.c (spu_software_single_step): Make it static.
(_initialize_spu_tdep): Declare.
* vax-tdep.c (vax_frame_cache): Make it static.
* xcoffread.c: Include xcoffread.h.
(get_toc_offset): Rename to ...
(xcoff_get_toc_offset): ... this.
(_initialize_xcoffread): Declare.
* xcoffread.h: New.
* xtensa-linux-tdep.c (_initialize_xtensa_linux_tdep): Declare.
* xtensa-tdep.c (xtensa_skip_prologue, xtensa_derive_tdep): Make
static.
(_initialize_xtensa_tdep): Declare.

15 years ago*** empty log message ***
gdbadmin [Sun, 22 Feb 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Sun, 22 Feb 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2008-02-21 Pedro Alves <pedro@codesorcery.com>
palves [Sat, 21 Feb 2009 16:14:45 +0000 (16:14 +0000)]
2008-02-21  Pedro Alves  <pedro@codesorcery.com>

Silence a few -Wmissing-prototypes warnings.

PR build/9877:
* amd64-nat.c: Include "amd64-nat.h".
* fork-child.c (_initialize_fork_child): Ditto.
* gcore.c (_initialize_gcore): Ditto.
* inf-ptrace.c: Include "inf-ptrace.h".
(inf_ptrace_store_registers): Make it static.
* linux-nat.c (linux_nat_terminal_ours): Make it static.
(_initialize_linux_nat): Declare before definition.
* linux-tdep.c: Include "linux-tdep.h".
* linux-thread-db.c (_initialize_thread_db): Declare before
definition.
* proc-service.c (_initialize_proc_service): Ditto.
* remote.c (remote_send_printf): Make it static.
* solib.c: Include "solib.h".
* symfile-mem.c (_initialize_symfile_mem): Declare before
definition.
* ada-lang.c (ada_la_decode, ada_match_name)
(ada_suppress_symbol_printing, ada_is_array_type)
(ada_value_ptr_subscript, ada_array_length)
(ada_to_static_fixed_value): Make them static.
(_initialize_ada_language): Declare before definition.
* ada-tasks.c (ada_get_task_number, ada_get_environment_task)
(ada_task_list_changed, ada_new_objfile_observer): Make them
static.
(_initialize_tasks): Declare before definition.
* addrmap.c (_initialize_addrmap): Declare before definition.
* auxv.c (default_auxv_parse): Make it static.
* bfd-target.c (target_bfd_xfer_partial, target_bfd_xclose): Make
them static.
* breakpoint.c (remove_sal): Add line break.
(expand_line_sal_maybe): Make it static.
* cp-name-parser.y: Include "cp-support.h".
* cp-valprint.c (cp_find_class_member): Make it static.
* eval.c (value_f90_subarray): Ditto.
* exceptions.c (print_any_exception): Ditto.
* findcmd.c (_initialize_mem_search): Declare before definition.
* frame.c (frame_observer_target_changed): Make it static.
* gnu-v3-abi.c (gnuv3_find_method_in): Make it static.
* inf-child.c: Include "inf-child.h".
* inferior.h (valid_inferior_id): Rename to ...
(valid_gdb_inferior_id): ... this.
* infrun.c (infrun_thread_stop_requested, siginfo_make_value):
Make them static.
* jv-lang.c (java_language_arch_info): Make it static.
* m2-typeprint.c (m2_get_discrete_bounds): Ditto.
* osdata.c (info_osdata_command): Make it static.
* regcache.c (regcache_observer_target_changed): Make it static.
* reverse.c (_initialize_reverse): Declare before definition.
* stabsread.c (cleanup_undefined_types_noname)
(cleanup_undefined_types_1): Make them static.
* symfile.c (place_section): Make it static.
* symtab.c (find_pc_sect_psymtab_closer): Make it static.
* target-descriptions.c (_initialize_target_descriptions): Declare
before definition.
* target.c (default_get_ada_task_ptid, find_default_can_async_p)
(find_default_is_async_p, find_default_supports_non_stop): Make
them static.
(target_supports_non_stop): Add prototype.
(dummy_pid_to_str): Make it static.
* utils.c (_initialize_utils): Declare before definition.
* ada-exp.y (_initialize_ada_exp): Declare before definition.
* solib-svr4.c (HAS_LM_DYNAMIC_FROM_LINK_MAP): Add a prototype.
* target.h (struct target_ops): Add a prototype to the
to_can_execute_reverse callback.
* macroscope.c (_initialize_macroscope): Declare before definition.
* cp-namespace.c (_initialize_cp_namespace): Declare before definition.
* python/python.c (_initialize_python): Declare before definition.
* tui/tui-command.c: Include "tui/tui-command.h".
* tui/tui-data.c (init_content_element, init_win_info): Make them
static.
* tui/tui-disasm.c: Include "tui/tui-disasm.h".
* tui/tui-interp.c (_initialize_tui_interp): Declare before
definition.
* tui/tui-layout.c: Include "tui/tui-layout.h".
(_initialize_tui_layout): Declare before definition.
* tui/tui-regs.c: Include "tui/tui-regs.h".
(tui_display_reg_element_at_line): Make it static.
(_initialize_tui_regs): Declare before definition.
* tui/tui-stack.c (_initialize_tui_stack): Declare before
definition.
* tui/tui-win.c: Include "tui/tui-win.h".
(_initialize_tui_win): Declare before definition.
(tui_sigwinch_handler): Make it static.  Wrap in ifdef SIGWINCH.
* tui/tui-win.h (tui_sigwinch_handler): Delete declaration.
(tui_get_cmd_list): Add a prototype.
* tui/tui-windata.c: Include tui-windata.h.
* tui/tui-wingeneral.c (box_win): Make it static.
* cli/cli-logging.c (show_logging_command): Make it static.
(_initialize_cli_logging): Declare before definition.
* mi/mi-common.c (_initialize_gdb_mi_common): Declare before
definition.

15 years agodaily update
amodra [Sat, 21 Feb 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sat, 21 Feb 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * vmsutil.c (vms_file_stats_name): Fix incorrect use of st_mtime
ccoutant [Fri, 20 Feb 2009 18:53:11 +0000 (18:53 +0000)]
* vmsutil.c (vms_file_stats_name): Fix incorrect use of st_mtime
in struct stat.

15 years ago * autoload.cc (NetLocalGroupEnum): Remove.
corinna [Fri, 20 Feb 2009 16:10:43 +0000 (16:10 +0000)]
* autoload.cc (NetLocalGroupEnum): Remove.
(NetLocalGroupGetMembers): Remove.
(NetUserGetLocalGroups): Add.
* sec_auth.cc (is_group_member): Remove function.
(get_user_local_groups): Get user as string instead of as SID.
Call NetUserGetLocalGroups instead of NetLocalGroupEnum.  Drop call
to is_group_member.
(get_server_groups): Call get_user_local_groups with user name instead
of user SID.

15 years ago * Extend use of i386_use_watchpoints to all i386 native files
muller [Fri, 20 Feb 2009 10:52:23 +0000 (10:52 +0000)]
* Extend use of i386_use_watchpoints to all i386 native files
using hardware watchpoints.
go32-nat.c (init_go32_ops): Call i386_use_watchpoints.
i386fbsd-nat.c (_initialize_i386fbsd_nat): Ditto.
windows-nat.c (init_windows_ops): Ditto.
config/i386/nm-cygwin.h: Define I386_WATCHPOINTS_IN_TARGET_VECTOR.
config/i386/nm-cygwin64.h: Ditto.
config/i386/nm-fbsd.h: Ditto.
config/i386/nm-go32.h: Ditto.

15 years ago*** empty log message ***
gdbadmin [Fri, 20 Feb 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Fri, 20 Feb 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago * ada-typeprint.c (ada_typedef_print): Remove. Unused.
brobecke [Thu, 19 Feb 2009 23:59:27 +0000 (23:59 +0000)]
    * ada-typeprint.c (ada_typedef_print): Remove.  Unused.

15 years agogas/testsuite/
bergner [Thu, 19 Feb 2009 21:18:46 +0000 (21:18 +0000)]
gas/testsuite/
* gas/ppc/e500mc.d ("lfdepx", "stfdepx"): Fix tests to expect a
floating point register.

opcodes/
* ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first
operand to be a float point register (FRT/FRS).

15 years ago * winver.rc: Fix Copyright date.
corinna [Thu, 19 Feb 2009 16:12:01 +0000 (16:12 +0000)]
* winver.rc: Fix Copyright date.

15 years ago * cygwin.din: Export mbsnrtowcs and wcsnrtombs.
corinna [Thu, 19 Feb 2009 09:22:51 +0000 (09:22 +0000)]
* cygwin.din: Export mbsnrtowcs and wcsnrtombs.
* posix.sgml: Move mbsnrtowcs and wcsnrtombs to SUSv4 section.
* include/cygwin/version.h: Bump API minor number.

15 years ago * libc/include/wchar.h (mbsnrtowcs): Declare.
corinna [Thu, 19 Feb 2009 09:19:40 +0000 (09:19 +0000)]
* libc/include/wchar.h (mbsnrtowcs): Declare.
(_mbsnrtowcs_r): Declare.
(wcsnrtombs): Declare.
(_wcsnrtombs_r): Declare.
* libc/stdlib/Makefile.am (ELIX_2_SOURCES): Add mbsnrtowcs.c
and wcsnrtombs.c.
* libc/stdlib/Makefile.in: Regenerate.
* libc/stdlib/mbsnrtowcs.c: New file, implementing _mbsnrtowcs_r
and mbsnrtowcs.  Document mbsnrtowcs and mbsrtowcs.
* libc/stdlib/mbsrtowcs.c (_mbsrtowcs_r): Just call _mbsnrtowcs_r.
(mbsrtowcs): Ditto.
* libc/stdlib/wcsnrtombs.c: New file, implementing _wcsnrtombs_r
and wcsnrtombs.  Document wcsrtombs and wcsnrtombs.
* libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Just call _wcsnrtombs_r.
(wcsrtombs): Ditto.
* libc/stdlib/stdlib.tex: Accommodate new documentation.

15 years agodaily update
amodra [Thu, 19 Feb 2009 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Thu, 19 Feb 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
jkratoch [Wed, 18 Feb 2009 22:24:37 +0000 (22:24 +0000)]
* gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
(list_and_check_macro): Use more specific test name.
(next to definition): Make the test names unique.

15 years ago2009-02-18 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 18 Feb 2009 21:28:41 +0000 (21:28 +0000)]
2009-02-18  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/open_memstream.c (internal_open_memstream_r): Fix max
        buffer size to be in wchar_t units if wide == 1 is passed in.  In
        this case, also initialize the first character of the buffer to be
        wide char null.
        (_open_wmemstream_r): Cast buf to be (char **) to avoid warning.
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Change all occurences of
        incrementing the size_t value n to first check that n is not already
        size_t -1.  Fix some compiler warnings.
        * libc/stdlib/wcstod.c: Add includes for <wctype.h> and <math.h>.

15 years agoopcodes/
nemet [Wed, 18 Feb 2009 20:51:58 +0000 (20:51 +0000)]
opcodes/
* mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific
dmfc2 and dmtc2 before the architecture-level variants.

gas/testsuite/
* gas/mips/octeon.s: Add more tests for dmfc2 and dmtc2.
* gas/mips/octeon.d: Update.
* gas/mips/octeon-ill.l: Update error message.

15 years ago * gdb.texinfo (GDB/MI Async Records): Add double-spaces
vprus [Wed, 18 Feb 2009 19:45:45 +0000 (19:45 +0000)]
   * gdb.texinfo (GDB/MI Async Records): Add double-spaces
       between sentences.

15 years ago PR gas/7059
davek [Wed, 18 Feb 2009 18:38:06 +0000 (18:38 +0000)]
PR gas/7059
* coffcode.h (coff_write_object_contents):  Don't let the string
table offset overflow the s_name field when using long section names.

15 years agobfd/ChangeLog
davek [Wed, 18 Feb 2009 18:23:06 +0000 (18:23 +0000)]
bfd/ChangeLog

* coff-alpha.c (alpha_ecoff_backend_data):  Initialise fields which
control long section name handling with ECOFF_NO_LONG_SECTION_NAMES.
* coff-mips.c (mips_ecoff_backend_data):  Likewise.
* coff-rs6000.c (bfd_xcoff_backend_data):  Initialise fields which
control long section name handling with XCOFF_NO_LONG_SECTION_NAMES.
(bfd_pmac_xcoff_backend_data):  Likewise.
* coff64-rs6000.c (bfd_xcoff_backend_data):  Likewise.
(bfd_xcoff_aix5_backend_data):  Likewise.
(xcoff64_write_object_contents):  Delete unused long_section_names
local variable.
* coff-sh.c (bfd_coff_small_swap_table):  Initialise long section
name members using COFF_DEFAULT_LONG_SECTION_NAMES and make entire
struct non-const.
* coffcode.h (documentation):  Update to describe long section names.
(COFFLONGSECTIONCATHELPER):  New helper macro.
(BLANKOR1TOODD):  Likewise.
(COFF_ENABLE_LONG_SECTION_NAMES):  Likewise.
(COFF_LONG_SECTION_NAMES_SETTER):  Likewise.
(COFF_DEFAULT_LONG_SECTION_NAMES):  Likewise.
(bfd_coff_set_long_section_names_allowed):  New function.
(bfd_coff_set_long_section_names_disallowed):  Likewise.
(struct bfd_coff_backend_data):  Add new backend hook function
pointer _bfd_coff_set_long_section_names.
(bfd_coff_set_long_section_names):  New backend hook.
(coff_write_object_contents):  Only generate long section names if
bfd_coff_long_section_names() indicates they are currently enabled.
(bfd_coff_std_swap_table):  Make non-const, and initialise long
section name fields using COFF_DEFAULT_LONG_SECTION_NAMES.
(ticoff0_swap_table):  Likewise to both.
(ticoff1_swap_table):  Again, likewise to both.
* coffgen.c (make_a_section_from_file):  Allow long section names
as inputs even if not currently allowed for outputs.
* ecoff.c (_bfd_ecoff_no_long_sections):  New function.
* efi-app-ia32.c (COFF_LONG_SECTION_NAMES):  Define to 0, not blank.
* efi-app-ia64.c (COFF_LONG_SECTION_NAMES):  Likewise.
* efi-app-x86_64.c (COFF_LONG_SECTION_NAMES):  Likewise.
* efi-bsdrv-ia32.c (COFF_LONG_SECTION_NAMES):  Likewise.
* efi-bsdrv-ia64.c (COFF_LONG_SECTION_NAMES):  Likewise.
* efi-bsdrv-x86_64.c (COFF_LONG_SECTION_NAMES):  Likewise.
* efi-rtdrv-ia32.c (COFF_LONG_SECTION_NAMES):  Likewise.
* efi-rtdrv-ia64.c (COFF_LONG_SECTION_NAMES):  Likewise.
* efi-rtdrv-x86_64.c (COFF_LONG_SECTION_NAMES):  Likewise.
* pei-arm.c (COFF_LONG_SECTION_NAMES):  Likewise.
* pei-i386.c (COFF_LONG_SECTION_NAMES):  Likewise.
* pei-mcore.c (COFF_LONG_SECTION_NAMES):  Likewise.
* pei-mips.c (COFF_LONG_SECTION_NAMES):  Likewise.
* pei-ppc.c (COFF_LONG_SECTION_NAMES):  Likewise.
* pei-sh.c (COFF_LONG_SECTION_NAMES):  Likewise.
* pei-x86_64.c (COFF_LONG_SECTION_NAMES):  Likewise.
* libcoff-in.h:  Update copyright year to cause updated copyright
year in generated libcoff.h, and fix typo.
* libcoff.h:  Regenerated.
* libecoff.h (ECOFF_NO_LONG_SECTION_NAMES):  New macro.
(_bfd_ecoff_no_long_sections):  Add prototype.
* libxcoff.h (XCOFF_NO_LONG_SECTION_NAMES):  New macro.
* pe-mips.c (COFF_LONG_SECTION_NAMES):  Define empty if not already
defined by an including .c file.
* ticoff.h (ticoff0_swap_table):  Make non-const, and initialise
long section name fields using COFF_DEFAULT_LONG_SECTION_NAMES.
(ticoff1_swap_table):  Likewise to both.

ld/ChangeLog

* ld.texinfo:  Update to mention long section name options.
* NEWS:  Mention new behaviour and command-line options.
* pe-dll.c (pe_use_coff_long_section_names):  New global variable.
(pe_output_file_set_long_section_names):  New function.
(pe_dll_build_sections):  Call it on output BFDs.
(pe_exe_build_sections):  Likewise.
(pe_dll_fill_sections):  Likewise.
(pe_exe_fill_sections):  Likewise.
* pe-dll.h (pe_use_coff_long_section_names):  Declare extern.
(pe_output_file_set_long_section_names):  Add prototype.
* pep-dll.c (pe_use_coff_long_section_names):  Define pep_ alias.
(pe_output_file_set_long_section_names):  Likewise.
* pep-dll.h (pep_use_coff_long_section_names):  Declare extern.
(pep_output_file_set_long_section_names):  Add prototype.
* pe.em (OPTION_ENABLE_LONG_SECTION_NAMES):  New getopt value macro.
(OPTION_DISABLE_LONG_SECTION_NAMES):  Likewise.
(gld${EMULATION_NAME}_add_options):  Add new options to xtra_long[].
(gld_${EMULATION_NAME}_list_options):  Describe them.
(gld${EMULATION_NAME}_handle_option):  Set or clear global
pe_use_coff_long_section_names flag when options recognised.
(gld_${EMULATION_NAME}_after_open):  En/disable long section names
for main output bfd by calling pe_output_file_set_long_section_names.
* pep.em (enum options):  Extend enum with new getopt option values.
(gld${EMULATION_NAME}_add_options):  Add new options to xtra_long[].
(gld_${EMULATION_NAME}_list_options):  Describe them.
(gld${EMULATION_NAME}_handle_option):  Set or clear global
pe_use_coff_long_section_names flag when options recognised.
(gld_${EMULATION_NAME}_after_open):  En/disable long section names
for main output bfd by calling pep_output_file_set_long_section_names.

ld/testsuite/ChangeLog

* ld-pe/longsecn-1.d:  New test file.
* ld-pe/longsecn-2.d:  Likewise.
* ld-pe/longsecn-3.d:  Likewise.
* ld-pe/longsecn-4.d:  Likewise.
* ld-pe/longsecn-5.d:  Likewise.
* ld-pe/longsecn.d:  Likewise.
* ld-pe/longsecn.exp:  New test control script.
* ld-pe/longsecn.s:  New test source file.

15 years ago * cygwin.din: Export open_wmemstream.
corinna [Wed, 18 Feb 2009 17:38:15 +0000 (17:38 +0000)]
* cygwin.din: Export open_wmemstream.
* posix.sgml: Move open_wmemstream to SUSv4 section.
* include/cygwin/version.h: Bump API minor number.

15 years ago * libc/stdio/open_memstream.c: Add open_wmemstream to doumentation.
corinna [Wed, 18 Feb 2009 17:35:23 +0000 (17:35 +0000)]
* libc/stdio/open_memstream.c: Add open_wmemstream to doumentation.
(struct memstream): Add wide element.
Change saved to a union to take char and wchar_t values.
(memwriter): Accommodate wide-oriented oeprations.
(memseeker): Ditto.
(memseeker64): Ditto.
(memcloser): Ditto.
(internal_open_memstream_r): New static function.  Take functionality
from former _open_memstream_r and handle additional "wide" parameter.
(_open_memstream_r): Just call internal_open_memstream_r with wide==-1
from here.
(_open_wmemstream_r): New function.
(open_wmemstream): Ditto.
* libc/include/wchar.h (open_wmemstream): Declare.
(_open_wmemstream_r): Declare.

15 years ago * fr30-opc.c: Regenerate.
nickc [Wed, 18 Feb 2009 17:13:03 +0000 (17:13 +0000)]
    * fr30-opc.c: Regenerate.
        * frv-opc.c: Regenerate.
        * ip2k-opc.c: Regenerate.
        * iq2000-opc.c: Regenerate.
        * lm32-opc.c: Regenerate.
        * m32c-opc.c: Regenerate.
        * m32r-opc.c: Regenerate.
        * mep-opc.c: Regenerate.
        * mt-opc.c: Regenerate.
        * xc16x-opc.c: Regenerate.
        * xstormy16-opc.c: Regenerate.
        * tic54x-dis.c (print_instruction): Avoid compiler warning on
        sprintf call.

        * opc-itab.scm (<>_cgen_init_opcode_table): Avoid compiler warning
        about calling memset with a zero length.

15 years ago2009-02-18 Christophe Lyon <christophe.lyon@st.com>
clyon [Wed, 18 Feb 2009 16:56:36 +0000 (16:56 +0000)]
2009-02-18  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (arm_build_one_stub): Fix relocation target for pic
stub. Catch default case error.
(arm_map_one_stub): Add missing Thumb mapping symbol.

testsuite/
* ld-arm/farcall-arm-arm-pic-veneer.d,
ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
ld-arm/farcall-arm-thumb-pic-veneer.d,
ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Fix expected stub
target.

15 years ago PR 9841
nickc [Wed, 18 Feb 2009 15:28:55 +0000 (15:28 +0000)]
    PR 9841
        * elf32-avr.c: Handle case where no local symbos exist correctly.

15 years ago * gdb.pascal/floats.exp: Accept approximate results everywhere.
muller [Wed, 18 Feb 2009 14:46:14 +0000 (14:46 +0000)]
* gdb.pascal/floats.exp: Accept approximate results everywhere.

15 years ago2009-02-16 Christophe Lyon <christophe.lyon@st.com>
clyon [Wed, 18 Feb 2009 12:45:38 +0000 (12:45 +0000)]
2009-02-16  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (arm_long_branch_stub,
arm_thumb_v4t_long_branch_stub,
arm_thumb_thumb_long_branch_stub,
arm_thumb_arm_v4t_long_branch_stub,
arm_thumb_arm_v4t_short_branch_stub,
arm_pic_long_branch_stub):
Renamed to elf32_arm_stub_long_branch_any_any,
elf32_arm_stub_long_branch_v4t_arm_thumb,
elf32_arm_stub_long_branch_thumb_only,
elf32_arm_stub_long_branch_v4t_thumb_arm,
elf32_arm_stub_short_branch_v4t_thumb_arm,
elf32_arm_stub_long_branch_any_any_pic.
(arm_stub_long_branch, arm_thumb_v4t_stub_long_branch,
arm_thumb_thumb_stub_long_branch,
arm_thumb_arm_v4t_stub_long_branch,
arm_thumb_arm_v4t_stub_short_branch, arm_stub_pic_long_branch):
Renamed to arm_stub_long_branch_any_any,
arm_stub_long_branch_v4t_arm_thumb,
arm_stub_long_branch_thumb_only,
arm_stub_long_branch_v4t_thumb_arm,
arm_stub_short_branch_v4t_thumb_arm,
arm_stub_long_branch_any_any_pic.

15 years ago * mi/mi-interp.c (mi_solib_loaded, mi_solib_unloaded): New.
vprus [Wed, 18 Feb 2009 07:28:31 +0000 (07:28 +0000)]
* mi/mi-interp.c (mi_solib_loaded, mi_solib_unloaded): New.
(mi_interpreter_init): Register the above.
* solib.c (clear_solib): Notify solib unload.
* breakpoint.c (disable_breakpoints_in_unloaded_shlib): Do not
disable breakpoints on a.out targets.

15 years ago*** empty log message ***
gdbadmin [Wed, 18 Feb 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Wed, 18 Feb 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago * observer.c (observer_test_first_notification_function)
vprus [Tue, 17 Feb 2009 19:52:24 +0000 (19:52 +0000)]
* observer.c (observer_test_first_notification_function)
(observer_test_second_notification_function)
(observer_test_third_notification_function): Adjust prototype.

15 years ago * Makefile.in (ALL_64_TARGET_OBS): Add amd64-dicos-tdep.o.
palves [Tue, 17 Feb 2009 17:56:49 +0000 (17:56 +0000)]
* Makefile.in (ALL_64_TARGET_OBS): Add amd64-dicos-tdep.o.
(ALL_TARGET_OBS): Add dicos-tdep.o.
(ALLDEPFILES): Add amd64-dicos-tdep.c and dicos-tdep.c.
* configure.tgt (i[34567]86-*-dicos*): Add dicos-tdep.o to
gdb_target_obs.
(x86_64-*-dicos*): Add dicos-tdep.o and amd64-dicos-tdep.o to
gdb_target_obs.
* dicos-tdep.h, dicos-tdep.c: New.
* amd64-dicos-tdep.c: New.
* i386-dicos-tdep.c: Don't include solib.h, solib-target.h or
inferior.h.  Include dicos-tdep.h.
(i386_dicos_init_abi): Call dicos_init_abi.
(i386_dicos_bfd_has_symbol_p): Delete.
(i386_dicos_osabi_sniffer): Use dicos_load_module_p.

* NEWS: Mention x86-64 DICOS target support.

15 years ago * amd64-tdep.c (amd64_skip_prefixes): Renamed from skip_prefixes.
devans [Tue, 17 Feb 2009 06:14:15 +0000 (06:14 +0000)]
* amd64-tdep.c (amd64_skip_prefixes): Renamed from skip_prefixes.
All callers updated.
(amd64_get_insn_details): Handle more 3-byte opcode insns.
(amd64_breakpoint_p): Delete.
(amd64_displaced_step_fixup): When fixing up after stepping an int3,
don't back up pc to the start of the int3.
* i386-tdep.c: #include opcode/i386.h.
(i386_skip_prefixes): New function.
(i386_absolute_jmp_p): Constify argument.
(i386_absolute_call_p,i386_ret_p,i386_call_p,i386_syscall_p): Ditto.
(i386_breakpoint_p): Delete.
(i386_displaced_step_fixup): Handle unnecessary or redundant prefixes.
When fixing up after stepping an int3, don't back up pc to the start
of the int3.

* gdb.arch/amd64-disp-step.S (test_int3): New test.
* gdb.arch/amd64-disp-step.exp (test_int3): New test.
* gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
(test_prefixed_syscall,test_int3): New tests.
* gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
(test_prefixed_syscall,test_int3): New tests.

15 years ago*** empty log message ***
gdbadmin [Tue, 17 Feb 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Tue, 17 Feb 2009 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago * cygwin.din: Export reallocf.
corinna [Mon, 16 Feb 2009 20:22:37 +0000 (20:22 +0000)]
* cygwin.din: Export reallocf.
* malloc_wrapper.cc( reallocf): New function.
* posix.sgml: Add reallocf to BSD section.
* include/cygwin/version.h: Bump API minor number.
* libc/fts.c: Remove erroneous reallocf definition.

15 years ago * cygwin.din: Export wcstoimax, wcstoumax.
corinna [Mon, 16 Feb 2009 15:36:00 +0000 (15:36 +0000)]
* cygwin.din: Export wcstoimax, wcstoumax.
* posix.sgml: Move wcstoimax and wcstoumax to SUSv4 section.
* include/inttypes.h: Declare wcstoimax and wcstoumax.
* include/cygwin/version.h: Bump API minor number.

15 years ago * libc/stdio/fputwc.c: Fix typo in man page info.
corinna [Mon, 16 Feb 2009 15:04:33 +0000 (15:04 +0000)]
* libc/stdio/fputwc.c: Fix typo in man page info.

15 years ago * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
davek [Mon, 16 Feb 2009 10:42:12 +0000 (10:42 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open):  Don't emit
inadvertent .reloc sections caused by refactoring accident.

15 years ago * gas/mips/e32-rel2.d: Adjust expected output to remove the 0x4000
nickc [Mon, 16 Feb 2009 09:19:31 +0000 (09:19 +0000)]
    * gas/mips/e32-rel2.d: Adjust expected output to remove the 0x4000
        offset.
        * gas/mips/e32el-rel2.d: Likewise.
        * gas/mips/elf-rel2.d: Likewise.
        * gas/mips/elf-rel9-mips16.d: Likewise.
        * gas/mips/elf-rel9.d: Likewise.
        * gas/mips/elfel-rel2.d: Likewise.
        * gas/mips/lb.d: Likewise.
        * gas/mips/mips-abi32.d: Likewise.
        * gas/mips/mips-gp32-fp32.d: Likewise.
        * gas/mips/mips-gp32-fp64.d: Likewise.
        * gas/mips/mips-gp64-fp32.d: Likewise.
        * gas/mips/mips-gp64-fp64.d: Likewise.
        * gas/mips/mips32-sf32.d: Likewise.

15 years ago * ldlang.c (process_insert_statements): ASSERT that output section
amodra [Mon, 16 Feb 2009 08:02:29 +0000 (08:02 +0000)]
* ldlang.c (process_insert_statements): ASSERT that output section
statements are in order.

15 years ago * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
amodra [Mon, 16 Feb 2009 07:25:52 +0000 (07:25 +0000)]
* ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
(stat_save, stat_save_ptr): New variables.
(lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
(load_symbols): Likewise.  Delete dead "bad_load" code.
(open_input_bfds): Warn on script containing output sections.
(lang_enter_output_section_statement): Use push_stat_ptr.
(lang_enter_group): Likewise.
(lang_leave_output_section_statement): Use pop_stat_ptr.
(lang_leave_group): Likewise.
* ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
* ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
* emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
* emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
* emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
* emultempl/spuelf.em (spu_place_special_section): Likewise.
* emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.

15 years ago * corelow.c (core_close): Don't hardcode the core's pid.
palves [Mon, 16 Feb 2009 03:16:22 +0000 (03:16 +0000)]
* corelow.c (core_close): Don't hardcode the core's pid.
(core_open): Find core threads before calling
post_create_inferior.
(add_to_thread_list, get_core_register_section): Take into account
systems where the regset section names encode the pid of the
inferior.

* gdbarch.sh (core_reg_section_encodes_pid): New gdbarch setting.
* gdbarch.h, gdbarch.c: Regenerate.

* amd64-sol2-tdep.c (amd64_sol2_init_abi): Set it.
* i386-sol2-tdep.c (i386_sol2_init_abi): Set it.
* sparc-sol2-tdep.c (sparc32_sol2_init_abi): Set it.
* sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Set it.

15 years agodaily update
amodra [Mon, 16 Feb 2009 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Mon, 16 Feb 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * elf-hppa.h (elf_hppa_final_link_relocate): Correct addend value used
danglin [Sun, 15 Feb 2009 19:39:43 +0000 (19:39 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Correct addend value used
in branch offset check.

15 years ago * elf64-ppc.c (struct _ppc64_elf_section_data): Delete t_symndx,
amodra [Sun, 15 Feb 2009 12:14:13 +0000 (12:14 +0000)]
* elf64-ppc.c (struct _ppc64_elf_section_data): Delete t_symndx,
add toc.symndx and toc.add.
(ppc64_elf_check_relocs): Don't set htab->tls_get_addr here.
Set up toc.add.
(get_tls_mask): Add toc_addend param, set from toc.add.  Adjust all
callers.
(ppc64_elf_tls_setup): Set htab->tls_get_addr and tls_get_addr_fd.
(branch_reloc_hash_match): New function, extracted from..
(ppc64_elf_tls_optimize): ..here.
(ppc64_elf_relocate_section): Properly set addends when optimizing
tls sequences.  Avoid unnecessary reading and writing of insns.
Only redo reloc when symbol changed.  Bypass symbol checks when
using tlsld_got.
* elf32-ppc.c (ppc_elf_tls_setup): Correct comment.
(branch_reloc_hash_match): New function, extracted from..
(ppc_elf_tls_optimize): ..here.
(ppc_elf_relocate_section): Avoid unnecessary reading of insns.
Don't clear addend on zapped __tls_get_addr reloc.

15 years agodaily update
amodra [Sun, 15 Feb 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 15 Feb 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years agoAdding gdb.python/python-cmd.exp which I forgot to commit earlier.
bauermann [Sat, 14 Feb 2009 21:58:29 +0000 (21:58 +0000)]
Adding gdb.python/python-cmd.exp which I forgot to commit earlier.

15 years ago * faq-using.xml: Fix usage of ampersand in NT emacs script.
corinna [Sat, 14 Feb 2009 20:56:48 +0000 (20:56 +0000)]
* faq-using.xml: Fix usage of ampersand in NT emacs script.

15 years ago * faq-using.xml: Expand Emacs entries.
corinna [Sat, 14 Feb 2009 20:52:50 +0000 (20:52 +0000)]
* faq-using.xml: Expand Emacs entries.

15 years ago Include frame information for *stopped due to CLI commands.
vprus [Sat, 14 Feb 2009 15:24:41 +0000 (15:24 +0000)]
    Include frame information for *stopped due to CLI commands.

        * ada-tasks.c (ada_normal_stop_observer): Adjust prototype.
        * infcmd.c (finish_command_continuation): Pass '1' for
        'print_frame' parameter to the observer.
        * infrun.c (normal_stop): Don't print mi-specific information
        here. Pass 'stop_print_frame' to the 'print_frame' parameter
        of the observer.
        * mi/mi-interp.c (mi_on_normal_stop): Adjust prototype.
        If we need to print frame, and current uiout is not the MI one,
        print frame again.

15 years ago * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
muller [Sat, 14 Feb 2009 00:27:55 +0000 (00:27 +0000)]
* lib/gdb.exp (get_hexadecimal_valueof): New procedure.
* gdb.base/pc-fp.exp (get_valueofx): Remove.
Replace calls to get_valueofx by get_hexadecimal_valueof.

15 years ago * remote-utils.c (getpkt): Also generate remote-debug
muller [Sat, 14 Feb 2009 00:07:51 +0000 (00:07 +0000)]
* remote-utils.c (getpkt): Also generate remote-debug
information if noack_mode is set.

15 years ago*** empty log message ***
gdbadmin [Sat, 14 Feb 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Sat, 14 Feb 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago * lib/gdb.exp (get_valueof): Accept anything as a return value.
muller [Fri, 13 Feb 2009 23:37:24 +0000 (23:37 +0000)]
* lib/gdb.exp (get_valueof): Accept anything as a return value.
(get_integer_valueof): New procedure.
(get_sizeof): Use new get_integer_value_of.
* gdb.base/sizeof.exp: Replace all uses of get_valueof
by get_integer_valueof.

15 years ago2009-02-13 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Fri, 13 Feb 2009 22:10:24 +0000 (22:10 +0000)]
2009-02-13  Pierre Muller  <muller@ics.u-strasbg.fr>

* xtensa-tdep.c (call0_analyze_prologue): Delete BSZ macro.
Replace BSZ macro uses by XTENSA_ISA_BSZ macro.

15 years ago (From Rafael Espindola)
ccoutant [Fri, 13 Feb 2009 19:04:44 +0000 (19:04 +0000)]
(From Rafael Espindola)
* archive.cc (Archive::include_member): Update calls to add_symbols.
* dynobj.cc (Sized_dynobj<size, big_endian>::make_version_map): Add
the Layout argument.
* dynobj.h (do_add_symbols): Add the Layout argument.
* object.cc (Sized_relobj<size, big_endian>::do_add_symbols): Add the
Layout argument.
* object.h (Object::add_symbols): Add the Layout argument.
(Object::do_add_symbols): Add the Layout argument.
(Sized_relobj::do_add_symbols): Add the Layout argument.
* plugin.cc (Sized_pluginobj<size, big_endian>::do_add_symbols):
Unify the two versions.
(Add_plugin_symbols): Remove.
* plugin.h (Pluginobj::add_symbols, Pluginobj::do_add_symbols): Remove.
(Sized_pluginobj::do_add_symbols): Unify the two versions.
(Add_plugin_symbols): Remove.
* readsyms.cc (Read_symbols::do_read_symbols): Update call to
Add_symbols. Use Add_symbols instead of Add_plugin_symbols.
(Add_symbols::run): Make it work with Pulginobj.

15 years ago * overview.sgml: Fix 1.7 release date.
corinna [Fri, 13 Feb 2009 18:41:32 +0000 (18:41 +0000)]
* overview.sgml: Fix 1.7 release date.

15 years ago * cygwin.din: Export wcsnlen.
corinna [Fri, 13 Feb 2009 18:39:37 +0000 (18:39 +0000)]
* cygwin.din: Export wcsnlen.
* posix.sgml: Move wcsnlen to SUSv4 section.
* include/cygwin/version.h: Bump API minor number.

15 years ago * environ.cc (_getenv_r): New function.
corinna [Fri, 13 Feb 2009 17:49:37 +0000 (17:49 +0000)]
* environ.cc (_getenv_r): New function.

15 years ago * gdb.base/remote.exp (get_sizeof): Remove.
tromey [Fri, 13 Feb 2009 16:13:47 +0000 (16:13 +0000)]
* gdb.base/remote.exp (get_sizeof): Remove.
* gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
* gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
* gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
* lib/gdb.exp (get_valueof): Move from long_long.exp.
(get_sizeof): Likewise.

15 years ago * posix.sgml: Move dirfd to SUSv4 section.
corinna [Fri, 13 Feb 2009 12:45:01 +0000 (12:45 +0000)]
* posix.sgml: Move dirfd to SUSv4 section.

15 years ago * cygwin-api.in.sgml: Fix API section layout.
corinna [Fri, 13 Feb 2009 12:23:21 +0000 (12:23 +0000)]
* cygwin-api.in.sgml: Fix API section layout.

15 years ago * posix.sgml: Move interfaces deprecated in SUSv4 to deprecated
corinna [Fri, 13 Feb 2009 12:19:25 +0000 (12:19 +0000)]
* posix.sgml: Move interfaces deprecated in SUSv4 to deprecated
interfaces section.  Move interfaces added in SUSv4 to SUSv4
section or, if unimplemented, add them to the unimplemented interfaces
section.

15 years ago * posix.sgml: Merge SUSv3 and SUSv4 section into a single SUSv4 section.
corinna [Fri, 13 Feb 2009 11:33:32 +0000 (11:33 +0000)]
* posix.sgml: Merge SUSv3 and SUSv4 section into a single SUSv4 section.
Move Solaris calls now in SUSv4 to SUSv4 section.  Rename unimplemented
section to refer to SUSv4.  Add note about missing interfaces.
Move wcstod and wcstof from unimplemented to SUSv4 section.

15 years ago * pathnames.sgml: Add a cygdrive section.
corinna [Fri, 13 Feb 2009 10:13:28 +0000 (10:13 +0000)]
* pathnames.sgml: Add a cygdrive section.

15 years ago * mount.cc (mount_info::from_fstab_line): Make cygdrive posix=0 by
corinna [Fri, 13 Feb 2009 09:05:42 +0000 (09:05 +0000)]
* mount.cc (mount_info::from_fstab_line): Make cygdrive posix=0 by
default as documented.

15 years ago * pathnames.sgml: Replace "binmode" with new "binary" output of mount.
corinna [Fri, 13 Feb 2009 09:04:51 +0000 (09:04 +0000)]
* pathnames.sgml: Replace "binmode" with new "binary" output of mount.

15 years ago * cygwin.din: Export wcstod and wcstof.
corinna [Fri, 13 Feb 2009 08:33:10 +0000 (08:33 +0000)]
* cygwin.din: Export wcstod and wcstof.
* include/cygwin/version.h: Bump API minor number.

15 years ago*** empty log message ***
gdbadmin [Fri, 13 Feb 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Thu, 12 Feb 2009 23:59:29 +0000 (23:59 +0000)]
daily update

15 years agoFix a typo.
brobecke [Thu, 12 Feb 2009 23:35:38 +0000 (23:35 +0000)]
Fix a typo.

15 years ago2009-02-12 Corinna Vinschen <corinna@vinschen.de>
jjohnstn [Thu, 12 Feb 2009 23:10:01 +0000 (23:10 +0000)]
2009-02-12  Corinna Vinschen  <corinna@vinschen.de>

        * libc/include/wchar.h (_wcstod_r): Declare.
        (_wcstof_r): Declare.
        (wcstod): Declare.
        (wcstof): Declare.
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstod.c.
        (CHEWOUT_FILES): Add wcstod.def.
        * libc/stdlib/Makefile.in: Regenerate.
        * libc/stdlib/stdlib.tex: Add wcstod.
        * libc/stdlib/wcstod.c: New file.

15 years ago * faq-using.xml: First cut on Emacs.
corinna [Thu, 12 Feb 2009 15:30:03 +0000 (15:30 +0000)]
* faq-using.xml: First cut on Emacs.

15 years ago PR 9827
nickc [Thu, 12 Feb 2009 15:06:54 +0000 (15:06 +0000)]
    PR 9827
        * elflink.c (bfd_elf_final_link): When counting the relocations,
        if the header size has not been set yet then assume that it will
        match the output section's reloc type.

15 years ago * faq-setup.xml: Revamp for Cygwin 1.7.
corinna [Thu, 12 Feb 2009 14:45:49 +0000 (14:45 +0000)]
* faq-setup.xml: Revamp for Cygwin 1.7.
* faq-using.xml: Ditto.

15 years ago * corefile.c (core_create_function_syms): Remove "<locore>" and
amodra [Thu, 12 Feb 2009 12:47:39 +0000 (12:47 +0000)]
    * corefile.c (core_create_function_syms): Remove "<locore>" and
        "<hicore>" sentinels.
        * gprof.c: Likewise.
        * cg_print.c (cg_print_function_ordering): Likewise.
        * alpha.c (alpha_find_call): Add check for return value of sym_lookup.
        * mips.c (mips_find_call): Likewise.
        * sparc.c (sparc_find_call): Likewise.
        * tahoe.c (tahoe_find_call): Likewise.
        * vax.c (vax_find_call): Likewise.

15 years agogdb/
jkratoch [Thu, 12 Feb 2009 09:15:06 +0000 (09:15 +0000)]
gdb/
PR fortran/9806
* dwarf2read.c (process_die <DW_TAG_module>, read_module)
(scan_partial_symbols <DW_TAG_module>, add_partial_module): New.

gdb/testsuite/
PR fortran/9806
* gdb.fortran/module.exp, gdb.fortran/module.f90: New.

15 years ago gas/
nathan [Thu, 12 Feb 2009 08:31:02 +0000 (08:31 +0000)]
gas/
* config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
(mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
(mcf5307_ctrl): Add VBR.
(no_mac): New variable.
(m68k_extensions): Refer to no_mac mask.
(m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
52252..52259, 53011..53017.
(m68k_ip): Process CPUCR.
(init_table): Add cpucr entry.
(m68k_set_extension): Allow negated mask to refer to a variable.
(md_show_usage): Use '%s' to silence fprintf warning.
* config/m68k-parse.h (CPUCR): New control register.

gas/testsuite/
* m68k/br-isac.d, m68k/br-isac.s: Add stldsr test.

opcodes/
* m68k-opc.c (m68k_opcodes): Add stldsr instruction.

15 years ago * elf32-mips.c (mips_elf_final_gp): Don't add 0x4000 offset for
nathan [Thu, 12 Feb 2009 08:28:19 +0000 (08:28 +0000)]
* elf32-mips.c (mips_elf_final_gp): Don't add 0x4000 offset for
relocatable link.

15 years ago*** empty log message ***
gdbadmin [Thu, 12 Feb 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Wed, 11 Feb 2009 23:59:30 +0000 (23:59 +0000)]
daily update

15 years ago2009-02-11 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Wed, 11 Feb 2009 22:30:03 +0000 (22:30 +0000)]
2009-02-11  Pierre Muller  <muller@ics.u-strasbg.fr>

* dwarf2read.c (read_base_type): Set code to TYPE_CODE_CHAR
for DW_ATE_signed_char and DW_ATE_unisgned_char
for pascal language.

15 years ago * faq-programming.xml: Revamp (mostely) for Cygwin 1.7.
corinna [Wed, 11 Feb 2009 18:22:50 +0000 (18:22 +0000)]
* faq-programming.xml: Revamp (mostely) for Cygwin 1.7.
* faq-what.xml: Ditto.

15 years ago * Makefile.in (FAQ_SOURCES): Define FAQ sources.
corinna [Wed, 11 Feb 2009 16:44:12 +0000 (16:44 +0000)]
* Makefile.in (FAQ_SOURCES): Define FAQ sources.
(faq/faq.html): Depend on FAQ sources.
(faq/faq-nochunks.html): Ditto.
* faq-api.xml: Revamp for Cygwin 1.7.
* faq-problems.xml: Remove.
* faq-sections.xml: Accommodate removal of faq-problems.xml.
* faq.xml: Ditto.

15 years ago Avoid NULL dereference.
jkratoch [Wed, 11 Feb 2009 16:07:28 +0000 (16:07 +0000)]
Avoid NULL dereference.
* stack.c (return_command): Guard use of SYMBOL_TYPE (thisfun).
New variable func_type.

15 years ago * syscalls.cc (open): Handle O_DIRECTORY flag.
corinna [Wed, 11 Feb 2009 16:06:37 +0000 (16:06 +0000)]
* syscalls.cc (open): Handle O_DIRECTORY flag.
* include/fcntl.h: Add SUSv4 flags O_DIRECTORY, O_EXEC and O_SEARCH.
* include/cygwin/version.h: Bump API minor number.

15 years ago * gdbarch.c: Regenerate.
palves [Wed, 11 Feb 2009 14:32:16 +0000 (14:32 +0000)]
* gdbarch.c: Regenerate.

15 years ago*** empty log message ***
gdbadmin [Wed, 11 Feb 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Tue, 10 Feb 2009 23:59:32 +0000 (23:59 +0000)]
daily update

15 years agomerge from gcc
dj [Tue, 10 Feb 2009 16:18:42 +0000 (16:18 +0000)]
merge from gcc

15 years ago * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
nathan [Tue, 10 Feb 2009 08:07:31 +0000 (08:07 +0000)]
* config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
as_bad calls to silence compiler warning.

15 years ago2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Tue, 10 Feb 2009 00:59:27 +0000 (00:59 +0000)]
2009-02-06  Paul Pluzhnikov  <ppluzhnikov@google.com>

* gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.