OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
23 years ago* demo prep
fche [Thu, 5 Apr 2001 17:17:01 +0000 (17:17 +0000)]
* demo prep

[bsp/ChangeLog]
2001-04-05  Frank Ch. Eigler  <fche@redhat.com>

        * configrun-sid.in: Remove unused "--board=none" clause.
        (board=pid7t): Support "redboot", a new alternative to "cygmon",
        and "eCosstub".

[bsp/pregen/ChangeLog]
2001-04-05  Frank Ch. Eigler  <fche@redhat.com>

        * pregen-configs.in (arm): Generate redboot rather than cygmon .conf
        files.
        * arm-pid-redboot.conf, arm-pid-redboot-tksm.conf: New files.
        * armpid-redboot.img: New ROM image for RedBoot snapshot 2001-04-05.
        * arm-pid-cygmon.conf, arm-pid-cygmon-tksm.conf: Zapped files.

23 years ago * README: Don't mention gdba.el.
eliz [Thu, 5 Apr 2001 16:52:30 +0000 (16:52 +0000)]
* README: Don't mention gdba.el.

23 years ago * lib/gas-defs.exp (run_dump_test): Support using readelf.
hp [Thu, 5 Apr 2001 15:31:45 +0000 (15:31 +0000)]
* lib/gas-defs.exp (run_dump_test): Support using readelf.
* config/default.exp: Default READELF and READELFFLAGS.

23 years ago2001-04-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Thu, 5 Apr 2001 15:19:41 +0000 (15:19 +0000)]
2001-04-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        From  Jimmy Guo  <guo@cup.hp.com>
        * top.c (init_main): set prompt if annotation_level>1,
        this is necessary when annotation_level is set to 2 via
        --annotate=2 command line option.

23 years agoObsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.
cagney [Thu, 5 Apr 2001 14:49:28 +0000 (14:49 +0000)]
Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.

23 years agoFix more breakages from the multiple relax pass patch.
amodra [Thu, 5 Apr 2001 04:21:34 +0000 (04:21 +0000)]
Fix more breakages from the multiple relax pass patch.

23 years ago* main.c: Remove windows.h use.
cgf [Thu, 5 Apr 2001 02:02:13 +0000 (02:02 +0000)]
* main.c: Remove windows.h use.
(gdbtk_test): Use PATH_MAX for home var calculation.
* remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as Win32 in
test.
* ser-tcp.c: Use modern __CYGWIN__ conditional.
* source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test.
(openp): Ditto.
* symfile.c (symfile_bfd_open): Ditto.
* gdbtk/generic/gdbtk.c: Ditto.

23 years ago2001-04-04 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 5 Apr 2001 00:04:45 +0000 (00:04 +0000)]
2001-04-04  Martin M. Hunt  <hunt@redhat.com>

* main.c (captured_main): For GDBtk, don't use tui_fileopen().
Handle all stream setup in gdbtk_init

23 years ago2001-04-04 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 5 Apr 2001 00:04:26 +0000 (00:04 +0000)]
2001-04-04  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk-hooks.c (gdbtk_fileopen): New function.
Initialize ui_file stuff for gdbtk.
(gdbtk_fputs): Don't print if gdbtk_disable_fputs. Send
stdlog and stdtarg to their handler functions.

* generic/gdbtk.c (Gdbtk_Init): Don't set gdb_stdlog
and gdb_stdtarg to gdb_stdout,
(gdbtk_init): Unset gdbtk_disable_fputs
when ready to accept output from gdb. Remove references to
fputs_unfiltered_hook.

* generic/gdbtk.h: Declare new flag gdbtk_disable_fputs.

* generic/gdbtk-cmds.c (gdb_restore_fputs): Instead of setting
fputs_unfiltered_hook, set the new flag gdbtk_disable_fputs.

* library/prefs.tcl (pref_set_defaults): Add defaults
for log_fg and target_fg.

* library/interface.tcl (gdbtk_tcl_fputs_error): Use
err_tag.
(gdbtk_tcl_fputs_log): New function. Write log messages
to console.
(gdbtk_tcl_fputs_target): New function. Write target
IO to console.

* library/console.ith (einsert): Add tag parameter.

* library/console.itb (_build_win): Add new tags for log
and target IO.
(einsert): Add tag parameter.

23 years ago* function++
fche [Wed, 4 Apr 2001 23:54:05 +0000 (23:54 +0000)]
* function++
2001-04-04  Frank Ch. Eigler  <fche@redhat.com>

        * sidrtc.cxx (get_{hours,minutes,seconds}_attribute): New getter fns
        for appropriate new attributes.
        (set_no_attribute): New dummy setter fn for same.
        (sidrtc ctor): Expose new attributes, component gui xref.
        * components.h: Corresponding changes.
        * hw-rtc-sid.txt: Document gui-compatibility.
        * hw-rtc-ds1x42.txt: Similar tweak.

