OSDN Git Service
carlton [Fri, 23 Jan 2004 22:41:24 +0000 (22:41 +0000)]
2004-01-23 David Carlton <carlton@kealia.com>
Patch for PR c++/1520:
* dwarf2read.c (read_func_scope): Set processing_current_prefix
properly if we have a specification die.
(determine_prefix_aux): Rename from determine_prefix.
(determine_prefix): Like the old determine_prefix, but never
returns NULL.
troth [Fri, 23 Jan 2004 22:37:13 +0000 (22:37 +0000)]
* avr-tdep.c: Update copyright.
(avr_iaddr_p): Delete unused function.
(avr_saddr_p): Delete unused function.
jjohnstn [Fri, 23 Jan 2004 22:10:48 +0000 (22:10 +0000)]
2004-01-23 Gábor Lóki <loki@inf.u-szeged.hu>
* m68k/leds.c: remove led_putnum(), zylons() forward
function declarations.
* m68k/leds.h: add zylons() forward function declaration.
jjohnstn [Fri, 23 Jan 2004 22:05:44 +0000 (22:05 +0000)]
2004-01-23 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update to include copyrights for new
iconv code.
carlton [Fri, 23 Jan 2004 21:55:56 +0000 (21:55 +0000)]
2004-01-23 David Carlton <carlton@kealia.com>
* gdb.cp/namespace.cc (C::ensureRefs): New.
* gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
jjohnstn [Fri, 23 Jan 2004 21:37:24 +0000 (21:37 +0000)]
2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* acinclude.m4 (--enable-newlib-iconv): New configuration option.
(--enable-newlib-builtin-converters): Ditto.
* configure.in: Add code to set _ICONV_ENABLED flag.
Set _MB_LEN_MAX to 1 if not mb enabled.
* configure: Regenerated.
* aclocal.m4: Ditto.
* Makefile.in: Ditto.
* newlib.hin: Add _ICONV_ENABLED flag.
* libc/Makefile.am: Add support for iconv.
* libc/configure.in: Ditto.
* libc/Makefile.in: Regenerated.
* libc/aclocal.m4: Ditto.
* libc/configure: Ditto.
* libc/libc.texinfo: Add iconv documentation.
* libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
libc/iconv/README.TODO, libc/iconv/charset.aliases,
libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
libc/iconv/ccs/binary/big5.cct,
libc/iconv/ccs/binary/cns11643_plane1.cct,
libc/iconv/ccs/binary/cns11643_plane14.cct,
libc/iconv/ccs/binary/cns11643_plane2.cct,
libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
libc/iconv/ccs/binary/iso_8859_1.cct,
libc/iconv/ccs/binary/iso_8859_15.cct,
libc/iconv/ccs/binary/iso_8859_2.cct,
libc/iconv/ccs/binary/iso_8859_4.cct,
libc/iconv/ccs/binary/iso_8859_5.cct,
libc/iconv/ccs/binary/jis_x0201.cct,
libc/iconv/ccs/binary/jis_x0208_1983.cct,
libc/iconv/ccs/binary/jis_x0212_1990.cct,
libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
libc/iconv/ccs/binary/ksx1001.cct,
libc/iconv/ccs/binary/shift_jis.cct,
libc/iconv/ccs/binary/us_ascii.cct,
libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
libc/iconv/lib/local.h, libc/include/iconv.h: New files.
* libc/sys/linux/include/iconv.h: Ditto.
* libc/include/sys/_types.h (_iconv_t): Added.
* doc/aclocal.m4: Regenerated.
* doc/configure: Ditto.
* doc/Makefile.in: Ditto.
* iconvdata/Makefile.in: Ditto.
* iconvdata/aclocal.m4: Ditto.
* iconvdata/configure: Ditto.
* libc/*aclocal.m4: Ditto.
* libc/*Makefile.in: Ditto.
* libc/*configure: Ditto.
* libm/*aclocal.m4: Ditto.
* libm/*Makefile.in: Ditto.
* libm/*configure: Ditto.
carlton [Fri, 23 Jan 2004 17:56:44 +0000 (17:56 +0000)]
2004-01-23 David Carlton <carlton@kealia.com>
* symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
Fix for PR symtab/1534.
drow [Fri, 23 Jan 2004 16:51:47 +0000 (16:51 +0000)]
* elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13
change.
drow [Fri, 23 Jan 2004 16:51:38 +0000 (16:51 +0000)]
* ld-arm/arm-app-abs32.s, ld-arm/arm-app-abs32.r,
ld-arm/arm-app-abs32.d: New files.
* ld-arm/arm-elf.exp: Add arm-app-abs32 testcase.
drow [Fri, 23 Jan 2004 16:29:34 +0000 (16:29 +0000)]
* config/tc-arm.c (tc_gen_reloc): Improve error message for
undefined local labels.
drow [Fri, 23 Jan 2004 16:29:25 +0000 (16:29 +0000)]
* gas/arm/arm.exp: Add "undefined" test.
* gas/arm/undefined.s, gas/arm/undefined.l: New files.
drow [Fri, 23 Jan 2004 16:28:15 +0000 (16:28 +0000)]
* gas/arm/arm.exp: Add "undefined" test.
* gas/arm/undefined.s, gas/arm/undefined.l: New files.
cgf [Fri, 23 Jan 2004 15:44:15 +0000 (15:44 +0000)]
* exceptions.cc (sig_handle_tty_stop): Fix boneheaded mistake by using correct
check for parent state rather than inverted check mistakenly introduced on
2003-09-15.
cgf [Fri, 23 Jan 2004 15:22:48 +0000 (15:22 +0000)]
* fhandler_serial.cc (fhandler_serial::raw_write): Prevent a deadlock when the
input buffer overflows.
(fhandler_serial::raw_read): Correct to print the actual error and only call
PurgeComm when necessary.
rsandifo [Fri, 23 Jan 2004 13:10:59 +0000 (13:10 +0000)]
* config/tc-mips.c (load_address, macro): Update comments about
NewABI GP relaxation.
rsandifo [Fri, 23 Jan 2004 13:02:27 +0000 (13:02 +0000)]
* config/tc-mips.c (macro_build): Remove place and counter arguments.
(mips_build_lui, macro_build_ldst_constoffset): Likewise.
(mips16_macro_build, macro_build_jalr): Remove counter argument.
(set_at, load_register, load_address, move_register): Likewise.
(load_got_offset, add_got_offset): Likewise.
Update all calls and tidy accordingly.
rsandifo [Fri, 23 Jan 2004 13:01:06 +0000 (13:01 +0000)]
* gas/mips/macro-warn-[1234].[sdl]: New tests.
* gas/mips/macro-warn-[12]-n32.[dl]: New tests.
* gas/mips/mips.exp: Run them.
rsandifo [Fri, 23 Jan 2004 13:00:17 +0000 (13:00 +0000)]
* config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
(RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
(RELAX_USE_SECOND): Bump to 0x10000.
(RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
(mips_macro_warning): New variable.
(md_assemble): Wrap macro expansion in macro_start() and macro_end().
(s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
(relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
of RELAX_ENCODE.
(append_insn): Update mips_macro_warning.sizes.
(macro_start, macro_warning, macro_end): New functions.
(macro_build): Don't emit warnings here.
(macro_build_lui, md_estimate_size_before_relax): ...or here.
(md_convert_frag): Check for cases where one macro alternative
needs a warning and the other doesn't. Emit a warning if the
longer sequence was chosen.
rsandifo [Fri, 23 Jan 2004 12:58:15 +0000 (12:58 +0000)]
* config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
* config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
the first sequence, the size of the second sequence, and a flag
that says whether we should warn.
(RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
(RELAX_FIRST, RELAX_SECOND): New.
(mips_relax): New variable.
(relax_close_frag, relax_start, relax_switch, relax_end): New fns.
(append_insn): Remove "place" argument. Use mips_relax.sequence
rather than "place" to check whether we're expanding the second
alternative of a relaxable macro. Remove redundant check for
branch relaxation. If generating a normal insn, and there
is not enough room in the current frag, call relax_close_frag()
to close it. Update mips_relax.sizes[]. Emit fixups for the
second version of a relaxable macro. Record the first relaxable
fixup in mips_relax. Remove tc_gen_reloc workaround.
(macro_build): Remove all uses of "place". Use mips_relax.sequence
in the same way as in append_insn.
(mips16_macro_build): Remove "place" argument.
(macro_build_lui): As for macro_build. Don't drop the add_symbol
when generating the second version of a relaxable macro.
(load_got_offset, add_got_offset): New functions.
(load_address, macro): Use new relaxation machinery. Remove
tc_gen_reloc workarounds.
(md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
version of a relaxable macro is needed. Return -RELAX_SECOND if the
first version is needed.
(tc_gen_reloc): Remove relaxation handling.
(md_convert_frag): Go through the fixups for a relaxable macro and
mark those that belong to the unneeded alternative as done. If the
second alternative is needed, adjust the fixup addresses to account
for the deleted first alternative.
testsuite/
* gas/mips/elf-rel19.[sd]: New test.
* gas/mips/mips.exp: Run it.
rsandifo [Fri, 23 Jan 2004 12:52:18 +0000 (12:52 +0000)]
* frags.h (frag_room): Declare.
* frags.c (frag_room): New function.
* doc/internals.texi: Document it.
nickc [Fri, 23 Jan 2004 12:08:24 +0000 (12:08 +0000)]
Tighten constaints on a few sparc instructions
bje [Fri, 23 Jan 2004 03:15:26 +0000 (03:15 +0000)]
* lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if a
test passes.
gdbadmin [Fri, 23 Jan 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
kettenis [Thu, 22 Jan 2004 23:18:03 +0000 (23:18 +0000)]
* NEWS (New native configurations): Mention OpenBSD/sparc and
OpenBSD/sparc64.
* configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
* configure.host: Likewise.
* sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
handler for OpenBSD.
* sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.
amodra [Thu, 22 Jan 2004 23:00:06 +0000 (23:00 +0000)]
daily update
kettenis [Thu, 22 Jan 2004 22:57:58 +0000 (22:57 +0000)]
* sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
(_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.
kettenis [Thu, 22 Jan 2004 22:20:37 +0000 (22:20 +0000)]
* ser-pipe.c (pipe_open): Use proper null pointer in execl call.
* cli/cli-cmds.c (shell_escape): Likewise.
jjohnstn [Thu, 22 Jan 2004 22:06:56 +0000 (22:06 +0000)]
2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
* libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
by a lock when newlib is multithreaded.
kettenis [Thu, 22 Jan 2004 21:56:32 +0000 (21:56 +0000)]
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
OpenBSD .note.openbsd.ident sections.
carlton [Thu, 22 Jan 2004 19:56:53 +0000 (19:56 +0000)]
2004-01-22 David Carlton <carlton@kealia.com>
* dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
get_scope_pc_bounds.
(read_file_scope): Ditto.
(get_scope_pc_bounds): New function, produced by extracting code
from the above two functions, consolidating it, and adding support
for DW_TAG_namespace.
dj [Thu, 22 Jan 2004 19:34:11 +0000 (19:34 +0000)]
merge from gcc
cgf [Thu, 22 Jan 2004 19:16:17 +0000 (19:16 +0000)]
change comment.
cgf [Thu, 22 Jan 2004 19:14:07 +0000 (19:14 +0000)]
* dcrt0.cc (reent_data): Make global.
* cygwin.din: Reexport reent_data.
cgf [Thu, 22 Jan 2004 19:03:18 +0000 (19:03 +0000)]
* cygtls.cc (_threadinfo::remove): Don't assume that we are removing _my_tls.
* exceptions.cc (setup_handler): Improve debugging output.
(call_signal_handler_now): Remove ill-advised debugger call.
* sigproc.cc (sigcomplete_main): Delete.
(sig_send): Honor FIXME and avoid using main thread's completion event for
everything or suffer races.
(pending_signals::add): Default stored mask to current process mask rather than
mask at time of signal send.
(wait_sig): Add debugging output.
* sigproc.h (sigpacket::mask_storage): Delete.
cgf [Thu, 22 Jan 2004 15:08:06 +0000 (15:08 +0000)]
* fhandler.cc (fhandler_base::open): Revert isfs change.
corinna [Thu, 22 Jan 2004 09:21:56 +0000 (09:21 +0000)]
* cygpath.cc (dowin): Revert accidental checkin from November.
gdbadmin [Thu, 22 Jan 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
ths [Wed, 21 Jan 2004 23:25:38 +0000 (23:25 +0000)]
* config/tc-mips.c (append_insn): Don't do r3900 interlock
optimization for -mtune=r3900, as this will break on other CPUs.
kettenis [Wed, 21 Jan 2004 23:07:24 +0000 (23:07 +0000)]
* osabi.c (MAX_NOTESZ): New define.
(check_note): New function.
(generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using
check_note.
amodra [Wed, 21 Jan 2004 23:00:07 +0000 (23:00 +0000)]
daily update
roland [Wed, 21 Jan 2004 20:50:57 +0000 (20:50 +0000)]
.
roland [Wed, 21 Jan 2004 20:50:41 +0000 (20:50 +0000)]
2004-01-21 Roland McGrath <roland@redhat.com>
* MAINTAINERS (write after approval): Add myself.
jjohnstn [Wed, 21 Jan 2004 20:09:15 +0000 (20:09 +0000)]
2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
pointer to match C99 spec.
* libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
dst is NULL. Also fix to not alter src pointer when dst is NULL
and call _mbrtowc_r instead of _mbtowc_r.
* libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
of _wctomb_r.
cgf [Wed, 21 Jan 2004 19:14:18 +0000 (19:14 +0000)]
* devices.in: Change raw com device to more correct form.
eliz [Wed, 21 Jan 2004 18:46:22 +0000 (18:46 +0000)]
* utils.c (init_page_info): Move declarations of `rows' and
`cols' before the __GO32__-specific code. Move the closing brace
outside the #ifdef __GO32__..#endif block.
[__GO32__]: Use `rows' and `cols' to avoid compiler warnings.
eliz [Wed, 21 Jan 2004 18:44:52 +0000 (18:44 +0000)]
* Makefile.in (install-info): Prepend $(DESTDIR) to $(infodir).
cgf [Wed, 21 Jan 2004 18:19:28 +0000 (18:19 +0000)]
* fhandler.cc (fhandler_base::open): Use major numbers rather than device
numbers to control special behavior for devices which take units.
* fhandler_raw.cc (fhandler_dev_raw::writebuf): Ditto.
(fhandler_dev_raw::fstat): Ditto.
(fhandler_dev_raw::open): Ditto.
(fhandler_dev_raw::ioctl): Ditto.
pbrook [Wed, 21 Jan 2004 16:32:07 +0000 (16:32 +0000)]
* infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
BPSTAT_WHAT_CHECK_SHLIBS.
pbrook [Wed, 21 Jan 2004 16:30:41 +0000 (16:30 +0000)]
* MAINTAINERS: Add myself to write-after-approval.
cgf [Wed, 21 Jan 2004 15:47:47 +0000 (15:47 +0000)]
* signal.cc (sigaction): Fix if-statement typo.
cagney [Wed, 21 Jan 2004 15:37:10 +0000 (15:37 +0000)]
2004-01-20 Andrew Cagney <cagney@redhat.com>
* ax-gdb.c (print_axs_value): Delete unused function.
* jv-lang.c (java_lookup_type): Delete unused function.
* cli/cli-dump.c (dump_filetype): Delete unused function.
* remote-mips.c (remote_mips_insert_hw_breakpoint)
(remote_mips_remove_hw_breakpoint): Delete unused functions.
(mips_getstring): Delete unused function.
(pmon_insert_breakpoint): Delete #if0ed function.
(PMON_MAX_BP): Delete #if0ed MACRO.
(mips_pmon_bp_info): Delete #if0ed variable.
(pmon_remove_breakpoint): Delete #if0ed function.
* monitor.c (monitor_write_even_block): Delete unused function.
(monitor_write_memory_block): Delete #if0ed code.
* dink32-rom.c (dink32_load): Delete unused function.
(_initialize_dink32_rom): Delete #if0ed code.
* d10v-tdep.c (d10v_daddr_p): Delete unused function.
cgf [Wed, 21 Jan 2004 15:16:10 +0000 (15:16 +0000)]
* cygtls.cc (handle_threadlist_exception): Change logic, improve debugging
output.
kseitz [Wed, 21 Jan 2004 14:38:49 +0000 (14:38 +0000)]
From tcl repository:
2003-10-22 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* generic/tclCmdAH.c (Tcl_FileObjCmd): Changed FILE_ prefix to FCMD_
to stop symbol/#def clashes on Cygwin/Mingw32 on NT.
nickc [Wed, 21 Jan 2004 11:17:50 +0000 (11:17 +0000)]
Stop indexed move byte instructions from being relaxed.
cgf [Wed, 21 Jan 2004 06:28:34 +0000 (06:28 +0000)]
* fhandler_tty.cc (fhandler_tty::ioctl): Semi-revert 2003-09-26 change for
TIOCSWINSZ. It is not an error for ioctl_request_event to be missing.
* sigproc.cc (pending_signals::save): New function.
(pending_signals::restore): Ditto.
(sig_clear): Save/restore current queue pointer.
(wait_sig): Delete signals marked as such.
* sigproc.h (__SIGDELETE): New enum.
cagney [Wed, 21 Jan 2004 04:16:52 +0000 (04:16 +0000)]
2004-01-20 Andrew Cagney <cagney@redhat.com>
* tui/tui-command.c: Update references.
* tui/tui-io.c: Update references.
* tui/tui-command.h: Update copyright.
(tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
cagney [Wed, 21 Jan 2004 04:11:15 +0000 (04:11 +0000)]
2004-01-20 Andrew Cagney <cagney@redhat.com>
* source.c (ambiguous_line_spec): Delete never-defined function.
* remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
* gdbtypes.c (add_name, add_mangled_type): Ditto.
* cli/cli-cmds.c (validate_comname): Ditto.
gdbadmin [Wed, 21 Jan 2004 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 20 Jan 2004 23:00:06 +0000 (23:00 +0000)]
daily update
cagney [Tue, 20 Jan 2004 21:56:20 +0000 (21:56 +0000)]
2004-01-20 Andrew Cagney <cagney@redhat.com>
* tui/tui-disasm.h: Update copyright. Include "tui.h" and
"tui-data.h".
(tui_set_disassem_content): Rename tuiSetDisassemContent.
(tui_show_disassem): Rename tuiShowDisassem.
(tui_show_disassem_and_update_source): Rename
tuiVerticalDisassemScroll.
(tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
(tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
* tui/tui.h: Update copyright.
(enum tui_status): Define.
* tui/tui-data.h (enum tui_scroll_direction): Define.
* tui/tui-disasm.c: Update copyright. Update references.
* tui/tui-winsource.c: Update copyright. Update references.
* tui/tui-win.c: Update references.
* tui/tui-layout.c: Update references.
cagney [Tue, 20 Jan 2004 21:47:51 +0000 (21:47 +0000)]
2004-01-20 Andrew Cagney <cagney@redhat.com>
* mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
sym2 to start of block.
dannysmith [Tue, 20 Jan 2004 21:08:16 +0000 (21:08 +0000)]
* pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
* ld.texinfo (--omagic): Note that writable text section
does not conform to published PE-COFF specs.
(--enable-auto-import): Likewise.
dannysmith [Tue, 20 Jan 2004 21:04:18 +0000 (21:04 +0000)]
* peXXigen.c (_bfd_XXi_swap_scnhdr_out): Don't remove
IMAGE_SCN_MEM_WRITE flag from .text section if WP_TEXT
flag has been cleared.
cgf [Tue, 20 Jan 2004 19:36:58 +0000 (19:36 +0000)]
remove extra entry
cgf [Tue, 20 Jan 2004 19:36:33 +0000 (19:36 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 8.
* cygmalloc.h: Make more concessions to attempts to get debugging malloc
working.
* debug.h: Ditto.
* dlmalloc.cc: Ditto.
* dlmalloc.h: Ditto.
* malloc_wrapper.cc: Ditto.
* perthread.h (perthread::create): Use calloc to ensure zeroed memory.
joshuadfranklin [Tue, 20 Jan 2004 17:20:34 +0000 (17:20 +0000)]
2004-01-20 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* Makefile.in: Remove unused cygwin-ug and cygwin-api-int
targets from default build.
* how-using.texinfo: Add information about 8-bit character
display to FAQ.
* setup2.sgml: Add information about 8-bit character display
to "Setting up Cygwin".
nickc [Tue, 20 Jan 2004 13:08:47 +0000 (13:08 +0000)]
Update the copyright year
chastain [Tue, 20 Jan 2004 09:29:11 +0000 (09:29 +0000)]
2004-01-19 Michael Chastain <mec.gnu@mindspring.com>
* MAINTAINERS: Delete mmalloc.
* Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
* NEWS: Mention removal of --with-malloc.
* acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
* config.in: Regenerate.
* configure: Regenerate.
* configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc, USE_MMALLOC, MMCHECK_FORCE.
* gdbinit.in: Remove mmalloc.
* utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
* config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
* config/i386/go32.mh: Likewise.
* config/i386/interix.mh: Likewise.
* config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.
2004-01-19 Michael Chastain <mec.gnu@mindspring.com>
* gdbint.texinfo: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE,
MMAP_BASE_ADDRESS, MMAP_INCREMENT.
corinna [Tue, 20 Jan 2004 09:13:19 +0000 (09:13 +0000)]
* sec_acl.cc (setacl): Make sure sd_ret is large enough.
cgd [Tue, 20 Jan 2004 07:06:14 +0000 (07:06 +0000)]
2004-01-19 Chris Demetriou <cgd@broadcom.com>
* mips.igen (check_mf_cycles, check_mt_hilo, check_mf_hilo)
(check_mult_hilo): Improve comments.
(check_div_hilo): Likewise. Also, fork off a new version
to handle mips32/mips64 (since there are no hazards to check
in MIPS32/MIPS64).
cgf [Tue, 20 Jan 2004 03:11:39 +0000 (03:11 +0000)]
fix typo
jjohnstn [Tue, 20 Jan 2004 02:04:18 +0000 (02:04 +0000)]
2004-01-19 Jeff Johnston <jjohnstn@redhat.com>
* linespec.c (decode_variable, symtab_from_filename): Call
error_silent with error message instead of throwing an exception
directly.
* defs.h (error_silent, error_output_message): Add prototypes.
(catch_exceptions_with_msg): Ditto.
* utils.c (error_silent, error_output_message): New functions.
* top.c (catch_exceptions_with_msg): New function.
joshuadfranklin [Tue, 20 Jan 2004 01:00:20 +0000 (01:00 +0000)]
Document new passwd options.
nickrob [Tue, 20 Jan 2004 00:54:04 +0000 (00:54 +0000)]
Test for case "-var-list-children --all-values NAME".
nickrob [Tue, 20 Jan 2004 00:52:06 +0000 (00:52 +0000)]
(test_stack_locals_listing): Test for case "-stack-list-locals 2".
nickrob [Tue, 20 Jan 2004 00:51:13 +0000 (00:51 +0000)]
*** empty log message ***
nickrob [Tue, 20 Jan 2004 00:50:05 +0000 (00:50 +0000)]
(GDB/MI Stack Manipulation): Describe extension to -stack-list-locals.
(GDB/MI Variable Objects): Describe extension to -var-list-children.
nickrob [Tue, 20 Jan 2004 00:47:22 +0000 (00:47 +0000)]
*** empty log message ***
nickrob [Tue, 20 Jan 2004 00:46:36 +0000 (00:46 +0000)]
(mi_cmd_var_list_children): Print the values of the
children, if required.
nickrob [Tue, 20 Jan 2004 00:46:00 +0000 (00:46 +0000)]
(mi_cmd_stack_list_locals): Print the name,
type and value for simple data types and just the name and type
for complex ones, if required.
nickrob [Tue, 20 Jan 2004 00:45:29 +0000 (00:45 +0000)]
(enum print_values): Add definition.
nickrob [Tue, 20 Jan 2004 00:44:55 +0000 (00:44 +0000)]
*** empty log message ***
gdbadmin [Tue, 20 Jan 2004 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
kevinb [Mon, 19 Jan 2004 23:11:36 +0000 (23:11 +0000)]
* frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
unused declarations.
cgf [Mon, 19 Jan 2004 23:03:42 +0000 (23:03 +0000)]
* sigproc.cc (sigproc_terminate): Don't close sendsig handle when execing since
we're not closing what we think we're closing.
(sig_send): Improve debugging when exiting due to no_signals_available.
* wincap.h (wincaps::cant_debug_dll_entry): New element.
* wincap.cc: Implement above element throughout.
* dcrt0.cc (initial_env): Accommodate changes necessary to allow initial
debugging for systems which do not allow debugging in dll_entry.
(dll_crt0_0): Add initial_env call back here.
* Makefile.in (install-man): Use mandir as target for installation.
* include/cygwin/version.h: Bump DLL minor number to 7 (should have been done
earlier).
amodra [Mon, 19 Jan 2004 23:00:04 +0000 (23:00 +0000)]
daily update
jjohnstn [Mon, 19 Jan 2004 21:30:33 +0000 (21:30 +0000)]
2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
* libc/stdio/fclose.c (fclose): Release FILE as the last step.
* libc/stdio/freopen.c (freopen): Ditto.
bje [Mon, 19 Jan 2004 20:08:45 +0000 (20:08 +0000)]
Covered by ../MAINTAINERS.
cagney [Mon, 19 Jan 2004 19:56:01 +0000 (19:56 +0000)]
2004-01-19 Andrew Cagney <cagney@redhat.com>
* top.h (mapped_symbol_files): Delete declaration.
* main.c (captured_main): Delete option "m" and "mapped".
* objfiles.c (mapped_symbol_files): Delete variable.
* symfile.c (symbol_file_command): Delete mmap code.
(symbol_file_add_with_addrs_or_offsets): Ditto.
(add_symbol_file_command, reread_separate_symbols): Ditto.
* objfiles.h (OBJF_MAPPED): Delete.
* objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
(free_objfile) [USE_MMALLOC]: Ditto.
(open_existing_mapped_file): Delete function.
(open_mapped_file): Delete function.
(map_to_file): Delete function.
kettenis [Mon, 19 Jan 2004 18:28:58 +0000 (18:28 +0000)]
* common.h (NT_OPENBSD_IDENT): Define.
kevinb [Mon, 19 Jan 2004 17:28:51 +0000 (17:28 +0000)]
* infrun.c (step_into_function): Account for possible breakpoint
adjustment when computing ``stop_func_start''.
kazu [Mon, 19 Jan 2004 17:02:41 +0000 (17:02 +0000)]
* coff-h8300.c: Add and adjust comments about relaxation.
* elf32-h8300.c: Likewise.
kevinb [Mon, 19 Jan 2004 16:49:34 +0000 (16:49 +0000)]
* target.c (default_region_size_ok_for_hw_watchpoint): Compare
the region size against the size of a pointer, not the size of
a register as given by DEPRECATED_REGISTER_SIZE.
cagney [Mon, 19 Jan 2004 16:06:02 +0000 (16:06 +0000)]
2004-01-19 Andrew Cagney <cagney@redhat.com>
* tui/tui-regs.h: Include "tui-data.h".
(tuiFirstRegElementNoInLine): Delete declaration.
(tui_display_registers_from): Rename tuiDisplayRegistersFrom.
(tui_last_regs_line_no): Rename tuiLastRegsLineNo.
(tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
(tui_calculate_regs_column_count): Rename
tuiCalculateRegsColumnCount.
(tui_check_register_values): Rename tuiCheckRegisterValues.
(tui_show_registers): Rename tuiShowRegisters.
(tui_display_registers_from_line): Rename
tuiDisplayRegistersFromLine.
(tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
(tui_toggle_float_regs): Rename tuiToggleFloatRegs.
(tui_first_reg_element_no_inline): Rename
tuiFirstRegElementNoInLine.
* tui/tui-data.h: Update copyright.
(enum tui_register_display_type): Rename _TuiRegisterDisplayType.
* tui/tui-windata.c: Update copyright, update references.
* tui/tui-regs.c: Update copyright, update references.
* tui/tui-win.c: Update copyright, update references.
* tui/tui-layout.c: Update copyright, update references.
cgf [Mon, 19 Jan 2004 05:46:54 +0000 (05:46 +0000)]
* cygwin/include/signal.h: Add copyright notice.
* cygwin.din: Make clock SIGFE. Add clock_gettime, sigwaitinfo, timer_create,
timer_delete, timer_settime.
* include/cygwin/version.h: Reflect above additions.
* fork.cc (fork_child): Call fixup_timers_after_fork.
* signal.cc (sigwait): Remove unused variable.
* timer.cc: New file.
(clock_gettime): Define new function.
(timer_tracker): Define new struct used by timer functions.
(timer_tracker::timer_tracker): New function.
(to_us): New function.
(timer_thread): New function.
(timer_tracker::settime): New function.
(timer_create): New function.
(timer_settime): New function.
(timer_delete): New function.
(fixup_timers_after_fork): New function.
* cygthread.cc: Bump thread count.
* signal.cc (sigwaitinfo): Define new function.
(sigwait): Redefine based on sigwaitinfo.
* include/cygwin/signal.h (sigwaitinfo): Declare.
(sigwait): Ditto.
* dtable.cc (dtable::vfork_parent_restore): Avoid double close of ctty when
ctty == ctty_on_hold.
* cygtls.h (_threadinfo::threadkill): New element.
(_threadinfo::set_threadkill): Declare new function.
(_threadinfo::reset_threadkill): Declare new function.
* dcrt0.cc (dcrt0_1): Call here so that it will be possible to attach to
running process with #(*& Windows Me/9x.
(initial_env): Try to initialize strace if uninitialized.
* gendef: Don't zero signal if threadkill is set since that will happen in the
called function.
* signal.cc (sigwait): Ensure cleanup in error conditions.
* sigproc.cc (sig_send): Clear packet mask storage.
(wait_subproc): Fill in child exit code in siginfo_t structure.
* thread.cc (pthread_kill): Set threadkill flag.
* tlsoffsets.h: Regenerate. Throughout, use siginfo_t to fill out all signal
information for "kernel" signals.
* cygtls.h (_threadinfo::set_siginfo): Declare new function.
* cygtls.cc (_threadinfo::set_siginfo): Define new function.
* dcrt0.cc (do_exit): Accommodate siginfo_t considerations.
* exceptions.cc (handle_exceptions): Ditto.
(sig_handle_tty_stop): Ditto.
(ctrl_c_handler): Use killsys() to send signal.
(sigpacket::process): Rename from sig_handle. Use siginfo_t field from
sigpacket for everything.
(tty_min::kill_pgrp): Accommodate siginfo_t considerations.
(fhandler_termios::bg_check): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::ioctl): Use killsys() to send signal.
* signal.cc (kill_worker): Rewrite to use siginfo_t second argument.
(kill_pgrp): Ditto.
(kill0): Define new function pulled from kill().
(kill): Rewrite as frontend to kill0.
(killsys): Define new function.
* sigproc.cc (sigelem): Eliminate.
(sigpacket): Move to sigproc.h. Subsume sigelem.
(pending_signals): Use sigpacket rather than sigelem for everything.
(sig_clear): Ditto.
(wait_sig): Ditto.
(sig_send): Rewrite to use siginfo_t argument.
(sig_send): New function wratpper to sig_send with siginfo_t argument.
(wait_subproc): Accommodate siginfo_t considerations.
* thread.cc (pthread_kill): Ditto.
* sigproc.h (sigpacket): Move here.
(sigpacket::process): Declare "new" function.
(sig_handle): Eliminate declaration.
(sig_send): Declare with new paramaters.
(killsys): Declare new function.
(kill_pgrp): Declare.
* winsup.h: Move some signal-specific stuff to sigproc.h.
* include/cygwin/signal.h: Tweak some siginfo_t stuff.
cgf [Mon, 19 Jan 2004 05:23:02 +0000 (05:23 +0000)]
update
cagney [Mon, 19 Jan 2004 05:06:32 +0000 (05:06 +0000)]
2004-01-18 Andrew Cagney <cagney@redhat.com>
* tui/tui-io.c: Update copyright.
(key_is_end_sequence, key_is_backspace): New functions.
(key_is_command_char, key_is_start_sequence): New function.
(tui_getc): Update references.
* tui/tui-io.h: Update copyright.
(m_tuiStartNewLine): Delete macro.
(m_isBackspace, m_isDeleteChar): Delete macros.
(m_isDeleteLine, m_isDeleteToEol): Delete macros.
(m_isNextPage, m_isPrevPage): Delete macros.
(m_isLeftArrow, m_isRightArrow): Delete macros.
(m_isXdbStyleCommandChar): Delete macro.
(key_is_start_sequence): Declare, replace m_isStartSequence.
(key_is_end_sequence): Declare, replace m_isEndSequence.
(key_is_backspace): Declare ,replace m_isBackspace.
(key_is_command_char): Declare, replace m_isCommandChar.
* tui/tui-command.c: Update copyright.
(tuiDispatchCtrlChar): Update references.
cagney [Mon, 19 Jan 2004 04:36:56 +0000 (04:36 +0000)]
2004-01-18 Andrew Cagney <cagney@redhat.com>
* config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
tuiSourceWin.h.
cagney [Mon, 19 Jan 2004 04:31:46 +0000 (04:31 +0000)]
2004-01-18 Andrew Cagney <cagney@redhat.com>
* tui/tui-command.c: Rename tui/tuiCommand.c.
* tui/tui-command.h: Rename tui/tuiCommand.h.
* tui/tui-data.c: Rename tui/tuiData.c.
* tui/tui-data.h: Rename tui/tuiData.h.
* tui/tui-disasm.c: Rename tui/tuiDisassem.c.
* tui/tui-disasm.h: Rename tui/tuiDisassem.h.
* tui/tui-io.c: Rename tui/tuiIO.c.
* tui/tui-io.h: Rename tui/tuiIO.h.
* tui/tui-layout.c: Rename tui/tuiLayout.c.
* tui/tui-layout.h: Rename tui/tuiLayout.h.
* tui/tui-regs.c: Rename tui/tuiRegs.c.
* tui/tui-regs.h: Rename tui/tuiRegs.h.
* tui/tui-source.c: Rename tui/tuiSource.c.
* tui/tui-source.h: Rename tui/tuiSource.h.
* tui/tui-stack.c: Rename tui/tuiStack.c.
* tui/tui-stack.h: Rename tui/tuiStack.h.
* tui/tui-win.c: Rename tui/tuiWin.c.
* tui/tui-win.h: Rename tui/tuiWin.h.
* tui/tui-windata.c: Rename tui/tuiDataWin.c.
* tui/tui-windata.h: Rename tui/tuiDataWin.h.
* tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
* tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
* tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
* tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
* tui/tui-file.c: Update includes.
* tui/tui-hooks.c: Update includes.
* tui/tui-interp.c: Update includes.
* tui/tui.c: Update includes.
* Makefile.in: Update all tui/ dependencies.
(SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.
chastain [Mon, 19 Jan 2004 04:06:42 +0000 (04:06 +0000)]
2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.