OSDN Git Service

pf3gnuchains/sourceware.git
17 years ago(varobj_update): Remove unused local. Use gdb_assert
nickrob [Tue, 27 Feb 2007 22:00:39 +0000 (22:00 +0000)]
(varobj_update): Remove unused local.  Use gdb_assert
to check changelist is non-NULL.  Call error if the frontend tries
to update a non-root variable.

17 years ago*** empty log message ***
nickrob [Tue, 27 Feb 2007 21:58:57 +0000 (21:58 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
nickrob [Tue, 27 Feb 2007 21:51:57 +0000 (21:51 +0000)]
*** empty log message ***

17 years ago* gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
nickrob [Tue, 27 Feb 2007 21:45:34 +0000 (21:45 +0000)]
* gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
* gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
* gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
* gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
* gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
Revert tests to use mi_gdb_test and include value field in output
of -var-create.

17 years ago * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
drow [Tue, 27 Feb 2007 20:17:16 +0000 (20:17 +0000)]
* dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
(dwarf2_frame_sniffer): Update.
(dwarf2_signal_frame_this_id): New function.
(dwarf2_signal_frame_unwind): Use it.
(dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block.
* frame.c (frame_func_unwind): Add this_type argument.
(get_frame_func): Update.
(frame_unwind_address_in_block): Add this_type argument and check it.
Fix a typo.
(get_frame_address_in_block): Update.
* frame.h (enum frame_type): Move higher in the file.
(frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type
argument.

* alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c,
arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c,
hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c,
libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c,
m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c,
mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c,
score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c,
sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c,
xstormy16-tdep.c, xtensa-tdep.c: Update calls to
frame_func_unwind and frame_unwind_address_in_block to specify
the frame type.  Use frame_unwind_address_in_block instead of
frame_pc_unwind in sniffers.

* gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.

17 years ago * frame.c (deprecated_selected_frame): Rename to...
drow [Tue, 27 Feb 2007 19:46:03 +0000 (19:46 +0000)]
* frame.c (deprecated_selected_frame): Rename to...
(selected_frame): ...this.  Make static.
(get_selected_frame, select_frame): Update.
* frame.h (deprected_select_frame): Delete.
(deprecated_safe_get_selected_frame): Update comments.

* breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c,
infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c,
tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c,
parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c,
tui/tui.c: Replace references to deprecated_selected_frame.

17 years ago * armos.c (SWIflen): Do not treate file descriptor zero as
mmitchel [Tue, 27 Feb 2007 18:51:57 +0000 (18:51 +0000)]
* armos.c (SWIflen): Do not treate file descriptor zero as
special.

17 years ago * path.cc (close_user_proc_parms_cwd_handle): Remove.
corinna [Tue, 27 Feb 2007 18:38:21 +0000 (18:38 +0000)]
* path.cc (close_user_proc_parms_cwd_handle): Remove.
(cwdstuff::init): Don't call close_user_proc_parms_cwd_handle.
Call set to set cwd with all-sharing handle.
(cwdstuff::set): Fix comment.  Don't close cwd handle.  Set in
user parameter block instead and close old cwd handle.
* syscalls.cc (rename): Call unlink_nt instead of RemoveDirectory or
DeleteFile to allow deleting shared files/directories.

17 years agoReviewed by Mark Kettenis <mark.kettenis@xs4all.nl>
fnf [Tue, 27 Feb 2007 17:29:48 +0000 (17:29 +0000)]
Reviewed by Mark Kettenis <mark.kettenis@xs4all.nl>

2007-02-27  Fred Fish  <fnf@specifix.com>
* rs6000-tdep.c (skip_prologue): Recognize addi instructions that
directly decrement the stack pointer, accumulate their operand into
the stack offset, and mark the function as not being frameless.

17 years ago * terminal.h: Check HAVE_SGTTY_H.
drow [Tue, 27 Feb 2007 17:23:34 +0000 (17:23 +0000)]
* terminal.h: Check HAVE_SGTTY_H.

17 years agofrom Mat Hostetter <mat@lcs.mit.edu>
drow [Tue, 27 Feb 2007 17:21:35 +0000 (17:21 +0000)]
from  Mat Hostetter  <mat@lcs.mit.edu>
* remote-utils.c (remote_open): Print out the assigned port number.

17 years ago * gdb.base/maint.exp: Remove full paths from test names.
drow [Tue, 27 Feb 2007 13:54:04 +0000 (13:54 +0000)]
* gdb.base/maint.exp: Remove full paths from test names.
* gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.

17 years ago * fhandler.cc(fhandler_base::open): Open with READ_CONTROL only in
corinna [Tue, 27 Feb 2007 12:58:54 +0000 (12:58 +0000)]
* fhandler.cc(fhandler_base::open): Open with READ_CONTROL only in
case of query_open flag set to query_read_control.  Add case for
new query_read_attributes flag.
(fhandler_base::fstatvfs): New method.
* fhandler.h (enum query_state): Add query_read_attributes flag.
(class fhandler_base): Declare new virtual fstatvfs method.
(class fhandler_socket): Ditto.
(class fhandler_pipe): Ditto.
(class fhandler_fifo): Ditto.
(class fhandler_disk_file): Ditto.
(class fhandler_virtual): Ditto.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Open with
query_read_attributes instead of query_read_control.
(fhandler_disk_file::fstatvfs): New method.
(fhandler_disk_file::facl): Open with query_read_attributes instead of
query_read_control.
* fhandler_fifo.cc (fhandler_fifo::fstatvfs): New method.
* fhandler_socket.cc (fhandler_socket::fstatvfs): New method.
(fhandler_socket::fchmod): Return with EBADF in the default case.
(fhandler_socket::fchown): Ditto.
(fhandler_socket::facl): Ditto.
* fhandler_virtual.cc (fhandler_virtual::fstatvfs): Ditto.
* ntdll.h (struct _FILE_FS_ATTRIBUTE_INFORMATION): Define.
(struct _FILE_FS_FULL_SIZE_INFORMATION): Define.
* pipe.cc (fhandler_pipe::fstatvfs): New method.
* syscalls.cc (fstatvfs): Just call the fhandler's fstatvfs.
(statvfs): Ditto.
(fstatfs): Call fstatvfs.
(statfs): Drop EFAULT handling.

17 years ago * binutils-all/objcopy.exp: Skip for uclinux targets.
nathan [Tue, 27 Feb 2007 12:19:16 +0000 (12:19 +0000)]
* binutils-all/objcopy.exp: Skip for uclinux targets.

17 years ago * mt-spu (all-ld): Depend on all-binutils.
amodra [Tue, 27 Feb 2007 09:02:43 +0000 (09:02 +0000)]
* mt-spu (all-ld): Depend on all-binutils.
also fix previous ChangeLog entry

17 years agomissed from last commit
amodra [Tue, 27 Feb 2007 08:35:17 +0000 (08:35 +0000)]
missed from last commit

17 years ago * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
amodra [Tue, 27 Feb 2007 08:33:25 +0000 (08:33 +0000)]
* Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
(eelf32_spu.c): Adjust dependencies.
* Makefile.in: Regenerate.
* emultempl/spuelf.em (ovl_mgr): New array.  Insert spu_ovl.o
code using bin2c.
(_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
(ovl_mgr_stream): Update.
* emultempl/spu_inc.s: Delete.
* emultempl/spu_none.s: Delete.

17 years ago * bin2c.c: New file.
amodra [Tue, 27 Feb 2007 08:31:45 +0000 (08:31 +0000)]
* bin2c.c: New file.
* Makefile.am (EXTRA_PROGRAMS): Add bin2c.
(CFILES): Add bin2c.c.
(bin2c_SOURCES): Define.
(bin2c.o): Dependencies from "make dep-am".
* configure.in (BUILD_MISC): Add bin2c.
* version.c: Update year.
* po/POTFILES.in: Regenerate.
* Makefile.in: Regenerate.
* configure: Regenerate.

17 years ago * elf32-spu.h (struct _ovl_stream): Make "start" and "end" const.
amodra [Tue, 27 Feb 2007 08:29:52 +0000 (08:29 +0000)]
* elf32-spu.h (struct _ovl_stream): Make "start" and "end" const.
* elf32-spu.c (ovl_mgr_pread): Add const to casts.

17 years ago * config/tc-m68hc11.c (fixup24): Correct fixup size.
amodra [Tue, 27 Feb 2007 08:15:17 +0000 (08:15 +0000)]
* config/tc-m68hc11.c (fixup24): Correct fixup size.
(build_jump_insn): Likewise.
(build_insn): Likewise.
(s_m68hc11_relax): Likewise.

17 years ago2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
dannysmith [Tue, 27 Feb 2007 07:40:12 +0000 (07:40 +0000)]
2007-02-27  Thorsten Dahlheimer  <tdahlheim@gmx.net>

* include/stdio.h (_unlink, unlink): Add prototypes.

17 years ago * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
amodra [Tue, 27 Feb 2007 07:16:31 +0000 (07:16 +0000)]
* config/obj-elf.c (elf_frob_file): frag_wane any new frags.

17 years ago * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
brobecke [Tue, 27 Feb 2007 06:43:27 +0000 (06:43 +0000)]
    * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.

17 years ago*** empty log message ***
gdbadmin [Tue, 27 Feb 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Mon, 26 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agomerge from gcc
dj [Mon, 26 Feb 2007 22:14:03 +0000 (22:14 +0000)]
merge from gcc

17 years ago * arch-utils.c (selected_byte_order): New.
drow [Mon, 26 Feb 2007 20:13:18 +0000 (20:13 +0000)]
* arch-utils.c (selected_byte_order): New.
* arch-utils.h (selected_byte_order): New prototype.
* remote-sim.c (gdbsim_open): Use selected_byte_order.

17 years ago * gdb.texinfo (Monitor commands for gdbserver): New subsection.
drow [Mon, 26 Feb 2007 20:10:17 +0000 (20:10 +0000)]
* gdb.texinfo (Monitor commands for gdbserver): New subsection.

* remote-utils.c (monitor_output): New function.
* server.c (debug_threads): Define here.
(monitor_show_help): New function.
(handle_query): Handle qRcmd.
(main): Do not handle 'd' packet.
* server.h (debug_threads, remote_debug, monitor_output): Declare.
* linux-low.c, spu-low.c, win32-i386-low.c: Remove definitions
of debug_threads.

* gdb.server/server-mon.exp: New test.

17 years ago * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
drow [Mon, 26 Feb 2007 20:04:38 +0000 (20:04 +0000)]
* symfile.c (place_section): Check SEC_ALLOC.  Do not check VMA.
(default_symfile_offsets): Check VMA here.  Update section VMAs.

* gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.

17 years ago * remote.c (init_remote_state): Add special handling for placeholder
drow [Mon, 26 Feb 2007 19:23:16 +0000 (19:23 +0000)]
* remote.c (init_remote_state): Add special handling for placeholder
registers.

17 years ago * Makefile.in (XMLFILES): Include $(TDEP_XML).
drow [Mon, 26 Feb 2007 19:20:20 +0000 (19:20 +0000)]
* Makefile.in (XMLFILES): Include $(TDEP_XML).
(filenames_h): New variable.
(clean): Clean up xml-builtin.c and stamp-xml.
(arm-linux-nat.o): Update.
* config/arm/linux.mh (TDEP_XML): Define.
* arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
(arm_linux_has_wmmx_registers): New.
(GET_THREAD_ID): Fix typo.
(IWMMXT_REGS_SIZE): Define.
(fetch_wmmx_regs, store_wmmx_regs): New.
(arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs.
(arm_linux_store_inferior_registers): Use store_wmmx_regs.
(super_xfer_partial, arm_linux_xfer_partial): New.
(_initialize_arm_linux_nat): Use them.
* xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT.
(xml_builtin_xfer_partial): New function.
* xml-support.h (xml_builtin_xfer_partial): New prototype.
* NEWS: Update mention of iWMMXt support.

17 years ago * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
drow [Mon, 26 Feb 2007 19:18:51 +0000 (19:18 +0000)]
* arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
if there are no FPA registers.
(arm_dwarf_reg_to_regnum): New function.
(arm_register_type, arm_register_name): Return minimal values for
unsupported registers.
(arm_register_sim_regno): Handle iWMMXt registers.
(arm_gdbarch_init): Record missing FPA registers if indicated by
a target description.  Recognize iWMMXt registers.  Only register
"info float" for FPA.  Use ARM_NUM_REGS.  Register
arm_dwarf_reg_to_regnum.
* arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
constants.
(struct gdbarch_tdep): Add have_fpa_registers.
* features/xscale-iwmmxt.xml: Update capitalization.
* regformats/arm-with-iwmmxt.dat: Regenerated.

* src/gdb/doc/gdb.texinfo (Standard Target Features): Mention
case insensitivity.
(ARM Features): Describe org.gnu.gdb.xscale.iwmmxt.

* gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
register capitalization.

17 years agoAdd missing files.
brolley [Mon, 26 Feb 2007 16:25:47 +0000 (16:25 +0000)]
Add missing files.

17 years ago * fhandler.cc (fhandler_base::fstat): Set all file times to arbitrary
corinna [Mon, 26 Feb 2007 14:19:00 +0000 (14:19 +0000)]
* fhandler.cc (fhandler_base::fstat): Set all file times to arbitrary
fixed value.

17 years ago * fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA.
corinna [Mon, 26 Feb 2007 12:39:25 +0000 (12:39 +0000)]
* fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA.
(registry_keys): Drop HKEY_DYN_DATA.
* net.cc: Fix comment.
* syslog.cc: Ditto.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Drop comment.
corinna [Mon, 26 Feb 2007 12:22:41 +0000 (12:22 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Drop comment.
* mmap.cc (gen_access): Remove.
(mmap_record::gen_access): Remove.
(mmap64): Don't mention 9x any longer.
* syscalls.cc (statvfs): Drop status code consideration for 9x.
* libc/minires-os-if.c (get_registry_dns_items): Don't mention 9x any
longer.
(get_registry_dns): Drop getting registry key on 9x.  Drop is9x
variable.

17 years ago * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
amodra [Mon, 26 Feb 2007 08:58:15 +0000 (08:58 +0000)]
* emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
to _binary_spu_ovl_o_start.
(_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
(spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
* emultempl/spu_inc.s: Rename symbols.
* emultempl/spu_none.s: New file.
* emultempl/spu_ovl.S: Update copyright.
* Makefile.am (spu_inc.o): Try building with ld -r first, then
gas incbin, then build without overlay manager.
* Makefile.in: Regenerate.

17 years ago*** empty log message ***
gdbadmin [Mon, 26 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sun, 25 Feb 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years ago * Makefile.in (EXEEXT): New.
palves [Sun, 25 Feb 2007 19:44:29 +0000 (19:44 +0000)]
* Makefile.in (EXEEXT): New.
(clean): Use $(EXEEXT).

17 years ago * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
shinwell [Sun, 25 Feb 2007 19:29:25 +0000 (19:29 +0000)]
* config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.

17 years ago * target.h (target_ops): Rename send_signal to request_interrupt,
palves [Sun, 25 Feb 2007 17:59:43 +0000 (17:59 +0000)]
* target.h (target_ops): Rename send_signal to request_interrupt,
and remove enum target_signal parameter.
* linux-low.c (linux_request_interrupt): Rename from
linux_send_signal, and always send SIGINT.
* spu-low.c (spu_request_interrupt): Rename from spu_send_signal,
and always send SIGINT.
* remote-utils.c (putpkt_binary): Call request_interrupt, instead
of send_signal.
(input_interrupt): Likewise.

17 years ago * server.c (get_features_xml): Check if target implemented
palves [Sun, 25 Feb 2007 17:40:10 +0000 (17:40 +0000)]
* server.c (get_features_xml): Check if target implemented
arch_string.
* win32-i386-low.c (win32_arch_string): New.
(win32_target_ops): Add win32_arch_string as arch_string member.

17 years ago*** empty log message ***
gdbadmin [Sun, 25 Feb 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sat, 24 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * NEWS (New targets): Add entry for the Toshiba Media Processor.
kevinb [Sat, 24 Feb 2007 17:37:27 +0000 (17:37 +0000)]
* NEWS (New targets): Add entry for the Toshiba Media Processor.

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

17 years ago * MAINTAINERS (mep): New target.
kevinb [Fri, 23 Feb 2007 23:02:50 +0000 (23:02 +0000)]
* MAINTAINERS (mep): New target.

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

17 years agoAdd support for new target, Toshiba Media Processor (MeP).
kevinb [Fri, 23 Feb 2007 22:50:40 +0000 (22:50 +0000)]
Add support for new target, Toshiba Media Processor (MeP).

17 years ago2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 23 Feb 2007 18:29:31 +0000 (18:29 +0000)]
2007-02-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/math/w_pow.c: Fix typo in documentation comment.

17 years agobfd/
carlos [Fri, 23 Feb 2007 17:38:07 +0000 (17:38 +0000)]
bfd/

2007-02-23  Carlos O'Donell  <carlos@codesourcery.com>

* dwarf2.c (_bfd_dwarf2_find_nearest_line): Assume 32-bit
DWARF even with 64-bit addresses.
(_bfd_dwarf2_find_nearest_line): Likewise.

17 years ago Throughout remove all usage of wincap.has_security.
corinna [Fri, 23 Feb 2007 15:15:48 +0000 (15:15 +0000)]
Throughout remove all usage of wincap.has_security.
* environ.cc (environ_init): Drop setting allow_ntsec here.
* grp.cc (initgroups32): Drop usage of label "out".
* security.cc (allow_ntsec): Set to true by default.
* syscalls.cc (seteuid32): Remove label success_9x.
* wincap.cc: Remove has_security throughout.
* wincap.h: Ditto.

17 years ago * fhandler.h (class fhandler_pipe): Remove members writepipe_exists,
corinna [Fri, 23 Feb 2007 14:47:45 +0000 (14:47 +0000)]
* fhandler.h (class fhandler_pipe): Remove members writepipe_exists,
orig_pid and id.  Make hit_eof inline.
* fhandler_fifo.cc (fhandler_fifo::open): Drop handling of
writepipe_exists, orig_pid and id.
* pipe.cc: Ditto throughout.
(pipecount): Remove.
(pipeid_fmt): Remove.
(fhandler_pipe::hit_eof): Simplify.  Move to fhandler.h.
(fhandler_pipe::dup): Drop leave label.
(fhandler_pipe::create): Drop has_unreliable_pipes case.
* wincap.cc: Remove has_unreliable_pipes throughout.
* wincap.h: Ditto.

17 years ago * devices.in: Change native device name to native NT device name for
corinna [Fri, 23 Feb 2007 14:20:27 +0000 (14:20 +0000)]
* devices.in: Change native device name to native NT device name for
/dev/null, /dev/comX and /dev/ttySx.
* devices.cc: Regenerate.
* fhandler.cc (fhandler_base::open_9x): Remove.
(fhandler_base::open): Don't test for DOS device name, don't call
open_9x.
(fhandler_dev_null::open): Remove.
* fhandler.h (class fhandler_base): Drop open_9x declaration.
(class fhandler_dev_null): Drop open declaration.

17 years ago * fhandler_console.cc (fhandler_console::need_invisible): Drop
corinna [Fri, 23 Feb 2007 12:01:52 +0000 (12:01 +0000)]
* fhandler_console.cc (fhandler_console::need_invisible): Drop
pty_needs_alloc_console check.
* spawn.cc (spawn_guts): Ditto.
(av::fixup): Remove setting iscui.
* syscalls.cc (rename): Drop has_move_file_ex checks.  Remove 9x
specific code.
* wincap.cc: Remove has_move_file_ex and pty_needs_alloc_console
throughout.
* wincap.h: Ditto.

17 years agoPR binutils/3535
nickc [Fri, 23 Feb 2007 11:47:47 +0000 (11:47 +0000)]
PR binutils/3535
* elf.c (copy_private_bfd_data): Always rewrite the program headers when a
  Solaris interpreter segment is involved.

17 years ago Throughout remove using wincap.
corinna [Fri, 23 Feb 2007 11:43:48 +0000 (11:43 +0000)]
Throughout remove using wincap.
* Makefile.in (OBJS): Remove wincap.o.
* README: Don't mention 9x.
* bsd_mutex.cc (_mtx_unlock): Drop checking for 9x error codes.
* cygserver.cc (server_submission_loop::request_loop): Add FIXME
comment.
* wincap.cc: Remove.
* wincap.h: Remove.
* woutsup.h: Don't include wincap.h.

17 years ago * exceptions.cc (dummy_ctrl_c_handler): Remove.
corinna [Fri, 23 Feb 2007 10:51:58 +0000 (10:51 +0000)]
* exceptions.cc (dummy_ctrl_c_handler): Remove.
(init_console_handler): Drop has_null_console_handler_routine checks.
* fhandler_raw.cc (fhandler_dev_raw::open): Drop has_raw_devices check.
* fhandler_serial.cc (fhandler_serial::open): Drop
.supports_reading_modem_output_lines check.
* miscfuncs.cc (low_priority_sleep): Drop has_switch_to_thread check.
* shared.cc (open_shared): Drop needs_memory_protection checks.
* spawn.cc (spawn_guts): Drop start_proc_suspended check.
* uname.cc (uname): Drop has_valid_processorlevel check.
* wincap.cc: Remove has_raw_devices, has_valid_processorlevel,
supports_reading_modem_output_lines, needs_memory_protection,
has_switch_to_thread, start_proc_suspended and
has_null_console_handler_routine throughout.
* wincap.h: Ditto.

17 years ago * fhandler.cc (fhandler_base::lseek): Drop 9x considerations.
corinna [Fri, 23 Feb 2007 09:49:48 +0000 (09:49 +0000)]
* fhandler.cc (fhandler_base::lseek): Drop 9x considerations.
* fhandler_disk_file.cc (fhandler_disk_file::lock): Ditto.
* wincap.cc: Remove lock_file_highword and has_64bit_file_access
throughout.
* wincap.h: Ditto.

17 years ago*** empty log message ***
gdbadmin [Fri, 23 Feb 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Thu, 22 Feb 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
amodra [Thu, 22 Feb 2007 22:34:16 +0000 (22:34 +0000)]
* config/tc-mn10300.c (md_convert_frag): Correct fixup size.
(md_assemble): Likewise.

17 years ago* s390-opc.c (INSTR_SS_L2RDRD): New.
dj [Thu, 22 Feb 2007 21:01:58 +0000 (21:01 +0000)]
* s390-opc.c (INSTR_SS_L2RDRD): New.
(MASK_SS_L2RDRD): New.
* s390-opc.txt (pka): Use it.

* gas/s390/esa-g5.s: Adjust for corrected PKA syntax.
* gas/s390/esa-g5.d: Adjust for corrected PKA syntax.

17 years ago * cygheap.h (struct cwdstuff): Remove sync member and keep_in_sync
corinna [Thu, 22 Feb 2007 18:01:09 +0000 (18:01 +0000)]
* cygheap.h (struct cwdstuff): Remove sync member and keep_in_sync
accessors.
* external.cc (cygwin_internal): Drop call to cygheap->cwd.keep_in_sync.
* fhandler_disk_file.cc (fhandler_disk_file::link): Always presume
ability to create hard links.
* path.cc (cwdstuff::init): Drop 9x considerations.
(cwdstuff::keep_in_sync): Remove.
(cwdstuff::set): Take NT for granted.
* pinfo.h (cygwin_pid): Just return pid.
* wincap.cc: Remove has_hard_links, can_open_directories,
has_negative_pids, has_named_pipes, has_try_enter_critical_section,
cant_debug_dll_entry and detect_win16_exe throughout.
* wincap.h: Ditto.

17 years ago * spu-low.c (spu_arch_string): New.
uweigand [Thu, 22 Feb 2007 17:41:37 +0000 (17:41 +0000)]
    * spu-low.c (spu_arch_string): New.
        (spu_target_ops): Add spu_arch_string.

17 years ago * fhandler_console.cc (fhandler_console::read): Drop 9x specific
corinna [Thu, 22 Feb 2007 17:35:13 +0000 (17:35 +0000)]
* fhandler_console.cc (fhandler_console::read): Drop 9x specific
handling of AltGr key.
* mmap.cc: Take NT for granted throughout.
* wincap.cc: Remove map_view_of_file_ex_sucks, altgr_is_ctrl_alt,
has_working_copy_on_write, share_mmaps_only_by_name,
virtual_protect_works_on_shared_pages, has_mmap_alignment_bug and
has_working_virtual_lock throughout.
* wincap.h: Ditto.

17 years ago * fhandler.cc (fhandler_base::set_no_inheritance): Always use
corinna [Thu, 22 Feb 2007 17:09:46 +0000 (17:09 +0000)]
* fhandler.cc (fhandler_base::set_no_inheritance): Always use
SetHandleInformation.
* fhandler_disk_file.cc (fhandler_disk_file::lock): Always use
UnlockFileEx/LockFileEx functions.
* net.cc (fdsock): Don't bother to duplicate socket for inheritance.
* sysconf.cc (get_nproc_values): Take NT for granted.
(get_avphys): Ditto.
* syslog.cc (WIN95_EVENT_LOG_PATH): Remove define.
(get_win95_event_log_path): Remove.
(vsyslog): Fix formatting.  Take NT for granted.
* wincap.cc: Remove has_lock_file_ex, has_signal_object_and_wait,
has_eventlog, has_set_handle_information,
has_set_handle_information_on_console_handles and supports_smp
throughout.
* wincap.h: Ditto.

17 years ago2007-02-22 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 22 Feb 2007 17:03:58 +0000 (17:03 +0000)]
2007-02-22  Paul Brook  <paul@codesourcery.com>

bfd/
* elflink.c (gc_mark_hook_fn): Remove.
(_bfd_elf_gc_mark): Rename gc_mark_hook_fn to elf_gc_mark_hook_fn.
(bfd_elf_gc_sections): Ditto.  Call gc_mark_extra_sections.
* elf-bfd.h (elf_gc_mark_hook_fn): Define.
(elf_backend_data): Add gc_mark_extra_sections.
* elfxx-target.h (elf_backend_gc_mark_extra_sections): Provide default
definition.
(elfNN_bed): Add elf_backend_gc_mark_extra_sections.
* elf32-arm.c (elf32_arm_gc_mark_extra_sections): New function.
(elf_backend_gc_mark_extra_sections): Define.

ld/testsuite/
* ld-arm/arm-elf.exp (armelftests): Add gc-unwind.h.
* ld-arm/gc-unwind.s: New file.
* ld-arm/gc-unwind.d: New file.

17 years ago Fix typo.
corinna [Thu, 22 Feb 2007 16:33:44 +0000 (16:33 +0000)]
Fix typo.

17 years ago * dir.cc (rmdir): Move existance check in front of
corinna [Thu, 22 Feb 2007 16:32:39 +0000 (16:32 +0000)]
* dir.cc (rmdir): Move existance check in front of
has_dot_last_component check.  Simply setting errno in latter case.

17 years ago * fhandler.cc (fhandler_base::write): Remove wincap.has_lseek_bug case.
corinna [Thu, 22 Feb 2007 16:22:38 +0000 (16:22 +0000)]
* fhandler.cc (fhandler_base::write): Remove wincap.has_lseek_bug case.
Simplify seek beyond EOF case.
* times.cc (times): Remove wincap.has_get_process_times case.
* wincap.cc: Remove has_delete_on_close, has_page_guard,
has_get_process_times and has_lseek_bug throughout.
* wincap.h: Ditto.

17 years ago Throughout remove all usage of wincap.access_denied_on_delete.
corinna [Thu, 22 Feb 2007 16:04:18 +0000 (16:04 +0000)]
Throughout remove all usage of wincap.access_denied_on_delete.
* dir.cc (rmdir): Add existance check to be errno-compatible with Linux.
* fhandler_disk_file.cc (fhandler_disk_file::rmdir): Drop test for
non-existent dir on 9x share.
* syscalls.cc (unlink): Add comment.
* wincap.cc: Remove access_denied_on_delete flag throughout.
* wincap.h: Ditto.

17 years ago * infrun.c (inferior_stop_reason, print_stop_reason): Remove
uweigand [Thu, 22 Feb 2007 15:14:11 +0000 (15:14 +0000)]
* infrun.c (inferior_stop_reason, print_stop_reason): Remove
BREAKPOINT_HIT and STOP_UNKNOWN.

17 years ago * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.
uweigand [Thu, 22 Feb 2007 15:13:26 +0000 (15:13 +0000)]
* valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::closedir): Fix bug
corinna [Thu, 22 Feb 2007 15:07:19 +0000 (15:07 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::closedir): Fix bug
introduced by switching to NtClose.

17 years ago * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
jsm28 [Thu, 22 Feb 2007 15:05:42 +0000 (15:05 +0000)]
* configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
mips*el-*-linux-*, mips*-*-linux-*): Set
targ_extra_libpath=$targ_extra_emuls.

17 years ago* dcrt0.cc (child_info_fork::alloc_stack_hard_way): Change sense of guard test.
cgf [Thu, 22 Feb 2007 12:34:53 +0000 (12:34 +0000)]
* dcrt0.cc (child_info_fork::alloc_stack_hard_way): Change sense of guard test.
Increase size of stack reserved and increase size before the current stack
pointer.  Use pointers when doing arithmetic.
(dll_crt0_1): Initialize exception handler when we notice we're the child of a
fork from non-main thread.
* fork.cc (frok::parent): Make argument volatile.
(frok::child): Ditto.
(lock_signals): New class.
(lock_pthread): Ditto.
(hold_everhthing): Ditto.
(frok::parent): Move atforkprepare and atforkparent to lock_pthread class.
(fork): Make ischild boolean.  Use hold_everything variable within limited
scope to set various mutexes in such a way as to avoid deadlocks.
* thread.h (pthread_mutex::tid): New variable, active when debugging for
tracking thread id of owner.
(pthread_mutex::set_owner): Set tid when debugging.
* thread.cc (pthread_mutex::pthread_mutex): Clear tid.
(pthread_mutex::_unlock): Ditto when unlocking.
(pthread_mutex::fixup_after_fork): Set tid to special value after forking since
owner is unknown.

17 years ago Throughout replace all usage of wincap.shared with the constant
corinna [Thu, 22 Feb 2007 11:17:01 +0000 (11:17 +0000)]
Throughout replace all usage of wincap.shared with the constant
FILE_SHARE_VALID_FLAGS.
* fhandler.cc (fhandler_base::open_9x): Drop local variable shared.
* wincap.cc: Remove shared member throughout.
* wincap.h: Ditto.

17 years ago * Makefile.in (DLL_IMPORTS): Add libntdll.a.
corinna [Thu, 22 Feb 2007 10:54:46 +0000 (10:54 +0000)]
* Makefile.in (DLL_IMPORTS): Add libntdll.a.
* autoload.cc: Remove all symbols from advapi32.dll, kernel32.dll and
ntdll.dll available on all platforms since NT4.

Throughout remove all usage of wincap.is_winnt.
* dcrt0.cc (dll_crt0_0): Remove call to mmap_init.
* fhandler.h (class fhandler_base): Remove has_changed flag.
(fhandler_disk_file::touch_ctime): Remove declaration.
(fhandler_disk_file::readdir_9x): Ditto.
(fhandler_disk_file::touch_ctime): Remove.
(fhandler_disk_file::readdir_9x): Remove.
(fhandler_disk_file::closedir): Call NtClose instead of CloseHandle.
* mmap.cc: Throughout call CreateMapping and MapView directly.
(VirtualProt9x): Remove.
(VirtualProtNT): Remove.
(VirtualProtEx9x): Remove.
(VirtualProtExNT): Remove.
(VirtualProtect): Remove define.
(VirtualProtectEx): Remove define.
(CreateMapping9x): Remove.
(CreateMappingNT): Rename to CreateMapping.
(MapView9x): Remove.
(MapViewNT): Rename to MapView.
(struct mmap_func_t): Remove definition.
(mmap_funcs_9x): Remove.
(mmap_funcs_nt): Remove.
(mmap_func): Remove.
(mmap_init): Remove.
* net.cc (getdomainname): Drop comment. Use NT4 registry key only.
(get_95_ifconf): Remove.
* pinfo.cc (winpids::enumNT): Rename to winpids::enum_processes.
(winpids::enum9x): Remove.
(winpids::set): Just call enum_processes directly.
(winpids::enum_init): Ditto.
* pinfo.h (class winpids): Drop enum_processes pointer.  Rename
enumNT to enum_processes.  Drop enum9x declaration.  Drop initialization
of enum_processes throughout.
* registry.cc (get_registry_hive_path): Just create NT key.
(load_registry_hive): Only load NT specific file.
* syscalls.cc (unlink_9x): Remove.
(unlink): Just call unlink_nt.
* wincap.cc: Remove is_winnt flag throughout.
* wincap.h: Ditto.
* winsup.h: Remove mmap_init declaration.

17 years ago * ipcs.c (_POSIX2_LINE_MAX): Drop definition.
corinna [Thu, 22 Feb 2007 10:53:36 +0000 (10:53 +0000)]
* ipcs.c (_POSIX2_LINE_MAX): Drop definition.

17 years ago * Makefile.in (OBJS): Drop transport_sockets.o.
corinna [Thu, 22 Feb 2007 10:50:51 +0000 (10:50 +0000)]
* Makefile.in (OBJS): Drop transport_sockets.o.
* sysv_shm.cc (shmget_allocate_segment): Remove spurious cast.
* transport.cc: Don't include transport_sockets.h.
(create_server_transport): Always create transport_layer_pipes.
* transport_sockets.cc: Remove.
* transport_sockets.h: Remove.

17 years ago * write.c (size_seg): Always clear SEC_RELOC here.
amodra [Thu, 22 Feb 2007 05:54:51 +0000 (05:54 +0000)]
* write.c (size_seg): Always clear SEC_RELOC here.
(install_reloc): New function, extracted from..
(write_relocs): ..here.  Combine RELOC_EXPANSION_POSSIBLE code
with !RELOC_EXPANSION_POSSIBLE code.  Don't add fr_offset when
testing frag size.  Set SEC_RELOC here.

17 years agoRemove superfluous libgloss/ directory names from recent ChangeLog entries.
bje [Thu, 22 Feb 2007 04:25:43 +0000 (04:25 +0000)]
Remove superfluous libgloss/ directory names from recent ChangeLog entries.

17 years ago*** empty log message ***
gdbadmin [Thu, 22 Feb 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Wed, 21 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
jjohnstn [Wed, 21 Feb 2007 19:30:44 +0000 (19:30 +0000)]
2007-02-21  Patrick Mansfield <patmans@us.ibm.com>

        * libgloss/spu/gettimeofday.c: New file which adds SPU gettimeofday.
        * libgloss/spu/jsre.h: Remove time, add gettimeofday.
        * libgloss/spu/Makefile.in: Ditto.

17 years ago2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
jjohnstn [Wed, 21 Feb 2007 19:22:33 +0000 (19:22 +0000)]
2007-02-21  Patrick Mansfield <patmans@us.ibm.com>

        * libc/reent/timer.c: Removed (split into two new files).
        * libc/reent/timesr.c: New file for _times_r.
        * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
        * reent/Makefile.in: Remove timer.c, add timesr.c and
        gettimeofdayr.c.
        * libc/reent/Makefile.am: Regenerate.

17 years agoTake into account MEMORY regions when creating a segment map.
nickc [Wed, 21 Feb 2007 16:43:44 +0000 (16:43 +0000)]
Take into account MEMORY regions when creating a segment map.

17 years ago * wincap.cc (wincap_unknown): Change settings for unknown to reflect
corinna [Wed, 21 Feb 2007 15:18:05 +0000 (15:18 +0000)]
* wincap.cc (wincap_unknown): Change settings for unknown to reflect
the capabilities of NT4.
(wincap_95): Remove.
(wincap_95osr2): Remove.
(wincap_98): Remove.
(wincap_98se): Remove.
(wincap_me): Remove.
(wincap_nt3): Remove.
(wincapc::init): Temporarily bail out on any 9x system.

17 years ago * cris/crt0.S: Use jump, not ba, to skip the interrupt table. Use
hp [Wed, 21 Feb 2007 14:08:26 +0000 (14:08 +0000)]
* cris/crt0.S: Use jump, not ba, to skip the interrupt table.  Use
"setf", not "nop", for common_v10_v32 compatibility.
Move out interrupt table to irqtable.S.  Include here for non-ELF.
* cris/irqtable.S: Extracted from cris/crt0.S.  Provide per-entry
weak default stub definitions.
* cris/crtn.c: Use "setf", not "nop", for common_v10_v32
compatibility.
* cris/setup.S [__arch_common_v10_v32]: Return.
* cris/Makefile.in (BSP_OBJS): Add irqtable.o.

17 years ago * elf32-spu.c (spu_elf_size_stubs): Correct order of warning args.
amodra [Wed, 21 Feb 2007 02:48:21 +0000 (02:48 +0000)]
* elf32-spu.c (spu_elf_size_stubs): Correct order of warning args.

17 years ago*** empty log message ***
gdbadmin [Wed, 21 Feb 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago PR 4082
amodra [Tue, 20 Feb 2007 23:02:58 +0000 (23:02 +0000)]
PR 4082
* config/tc-avr.h (TC_FX_SIZE_SLACK): Define.

17 years agodaily update
amodra [Tue, 20 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
jjohnstn [Tue, 20 Feb 2007 21:02:36 +0000 (21:02 +0000)]
2007-02-20  Patrick Mansfield <patmans@us.ibm.com>

        * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".

17 years ago2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
jjohnstn [Tue, 20 Feb 2007 20:58:38 +0000 (20:58 +0000)]
2007-02-20  Kazunori Asayama <asayama@sm.sony.co.jp>

        * libc/machine/spu/Makefile.am: Add new objects.
        * libc/machine/spu/Makefile.in: Regenerated.
        * libc/machine/spu/fiprintf.c: New file. Add implementation of
        integer-only version.
        * libc/machine/spu/fiscanf.c: Ditto.
        * libc/machine/spu/iprintf.c: Ditto.
        * libc/machine/spu/iscanf.c: Ditto.
        * libc/machine/spu/siprintf.c: Ditto.
        * libc/machine/spu/siscanf.c: Ditto.
        * libc/machine/spu/sniprintf.c: Ditto.
        * libc/machine/spu/vfiprintf.c: Ditto.
        * libc/machine/spu/vfiscanf.c: Ditto.
        * libc/machine/spu/viprintf.c: Ditto.
        * libc/machine/spu/viscanf.c: Ditto.
        * libc/machine/spu/vsiprintf.c: Ditto.
        * libc/machine/spu/vsiscanf.c: Ditto.
        * libc/machine/spu/vsniprintf.c: Ditto.
        * libc/machine/spu/fprintf.c: Add support for integer-only
        version.
        * libc/machine/spu/fscanf.c: Ditto.
        * libc/machine/spu/printf.c: Ditto.
        * libc/machine/spu/scanf.c: Ditto.
        * libc/machine/spu/snprintf.c: Ditto.
        * libc/machine/spu/sprintf.c: Ditto.
        * libc/machine/spu/sscanf.c: Ditto.
        * libc/machine/spu/vfprintf.c: Ditto.
        * libc/machine/spu/vfscanf.c: Ditto.
        * libc/machine/spu/vprintf.c: Ditto.
        * libc/machine/spu/vscanf.c: Ditto.
        * libc/machine/spu/vsnprintf.c: Ditto.
        * libc/machine/spu/vsprintf.c: Ditto.
        * libc/machine/spu/vsscanf.c: Ditto.

17 years ago2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
jjohnstn [Tue, 20 Feb 2007 20:53:35 +0000 (20:53 +0000)]
2007-02-20  Kazunori Asayama <asayama@sm.sony.co.jp>

        * libc/include/stdio.h: Add declaration for vsiprintf.

17 years ago * gdb_expat.h (XMLCALL): Define if not already defined.
brobecke [Tue, 20 Feb 2007 19:42:13 +0000 (19:42 +0000)]
    * gdb_expat.h (XMLCALL): Define if not already defined.

17 years ago * cygcheck.cc (dump_sysinfo): Add "not supported" to osname on 9x
corinna [Tue, 20 Feb 2007 16:41:54 +0000 (16:41 +0000)]
* cygcheck.cc (dump_sysinfo): Add "not supported" to osname on 9x
machines.  Drop "not supported" for Vista.  Drop "Longhorn" text
for now.