OSDN Git Service

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

22 years ago2001-11-01 Arati Dikey <aratidikey@hotmail.com>
jjohnstn [Thu, 1 Nov 2001 19:47:28 +0000 (19:47 +0000)]
2001-11-01  Arati Dikey  <aratidikey@hotmail.com>

        * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
        [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
        * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
        [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.

22 years ago2001-11-01 Danny Smith <dannysmith@users.sourceforge.net>
earnie [Thu, 1 Nov 2001 19:42:54 +0000 (19:42 +0000)]
2001-11-01  Danny Smith  <dannysmith@users.sourceforge.net>

* include/basetyps.h (DECLARE_INTERFACE): Don't add
__attribute__((com_interface)) for __GNUC__ >= 3.

2001-11-01  Danny Smith  <dannysmith@users.sourceforge.net>

* include/commdlg.h (PRINTPAGERANGE): Add structure
definition.
(PRINTDLGEX[AW]): Likewise.
(PrintDlgEx[AW]): Add function declaration.
* lib/comdlg32.def (PrintDlgEx[AW]): Add function stubs.
* ChangeLog: Fix typo in last entry.

2001-11-01  TAMURA Kent  <tkent@users.sourceforge.net>

* include/objbase.h (CoGetClassObject): Change third parameter
to COSERVERINFO*.

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

* include/winuser.h (MOUSEEVENTF_WHEEL): Define.
Thanks to: Kim Saunders.
* include/oleauto.h: Define VARIANT* flags for VariantChangeType.
Thanks to: Pat Thoyts.
* include/winnt.h: Change C++ style comment to C style.
  * include/shlobj.h: Ditto.
* include/objbase.h (enum tagCOINIT): Remove comma at end of
list.
* include/oledlg.h (enum tagOLEUIPASTEFLAG): Ditto.
* include/oleidl.h (enum tagDROPEFFECT): Mark as __extension__
(enum not limited to range of int).
* include/oaidl.h (struct tagVARIANT): Mark as __extension__
(struct with no named members), ifndef NONAMELESSUNION.

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

* include/winuser.h (CREATESTRUCT): UNICODE it.
(CBT_CREATEWND): Likewise.

2001-10-20  Corinna Vinschen  <corinna@vinschen.de>

* include/winnetwk.h (WNetGetResourceInformationA): Add declaration.
(WNetGetResourceInformationW): Ditto.
(WNetGetResourceInformation): Add define.

2001-10-12  Pedro A Aranda  <paaguti@hotmail.com>

* include/winuser.h (POINTSTOPOINT): Use explicit casts
before extracting words.

22 years agoApproved by kev@cygnus.com
fnf [Thu, 1 Nov 2001 16:17:08 +0000 (16:17 +0000)]
Approved by kev@cygnus.com
ChangeLog entry:

2001-11-01  Fred Fish  <fnf@redhat.com>

* coff-solib.c (coff_solib_add): Add new readsyms arg.
* irix5-nat.c (solib_add): Ditto.
* osfsolib.c (solib_add): Ditto.
* pa64solib.c (pa64_solib_add): Ditto.
* pa64solib.c (add_to_solist): Ditto.
* pa64solib.c (read_dld_descriptor): Ditto.
* solib.c (solib_add): Ditto.
* somsolib.c (som_solib_add): Ditto.
* win32-nat.c (child_solib_add): Ditto.
* xcoffsolib.c (solib_add): Ditto.

* coff-solib.h (coff_solib_add): Add new readsyms arg to prototype.
* pa64solib.c (add_to_solist): Ditto.
* pa64solib.c (read_dld_descriptor): Ditto.
* pa64solib.h (pa64_solib_add): Ditto.
* solib.h (solib_add): Ditto.
* somsolib.h (som_solib_add): Ditto.
* config/i386/tm-cygwin.h (child_solib_add): Ditto.

* coff-solib.c (coff_solib_add):  If readsyms is zero don't read
symbols but do any other needed work for shared libs.
* irix5-nat.c: Ditto.
* osfsolib.c (solib_add): Ditto.
* solib.c (solib_add): Ditto.
* win32-nat.c (child_solib_add): Ditto.
* xcoffsolib.c (solib_add): Ditto.

* irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to
solib_add to force reading of shared library symbols.
* osfsolib.c (sharedlibrary_command;): Ditto.
* pa64solib.c (pa64_solib_sharedlibrary_command): Ditto.
* solib.c (sharedlibrary_command): Ditto.
* somsolib.c (som_solib_sharedlibrary_command): Ditto.
* xcoffsolib.c (sharedlibrary_command): Ditto.

* coff-solib.c (coff_solib_create_inferior_hook): Call solib_add
unconditionally with auto_solib_add.
* irix5-nat.c (solib_create_inferior_hook): Ditto.
* osfsolib.c (solib_create_inferior_hook): Ditto.
* solib.c (solib_create_inferior_hook): Ditto.
* solib-osf.c (osf_solib_create_inferior_hook): Ditto.
* solib-svr4.c (enable_break): Ditto.
* solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.

* corelow.c (solib_add_stub): Add auto_solib_add to args passed
via SOLIB_ADD.
* sol-thread.c (sol_thread_attach): Ditto.
* config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto.

* infcmd.c (attach_command): Remove auto_solib_add decl.
Call SOLIB_ADD directly with auto_solib_add.
* infrun.c (handle_inferior_event): Ditto.

* coff-solib.h (SOLIB_ADD): Add readsyms arg.
* pa64solib.h (SOLIB_ADD): Ditto.
* solib.h (SOLIB_ADD): Ditto.
* somsolib.h (SOLIB_ADD): Ditto.
* config/i386/tm-cygwin.h (SOLIB_ADD): Ditto.

* fork-child.c (clone_and_follow_inferior): Remove unused
auto_solib_add decl.

* pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms.
(read_dld_descriptor): Ditto.
(pa64_solib_add): Call read_dld_descriptor with readsyms.
(pa64_solib_in_dynamic_linker): Ditto.

* corelow.c (symfile.h): Need this for auto_solib_add declaration.
* sol-thread.c (symfile.h): Ditto.

Approved by eliz@is.elta.co.il
doc/ChangeLog entry:

2001-11-01  Fred Fish  <fnf@redhat.com>

* gdbint.texinfo (SOLIB_ADD): Document additional new
"readsyms" arg.

22 years ago * config/tc-m68hc11.c (build_jump_insn): Allocate worst case storage
ciceron [Thu, 1 Nov 2001 09:56:16 +0000 (09:56 +0000)]
* config/tc-m68hc11.c (build_jump_insn): Allocate worst case storage
for bra/bsr and use frag_variant(), this ensure that the possible
16-bit BFD_RELOC_16 will be in the same frag.

22 years ago * gas/m68hc11/opers12.s: Add test for disassembler bug with movb
ciceron [Thu, 1 Nov 2001 09:52:02 +0000 (09:52 +0000)]
* gas/m68hc11/opers12.s: Add test for disassembler bug with movb
instruction.
* gas/m68hc11/opers12.d: Likewise.
* gas/m68hc11/opers12-dwarf2.d: Likewise.

22 years ago * m68hc11-dis.c (print_insn): Fix disassembly of movb with a
ciceron [Thu, 1 Nov 2001 09:48:56 +0000 (09:48 +0000)]
* m68hc11-dis.c (print_insn): Fix disassembly of movb with a
constant as source.

22 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Correct branch
amodra [Thu, 1 Nov 2001 05:35:09 +0000 (05:35 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Correct branch
prediction bits.

22 years agoFixed formatting error.
dhoward [Thu, 1 Nov 2001 05:11:19 +0000 (05:11 +0000)]
Fixed formatting error.

22 years agouse xmalloc() and xfree().
cagney [Thu, 1 Nov 2001 02:53:05 +0000 (02:53 +0000)]
use xmalloc() and xfree().

22 years agos/value_ptr/struct value */
cagney [Thu, 1 Nov 2001 02:37:56 +0000 (02:37 +0000)]
s/value_ptr/struct value */

22 years agoRe-indent.
cagney [Thu, 1 Nov 2001 02:22:21 +0000 (02:22 +0000)]
Re-indent.

22 years ago[ bfd/ChangeLog ]
cgd [Thu, 1 Nov 2001 01:33:44 +0000 (01:33 +0000)]
[ bfd/ChangeLog ]
2001-10-31  Chris Demetriou  <cgd@demetriou.com>

* elf32-mips.c (_bfd_mips_elf_hi16_reloc): Handle PC-relative
relocations properly.

[ gas/ChangeLog ]
2001-10-31  Chris Demetriou  <cgd@broadcom.com>

* config/tc-mips.c (HAVE_32BIT_ADDRESSES): If compiling embedded
PIC code, assume pointers the same size as GPRs.
(macro): In M_LA_AB handling for embedded PIC code, support
"la $treg,foo-bar($breg)".  In load/store handling
(label ld_st) support "<op> $treg,<sym>-<local_sym>($breg)"
which is used by the compiler for switch statements.
In load/store double multi-instruction macro handling
(label ldd_std) add a comment that no special handling
is currently done for embedded PIC.
(mips_ip): In 'o' (16-bit offset) case, only accept 16
bit offsets.

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

* gas/mips/empic.s: Undo damage inflicted on 2000-12-02.
* gas/mips/empic.d: Likewise.
* gas/mips/elempic.d: Likewise (it was copied into other files).
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.

* gas/mips/empic2.s: New test to check new 'la' and 'lw' (and
related ops) syntax, test loads with large offsets.
* gas/mips/emcic2.d: Likewise.
* gas/mips/mips.exp: Run the new test on ELF platforms.

22 years agos/value_ptr/struct value */
cagney [Thu, 1 Nov 2001 01:21:34 +0000 (01:21 +0000)]
s/value_ptr/struct value */

22 years agovalue_ptr tweeks.
cagney [Thu, 1 Nov 2001 01:07:34 +0000 (01:07 +0000)]
value_ptr tweeks.

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

22 years ago2001-10-26 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Wed, 31 Oct 2001 23:27:52 +0000 (23:27 +0000)]
2001-10-26  Vladimir Makarov  <vmakarov@redhat.com>

* gloss.h (gloss32::do_sys_unlink): New function.

* gloss.cxx (gloss32::syscall_trap): Add processing SYS_unlink.
(gloss32::do_sys_unlink): New function.
(gloss32::do_sys_exit): Add breaks after each case.
(gloss32::do_sys_lseek): Set up correct results.

22 years ago * arch-utils.c (generic_in_solib_call_trampoline): New function.
corinna [Wed, 31 Oct 2001 23:21:32 +0000 (23:21 +0000)]
* arch-utils.c (generic_in_solib_call_trampoline): New function.
* arch-utils.h (generic_in_solib_call_trampoline): Extern declaration.
* gdbarch.c: Regenerated from gdbarch.sh.
* gdbarch.h: Ditto.
* gdbarch.sh (function_list): Add `IN_SOLIB_CALL_TRAMPOLINE' definition.
* infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Remove macro.

22 years agodaily update
amodra [Wed, 31 Oct 2001 23:00:35 +0000 (23:00 +0000)]
daily update

22 years agoFrom DJ Barrow.
cagney [Wed, 31 Oct 2001 22:57:46 +0000 (22:57 +0000)]
From DJ Barrow.
* s390-tdep.c: (s390_gdbarch_init): Don't initialize
find_solib_trampoline_target.

22 years ago* remote-vx.c (net_wait): Fix typo from PIDGET change.
cagney [Wed, 31 Oct 2001 22:29:20 +0000 (22:29 +0000)]
* remote-vx.c (net_wait): Fix typo from PIDGET change.

22 years ago* config/i386/tm-i386.h (REGISTER_NAMES): Remove.
kettenis [Wed, 31 Oct 2001 22:24:05 +0000 (22:24 +0000)]
* config/i386/tm-i386.h (REGISTER_NAMES): Remove.
(REGISTER_NAME): New define.
(i386_register_name): New prototype.
* i386-tdep.c (i386_register_names): New variable.
(i386_register_name): New function.
* config/i386/tm-i386os9k.h, config/i386/tm-ptx.h,
config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of
REGISTER_NAMES.

22 years ago * gdb.base/miscexprs.c (main): Add usage of preprocessor
corinna [Wed, 31 Oct 2001 20:59:21 +0000 (20:59 +0000)]
* gdb.base/miscexprs.c (main): Add usage of preprocessor
symbol `STORAGE' to allow to choose the storage class of
the local datastructures.
* gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
compiler directive.

22 years ago2001-10-31 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 31 Oct 2001 19:26:12 +0000 (19:26 +0000)]
2001-10-31  Jeff Johnston  <jjohnstn@redhat.com>

        * m32r/Makefile.in: Use gdb stub set by configure.
        * m32r/configure.in: Add a special macro for testing
        c compiler without building executable.  Add setting of
        GDBSTUB.
        * m32r/configure: Regenerated.

22 years ago2001-10-30 Don Howard <dhoward@redhat.com>
dhoward [Wed, 31 Oct 2001 19:20:43 +0000 (19:20 +0000)]
2001-10-30  Don Howard  <dhoward@redhat.com>

* gdb.texinfo: (Command Files) Added documentation for the
behavior of gdb with input redirected from a file.

22 years ago2001-10-31 David Howells <dhowells@redhat.com>
jjohnstn [Wed, 31 Oct 2001 19:19:07 +0000 (19:19 +0000)]
2001-10-31  David Howells  <dhowells@redhat.com>

        * syscall.h: Added SYS_times, SYS_gettimeofday, SYS_link values.
        * mn10300/times.c: Renamed "times" to "_times" so that it can be
        referenced by newlib.
        * mn10300/cygmon.c: New file.
        * mn10300/crt0_redboot.S: Ditto.
        * mn10300/crt0_cygmon.S: Ditto.
        * mn10300/Makefile.in: Added RedBoot and Cygmon support.
        * mn10300/configure.in: Changed to allow for future
        evaluation boards to be added.
        * mn10300/configure: Regenerated.

22 years ago* win32-nat.c (register_loaded_dll): Attempt to ensure that the case of the
cgf [Wed, 31 Oct 2001 19:05:33 +0000 (19:05 +0000)]
* win32-nat.c (register_loaded_dll): Attempt to ensure that the case of the
loaded DLL matches the on-disk case since the debugging API does not seem to
ensure this.  Calculate max name length here.
(handle_load_dll): Move max name length calculation to register_loaded_dll.

22 years ago2001-10-31 H.J. Lu <hjl@gnu.org>
hjl [Wed, 31 Oct 2001 16:42:47 +0000 (16:42 +0000)]
2001-10-31  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_link_output_extsym): Don't clear the visibility
field for relocateable.

22 years ago* environ.cc: Set reset_com to false to mimic linux behavior more closely.
cgf [Wed, 31 Oct 2001 16:30:45 +0000 (16:30 +0000)]
* environ.cc: Set reset_com to false to mimic linux behavior more closely.

22 years ago * arm-linux-nat.c: Include <asm/ptrace.h> explicitly.
drow [Wed, 31 Oct 2001 15:56:32 +0000 (15:56 +0000)]
* arm-linux-nat.c: Include <asm/ptrace.h> explicitly.

22 years agoFix infinite parsing loop
nickc [Wed, 31 Oct 2001 15:41:19 +0000 (15:41 +0000)]
Fix infinite parsing loop

22 years ago Revert previous delta, instead do this.
amodra [Wed, 31 Oct 2001 15:32:08 +0000 (15:32 +0000)]
Revert previous delta, instead do this.
* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Don't count
.plt relocs in DT_RELASZ.

22 years ago * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Set DT_RELASZ
amodra [Wed, 31 Oct 2001 14:58:13 +0000 (14:58 +0000)]
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Set DT_RELASZ
whenever DT_PLTRELSZ.

22 years agoGeneral cleanup of feature definitions.
rearnsha [Wed, 31 Oct 2001 14:48:18 +0000 (14:48 +0000)]
General cleanup of feature definitions.
* tc-arm.c (ARM_EXT_LONGMUL, ARM_EXT_HALFWORD, ARM_EXT_THUMB): Delete.
(ARM_2UP, ARM_ALL, ARM_3UP, ARM_6UP): Delete.
(FPU_CORE, FPU_FPA10, FPA_FPA11, FPU_ALL, FPA_MEMMULTI): Delete.
(ARM_EXT_V{1,2,2S,3,3M,4,4T,5T,5ExP}): New defines.
(ARM_EXT_V{5,5E}): Synchronize with above.
(ARM_ARCH_V*): Define a complete set in terms of above features.
(ARM_{1,2,3,250,6,7,8,9,STRONG}): Define in terms of architecture.
(FPU_FPA_EXT_V[12]): Define.
(FPU_ARCH_FPE, FPU_ARCH_FPA): Define in terms of above.
(FPU_ANY): Define.
(FPU_DEFAULT): Default to FPA.
(CPU_DEFAULT): For XScale, this is now just ARM_ARCH_XSCALE; for
Thumb, this is now ARM_ARCH_V5T.
(insns): Rework for new feature defines.
(tinsns): Likewise.
(opcode_select, do_ldst, md_begin, md_parse_option): Likewise.

22 years agoUpdate documentation about -T augmenting linker scripts
nickc [Wed, 31 Oct 2001 14:19:22 +0000 (14:19 +0000)]
Update documentation about -T augmenting linker scripts

22 years ago * dtable.cc (dtable::vfork_child_dup): Revert impersonation
corinna [Wed, 31 Oct 2001 12:03:45 +0000 (12:03 +0000)]
* dtable.cc (dtable::vfork_child_dup): Revert impersonation
before duplicating fhandler.

22 years agoSupports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu targets
nickc [Wed, 31 Oct 2001 09:50:04 +0000 (09:50 +0000)]
Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu targets

22 years agoFix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.
nickc [Wed, 31 Oct 2001 09:01:50 +0000 (09:01 +0000)]
Fix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.

22 years agoFix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.
nickc [Wed, 31 Oct 2001 09:01:21 +0000 (09:01 +0000)]
Fix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.

22 years agoUpdate to match latest listing behaviour
nickc [Wed, 31 Oct 2001 08:58:59 +0000 (08:58 +0000)]
Update to match latest listing behaviour

22 years ago * ld-mmix/locdo-1.d: Prune character dump part.
hp [Wed, 31 Oct 2001 05:52:39 +0000 (05:52 +0000)]
* ld-mmix/locdo-1.d: Prune character dump part.

22 years ago * ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d,
hp [Wed, 31 Oct 2001 05:42:49 +0000 (05:42 +0000)]
* ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d,
  ld-mmix/loc1.d, ld-mmix/bspec1m.d, ld-mmix/bspec2m.d,
  ld-mmix/b-nosym.d, ld-mmix/b-fixo2.d, ld-mmix/b-loc64k.d,
  ld-mmix/undef-3m.d, ld-mmix/locto.s, ld-mmix/loct.s,
  ld-mmix/local3m.d, ld-mmix/local1m.d, ld-mmix/loc6m.d,
  ld-mmix/loc2.s, ld-mmix/loc1.s, ld-mmix/gregldo1.s,
  ld-mmix/dloc1.s, ld-mmix/b-widec3.s, ld-mmix/b-nosym.s: Remove
  unnecessary empty lines.

22 years agoremove garbage ChangeLog entry.
cgf [Wed, 31 Oct 2001 05:35:28 +0000 (05:35 +0000)]
remove garbage ChangeLog entry.

22 years agoRegenerate dependencies and Makefile.in
hp [Wed, 31 Oct 2001 05:04:33 +0000 (05:04 +0000)]
Regenerate dependencies and Makefile.in

22 years ago * gas/mmix/tst.s: Delete unused file.
hp [Wed, 31 Oct 2001 04:30:34 +0000 (04:30 +0000)]
* gas/mmix/tst.s: Delete unused file.
* gas/mmix/unsave-op.s, gas/mmix/save-op.s, gas/mmix/resume-op.s,
gas/mmix/reloc8.s, gas/mmix/prefix1.s, gas/mmix/pop-op.s,
gas/mmix/greg8.s, gas/mmix/greg6.s, gas/mmix/expr-1.s,
gas/mmix/greg1.s, gas/mmix/err-bspec-5.s, gas/mmix/op-0-1.s,
gas/mmix/fb-2.s: Remove trailing empty lines.

22 years ago * wrapper.h (gdb_value_struct_elt): New function.
kseitz [Wed, 31 Oct 2001 03:16:03 +0000 (03:16 +0000)]
* wrapper.h (gdb_value_struct_elt): New function.
* wrapper.c (gdb_value_struct_elt): Ditto.
(do_captured_value_struct_elt): Ditto.

22 years agoRemove #if 0 around bfd_mmo_mmix_vec
hp [Wed, 31 Oct 2001 03:08:59 +0000 (03:08 +0000)]
Remove #if 0 around bfd_mmo_mmix_vec

22 years agoSplit file by ^L:s as in original submitted patch
hp [Wed, 31 Oct 2001 03:07:48 +0000 (03:07 +0000)]
Split file by ^L:s as in original submitted patch

22 years ago* sigproc.cc (sigproc_terminate): Don't signal main thread when exiting.
cgf [Wed, 31 Oct 2001 02:58:38 +0000 (02:58 +0000)]
* sigproc.cc (sigproc_terminate): Don't signal main thread when exiting.
* sigproc.h (sigframe): Decorate some methods with `inline'.
(new_muto): Coerce pointer to new to void *.

22 years agoUpdate README and NEWS to 5.1.
cagney [Wed, 31 Oct 2001 02:53:17 +0000 (02:53 +0000)]
Update README and NEWS to 5.1.