OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years ago2002-11-27 H.J. Lu <hjl@gnu.org>
hjl [Wed, 27 Nov 2002 19:42:09 +0000 (19:42 +0000)]
2002-11-27  H.J. Lu <hjl@gnu.org>

* ld.texinfo: Add the missing `;' to sample version scripts.

21 years ago2002-11-26 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 27 Nov 2002 19:13:07 +0000 (19:13 +0000)]
2002-11-26  Martin M. Hunt  <hunt@redhat.com>

* Makefile.in: Remove Tix dependencies.
* acinclude.m4: Ditto.
* aclocal.m4: Ditto.
* configure.in: Ditto.
* configure: Regenerated.

21 years ago2002-11-27 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 27 Nov 2002 19:09:17 +0000 (19:09 +0000)]
2002-11-27  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk.c (gdbtk_init): Don't call Tix_Init.
Don't include tix.h

* generic/gdbtk-hooks.c: Don't include tix.h.

* generic/gdbtkj-cmds.c: Don't include tix.h.

21 years ago* libc/string/memset.c (memset): Fix comment.
cgf [Wed, 27 Nov 2002 18:10:13 +0000 (18:10 +0000)]
* libc/string/memset.c (memset): Fix comment.

21 years ago* cygwin.din: Export pthread_getsequence_np.
cgf [Wed, 27 Nov 2002 16:11:38 +0000 (16:11 +0000)]
* cygwin.din: Export pthread_getsequence_np.
* include/cygwin/version.h: Bump API minor version.

21 years ago2002-11-26 Andrew Cagney <ac131313@redhat.com>
cagney [Wed, 27 Nov 2002 15:50:30 +0000 (15:50 +0000)]
2002-11-26  Andrew Cagney  <ac131313@redhat.com>

* gdbarch.sh (TARGET_FLOAT_FORMAT): Print the float format name.
(TARGET_DOUBLE_FORMAT, TARGET_LONG_DOUBLE_FORMAT): Ditto.
* gdbarch.c: Re-generate.

21 years ago2002-11-27 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 27 Nov 2002 15:29:52 +0000 (15:29 +0000)]
2002-11-27  Andrew Cagney  <cagney@redhat.com>

* generic/gdbtk-stack.c (get_frame_name): Use get_frame_type
instead of deprecated_frame_in_dummy.
* generic/gdbtk-cmds.c (gdb_loc): Ditto.

21 years ago * mingwex/math/lgamma.c: New file.
dannysmith [Wed, 27 Nov 2002 03:41:25 +0000 (03:41 +0000)]
* mingwex/math/lgamma.c: New file.
* mingwex/math/lgammaf.c: New file.
* mingwex/math/lgammal.c: New file.
* mingwex/math/tgamma.c: New file.
* mingwex/math/tgammaf.c: New file.
* mingwex/math/tgammal.c: New file.
* mingwex/math/cephes_mconf (polevlf): Add float version.
(p1evlf): Likewise.
Define _CEPHES_USE_ERRNO.
* mingwex/Makefile.in (MATH_DISTFILES): Add new files.
(MATH_OBJS): Add new objects.
* include/math.h (lgamma[fl]): Add prototypes.
(tgamma[fl]): Add prototypes.

21 years ago2002-11-26 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 27 Nov 2002 02:45:06 +0000 (02:45 +0000)]
2002-11-26  Martin M. Hunt  <hunt@redhat.com>

* Makefile.in: Remove Tix references.
* library/Makefile.in: Remove Tix references.
* src/Makefile.in: Remove Tix references.

21 years agowhite space
cgf [Wed, 27 Nov 2002 02:26:44 +0000 (02:26 +0000)]
white space

21 years ago* cygwin.din: Export nl_langinfo().
cgf [Wed, 27 Nov 2002 02:12:50 +0000 (02:12 +0000)]
* cygwin.din: Export nl_langinfo().
* include/cygwin/version.h: Bump API minor version.

21 years ago2002-11-26 Andrew Cagney <ac131313@redhat.com>
cagney [Wed, 27 Nov 2002 01:08:48 +0000 (01:08 +0000)]
2002-11-26  Andrew Cagney  <ac131313@redhat.com>

* config/h8500/tm-h8500.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
(USE_GENERIC_DUMMY_FRAMES): Define as zero.
(PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack.
* config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Define as
pc_in_call_dummy_at_entry_point.
* config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
(USE_GENERIC_DUMMY_FRAMES): Define as zero.
(PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack.
* config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Delete undefine.
* config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Define as
pc_in_call_dummy_on_stack.
* config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Redefine as
pc_in_call_dummy_at_entry_point and pc_in_call_dummy_on_stack.
* config/z8k/tm-z8k.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
(USE_GENERIC_DUMMY_FRAMES): Define as zero.
(PC_IN_CALL_DUMMY): Defile as pc_in_call_dummy_on_stack.

21 years ago*** empty log message ***
gdbadmin [Wed, 27 Nov 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Tue, 26 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2002-11-26 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 26 Nov 2002 22:44:37 +0000 (22:44 +0000)]
2002-11-26  Elena Zannoni  <ezannoni@redhat.com>

        Fix PR gdb/723 and PR gdb/245.
* Makefile.in (install-info): Run the install-info command as part
of the post install steps only.
(uninstall-info): New target.
(uninstall): New target.

21 years ago2002-11-26 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 26 Nov 2002 22:33:21 +0000 (22:33 +0000)]
2002-11-26  Elena Zannoni  <ezannoni@redhat.com>

        * Makefile.in (INFO_DEPS): Define.
        (all): Add install-info to the rule.
        (info): Unse INFO_DEPS.
        (install-info): Rewrite.
        (uninstall-info): New.
        (uninstall): New.

21 years ago* dwarf2dbg.c (scale_addr_delta): New.
dj [Tue, 26 Nov 2002 21:55:14 +0000 (21:55 +0000)]
* dwarf2dbg.c (scale_addr_delta): New.
(size_inc_line_addr): Use it.
(emit_inc_line_addr): Use it.

21 years ago* fhandler_tty.cc (fhandler_pty_master::accept_input): Just use a normal Sleep
cgf [Tue, 26 Nov 2002 20:32:39 +0000 (20:32 +0000)]
* fhandler_tty.cc (fhandler_pty_master::accept_input): Just use a normal Sleep
or suffer amazing pauses when other tty apps are running.
(fhandler_pty_master::process_slave_output): Ditto.

21 years agoInitial revision
hunt [Tue, 26 Nov 2002 20:01:35 +0000 (20:01 +0000)]
Initial revision

21 years agotouched all sources to ease next import
hunt [Tue, 26 Nov 2002 19:47:46 +0000 (19:47 +0000)]
touched all sources to ease next import

21 years ago2002-11-26 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 26 Nov 2002 19:01:29 +0000 (19:01 +0000)]
2002-11-26  Andrew Cagney  <ac131313@redhat.com>

* inferior.h (deprecated_pc_in_call_dummy_before_text_end): Rename
pc_in_call_dummy_before_text_end
(deprecated_pc_in_call_dummy_after_text_end): Rename
pc_in_call_dummy_after_text_end.
(deprecated_pc_in_call_dummy_on_stack): Rename
pc_in_call_dummy_on_stack.
(deprecated_pc_in_call_dummy_at_entry_point): Rename
pc_in_call_dummy_at_entry_point.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_gdbarch_init): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Update.
* blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
(deprecated_pc_in_call_dummy_after_text_end)
(deprecated_pc_in_call_dummy_on_stack)
(deprecated_pc_in_call_dummy_at_entry_point): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.

21 years ago* libc/string/memset.c (memset): Move initialization of 'd' earlier in
cgf [Tue, 26 Nov 2002 18:11:50 +0000 (18:11 +0000)]
* libc/string/memset.c (memset): Move initialization of 'd' earlier in
function.

21 years ago * elf-eh-frame.c (ENSURE_NO_RELOCS): Disregard R_*_NONE relocs.
amodra [Tue, 26 Nov 2002 11:53:58 +0000 (11:53 +0000)]
* elf-eh-frame.c (ENSURE_NO_RELOCS): Disregard R_*_NONE relocs.
(_bfd_elf_discard_section_eh_frame): Don't discard duplicate CIEs
on a relocatable link.  Comment typos.
* elf.c (_bfd_elf_link_hash_newfunc): Assign elements of structure
in the order they are declared.  Clear elf_hash_value too.
(_bfd_elf_link_hash_table_init): Likewise assign in order.  Clear
eh_info and tls_segment.
* elflink.h (elf_link_input_bfd <emit_relocs>): Keep reloc offsets
sorted when discarding relocs by turning them into R_*_NONE.

* libbfd.c (warn_deprecated): Comment spelling.
* po/SRC-POTFILES.in: Regenerate.

21 years ago * config/tc-cris.c (cris_relax_frag): Fix typo in comment.
hp [Tue, 26 Nov 2002 08:21:34 +0000 (08:21 +0000)]
* config/tc-cris.c (cris_relax_frag): Fix typo in comment.
(md_assemble): Don't pass on branches to constants as relaxable.
Tweak comment.

21 years ago * gas/cris/rd-bcnst.d, gas/cris/rd-bcnst.d: New test.
hp [Tue, 26 Nov 2002 08:19:08 +0000 (08:19 +0000)]
* gas/cris/rd-bcnst.d, gas/cris/rd-bcnst.d: New test.

21 years ago * acconfig.h (HAVE_PREAD64): Add.
drow [Tue, 26 Nov 2002 01:23:45 +0000 (01:23 +0000)]
* acconfig.h (HAVE_PREAD64): Add.
* configure.in: Check for pread64.
* config.in: Regenerated.
* configure: Regenerated.
* lin-lwp.c (lin_lwp_xfer_memory): Call linux_proc_xfer_memory.
* linux-proc.c (linux_proc_xfer_memory): New function.
* config/nm-linux.h (linux_proc_xfer_memory): Add prototype.

21 years agoAdd strtold and wcstold to libmingwex.a
dannysmith [Tue, 26 Nov 2002 00:11:05 +0000 (00:11 +0000)]
Add strtold and wcstold to libmingwex.a

* mingwex/strtold.c: New file.
* mingwex/wcstold.c: New file.
* mingwex/ldtoa.c: New file.
* mingwex/math/cephes_emath.h: New file.
* mingwex/math/cephes_emath.c: New file.
* mingwex/Makefile.in (DISTFILES): Add new files.
(MATH_DISTFILES): Ditto.
(STDLIB_OBJS): New. Define as strtold.c wcstold.c.
(MATH_OBJS): Add cephes_emath.o.
(LIB_OBJS): Add $(STDLIB_OBJS).
* include/stdlib.h (strtold, wcstold): Add prototypes.
* include/wchar.h (wcstold): Add prototype.

Add missing ChangeLog entry for 2002-11-09.

21 years ago*** empty log message ***
gdbadmin [Tue, 26 Nov 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Mon, 25 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2002-11-25 David Carlton <carlton@math.stanford.edu>
carlton [Mon, 25 Nov 2002 22:01:38 +0000 (22:01 +0000)]
2002-11-25  David Carlton  <carlton@math.stanford.edu>

* dwarf2read.c (scan_partial_symbols): Descend into namespace
pdi's with no name.

21 years ago * include/w32api.h: Increment to version 2.2
earnie [Mon, 25 Nov 2002 21:15:50 +0000 (21:15 +0000)]
* include/w32api.h: Increment to version 2.2
* Makefile.in: Ditto.

21 years ago* gas/xstormy16/allinsn.d: Fix sdiv/sdivlh encodings.
dj [Mon, 25 Nov 2002 21:15:40 +0000 (21:15 +0000)]
* gas/xstormy16/allinsn.d: Fix sdiv/sdivlh encodings.

21 years ago* xstormy16-decode.cxx: Regenerate.
dj [Mon, 25 Nov 2002 21:15:23 +0000 (21:15 +0000)]
* xstormy16-decode.cxx: Regenerate.

21 years ago* xstormy16-opc.c: Regenerate.
dj [Mon, 25 Nov 2002 21:15:04 +0000 (21:15 +0000)]
* xstormy16-opc.c: Regenerate.

21 years ago* xstormy16.cpu (sdiv, divlh, sdivlh): Fix sdivlh/divlh encodings.
dj [Mon, 25 Nov 2002 21:14:15 +0000 (21:14 +0000)]
* xstormy16.cpu (sdiv, divlh, sdivlh): Fix sdivlh/divlh encodings.

21 years ago* libc/string/memset.c (memset): Minor optimization: Use new 'd' variable,
cgf [Mon, 25 Nov 2002 21:11:57 +0000 (21:11 +0000)]
* libc/string/memset.c (memset): Minor optimization: Use new 'd' variable,
introduced below, everywhere.

21 years ago2002-11-25 Andrew Cagney <ac131313@redhat.com>
cagney [Mon, 25 Nov 2002 21:07:49 +0000 (21:07 +0000)]
2002-11-25  Andrew Cagney  <ac131313@redhat.com>

* MAINTAINERS: Mark h8500 as broken.  Breakage occured Fri Nov 5
16:32:04 1999 Andrew Cagney <cagney@b1.cygnus.com>.

21 years ago* symfile.c (init_objfile_sect_indices): New function.
jimb [Mon, 25 Nov 2002 21:00:51 +0000 (21:00 +0000)]
* symfile.c (init_objfile_sect_indices): New function.
(default_symfile_offsets): Move the section-index-initializing
stuff into init_objfile_sect_indices, and call that.

21 years ago * libc/string/memset.c (memset): Make it safe even if
kazu [Mon, 25 Nov 2002 20:56:16 +0000 (20:56 +0000)]
* libc/string/memset.c (memset): Make it safe even if
sizeof (int) = 2.

21 years ago* symtab.h (SIZEOF_N_SECTION_OFFSETS): New macro.
jimb [Mon, 25 Nov 2002 20:31:06 +0000 (20:31 +0000)]
* symtab.h (SIZEOF_N_SECTION_OFFSETS): New macro.
(SIZEOF_SECTION_OFFSETS): Use SIZEOF_N_SECTION_OFFSETS.

21 years ago* symfile.c (syms_from_objfile): Adjust indentation.
jimb [Mon, 25 Nov 2002 20:11:33 +0000 (20:11 +0000)]
* symfile.c (syms_from_objfile): Adjust indentation.

21 years ago* symfile.c (symbol_file_add): Flush gdb_stdout even if from_tty
jimb [Mon, 25 Nov 2002 20:01:05 +0000 (20:01 +0000)]
* symfile.c (symbol_file_add): Flush gdb_stdout even if from_tty
|| info_verbose isn't true.

21 years agoPatch from Kenneth Chen to fix brl disassembly.
wilson [Mon, 25 Nov 2002 19:59:28 +0000 (19:59 +0000)]
Patch from Kenneth Chen to fix brl disassembly.
* ia64-dis.c (print_insn_ia64): Correct handling of IA64_OPND_TGT64.

21 years ago* lib/mi-support.exp (mi_delete_breakpoints): Change name of
jimb [Mon, 25 Nov 2002 19:54:08 +0000 (19:54 +0000)]
* lib/mi-support.exp (mi_delete_breakpoints): Change name of
function appearing in error message.

21 years ago * lib/Makefile.in (dist, install): Correct the install destinations.
earnie [Mon, 25 Nov 2002 18:14:22 +0000 (18:14 +0000)]
* lib/Makefile.in (dist, install): Correct the install destinations.
* lib/ddk/Makefile.in (dist, install): Ditto.

21 years ago * mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me.
corinna [Mon, 25 Nov 2002 15:12:50 +0000 (15:12 +0000)]
* mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me.

21 years ago * passwd.cc (read_etc_passwd): Never add an entry when starting
corinna [Mon, 25 Nov 2002 15:11:39 +0000 (15:11 +0000)]
* passwd.cc (read_etc_passwd): Never add an entry when starting
on Win95/98/ME if a default entry is present.
* uinfo.cc (internal_getlogin): Look for the default uid if needed.
Always call user.set_name ().

21 years ago * sec_acl.cc (getacl): Set errno to ENOSPC if command is GETACL and
corinna [Mon, 25 Nov 2002 11:23:20 +0000 (11:23 +0000)]
* sec_acl.cc (getacl): Set errno to ENOSPC if command is GETACL and
nentries is less than the number of entries in the file's ACL.

21 years ago * gas/config/tc-tic4x.c (c4x_operands_match): Bugfix in direct
sveinse [Mon, 25 Nov 2002 09:01:29 +0000 (09:01 +0000)]
* gas/config/tc-tic4x.c (c4x_operands_match): Bugfix in direct
mode

21 years ago2002-11-24 Andrew Cagney <ac131313@redhat.com>
cagney [Mon, 25 Nov 2002 04:47:56 +0000 (04:47 +0000)]
2002-11-24  Andrew Cagney  <ac131313@redhat.com>

* gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Change
default to get_frame_base.
* gdbarch.h, gdbarch.c: Regenerate.
* arch-utils.c (default_frame_address): Delete function.
* arch-utils.h (default_frame_address): Delete declaration

21 years ago*** empty log message ***
gdbadmin [Mon, 25 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-11-24 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Sun, 24 Nov 2002 23:05:02 +0000 (23:05 +0000)]
2002-11-24  Pierre Muller  <muller@ics.u-strasbg.fr>

* varobj.c (find_frame_addr_in_frame_chain):
Use get_frame_base instead of FRAME_FP,
obvious fix.

21 years agodaily update
amodra [Sun, 24 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2002-11-19 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 24 Nov 2002 19:48:11 +0000 (19:48 +0000)]
2002-11-19  Andrew Cagney  <ac131313@redhat.com>

* frame.h (FRAME_FP): Delete macro.
(get_frame_base): New function declaration.
* frame.c (get_frame_base): New function.
(get_frame_id): Use ->frame.
(frame_find_by_id): Rewrite to use get_frame_id.
* blockframe.c: Use get_frame_base instead of FRAME_FP.
* cris-tdep.c, d10v-tdep.c, findvar.c, h8500-tdep.c: Ditto.
* hppa-tdep.c, i386-tdep.c, infcmd.c, infrun.c: Ditto.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
* mn10200-tdep.c, mn10300-tdep.c, rs6000-tdep.c: Ditto.
* sh-tdep.c, sparc-tdep.c, stack.c, tracepoint.c: Ditto.
* v850-tdep.c, valops.c, z8k-tdep.c: Ditto.

21 years ago2002-11-24 Corinna Vinschen <corinna@vinschen.de>
corinna [Sun, 24 Nov 2002 18:58:47 +0000 (18:58 +0000)]
2002-11-24  Corinna Vinschen  <corinna@vinschen.de>

* sec_acl.cc: Fix some formatting.  Only set and check `other' bits in
a_perm throughout.  Use ILLEGAL_GID id for all entries having no id.
(setacl): Fix inheritance condition.
(getacl): Set all permission bits in CLASS_OBJ and DEF_CLASS_OBJ
entries.  Remove DENY bits before returning to calling function.
(acltomode): Fix usage of searchace().  If available, use CLASS_OBJ
to mask GROUP_OBJ permissions.
(aclfrommode): Fix usage of searchace().  If available, set CLASS_OBJ
permissions to same value as GROUP_OBJ permissions.

