OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years agodaily update
amodra [Sat, 12 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

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

21 years ago2002-10-11 Martin M. Hunt <hunt@redhat.com>
hunt [Fri, 11 Oct 2002 17:50:10 +0000 (17:50 +0000)]
2002-10-11  Martin M. Hunt  <hunt@redhat.com>

* utils.c (string_to_core_addr): After turning string into
a number, convert to a CORE_ADDR using INTEGER_TO_ADDRESS
which will do necessary sign-extension, etc.

21 years ago2002-10-11 Klee Dienes <kdienes@apple.com>
kdienes [Fri, 11 Oct 2002 16:13:15 +0000 (16:13 +0000)]
2002-10-11  Klee Dienes  <kdienes@apple.com>

        * gdb.texinfo (Registers): Mention vector registers as well as
        floating registers in the documentation for 'info registers' and
        'info all-registers'.

21 years agogcc uses trap 33 for profiling, but the simulator didn't support it.
amylaar [Fri, 11 Oct 2002 15:31:28 +0000 (15:31 +0000)]
gcc uses trap 33 for profiling, but the simulator didn't support it.
This patch fixes the gcc.dg/nest.c failures for sh-elf.

Fri Oct 11 16:22:28 2002  J"orn Rennecke <joern.rennecke@superh.com>

* interp.c (trap): Return int.  Take extra parameter for address
of the trap instruction.  Changed all callers.
Add case 33 for profiling.
* gencode.c (trapa): Handle trap 33 using the trap function.
Add read of vector for generic traps.

21 years ago * ld-sh/rd-sh.exp: If the test matches *-dso.d, copy the output
kkojima [Fri, 11 Oct 2002 14:44:53 +0000 (14:44 +0000)]
* ld-sh/rd-sh.exp: If the test matches *-dso.d, copy the output
of linker to the file tmpdir/*-dso.so.
* ld-sh/tlsbin.s, ld-sh/tlsbinpic.s, ld-sh/tlslib.s: New.
* ld-sh/tlsbin-0-dso.d: New.
* ld-sh/tlsbin-1.d: New.
* ld-sh/tlsbin-2.d: New.
* ld-sh/tlsbin-3.d: New.
* ld-sh/tlsbin-4.d: New.
* ld-sh/tlspic1.s, ld-sh/tlspic2.s: New.
* ld-sh/tlspic-1.d: New.
* ld-sh/tlspic-2.d: New.
* ld-sh/tlspic-3.d: New.
* ld-sh/tlspic-4.d: New.

21 years ago * gas/sh/tlsd.s, gas/sh/tlsd.d: New.
kkojima [Fri, 11 Oct 2002 14:42:50 +0000 (14:42 +0000)]
* gas/sh/tlsd.s, gas/sh/tlsd.d: New.
* gas/sh/tlsnopic.s, gas/sh/tlsnopic.d: New.
* gas/sh/tlspic.s, gas/sh/tlspic.d: New.
* gas/sh/basic.exp: Add new tests.

21 years ago * sh.h: Add SH TLS relocs.
kkojima [Fri, 11 Oct 2002 14:36:03 +0000 (14:36 +0000)]
* sh.h: Add SH TLS relocs.

21 years ago * config/tc-sh.c (sh_force_relocation): Make sure TLS relocs get
kkojima [Fri, 11 Oct 2002 14:34:46 +0000 (14:34 +0000)]
* config/tc-sh.c (sh_force_relocation): Make sure TLS relocs get
emitted.
(md_apply_fix3): Add TLS relocs.
(sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and
@DTPOFF.

21 years ago * elf32-sh.c (sh_elf_optimized_tls_reloc, sh_elf_mkobject,
kkojima [Fri, 11 Oct 2002 14:32:03 +0000 (14:32 +0000)]
* elf32-sh.c (sh_elf_optimized_tls_reloc, sh_elf_mkobject,
sh_elf_object_p, dtpoff_base): New functions.
(sh_elf_howto_table): Add TLS relocs.
(sh_reloc_map): Likewise.
(sh_elf_info_to_howto): Support TLS relocs.
(elf_sh_link_hash_entry): Add tls_type and tls_tpoff32.
(sh_elf_hash_entry, sh_elf_tdata, sh_elf_local_got_tls_type):
New macros.
(sh_elf_obj_tdata): New.
(elf_sh_link_hash_table): Add tls_ldm_got.
(sh_elf_link_hash_table_create): Clear refcount of tls_ldm_got.
(allocate_dynrelocs): Support TLS relocs.
(sh_elf_size_dynamic_sections): Likewise.
(sh_elf_relocate_section): Support TLS relocs.  Don't try to find
.rela.got section when found already.  Return false after printing
error about unresolvable relocation.
(sh_elf_gc_sweep_hook): Support TLS relocs.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol): Likewise.
(bfd_elf32_mkobject, elf_backend_object_p): Define for TLS case.
* reloc.c: Add SH TLS relocs.
* libbfd.h: Regenerate.

21 years ago * bfd-in2.h: Regenerate.
kkojima [Fri, 11 Oct 2002 14:28:28 +0000 (14:28 +0000)]
* bfd-in2.h: Regenerate.

21 years ago * c-exp.y (THIS): Delete token and grammar rule.
drow [Fri, 11 Oct 2002 14:02:36 +0000 (14:02 +0000)]
    * c-exp.y (THIS): Delete token and grammar rule.
        (yylex): Don't return THIS.
        * cp-valprint.c (vtbl_ptr_name_old): Delete.
        (cp_is_vtbl_ptr_type): Don't check vtbl_ptr_name_old.
        * demangle.c (cplus_markers): Update comment.  Put '$'
        first.  Remove CPLUS_MARKER.
        (_initialize_demangler): Don't call set_cplus_marker_for_demangling.
        * jv-exp.y (THIS): Delete token and grammar rule.
        (yylex): Don't return THIS.
        * mips-tdep.c (mips_dump_tdep): Don't dump CPLUS_MARKER.
        * objc-exp.y (THIS): Delete token and grammar rule.
        (yylex): Don't return THIS.
        * p-exp.y (yylex): Remove reference to CPLUS_MARKER.
        * stabsread.c (vptr_name, vb_name): Replace CPLUS_MARKER with '$'.
        (read_member_functions): Likewise for opname.
        (read_tilde_fields): Use is_cplus_marker.

        * defs.h (CPLUS_MARKER): Don't define.
        * config/tm-sysv4.h (CPLUS_MARKER): Likewise.
        * config/i386/xm-i386sco.h (CPLUS_MARKER): Likewise.
        * config/mips/tm-irix3.h (CPLUS_MARKER): Likewise.
        * config/mips/tm-irix6.h (CPLUS_MARKER): Likewise.
        * config/rs6000/tm-rs6000.h (CPLUS_MARKER): Likewise.

        * config/i386/tm-i386v4.h: Delete file.
        * config/djgpp/fnchange.lst: Delete tm-i386v4.h.
        * config/i386/tm-i386sol2.h: Include "i386/tm-i386.h" instead.
        * config/i386/tm-i386v42mp.h: Include "i386/tm-i386.h" instead.
        * config/i386/tm-ptx.h: Include "i386/tm-i386.h" instead.
        * config/i386/i386gnu.mt (TM_FILE): Use tm-i386.h.
        * config/i386/i386sco5.mt (TM_FILE): Likewise.
        * config/i386/i386v4.mt (TM_FILE): Likewise.
        * config/i386/ncr3000.mt (TM_FILE): Likewise.

21 years ago * gdbint.texinfo (CPLUS_MARKER): Remove item.
drow [Fri, 11 Oct 2002 14:01:04 +0000 (14:01 +0000)]
    * gdbint.texinfo (CPLUS_MARKER): Remove item.

21 years ago * Makefile.am: Run dep-am.
drow [Fri, 11 Oct 2002 13:53:33 +0000 (13:53 +0000)]
    * Makefile.am: Run dep-am.
        (BFD32_LIBS): Add simple.lo.
        (BFD32_LIBS_CFILES): Add simple.c.
        * Makefile.in: Regenerated.
        * bfd-in2.h: Regenerated.
        * simple.c: New file.

21 years ago * Makefile.am (BFD_H_DEP): Add simple.c and linker.c.
drow [Fri, 11 Oct 2002 13:52:53 +0000 (13:52 +0000)]
    * Makefile.am (BFD_H_DEP): Add simple.c and linker.c.
        * Makefile.in: Regenerated.

21 years ago * Makefile.am (BFD_H_DEP): Add simple.c and linker.c.
drow [Fri, 11 Oct 2002 13:51:51 +0000 (13:51 +0000)]
    * Makefile.am (BFD_H_DEP): Add simple.c and linker.c.
        * Makefile.in: Regenerated.

21 years ago * elf64-ppc.c (edit_opd): Correct local sym adjustment.
amodra [Fri, 11 Oct 2002 12:59:06 +0000 (12:59 +0000)]
* elf64-ppc.c (edit_opd): Correct local sym adjustment.

21 years agoFix attribution. (Tsk, tsk. Force of habit, sorry.)
rsandifo [Fri, 11 Oct 2002 10:30:49 +0000 (10:30 +0000)]
Fix attribution.  (Tsk, tsk.  Force of habit, sorry.)

21 years ago * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
rsandifo [Fri, 11 Oct 2002 10:28:29 +0000 (10:28 +0000)]
* libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
* libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
doesn't require the SIZE_T_SMALLER_THAN_LONG macro.

21 years ago * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer.
amodra [Fri, 11 Oct 2002 08:59:24 +0000 (08:59 +0000)]
* pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer.

21 years agoFix numerous occurrences of
amodra [Fri, 11 Oct 2002 08:33:10 +0000 (08:33 +0000)]
Fix numerous occurrences of
warning: dereferencing type-punned pointer will break strict-aliasing rules

21 years ago * ldgram.y (memory_spec): Provide empty action.
amodra [Fri, 11 Oct 2002 07:39:07 +0000 (07:39 +0000)]
* ldgram.y (memory_spec): Provide empty action.
(section <NAME>): Likewise.

21 years ago * elf64-ppc.c (edit_opd): Only zero opd syms when function is
amodra [Fri, 11 Oct 2002 04:36:13 +0000 (04:36 +0000)]
* elf64-ppc.c (edit_opd): Only zero opd syms when function is
completely removed.

21 years ago * include/olectl.h (PROPPAGEINFO): Change type of
dannysmith [Fri, 11 Oct 2002 03:40:06 +0000 (03:40 +0000)]
* include/olectl.h (PROPPAGEINFO): Change type of
field cb to ULONG.

21 years ago2002-10-11 Steven Edwards <Steven_Ed4153@yahoo.com>
dannysmith [Fri, 11 Oct 2002 03:38:14 +0000 (03:38 +0000)]
2002-10-11  Steven Edwards  <Steven_Ed4153@yahoo.com>

* lib/ntdll.def (RtlAcquireResourceExclusive,
RtlAcquireResourceShared, RtlDeleteResource,
RtlInitializeResource, RtlReleaseResource,
RtlTimeToSecondsSince1970) : Added missing exports.
* include/olectl.h (PROPPAGEINFO): Change type of
field cb to ULONG.

21 years ago * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
dannysmith [Fri, 11 Oct 2002 02:21:55 +0000 (02:21 +0000)]
* include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
macros work with C89.
(INTMAX_C, UINTMAX_C): Likewise.

21 years ago * include/string.h (strcasecmp): Make extern __inline__.
dannysmith [Fri, 11 Oct 2002 01:41:31 +0000 (01:41 +0000)]
* include/string.h (strcasecmp): Make extern __inline__.
(strncasecmp): Likewise.
(wcscmpi): Likewise.

21 years ago * config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz.
amodra [Fri, 11 Oct 2002 00:25:32 +0000 (00:25 +0000)]
* config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz.
(md_estimate_size_before_relax): Likewise for 8 bit branches.

21 years agodaily update
amodra [Fri, 11 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 11 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-10-10 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 10 Oct 2002 23:55:35 +0000 (23:55 +0000)]
2002-10-10  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk-cmds.c (gdb_update_mem): No results
were being returned. Append results to result_ptr_obj_ptr.

21 years ago* elf32-sh.c (elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le):
sclarke [Thu, 10 Oct 2002 21:45:13 +0000 (21:45 +0000)]
* elf32-sh.c (elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le):
Correct mistake in calculation of address of .got.
* elf64-sh64.c (elf_sh64_pic_plt_entry_be,
elf_sh64_pic_plt_entry_le): Likewise.

21 years ago2002-10-10 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 10 Oct 2002 19:39:28 +0000 (19:39 +0000)]
2002-10-10  Martin M. Hunt  <hunt@redhat.com>

* library/session.tcl (save): Save target_cmd,
attach, load, run, and cont as session prefs.
(notice_file_change): Load in above session
prefs.

* library/interface.tcl (set_target): Set icons busy
before attempting target command and set back to idle after.
(run_executable): Return on ATTACH_ERROR.
(gdbtk_run): If run button is hit when a program
is currently being debugged, put up a dialog allowing
user to continue or cancel.

21 years ago * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if
jakub [Thu, 10 Oct 2002 15:59:10 +0000 (15:59 +0000)]
* ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if
they have OUTPUT_FORMAT not matching actual output format.
* ldlang.c (lang_get_output_target): New function.
(open_output): Use it.
* ldlang.h (lang_get_output_target): New prototype.

21 years ago * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n
amylaar [Thu, 10 Oct 2002 13:37:31 +0000 (13:37 +0000)]
* config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n
inside loop.

21 years ago * ld-i386/combreloc.s: New test.
jakub [Thu, 10 Oct 2002 07:49:10 +0000 (07:49 +0000)]
* ld-i386/combreloc.s: New test.
* ld-i386/combreloc.d: New test.
* ld-i386/i386.exp (i386tests): Add it.

21 years agoConvert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C
markom [Thu, 10 Oct 2002 07:41:37 +0000 (07:41 +0000)]
Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C

21 years ago* window.cc (gethwnd): Use SetThreadPriority method.
cgf [Thu, 10 Oct 2002 05:31:42 +0000 (05:31 +0000)]
* window.cc (gethwnd): Use SetThreadPriority method.

21 years ago* Makefile.in (new-cygwin1.dll): Reorganize library order.
cgf [Thu, 10 Oct 2002 05:23:23 +0000 (05:23 +0000)]
* Makefile.in (new-cygwin1.dll): Reorganize library order.
* dcrt0.cc (do_exit): Move thread stuff after vfork stuff or threads are
terminated during vfork.
* sigproc.cc (proc_terminate): Grab proc lock prior to signalling subproc
thread exit to avoid an extra "wait-for-thread-to-exit".

21 years ago * ld-i386/i386.exp (reloc): Turn off combreloc.
amodra [Thu, 10 Oct 2002 02:53:17 +0000 (02:53 +0000)]
* ld-i386/i386.exp (reloc): Turn off combreloc.
* ld-i386/reloc.d: Likewise.
* ld-powerpc/powerpc.exp: Likewise.
* ld-powerpc/reloc.d: Likewise.

21 years ago * emultempl/elf32.em (output_rel_find): Prefer .rel script sections
amodra [Thu, 10 Oct 2002 02:52:27 +0000 (02:52 +0000)]
* emultempl/elf32.em (output_rel_find): Prefer .rel script sections
when orphan is .rel, .rela when orphan is .rela.
(gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case
first.  Remove outsecname var.

21 years ago2002-10-09 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 10 Oct 2002 00:46:38 +0000 (00:46 +0000)]
2002-10-09  Martin M. Hunt  <hunt@redhat.com>

* library/targetselection.itb (init_target_db): Add gdbserver
target.
(get_target_list): Always add "gdbserver" to list of valid
targets.
(valid_target): Always allow "gdbserver".

21 years ago*** empty log message ***
gdbadmin [Thu, 10 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Thu, 10 Oct 2002 00:00:03 +0000 (00:00 +0000)]
daily update

21 years ago* gas/elf.exp: Don't run for sh64*-*-linux*, because it sets the
sclarke [Wed, 9 Oct 2002 19:40:40 +0000 (19:40 +0000)]
* gas/elf.exp: Don't run for sh64*-*-linux*, because it sets the
lsb in SHmedia code addresses.
* gas/sh/basic.exp: Force SHcompact for sh64*-*-linux* to enable
recognition of SH-1/2/3/4 instructions.
(proc do_fp): Do not run dsp tests for sh64*-*-linux*.
* gas/sh/sh64/abi-32.d: Adjust expected output to include
sh64*-*-linux* formats too.
* gas/sh/sh64/abi-64.d, gas/sh/sh64/basic-1.d,
gas/sh/sh64/case-1.d, gas/sh/sh64/case-noexp-1.d,
gas/sh/sh64/crange1-1.d, gas/sh/sh64/crange1-2.d,
gas/sh/sh64/crange2-1.d, gas/sh/sh64/crange2-2.d,
sh/sh64/crange2-noexp-1.d, gas/sh/sh64/crange3-1.d,
gas/sh/sh64/crange4-1.d, gas/sh/sh64/crange5-1.d,
gas/sh/sh64/creg-1.d, gas/sh/sh64/creg-2.d, gas/sh/sh64/datal-2.d,
gas/sh/sh64/datal32-1.d, gas/sh/sh64/datal32-3.d,
gas/sh/sh64/datal64-1.d, gas/sh/sh64/datal64-3.d,
gas/sh/sh64/endian-1.d, gas/sh/sh64/endian-2.d,
gas/sh/sh64/err-noexp-cmd1.s, gas/sh/sh64/immexpr32-1.d,
gas/sh/sh64/immexpr32-2.d, gas/sh/sh64/immexpr64-1.d,
gas/sh/sh64/immexpr64-2.d, gas/sh/sh64/lineno.d,
gas/sh/sh64/localcom-1.d, gas/sh/sh64/mix-1.d,
gas/sh/sh64/mix-noexp-1.d, gas/sh/sh64/movi-3.d,
gas/sh/sh64/movi32-1.d, gas/sh/sh64/movi32-2.d,
gas/sh/sh64/movi32-noexp-2.d, gas/sh/sh64/movi64-1.d,
gas/sh/sh64/movi64-2.d, gas/sh/sh64/movi64-3.d,
gas/sh/sh64/movi64-noexp-2.d, gas/sh/sh64/pt-1.d,
gas/sh/sh64/pt-noexp-1.d, gas/sh/sh64/pt32-1.d,
gas/sh/sh64/pt32-noexp-2.d, gas/sh/sh64/pt64-1.d,
gas/sh/sh64/pt64-32-1.d, gas/sh/sh64/pt64-32-2.d,
gas/sh/sh64/pt64-noexp-2.d, gas/sh/sh64/ptc32-1.d,
gas/sh/sh64/ptc32-noexp-1.d, gas/sh/sh64/ptc64-1.d,
gas/sh/sh64/ptc64-32-1.d, gas/sh/sh64/ptc64-noexp-1.d,
gas/sh/sh64/ptext32-1.d, gas/sh/sh64/ptext32-noexp-1.d,
gas/sh/sh64/ptext64-1.d, gas/sh/sh64/ptext64-32-1.d,
gas/sh/sh64/ptext64-noexp-1.d, gas/sh/sh64/rel32-1.d,
gas/sh/sh64/rel32-2.d, gas/sh/sh64/rel32-3.d,
gas/sh/sh64/rel32-4.d, gas/sh/sh64/rel32-5.d,
gas/sh/sh64/rel64-1.d, gas/sh/sh64/rel64-2.d,
gas/sh/sh64/rel64-3.d, gas/sh/sh64/rel64-4.d,
gas/sh/sh64/rel64-5.d, gas/sh/sh64/relax-1.d,
gas/sh/sh64/relax-2.d, gas/sh/sh64/relax-3.d,
gas/sh/sh64/shift32-1.d, gas/sh/sh64/shift32-3.d,
gas/sh/sh64/shift32-noexp-3.d, gas/sh/sh64/shift64-1.d,
gas/sh/sh64/shift64-2.d, gas/sh/sh64/shift64-3.d,
gas/sh/sh64/shift64-noexp-3.d, gas/sh/sh64/syntax-1.d,
gas/sh/sh64/syntax-2.d, gas/sh/sh64/ua32-1.d,
gas/sh/sh64/ua64-1.d: Likewise.

21 years ago* Makefile.am: Add eshelf32_linux.o and
sclarke [Wed, 9 Oct 2002 19:09:59 +0000 (19:09 +0000)]
* Makefile.am: Add eshelf32_linux.o and
eshlelf32_linux.o, new emulations for sh64 Linux.
* Makefile.in: Regenerate.
* configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations.
* emulparams/shelf32_linux.sh: New file.
* emulparams/shlelf32_linux.sh: New file.

21 years ago* config/tc-sh64.c (sh64_target_format): Add support for sh64
sclarke [Wed, 9 Oct 2002 19:07:42 +0000 (19:07 +0000)]
* config/tc-sh64.c (sh64_target_format): Add support for sh64
Linux environment.

21 years ago* Makefile.am: Add entries for elf32-sh64-lin.c and
sclarke [Wed, 9 Oct 2002 19:03:55 +0000 (19:03 +0000)]
* Makefile.am: Add entries for elf32-sh64-lin.c and
elf64-sh64-lin.c. Regenerate.
* Makefile.in: Regenerate.
* config.bfd:  Change sh64eb-*-linux* and sh64-*-linux*
to use sh64 vectors rather than sh vectors.
* configure.in: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec,
bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec.
* configure: Regenerate.
* elf32-sh64-lin.c: New file.
* elf64-sh64-lin.c: New file.
* targets.c: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec,
bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec.

21 years ago * readelf.c (display_debug_info): Ignore empty .rela.debug_info
drow [Wed, 9 Oct 2002 13:44:27 +0000 (13:44 +0000)]
    * readelf.c (display_debug_info): Ignore empty .rela.debug_info
        sections.  Allow relocations against the absolute symbol.  Don't
        use the value in compunit.cu_abbrev_offset if we found a RELA
        relocation.

21 years agoConvert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C
markom [Wed, 9 Oct 2002 11:59:54 +0000 (11:59 +0000)]
Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C

21 years ago* cygthread.cc (cygthread::stub): Don't create an event for "cygself" threads.
cgf [Wed, 9 Oct 2002 05:55:40 +0000 (05:55 +0000)]
* cygthread.cc (cygthread::stub): Don't create an event for "cygself" threads.
Assume that they exit via an ExitThread call.
* cygthread.h (cygthread::SetThreadPriority): New function.
(cygthread::zap_h): New function.
* dcrt0.cc (do_exit): Move cygthread::terminate earlier and establish
exit_state guard.
* fhandler.h (fhandler_tty_master::output_thread): Delete.
* fhandler_tty.cc (fhandler_tty_master::init): Set priority for threads via
method.  Zap handles when done.  Don't treat process_output specially.
(process_output): Call ExitThread directly.
(fhandler_tty_master::fixup_after_fork): Don't worry about output_thread.
(fhandler_tty_master::fixup_after_exec): Ditto.
* sigproc.cc (proc_terminate): Don't detach from hwait_subproc.  Just let it
exit.
(sigproc_init): Close thread handle after initialization.
(wait_sig): Use GetCurrentThread() as SetThreadPriority call rather than
*event* handle.  Call ExitThread directly on termination.
(wait_subproc): Call ExitThread directly on termination.
* tty.cc (tty_list::terminate): Don't attempt t detach from output_thread.

21 years ago2002-10-08 Petr Sorfa <petrs@caldera.com>
jimb [Wed, 9 Oct 2002 04:43:49 +0000 (04:43 +0000)]
2002-10-08  Petr Sorfa <petrs@caldera.com>

Revised and re-submitted by John Wolfe <jlw@caldera.com>

Move the Dwarf 2 abbrev table to a per-compilation-unit structure,
so we can work on more than one compilation unit at a time.  This
helps prepare GDB to handle inter-CU die references.
* dwarf2read.c (ABBREV_HASH_SIZE): moved definition forward in
the code to be defined before struct comp_unit_head.
(comp_unit_head): Added new members - offset, cu_head,
begin_die, next and dwarf2_abbrevs.
(dwarf2_abbrevs): Removed single static var; now member of
struct comp_unit_head.
dwarf2_build_psymtabs_hard): Complete new struct comp_unit_head
members.
(psymtab_to_symtab_1): Changed to work with the new
struct comp_unit_head.
(dwarf2_read_abbrevs): Now accepts a cu_header parameter and
constructs the dwarf2_abbrevs[] inside the cu_header.
(dwarf2_empty_abbrev_table): Now expects a ptr to a
dwarf2_abbrev table to clean up.
(dwarf2_lookup_abbrev): Now accepts a cu_header parameter and
handling of dwarf2_abbrevs inside the cu_header.
(read_partial_die): Now supports the call to the new
dwarf2_lookup_abbrev.
(read_full_die): Now supports the call to the new
dwarf2_lookup_abbrev.

21 years ago* cygheap.cc (dup_now): Make fatal error a little more informative.
cgf [Wed, 9 Oct 2002 04:08:04 +0000 (04:08 +0000)]
* cygheap.cc (dup_now): Make fatal error a little more informative.
(cygheap_setup_for_child): Detect when default size of shared region is less
than the current size and allocate that much.
(_cbrk): Just return NULL on inability to allocate.
(_cmalloc): Ditto.
* cygheap.h (CYGHEAPSIZE): Change size to reflect newer, tinier fhandler sizes.
* spawn.cc (av::error): New element, reflects potential errno from cmalloc.
(av::~av): Don't free NULL pointers.
(av::replace0_maybe): Detect out-of-memory conditions.
(av::dup_maybe): Ditto.
(av::dup_all): Ditto.
(av::unshift): Ditto.
(spawn_guts): Set errno and return if argv creation ran into problems.
* fhandler.h (fhandler_union): Change member names to something safer.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Always set
fhandler_console::dev_state regardless of whether shared region is initialized.
* cygthread.cc (cygthread::runner): Use ExitThread rather than return
(planning for future).

21 years ago2002-10-08 Heiko Gerdau <hg@technosis.de>
dannysmith [Wed, 9 Oct 2002 00:16:21 +0000 (00:16 +0000)]
2002-10-08  Heiko Gerdau  <hg@technosis.de>

* include/oleacc.h: New file.
* include/winuser.h (ENDSESSION_LOGOFF) Add define.
(OBJID_*) Add defines.
* lib/uuid.c: Add DEFINE_GUID for IID_IAccessible.
* lib/test.c: Include oleacc.h.

21 years agodaily update
amodra [Wed, 9 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Wed, 9 Oct 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-10-08 Heiko Gerdau <hg@technosis.de>
dannysmith [Tue, 8 Oct 2002 20:28:13 +0000 (20:28 +0000)]
2002-10-08  Heiko Gerdau  <hg@technosis.de>

* include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
_tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
mappings.

21 years ago2002-10-08 H.J. Lu <hjl@gnu.org>
hjl [Tue, 8 Oct 2002 20:12:45 +0000 (20:12 +0000)]
2002-10-08  H.J. Lu <hjl@gnu.org>

* ldlang.c (lang_file_exist): Removed.
(new_afile): Revert the last change.
* ldlang.h (lang_file_exist): Removed.
* lexsup.c (parse_args): Revert the last change.

21 years ago2002-10-08 H.J. Lu <hjl@gnu.org>
hjl [Tue, 8 Oct 2002 16:11:07 +0000 (16:11 +0000)]
2002-10-08  H.J. Lu <hjl@gnu.org>

* elf32-i386.c (elf_i386_relocate_section): Re-arrange the
IE->LE transition for R_386_TLS_IE.

21 years ago2002-10-07 Joel Sherrill <joel@OARcorp.com>
joel [Tue, 8 Oct 2002 13:09:04 +0000 (13:09 +0000)]
2002-10-07 Joel Sherrill <joel@OARcorp.com>

* libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
dummy programs.

21 years ago2002-10-07 Joel Sherrill <joel@OARcorp.com>
joel [Tue, 8 Oct 2002 13:03:07 +0000 (13:03 +0000)]
2002-10-07 Joel Sherrill <joel@OARcorp.com>

* libc/include/pthread.h: Define PTHREAD_CANCELED.

21 years ago2002-10-07 Joel Sherrill <joel@OARcorp.com>
joel [Tue, 8 Oct 2002 13:02:39 +0000 (13:02 +0000)]
2002-10-07 Joel Sherrill <joel@OARcorp.com>

* libc/include/pthread.h: Define PTHREAD_CANCELED.

21 years ago2002-10-07 Joel Sherrill <joel@OARcorp.com>
joel [Tue, 8 Oct 2002 13:00:57 +0000 (13:00 +0000)]
2002-10-07 Joel Sherrill <joel@OARcorp.com>

* libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
compile with current GNU tools.

21 years ago * elf64-ppc.c (edit_opd): Correct test for discarded sections.
amodra [Tue, 8 Oct 2002 09:51:09 +0000 (09:51 +0000)]
* elf64-ppc.c (edit_opd): Correct test for discarded sections.

21 years ago* fhandler.h (dev_console): New class.
cgf [Tue, 8 Oct 2002 06:16:16 +0000 (06:16 +0000)]
* fhandler.h (dev_console): New class.
(fhandler_console::dev_state): New class element.
(fhandler_console::mouse_aware): Use dev_state element.
(fhandler_console::get_tty_stuff): Declare new function.
* fhandler_console.cc: Use dev_state fhandler_console element, throughout.
(fhandler_console::get_tty_stuff): Move to fhandler_console class.  Incorporate
dev_console information.  Move constructor stuff here.

21 years ago* dtable.cc (dtable::init_std_file_from_handle): Try to mimic standard open
cgf [Tue, 8 Oct 2002 02:44:35 +0000 (02:44 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Try to mimic standard open
behavior with files redirected from stdin/stdout/stderr, i.e., fmode settings
take precedence over mount settings.

21 years ago*** empty log message ***
gdbadmin [Tue, 8 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Tue, 8 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * types.scm (bitrange-overlap?): Handle lsb0?.
hp [Mon, 7 Oct 2002 23:50:30 +0000 (23:50 +0000)]
* types.scm (bitrange-overlap?): Handle lsb0?.

21 years ago2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 7 Oct 2002 23:10:12 +0000 (23:10 +0000)]
2002-10-07  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
        the build library.
        * configure.in: Ditto.
        * Makefile.in: Regenerated.
        * configure: Ditto.
        * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
        for specifying configured libraries/directories.
        * libc/sys/linux/configure.in: Ditto.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/configure: Ditto.

21 years ago* dtable.cc (unknown_file): New variable.
cgf [Mon, 7 Oct 2002 20:06:16 +0000 (20:06 +0000)]
* dtable.cc (unknown_file): New variable.
(dtable::init_std_file_from_handle): Don't set binmode if we couldn't determine
the actual file name on stdin/stdout/stderr.
(handle_to_fn): Return unknown_file when can't determine filename.

21 years agoRead in dynamic symbols if no ordinary ones are available.
nickc [Mon, 7 Oct 2002 17:25:08 +0000 (17:25 +0000)]
Read in dynamic symbols if no ordinary ones are available.

21 years agoAdd tic4x target.
nickc [Mon, 7 Oct 2002 16:40:56 +0000 (16:40 +0000)]
Add tic4x target.

21 years agoDon't re-export auto-import symbols.
nickc [Mon, 7 Oct 2002 16:36:10 +0000 (16:36 +0000)]
Don't re-export auto-import symbols.

21 years agoDon't mark relocations in excluded sections.
nickc [Mon, 7 Oct 2002 16:27:39 +0000 (16:27 +0000)]
Don't mark relocations in excluded sections.

21 years ago * mips/ddb.ld: KEEP .init and .fini.
rsandifo [Mon, 7 Oct 2002 16:24:00 +0000 (16:24 +0000)]
* mips/ddb.ld: KEEP .init and .fini.
* mips/ddb-kseg0.ld: Likewise.

21 years agoAbort if the filename to be added matches the linker output filename.
nickc [Mon, 7 Oct 2002 16:08:21 +0000 (16:08 +0000)]
Abort if the filename to be added matches the linker output filename.

21 years ago* dcrt0.cc (do_exit): Call DisableThreadLibraryCalls since we don't need to
cgf [Mon, 7 Oct 2002 04:12:53 +0000 (04:12 +0000)]
* dcrt0.cc (do_exit): Call DisableThreadLibraryCalls since we don't need to
track thread detaches.
* init.cc (dll_entry): Reorganize slightly.  Fix api_fatal message.

21 years ago * elflink.h (elf_link_input_bfd): Remove BFD_VERSION_DATE dependent
amodra [Mon, 7 Oct 2002 00:14:28 +0000 (00:14 +0000)]
* elflink.h (elf_link_input_bfd): Remove BFD_VERSION_DATE dependent
code.

21 years ago * elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx.
amodra [Mon, 7 Oct 2002 00:06:00 +0000 (00:06 +0000)]
* elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx.

21 years ago*** empty log message ***
gdbadmin [Mon, 7 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Mon, 7 Oct 2002 00:00:03 +0000 (00:00 +0000)]
daily update

21 years ago * mingwex/math/powil.c: Rename powil to __powil.
dannysmith [Sun, 6 Oct 2002 23:26:42 +0000 (23:26 +0000)]
* mingwex/math/powil.c: Rename powil to __powil.
* mingwex/math/powl.c: Adjust declaration and call
to __powil. Remove comment on powil.
* mingwex/math/powi.c: New file.
* mingwex/math/powif.c: New file.
* mingwex/math/pow.c: New file.
* mingwex/math/cephes_mconf.h. Add double and float
versions of constants.
(polevl): Add double precision function.
(p1evl): Likewise.
* mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
powi.c, powif.c.
(MATH_OBJS): Add pow.o, powi.o, powif.o.

21 years ago2002-10-06 Casper Hornstrup <chorns@it.dk>
earnie [Sun, 6 Oct 2002 22:18:25 +0000 (22:18 +0000)]
2002-10-06  Casper Hornstrup  <chorns@it.dk>

* include/ddk: New subdir.
* lib/ddk: Ditto.
* include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,
d4iface.h, ddkmapi.h, hidclass.h, hidpi.h, hidusage.h, mcd.h,
miniport.h, minitape.h, mountdev.h, mountmgr.h, ndis.h,
ndisquid.h, ndistapi.h, ndisvan.h, netevent.h, netpnp.h,
netdev.h, ntapi.h, ntdd8042.h, ntddbeep.h, ntddcdrm.h,
ntddcdvd.h, ntddchgr.h, ntdddisk.h, ntddk.h, ntddkbd.h,
ntddmou.h, ntddndis.h, ntddpar.h, ntddpcm.h, ntddscsi.h,
ntddser.h, ntddstor.h, ntddtape.h, ntddtdi.h, ntddvdeo.h,
ntddvol.h, ntifs.h, ntpoapi.h, ntstatus.h, parallel.h, pfhook.h,
poclass.h, scsi.h, scsiscan.h, scsiwmi.h, smbus.h, srb.h,
storport.h, tdi.h, tdiinfo.h, tdikrnl.h, tdistat.h, tvout.h,
upssvc.h, usb.h, usb100.h, usbcamdi.h, usbdi.h, usbioctl.h,
usbiodef.h, usbscan.h, usbuser.h, video.h, videoagp.h, win2k.h,
winddi.h, winddk.h, winnt4.h, winxp.h, ws2san.h,
xfilter.h): New files.
* lib/ddk/(Makefile.in, apcups.def, cfgmgr32.def, dxapi.def,
hal.def, hid.def, hidparse.def, mcd.def, ndis.def, ntoskrnl.def,
scsiport.def, tdi.def, usbcamd.def, usbcamd2.def, videoprt.def,
win32k.def): Ditto.

21 years agomerge from gcc
dj [Sun, 6 Oct 2002 20:21:00 +0000 (20:21 +0000)]
merge from gcc

21 years ago* win/tclWin32Dll.c (tclWinTCharEncoding): Remove 'static' since it is declared
cgf [Sun, 6 Oct 2002 20:00:35 +0000 (20:00 +0000)]
* win/tclWin32Dll.c (tclWinTCharEncoding): Remove 'static' since it is declared
in header as exportable extern.

21 years ago* Makefile.in (install-gdbtk): Add missing continuation backslash to insure
cgf [Sun, 6 Oct 2002 19:53:52 +0000 (19:53 +0000)]
* Makefile.in (install-gdbtk): Add missing continuation backslash to insure
that shell variables, such as "transformed_name" are propagated to later shell
statements in rule.

21 years ago* config/i386/nm-i386sco.h: Add protection against
kettenis [Sun, 6 Oct 2002 18:37:12 +0000 (18:37 +0000)]
* config/i386/nm-i386sco.h: Add protection against
multiple-inclusion.  Include "i386/nm-i386v.h".
(REGISTER_U_ADDR): Remove define.
(i386_register_u_addr): Remove prototype.

21 years ago * opncls.c: Formatting.
amodra [Sun, 6 Oct 2002 09:03:05 +0000 (09:03 +0000)]
* opncls.c: Formatting.
(_bfd_new_bfd): Use a smaller section hash table.

21 years ago* cygthread.cc (cygthread::stub): Very minor cleanup.
cgf [Sun, 6 Oct 2002 01:01:57 +0000 (01:01 +0000)]
* cygthread.cc (cygthread::stub): Very minor cleanup.
(cygthread::stub): Report overflows in cygwin thread pool when DEBUGGING is on
and special environment variable is not set.
(cygthread::terminate): Set event only when event actually exists.
* exceptions.cc (signal_exit): Set priority of main thread to low before
setting current thread to high.

21 years ago*** empty log message ***
gdbadmin [Sun, 6 Oct 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sun, 6 Oct 2002 00:00:06 +0000 (00:00 +0000)]
daily update

21 years agowhitespace
cgf [Sat, 5 Oct 2002 17:47:25 +0000 (17:47 +0000)]
whitespace

21 years ago* elfxx-mips.c (mips_elf_create_dynamic_relocation): Set the type
aoliva [Sat, 5 Oct 2002 11:18:12 +0000 (11:18 +0000)]
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Set the type
of the other two relocations packed with a REL32 to NONE.

21 years ago*** empty log message ***
gdbadmin [Sat, 5 Oct 2002 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sat, 5 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago2002-10-04 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 4 Oct 2002 22:17:35 +0000 (22:17 +0000)]
2002-10-04  Michael Snyder  <msnyder@redhat.com>

* m32r-stub.c (handle_exception): Make sure exception is "trap"
before treating it as a single-step event.

21 years ago2002-10-03 H.J. Lu <hjl@gnu.org>
hjl [Fri, 4 Oct 2002 07:40:42 +0000 (07:40 +0000)]
2002-10-03  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers21.c (_old_foobar): Initialized to -1 for gcc
3.x.

21 years ago2002-10-04 Steven Edwards <Steven_Ed4153@yahoo.com>
dannysmith [Fri, 4 Oct 2002 04:39:25 +0000 (04:39 +0000)]
2002-10-04  Steven Edwards  <Steven_Ed4153@yahoo.com>

* lib/ntdll.def (NtAccessCheck, NtAdjustPrivilegesToken,
NtCreateKey, NtDeleteKey, NtDeleteValueKey, NtEnumerateKey,
NtEnumerateValueKey, NtOpenKey, NtOpenProcessToken,
NtOpenThreadToken, NtQueryInformationToken, NtQueryKey,
NtQueryValueKey, NtSetSecurityObject, NtSetValueKey,
RtlAddAccessAllowedAce, RtlCreateAcl,
RtlCreateSecurityDescriptor, RtlCreateUnicodeStringFromAsciiz,
RtlGetAce, RtlGetControlSecurityDescriptor,
RtlGetDaclSecurityDescriptor,RtlGetGroupSecurityDescriptor,
RtlGetOwnerSecurityDescriptor,RtlGetSaclSecurityDescriptor,
RtlImpersonateSelf, RtlIsTextUnicode, RtlLargeIntegerAdd,
RtlLengthSecurityDescriptor, RtlMakeSelfRelativeSD,
RtlMultiByteToUnicodeN RtlMultiByteToUnicodeSize,
RtlOpenCurrentUser, RtlSetDaclSecurityDescriptor,
RtlSetGroupSecurityDescriptor, RtlSetOwnerSecurityDescriptor,
RtlSetSaclSecurityDescriptor, RtlValidSecurityDescriptor,
ZwAccessCheck, ZwAdjustPrivilegesToken, ZwCreateKey,
ZwDeleteValueKey, ZwEnumerateKey, ZwEnumerateValueKey,
ZwOpenKey, ZwOpenProcessToken, ZwOpenThreadToken,
ZwQueryInformationToken, ZwQueryKey, ZwQueryValueKey
ZwSetSecurityObject, ZwSetValueKey): Added missing exports.

ChangeLog whitespace cleanup.

21 years ago2002-10-04 "KJK::Hyperion" <noog@libero.it>
dannysmith [Fri, 4 Oct 2002 04:25:00 +0000 (04:25 +0000)]
2002-10-04  "KJK::Hyperion"  <noog@libero.it>

*include/windef.h (WPARAM): Update typedef.
(LPARAM): Ditto.
(LRESULT): Ditto.