OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
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.

23 years ago2001-03-29 Fernando Nasser <fnasser@redhat.com>
fnasser [Thu, 29 Mar 2001 22:42:17 +0000 (22:42 +0000)]
2001-03-29  Fernando Nasser  <fnasser@redhat.com>

* library/variable.tcl (update): Cope with varobj type changes.

23 years ago2001-03-29 Fernando Nasser <fnasser@redhat.com>
fnasser [Thu, 29 Mar 2001 22:33:29 +0000 (22:33 +0000)]
2001-03-29  Fernando Nasser  <fnasser@redhat.com>

* library/variable.tcl (destructor): Remove file_changed_hook hook.

23 years ago2001-03-29 Fernando Nasser <fnasser@redhat.com>
fnasser [Thu, 29 Mar 2001 22:17:45 +0000 (22:17 +0000)]
2001-03-29  Fernando Nasser  <fnasser@redhat.com>

* gdbtk-varobj.c (variable_obj_command): Do not cache varobj handles as
they may change -- use varobj_get_handle() instead.

23 years agoClarify ChangeLog entry
hp [Thu, 29 Mar 2001 02:32:52 +0000 (02:32 +0000)]
Clarify ChangeLog entry

23 years ago * config/tc-cris.h (tc_fix_adjustable): Allow only
hp [Thu, 29 Mar 2001 02:29:38 +0000 (02:29 +0000)]
* config/tc-cris.h (tc_fix_adjustable): Allow only
BFD_RELOC_CRIS_32_GOTREL of the PIC relocs.
* config/tc-cris.c (cris_get_pic_suffix): Correct reloc used in
example to valid.

23 years ago* path.cc (chdir): Eat trailing whitespace on input path.
cgf [Thu, 29 Mar 2001 00:30:39 +0000 (00:30 +0000)]
* path.cc (chdir): Eat trailing whitespace on input path.

23 years ago* config/pa/xm-hppah.h (malloc): Really delete declaration
cagney [Wed, 28 Mar 2001 23:21:41 +0000 (23:21 +0000)]
* config/pa/xm-hppah.h (malloc): Really delete declaration
(MALLOC_INCOMPATIBLE): Really delete macro.
* cli/cli-cmds.c (apropos_command): Use xcalloc.

23 years agoGag -Wuninitialized warnings.
cagney [Wed, 28 Mar 2001 21:42:29 +0000 (21:42 +0000)]
Gag -Wuninitialized warnings.
Add -Wuninitialized to default warning list.

23 years agoFix -Werror probs for ns32k.
cagney [Wed, 28 Mar 2001 21:26:06 +0000 (21:26 +0000)]
Fix -Werror probs for ns32k.

23 years ago2001-03-28 Dave Brolley <brolley@redhat.com>
brolley [Wed, 28 Mar 2001 19:36:17 +0000 (19:36 +0000)]
2001-03-28  Dave Brolley  <brolley@redhat.com>

* sidbusutil.h (mux_passthrough_bus::select_bus): New function.

23 years ago2001-03-28 Dave Brolley <brolley@redhat.com>
brolley [Wed, 28 Mar 2001 19:34:37 +0000 (19:34 +0000)]
2001-03-28  Dave Brolley  <brolley@redhat.com>

* hw-glue-bus-mux.txt: Update description of switching behavior.
* glue.cxx (bus_mux::handle_switch_pin): Call upstream.select_bus.

23 years ago2001-03-28 H.J. Lu <hjl@gnu.org>
hjl [Wed, 28 Mar 2001 19:01:04 +0000 (19:01 +0000)]
2001-03-28  H.J. Lu  <hjl@gnu.org>

* Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
* Makefile.in: Regenerate.

23 years agomerge from gcc
dj [Wed, 28 Mar 2001 17:38:43 +0000 (17:38 +0000)]
merge from gcc

23 years ago2001-03-28 H.J. Lu <hjl@gnu.org>
hjl [Wed, 28 Mar 2001 17:24:00 +0000 (17:24 +0000)]
2001-03-28  H.J. Lu  <hjl@gnu.org>

* read.c (equals): Set to local for COFF only if it hasn't been
defined before.

23 years agoDefault hppa64 to ".level 2.0w"
amodra [Wed, 28 Mar 2001 14:13:44 +0000 (14:13 +0000)]
Default hppa64 to ".level 2.0w"