2002-11-24  Pierre Humblet <pierre.humblet@ieee.org>

* sec_acl.cc (getace): Fix the behavior when allow and
deny entries are present in arbitrary order.
(getacl): Report the actual number of entries when
aclbufp is NULL, even if nentries is zero. Fix the mask
reporting, handle the case where the owner and group sids
are equal and streamline the code.
(acl_worker): Take allow_ntsec into account.

21 years ago2002-11-19 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 24 Nov 2002 18:44:36 +0000 (18:44 +0000)]
2002-11-19  Andrew Cagney  <ac131313@redhat.com>

* generic/gdbtk-stack.c (gdb_selected_frame): Use get_frame_base
instead of FRAME_FP.  Mention that get_frame_id() should be used.

21 years ago2002-11-24 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 24 Nov 2002 18:23:36 +0000 (18:23 +0000)]
2002-11-24  Andrew Cagney  <ac131313@redhat.com>

* arm-tdep.c (arm_gdbarch_init): Do not set get_saved_register.

21 years ago * setfacl.c (getperm): Set only `other' permission bits.
corinna [Sun, 24 Nov 2002 18:07:30 +0000 (18:07 +0000)]
* setfacl.c (getperm): Set only `other' permission bits.
(getaclentry): Set a_id to -1 by default.

