OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
22 years ago* s390-nat.c: #include "regcache.h", to get declaration for
jimb [Tue, 6 Nov 2001 22:18:13 +0000 (22:18 +0000)]
* s390-nat.c: #include "regcache.h", to get declaration for
`supply_register'.  (The last change already added the dependency
of s390-nat.o on regcache.h.  Oops.)

22 years ago* Makefile.in (ALLDEPFILES): Add s390-tdep.c and s390-nat.c.
jimb [Tue, 6 Nov 2001 21:58:53 +0000 (21:58 +0000)]
* Makefile.in (ALLDEPFILES): Add s390-tdep.c and s390-nat.c.
(s390-tdep.o, s390-nat.o): New rules.

22 years ago2001-11-06 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
echristo [Tue, 6 Nov 2001 21:39:06 +0000 (21:39 +0000)]
2001-11-06  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>

* config/tc-mips.c (my_getSmallParser): Fix small parser bug.

22 years agoFix typo.
jimb [Tue, 6 Nov 2001 21:34:00 +0000 (21:34 +0000)]
Fix typo.

22 years ago* gdb/s390-nat.c (s390_register_u_addr): Pass proper arguments to
jimb [Tue, 6 Nov 2001 21:28:28 +0000 (21:28 +0000)]
* gdb/s390-nat.c (s390_register_u_addr): Pass proper arguments to
internal_error.

22 years agogdbarch.sh (CALL_DUMMY_LOCATION): Require a value.
cagney [Tue, 6 Nov 2001 21:20:23 +0000 (21:20 +0000)]
gdbarch.sh (CALL_DUMMY_LOCATION): Require a value.

22 years agoZap another #ifdef INIT_EXTRA_FRAME_INFO
cagney [Tue, 6 Nov 2001 18:54:10 +0000 (18:54 +0000)]
Zap another #ifdef INIT_EXTRA_FRAME_INFO

22 years agoAdd predicate for PUSH_RETURN_ADDRESS.
cagney [Tue, 6 Nov 2001 18:05:56 +0000 (18:05 +0000)]
Add predicate for PUSH_RETURN_ADDRESS.

22 years ago* select.cc (fhandler_tty_slave::ready_for_read): Correct inverted not_open
cgf [Tue, 6 Nov 2001 18:02:54 +0000 (18:02 +0000)]
* select.cc (fhandler_tty_slave::ready_for_read): Correct inverted not_open
test.

22 years ago2001-11-06 H.J. Lu (hjl@gnu.org)
hjl [Tue, 6 Nov 2001 17:49:36 +0000 (17:49 +0000)]
2001-11-06  H.J. Lu  (hjl@gnu.org)

* elflink.h (elf_link_input_bfd): Complain relocs against
discarded sections.

22 years ago * arch-utils.c (generic_in_function_epilogue_p): New function.
corinna [Tue, 6 Nov 2001 11:02:11 +0000 (11:02 +0000)]
* arch-utils.c (generic_in_function_epilogue_p): New function.
* arch-utils.h (generic_in_function_epilogue_p): Declare extern.
* breakpoint.c (watchpoint_check): Add test whether the pc is
currently in the epilogue of a function.
* gdbarch.c: Autogenerated from gdbarch.sh.
* gdbarch.h: Ditto.
* gdbarch.sh (function_list): Add `in_function_epilogue_p' definition.

22 years ago * gdb.texinfo (gdbarch_in_function_epilogue_p): Add documentation.
corinna [Tue, 6 Nov 2001 11:01:22 +0000 (11:01 +0000)]
* gdb.texinfo (gdbarch_in_function_epilogue_p): Add documentation.

22 years ago * Makefile.in (MAKEINFO): Use "missing" for makeinfo older than 4.0.
hp [Tue, 6 Nov 2001 07:20:19 +0000 (07:20 +0000)]
* Makefile.in (MAKEINFO): Use "missing" for makeinfo older than 4.0.

22 years ago* gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
jimb [Tue, 6 Nov 2001 00:31:58 +0000 (00:31 +0000)]
* gdb.stabs/weird.exp: Delete "p v_comb" test.  It assumes that
pointers are 32 bits long, and that offsets of relocs are always
stored in the data (REL-style), and not in the reloc entry itself
(RELA-style).
* gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
stabs.