23 years ago* i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here from
kettenis [Wed, 28 Mar 2001 11:36:21 +0000 (11:36 +0000)]
* i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here from
config/i386/nm-linux.h (including comment).
(i386_linux_frame_chain): New function implementing guts of the
former FRAME_CHAIN macro, but using read_memory_unsigned_integer
instead of read_memory_integer.
(i386_linux_frame_saved_pc): Removed doc pointing to
i386/tm-linux.h for an explanation of FRAMELESS_SIGNAL since that
now lives in this file.
* config/i386/tm-linux.h (FRAMELESS_SIGNAL): Moved to
i386-linux-tdep.c (including comment).
(FRAME_CHAIN): Redefined in terms of i386_linux_frame_chain.
(i386_linux_frame_chain): New prototype.

23 years ago* gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code and
kettenis [Wed, 28 Mar 2001 09:15:22 +0000 (09:15 +0000)]
* gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code and
make it work again.
(NUM_FREGS): Redefine to 0.
(NUM_REGS): Redefine as NUM_GREGS.
(i386_register_byte, i386_register_raw_size): Update from
i386-tdep.c.  Add comment about their origin.
(regmap, register_u_addr): Take these from i386-linux-nat.c.
(i386_register_u_addr): Removed.

23 years ago* i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace call
kettenis [Wed, 28 Mar 2001 08:35:13 +0000 (08:35 +0000)]
* i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace call
fails instead of calling perror_with_name.  This should fix
debugging remote i386 targets with a native Linux/x86 GDB.  Add
FIXME for this hack.

23 years agomerge from gcc
dj [Wed, 28 Mar 2001 05:02:47 +0000 (05:02 +0000)]
merge from gcc

23 years ago* Add some cross-references.
bje [Wed, 28 Mar 2001 04:12:11 +0000 (04:12 +0000)]
* Add some cross-references.

23 years ago* lib/_cygwin_S_IEXEC.c: Remove "const" from globals or they never seem to be
cgf [Wed, 28 Mar 2001 03:42:54 +0000 (03:42 +0000)]
* lib/_cygwin_S_IEXEC.c: Remove "const" from globals or they never seem to be
defined.  Wrap definitions in extern "C".  Include winsup.h to assure proper
definitions.
* dcrt0.cc (dll_crt0_1): Call stdio_init after premain run so that binmode.o,
etc., will control default stdio settings.
* dtable.cc (dtable::init_std_file_from_handle): Allow __fmode to force
binmode/textmode settings.  Default pipes to binmode.

23 years ago* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.
aoliva [Wed, 28 Mar 2001 01:19:29 +0000 (01:19 +0000)]
* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.

23 years ago * doc/version.texi (UPDATED, EDITION): Update.
bje [Wed, 28 Mar 2001 00:41:56 +0000 (00:41 +0000)]
* doc/version.texi (UPDATED, EDITION): Update.
* doc/stamp-vti: Likewise.

23 years ago* Comment tweak.
bje [Tue, 27 Mar 2001 21:37:47 +0000 (21:37 +0000)]
* Comment tweak.