21 years ago * getfacl.c (permstr): Use `other' permission bits for requesting
corinna [Sun, 24 Nov 2002 16:15:33 +0000 (16:15 +0000)]
* getfacl.c (permstr): Use `other' permission bits for requesting
ace permissions.

21 years agomerge from gcc
dj [Sun, 24 Nov 2002 15:59:22 +0000 (15:59 +0000)]
merge from gcc

21 years ago2002-11-24 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 24 Nov 2002 15:41:59 +0000 (15:41 +0000)]
2002-11-24  Andrew Cagney  <ac131313@redhat.com>

* frame.c (set_unwind_by_pc): Revert change below, use
PC_IN_CALL_DUMMY.
(get_prev_frame): Ditto.

21 years ago2002-11-24 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 24 Nov 2002 15:06:07 +0000 (15:06 +0000)]
2002-11-24  Andrew Cagney  <ac131313@redhat.com>

* dummy-frame.c (pc_in_dummy_frame): New function.
(generic_pc_in_call_dummy): Call pc_in_dummy_frame.
(find_dummy_frame): Update comment.
(generic_pop_current_frame): Use get_frame_type.
* dummy-frame.h (pc_in_dummy_frame): Declare.
* frame.c (set_unwind_by_pc): Use pc_in_dummy_frame.
(create_new_frame): Use pc_in_dummy_frame.
(get_prev_frame): Use pc_in_dummy_frame.
(frame_saved_regs_register_unwind): Use get_prev_frame.
(deprecated_generic_get_saved_register): Use get_prev_frame.

