OSDN Git Service
corinna [Thu, 13 Mar 2003 22:32:39 +0000 (22:32 +0000)]
* fhandler_proc.cc (format_proc_cpuinfo): Fix vendor id in cpuid case.
cagney [Thu, 13 Mar 2003 21:45:38 +0000 (21:45 +0000)]
2003-03-13 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
* gdbarch.h, gdbarch.c: Regenerate.
* valops.c (hand_function_call): Update comment.
* stack.c (return_command): Update comment.
* config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
* config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
2003-03-13 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Replace
POP_FRAME with DEPRECATED_POP_FRAME. Update description.
ciceron [Thu, 13 Mar 2003 20:24:06 +0000 (20:24 +0000)]
* tui-out.c (tui_out_data): Fix typedef.
cagney [Thu, 13 Mar 2003 18:09:29 +0000 (18:09 +0000)]
2003-03-13 Andrew Cagney <cagney@redhat.com>
* frame.c (legacy_frame_p): New function.
(get_prev_frame): Use legacy_frame_p.
* frame.h (legacy_frame_p): Declare.
nickc [Thu, 13 Mar 2003 15:12:05 +0000 (15:12 +0000)]
Updated translation
nickc [Thu, 13 Mar 2003 15:09:28 +0000 (15:09 +0000)]
Add New Chinese (simplified) PO file.
nickc [Thu, 13 Mar 2003 11:49:33 +0000 (11:49 +0000)]
(buffer_and_nest): Store more to sb instead of '\n'.
(get_line_sb): Return end of line character or '\n' if it is zero or
non-existent.
corinna [Thu, 13 Mar 2003 11:31:24 +0000 (11:31 +0000)]
* net.cc (cygwin_rcmd): Use correct file descriptor in call to fdsock.
(cygwin_rexec): Ditto.
dannysmith [Thu, 13 Mar 2003 09:39:09 +0000 (09:39 +0000)]
* deffilep.y (def_import): Use default extension of "dll"
if no extension provided in parsed IMPORT definition.
* deffilep.y (def_lex): Revert 2003-03-12 change.
(dot_name): New id type and rule.
(expline): Use instead of ID.
(opt_equal_name): Likewise.
nickc [Thu, 13 Mar 2003 09:28:48 +0000 (09:28 +0000)]
(BYTES_IN_WORD): Don't define.
nickc [Thu, 13 Mar 2003 09:11:16 +0000 (09:11 +0000)]
Update.
cgf [Thu, 13 Mar 2003 08:18:14 +0000 (08:18 +0000)]
* syscalls.cc (rename): Assume that DELETE_ON_CLOSE works on Win9x.
* fhandler_tty.cc (fhandler_tty_slave::close): Fix typo in debug output.
venkat [Thu, 13 Mar 2003 05:32:21 +0000 (05:32 +0000)]
Alphabetically corrected my name addition to MAINTAINERS (write after approval).
venkat [Thu, 13 Mar 2003 05:13:57 +0000 (05:13 +0000)]
Added myself to MAINTAINERS (write after approval). Approved by : Andrew Cagney.
gdbadmin [Thu, 13 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Wed, 12 Mar 2003 23:55:36 +0000 (23:55 +0000)]
2003-03-12 Andrew Cagney <cagney@redhat.com>
* frame.c (get_prev_frame): Rename the frame parameter to
"this_frame".
(get_next_frame, legacy_get_prev_frame): Ditto.
earnie [Wed, 12 Mar 2003 23:36:53 +0000 (23:36 +0000)]
* include/mswsock.h: Correct invalid filter for _WINSOCK2_H.
Thanks to Jim Barton <jmbarton@users.sf.net>.
aoliva [Wed, 12 Mar 2003 23:07:37 +0000 (23:07 +0000)]
* config/tc-mips.c (mips_validate_fix): New function.
* config/tc-mips.h (TC_VALIDATE_FIX): Define.
(mips_validate_fix): Declare.
aoliva [Wed, 12 Mar 2003 23:07:21 +0000 (23:07 +0000)]
* gas/mips/branch-misc-2.s: Add branch to symbol in another
section.
* gas/mips/branch-misc-2.l: Update error messages and warnings.
aoliva [Wed, 12 Mar 2003 23:06:07 +0000 (23:06 +0000)]
* Reverted 2003-03-02's patch.
aoliva [Wed, 12 Mar 2003 23:05:50 +0000 (23:05 +0000)]
* Reverted 2003-03-02's patch.
aoliva [Wed, 12 Mar 2003 23:05:31 +0000 (23:05 +0000)]
* Reverted previous patch.
amodra [Wed, 12 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update
aoliva [Wed, 12 Mar 2003 22:52:11 +0000 (22:52 +0000)]
* elfxx-target.h (bfd_elfNN_canonicalize_reloc): Make it
overridable.
* elf64-mips.c (mips_elf64_canonicalize_reloc,
mips_elf64_get_dynamic_reloc_upper_bound,
mips_elf64_canonicalize_dynamic_reloc): New, adapted from elf.c.
(bfd_elf64_get_canonicalize_reloc,
bfd_elf64_get_dynamic_reloc_upper_bound,
bfd_elf64_canonicalize_dynamic_reloc): Define.
(mips_elf64_slurp_reloc_table): Support dynamic.
(mips_elf64_slurp_one_reloc_table): Adjust.
cagney [Wed, 12 Mar 2003 22:39:15 +0000 (22:39 +0000)]
2003-03-12 Andrew Cagney <cagney@redhat.com>
* frame.c (get_current_frame): Check target_has_registers before
checking target_has_stack.
* eval.c (evaluate_subexp_standard): Use get_selected_frame,
instead of deprecated_selected_frame.
* findvar.c (value_of_register): Pass "frame", not
deprecated_selected_frame, to value_of_builtin_reg.
hunt [Wed, 12 Mar 2003 22:09:16 +0000 (22:09 +0000)]
2003-03-12 Martin M. Hunt <hunt@redhat.com>
* rhabout.itcl (RHAbout): Fix call
to open_help. We no longer use HTMLViewer.
cagney [Wed, 12 Mar 2003 20:50:13 +0000 (20:50 +0000)]
2003-03-12 Andrew Cagney <cagney@redhat.com>
* regcache.c (regcache_cooked_write_signed): New function.
(regcache_cooked_write_unsigned): New function.
(regcache_cooked_read_unsigned): Fix regnum in range assertion.
(regcache_cooked_read_signed): Fix regnum in range assertion.
* regcache.h (regcache_cooked_write_signed): Declare.
(regcache_cooked_write_unsigned): Declare.
neroden [Wed, 12 Mar 2003 20:47:07 +0000 (20:47 +0000)]
* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. Delete unused
Make macro.
* Makefile.in: Regenerate.
* configure.in: Clean up gxx_include_dir logic.
* configure: Regenerate.
dj [Wed, 12 Mar 2003 17:28:10 +0000 (17:28 +0000)]
merge from gcc
cgf [Wed, 12 Mar 2003 17:21:31 +0000 (17:21 +0000)]
fix typo
fche [Wed, 12 Mar 2003 17:17:14 +0000 (17:17 +0000)]
2003-03-12 Frank Ch. Eigler <fche@redhat.com>
* sid.scm: Set APPLICATION to SID-SIMULATOR.
2003-03-12 Frank Ch. Eigler <fche@redhat.com>
* xstormy16-decode.cxx: Regenerate with fixed cgen SID-SIMULATOR.
cagney [Wed, 12 Mar 2003 16:50:41 +0000 (16:50 +0000)]
2003-03-12 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
* gdbarch.h, gdbarch.c: Re-generate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.h: Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* ppc-linux-tdep.c (ppc_linux_init_abi): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* i386-interix-tdep.c (i386_interix_init_abi): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* sh-tdep.c (sh_init_extra_frame_info): Update.
(sh64_init_extra_frame_info): Update.
* ns32knbsd-nat.c (frame_num_args): Update.
* m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
* xstormy16-tdep.c (xstormy16_pop_frame): Update.
(xstormy16_frame_chain_valid): Update.
* vax-tdep.c (vax_saved_pc_after_call): Update.
* v850-tdep.c (v850_frame_chain): Update.
(v850_pop_frame): Update.
(v850_init_extra_frame_info): Update.
* sparc-tdep.c (setup_arbitrary_frame): Update.
* ns32k-tdep.c (umax_frame_num_args): Update.
* s390-tdep.c (s390_pop_frame_regular): Update.
* mn10300-tdep.c (mn10300_frame_chain): Update.
(mn10300_pop_frame_regular): Update.
(mn10300_init_extra_frame_info): Update.
* mips-tdep.c (mips_init_frame_pc_first): Update.
(mips_frame_chain): Update.
(mips_pop_frame): Update.
* mcore-tdep.c (mcore_frame_chain): Update.
(mcore_pop_frame): Update.
(mcore_init_extra_frame_info): Update.
* arch-utils.c (init_frame_pc_default): Update.
* m68k-tdep.c (isi_frame_num_args): Update.
(delta68_frame_num_args): Update.
(news_frame_num_args): Update.
* ia64-tdep.c (ia64_pop_frame_regular): Update.
* alpha-tdep.c (alpha_init_frame_pc_first): Update.
(alpha_frame_chain): Update.
(alpha_pop_frame): Update.
* hppa-tdep.c (hppa_saved_pc_after_call): Update.
(hppa_init_extra_frame_info): Update.
(hppa_frame_chain): Update.
(hppa_frame_chain_valid): Update.
* cris-tdep.c (cris_init_extra_frame_info): Update.
* avr-tdep.c (avr_init_extra_frame_info): Update.
* arm-tdep.c (arm_frame_chain_valid): Update.
(arm_init_extra_frame_info): Update.
(arm_pop_frame): Update.
* frame.c (frame_pc_unwind): Update.
* config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
(DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
* config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
* config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
2003-03-12 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Rename
FRAME_SAVED_PC to DEPRECATED_FRAME_SAVED_PC.
cagney [Wed, 12 Mar 2003 15:39:29 +0000 (15:39 +0000)]
2003-03-12 Andrew Cagney <cagney@redhat.com>
Eliminate the need for POP_FRAME.
* frame.c (do_frame_unwind_register): New function.
(frame_pop): When no POP_FRAME, pop the frame using register
unwind and a scratch regcache.
(frame_saved_regs_pop): Delete function.
(trad_frame_unwinder): Update.
* d10v-tdep.c (d10v_frame_pop): Delete function.
(d10v_frame_unwind): Update.
* sentinel-frame.c (sentinel_frame_pop): Delete function.
(sentinel_frame_unwinder): Update.
* dummy-frame.c (dummy_frame_pop): Delete function.
(dummy_frame_unwind): Update.
* frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
(struct frame_unwind): Update.
dj [Wed, 12 Mar 2003 15:08:02 +0000 (15:08 +0000)]
merge from gcc
nickc [Wed, 12 Mar 2003 09:59:51 +0000 (09:59 +0000)]
Rename 'index' to 'offset'
dannysmith [Wed, 12 Mar 2003 08:38:16 +0000 (08:38 +0000)]
* deffilep.y (def_lex): Accept '.' as valid non-lead char.
cgf [Wed, 12 Mar 2003 06:28:27 +0000 (06:28 +0000)]
Checkin previously referred to in ChangeLog.
gdbadmin [Wed, 12 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
dannysmith [Tue, 11 Mar 2003 23:53:08 +0000 (23:53 +0000)]
2003-03-12 Ranjit Mathew <rmathew@hotmail.com>
* include/winnt.h (_IMAGE_SEPARATE_DEBUG_HEADER): Expose
member SectionAlignment.
kevinb [Tue, 11 Mar 2003 23:15:37 +0000 (23:15 +0000)]
* mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
mips_dwarf_dwarf2_ecoff_reg_to_regnum().
(mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
Do range checks on register number obtained from debugging info.
(mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
set_gdbarch_ecoff_reg_to_regnum() to account for new name of
mapping function.
(do_fp_register_row): Fix typo which caused double type to be
used when attempting to unpack a float.
amodra [Tue, 11 Mar 2003 23:00:07 +0000 (23:00 +0000)]
daily update
rth [Tue, 11 Mar 2003 22:00:33 +0000 (22:00 +0000)]
* dwarf2dbg.c (generic_dwarf2_emit_offset): New.
(TC_DWARF2_EMIT_OFFSET): Provide default.
(out_debug_aranges, out_debug_info): Use it.
* config/tc-ia64.c (ia64_dwarf2_emit_offset): New.
(ia64_cons_fix_new): Move FUNC_DTP_RELATIVE handling ...
(ia64_gen_real_reloc_type): ... here.
* config/tc-ia64.h (TC_DWARF2_EMIT_OFFSET): New.
dj [Tue, 11 Mar 2003 20:18:26 +0000 (20:18 +0000)]
merge from gcc
aoliva [Tue, 11 Mar 2003 19:20:16 +0000 (19:20 +0000)]
* ld-mips-elf/mips-elf.exp (linux_gnu): New variable. Add:
* ld-mips-elf/rel32-o32.d, ld-mips-elf/rel32-n32.d,
ld-mips-elf/rel64.d, ld-mips-elf/rel32.s, ld-mips-elf/rel64.s: New
tests.
aoliva [Tue, 11 Mar 2003 19:11:38 +0000 (19:11 +0000)]
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Do not create
dynamic relocations pointing to local or section symbols, use the
NULL symbol instead. Document the choice to not emit an
additional R_MIPS_64 relocation.
brobecke [Tue, 11 Mar 2003 19:07:01 +0000 (19:07 +0000)]
* breakpoint.c (bpstat_stop_status): Fix a small memory leak.
drow [Tue, 11 Mar 2003 18:35:29 +0000 (18:35 +0000)]
Update changelog entry for Klee's patch
cagney [Tue, 11 Mar 2003 17:47:13 +0000 (17:47 +0000)]
2003-03-11 Andrew Cagney <cagney@redhat.com>
* frame.c (deprecated_update_frame_pc_hack): Don't assume a next
frame. Problem found by Corinna Vinschen.
corinna [Tue, 11 Mar 2003 16:49:58 +0000 (16:49 +0000)]
* fhandler_socket.cc (fhandler_socket::dup): Don't call
fhandler_base::dup() but call DuplicateHandle directly instead to have
control over socket inheritence.
muller [Tue, 11 Mar 2003 16:38:51 +0000 (16:38 +0000)]
2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
* doublest.c (floatformat_from_length): Accept also
the real size of 'long double' type.
earnie [Tue, 11 Mar 2003 14:44:57 +0000 (14:44 +0000)]
* include/winsvc.h (SERVICE_NO_CHANGE): Use hex constant to avoid
warnings.
Thanks to Fabricio D. Rossi <gurusoda@users.sf.net>.
* Makefile.in (bindist): Correct process.
* lib/Makefile.in (install): Ditto.
Thanks to Jeff Bonnggren <jbon@users.sf.net>.
corinna [Tue, 11 Mar 2003 13:05:36 +0000 (13:05 +0000)]
2003-03-11 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::dup): On NT systems avoid
using WinSock2 socket duplication methods. Add comment.
2003-03-11 Pierre Humblet <pierre.humblet@ieee.org>
* fhandler_socket.cc (fhandler_socket::fixup_after_fork):
Set io_handle to INVALID_SOCKET in case of failure.
(fhandler_socket::dup): Return 0 if the io_handle is valid.
dannysmith [Tue, 11 Mar 2003 03:00:49 +0000 (03:00 +0000)]
* include/stdlib.h (qsort): Remove const from first parm.
Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
gdbadmin [Tue, 11 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
drow [Mon, 10 Mar 2003 23:37:29 +0000 (23:37 +0000)]
* breakpoint.c (bpstat_copy): Copy the command lines as well
as the old value, to match what is freed in bpstat_clear.
amodra [Mon, 10 Mar 2003 23:25:13 +0000 (23:25 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Subtract tls seg vma from
zero index dynamic tls relocs generated for the GOT. Tidy code.
Set "relocation" to 1 on DTPMOD32 relocs. Optimize HA adjustment.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* ld-powerpc/tlsso.r: Adjust for corrected zero symbol index relocs.
* ld-powerpc/tlsso32.r: Likewise.
amodra [Mon, 10 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
dannysmith [Mon, 10 Mar 2003 22:45:50 +0000 (22:45 +0000)]
* include/rasdlg.h: New file.
* lib/rasdlg.def: New file.
* lib/test.c: Include rasdlg.h.
carlton [Mon, 10 Mar 2003 20:40:45 +0000 (20:40 +0000)]
2003-03-10 David Carlton <carlton@math.stanford.edu>
* minsyms.c (add_minsym_to_hash_table): Replace
DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
(compare_minimal_symbols, compact_minimal_symbols)
(install_minimal_symbols, find_solib_trampoline_target): Ditto.
(lookup_minimal_symbol_text): Use strcmp on linkage names instead
of DEPRECATED_SYMBOL_MATCHES_NAME.
(lookup_minimal_symbol_solib_trampoline): Ditto.
cagney [Mon, 10 Mar 2003 19:08:45 +0000 (19:08 +0000)]
2003-03-10 Andrew Cagney <cagney@redhat.com>
* regcache.h (regcache_cooked_read_ftype): Define.
(regcache_save, regcache_restore): Add a cooked_read parameter.
* regcache.c (regcache_save, regcache_restore): Update.
(do_cooked_read): New function.
(regcache_cpy): Pass do_cooked_read to regcache_save and
regcache_restore.
corinna [Mon, 10 Mar 2003 17:11:39 +0000 (17:11 +0000)]
* gdb.texinfo: Add File-I/O documentation.
corinna [Mon, 10 Mar 2003 16:25:48 +0000 (16:25 +0000)]
* sec_acl.cc (setacl): Don't handle DELETE flag specially.
* security.cc (alloc_sd): Ditto.
cagney [Mon, 10 Mar 2003 15:28:39 +0000 (15:28 +0000)]
2003-03-10 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (gdbarch_unwind_pc): New method.
* gdbarch.h, gdbarch.c: Regenerate.
* frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
but use read_pc and FRAME_SAVED_PC as fall backs.
(frame_saved_regs_pc_unwind): Delete function.
(trad_frame_unwinder): Update.
* frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
(struct frame_unwind): Update.
* dummy-frame.c (dummy_frame_pc_unwind): Delete function.
(dummy_frame_unwind): Update.
* sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
(sentinel_frame_unwinder): Update.
* d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
(d10v_frame_unwind): Update.
(d10v_unwind_pc): New function.
(d10v_gdbarch_init): Set unwind_pc.
Index: doc/ChangeLog
2003-03-10 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Cross reference
FRAME_SAVED_PC to unwind_pc. Document unwind_pc.
cagney [Mon, 10 Mar 2003 14:54:58 +0000 (14:54 +0000)]
2003-03-10 Andrew Cagney <cagney@redhat.com>
* gdbarch.h: Re-generate.
cagney [Mon, 10 Mar 2003 14:43:14 +0000 (14:43 +0000)]
2003-03-10 Andrew Cagney <cagney@redhat.com>
* d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
PC.
(d10v_frame_pop): Unwind the PC, and not the LR, when restoring
the PC register.
gdbadmin [Mon, 10 Mar 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 9 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
bje [Sun, 9 Mar 2003 22:52:02 +0000 (22:52 +0000)]
2003-03-10 Ben Elliston <bje@wasabisystems.com>
* MAINTAINERS: Update my mail address.
corinna [Sun, 9 Mar 2003 22:13:27 +0000 (22:13 +0000)]
Fix typo.
corinna [Sun, 9 Mar 2003 22:13:06 +0000 (22:13 +0000)]
* winver.rc: Change Copyright hint to inlcude 2003.
corinna [Sun, 9 Mar 2003 22:10:14 +0000 (22:10 +0000)]
* libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
corinna [Sun, 9 Mar 2003 21:52:23 +0000 (21:52 +0000)]
* libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
Cygwin.
corinna [Sun, 9 Mar 2003 21:51:00 +0000 (21:51 +0000)]
Switch to 32/64 datatypes:
* Makefile.in (OBSOLETE_FUNCTIONS): Add open acl aclcheck aclfrommode
aclfrompbits aclfromtext aclsort acltomode acltopbits acltotext chown
facl fchown fgetpos fopen freopen fseeko fsetpos fstat ftello
ftruncate getegid geteuid getgid getgrent getgrgid getgrnam getgroups
getpwuid getpwuid_r getuid initgroups lchown lseek lstat mknod mmap
seekdir setegid seteuid setgid setgroups setregid setreuid setuid stat
telldir truncate.
(NEW_FUNCTIONS): Add _open64 acl32 aclcheck32 aclfrommode32
aclfrompbits32 aclfromtext32 aclsort32 acltomode32 acltopbits32
acltotext32 chown32 facl32 fchown32 fgetpos64 fopen64 freopen64
fseeko64 fsetpos64 fstat64 ftello64 ftruncate64 getegid32 geteuid32
getgid32 getgrent32 getgrgid32 getgrnam32 getgroups32 getpwuid32
getpwuid_r32 getuid32 initgroups32 lchown32 lseek64 lstat64 mknod32
mmap64 seekdir64 setegid32 seteuid32 setgid32 setgroups32 setregid32
setreuid32 setuid32 stat64 telldir64 truncate64 to substitute the
above.
* cygserver_shm.h (class client_request_shm): Change uid_t and gid_t
members to __uid32_t and __gid32_t.
* cygwin.din: Add symbols acl32 aclcheck32 aclfrommode32
aclfrompbits32 aclfromtext32 aclsort32 acltomode32 acltopbits32
acltotext32 facl32 fgetpos64 fopen64 freopen64 fseeko64 fsetpos64
_fstat64 ftello64 _lseek64 mknod32 _open64.
* glob.c: Include perprocess.h.
(globtilde): Call getpwuid32 and getuid32 instead of getpwuid and
getuid.
(g_lstat): Check for applications API version to call the appropriate
typed gl_lstat function.
(g_stat): Ditto for gl_stat.
* shm.cc (client_request_shm::client_request_shm): Call geteuid32
and getegid32 instead of geteuid and getegid throughout.
* syscalls.cc (_open64): New alias for open.
(_lseek64): New alias for lseek64.
(_fstat64): New alias for fseek64.
(mknod32): New function.
(mknod): Calls mknod32 now.
* winsup.h: Make function declarations for getuid32, geteuid32,
and getpwuid32 accessible for plain C sources. Add declarations
for getegid32 and getpwnam.
* include/cygwin/version.h: Bum API minor number to 78.
* include/sys/cygwin.h: Guard C++ specific members of struct
per_process against inclusion in plain C sources.
* include/sys/mman.h (mman): Add guard to avoid type clash when
compiling Cygwin.
corinna [Sun, 9 Mar 2003 21:08:51 +0000 (21:08 +0000)]
* libc/include/pwd.h: Add guards to avoid type clashes when compiling
Cygwin.
* libc/include/sys/stat.h: Ditto.
* libc/include/sys/unistd.h: Ditto.
* libc/sys/cygwin/sys/dirent.h: Ditto.
cgf [Sun, 9 Mar 2003 20:54:12 +0000 (20:54 +0000)]
fix typo
cgf [Sun, 9 Mar 2003 20:50:11 +0000 (20:50 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 21.
cgf [Sun, 9 Mar 2003 20:31:07 +0000 (20:31 +0000)]
whitespace cleanup
cgf [Sun, 9 Mar 2003 20:10:25 +0000 (20:10 +0000)]
Do some minor reformatting of 'extern "C"' use throughout.
* autoload.cc (GetSystemTimes): Define new autoload function.
* fhandler_proc.cc (proc_listing): Add cpuinfo and partitions entries.
(fhandler_proc::fill_filebuf): Add PROC_CPUINFO and PROC_PARTITIONS cases.
(format_proc_uptime): Use GetSystemTimes if available.
(read_value): New macro.
(print): New macro.
(cpuid): New function.
(can_set_flag): New function.
(format_proc_cpuinfo): New function.
(format_proc_partitions): New function.
cgf [Sun, 9 Mar 2003 19:46:29 +0000 (19:46 +0000)]
* winsup.api/winsup.exp: Use -nostdinc when compiling.
* Makefile.in: Specifically search compiler include directory since it is now
stripped via -nostdinc.
cgf [Sun, 9 Mar 2003 19:29:22 +0000 (19:29 +0000)]
.
cgf [Sun, 9 Mar 2003 19:22:15 +0000 (19:22 +0000)]
* Makefile.common: Avoid double slashes in GCC_INCLUDE.
corinna [Sun, 9 Mar 2003 19:04:23 +0000 (19:04 +0000)]
* getfacl.c (username): Fix ambiguous printf calls.
(groupname): Ditto.
(main): Ditto.
dj [Sun, 9 Mar 2003 18:43:06 +0000 (18:43 +0000)]
* configure.in (gxx_include_dir): Fix typo.
* configure: Regenerated.
cgf [Sun, 9 Mar 2003 18:10:42 +0000 (18:10 +0000)]
* syscalls.cc (unlink): Attempt to be more clever about setting attributes of
file. Only open file in query mode to avoid having to mess with security stuff
for reading.
corinna [Sun, 9 Mar 2003 17:53:06 +0000 (17:53 +0000)]
* winsup.api/ltp/fork10.c (main): Remove non-portable declaration
of lseek.
corinna [Sun, 9 Mar 2003 17:13:46 +0000 (17:13 +0000)]
* rmsym: Fix regular expression.
cgf [Sun, 9 Mar 2003 17:03:05 +0000 (17:03 +0000)]
* Makefile.in: Use "cygwin0" rather than "new-cygwin" to denote in-build-tree
version of library or dll.
* config/default.exp: Ditto.
* winsup.api/winsup.exp: Ditto.
cgf [Sun, 9 Mar 2003 17:01:40 +0000 (17:01 +0000)]
* Makefile.in: Change from using new-* to cygwin0 for temporary targets.
ths [Sun, 9 Mar 2003 16:16:31 +0000 (16:16 +0000)]
* config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case.
(s_mips_ent): Likewise.
corinna [Sun, 9 Mar 2003 16:05:54 +0000 (16:05 +0000)]
* include/cygwin/socket.h: Set SOMAXCONN to Winsock2 value.
cgf [Sun, 9 Mar 2003 00:10:29 +0000 (00:10 +0000)]
* syscalls.cc (unlink): Always attempt to use FILE_FLAG_CLOSE_ON_DELETE to
delete files since this allows us to preserve the protection of hard linked
files.
(link): Generate full path for potentially recalculated .lnk target.
gdbadmin [Sun, 9 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 8 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update
kettenis [Sat, 8 Mar 2003 22:16:44 +0000 (22:16 +0000)]
* gdbarch.sh (save_dummy_frame_tos): Add comment.
cagney [Sat, 8 Mar 2003 20:04:27 +0000 (20:04 +0000)]
Index: ChangeLog
2003-03-08 Andrew Cagney <cagney@redhat.com>
* cli-out.c: Update copyright.
(cli_out_data): Define typedef. Use instead of ui_out_data.
Index: mi/ChangeLog
2003-03-08 Andrew Cagney <cagney@redhat.com>
* mi-out.c: Update copyright.
(mi_out_data): Define typedef. Use instead of ui_out_data.
Index: tui/ChangeLog
2003-03-08 Andrew Cagney <cagney@redhat.com>
* tui-out.c: Update copyright.
(tui_out_data): Define typedef. Use instead of ui_out_data.
cagney [Sat, 8 Mar 2003 19:27:12 +0000 (19:27 +0000)]
2003-03-08 Andrew Cagney <cagney@redhat.com>
* valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
the result.
cgf [Sat, 8 Mar 2003 19:22:08 +0000 (19:22 +0000)]
missed in last checkin
cgf [Sat, 8 Mar 2003 17:56:13 +0000 (17:56 +0000)]
Revert below changes regarding _pinfo::cmdline.
corinna [Sat, 8 Mar 2003 16:44:24 +0000 (16:44 +0000)]
* external.cc (cygwin_internal): Change n to __off64_t to match change
of _pinfo::cmdline.
* fhandler.h (class fhandler_virtual): Change filesize member to
__off64_t.
* fhandler_proc.cc (format_proc_meminfo): Change to return __off64_t.
(format_proc_stat): Ditto.
(format_proc_uptime): Ditto.
* fhandler_process.cc (format_process_stat): Ditto.
(format_process_status): Ditto.
(format_process_statm): Ditto.
* pinfo.cc (_pinfo::cmdline): Expect __off64_t parameter.
* pinfo.h (class _pinfo): Change declaration of cmdline accordingly.
cgf [Sat, 8 Mar 2003 04:57:41 +0000 (04:57 +0000)]
* libc/include/sys/unistd.h: Guard getopt.h call to force only declaration of
getopt and avoid getopt_long declaration.
* libc/sys/cygwin/include/unistd.h: Remove.