23 years ago* function++
fche [Wed, 4 Apr 2001 23:53:31 +0000 (23:53 +0000)]
* function++

2001-04-04  Frank Ch. Eigler  <fche@redhat.com>

        * gprof.cxx (limit_min, limit_max): New variables/attributes.
        (accumulate): Respect them.
        * sw-profile-gprof.txt: Document them.

23 years ago* arm tweak
fche [Wed, 4 Apr 2001 23:52:57 +0000 (23:52 +0000)]
* arm tweak

[bsp/ChangeLog]
2001-04-04  Frank Ch. Eigler  <fche@redhat.com>

        * configrun-sid.in: For arm target, set emable_z_packet.

[bsp/pregen/ChangeLog]
2001-04-04  Frank Ch. Eigler  <fche@redhat.com>

        * arm-*.conf: Regenerated with new enable_z_packet default.

23 years ago * baseboards/unix.exp (ieee_multilib_flags): Set for alpha targets.
rth [Wed, 4 Apr 2001 23:20:32 +0000 (23:20 +0000)]
    * baseboards/unix.exp (ieee_multilib_flags): Set for alpha targets.

23 years ago* bug fix
fche [Wed, 4 Apr 2001 16:09:49 +0000 (16:09 +0000)]
* bug fix

2001-04-04  Frank Ch. Eigler  <fche@redhat.com>

* compTcl.cxx (scan_files): Make ".../sidcomp" an optional part of
the search path.

23 years ago* i386-tdep.c (i386_extract_return_value): Don't return the return
kettenis [Wed, 4 Apr 2001 15:09:45 +0000 (15:09 +0000)]
* i386-tdep.c (i386_extract_return_value): Don't return the return
value of a void function.
(i386_store_return_value): Likewise.

23 years ago* child_info.h: Bump magic number for fork/exec/spawn.
cgf [Wed, 4 Apr 2001 14:37:45 +0000 (14:37 +0000)]
* child_info.h: Bump magic number for fork/exec/spawn.

23 years ago * libc/include/machine/ieeefp.h: Comment about new configuration
rsandifo [Wed, 4 Apr 2001 13:33:01 +0000 (13:33 +0000)]
* libc/include/machine/ieeefp.h: Comment about new configuration
macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
* libm/common/fdlib.h: Define new macros for testing floats.
* libm/common/sf_*: Use them.
* libm/math/ef_*: Likewise.
* libm/math/sf_*: Likewise.

23 years ago * libc/include/machine/ieeefp.h: Comment about new configuration
rsandifo [Wed, 4 Apr 2001 13:30:58 +0000 (13:30 +0000)]
* libc/include/machine/ieeefp.h: Comment about new configuration
macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
* libm/common/fdlib.h: Define new macros for testing floats.
* libm/common/sf_*: Use them.
* libm/math/ef_*: Likewise.
* libm/math/sf_*: Likewise.

23 years ago2001-04-04 Ben Elliston <bje@redhat.com>
bje [Wed, 4 Apr 2001 05:50:43 +0000 (05:50 +0000)]
2001-04-04  Ben Elliston  <bje@redhat.com>

* sidcomp.cfgroot/libErr.expect: Update.