21 years ago2002-11-23 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 24 Nov 2002 14:16:37 +0000 (14:16 +0000)]
2002-11-23  Andrew Cagney  <ac131313@redhat.com>

* blockframe.c (find_frame_addr_in_frame_chain): Move function
from here ...
* varobj.c (find_frame_addr_in_frame_chain): ... to here.
(varobj_create): Note that frame ID should be used.
* frame.h (find_frame_addr_in_frame_chain): Delete declaration.

21 years ago2002-11-05 Thomas Pfaff <tpfaff@gmx.net>
rbcollins [Sun, 24 Nov 2002 13:54:14 +0000 (13:54 +0000)]
2002-11-05  Thomas Pfaff  <tpfaff@gmx.net>

        * dcrt0.cc (dll_crt0_1): Add call to pthread::initMainThread to
        initialize mainthread when it is safe to call new.
        * init.cc (dll_entry): Change call to store reents in tls key.
        * thread.cc (_reent_clib) : Change call to get reents from tls
        key.
        (_reent_winsup): Ditto.
        (MTinterface::Init): Key handling changed. Remove initialization
        of member variables.
        (MTinterface::fixup_after_fork): Reinitialize mainthread object
        after fork. Reset threadount to 1.
        (pthread::initMainThread): Create mainthread object dynamically.
        and initialize with valid handles.
        (pthread::self): Remove calls to create thread objects.
        (pthread::setTlsSelfPointer): Change call to store thread self
        handle in tls key.
        (pthread::getTlsSelfPointer): New static method.
        (pthread::exit): Remove setTlsSelfPointer call.
        (pthread::initCurrentThread): New method.
        (pthread::thread_init_wrapper): Change call to store thread self
        handle in tls key.
        (pthread::join): Check for a valid joiner.
        (pthreadNull::pthreadNull): Mark Null object as detached.
        (pthreadNull::exit): Terminate thread via ExitThread.
        * thread.h (pthread::initMainThread): Change parameter in function
        call.
        (pthread::getTlsSelfPointer): New static method.
        (pthread::initCurrentThread): New method.
        (MTinterface::reent_key): Remove.
        (MTinterface::thread_self_dwTlsIndex): Ditto..
        (MTinterface::indexallocated): Ditto.
        (MTinterface::mainthread): Ditto.
        (MTinterface::reent_key): New member.
        (MTinterface::thread_self_key): Ditto.
        (MTinterface::MTinterface): Initialize all members.