22 years ago* config/s390/s390.mh (NATDEPFILES): Don't split this across
jimb [Tue, 6 Nov 2001 00:04:51 +0000 (00:04 +0000)]
* config/s390/s390.mh (NATDEPFILES): Don't split this across
several lines with backslashes; the `sed' command in
configure.in's AC_OUTPUT clause that comments out the NATDEPFILES
assignment doesn't handle lines extended with backslashes.

22 years ago*** empty log message ***
gdbadmin [Tue, 6 Nov 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES
jimb [Mon, 5 Nov 2001 23:54:48 +0000 (23:54 +0000)]
* configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES
using `+=' as well as `='.
* configure: Regenerated.

22 years ago2001-11-01 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 5 Nov 2001 23:31:25 +0000 (23:31 +0000)]
2001-11-01  Michael Snyder  <msnyder@redhat.com>

* gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
and regular expression operators by using quoting.

22 years ago2001-11-01 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 5 Nov 2001 23:27:31 +0000 (23:27 +0000)]
2001-11-01  Michael Snyder  <msnyder@redhat.com>

* symtab.c (operator_chars): Allow '*' and '[' to be quoted in
operator names, to avoid regexp expansion.
(search_symbols): Alloca buffer is too small, may get clobbered.

22 years ago2001-11-05 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 5 Nov 2001 23:26:09 +0000 (23:26 +0000)]
2001-11-05  Michael Snyder  <msnyder@redhat.com>

* gdb.texinfo (info functions): Document use of backslash to
quote regexp chars in function names such as "operator*()".

22 years ago* include/cygwin/version.h: Bump version to 1.3.5.
cgf [Mon, 5 Nov 2001 23:13:44 +0000 (23:13 +0000)]
* include/cygwin/version.h: Bump version to 1.3.5.

22 years agoChange INIT_EXTRA_FRAME_INFO() to a function with predicate.
cagney [Mon, 5 Nov 2001 23:11:31 +0000 (23:11 +0000)]
Change INIT_EXTRA_FRAME_INFO() to a function with predicate.

22 years agoChange INIT_EXTRA_FRAME_INFO() to a function with predicate.
cagney [Mon, 5 Nov 2001 23:10:57 +0000 (23:10 +0000)]
Change INIT_EXTRA_FRAME_INFO() to a function with predicate.

22 years agodaily update
amodra [Mon, 5 Nov 2001 23:00:07 +0000 (23:00 +0000)]
daily update

22 years ago* gdbarch.sh (verify_gdbarch): Use a mem_file to accumulate all
cagney [Mon, 5 Nov 2001 21:34:32 +0000 (21:34 +0000)]
* gdbarch.sh (verify_gdbarch): Use a mem_file to accumulate all
error messages.  Print in a single batch.
* gdbarch.c: Regenerate.

22 years ago * mmap.cc (mmap_record::find_empty): Add input parameter check.
corinna [Mon, 5 Nov 2001 20:58:22 +0000 (20:58 +0000)]
* mmap.cc (mmap_record::find_empty): Add input parameter check.

22 years ago2001-11-05 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 5 Nov 2001 19:42:48 +0000 (19:42 +0000)]
2001-11-05  Martin M. Hunt  <hunt@redhat.com>
* generic/gdbtk-cmds.h (gdbtk_set_result): Declare.
A printf-like function to return error messages.
* generic/gdbtk-cmds.c (gdbtk_set_result): New
function.
(gdb_cmd): Use gdbtk_set_result.
(gdb_immediate_command): Ditto.
(gdb_load_info): Ditto.
(gdb_find_file_command): Ditto.
(gdb_listfuncs): Ditto.
(gdb_load_disassembly): Ditto.
(gdb_loc): Ditto.
(gdb_set_mem): Ditto.
(gdb_get_mem): Ditto.
(gdb_loadfile): Ditto.
* generic/gdbtk-varobj.c (variable_format): Ditto.
(variable_value): Ditto.
* generic/gdbtk-stack.c (gdb_get_vars_command): Ditto.
* generic/gdbtk-bp.c (gdb_get_breakpoint_info): Ditto.
(gdb_set_bp): Ditto.
(gdb_set_bp_addr): Ditto.
(gdb_get_tracepoint_info): Ditto.

22 years ago2001-11-05 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 5 Nov 2001 19:15:17 +0000 (19:15 +0000)]
2001-11-05  Martin M. Hunt  <hunt@redhat.com>

* library/stackwin.itb (StcakWin::reconfig): Destroy sbox
if it exists.

* library/process.itb (ProcessWin::reconfig): Destroy sbox
if it exists. This fixes reconfig failures on Windows. Also
destroy slbox.

* library/bpwin.itb (BpWin::reconfig): Destroy sbox if
it exists.This fixes reconfig failures on Windows. Also
destroy sf

* library/tdump.tcl (TdumpWin::reconfig): Delete sbox
and stext then rebuild window.