23 years ago* arch-utils.c (#include "gdbthread.h"): Removed.
jtc [Tue, 27 Mar 2001 20:36:22 +0000 (20:36 +0000)]
* arch-utils.c (#include "gdbthread.h"): Removed.
(#include "symfile.h"): Removed.
(XMALLOC): Removed unused macro.
* breakpoint.c (tbreak_command): Removed local declaration.
(awatch_command, do_enable_breakpoint, set_breakpoint_count):
Remove duplicate declarations.
(bpstat_should_step, bpstat_have_active_hw_watchpoints)
(remove_solib_event_breakpoints): Fix indentation botch.
* c-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
* ch-exp.c (ch_terminal_match_float_literal, parse_expr)
(parse_primval, parse_untyped_expr, parse_opt_untyped_expr):
Removed duplicate declarations.
* ch-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
* corefile.c (#include "frame.h"): Removed
(#include "symfile.h"): Removed.
(#include "language.h"): Removed.
* dbxread.c (#include "command.h"): Removed.
* environ.c (#include "gdbcore.h"): Removed.
* event-loop.c (#include "top.h"): Removed.
* f-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
(#include "language.h"): Removed.
(#include "typeprint.h"): Removed.
(#include "frame.h"): Removed.
* gdbtypes.h (print_type_scalar): Removed declaration.
* infcmd.c (#include "completer.h"): Removed.
* language.c (#include "frame.h"): Removed.
* m2-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
(#include "language.h"): Removed.
* m2-valprint.c (#include "valprint.h"): Removed.
* p-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
* p-valprint.c (#include "typeprint.h"): Removed.
* parse.c (#include "linespec.h"): Removed.
* regcache.c (#include "frame.h"): Removed.
* remote.c (#include "frame.h"): Removed.
(getpkt_sane): Make static.
* source.c (#include "completer.h"): Removed.
* stack.c (#include "symfile.h"): Removed.
(#include "objfiles.h"): Removed.
* symfile.c (#include "completer.h"): Removed.
* tracepoint.c (#include "completer.h"): Removed.
* values.c (#include "frame.h"): Removed.
* varobj.c (#include "valprint.h"): Removed.
* wrapper.c (#include "frame.h"): Removed.

* memattr.c (create_mem_region): Removed unused variable.
* remote-nrom.c: Removed spurious semicolon after init_nrom_ops.
-------------------------------------------------------------------

23 years agoAllow for the possibility that the local labels won't be in the objdump output.
nickc [Tue, 27 Mar 2001 19:33:52 +0000 (19:33 +0000)]
Allow for the possibility that the local labels won't be in the objdump output.

23 years ago(for COFF) default symbols to being local.
nickc [Tue, 27 Mar 2001 19:13:55 +0000 (19:13 +0000)]
(for COFF) default symbols to being local.

23 years agoAdd missing double quote
nickc [Tue, 27 Mar 2001 17:23:46 +0000 (17:23 +0000)]
Add missing double quote

23 years ago * solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
kevinb [Tue, 27 Mar 2001 10:03:39 +0000 (10:03 +0000)]
* solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
of free().

23 years ago * mmap.cc (mmap): Fix conditional for previous patch.
corinna [Tue, 27 Mar 2001 09:35:39 +0000 (09:35 +0000)]
   * mmap.cc (mmap): Fix conditional for previous patch.

23 years ago(Cleanups): Remove the item about converting docs to GFDL.
eliz [Tue, 27 Mar 2001 07:09:01 +0000 (07:09 +0000)]
(Cleanups): Remove the item about converting docs to GFDL.

23 years ago * solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.
kevinb [Tue, 27 Mar 2001 06:23:25 +0000 (06:23 +0000)]
* solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.

23 years ago* as.texinfo (Fill): Replace "result" with "repeat".
bje [Tue, 27 Mar 2001 04:51:28 +0000 (04:51 +0000)]
* as.texinfo (Fill): Replace "result" with "repeat".

23 years ago * configure.in (cris-*-*): Change default emulation to criself.
hp [Tue, 27 Mar 2001 02:48:19 +0000 (02:48 +0000)]
* configure.in (cris-*-*): Change default emulation to criself.
(cris-*-*aout*): New rule.
* configure: Regenerate.

23 years agoFix problems encountered in compiling ia64-tdep.c with IBM's compiler.
kevinb [Tue, 27 Mar 2001 02:45:54 +0000 (02:45 +0000)]
Fix problems encountered in compiling ia64-tdep.c with IBM's compiler.

23 years ago * configure.tgt (cris-*-*): Change default emulation to criself.
hp [Tue, 27 Mar 2001 02:37:40 +0000 (02:37 +0000)]
* configure.tgt (cris-*-*): Change default emulation to criself.
(cris-*-*aout*): New rule.

23 years agoRemove ATTRIBUTE_UNUSED in the last patch.
hjl [Tue, 27 Mar 2001 02:05:18 +0000 (02:05 +0000)]
Remove ATTRIBUTE_UNUSED in the last patch.

23 years agoAdd AIX5 procfs support.
kevinb [Tue, 27 Mar 2001 02:01:10 +0000 (02:01 +0000)]
Add AIX5 procfs support.

23 years ago2001-03-26 H.J. Lu <hjl@gnu.org>
hjl [Tue, 27 Mar 2001 02:00:34 +0000 (02:00 +0000)]
2001-03-26  H.J. Lu  <hjl@gnu.org>

* elf32-gen.c (elf32_generic_link_add_symbols): New. Check
if there are any relocations for generic ELF.
(bfd_elf32_bfd_link_add_symbols): Defined to
elf32_generic_link_add_symbols.
* elf64-gen.c (elf64_generic_link_add_symbols): New. Check
if there are any relocations for generic ELF.
(bfd_elf64_bfd_link_add_symbols): Defined to
elf64_generic_link_add_symbols.

23 years agoAdd new step-line test.
kevinb [Tue, 27 Mar 2001 01:32:44 +0000 (01:32 +0000)]
Add new step-line test.