21 years ago2002-11-25 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Sun, 24 Nov 2002 13:41:35 +0000 (13:41 +0000)]
2002-11-25  Robert Collins  <rbtcollins@hotmail.com>

        * readme: Document running portions of the test suite (Thanks Egor!).
        * winsup.api/pthread/mainthreadexits.c: New file, derived from
        Thomas Pfaff's test cases.
        * winsup.api/pthread/threadidafterfork.c: Ditto.

21 years ago* libiberty.h (basename): Add NetBSD to the list.
thorpej [Sun, 24 Nov 2002 06:58:20 +0000 (06:58 +0000)]
* libiberty.h (basename): Add NetBSD to the list.

21 years ago2002-11-23 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 24 Nov 2002 03:20:08 +0000 (03:20 +0000)]
2002-11-23  Andrew Cagney  <ac131313@redhat.com>

* breakpoint.c: Include "gdb_assert.h".
(deprecated_frame_in_dummy): Assert that generic dummy frames are
not being used.
* Makefile.in (breakpoint.o): Update dependencies.
* ada-lang.c (find_printable_frame): Use get_frame_type instead of
deprecated_frame_in_dummy.
* stack.c (print_frame_info_base): Ditto.
(frame_info): Ditto.
(print_frame_info_base): Ditto.  Delete dead code.