22 years ago2001-11-05 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 5 Nov 2001 19:14:00 +0000 (19:14 +0000)]
2001-11-05  Martin M. Hunt  <hunt@redhat.com>

* library/debugwin.itb (DebugWin::build_win):
Initialize gdbtk_de(ERRORS_ONLY) and gdbtk_de(filter_var)
(DebugWin::puts): Rewrite filter to handle new options.
(DebugWinDOpts::build_win): Update list of classes. Change
filter dialog so we can not display only errors and warnings
or choose between displaying ALL classes except those selected
or only selected classes. Fix "OK" button to apply
changes before closing dialog.
DebugWinOpts::_apply): Now takes an agrument that
indicates if dialog should exit after applying filter.

* library/debugwin.ith (_apply): Now takes an arg.

* library/main.tcl: If GDBTK_DEBUGFILE is not set,
use "insight.log" as the default. If GDBTK_DEBUG is set
and nonzero, start logging debug messages to
GDBTK_DEBUGFILE immediately. Never open the debug window
automatically.

* library/managedwin.itb (ManagedWin::shutdown): Don't
save debug window options dialog on active list

* library/srcwin.itb: Remove troublesome debug line.

22 years ago2001-10-18 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 5 Nov 2001 19:00:30 +0000 (19:00 +0000)]
2001-10-18  Martin M. Hunt  <hunt@redhat.com>
* library/globalpref.itb (GlobalPref::_init_var):
New method to initialize _saved and _new arrays.
(GlobalPref::constructor): Call _init_var.
(GlobalPref::_buildwin): Use _new array for prefs
variables. Font optimizations. Remove troublesome
fonts and sort the list.
(GlobalPref::toggle_tracing_mode): Removed.  Some
functionality moved to _apply and _cancel.
(GlobalPref::_apply): Set prefs with values from the
_new array.
(SrcPref::_cancel): Reset prefs with values from _saved.
* library/globalpref.ith: Changed private variables
and methods to start with underscore.
(tracing_cb): Removed.
(_init): Changed from proc to method.

22 years ago * libc/include/sys/unistd.h: Add prototypes for endusershell(),
corinna [Mon, 5 Nov 2001 18:06:23 +0000 (18:06 +0000)]
* libc/include/sys/unistd.h: Add prototypes for endusershell(),
getusershell(), iruserok(), revoke(), ruserok() and setusershell()
when __CYGWIN__ is defined.
* libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
logwtmp().

