OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
15 years ago * regcache.c (new_register_cache): No need to check result of xcalloc.
devans [Mon, 19 Jan 2009 00:16:46 +0000 (00:16 +0000)]
* regcache.c (new_register_cache): No need to check result of xcalloc.
* server.c (handle_search_memory): Back out calls to xmalloc,
result is checked and error is returned to user upon failure.
(handle_query): Ditto.  Add more checks for result of malloc.
(handle_v_cont): Check result of malloc, report error back to
user upon failure.
(handle_v_run): Ditto.  Call freeargv.
* server.h (freeargv): Declare.
* utils.c (freeargv): New fn.

15 years agodaily update
amodra [Mon, 19 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update

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

15 years ago * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,
davek [Sun, 18 Jan 2009 23:12:15 +0000 (23:12 +0000)]
* configure.ac (funcs, vars, checkfuncs):  Don't munge on Cygwin,
as it no longer shares libiberty object files.
* configure:  Regenerated.

15 years ago * sim/cris/asm/opterr5.ms, sim/cris/asm/opterr4.ms,
hp [Sun, 18 Jan 2009 22:17:46 +0000 (22:17 +0000)]
* sim/cris/asm/opterr5.ms, sim/cris/asm/opterr4.ms,
sim/cris/asm/opterr3.ms, sim/cris/asm/bare3.ms: New tests.
* lib/sim-defs.exp (run_sim_test): New option progopts.

15 years ago * cris/sim-if.c: Include errno.h.
hp [Sun, 18 Jan 2009 22:17:03 +0000 (22:17 +0000)]
* cris/sim-if.c: Include errno.h.
(cris_start_address, cris_program_offset): New variables.
(OPTION_CRIS_PROGRAM_OFFSET, OPTION_CRIS_STARTADDR): New option
enums.
(cris_options): New options --cris-program-offset and
--cris-start-address.
(cris_option_handler): Handle new options.
(cris_program_offset_write, cris_set_section_offset_iterator)
(cris_offset_sections, cris_offset_sections): New functions.
(sim_load): Use cris_program_offset_write as function argument to
cris_load_elf_file, not sim_write.
(struct offsetinfo): New struct.
(cris_handle_interpreter): Fix typo in comment.
(sim_open): Call cris_offset_sections as soon as the bfd of the
infile is available.  Gate bfd validity checks on abfd non-NULL.
(sim_create_inferior): Let cris_start_address when != -1 override
other start-address choices.

15 years ago * tui/tui-disasm.c (tui_vertical_disassem_scroll): Scroll one line
palves [Sun, 18 Jan 2009 21:28:34 +0000 (21:28 +0000)]
* tui/tui-disasm.c (tui_vertical_disassem_scroll): Scroll one line
at a time, times NUM_TO_SCROLL.
* tui/tui-winsource.c (tui_horizontal_source_scroll): Don't try to
fetch the selected frame if there is no stack.

15 years ago PR gdb/9747:
palves [Sun, 18 Jan 2009 17:42:15 +0000 (17:42 +0000)]
PR gdb/9747:
* gdbthread.h (finish_thread_state, finish_thread_state_cleanup):
Declare.
* thread.c (finish_thread_state, finish_thread_state_cleanup): New.
* infrun.c (wait_for_inferior, fetch_inferior_event): If an error
is thrown while handling an event, finish the thread state.
(normal_stop): Use finish_thread_state cleanup.
* infcmd.c (run_command_1): If an error is thrown while starting
the inferior, finish the thread state.

15 years ago * tui/tui-winsource.c (tui_update_breakpoint_info): In asm layout,
palves [Sun, 18 Jan 2009 17:05:47 +0000 (17:05 +0000)]
* tui/tui-winsource.c (tui_update_breakpoint_info): In asm layout,
skip breakpoints without a location (pending breakpoints).

15 years ago * hppa-hpux-tdep.c (hppa_hpux_write_pc): Remove 'return'.
palves [Sun, 18 Jan 2009 01:24:10 +0000 (01:24 +0000)]
* hppa-hpux-tdep.c (hppa_hpux_write_pc): Remove 'return'.

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

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

15 years ago(thread_command): Move call to annotate_thread_changed
nickrob [Sat, 17 Jan 2009 20:39:52 +0000 (20:39 +0000)]
(thread_command): Move call to annotate_thread_changed
to...
(do_captured_thread_select): ... here, to avoid printing an
annotation if the thread change generates an exception.

15 years ago*** empty log message ***
nickrob [Sat, 17 Jan 2009 20:39:33 +0000 (20:39 +0000)]
*** empty log message ***

15 years ago * mmap.cc (mmap64): Fix condition checking if anonymous mapping beyond
corinna [Sat, 17 Jan 2009 17:20:36 +0000 (17:20 +0000)]
* mmap.cc (mmap64): Fix condition checking if anonymous mapping beyond
EOF is required.

15 years ago2009-01-11 Henry Nestler <henry@bigfoot.de>
ironhead [Sat, 17 Jan 2009 17:00:07 +0000 (17:00 +0000)]
2009-01-11  Henry Nestler  <henry@bigfoot.de>

        * lib/ddk/ntoskrnl.def: Enable ZwQueryEaFile, ZwSetEaFile, NtQueryEaFile,
        NtSetEaFile.

15 years ago * Makefile.in: Fix copyright date.
corinna [Sat, 17 Jan 2009 11:59:16 +0000 (11:59 +0000)]
* Makefile.in: Fix copyright date.
* cygcheck.cc (scan_registry): Take additional parameter and add code
to avoid recursion in Wow6432Node subkey.  Rename variable cygnus to
cygwin.  Scan for "Cygwin" instead of for "cygnus" substring.
(dump_sysinfo): Drop unused calls to scan_registry.  Drop scanning
HKEY_CURRENT_CONFIG.

15 years ago * fhandler_proc.cc: Reorganize global proc content data into a new
corinna [Sat, 17 Jan 2009 10:16:42 +0000 (10:16 +0000)]
* fhandler_proc.cc: Reorganize global proc content data into a new
struct proc_tab_t.  Accommodate throughout.
(format_proc_version): New function.
(format_proc_loadavg): New function.
(format_proc_self): New function.

* resource.cc (getrlimit): Return correct rlim_max value for
RLIMIT_NOFILE.

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

15 years ago*** empty log message ***
gdbadmin [Sat, 17 Jan 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago2009-01-16 Kai Tietz <kai.tietz@onevision.com>
ktietz [Fri, 16 Jan 2009 15:09:19 +0000 (15:09 +0000)]
2009-01-16  Kai Tietz  <kai.tietz@onevision.com>

* coffcode.h (styp_to_sec_flags): Correct interpretation of
IMAGE_SCN_MEM_DISCARDABLE.

15 years agold/
hjl [Fri, 16 Jan 2009 14:14:05 +0000 (14:14 +0000)]
ld/

2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>

* lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
(ld_options): Add -Ttext-segment.
(parse_args): Handle OPTION_TTEXT_SEGMENT.

* ld.texinfo: Document -Ttext-segment.

* NEWS: Mention -Ttext-segment.

* scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
(SHLIB_TEXT_START_ADDR): Likewise.

ld/testsuite/

2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/textaddr1.d: New.
* ld-elf/textaddr2.d: Likewise.

15 years ago * Fix copyright dates.
corinna [Fri, 16 Jan 2009 12:17:27 +0000 (12:17 +0000)]
* Fix copyright dates.

15 years ago * cygcheck.cc (dump_sysinfo): Raise size of osname. Add Windows 7
corinna [Fri, 16 Jan 2009 12:10:02 +0000 (12:10 +0000)]
* cygcheck.cc (dump_sysinfo): Raise size of osname.  Add Windows 7
and Windows 2008 R2 as recognized OSes.  Update products array to
the latest documented list.

15 years ago * cygcheck.cc (dump_sysinfo): Raise size of osname. Add Windows 7
corinna [Fri, 16 Jan 2009 12:09:34 +0000 (12:09 +0000)]
* cygcheck.cc (dump_sysinfo): Raise size of osname.  Add Windows 7
and Windows 2008 R2 as recognized OSes.  Update products array to
the latest documented list.

15 years ago2009-01-16 Mark Shinwell <shinwell@codesourcery.com>
jsm28 [Fri, 16 Jan 2009 11:38:14 +0000 (11:38 +0000)]
2009-01-16  Mark Shinwell  <shinwell@codesourcery.com>

* config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
* config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.

15 years ago2009-01-16 Andrew Stubbs <ams@codesourcery.com>
ams [Fri, 16 Jan 2009 10:26:47 +0000 (10:26 +0000)]
2009-01-16  Andrew Stubbs  <ams@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

gas/
* config/tc-arm.c (arm_copy_symbol_attributes): New function.
* config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
(CONVERT_SYMBOLIC_ATTRIBUTE): New define.
* read.c (s_vendor_attribute): Add support for symbolic tag names.
Improve string parser.
* doc/c-arm.texi (ARM Machine Directives): Document
.eabi_attribute symbolic tag names.

gas/testsuite/
* gas/arm/attr-syntax.d: New file.
* gas/arm/attr-syntax.s: New file.

15 years agoformatting
amodra [Fri, 16 Jan 2009 08:07:43 +0000 (08:07 +0000)]
formatting

15 years ago * Makefile.def (configure-opcodes): Depend on configure-libiberty.
amodra [Fri, 16 Jan 2009 08:06:15 +0000 (08:06 +0000)]
* Makefile.def (configure-opcodes): Depend on configure-libiberty.
* Makefile.def (all-opcodes): Depend on all-libiberty.
* Makefile.in: Regenerate.

15 years agobfd/
amodra [Fri, 16 Jan 2009 08:02:22 +0000 (08:02 +0000)]
bfd/
* Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute
SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS.
* configure.in (commonbfdlib): Delete.
(SHARED_LDFLAGS): Rename from WIN32LDFLAGS/
(SHARED_LIBADD): Rename from WIN32LIBADD.  Add pic libiberty if such
is available, not just for linux.
* po/SRC-POTFILES.in: Regenerate.
* Makefile.in: Regenerate.
* configure: Regenerate.
opcodes/
* configure.in (commonbfdlib): Delete.
(SHARED_LIBADD): Add pic libiberty if such is available.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
binutils/
* configure.in (commonbfdlib): Delete.
* configure: Regenerate.
gas/
* configure.in (commonbfdlib): Delete.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.

15 years ago * NEWS: Document x86_64/MinGW as a new native configuration.
brobecke [Fri, 16 Jan 2009 04:31:09 +0000 (04:31 +0000)]
    * NEWS: Document x86_64/MinGW as a new native configuration.

15 years ago * NEWS: Move the documentation of "info os processes" to
brobecke [Fri, 16 Jan 2009 04:28:24 +0000 (04:28 +0000)]
    * NEWS: Move the documentation of "info os processes" to
        the appropriate section (documenting the new commands).

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

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

15 years agofix another cut-n-paste error
devans [Thu, 15 Jan 2009 22:18:54 +0000 (22:18 +0000)]
fix another cut-n-paste error

15 years agofix cut-n-paste errors in previous checkin
devans [Thu, 15 Jan 2009 22:10:05 +0000 (22:10 +0000)]
fix cut-n-paste errors in previous checkin

15 years ago * target.h (target_signal_to_string): Make return type const char *.
devans [Thu, 15 Jan 2009 22:07:18 +0000 (22:07 +0000)]
* target.h (target_signal_to_string): Make return type const char *.
(target_signal_to_name): Ditto.
(target_signal_from_name): Make arg const char *.
* thread-db.c (thread_db_err_str): Make return type const char *.
* utils.c (perror_with_name): Make arg const char *.
* infrun.c (sig_print_info): Update.

* signals/signals.c (signals): Make array and struct members const.
(target_signal_to_string): Make return type const char *.
(target_signal_to_name): Ditto.
(target_signal_from_name): Make arg const char *.

* gdbserver/gdbreplay.c (perror_with_name): Make arg const char *.
* gdbserver/server.h (target_signal_to_name): Make return type
const char *.

15 years ago * object.cc (Sized_relobj::write_local_symbols): Don't write out
ian [Thu, 15 Jan 2009 18:10:54 +0000 (18:10 +0000)]
* object.cc (Sized_relobj::write_local_symbols): Don't write out
local symbols when stripping all symbols.

15 years ago2009-01-15 Andrew Stubbs <ams@codesourcery.com>
ams [Thu, 15 Jan 2009 18:00:48 +0000 (18:00 +0000)]
2009-01-15  Andrew Stubbs  <ams@codesourcery.com>
    Julian Brown   <julian@codesourcery.com>

bfd/
* elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known
ARM attributes in ABI 2.07.
* elf32-arm.c (get_secondary_compatible_arch): New function.
(set_secondary_compatible_arch): New function.
(tag_cpu_arch_combine): New function.
(elf32_arm_copy_one_eabi_other_attribute): Delete function.
(elf32_arm_copy_eabi_other_attribute_list): Delete function.
(elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to
make it fit with order_01243.
Add support for Tag_also_compatible_with,
Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use,
Tag_MPextension_use, Tag_nodefaults and Tag_conformance.
Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name,
Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension,
Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed,
Tag_VFP_arch and Tag_ABI_FP_16bit_format.
Rework the way unknown attributes are handled.
Defer errors until all attributes have been processed.

gas/
* config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.

include/elf/
* arm.h (TAG_CPU_ARCH_V6_M, TAG_CPU_ARCH_V6S_M): New defines.
(MAX_TAG_CPU_ARCH, TAG_CPU_ARCH_V4T_PLUS_V6_M): New defines.
(Tag_NEON_arch): Rename to Tag_Advanced_SIMD_arch to match ARM ABI
version 2.07.
(Tag_undefined39, Tag_nodefaults): New enum values.
(Tag_also_compatible_with, Tag_T2EE_use): Likewise.
(Tag_conformance, Tag_Virtualization_use): Likewise.
(Tag_undefined69, Tag_MPextension_use): Likewise.

15 years ago * solist.h (struct target_so_ops): New member bfd_open.
uweigand [Thu, 15 Jan 2009 16:35:21 +0000 (16:35 +0000)]
* solist.h (struct target_so_ops): New member bfd_open.
(solib_find): Add prototype.
(solib_bfd_fopen): Add prototype.
* solib.c (solib_find, solib_bfd_fopen): New functions, extracted
from solib_bfd_open.
(solib_bfd_open): Use ops->bfd_open override if present.  Call
solib_find and solib_bfd_open otherwise.

* objfiles.h (OBJF_KEEPBFD): New define.
* objfiles.c (free_objfile): Do not close BFD if OBJF_KEEPBFD
objfile flag is set.
* solib.c (symbol_add_stub): Do not allocate second BFD for
shared library; use OBJF_KEEPBFD flag on solib objfile.

15 years ago * frame.c (get_frame_arch): Abort if called with NULL this_frame.
uweigand [Thu, 15 Jan 2009 15:38:57 +0000 (15:38 +0000)]
* frame.c (get_frame_arch): Abort if called with NULL this_frame.

15 years ago * value.h (address_of_variable): Add prototype.
uweigand [Thu, 15 Jan 2009 15:38:06 +0000 (15:38 +0000)]
* value.h (address_of_variable): Add prototype.
(locate_var_value): Remove prototype.

* findvar.c (read_var_value): Do not attempt to default frame
to selected frame.
(locate_var_value): Remove function.
* valops.c (value_of_variable): Retrieve selected frame for
symbols that require a frame when called with NULL block.
* valops.c (address_of_variable): New function.

* eval.c (evaluate_subexp_for_address): Call address_of_variable
instead of calling locate_var_value.
(evaluate_subexp_with_coercion): Likewise.

15 years agooops - forgot to commit with the previous delta
nickc [Thu, 15 Jan 2009 13:30:00 +0000 (13:30 +0000)]
oops - forgot to commit with the previous delta

15 years ago2009-01-15 Andrew Stubbs <ams@codesourcery.com>
ams [Thu, 15 Jan 2009 13:03:05 +0000 (13:03 +0000)]
2009-01-15  Andrew Stubbs  <ams@codesourcery.com>

bfd/
* elf-attrs.c (bfd_elf_add_obj_attr_compat): Rename to
bfd_elf_add_obj_attr_int_string.
Read Tag_compatibility from its new location in the attribute array,
rather than the attribute list.
(_bfd_elf_copy_obj_attributes): bfd_elf_add_obj_attr_compat ->
bfd_elf_add_obj_attr_int_string.
(_bfd_elf_parse_attributes): Likewise.
(_bfd_elf_merge_object_attributes): There's now only one
Tag_compatibility, and it's in the array, not the list.
* elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 33 to include
Tag_compatibility.
(bfd_elf_add_obj_attr_compat): Rename to
bfd_elf_add_obj_attr_int_string.
(bfd_elf_add_proc_attr_compat): Rename to
bfd_elf_add_proc_attr_int_string.
* elf32-arm.c (elf32_arm_merge_eabi_attributes): Explicitly don't handle
Tag_compatibility.

gas/
* read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
bfd_elf_add_obj_attr_int_string.

15 years ago * configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support.
nickc [Thu, 15 Jan 2009 12:55:46 +0000 (12:55 +0000)]
    * configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support.
        * configure: Regenerate.

15 years ago * include/elf/ia64.h (SHT_IA_64_VMS_DISPLAY_NAME_INFO,
nickc [Thu, 15 Jan 2009 12:42:51 +0000 (12:42 +0000)]
    * include/elf/ia64.h (SHT_IA_64_VMS_DISPLAY_NAME_INFO,
        EF_IA_64_ARCHVER_1): New macros. Minor reformatting.

        * bfd/Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo
        (BFD32_BACKENDS_CFILES): Add new file vmsutil.c
        (vmsutil.lo): Add dependency rule
        * bfd/Makefile.in: Regenerate
        * bfd/config.bfd (ia64*-*-*vms*): Add case.
        * bfd/configure.in (bfd_elf64_ia64_vms_vec): Add case.
        * bfd/configure: Regenerate
        * bfd/vmsutil.[ch]: New files
        * bfd/elf-bfd.h (struct bfd_elf_special_section): Change type of
        attr to bfd_vma.
        * bfd/elfxx-ia64.c (elfNN_vms_post_process_headers,
        elfNN_vms_section_processing, elfNN_vms_final_write_processing,
        elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr,
        elfNN_vms_object_p): New functions
        * bfd/targets.c (bfd_elf64_ia64_vms_vec): New target.

        * gas/configure.tgt(ia64-*-*vms*): New target.
        * gas/dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
        * gas/tc.h (md_number_to_chars): Declare iff undefined.
        * gas/config/obj-elf.c (obj_elf_change_section): Change type of
        arg attr to bfd_vma.
        (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
        variables attr, md_attr to bfd_vma.
        (obj_elf_section_word): Likewise.
        (obj_elf_section): Change type of variable attr to bfd_vma
        * gas/config/obj-elf.h (obj_elf_change_section): Change type of
        arg attr to bfd_vma
        * gas/config/tc-ia64.c (bfdver.h,time.h): Include.
        (ia64_elf_section_letter): Now returns a bfd_vma.
        Handle VMS specific attributes.
        (ia64_elf_section_flags): Arg attr now a bfd_vma.
        (ia64_init): Don't turn on dependency checking for VMS.
        (ia64_target_format): Check for VMS flag bit.
        (do_alias): Hande decc$ functions.
        (get_vms_time): New function.
        (ia64_vms_note): New function.
        * gas/config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
        (ia64_elf_section_flags): Arg attr now a bfd_vma.
        (tc_init_after_args): Define for VMS.
        * gas/config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
        (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
        * gas/config/tc-alpha.h: Likewise.
        * gas/config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
        (x86_64_section_word): Return a bfd_vma.
        * gas/config/tc-i386.h: Likewise.
        * gas/config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
        attr to bfd_vma.
        * gas/config/tc-ip2k.h: Likewise.
        * gas/config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
        (mep_elf_section_flags): Change type of arg attr to bfd_vma.
        * gas/config/tc-mep.h: Likewise.
        * gas/config/tc-ppc.c  (ppc_section_letter): Return a bfd_vma.
        (ppc_section_word): Return a bfd_vma.
        (ppc_section_flags): Change type of arg attr to bfd_vma.
        * gas/config/tc-ppc.h: Likewise.
        * gas/config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
        DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
        New file with new macros
        * gas/dwarf2dbg.c (get_filenum, out_file_list): Default and call new
        macros.

15 years ago PR 9722
nickc [Thu, 15 Jan 2009 12:33:46 +0000 (12:33 +0000)]
    PR 9722
        * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
        instructions before generating a Thumb2 nop.

        * gas/testsuite/gas/arm/archv6m.d: Update expected NOP opcode.
        * gas/testsuite/gas/arm/pr9722.s: New test.
        * gas/testsuite/gas/arm/pr9722.d: Expected disassembly.

15 years agoopcodes/
bergner [Thu, 15 Jan 2009 04:27:28 +0000 (04:27 +0000)]
opcodes/
* ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
* ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
operand form and enable the four operand form for POWER6 and later.
<mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
three operand form for POWER6 and later.

gas/testsuite/
* gas/ppc/power6.s ("mtfsf", "mtfsf.", "mtfsfi", "mtfsfi."): Add tests.
* gas/ppc/power6.d: Likewise.

15 years ago * output.cc (Output_reloc): Add explicit instantiations.
ccoutant [Thu, 15 Jan 2009 02:18:11 +0000 (02:18 +0000)]
* output.cc  (Output_reloc): Add explicit instantiations.

15 years ago * archive.cc (Archive::get_elf_object_for_member): Remove call
ccoutant [Thu, 15 Jan 2009 01:29:25 +0000 (01:29 +0000)]
* archive.cc (Archive::get_elf_object_for_member): Remove call
to File_read::claim_for_plugin.
* descriptors.cc (Descriptors::open): Remove reference to
is_claimed.
(Descriptors::claim_for_plugin): Remove.
* descriptors.h (Descriptors::claim_for_plugin): Remove.
(Descriptors::is_claimed): Remove.
(claim_descriptor_for_plugin): Remove.
* fileread.cc (File_read::claim_for_plugin): Remove.
* fileread.h (File_read::claim_for_plugin): Remove.
(File_read::descriptor): Reopen descriptor if necessary.
* plugin.cc  (Plugin::load): Add two new APIs to transfer vector.
(Plugin_manager::all_symbols_read): Add task parameter. Change
all callers.
(Plugin_manager::get_input_file): New function.
(Plugin_manager::release_input_file): New function.
(Pluginobj::Pluginobj): Add filesize parameter and initialize
corresponding data member.
(Sized_pluginobj::Sized_pluginobj): Add filesize parameter
and pass to base constructor. Change all callers.
(get_input_file, release_input_file): New functions.
(make_sized_plugin_object): Add filesize parameter. Change all callers.
* plugin.h (Plugin_manager::Plugin_manager): Initialize task_ member.
(Plugin_manager::all_symbols_read): Add task parameter.
(Plugin_manager::get_input_file): New function.
(Plugin_manager::release_input_file): New function.
(Plugin_manager::task_): New data member.
(Pluginobj::Pluginobj): Add filesize parameter.
(Pluginobj::filename): New function.
(Pluginobj::descriptor): New function.
(Pluginobj::filesize): New function.
(Pluginobj::filesize_): New data member.
(Sized_pluginobj::Sized_pluginobj): Add filesize parameter.
* readsyms.cc (Read_symbols::do_read_symbols): Remove call to
File_read::claim_for_plugin; use Object::unlock to unlock the file.

* testsuite/Makefile.am (plugin_test_4): New test case for plugins
with archive libraries.
* testsuite/Makefile.in: Regenerate.
* testsuite/plugin_test.c (struct sym_info): New type.
(get_input_file, release_input_file): New static variables.
(onload): Capture new transfer vector entries.
(claim_file_hook): Stop reading at end of file according to filesize.
Factor out parsing of readelf output into separate function.
(all_symbols_read_hook): Exercise get_input_file and release_input_file
APIs and get the source file name from the symbol table.  Convert
source file name to corresponding object file name.  Print info
message when adding new input files.
(parse_readelf_line): New function.
* testsuite/plugin_test_1.sh: Add checks for new info messages.
* testsuite/plugin_test_2.sh: Likewise.
* testsuite/plugin_test_3.sh: Likewise.
* testsuite/plugin_test_4.sh: New test case.

15 years ago * plugin-api.h (LDPS_BAD_HANDLE): New constant.
ccoutant [Thu, 15 Jan 2009 01:28:14 +0000 (01:28 +0000)]
* plugin-api.h (LDPS_BAD_HANDLE): New constant.
(ld_plugin_get_input_file): New typedef.
(ld_plugin_release_input_file): New typedef.
(LDPT_GET_INPUT_FILE, LDPT_RELEASE_INPUT_FILE): New constants.
(struct ld_plugin_tv): Add two new fields.

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

15 years agodaily update
amodra [Thu, 15 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agobfd/
hjl [Wed, 14 Jan 2009 21:52:48 +0000 (21:52 +0000)]
bfd/

2009-01-14  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/9727
* elflink.c (elf_gc_sweep): Exclude the group section if the
first member of the section group is excluded.

ld/testsuite/

2009-01-14  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/9727
* ld-elf/group8.s: New.
* ld-elf/group8a.d: Likewise.
* ld-elf/group8b.d: Likewise.
* ld-elf/group9.s: Likewise.
* ld-elf/group9a.d: Likewise.
* ld-elf/group9b.d: Likewise.

15 years ago * NEWS: Document "define" for prefixed commands.
drow [Wed, 14 Jan 2009 20:40:07 +0000 (20:40 +0000)]
* NEWS: Document "define" for prefixed commands.
* cli/cli-cmds.c (show_user): Update calls to show_user_1.  Call
show_user_1 for prefix commands.
* cli/cli-decode.c (help_cmd_list): Recurse for "help user-defined".
* cli/cli-script.c (validate_comname): Rewrite to handle prefix
commands.  Return the containing command list.
(define_command, document_command): Update to handle prefix commands.
(show_user_1): Add prefix and name arguments.  Handle prefix
commands.
* cli/cli-script.h (show_user_1): Update prototype.

doc/
* gdb.texinfo (Define, Hooks): Document prefix command support.

testsuite/
* gdb.base/define.exp: Test defining and hooking prefix commands.
* gdb.python/python.exp: Update test for "show user" output.

15 years ago2009-01-14 Kai Tietz <kai.tietz@onevision.com>
ktietz [Wed, 14 Jan 2009 20:21:09 +0000 (20:21 +0000)]
2009-01-14  Kai Tietz  <kai.tietz@onevision.com>

* mingw-ser.c (console_select_thread): Add return to make
compiler happy.
(pipe_select_thread): Likewise.
(file_select_thread): Likewise.

15 years ago2009-01-14 Mike Frysinger <vapier@gentoo.org>
vapier [Wed, 14 Jan 2009 19:35:12 +0000 (19:35 +0000)]
2009-01-14  Mike Frysinger  <vapier@gentoo.org>

* bfin-dis.c (OUTS): Use "%s" as format string.

15 years ago2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Wed, 14 Jan 2009 15:43:20 +0000 (15:43 +0000)]
2009-01-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/tc-s390.h: Define LOCAL_LABEL_PREFIX.

15 years ago * mi/mi-main.c (mi_cmd_execute): Clean up parenthesis mess from
palves [Wed, 14 Jan 2009 15:21:54 +0000 (15:21 +0000)]
* mi/mi-main.c (mi_cmd_execute): Clean up parenthesis mess from
previous change.

15 years ago * remote.c (extended_remote_mourn_1): Invalidate our notion of
palves [Wed, 14 Jan 2009 15:00:19 +0000 (15:00 +0000)]
* remote.c (extended_remote_mourn_1): Invalidate our notion of
current general thread.

15 years ago * mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups
palves [Wed, 14 Jan 2009 14:21:58 +0000 (14:21 +0000)]
* mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups
without a live selected thread.

15 years ago * win32-low.c (get_child_debug_event): Issue a final DBG_CONTINUE
palves [Wed, 14 Jan 2009 13:42:27 +0000 (13:42 +0000)]
* win32-low.c (get_child_debug_event): Issue a final DBG_CONTINUE
when handling a EXIT_PROCESS_DEBUG_EVENT.

15 years agoCleanup code related to --identify option.
nickc [Wed, 14 Jan 2009 11:55:43 +0000 (11:55 +0000)]
Cleanup code related to --identify option.

        * binutils/dlltool.c (file scope): Removed globals identify_ms,
        identify_member_contains_symname_result,
        identify_dll_name_list_head, and identify_dll_name_list_tail.
        Renamed existing typedef dll_name_list_type to
        dll_name_list_node_type.
        Added new typedefs dll_name_list_type, symname_search_data_type,
        and identify_data_type.
        (identify_append_dll_name_to_list): Renamed to...
        (dll_name_list_append): ...here.  Changed signature to accept list
        argument rather than use global.
        (identify_count_dll_name_list): Renamed to...
        (dll_name_list_count): ...here.  Changed signature to accept list
        argument rather than use global.
        (identify_print_dll_name_list): Renamed to...
        (dll_name_list_print): ...here.  Changed signature to accept list
        argument rather than use global.
        (identify_free_dll_name_list): Renamed to...
        (dll_name_list_free_contents): ...here.
        (dll_name_list_free): New function.
        (dll_name_list_create): New function.
        (identify_process_section_p): Changed signature to accept
        ms_style_implib argument rather than use global.
        (identify_member_contains_symname): Expect incoming void * data to
        be symname_search_data_type.
        (identify_dll_for_implib): Use new functions dll_name_list_create
        and dll_name_list_free.  Use new types symname_search_data_type
        and identify_data_type to communicate with search routines.
        (identify_search_section): Expect incoming void * data to be
        identify_data_type. Use its contents rather than global
        variables.

15 years ago2009-01-14 Joseph Myers <joseph@codesourcery.com>
jsm28 [Wed, 14 Jan 2009 11:47:07 +0000 (11:47 +0000)]
2009-01-14  Joseph Myers  <joseph@codesourcery.com>
            Carlos O'Donell  <carlos@codesourcery.com>

Fixes for makeinfo --html.

* annotate.texinfo: Use @copying and @insertcopying.  Use
@ifnottex in place of @ifinfo.
* gdb.texinfo: Use @copying and @insertcopying.  Use @ifnottex in
place of @ifinfo.  Use @ifnotinfo for one index entry.
* gdbint.texinfo: Use @copying and @insertcopying.  Use @ifnottex
in place of @ifinfo.
* stabs.texinfo: Use @copying and @insertcopying.  Use @ifnottex
in place of @ifinfo.  Include contents at start unconditionally.

15 years ago Update the copyright notice of some of the files I missed
brobecke [Wed, 14 Jan 2009 10:53:04 +0000 (10:53 +0000)]
    Update the copyright notice of some of the files I missed
        in the previous copyright update.

15 years ago * windows-nat.c (handle_unload_dll): Use %p to print the DLL
brobecke [Wed, 14 Jan 2009 05:27:48 +0000 (05:27 +0000)]
    * windows-nat.c (handle_unload_dll): Use %p to print the DLL
        base address instead of casting it to DWORD.

15 years agomissed commit
amodra [Wed, 14 Jan 2009 01:26:18 +0000 (01:26 +0000)]
missed commit

15 years ago2009-01-13 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 14 Jan 2009 00:42:07 +0000 (00:42 +0000)]
2009-01-13  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Remove a white space.
(operand_type_init): Likewise.

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

15 years agodaily update
amodra [Wed, 14 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago PR 9735
amodra [Tue, 13 Jan 2009 23:44:44 +0000 (23:44 +0000)]
PR 9735
* syms.c (_bfd_stab_section_find_nearest_line): Don't free
saved filename, use bfd_alloc rather than bfd_malloc for it.

15 years ago * gdb.texinfo (General Query Packets): Remove @var{} around the
palves [Tue, 13 Jan 2009 19:05:53 +0000 (19:05 +0000)]
* gdb.texinfo (General Query Packets): Remove @var{} around the
"spu" literal string.

15 years ago * dwarf2loc.c (dwarf2_evaluate_loc_desc): Do not call get_frame_arch
uweigand [Tue, 13 Jan 2009 18:01:48 +0000 (18:01 +0000)]
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Do not call get_frame_arch
for NULL frame pointers.

15 years agoFix a typo.
hjl [Tue, 13 Jan 2009 15:49:13 +0000 (15:49 +0000)]
Fix a typo.

15 years ago * utils.c (host_address_to_string): Reimplement in a way that
brobecke [Tue, 13 Jan 2009 12:06:59 +0000 (12:06 +0000)]
    * utils.c (host_address_to_string): Reimplement in a way that
        avoids the cast of the address to long.

15 years ago * mdebugread.c (parse_symbol): Save the symbol private data
brobecke [Tue, 13 Jan 2009 11:52:43 +0000 (11:52 +0000)]
    * mdebugread.c (parse_symbol): Save the symbol private data
        using SYMBOL_VALUE_BYTES instead of SYMBOL_VALUE.
        (psymtab_to_symtab_1): Likewise.
        (parse_procedure): Declare variable "e" only in the scope
        where it is used. Extract the symbol private data using
        SYMBOL_VALUE_BYTES.

15 years ago2009-01-13 Jim Blandy <jimb@codesourcery.com>
palves [Tue, 13 Jan 2009 10:34:30 +0000 (10:34 +0000)]
2009-01-13  Jim Blandy  <jimb@codesourcery.com>

Abstract out common code for copying value locations.

* value.h (set_value_component_location): New declaration.
* value.c (set_value_component_location): New function.
(value_primitive_field): Use it.
* valarith.c (value_subscript, value_subscripted_rvalue): Same.
* valops.c (search_struct_field, value_slice): Same.
* ada-lang.c (coerce_unspec_val_to_type)
(ada_value_primitive_packed_val): Same.

15 years ago * MAINTAINERS (GLOBAL MAINTAINERS): Add Tom Tromey.
brobecke [Tue, 13 Jan 2009 10:04:12 +0000 (10:04 +0000)]
    * MAINTAINERS (GLOBAL MAINTAINERS): Add Tom Tromey.

15 years ago * libc/getopt.c (parse_long_options): Use fix from NetBSD's getopt
corinna [Tue, 13 Jan 2009 09:58:43 +0000 (09:58 +0000)]
* libc/getopt.c (parse_long_options): Use fix from NetBSD's getopt
to avoid false ambiguities.

15 years agoAdd --identify-strict option. Handle ms-style implibs:
nickc [Tue, 13 Jan 2009 09:23:50 +0000 (09:23 +0000)]
Add --identify-strict option.  Handle ms-style implibs:

        * dlltool.c (file scope): Added new globals identify_ms and
        identify_strict. New typedef dll_name_list_type, and globals
        identify_dll_name_list_head and identify_dll_name_list_tail. Added
        new global identify_member_contains_symname_result.
        (identify_append_dll_name_to_list): New function.
        (identify_count_dll_name_list): New function.
        (identify_print_dll_name_list): New function.
        (identify_free_dll_name_list): New function.
        (identify_search_archive): Changed signature to take function
        pointer to operation to apply to each member, and data to pass on
        to that function.
        (identify_search_member): Changed signature to accept user data
        from caller.
        (identify_member_contains_symname): New function.
        (identify_dll_for_implib): Rewrite. Now determines whether implib
        is ms- or binutils- style, before searching sections for
        dllname. Allows multiple dllnames.
        (identify_process_section_p): Search alternate section for dllname
        when implib is ms-style.
        (identify_search_section): Add additional conditions to excludes
        candidate sections from consideration.
        (usage): Added --identify-strict.
        (long_options): Added --identify-strict.
        (main): Handle --identify-strict option.
        * doc/binutils.texi: Document --identify-strict option.
        * NEWS: Document --identify and --identify-strict options.

15 years ago PR 7034
amodra [Tue, 13 Jan 2009 06:41:53 +0000 (06:41 +0000)]
PR 7034
* doc/binutils.texi (objdump -R): Note effect of -d or -D.

15 years ago* amd64-windows-nat.c Rename gdb-specific win32_* to windows_* throughout.
cgf [Tue, 13 Jan 2009 04:14:06 +0000 (04:14 +0000)]
* amd64-windows-nat.c Rename gdb-specific win32_* to windows_* throughout.
* i386-cygwin-tdep.c: Ditto.
* i386-windows-nat.c: Ditto.
* windows-nat.h: Ditto.
* windows-tdep.c: Ditto.
* windows-tdep.h: Ditto.
* windows-nat.c: Ditto.
(cygwin_load_start): Redefine as CORE_ADDR.
(cygwin_load_end): Ditto.
(windows_make_so): Coerce result of address arithmetic to to uintptr_t before
coercing to CORE_ADDR to avoid a compiler warning.
(handle_exception): Define addr as CORE_ADDR and coerce ExceptionAddress to
uintptr_t before assigining to avoid a compiler warning.
* config/djgpp/fnchange.lst: Add mappings for recently renamed windows files.

15 years ago * ld-spu/icache1.s: New file.
amodra [Tue, 13 Jan 2009 01:54:15 +0000 (01:54 +0000)]
* ld-spu/icache1.s: New file.
* ld-spu/icache1.d: New file.

15 years agogas/testsuite/
hjl [Tue, 13 Jan 2009 00:00:35 +0000 (00:00 +0000)]
gas/testsuite/

2009-01-12  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/sse-noavx.s: Add tests for lfence, mfence and movnti.
* gas/i386/x86-64-sse-noavx.s: Likewise.

* gas/i386/sse-noavx.d: Updated.
* gas/i386/x86-64-sse-noavx.d: Likewise.

opcodes/

2009-01-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Add NoAVX to movnti, lfence and mfence.
* i386-tbl.h: Regenerated.

15 years ago*** empty log message ***
gdbadmin [Tue, 13 Jan 2009 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Tue, 13 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2009-01-12 Nathan Froyd <froydnj@codesourcery.com>
jjohnstn [Mon, 12 Jan 2009 23:32:36 +0000 (23:32 +0000)]
2009-01-12  Nathan Froyd  <froydnj@codesourcery.com>

        * libc/machine/powerpc/vfscanf.c (__sccl): Remove declaration.

15 years ago2009-01-12 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 12 Jan 2009 22:19:11 +0000 (22:19 +0000)]
2009-01-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/fwalk.c (__fwalk, __fwalk_reent): Remove locking of
        each fp.  Let the function being called lock the fp, if necessary.

15 years ago * ppc-instructions (sync): Add L field.
froydnj [Mon, 12 Jan 2009 20:04:36 +0000 (20:04 +0000)]
* ppc-instructions (sync): Add L field.

15 years agoUpdate gas/i386/sse2avx-opts.d, gas/i386/sse2avx-opts-intel.d,
hjl [Mon, 12 Jan 2009 16:53:07 +0000 (16:53 +0000)]
Update gas/i386/sse2avx-opts.d, gas/i386/sse2avx-opts-intel.d,
gas/i386/x86-64-sse2avx-opts.d and gas/i386/x86-64-sse2avx-opts-intel.d.

15 years agogas/testsuite/
hjl [Mon, 12 Jan 2009 16:04:09 +0000 (16:04 +0000)]
gas/testsuite/

2009-01-12  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/opts.s: Add tests for add, adc, and, cmp, or, sbb,
sub and xor.
* gas/i386/x86-64-opts.s: Likewise.

* gas/i386/opts.d: Updated.
* gas/i386/opts-intel.d: Likewise.
* gas/i386/x86-64-opts.d: Likewise.
* gas/i386/x86-64-opts-intel.d: Likewise.

opcodes/

2009-01-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
subB, xorB and cmpB.  Use EvS on addS, orS, adcS, sbbS, andS,
subS, xorS and cmpS.

15 years ago * syscalls.cc (enum bin_status): New type.
corinna [Mon, 12 Jan 2009 15:51:22 +0000 (15:51 +0000)]
* syscalls.cc (enum bin_status): New type.
(try_to_bin): Return bin_status.  Rename win32_path to pc.  Rename h
to fh.  Rename fh to tmp_fh.  Add code to set delete dispostion and
more code to replace file moved to bin by another, temporary file.
Add comments to explain why.
(unlink_nt): Replace move_to_bin with bin_stat.  Only set bin_stat
to move_to_bin for non-remote files.  As a last resort, call try_to_bin
if setting delete-on-close failed.  Only re-set R/O DOS attribute
and only close handle if it's still valid.

15 years ago * elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute.
amodra [Mon, 12 Jan 2009 14:13:02 +0000 (14:13 +0000)]
* elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute.

15 years ago * objdump.c (disassemble_section): Don't assume non-instruction
amodra [Mon, 12 Jan 2009 14:09:18 +0000 (14:09 +0000)]
* objdump.c (disassemble_section): Don't assume non-instruction
data if object symbol at given address is in different section.

15 years ago * ld-elf/elf.exp: Save and restore LDFLAGS.
amodra [Mon, 12 Jan 2009 13:57:58 +0000 (13:57 +0000)]
* ld-elf/elf.exp: Save and restore LDFLAGS.
* ld-scripts/default-script.exp: Likewise.
* ld-scripts/empty-orphan.exp: Likewise, and add to LDFLAGS rather
than replacing.
* ld-scripts/include.exp: Set --local-store for SPU.

15 years agoreally regenerate this time
amodra [Mon, 12 Jan 2009 13:56:41 +0000 (13:56 +0000)]
really regenerate this time

15 years ago * elf32-spu.c (remove_cycles): Always set call->max_depth.
amodra [Mon, 12 Jan 2009 13:56:02 +0000 (13:56 +0000)]
* elf32-spu.c (remove_cycles): Always set call->max_depth.

15 years ago2009-01-12 Kai Tietz <kai.tietz@onevision.com>
ktietz [Mon, 12 Jan 2009 10:14:12 +0000 (10:14 +0000)]
2009-01-12  Kai Tietz  <kai.tietz@onevision.com>

        * dlltool.c (create_for_pep): New.
        (flush_page): Use create_for_pep instead of using
        macro DLLTOOL_MX86_64 clause.
        (generate_idata_ofile): Likewise.
        (make_one_lib_file): Likewise.
        (make_head): Likewise.
        (make_tail): Likewise.
        (main): Initialize create_for_pep.

15 years ago * elf32-spu.c (spu_elf_auto_overlay): Correct vma mask.
amodra [Mon, 12 Jan 2009 04:09:43 +0000 (04:09 +0000)]
* elf32-spu.c (spu_elf_auto_overlay): Correct vma mask.

15 years agoFix linking with --enable-targets=all:
cgf [Mon, 12 Jan 2009 01:10:26 +0000 (01:10 +0000)]
Fix linking with --enable-targets=all:
* Makefile.in (ALL_TARGET_OBS): Add windows-tdep.o.
(HFILES_NO_SRCDIR): Add windows-tdep.h.
(ALLDEPFILES): Add windows-tdep.c.
* win32-tdep.h: Delete.
* windows-tdep.h: Rename from win32-tdep.h.
* win32-nat.h: Delete.
* windows-nat.h: Rename from win32-nat.h.
* win32-nat.c: Delete.
* windows-nat.c: Rename from win32-nat.c.
* win32-termcap.c: Delete.
* windows-termcap.c: Rename from win32-termcap.c.
* amd64-windows-nat.c: Handle rename from win32-nat.h -> windows-nat.h.
* configure.ac: Handle rename from win32-termcap.c -> windows-termcap.c.
* configure: Regenerate.
* gdb_curses.h: Change comment to reflect rename from win32-termcap.c ->
windows-termcap.c.
* i386-cygwin-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h.
* i386-windows-nat.c: Refect rename from win32-nat.h -> windows-nat.h.
* windows-nat.c: Ditto.  Also reflect rename from from win32-tdep.h ->
windows-tdep.h.
(win32_make_so): Handle cygwin compiler warning due to change of load_addr from
DWORD to LPVOID.
(handle_load_dll): Use %p in format string to properly print address and avoid
a compiler warning.
(DEBUG_EXCEPTION_SIMPLE): Ditto.
(handle_exception): Ditto.
* windows-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h.
* config/i386/cygwin.mh: Handle rename from win32-nat.o -> windows-nat.o.
* config/i386/mingw.mh: Ditto.
* config/i386/mingw64.mh: Ditto.