Index: tui/ChangeLog
2002-11-23  Andrew Cagney  <ac131313@redhat.com>

* tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of
deprecated_frame_in_dummy.  Fix coding style.

21 years ago*** empty log message ***
gdbadmin [Sun, 24 Nov 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sat, 23 Nov 2002 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago* wait.cc (wait4): Force pending signal delivery before waiting for process
cgf [Sat, 23 Nov 2002 20:24:08 +0000 (20:24 +0000)]
* wait.cc (wait4): Force pending signal delivery before waiting for process
completion.

21 years ago * Makefile.in (m68k_tdep_h): Define.
schwab [Sat, 23 Nov 2002 19:45:10 +0000 (19:45 +0000)]
* Makefile.in (m68k_tdep_h): Define.
(abug-rom.o, cpu32bug-rom.o, dbug-rom.o, m68k-tdep.o, m68klinux-nat.o)
(remote-est.o, rom68k-rom.o): Add $(m68k_tdep_h).
* m68k-tdep.c: Move register number enum ...
* m68k-tdep.h: ... to this new file and rename the constants from
E_* to M68K_*.  All uses changed.
* config/m68k/tm-m68k.h (D0_REGNUM, A0_REGNUM): Remove definitions.
* abug-rom.c: Include "m68k-tdep.h".  Use
M68K_D0_REGNUM/M68K_A0_REGNUM instead of D0_REGNUM/A0_REGNUM.
* cpu32bug-rom.c: Likewise.
* dbug-rom.c: Likewise.
* m68k-tdep.c: Likewise.
* m68klinux-nat.c: Likewise.
* remote-est.c: Likewise.
* rom68k-rom.c: Likewise.
* config/m68k/tm-linux.h: Likewise.

21 years ago* include/cygwin/version.h: Bump DLL minor number.
cgf [Sat, 23 Nov 2002 17:43:45 +0000 (17:43 +0000)]
* include/cygwin/version.h: Bump DLL minor number.

21 years ago2002-11-23 Andrew Cagney <ac131313@redhat.com>
cagney [Sat, 23 Nov 2002 17:17:29 +0000 (17:17 +0000)]
2002-11-23  Andrew Cagney  <ac131313@redhat.com>

* arm-tdep.c (arm_gdbarch_init): Remove old style non-generic
dummy frame initialization code.
* mips-tdep.c (mips_gdbarch_init): Ditto.

21 years agoFix typo describing switch for hex format.
nickc [Sat, 23 Nov 2002 08:01:51 +0000 (08:01 +0000)]
Fix typo describing switch for hex format.

21 years ago * Makefile.tpl: Pass 'srcdir' to subconfigures correctly.
neroden [Sat, 23 Nov 2002 04:09:59 +0000 (04:09 +0000)]
* Makefile.tpl: Pass 'srcdir' to subconfigures correctly.
* Makefile.in: Regenerate.

21 years ago2002-11-22 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Sat, 23 Nov 2002 04:01:30 +0000 (04:01 +0000)]
2002-11-22  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Pass 'srcdir' to subconfigures correctly.
* configure: Regenerate.