22 years ago * arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
jakub [Mon, 5 Nov 2001 16:20:37 +0000 (16:20 +0000)]
* arlex.l: Accept `\' in filenames.  Patch by <earl_chew@agilent.com>.

* arsup.c (ar_open): Prepend tmp- to basename, not whole path.

22 years ago* Makefile.in: Delete unused executable after creating base-files.
duda [Mon, 5 Nov 2001 13:16:41 +0000 (13:16 +0000)]
* Makefile.in: Delete unused executable after creating base-files.

22 years agoAdd self as s390/s390x maintainer.
sky [Mon, 5 Nov 2001 08:50:47 +0000 (08:50 +0000)]
Add self as s390/s390x maintainer.

22 years agoForce got and plt relocations.
sky [Mon, 5 Nov 2001 08:47:46 +0000 (08:47 +0000)]
Force got and plt relocations.

22 years agoEliminate excess whitespace.
cgf [Mon, 5 Nov 2001 06:09:06 +0000 (06:09 +0000)]
Eliminate excess whitespace.

22 years agoAdd strace debugging section.
cgf [Mon, 5 Nov 2001 03:16:58 +0000 (03:16 +0000)]
Add strace debugging section.

22 years ago2001-11-04 Chris Demetriou <cgd@broadcom.com>
cgd [Mon, 5 Nov 2001 03:07:51 +0000 (03:07 +0000)]
2001-11-04  Chris Demetriou  <cgd@broadcom.com>

        * mips-dis.c (print_insn_mips): Remove spaces at end of line.

22 years ago2001-11-04 Chris Demetriou <cgd@broadcom.com>
cgd [Mon, 5 Nov 2001 03:07:26 +0000 (03:07 +0000)]
2001-11-04  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (OPCODE_IS_MEMBER): Remove extra space.

22 years ago* dtable.cc (dtable::build_fhandler): Fix debug_printf to avoid SEGV due to
cgf [Mon, 5 Nov 2001 02:45:41 +0000 (02:45 +0000)]
* dtable.cc (dtable::build_fhandler): Fix debug_printf to avoid SEGV due to
incorrect parameter placement.

22 years ago* fhandler.h (fhandler_pipe::broken_pipe): Renamed from saweof.
cgf [Mon, 5 Nov 2001 01:52:20 +0000 (01:52 +0000)]
* fhandler.h (fhandler_pipe::broken_pipe): Renamed from saweof.
(fhandler_pipe::set_eof): Reflect above change.
* pipe.cc (fhandler_pipe::fhandler_pipe): Ditto.
(fhandler_pipe::read): Ditto.
(fhandler_pipe::hiteof): Ditto.

22 years ago* pipe.cc (fhandler_pipe::read): Narrow eof return to just the "broken pipe"
cgf [Mon, 5 Nov 2001 01:44:01 +0000 (01:44 +0000)]
* pipe.cc (fhandler_pipe::read): Narrow eof return to just the "broken pipe"
test.

22 years agomerge from gcc
dj [Mon, 5 Nov 2001 01:12:22 +0000 (01:12 +0000)]
merge from gcc

22 years ago* select.cc: Add more comments throughout. Use bool 'true' where appropriate
cgf [Mon, 5 Nov 2001 00:29:27 +0000 (00:29 +0000)]
* select.cc: Add more comments throughout.  Use bool 'true' where appropriate
throughout.
(fhandler_socket::select_read): Remove duplicate setting for *_ready which
inadvertently overrode previous, correct setting.
(fhandler_socket::select_write): Ditto.

22 years ago*** empty log message ***
gdbadmin [Mon, 5 Nov 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sun, 4 Nov 2001 23:08:47 +0000 (23:08 +0000)]
daily update

22 years ago* lib/Makefile.in: Add .NOTPARALLEL target since dlltool cannot run in parallel
cgf [Sun, 4 Nov 2001 20:38:00 +0000 (20:38 +0000)]
* lib/Makefile.in: Add .NOTPARALLEL target since dlltool cannot run in parallel
invocations.
* lib/scrnsave.c (WinMain): Trivial change to avoid a compiler warning.

22 years ago[ gas/ChangeLog ]
cgd [Sun, 4 Nov 2001 19:06:38 +0000 (19:06 +0000)]
[ gas/ChangeLog ]
2001-11-04  Chris Demetriou  <cgd@broadcom.com>

* configure.in (mips-*-netbsd*): Add support for target.
* configure: Regenerate.

[ gas/testsuite/ChangeLog ]
2001-11-04  Chris Demetriou  <cgd@broadcom.com>

* gas/mips/mips.exp (svr4pic): Set if target is *-*-netbsd*.
(aout): Don't set if *-*-netbsd*.

[ ld/ChangeLog ]
2001-11-04  Chris Demetriou  <cgd@broadcom.com>

* configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
Add support for targets.

22 years ago * getfacl.c (username): New function.
corinna [Sun, 4 Nov 2001 17:24:24 +0000 (17:24 +0000)]
* getfacl.c (username): New function.
(groupname): Ditto.
(usage): Ditto.  Add more user friendly help text.
(main): Add -n and --help option.  Print names instead of IDs
unless -n option is given.
* setfacl.c (getperm): Tolerate whitespace and comment chars in input.
(getaclentry): Fix several input string misdetections.
(getaclentries): Allow - as input file name to read from stdin.
Tolerate whitespace and comment chars in input.
(usage): Add more user friendly help text.
(main): Add --help option.

22 years ago* i386-linux-nat.c (GETREGS_SUPPLIES, supply_gregset,
kettenis [Sun, 4 Nov 2001 14:30:42 +0000 (14:30 +0000)]
* i386-linux-nat.c (GETREGS_SUPPLIES, supply_gregset,
fill_gregset): Add support for "orig_eax" register.

22 years agoAdd support for "orig_eax" pseudo register on Linux/x86.
kettenis [Sun, 4 Nov 2001 14:06:16 +0000 (14:06 +0000)]
Add support for "orig_eax" pseudo register on Linux/x86.
* i386-linux-tdep.c: Include "inferior.h".
(i386_linux_register_name, i386_linux_register_byte,
i386_linux_register_raw_size): New functions.
(i386_linux_write_pc): New function.
* config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): New define.
(NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME,
REGISTER_BYTE, REGISTER_RAW_SIZE): Define to deal with additional
register.
(i386_linux_register_name, i386_linux_register_byte,
i386_linux_register_raw_size): New prototypes.
(TARGET_WRITE_PC): New define.
(i386_linux_write_pc): New prototype.

22 years ago* i386-tdep.c (i386_register_offset): Renamed from
kettenis [Sun, 4 Nov 2001 13:51:48 +0000 (13:51 +0000)]
* i386-tdep.c (i386_register_offset): Renamed from
i386_register_byte.  Made static.
(i386_register_size): Renamed from i386_register_raw_size.  Made
static.
(i386_register_virtual_size): Removed.
(i386_register_byte, i386_register_raw_size,
i386_register_virtual_size): New functions.
(_initialize_i386_tdep): Initialize i386_register_offset instead
of i386_register_byte.  Remove code to initialize
i386_register_virtual_size.
* config/i386/tm-i386.h (REGISTER_BYTE): Redefine to use
i386_register_byte function.
(REGISTER_RAW_SIZE): Redefine to use i386_register_raw_size
function.
(REGISTER_VIRTUAL_SIZE): Redefine to use
i386_register_virtual_size function.
(i386_register_byte, i386_register_raw_size,
i386_register_virtual_size): New functions.

22 years ago* Makefile.in (ALLDEPFILES): Add i387-nat.c.
kettenis [Sun, 4 Nov 2001 13:14:42 +0000 (13:14 +0000)]
* Makefile.in (ALLDEPFILES): Add i387-nat.c.
(i387-nat.o): Add dependencies.

22 years ago* strace.cc (main): New option '-w'. Start traced process in separate
duda [Sun, 4 Nov 2001 12:57:55 +0000 (12:57 +0000)]
* strace.cc (main): New option '-w'. Start traced process in separate
window. New option '-S x'. Flush buffered output every x seconds.
(create_child): Start child process in new window, when requested.
When requested, periodically flush debugging output.

22 years ago* Makefile.in: Force configure in testsuite directory if config.status does not
cgf [Sun, 4 Nov 2001 05:15:16 +0000 (05:15 +0000)]
* Makefile.in: Force configure in testsuite directory if config.status does not
exist.

22 years ago* Makefile.in: Oops. Revert previous change. Add Makefile/Makefile.in
cgf [Sun, 4 Nov 2001 05:14:16 +0000 (05:14 +0000)]
* Makefile.in: Oops.  Revert previous change.  Add Makefile/Makefile.in
dependency.

22 years ago* Makefile.in: Add check target.
cgf [Sun, 4 Nov 2001 05:06:23 +0000 (05:06 +0000)]
* Makefile.in: Add check target.

22 years ago* configure.in: Disable subauth directory test.
cgf [Sun, 4 Nov 2001 03:48:36 +0000 (03:48 +0000)]
* configure.in: Disable subauth directory test.
* configure: Regenerate.
* Makefile.in: Use MAKE variable in directory builds.

22 years ago* Makefile.in: Add directory dependencies to ensure ordering when using 'make
cgf [Sun, 4 Nov 2001 03:42:19 +0000 (03:42 +0000)]
* Makefile.in: Add directory dependencies to ensure ordering when using 'make
-jN'.

22 years ago* select.cc (verify_console): New function.
cgf [Sun, 4 Nov 2001 03:29:15 +0000 (03:29 +0000)]
* select.cc (verify_console): New function.
(verify_windows): Ditto.
(fhandler_console::select_read): Really do need to verify that there is
something to read.
(fhandler_console::select_windows): Ditto.

22 years ago* fhandler.h (fhandler_base::ready_for_read): Remove unused argument.
cgf [Sun, 4 Nov 2001 02:31:58 +0000 (02:31 +0000)]
* fhandler.h (fhandler_base::ready_for_read): Remove unused argument.
(fhandler_tty_slave::ready_for_read): Ditto.
(select_record): Remove poll, initialize peek.
* select.cc: Remove all poll functions, throughout.  Change second argument of
peek_* functions to 'bool' throughout.  Specifically initialize *_ready
variables throughout.
(select_stuff::poll): Subsume previous poll functionality.
(peek_pipe): Don't grab guard mutex when in select loop.  select()/read() is
racy by design so there is no need to worry about a race in select().
(fhandler_base::ready_for_read): Remove unused argument.
(fhandler_tty_slave::ready_for_read): Ditto.
* syscalls.cc (_read): Eliminate third argument in ready_for_read call.

22 years ago*** empty log message ***
gdbadmin [Sun, 4 Nov 2001 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sat, 3 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * security.cc (get_supplementary_group_sidlist): New function.
corinna [Sat, 3 Nov 2001 21:19:50 +0000 (21:19 +0000)]
* security.cc (get_supplementary_group_sidlist): New function.
(get_group_sidlist): Call get_supplementary_group_sidlist() to
retrieve list of supplementary groups SIDs from /etc/group and
add them to the user's group list.

22 years ago* Makefile.common: Remove preferred-stack-boundary setting since gcc 2.95.3
cgf [Sat, 3 Nov 2001 19:56:52 +0000 (19:56 +0000)]
* Makefile.common: Remove preferred-stack-boundary setting since gcc 2.95.3
doesn't work well with it.

22 years ago* fhandler.cc (fhandler_base::read): Return just read ahead characters if slow
cgf [Sat, 3 Nov 2001 05:42:20 +0000 (05:42 +0000)]
* fhandler.cc (fhandler_base::read): Return just read ahead characters if slow
device.
* fhandler.h (fhandler_base::set_eof): New virtual method.
(fhandler_pipe::set_eof): New method.
* pipe.cc (fhandler_pipe::fhandler_pipe): Clear saweof flag.
(fhandler_pipe::read): Return immediately if hit eof.
(fhandler_pipe::hit_eof): Return true if saweof flag is set.
* select.cc (peek_pipe): Don't call PeekNamedPipe if we couldn't grab the guard
mutex.

22 years ago* dll_init.h (class dll_list): Reorder functions to avoid compiler "can't
cgf [Sat, 3 Nov 2001 03:32:26 +0000 (03:32 +0000)]
* dll_init.h (class dll_list): Reorder functions to avoid compiler "can't
inline" warnings.
* security.h (class cygsid): Ditto.
* sigproc.cc (get_proc_lock): Ditto.
* sigproc.h (class sigframe): Ditto.
* sync.h (class muto): Ditto.
* fhandler.h (fhandler_base::get_guard): Actually MAKE virtual as previously
indicated.
* pipe.cc (make_pipe): Remove extraneous set_errno.
* syscalls.cc (_open): Ditto.
* select.cc (peek_pipe): Need to check that there is still something to read
from the pipe after acquiring the mutex since another process/thread could have
eaten the input before we got to acquiring the lock.  (Thanks to Nick Duffek
for this inspiration.)

22 years ago * elfxx-target.h (elfNN_bed): Correct want_got_sym, want_dynbss order.
amodra [Sat, 3 Nov 2001 03:18:34 +0000 (03:18 +0000)]
* elfxx-target.h (elfNN_bed): Correct want_got_sym, want_dynbss order.

22 years ago*** empty log message ***
gdbadmin [Sat, 3 Nov 2001 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Fri, 2 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update

22 years agoDoco problem with alpha-dec-osf5.1.
cagney [Fri, 2 Nov 2001 21:59:18 +0000 (21:59 +0000)]
Doco problem with alpha-dec-osf5.1.

22 years agoAdd myself as the ppc xcoff maintainer
trix [Fri, 2 Nov 2001 21:47:19 +0000 (21:47 +0000)]
Add myself as the ppc xcoff maintainer

22 years ago* utils.c (internal_verror): Restore calls to abort().
cagney [Fri, 2 Nov 2001 21:46:52 +0000 (21:46 +0000)]
* utils.c (internal_verror): Restore calls to abort().
Fix PR gdb/219.

22 years ago* libltp/lib/forker.c: Include proper header to avoid compiler
duda [Fri, 2 Nov 2001 20:45:00 +0000 (20:45 +0000)]
* libltp/lib/forker.c: Include proper header to avoid compiler
warning.

22 years ago2001-11-02 H.J. Lu <hjl@gnu.org>
hjl [Fri, 2 Nov 2001 19:46:58 +0000 (19:46 +0000)]
2001-11-02  H.J. Lu  <hjl@gnu.org>

* elf32-mips.c (mips_elf_calculate_relocation): Don't create
dynamic relocation for symbols defined in regular objects when
creating executables.

22 years agoAdd translations
nickc [Fri, 2 Nov 2001 19:09:06 +0000 (19:09 +0000)]
Add translations

22 years agoAdd translations
nickc [Fri, 2 Nov 2001 19:07:55 +0000 (19:07 +0000)]
Add translations

22 years agoAdd French translation
nickc [Fri, 2 Nov 2001 18:06:20 +0000 (18:06 +0000)]
Add French translation

22 years ago* tc-arm.c: Re-arrange prototypes by architecture.
rearnsha [Fri, 2 Nov 2001 17:25:10 +0000 (17:25 +0000)]
* tc-arm.c: Re-arrange prototypes by architecture.
(insns): Re-arrange instructions by archtitecture.  Pld instruction
is part of ARMv5E.
(tinsns): blx and bkpt are part of ARMv5T.
(do_fp_{ctrl,ldst,ldstm,dyadic,monadic,cmp,from_reg,to_reg}): Rename
to do_fpa_*.  All callers changed.

* tc-arm.c (insns): Add two temporary instructions to handle
ldrd/strd.

22 years ago2001-11-02 H.J. Lu <hjl@gnu.org>
hjl [Fri, 2 Nov 2001 17:24:53 +0000 (17:24 +0000)]
2001-11-02  H.J. Lu  <hjl@gnu.org>

* ld-elfvsb/elfvsb.exp: Add the "ld -r" test.

* ld-elfvsb/hidden0.d: New.
* ld-elfvsb/hidden1.d: New.
* ld-elfvsb/internal0.d: New.
* ld-elfvsb/internal1.d: New.
* ld-elfvsb/protected0.d: New.
* ld-elfvsb/protected1.d: New.
* ld-elfvsb/undef.s: New.
* ld-elfvsb/undef.s: New.

22 years agoFix testsuites for bigendian sh-linux
nickc [Fri, 2 Nov 2001 17:07:48 +0000 (17:07 +0000)]
Fix testsuites for bigendian sh-linux

22 years agoSet targ_emul, targ_extra_emuls as little endian default and to support big endian.
nickc [Fri, 2 Nov 2001 16:58:17 +0000 (16:58 +0000)]
Set targ_emul, targ_extra_emuls as little endian default and to support big endian.

22 years agoAdd comment
nickc [Fri, 2 Nov 2001 16:29:15 +0000 (16:29 +0000)]
Add comment

22 years agoInitialize subspace_sections.
nickc [Fri, 2 Nov 2001 16:19:53 +0000 (16:19 +0000)]
Initialize subspace_sections.

22 years ago2001-11-02 H.J. Lu (hjl@gnu.org)
hjl [Fri, 2 Nov 2001 15:47:23 +0000 (15:47 +0000)]
2001-11-02  H.J. Lu  (hjl@gnu.org)

* coffgen.c (coff_object_p): Return 0 if the header is too big.

22 years ago2001-11-02 Michael Chastain <mec@shout.net>
chastain [Fri, 2 Nov 2001 15:41:14 +0000 (15:41 +0000)]
2001-11-02  Michael Chastain  <mec@shout.net>

        * MAINTAINERS: Update my entry.

22 years ago * elfcore.h (elf_core_file_p): Preserve and clear abfd section
hp [Fri, 2 Nov 2001 13:12:55 +0000 (13:12 +0000)]
* elfcore.h (elf_core_file_p): Preserve and clear abfd section
information.  Save bfd arch and mach values.  Restore on error.

22 years ago * elf32-hppa.c (hppa_handle_PIC_calls): Rename to mark_PIC_calls.
amodra [Fri, 2 Nov 2001 10:37:04 +0000 (10:37 +0000)]
* elf32-hppa.c (hppa_handle_PIC_calls): Rename to mark_PIC_calls.
(allocate_PIC_calls): New function.
(allocate_dynrelocs): Don't allocate pic_call plt entries here.
(elf32_hppa_size_dynamic_sections): Call allocate_PIC_calls.
(elf32_hppa_finish_dynamic_symbol): Remove dead code.

22 years agoFix cutnpasto in last entry
hp [Fri, 2 Nov 2001 07:22:37 +0000 (07:22 +0000)]
Fix cutnpasto in last entry

22 years ago * elf32-cris.c (cris_elf_grok_prstatus): New function.
hp [Fri, 2 Nov 2001 07:20:23 +0000 (07:20 +0000)]
* elf32-cris.c (cris_elf_grok_prstatus): New function.
(cris_elf_grok_prstatus): New function.
(elf_backend_grok_prstatus): Define.
(elf_backend_grok_psinfo): Define.

22 years ago* Makefile.common: Add some stuff to common CFLAGS.
cgf [Fri, 2 Nov 2001 04:44:42 +0000 (04:44 +0000)]
* Makefile.common: Add some stuff to common CFLAGS.

22 years ago* fhandler.h: Change Windows 'BOOL's to c++ 'bool's for all variables.
cgf [Fri, 2 Nov 2001 04:44:06 +0000 (04:44 +0000)]
* fhandler.h: Change Windows 'BOOL's to c++ 'bool's for all variables.
* select.cc (fhandler_base::ready_for_read): Set read_ready to zero prior to
testing it or it will be uninitialized.
* Makefile.in (CFLAGS): Move setting to Makefile.common.

22 years ago2001-11-01 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 2 Nov 2001 01:13:09 +0000 (01:13 +0000)]
2001-11-01  Chris Demetriou  <cgd@broadcom.com>

        * ld.texinfo (Options): Document new option, -nostdlib.
        * lexsup.c (OPTION_NOSTDLIB): New definition.
        (ld_options): Add entry for "nostdlib".
        (parse_args): Handle OPTIONS_NOSTDLIB.
        * ldfile.c (ldfile_add_library_path): Don't add directories
        to the search path if they weren't specified on the command line
        and -nostdlib was specified.
        * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.

22 years ago*** empty log message ***
gdbadmin [Fri, 2 Nov 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* cygheap.h (cygheap_fdmanip::isopen): Set appropriate errno if fd not open.
cgf [Thu, 1 Nov 2001 23:48:34 +0000 (23:48 +0000)]
* cygheap.h (cygheap_fdmanip::isopen): Set appropriate errno if fd not open.
* select.cc (fhandler_base::ready_for_read): Release an open guard mutex when
exiting with an error condition.
* syscalls.cc (_read): Check frequently for closed fd as a kludge until
something better is invented.

22 years ago2001-10-31 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 1 Nov 2001 23:41:09 +0000 (23:41 +0000)]
2001-10-31  Michael Snyder  <msnyder@redhat.com>

* gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
depending on what the symbol table contains.
* gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
the output of the ptype command.  Similarly, accept both "const &"
and "const&".

22 years agodaily update
amodra [Thu, 1 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago* dtable.cc (dtable::build_fhandler): Issue internal error on unknown device.
cgf [Thu, 1 Nov 2001 21:15:52 +0000 (21:15 +0000)]
* dtable.cc (dtable::build_fhandler): Issue internal error on unknown device.
* fhandler.cc (fhandler_base::close): Show both name and handle in debugging
output.
* fhandler.h (fhandler_base::get_guard): New virtual method.
(fhandler_pipe::get_guard): New method.
(fhandler_socket::ready_for_read): Delete declaration.
(fhandler_pipe::ready_for_read): Ditto.
(fhandler_serial::ready_for_read): Ditto.
(fhandler_console::ready_for_read): Ditto.
(fhandler_tty_common::ready_for_read): Ditto.
(fhandler_windows::ready_for_read): Ditto.
(struct select_record::peek): Declare new method.
* select.cc (MAKEready): Delete.
(peek_pipe): Use get_guard method to retrieve potential guard mutex handle.
(fhandler_base::ready_for_read): Rewrite as generic ready-for-read handler.
Should only be called for "slow" devices.
(fhandler_socket::ready_for_read): Delete definition.
(fhandler_pipe::ready_for_read): Ditto.
(fhandler_serial::ready_for_read): Ditto.
(fhandler_console::ready_for_read): Ditto.
(fhandler_tty_common::ready_for_read): Ditto.
(fhandler_windows::ready_for_read): Ditto.
(fhandler_pipe::select_read): Fill in new peek record in select_record
structure.
(fhandler_console::select_read): Ditto.
(fhandler_tty_common::select_read): Ditto.
(fhandler_serial::select_read): Ditto.
(fhandler_socket::select_read): Ditto.
(fhandler_socket::select_read): Ditto.
(fhandler_tty_slave::ready_for_read): Check for tty not open.  Set errnos
appropriately.
* syscalls.cc (_read): Allow ready_for_read to set errno.
* pinfo.cc (pinfo::init): Return spawn/NO_WAIT process as valid if it is
initializing.
* sigproc.cc (getsem): Adjust wait for process to initialize downward to avoid
huge waits.

22 years ago * library/memwin.itb (update_addr): Evaluate the address
kseitz [Thu, 1 Nov 2001 20:49:21 +0000 (20:49 +0000)]
* library/memwin.itb (update_addr): Evaluate the address
to be sent to gdb_get_mem to prevent passing error strings
to string_to_coreaddr in gdb_get_mem.

22 years ago2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
earnie [Thu, 1 Nov 2001 19:51:47 +0000 (19:51 +0000)]
2001-10-30  Danny Smith  <dannysmith@users.sourceforge.net>

* include/io.h (_commit): Add declaration.
Thanks to: "stefan" <stefan@lkcc.org>

2001-10-30  Danny Smith  <dannysmith@users.sourceforge.net>

* include/sys/stat.h: Make S_IS* macros safer.

2001-10-27  Danny Smith  <dannysmith@users.sourceforge.net>

* include/stdlib.h (EXIT_FAILURE): Change value to 1.

2001-10-12  Danny Smith  <dannysmith@users.sourceforge.net>

* include/stdlib.h (__p__environ, __p__wenviron): Use
__STDC__ prototypes.