23 years ago * config/tc-cris.c (cris_insn_first_word_frag): New.
hp [Wed, 4 Apr 2001 04:23:19 +0000 (04:23 +0000)]
* config/tc-cris.c (cris_insn_first_word_frag): New.
(md_assemble): Call cris_insn_first_word_frag to get the first
frag in an insn, not frag_more.  Don't call dwarf2_emit_insn at
end.  Drop variable insn_size.
(gen_bdap): Call cris_insn_first_word_frag, not frag_more.
(cris_sym_leading_underscore): Wrap first as_bad parameter in _().
(cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto.

23 years ago2001-04-04 Ben Elliston <bje@redhat.com>
bje [Wed, 4 Apr 2001 04:19:23 +0000 (04:19 +0000)]
2001-04-04  Ben Elliston  <bje@redhat.com>

* sidcomp.cgen-cpu/cpumonkey.exp: Make "untested" test messages
more informative.

23 years ago * config/tc-cris.c (md_estimate_size_before_relax) <case
hp [Wed, 4 Apr 2001 03:53:11 +0000 (03:53 +0000)]
* config/tc-cris.c (md_estimate_size_before_relax) <case
ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit
32-bit branch, just set fragP->fr_subtype.  Set fragP->fr_var.
<all cases>: Always set fragP->fr_var using md_cris_relax_table.
Add cases to cover all relax states.

23 years ago2001-04-04 Ben Elliston <bje@redhat.com>
bje [Wed, 4 Apr 2001 03:43:15 +0000 (03:43 +0000)]
2001-04-04  Ben Elliston  <bje@redhat.com>

* sidcomp.timers/timerdocs.exp: Look for ARM timer doco in the
timers/arm7t subdirectory.

23 years ago * write.c (write_object_file): Reset broken word state before
hp [Wed, 4 Apr 2001 03:05:47 +0000 (03:05 +0000)]
* write.c (write_object_file): Reset broken word state before
calling relax_seg.

23 years agomerge from gcc
dj [Wed, 4 Apr 2001 01:16:27 +0000 (01:16 +0000)]
merge from gcc

23 years agomerge from gcc
dj [Wed, 4 Apr 2001 01:15:59 +0000 (01:15 +0000)]
merge from gcc

23 years ago * elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol
amodra [Wed, 4 Apr 2001 00:31:37 +0000 (00:31 +0000)]
* elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol
when -Bsymbolic causes a symbol to no longer need a .plt entry.

23 years ago2001-04-04 Ben Elliston <bje@redhat.com>
bje [Tue, 3 Apr 2001 23:43:04 +0000 (23:43 +0000)]
2001-04-04  Ben Elliston  <bje@redhat.com>

* Makefile.am: Clean up.
* Makefile.in: Regenerate.

23 years ago* Correct spelling mistake.
bje [Tue, 3 Apr 2001 23:06:56 +0000 (23:06 +0000)]
* Correct spelling mistake.

23 years agoObsolete w65-*-* target.
cagney [Tue, 3 Apr 2001 21:56:00 +0000 (21:56 +0000)]
Obsolete w65-*-* target.

23 years agoObsolete tic80.
cagney [Tue, 3 Apr 2001 21:14:35 +0000 (21:14 +0000)]
Obsolete tic80.

23 years ago* tweak
fche [Tue, 3 Apr 2001 19:34:38 +0000 (19:34 +0000)]
* tweak

2001-04-03  Frank Ch. Eigler  <fche@redhat.com>

        * compLoader.cxx (load_it): Emit verbose message for starting_pc.

23 years ago * errno.cc (errmap): Map ERROR_FILE_INVALID to ENXIO.
corinna [Tue, 3 Apr 2001 18:20:38 +0000 (18:20 +0000)]
    * errno.cc (errmap): Map ERROR_FILE_INVALID to ENXIO.

23 years ago2001-04-03 David Mosberger <davidm@hpl.hp.com>
hjl [Tue, 3 Apr 2001 14:45:42 +0000 (14:45 +0000)]
2001-04-03  David Mosberger  <davidm@hpl.hp.com>

* efi-app-ia32.c (ALIGN_SECTIONS_IN_FILE): Deleted.

23 years ago * winsup.api/mmaptest01.c: New test.
corinna [Tue, 3 Apr 2001 08:39:21 +0000 (08:39 +0000)]
    * winsup.api/mmaptest01.c: New test.

23 years ago2001-04-03 Ben Elliston <bje@redhat.com>
bje [Tue, 3 Apr 2001 06:21:57 +0000 (06:21 +0000)]
2001-04-03  Ben Elliston  <bje@redhat.com>

* cgen-cpu.h (cgen_bi_endian_cpu::GETMEMUQI): New method.
(cgen_bi_endian_cpu::SETMEMUQI): Ditto.
(cgen_bi_endian_cpu::GETMEMUHI): Ditto.
(cgen_bi_endain_cpu::SETMEMUHI): Ditto.

23 years ago* cygrun.c (main): Fix compiler warning.
cgf [Tue, 3 Apr 2001 02:53:24 +0000 (02:53 +0000)]
* cygrun.c (main): Fix compiler warning.
* gmon.c (_mcleanup): Ditto.
* profil.c (profile_off): Ditto.
* net.cc (find_winsock_errno): New function.
(__set_winsock_errno): Use find_winsock_errno.
(cygwin_setsockopt): Detect SO_ERROR for debugging.
(cygwin_getsockopt): Ditto.  Translate error when getsockopt returns SO_ERROR.
* winsup.h: regparmize __set_winsock_errno.
* include/sys/strace.h: Document that strace functions can't use regparm.

23 years ago* mount.cc (main): Use getopt_long for parsing arguments.
cgf [Tue, 3 Apr 2001 02:41:54 +0000 (02:41 +0000)]
* mount.cc (main): Use getopt_long for parsing arguments.
(usage): Reformat, show long and short options.
* umount.cc (main): Ditto, all of the above.

23 years ago* remote-mips.c (S_IROTH): Moved definition from here.
jtc [Tue, 3 Apr 2001 01:51:26 +0000 (01:51 +0000)]
* remote-mips.c (S_IROTH): Moved definition from here.
* gdb_stat.h (S_IROTH): to here.

23 years ago* remote.c (remote_protocol_e, remote_protocol_E): Define.
jtc [Tue, 3 Apr 2001 01:42:17 +0000 (01:42 +0000)]
* remote.c (remote_protocol_e, remote_protocol_E): Define.
(set_remote_protocol_e_packet_cmd)
(set_remote_protocol_E_packet_cmd)
(show_remote_protocol_e_packet_command)
(show_remote_protocol_E_packet_command): New functions.
(init_all_packet_configs): Initialize remote_protocol_e and
remote_protocol_E.
(remote_resume, remote_async_resume): Support e/E command
packets.
(show_remote_cmd): Show state of remote_protocol_e and
remote_protocol_E.
(_initialize_remote): Add "set remote step-over-range-packet"
and "set remote step-over-range-w-signal-packet" to CLI.
-------------------------------------------------------------------

23 years ago2001-04-01 David O'Brien <obrien@FreeBSD.org>
obrien [Mon, 2 Apr 2001 23:44:02 +0000 (23:44 +0000)]
2001-04-01  David O'Brien  <obrien@FreeBSD.org>
* ld-undefined/undefined.exp: XFAIL on FreeBSD/i386 for the usual (even
though it doesn't use DWARF2 yet (but its output is identical).

Approved by:  Alan Modra <alan@linuxcare.com.au>
              <Pine.LNX.4.21.0104021511350.487-100000@front.linuxcare.com.au>

23 years ago001-04-01 David O'Brien <obrien@FreeBSD.org>
obrien [Mon, 2 Apr 2001 23:33:20 +0000 (23:33 +0000)]
001-04-01  David O'Brien  <obrien@FreeBSD.org>
* ld-selective/selective.exp: Use -O with gcc rather than -O2.
This optimization level is buggy on some platforms, and this test
is not intended to test compiler optimizations.

Approved by:  Alan Modra <alan@linuxcare.com.au>
              <Pine.LNX.4.21.0104021510450.487-100000@front.linuxcare.com.au>

23 years ago2001-04-02 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 2 Apr 2001 23:30:25 +0000 (23:30 +0000)]
2001-04-02  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk-cmds.c (gdb_loadfile): Adjust size of text_argv
array to prevent writing out of range. Remove unused variables.
Fix formatting.
(gdb_get_tracepoint_info): Remove unused variable "fname".
(gdb_load_disassembly): Remove unused variable "widget".
(gdb_loc): Remove unused variable "sym".
(gdb_set_bp_addr): Remove unused variable "line".
(gdb_get_breakpoint_info): Remove unused variable "sym".
(get_frame_name): Remove unused variable "name".

23 years ago2001-04-02 Ben Elliston <bje@redhat.com>
bje [Mon, 2 Apr 2001 22:04:48 +0000 (22:04 +0000)]
2001-04-02  Ben Elliston  <bje@redhat.com>

* sim-decode.scm (@prefix@_init_idesc_table): Compute tabsize
using the size of the table and its elements.
(-gen-decode-insn-globals): Define the idesc table's size to be
the last instruction enum plus one, not @PREFIX@_INSN_MAX.
* sim-model.scm (-gen-mach-defns): Define CPU_MAX_INSNS as the
last instruction enum plus one, not @CPU@_INSN_MAX.

23 years ago2001-04-02 Ben Elliston <bje@redhat.com>
bje [Mon, 2 Apr 2001 21:18:27 +0000 (21:18 +0000)]
2001-04-02  Ben Elliston  <bje@redhat.com>

* sid-cpu.scm (-last-insn): New function.
(-gen-sem-switch-engine): Loop through idesc while less than or
equal to the last instruction enum, not less than the MAX enum.
(-gen-sfrag-engine-fn): Clean up frag_label_table initialisation.
* sid-decode.scm (-gen-decode-insn-globals): Define the idesc
table's size to be the last instruction enum plus one, not
@PREFIX@_INSN_MAX.
* sid.scm (gen-cpu-insn-enum-decl): Do not append a dummy `max'
instruction onto the instruction list.

23 years agoObsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
cagney [Mon, 2 Apr 2001 20:57:26 +0000 (20:57 +0000)]
Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
ns32k-utek-*.

23 years ago * config/djgpp/fnchange.lst: Tweak due to
eliz [Mon, 2 Apr 2001 17:16:10 +0000 (17:16 +0000)]
* config/djgpp/fnchange.lst: Tweak due to
expect/example/chesslib.c.

23 years ago* mount.cc (show_mounts): Change format string to more closely resemble UNIX
cgf [Mon, 2 Apr 2001 14:58:47 +0000 (14:58 +0000)]
* mount.cc (show_mounts): Change format string to more closely resemble UNIX
when displaying mount table.

23 years agoMake --target=m88k buildable again.
kevinb [Mon, 2 Apr 2001 14:47:20 +0000 (14:47 +0000)]
Make --target=m88k buildable again.

23 years ago * fhandler.cc (fhandler_disk_file::open): Avoid checking a magic
corinna [Mon, 2 Apr 2001 14:35:17 +0000 (14:35 +0000)]
    * fhandler.cc (fhandler_disk_file::open): Avoid checking a magic
number of a directory.

23 years ago * gdb.texinfo (Tracepoint Actions): Mention the "info scope"
eliz [Mon, 2 Apr 2001 08:58:19 +0000 (08:58 +0000)]
* gdb.texinfo (Tracepoint Actions): Mention the "info scope"
command and provide a cross-reference to its description.
(Symbols): Note that "info scope" is useful for trace experiments.

23 years ago* shared_info.h (mount_info): Remove mnt_ elements.
cgf [Mon, 2 Apr 2001 04:27:12 +0000 (04:27 +0000)]
* shared_info.h (mount_info): Remove mnt_ elements.
* thread.h (struct _winsup_t): Add mnt_ elements.
* path.cc (fillout_mntent): Use mnt_ elements from reent_winsup ().

23 years ago* Makefile.in (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS):
aoliva [Mon, 2 Apr 2001 01:32:45 +0000 (01:32 +0000)]
* Makefile.in (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS):
New macros.
(bootstrap, cross): Use RECURSE_FLAGS.
* configure.in: Subst CXX_FOR_TARGET_FOR_RECURSIVE_MAKE.

23 years agoBump page size to 64k
amodra [Mon, 2 Apr 2001 01:21:26 +0000 (01:21 +0000)]
Bump page size to 64k

23 years ago* exceptions.cc (sigframe::call_signal_handler): Return value of
cgf [Mon, 2 Apr 2001 00:18:29 +0000 (00:18 +0000)]
* exceptions.cc (sigframe::call_signal_handler): Return value of
call_signal_handler_now.
* sigproc.h (sigframe): Use constructor.
* syscalls.cc (_read): Correct errno test prior to calling signal handler.

23 years agoFix typo.
cgf [Sun, 1 Apr 2001 23:05:30 +0000 (23:05 +0000)]
Fix typo.

23 years ago2001-03-20 Daniel Berlin <dberlin@redhat.com>
dberlin [Sun, 1 Apr 2001 19:50:49 +0000 (19:50 +0000)]
2001-03-20  Daniel Berlin  <dberlin@redhat.com>

* symtab.c (completion_list_add_name): Remove duplicate string checks,
readline already does this, and it's much faster at it, too.

23 years ago * go32-nat.c: Minor tweaks, to pacify the ari script.
eliz [Sun, 1 Apr 2001 14:01:52 +0000 (14:01 +0000)]
    * go32-nat.c: Minor tweaks, to pacify the ari script.

23 years ago* i386-tdep.c (i386_extract_struct_value_address): New function.
kettenis [Sun, 1 Apr 2001 12:39:52 +0000 (12:39 +0000)]
* i386-tdep.c (i386_extract_struct_value_address): New function.
* config/i386/tm-i386.h (EXTRACT_STRUCT_VALUE_ADDRESS): Redefine
in terms of i386_extract_struct_value_address.
(i386_extract_struct_value_address): New prototype.

23 years ago* i386-linux-nat.c (i386_linux_dr_get): Change type of return
kettenis [Sun, 1 Apr 2001 10:48:47 +0000 (10:48 +0000)]
* i386-linux-nat.c (i386_linux_dr_get): Change type of return
value to `unsigned long'.  Change type of `value' to `unsigned
long'.
(i386_linux_dr_set): Change type of second argument to `unsigned
long'.
(i386_linux_dr_set_control): Change type of first argument to
`unsigned long'.
(i386_linux_dr_get_status): Change type of return value to
unsigned long.
* config/i386/nm-linux.h (i386_linux_dr_set_control,
i386_linux_dr_get_status): Adjust prototypes accordingly.

23 years ago * gdb.texinfo (Symbols): Document "info scope".
eliz [Sun, 1 Apr 2001 09:15:21 +0000 (09:15 +0000)]
* gdb.texinfo (Symbols): Document "info scope".
(Tracepoints): New chapter.
(Contributors): Update for v5.1.
<All nodes>: Change "C++" to "C@t{++}".

23 years ago * gdbint.texinfo (User Interface): A new section about ui_out
eliz [Sun, 1 Apr 2001 09:07:08 +0000 (09:07 +0000)]
* gdbint.texinfo (User Interface): A new section about ui_out
functions, based on text written by Fernando Nasser.

23 years agoChange Permissions to GFDL. Update Copyright.
eliz [Sun, 1 Apr 2001 09:04:44 +0000 (09:04 +0000)]
Change Permissions to GFDL.  Update Copyright.

23 years ago* exceptions.cc (sigframe::call_signal_handler): Move out side of "C" block or
cgf [Sun, 1 Apr 2001 05:38:08 +0000 (05:38 +0000)]
* exceptions.cc (sigframe::call_signal_handler): Move out side of "C" block or
some compilers will complain.

23 years ago* exceptions.cc (call_signal_handler_now): Rename from call_signal_handler to
cgf [Sun, 1 Apr 2001 05:24:20 +0000 (05:24 +0000)]
* exceptions.cc (call_signal_handler_now): Rename from call_signal_handler to
avoid C++ confusion.

23 years ago* path.cc (fillout_mntent): Always remove drive root directories from future
cgf [Sun, 1 Apr 2001 05:09:57 +0000 (05:09 +0000)]
* path.cc (fillout_mntent): Always remove drive root directories from future
consideration by "/cygdrive" reporting.
(cygdrive_getmnt): Avoid reporting removable drives or drives with no media
mounted.

23 years ago* thread.h (struct _winsup_t): Remove obsolete elements. Add available_drives
cgf [Sun, 1 Apr 2001 03:06:02 +0000 (03:06 +0000)]
* thread.h (struct _winsup_t): Remove obsolete elements.  Add available_drives
element.
* path.cc (mount_info::getmntent): Report "/cygdrive" drives when mounted
drives are exhausted.
(fillout_mntent): New function.
(mount_item::getmntent): Use fillout_mntent.
(cygdrives_mntent): New function.  Returns next available "/cygdrive".
(setmntent): Initialize available "/cygdrives".
* syscalls.cc: Remove some if 0'ed code.
* times.cc (timezone): Use more descriptive variable name.

23 years ago* sigproc.h (class sigframe): Implement 'unregister()' method.
cgf [Sun, 1 Apr 2001 00:06:17 +0000 (00:06 +0000)]
* sigproc.h (class sigframe): Implement 'unregister()' method.
(sigframe::~sigframe): Use unregister method.
(sigframe::call_signal_handler): Declare new method.
* exceptions.cc (sigframe::call_signal_handler): New method.  Unregisters
current sigframe before calling signal handler.
(setup_handler): Clear waiting threads prior to arming signal_arrived.
* syscalls.cc (_read): Change goto to loop.  Recalculate sigframe inside of
loop so that constructor is called when appropriate.
* wait.cc (wait4): Ditto.
* signal.cc: Change "sig" to "signal" in debugging messages throughout.
* sigproc.cc: Ditto.

23 years agoRevert change to config/ia64/linux.mh in which core-regset.h was
kevinb [Sat, 31 Mar 2001 23:07:08 +0000 (23:07 +0000)]
Revert change to config/ia64/linux.mh in which core-regset.h was
removed from NATDEPFILES.

23 years ago * config/ia64/linux.mh (NATDEPFILES): Remove core-regset.o
kevinb [Sat, 31 Mar 2001 22:55:25 +0000 (22:55 +0000)]
* config/ia64/linux.mh (NATDEPFILES): Remove core-regset.o
from list.

23 years ago* fhandler_serial.cc (fhandler_serial::raw_write): Close protected handles with
cgf [Sat, 31 Mar 2001 22:13:02 +0000 (22:13 +0000)]
* fhandler_serial.cc (fhandler_serial::raw_write): Close protected handles with
ForceCloseHandle or suffer spurious warnings.

23 years agoMake hardware watchpoint support work again on Linux/IA-64.
kevinb [Sat, 31 Mar 2001 21:53:39 +0000 (21:53 +0000)]
Make hardware watchpoint support work again on Linux/IA-64.

23 years ago* fhandler.cc (fhandler_base::read): Remove special handling of CTRL-Z.
cgf [Sat, 31 Mar 2001 21:24:48 +0000 (21:24 +0000)]
* fhandler.cc (fhandler_base::read): Remove special handling of CTRL-Z.

23 years agomerge from gcc
dj [Sat, 31 Mar 2001 19:05:20 +0000 (19:05 +0000)]
merge from gcc

23 years ago* i386bsd-nat.c: Include "gdb_assert.h".
kettenis [Sat, 31 Mar 2001 18:09:01 +0000 (18:09 +0000)]
* i386bsd-nat.c: Include "gdb_assert.h".
[HAVE_PT_GETDBREGS] (DBREG_DRX): Define if not
already defined.
[HAVE_PT_GETDBREGS] (i386bsd_dr_set, i386bsd_dr_set_control,
i386bsd_dr_set_addr, i386bsd_dr_reset_addr,
i386bsd_dr_get_status): New functions.
* config/i386/nm-fbsd.h [HAVE_PT_GETDBREGS]
(I386_USE_GENERIC_WATCHPOINTS): Define.
Include "i386/nm-i386.h".
(I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
(i386bsd_dr_set_control, i386bsd_dr_set_addr,
i386bsd_dr_reset_addr, i386bsd_dr_get_status): New prototypes.
* acconfig.h (HAVE_PT_GETDBREGS): New configure macro.
* configure.in: Cleanup a few comments.  Check for PT_GETDBREGS
ptrace request.
* config.in, configure: Regenerate.

23 years ago* i386-nat.c (i386_insert_aligned_watchpoint): Set address
kettenis [Sat, 31 Mar 2001 17:40:03 +0000 (17:40 +0000)]
* i386-nat.c (i386_insert_aligned_watchpoint): Set address
register before enabling it by setting the control register.
(i386_remove_aligned_watchpoint): Reset address register after
disabling it by setting the control register.

23 years ago* i386-tdep.c (i386_extract_return_value): If the type of the
kettenis [Sat, 31 Mar 2001 13:05:14 +0000 (13:05 +0000)]
* i386-tdep.c (i386_extract_return_value): If the type of the
return value is TYPE_STRUCT and the number of fields is one, call
ourselves with TYPE set tp the type of the first field.
(i386_store_return_value): Likewise.
This fixes a problem with returning structs consisting of a single
`float' or `double' on *BSD.

23 years ago Fix formatting.
corinna [Sat, 31 Mar 2001 11:00:52 +0000 (11:00 +0000)]
Fix formatting.

23 years ago * fhandler.h (class fhandler_console): Add members `insert_mode'.
corinna [Sat, 31 Mar 2001 09:19:31 +0000 (09:19 +0000)]
    * fhandler.h (class fhandler_console): Add members `insert_mode'.
        * fhandler_console.cc (fhandler_console::dup): Duplicate `insert_mode'.
        (fhandler_console::fhandler_console): Initialize `insert_mode'.
        fhandler_console::char_command): Add terminal capabilities
        "enter insert mode" = \E[4h and "exit insert mode" = \E[4l.
        Care for insert mode on terminal capability "repeat char" = \E[x;yb.
        (fhandler_console::write_normal): Care for insert mode before writing
        to the console.
        (array keytable): Add keymapping for modified cursor and control
        block keys (xterm like).

23 years agoFix conditional assembly listings when more than one .else/.elsif
amodra [Sat, 31 Mar 2001 06:47:54 +0000 (06:47 +0000)]
Fix conditional assembly listings when more than one .else/.elsif

23 years ago2001-03-30 H.J. Lu <hjl@gnu.org>
hjl [Sat, 31 Mar 2001 06:37:39 +0000 (06:37 +0000)]
2001-03-30  H.J. Lu  <hjl@gnu.org>

* binutils-all/readelf.exp: Run on more ELF targets.

23 years ago2001-03-30 H.J. Lu <hjl@gnu.org>
hjl [Sat, 31 Mar 2001 06:36:17 +0000 (06:36 +0000)]
2001-03-30  H.J. Lu  <hjl@gnu.org>

* readelf.c (process_unwind): Just return if do_unwind is 0.

23 years agoFix strange formatting.
cgf [Sat, 31 Mar 2001 04:18:01 +0000 (04:18 +0000)]
Fix strange formatting.

23 years agoFix strange formatting.
cgf [Sat, 31 Mar 2001 03:56:58 +0000 (03:56 +0000)]
Fix strange formatting.

23 years ago* cond.c (s_endif): Correct handling of "if .. elseif .." trees.
amodra [Sat, 31 Mar 2001 02:06:24 +0000 (02:06 +0000)]
* cond.c (s_endif): Correct handling of "if .. elseif .." trees.
Don't abort on NULL current_cframe.

23 years ago* lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until
kettenis [Fri, 30 Mar 2001 19:45:19 +0000 (19:45 +0000)]
* lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until
we're absolutely sure we're going to resume it.

23 years ago* thread-db.c (check_event): Don't report an error if we encounter
kettenis [Fri, 30 Mar 2001 19:36:35 +0000 (19:36 +0000)]
* thread-db.c (check_event): Don't report an error if we encounter
a thread creation event for a thread that's already in the thread
list, since that may legitemately happen.  Instead only call
attach_thread if it's not already in the thread list.

23 years ago2001-03-30 H.J. Lu <hjl@gnu.org>
hjl [Fri, 30 Mar 2001 17:52:10 +0000 (17:52 +0000)]
2001-03-30  H.J. Lu  <hjl@gnu.org>

* gas/i386/relax.d: Dump with -s instead of -drw.

23 years ago2001-03-30 H.J. Lu <hjl@gnu.org>
hjl [Fri, 30 Mar 2001 16:08:34 +0000 (16:08 +0000)]
2001-03-30  H.J. Lu  <hjl@gnu.org>

* efi-app-ia32.c (PEI_TARGET_SUBSYSTEM): Rename from ...
(PEI_DEFAULT_TARGET_SUBSYSTEM): This.

23 years ago * include/winuser.h (RT_CURSOR): Add protection for XFree86Server.
earnie [Fri, 30 Mar 2001 13:22:15 +0000 (13:22 +0000)]
* include/winuser.h (RT_CURSOR): Add protection for XFree86Server.
(RT_FONT): Ditto.
(VK_KANA): New definition.
* include/basetsd.h (INT32): Ditto.
* include/windef.h (ATOM): Ditto.
(BOOL): Ditto.
(BYTE): Ditto.
* include/winbase.h (FreeResource): Ditto.
Thanks to: "Harold Hunt" <huntharo@msu.edu>

23 years ago * fhandler.h (class fhandler_console): Add members `savebufsiz' and
corinna [Fri, 30 Mar 2001 11:10:13 +0000 (11:10 +0000)]
    * fhandler.h (class fhandler_console): Add members `savebufsiz' and
        `savebuf' to allow save/restore of screen.
        * fhandler_console.cc (fhandler_console::dup): Duplicate savebuf.
        (fhandler_console::fhandler_console): Initialize `savebufsiz' and
        `savebuf'.
        (fhandler_console::char_command): Add terminal capabilities
        "save screen content" = \E[?47h and "restore screen content" = \E[?47l.

23 years ago* ppc-opc.c (insert_mbe): Shift mask initializer as long.
aoliva [Fri, 30 Mar 2001 07:36:27 +0000 (07:36 +0000)]
* ppc-opc.c (insert_mbe): Shift mask initializer as long.

23 years agoPass finalize_syms on calls to resolve_symbol_value.
amodra [Fri, 30 Mar 2001 07:07:08 +0000 (07:07 +0000)]
Pass finalize_syms on calls to resolve_symbol_value.

23 years agoMissing ChangeLog for dwarf2dbg.c warning fixes.
amodra [Fri, 30 Mar 2001 02:39:18 +0000 (02:39 +0000)]
Missing ChangeLog for dwarf2dbg.c warning fixes.

23 years agoMulti-pass relaxation machinery.
amodra [Fri, 30 Mar 2001 02:19:36 +0000 (02:19 +0000)]
Multi-pass relaxation machinery.

23 years ago* dlltool.c (make_one_lib_file): Fix section flags for
dj [Fri, 30 Mar 2001 01:34:53 +0000 (01:34 +0000)]
* dlltool.c (make_one_lib_file): Fix section flags for
.text, .data and .bss in stub ds*.o files to match those
generated by gas.

23 years ago2001-03-29 H.J. Lu <hjl@gnu.org>
hjl [Fri, 30 Mar 2001 01:26:43 +0000 (01:26 +0000)]
2001-03-29  H.J. Lu  <hjl@gnu.org>

* readelf.c (process_unwind): Only do unwind sections for
IA64.

23 years ago2001-03-29 H.J. Lu <hjl@gnu.org>
hjl [Fri, 30 Mar 2001 01:20:40 +0000 (01:20 +0000)]
2001-03-29  H.J. Lu  <hjl@gnu.org>

* gas/i386/relax.s: New test for relaxation between sections.
* gas/i386/relax.d: New.

* gas/i386/i386.exp: Add tests for ELF.

23 years ago2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 30 Mar 2001 00:51:50 +0000 (00:51 +0000)]
2001-03-29  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
        prolog to by-pass possible assembler error.

23 years agoPrepare for multi-pass relaxation.
amodra [Fri, 30 Mar 2001 00:06:09 +0000 (00:06 +0000)]
Prepare for multi-pass relaxation.