21 years ago* win32-nat.c (child_attach): Reset saw_create counter or subsequent attach
cgf [Sat, 23 Nov 2002 02:49:45 +0000 (02:49 +0000)]
* win32-nat.c (child_attach): Reset saw_create counter or subsequent attach
will hang.

21 years ago2002-11-22 Andrew Cagney <ac131313@redhat.com>
cagney [Sat, 23 Nov 2002 01:39:25 +0000 (01:39 +0000)]
2002-11-22  Andrew Cagney  <ac131313@redhat.com>

* gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Default
to default_frame_address.
* gdbarch.h, gdbarch.c: Re-generate.

* d10v-tdep.c (d10v_gdbarch_init): Do not set frame_args_address
or frame_locals_address to default_frame_address.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_gdbarch_init): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.

* cris-tdep.c (cris_frame_args_address): Delete function.
(cris_frame_locals_address): Delete function.
(cris_gdbarch_init): Do not set frame_args_address or
frame_locals_address.

21 years ago2002-11-22 Michael Snyder <msnyder@redhat.com>
msnyder [Sat, 23 Nov 2002 01:34:42 +0000 (01:34 +0000)]
2002-11-22  Michael Snyder  <msnyder@redhat.com>

* thread-db.c (thread_db_load): Tell the user what's going on
if dlopen fails on libthread_db.

21 years agofix typo
cgf [Sat, 23 Nov 2002 01:27:42 +0000 (01:27 +0000)]
fix typo

21 years ago2002-11-22 Andrew Cagney <ac131313@redhat.com>
cagney [Sat, 23 Nov 2002 01:12:05 +0000 (01:12 +0000)]
2002-11-22  Andrew Cagney  <ac131313@redhat.com>

* dv-core.c: Update copyright.  sim/common contributed to the FSF.
* dv-glue.c, dv-pal.c, hw-base.c, hw-base.h, hw-device.c: Ditto.
* hw-device.h, hw-handles.c, hw-handles.h: Ditto.
* hw-instances.c, hw-instances.h, hw-properties.c: Ditto.
* hw-properties.h, hw-tree.c, hw-tree.h, sim-alu.h: Ditto.
* sim-basics.h, sim-bits.c, sim-bits.h, sim-config.c: Ditto.
* sim-config.h, sim-core.c, sim-core.h, sim-endian.c: Ditto.
* sim-endian.h, sim-events.c, sim-events.h, sim-inline.c: Ditto.
* sim-inline.h, sim-io.c, sim-io.h, sim-n-bits.h: Ditto.
* sim-n-core.h, sim-n-endian.h, sim-types.h: Ditto.

21 years ago*** empty log message ***
gdbadmin [Sat, 23 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * m68k-tdep.c (m68k_register_virtual_type): Use architecture
schwab [Fri, 22 Nov 2002 23:59:19 +0000 (23:59 +0000)]
* m68k-tdep.c (m68k_register_virtual_type): Use architecture
invariant return values.

21 years ago2002-11-22 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 22 Nov 2002 23:20:46 +0000 (23:20 +0000)]
2002-11-22  Andrew Cagney  <cagney@redhat.com>

* gen.c (name_cmp): Rename format_name_cmp.
(insn_list_insert): When a merge, compare the format name and
instruction name.  Add trace messages.

21 years agodaily update
amodra [Fri, 22 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2002-11-22 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Fri, 22 Nov 2002 21:02:20 +0000 (21:02 +0000)]
2002-11-22  Elena Zannoni  <ezannoni@redhat.com>

  * Makefile.in (install): Make 'install' do some real work.

21 years agomerge from gcc
dj [Fri, 22 Nov 2002 21:02:07 +0000 (21:02 +0000)]
merge from gcc

21 years ago* exceptions.cc (handle_sigsuspend): Force pending signal delivery before
cgf [Fri, 22 Nov 2002 20:51:12 +0000 (20:51 +0000)]
* exceptions.cc (handle_sigsuspend): Force pending signal delivery before
waiting for signals to happen.
* signal.cc (sleep): Force pending signal delivery before sleeping.
(usleep): Ditto.
(signal): Force pending signal delivery before manipulating signal stuff.
(sigprocmask): Ditto.
(kill_worker): Ditto.
(abort): Ditto.
(sigaction): Ditto.
* syscalls.cc (readv): Force pending signal delivery before I/O.
(writev): Ditto.
(open): Ditto.
* net.cc: Ditto, throughout.
* sigproc.cc (sig_dispatch_pending): Deliver any pending signals prior to
returning.
* tty.cc (tty::make_pipes): Increase pipe buffer size.

21 years ago* gcc 3.2 compatibility fixes
fche [Fri, 22 Nov 2002 20:34:58 +0000 (20:34 +0000)]
* gcc 3.2 compatibility fixes

[e.g. include/ChangeLog]
2002-11-22  Frank Ch. Eigler  <fche@redhat.com>

* sidattrutil.h: Give up on hash tables - too many incompatible
libstdc++'s out there.
* configure.in: Don't bother looking for hash stuff.
* configure, sidconfutil.in: Regenerated.
* sidmiscutil.h: Add some "typename" qualifiers.
* sidcpuutil.h (cpu_trace_stream): Trade publicness for friendliness
regarding cout_p.

[e.g., component/parport/ChangeLog]
2002-11-22  Frank Ch. Eigler  <fche@redhat.com>

* ps2.cxx (parport_inputpin): Fix formal arg list.

[e.g., component/interrupt/ChangeLog]
2002-11-22  Frank Ch. Eigler  <fche@redhat.com>

* components.cxx (compInterruptDelete): Avoid dynamic_cast on
deleted pointer.

21 years ago2002-11-22 Joe Buehler <jbuehler@hekimian.com>
jjohnstn [Fri, 22 Nov 2002 19:54:22 +0000 (19:54 +0000)]
2002-11-22  Joe Buehler  <jbuehler@hekimian.com>

        * configure.in: Change check for libc/include in ${CC} to
        use an intermediate value so as to work with different shells.
        * configure: Regenerated.
        * Makefile.in: Ditto.

21 years agoRevert previous change --- the hour was late, and I was confused about
jimb [Fri, 22 Nov 2002 19:07:27 +0000 (19:07 +0000)]
Revert previous change --- the hour was late, and I was confused about
its status.

21 years ago2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
jjohnstn [Fri, 22 Nov 2002 18:06:09 +0000 (18:06 +0000)]
2002-11-22  Vijay L. Khuspe  <vijayk1@kpit.com>

        * libc/sys/h8300hms/read.c: Add support for normal mode
        architecture.

21 years ago* duplicate dtor - merge bug fix
fche [Fri, 22 Nov 2002 17:15:42 +0000 (17:15 +0000)]
* duplicate dtor - merge bug fix

21 years ago * valops.c (value_slice): Move declaration of `offset' to avoid
schwab [Fri, 22 Nov 2002 16:32:45 +0000 (16:32 +0000)]
* valops.c (value_slice): Move declaration of `offset' to avoid
warning.

21 years ago* include/cygwin/version.h: Fix comment.
cgf [Fri, 22 Nov 2002 16:27:31 +0000 (16:27 +0000)]
* include/cygwin/version.h: Fix comment.

21 years ago* win32-nat.c (psapi_get_dll_name): Fix a compiler warning.
cgf [Fri, 22 Nov 2002 07:34:54 +0000 (07:34 +0000)]
* win32-nat.c (psapi_get_dll_name): Fix a compiler warning.
(struct so_stuff): Add end_addr field.
(register_loaded_dll): Calculate and store end address of loaded dll.
(solib_address): New function.
(child_solib_loaded_library_pathname): Pass carefully constructed section info
to safe_symbol_file_add rather than ignoring it.
(get_child_debug_event): Call re_enable_breakpoints_in_shlibs when a DLL is
loaded.
(do_initial_child_stuff): Call disable_breakpoints_in_shlibs.
(child_create_inferior): Fix a compiler warning.
* config/i386/tm-cygwin.h (PC_SOLIB): Define new macro.
(solib_address): Declare new function.

21 years ago* gdb.base/step-line.exp: Check that GDB can handle filenames that
jimb [Fri, 22 Nov 2002 07:00:36 +0000 (07:00 +0000)]
* gdb.base/step-line.exp: Check that GDB can handle filenames that
appear in the line number info, but not in the preprocessor macro
info.

* lib/gdb.exp (gdb_internal_error_regexp): New variable.
(gdb_internal_error_resync): New procedure.
(gdb_test): If the command results in an internal error,
answer GDB's questions until we get back to a prompt.

21 years ago* external.cc (cygwin_internal): Fix va_arg references.
cgf [Fri, 22 Nov 2002 04:50:53 +0000 (04:50 +0000)]
* external.cc (cygwin_internal): Fix va_arg references.

21 years ago* exceptions.cc (sigthread::get_winapi_lock): Just do standard 'give up
cgf [Fri, 22 Nov 2002 04:43:46 +0000 (04:43 +0000)]
* exceptions.cc (sigthread::get_winapi_lock): Just do standard 'give up
timeslice' wait.
(setup_handler): Revamp YA to attempt to deliver signal multiple times on
failure rather than punting to wait_sig.
* miscfuncs.cc (low_priority_sleep): Accept INFINITE sleep to mean "don't reset
the priority after setting it to idle".  Return previous priority.
* winsup.h (SLEEP_0_STAY_LOW): Define.
(low_priority_sleep): Return an int.
* sigproc.h: Define WAIT_SIG_PRIORITY here.
* sigproc.cc: Remove WAIT_SIG_PRIORITY definition.

21 years ago * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
drow [Fri, 22 Nov 2002 04:31:21 +0000 (04:31 +0000)]
* gdb.base/maint.exp (help maint dump-me): Update with typo fix.