OSDN Git Service

pf3gnuchains/sourceware.git
23 years ago* fhandler_console.cc (fhandler_console::read): Restore missing test for code
cgf [Wed, 3 Jan 2001 14:45:47 +0000 (14:45 +0000)]
* fhandler_console.cc (fhandler_console::read): Restore missing test for code
page before doing OemToCharBuff.

23 years agoWed Jan 3 09:20:20 2001 Jason Tishler <jt@dothill.com>
cgf [Wed, 3 Jan 2001 14:44:13 +0000 (14:44 +0000)]
Wed Jan  3 09:20:20 2001  Jason Tishler <jt@dothill.com>

* include/cygwin/version.h: Fix typo in CYGWIN_VERSION_DLL_COMBINED
macro.

23 years ago2001-01-03 Philip Blundell <pb@futuretv.com>
pb [Wed, 3 Jan 2001 10:03:46 +0000 (10:03 +0000)]
2001-01-03  Philip Blundell  <pb@futuretv.com>

* config/tc-alpha.c (alpha_force_relocation): Handle vtable
relocs.
(alpha_fix_adjustable): Likewise.
(md_apply_fix): Likewise.

23 years ago2001-01-03 Philip Blundell <pb@futuretv.com>
pb [Wed, 3 Jan 2001 09:51:52 +0000 (09:51 +0000)]
2001-01-03  Philip Blundell  <pb@futuretv.com>

* ld-elfvsb/elfvsb.exp: Run test on Linux/Alpha.
* ld-shared/shared.exp: Likewise.

23 years ago2001-01-02 Fernando Nasser <fnasser@totem.toronto.redhat.com>
fnasser [Wed, 3 Jan 2001 05:34:04 +0000 (05:34 +0000)]
2001-01-02  Fernando Nasser  <fnasser@totem.toronto.redhat.com>

* library/gdbmenubar.itcl: New file. Define the GDBMenuBar class,
a generic menubar building facility for Insight windows (WIP).
* library/gdbtoolbar.itcl: New file. Define the GDBToolBar class,
a generic toolbar building facility for Insight windows (WIP).
* library/srcmenubar.itcl: New file. Define the SrcMenuBar class,
which implements the Source Window menubar (inherits GDBMenuBar).
* library/srctoolbar.itcl: New file. Define the SrcToolBar class,
which implements the Source Window toolbar (inherits GDBToolBar).
* library/srcwin.itb (_build_win): Use SrcMenuBar and SrcToolBar
instead of the obsolete GDBSrcBar.
* library/srcbar.tcl: Mark as OBSOLETE.
* library/toolbar.tcl: Mark as OBSOLETE. Rename class GDBToolBar
to avoid conflict with new class with the same name.
* library/Makefile (TCL): Include .itcl files.
* library/tclIndex: Regenerate.

23 years ago2001-01-02 Fernando Nasser <fnasser@totem.toronto.redhat.com>
fnasser [Wed, 3 Jan 2001 04:31:15 +0000 (04:31 +0000)]
2001-01-02  Fernando Nasser  <fnasser@totem.toronto.redhat.com>

* library/srcwin.itb (_build_win): If gdb is running a program, load
the window with source for that location (if available).
(download_progress): Calls to "update" must refer to the global
namespace.

23 years ago2001-01-02 Fernando Nasser <fnasser@totem.toronto.redhat.com>
fnasser [Wed, 3 Jan 2001 03:42:19 +0000 (03:42 +0000)]
2001-01-02  Fernando Nasser  <fnasser@totem.toronto.redhat.com>

* library/interface.tcl (gdbtk_quit_check): Save session whenever
possible.

23 years ago2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Tue, 2 Jan 2001 23:51:35 +0000 (23:51 +0000)]
2001-01-02  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * sh-tdep.c (sh_extract_return_value):  Allow for small return type.
        (sh_sh4_extract_return_value): Call sh_extract_return_value for

23 years agoRemove prototypes for obsolete static functions.
msnyder [Tue, 2 Jan 2001 20:49:18 +0000 (20:49 +0000)]
Remove prototypes for obsolete static functions.

23 years ago * sparc-tdep.c: update copyright notice.
msnyder [Tue, 2 Jan 2001 20:37:11 +0000 (20:37 +0000)]
* sparc-tdep.c: update copyright notice.

23 years agoOops, fix typo in previous check-in.
msnyder [Tue, 2 Jan 2001 20:34:50 +0000 (20:34 +0000)]
Oops, fix typo in previous check-in.

23 years ago2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Tue, 2 Jan 2001 20:32:50 +0000 (20:32 +0000)]
2001-01-02  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * sparc-tdep.c (sparc-frame-chain): Fix typo in comment.

23 years ago2000-12-20 Michael Snyder <msnyder@mvstp600e.cygnus.com>
msnyder [Tue, 2 Jan 2001 20:21:53 +0000 (20:21 +0000)]
2000-12-20  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

        * arch-utils.c (default_frame_address): New function.  Default
        implementation of frame_args_address and frame_locals_address.
        * arch-utils.h (default_frame_address): Export.
        * d10v-tdep.c (d10v_gdbarch_init): Use default_frame_address.
        (d10v_frame_args_address, d10v_frame_locals_address): Delete.
        * sh-tdep.c (sh_gdbarch_init): Use default_frame_address.
        (sh_frame_args_address, sh_frame_locals_address): Delete.
        * sparc-tdep.c (sparc_gdbarch_init): Use default_frame_address.
        (sparc_frame_address): Delete.

23 years agoFix msr-bsd test
nickc [Tue, 2 Jan 2001 19:39:15 +0000 (19:39 +0000)]
Fix msr-bsd test

23 years ago2001-01-02 Kazu Hirata <kazu@hxi.com>
kazu [Tue, 2 Jan 2001 19:22:56 +0000 (19:22 +0000)]
2001-01-02  Kazu Hirata  <kazu@hxi.com>

* peicode.h: Fix formatting.

23 years ago2001-01-02 Kazu Hirata <kazu@hxi.com>
kazu [Tue, 2 Jan 2001 18:58:44 +0000 (18:58 +0000)]
2001-01-02  Kazu Hirata  <kazu@hxi.com>

* pc532-mach.c: Fix formatting.
* pe-arm.c: Likewise.
* pe-i386.c: Likewise.
* pe-mips.c: Likewise.
* pe-ppc.c: Likewise.
* pe-sh.c: Likewise.
* pei-mips.c: Likewise.
* pei-sh.c: Likewise.
* ppcboot.c: Likewise.
* ptrace-core.c: Likewise.

23 years ago* generalization
fche [Tue, 2 Jan 2001 16:34:06 +0000 (16:34 +0000)]
* generalization

2001-01-02  Richard Sandiford  <rsandifo@redhat.com>

* cgen-dis.c (hash_insn_array): Use bfd_put_bits().
(hash_insn_list): Likewise
* cgen-ibld.in (insert_1): Use bfd_put_bits() and bfd_get_bits().
(extract_1): Use bfd_get_bits().
(extract_normal): Apply sign extension to both extraction
methods.
* cgen-opc.c (cgen_get_insn_value): Use bfd_get_bits()
(cgen_put_insn_value): Use bfd_put_bits()

23 years ago2001-01-01 Fernando Nasser <fnasser@totem.toronto.redhat.com>
fnasser [Tue, 2 Jan 2001 00:53:40 +0000 (00:53 +0000)]
2001-01-01  Fernando Nasser  <fnasser@totem.toronto.redhat.com>

* library/ChangeLog-2000: New file. Entries dated 2000 moved here
        from library/ChangeLog.
        * library/ChangeLog: Removed.
        * generic/ChangeLog-2000: New file. Entries dated 2000 moved here
        from library/ChangeLog.
        * generic/ChangeLog: Removed.

23 years ago2001-01-01 Kazu Hirata <kazu@hxi.com>
kazu [Mon, 1 Jan 2001 21:37:35 +0000 (21:37 +0000)]
2001-01-01  Kazu Hirata  <kazu@hxi.com>

* reloc.c: Fix formatting.
* riscix.c: Likewise.
* rs6000-core.c: Likewise.
* xcoff-target.h: Likewise.

23 years ago2001-01-01 Philip Blundell <philb@gnu.org>
pb [Mon, 1 Jan 2001 14:54:03 +0000 (14:54 +0000)]
2001-01-01  Philip Blundell  <philb@gnu.org>

* ld-undefined/weak-undef.exp: New test.
* ld-undefined/weak-undef.s, ld-undefined/weak-undef.t: Supporting
files for above.

23 years ago2001-01-01 Philip Blundell <philb@gnu.org>
pb [Mon, 1 Jan 2001 14:52:34 +0000 (14:52 +0000)]
2001-01-01  Philip Blundell  <philb@gnu.org>

* ld-elfvers/vers.exp: Run test on Linux/ARM.
* ld-elfvsb/elfvsb.exp: Likewise.
* ld-shared/shared.exp: Likewise.

23 years ago2001-01-01 Philip Blundell <philb@gnu.org>
pb [Mon, 1 Jan 2001 13:43:05 +0000 (13:43 +0000)]
2001-01-01  Philip Blundell  <philb@gnu.org>

* gas/arm/adrl.s, gas/arm/pic.s, gas/arm/msr-bad.s: New tests.
* gas/arm/arm.exp: Run them.
* gas/arm/adrl.d, gas/arm/pic.d: Expected results for above.
* gas/arm/arm6.s: Also test uppercase `CPSR' and `SPSR'.

23 years ago2000-12-31 H.J. Lu <hjl@gnu.org>
hjl [Mon, 1 Jan 2001 01:51:17 +0000 (01:51 +0000)]
2000-12-31  H.J. Lu  <hjl@gnu.org>

* listing.c (listing_message): Allocate string only if it is
used.

* configure: Rebuild.

23 years agoFix problems with new EXACTLY_TWO_DASHES command line switch option.
nickc [Sun, 31 Dec 2000 19:56:03 +0000 (19:56 +0000)]
Fix problems with new EXACTLY_TWO_DASHES command line switch option.

23 years ago * doc/internals.texi (Relaxing with a table) <after relaxation>:
hp [Sun, 31 Dec 2000 19:54:58 +0000 (19:54 +0000)]
* doc/internals.texi (Relaxing with a table) <after relaxation>:
Point out caveats with generating fixups for the opcode in a frag.

23 years ago * configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
hubicka [Sat, 30 Dec 2000 18:05:10 +0000 (18:05 +0000)]
* configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
* NEWS: Add x86_64.

* i386.h (i386_optab): Add "rex*" instructions;
add swapgs; disable jmp/call far direct instructions for
64bit mode; add syscall and sysret; disable registers for 0xc6
template.  Add 'q' suffixes to extendable instructions, disable
obsoletted instructions, add new sign/zero extension ones.
(i386_regtab): Add extended registers.
(*Suf): Add No_qSuf.
(q_Suf, wlq_Suf, bwlq_Suf): New.

23 years ago2000-12-29 H.J. Lu <hjl@gnu.org>
hjl [Fri, 29 Dec 2000 23:48:10 +0000 (23:48 +0000)]
2000-12-29  H.J. Lu  <hjl@gnu.org>

* listing.c (calc_hex): Print the variable part only if the
fragment type is rs_fill.

23 years ago* fnmatch.c: Make the note about the origins of this file more
dj [Fri, 29 Dec 2000 20:16:02 +0000 (20:16 +0000)]
* fnmatch.c: Make the note about the origins of this file more
accurate, at least until we can sync with glibc.
* getopt.c: Ditto.
* getopt1.c: Ditto.
* md5.c: Ditto.
* obstack.c: Ditto.

23 years ago * doc/internals.texi (tc_conditional_pseudoop,
hp [Fri, 29 Dec 2000 18:32:46 +0000 (18:32 +0000)]
* doc/internals.texi (tc_conditional_pseudoop,
TC_LINKRELAX_FIXUP): Fix typos.

23 years ago * elfcode.h (elf_object_p): Also restore the bfd mach field on
hp [Fri, 29 Dec 2000 05:44:51 +0000 (05:44 +0000)]
* elfcode.h (elf_object_p): Also restore the bfd mach field on
error, by calling bfd_default_set_arch_mach with incoming
values.

23 years agoRequre that long options starting with 'o' only accept a double dash prefix.
nickc [Thu, 28 Dec 2000 19:54:33 +0000 (19:54 +0000)]
Requre that long options starting with 'o' only accept a double dash prefix.

23 years ago* error msg tweak
fche [Thu, 28 Dec 2000 19:53:54 +0000 (19:53 +0000)]
* error msg tweak

2000-12-28  Frank Ch. Eigler  <fche@redhat.com>

* cgen-asm.in (parse_insn_normal): Print better error message for
instructions with missing operands.

23 years ago * write.c (subsegs_finish): Fix thinko last change -- don't
rth [Thu, 28 Dec 2000 19:14:37 +0000 (19:14 +0000)]
    * write.c (subsegs_finish): Fix thinko last change -- don't
        "optimize" the alignment == 0 case.

23 years ago * as.h (rs_align_test): New.
rth [Thu, 28 Dec 2000 10:07:55 +0000 (10:07 +0000)]
* as.h (rs_align_test): New.
* frags.c (NOP_OPCODE): Move default from read.c.
(MAX_MEM_FOR_RS_ALIGN_CODE): New default.
(frag_align_code): New.
* frags.h (frag_align_code): Declare.
* read.c (NOP_OPCODE): Remove.
(do_align): Use frag_align_code.
* write.c (NOP_OPCODE): Remove.
(get_recorded_alignment): New.
(cvt_frag_to_fill): Handle rs_align_test.
(relax_segment): Likewise.
(subsegs_finish): Align last subseg in section to the
section alignment.  Use frag_align_code.
* write.h (get_recorded_alignment): Declare.
* config/obj-coff.c (size_section): Handle rs_align_test.
(fill_section, fixup_mdeps): Likewise.
(write_object_file): Use frag_align_code.

* config/tc-alpha.c (alpha_align): Use frag_align_code.
(alpha_handle_align): New.
* config/tc-alpha.h (HANDLE_ALIGN): New.
(MAX_MEM_FOR_RS_ALIGN_CODE): New.

* config/tc-i386.h (md_do_align): Use frag_align_code.
(MAX_MEM_FOR_RS_ALIGN_CODE): New.

* config/tc-ia64.c (ia64_md_do_align): Don't do code alignment.
(ia64_handle_align): New.
* config/tc-ia64.h (HANDLE_ALIGN): New.
(MAX_MEM_FOR_RS_ALIGN_CODE): New.

* config/tc-m32r.c (m32r_do_align): Remove.
(m32r_handle_align): New.
(fill_insn): Use frag_align_code.
* config/tc-m32r.h (md_do_align): Remove.
(HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New.
* config/tc-m88k.c, config/tc-m88k.h: Similarly.
* config/tc-mips.c, config/tc-mips.h: Similarly.

* config/tc-sh.c (sh_cons_align): Use rs_align_test.
(sh_handle_align): Likewise.  Handle rs_align_code.
(sh_do_align): Remove.
* config/tc-sh.h (md_do_align): Remove.
(MAX_MEM_FOR_RS_ALIGN_CODE): New.

* config/tc-sparc.c (sparc_cons_align): Use rs_align_test.
(sparc_handle_align): Likewise.  Handle rs_align_code.
* config/tc-sparc.h (md_do_align): Remove.
(MAX_MEM_FOR_RS_ALIGN_CODE): New.

23 years agoFix debugging programs statically linked against the thread library.
kettenis [Wed, 27 Dec 2000 21:37:57 +0000 (21:37 +0000)]
Fix debugging programs statically linked against the thread library.
* thread-db.c: Various comment fixes and additions.
Include "bfd.h", "symfile.h" and "objfiles.h".
(keep_thread_db): New variable.
(find_new_threads_callback): Remove prototype.
(thread_db_find_new_threads): New prototype.
(thread_db_push_target, thread_db_unpush_target): Remove
functions.
(deactivate_target): New function.
(thread_db_new_objfile): If OBJFILE == NULL, force deactivation of
target vector.  Activate target vector directly instead of calling
thread_db_push_target.  Set keep_thread_db if thread library is
detected in the main symbol file.  Only enable thread event
reporting if there actually is a child process.  Likewise for
detecting new threads, done by calling thread_db_find_new_threads
instead of iterating over the threads ourselves.
(thread_db_detach): Call deactivate_target instead of
thread_db_unpush_target.
(thread_db_wait): Bail out early if we're not debugging the
multi-threaded child process yet.
(thread_db_post_startup_inferior): New function.
(thread_db_mourn_inferior): Call deactivate_target instead of
thread_db_unpush_target.
(init_thread_db_ops): Add thread_db_post_startup_inferior to
thread_db_ops.

23 years ago* Make-common.in (sim-io.o): Depend on targ-vals.h.
aoliva [Wed, 27 Dec 2000 17:47:20 +0000 (17:47 +0000)]
* Make-common.in (sim-io.o): Depend on targ-vals.h.

23 years agoAdded Orjan Friberg to Write After Approval list.
orjanf [Wed, 27 Dec 2000 11:14:12 +0000 (11:14 +0000)]
Added Orjan Friberg to Write After Approval list.

23 years ago * cygwin.din: Add symbols for `getrlimit' and `setrlimit'.
corinna [Wed, 27 Dec 2000 00:13:57 +0000 (00:13 +0000)]
    * cygwin.din: Add symbols for `getrlimit' and `setrlimit'.
        * exceptions.cc (stackdump): Avoid creating stackdump when
        `rlim_core' is 0.
        * resource.cc: New global variable `rlim_core'.
        (getrlimit): New function.
        (setrlimit): Ditto.
        include/cygwin/version.h: Bump minor API version to 32 due to
        adding `getrlimit' and `setrlimit'.
        include/sys/resource.h: Add defines, types and prototypes for
        `getrlimit' and `setrlimit'.

23 years ago* bsearch.c: New file.
dj [Tue, 26 Dec 2000 22:19:44 +0000 (22:19 +0000)]
* bsearch.c: New file.
* configure.in (funcs): Add bsearch.
(AC_CHECK_FUNCS): Likewise.
* configure, config.in: Regenerate.

23 years agoAdd --no-default-excludes option for PE targets
nickc [Tue, 26 Dec 2000 20:55:29 +0000 (20:55 +0000)]
Add --no-default-excludes option for PE targets

23 years ago2000-12-26 Kazu Hirata <kazu@hxi.com>
kazu [Tue, 26 Dec 2000 19:50:49 +0000 (19:50 +0000)]
2000-12-26  Kazu Hirata  <kazu@hxi.com>

* vaxnetbsd.c: Fix formatting.
* versados.c: Likewise.
* vms-gsd.c: Likewise.
* vms-hdr.c: Likewise.
* vms-misc.c: Likewise.

23 years agoSynchronise with master FSF GCC sources
nickc [Tue, 26 Dec 2000 18:17:51 +0000 (18:17 +0000)]
Synchronise with master FSF GCC sources

23 years ago* autoload.h: Make DLL initializers global to avoid inlining.
cgf [Tue, 26 Dec 2000 03:21:05 +0000 (03:21 +0000)]
* autoload.h: Make DLL initializers global to avoid inlining.
* exceptions.cc (interrupt_setup): Reorganize arguments to allow use of
regparm.
(interrupt_now): Ditto.
(interrupt_on_return): Ditto.
(call_handler): Ditto.

23 years ago* archive.c (coff_write_armap): Don't write more than symbol_count
aoliva [Mon, 25 Dec 2000 21:41:20 +0000 (21:41 +0000)]
* archive.c (coff_write_armap): Don't write more than symbol_count
`archive_member_file_ptr's.

23 years ago* include/cygwin/version.h: Bump DLL minor version number to 8.
cgf [Mon, 25 Dec 2000 18:37:44 +0000 (18:37 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 8.

23 years agomissed a spot.
cgf [Mon, 25 Dec 2000 17:49:36 +0000 (17:49 +0000)]
missed a spot.

23 years ago* lib/Makefile.in: Don't make "links" to include/w32api directory.
cgf [Mon, 25 Dec 2000 17:23:29 +0000 (17:23 +0000)]
* lib/Makefile.in: Don't make "links" to include/w32api directory.

23 years ago2000-12-25 Kazu Hirata <kazu@hxi.com>
kazu [Mon, 25 Dec 2000 14:42:42 +0000 (14:42 +0000)]
2000-12-25  Kazu Hirata  <kazu@hxi.com>

* vms-tir.c: Fix formatting.

23 years agoGDB version and refcard copyright fixed.
eliz [Mon, 25 Dec 2000 09:10:46 +0000 (09:10 +0000)]
GDB version and refcard copyright fixed.

23 years ago2000-12-23 Ben Elliston <bje@redhat.com>
bje [Sat, 23 Dec 2000 21:52:14 +0000 (21:52 +0000)]
2000-12-23  Ben Elliston  <bje@redhat.com>

* cgen-trace.c (trace_result): Handle 'f' type operands; output
them to the trace stream using sim_fpu_printn_fpu. Include
"sim-fpu.h".

23 years ago2000-12-23 Kazu Hirata <kazu@hxi.com>
kazu [Sat, 23 Dec 2000 16:48:10 +0000 (16:48 +0000)]
2000-12-23  Kazu Hirata  <kazu@hxi.com>

* vms.c: Fix formatting.
* vms.h: Likewise.

23 years ago2000-12-15 Ben Elliston <bje@redhat.com>
bje [Sat, 23 Dec 2000 11:51:04 +0000 (11:51 +0000)]
2000-12-15  Ben Elliston  <bje@redhat.com>

* sim-fpu.h (sim_fpu_printn_fpu): Declare.
* sim-fpu.c (print_bits): Add digits parameter. Print only as many
trailing digits as specified (-1 to print all digits).
(sim_fpu_print_fpu): New wrapper around sim_fpu_printn_fpu.
(sim_fpu_printn_fpu): Rename from sim_fpu_print_fpu; update calls
to print_bits ().

23 years ago* solib.c (solib_open): If path is relative, look for it
kettenis [Sat, 23 Dec 2000 00:27:20 +0000 (00:27 +0000)]
* solib.c (solib_open): If path is relative, look for it
literally.  This matches the behaviour of the GNU dynamic linker
more closely.

23 years ago* runtime tweak
fche [Fri, 22 Dec 2000 23:11:09 +0000 (23:11 +0000)]
* runtime tweak

2000-12-22  Frank Ch. Eigler  <fche@redhat.com>

* cgen-ops.h (JIUNUQIUHI, SUBWORDHIUHI, SUBWORDUHIUQI): New fns.

23 years ago* config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
dj [Fri, 22 Dec 2000 22:06:32 +0000 (22:06 +0000)]
* config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
when we assemble the first half of a pair.

23 years ago2000-12-22 H.J. Lu <hjl@gnu.org>
hjl [Fri, 22 Dec 2000 21:03:24 +0000 (21:03 +0000)]
2000-12-22  H.J. Lu  <hjl@gnu.org>

* gas/i386/intel.s: Replace "nop" with ".p2align 4,0".
* gas/i386/intel.d: Updated.

23 years ago2000-12-22 H.J. Lu <hjl@gnu.org>
hjl [Fri, 22 Dec 2000 20:53:34 +0000 (20:53 +0000)]
2000-12-22  H.J. Lu  <hjl@gnu.org>

* config/tc-i386.c (reloc): Update the macro for non-bfd
assembler.
(BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.

23 years ago2000-12-22 H.J. Lu <hjl@gnu.org>
hjl [Fri, 22 Dec 2000 20:36:02 +0000 (20:36 +0000)]
2000-12-22  H.J. Lu  <hjl@gnu.org>

* dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.

23 years ago * cygwinenv.sgml: Fix typo in <filename>. Add missing </para>.
corinna [Fri, 22 Dec 2000 17:02:02 +0000 (17:02 +0000)]
    * cygwinenv.sgml: Fix typo in <filename>. Add missing </para>.

23 years ago2000-12-13 Fernando Nasser <fnasser@redhat.com>
fnasser [Fri, 22 Dec 2000 15:33:06 +0000 (15:33 +0000)]
2000-12-13  Fernando Nasser  <fnasser@redhat.com>

        * variables.tcl (constructor): Use the  file_changed_hook to remove
        all variables if the exec file changes.  This prevents the Watch
        Window to dump core because the "types" are not valid anymore.

23 years ago2000-12-22 Fernando Nasser <fnasser@redhat.com>
fnasser [Fri, 22 Dec 2000 15:03:10 +0000 (15:03 +0000)]
2000-12-22  Fernando Nasser  <fnasser@redhat.com>

        * README: Suggest building in an empty directory.

23 years ago2000-12-21 Michael Snyder <msnyder@mvstp600e.cygnus.com>
msnyder [Fri, 22 Dec 2000 01:49:45 +0000 (01:49 +0000)]
2000-12-21  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

        * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
        Add a RE to accept a non-ascii char if one is ever presented.

23 years ago* i386-tdep.c: Add missing ')' in comment.
kettenis [Thu, 21 Dec 2000 20:52:58 +0000 (20:52 +0000)]
* i386-tdep.c: Add missing ')' in comment.
(i386_extract_return_value): Return directly after issuing the
warning and filling *VALBUF with zeroes if we cannot get at the
floating-point registers.
(i386_store_return_value): New function.
* config/i386/tm-i386.h (STORE_RETURN_VALUE): Simply call
i386_store_return_value.
Add prototype for i386_store_return_value.

23 years ago* i386-linux-nat.c (store_fpxregs): Add code to detect support for
kettenis [Thu, 21 Dec 2000 20:18:45 +0000 (20:18 +0000)]
* i386-linux-nat.c (store_fpxregs): Add code to detect support for
the PTRACE_GETFPXREGS request, and return zero if it's not.

23 years agoFix for compiling under Solaris 2.8
nickc [Thu, 21 Dec 2000 18:43:33 +0000 (18:43 +0000)]
Fix for compiling under Solaris 2.8

23 years agoFixes to allow sources to compile under Solaris 2.8
nickc [Thu, 21 Dec 2000 18:40:20 +0000 (18:40 +0000)]
Fixes to allow sources to compile under Solaris 2.8

23 years agoAdd bfd_get_bits() and bfd_put_bits().
nickc [Thu, 21 Dec 2000 18:20:04 +0000 (18:20 +0000)]
Add bfd_get_bits() and bfd_put_bits().

23 years ago* simplify pregenerated config file maintenance
fche [Thu, 21 Dec 2000 17:48:06 +0000 (17:48 +0000)]
* simplify pregenerated config file maintenance

2000-12-21  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.am: Simplify to install all srcdir *.conf/*.img files.
* pregen-configs.in: Overwrite srcdir files only if non-comment
lines are different.
* Makefile.in: Regenerated.

23 years ago2000-12-21 Fernando Nasser <fnasser@redhat.com>
fnasser [Thu, 21 Dec 2000 16:28:27 +0000 (16:28 +0000)]
2000-12-21  Fernando Nasser  <fnasser@redhat.com>

        * TODO: Add pre-uiout code removal to 5.2 cleanups.

23 years ago2000-12-20 Fernando Nasser <fnasser@redhat.com>
fnasser [Thu, 21 Dec 2000 16:16:16 +0000 (16:16 +0000)]
2000-12-20  Fernando Nasser  <fnasser@redhat.com>

        * configure.in: Rename CONFIG_LOBS to CONFIG_LIB_OBS.
        * Makefile.in: Ditto.
        * configure: Regenerate.

23 years ago2000-12-20 Fernando Nasser <fnasser@redhat.com>
fnasser [Thu, 21 Dec 2000 16:08:52 +0000 (16:08 +0000)]
2000-12-20  Fernando Nasser  <fnasser@redhat.com>

        * command.h: Register date when it was deprecated.
        * call-cmds.h: Ditto.

23 years ago2000-12-20 Syd Polk <spolk@redhat.com>
spolk [Wed, 20 Dec 2000 22:02:39 +0000 (22:02 +0000)]
2000-12-20  Syd Polk  <spolk@redhat.com>

* itcl/itclConfig.sh.in: Added trailing new line.

23 years agoFix typo on last entry.
fnasser [Wed, 20 Dec 2000 21:26:14 +0000 (21:26 +0000)]
Fix typo on last entry.

23 years ago2000-12-20 Fernando Nasser <fnasser@redhat.com>
fnasser [Wed, 20 Dec 2000 21:24:25 +0000 (21:24 +0000)]
2000-12-20  Fernando Nasser  <fnasser@redhat.com>

        * Makefile.in (UIOUT_CFLAGS): New macro. CFLAGS needed for uiout code
        to be compiled.  Defines UI_OUT.
        (SUBDIR_MI_CFLAGS): Defines MI_OUT, not UI_OUT.
        (INTERNAL_WARN_CFLAGS): Also include UIOUT_CFLAGS.
        * configure.in (UIOUT_CFLAGS): New configuration variable.
        (--with-uiout): New configuration option.  Causes uiout code to
        be compiled, instead of the old *printf one.
        * configure: Regenerate.
        * top.c (print_gdb_version): Test for and print MI_OUT, not UI_OUT.
        * testsuite/lib/mi-support.exp (mi_gdb_start): Test for MI_OUT,
        not UI_OUT.

23 years ago2000-12-20 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 20 Dec 2000 19:53:10 +0000 (19:53 +0000)]
2000-12-20  Kazu Hirata  <kazu@hxi.com>

* targets.c: Fix formatting.
* tekhex.c: Likewise.
* trad-core.c: Likewise.

23 years ago* build tweak for cygwin
fche [Wed, 20 Dec 2000 19:11:16 +0000 (19:11 +0000)]
* build tweak for cygwin

[config/ChangeLog]
2000-12-20  Frank Ch. Eigler  <fche@redhat.com>

* libstdc++.m4 (CY_LIBSTDCXX_CHECK): Check for cygwin host, not target.

[ChangeLog]
2000-12-20  Frank Ch. Eigler  <fche@redhat.com>

* aclocal.m4, configure: Regenerated.

23 years ago2000-12-20 Fernando Nasser <fnasser@redhat.com>
fnasser [Wed, 20 Dec 2000 17:32:16 +0000 (17:32 +0000)]
2000-12-20  Fernando Nasser  <fnasser@redhat.com>

        * complaints.c (complain): Call warning_hook if defined, instead of
        writting to gdb_stderr.
        (clear_complaints): Do not write anything to gdb_stderr if warning_hook
        is defined.

23 years ago2000-12-18 Michael Snyder <msnyder@mvstp600e.cygnus.com>
msnyder [Wed, 20 Dec 2000 16:29:27 +0000 (16:29 +0000)]
2000-12-18  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

        * gdb.base/setvar.exp: Use double '\\' to quote curly braces
        in regexp.  One '\' does not suffice on Linux.

23 years agoRevert accidental checkin.
hubicka [Wed, 20 Dec 2000 13:36:13 +0000 (13:36 +0000)]
Revert accidental checkin.

23 years ago * tc-i386.h (i386_target_format): Define even for ELFs.
hubicka [Wed, 20 Dec 2000 13:24:10 +0000 (13:24 +0000)]
* tc-i386.h (i386_target_format): Define even for ELFs.
(QWORD_MNEM_SUFFIX): New macro.
(CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags):
New macros
(CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber.
(IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix,
ImmExt): Renumber.
(Size64, No_qSuf, NoRex64, Rex64): New macros.
(Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros.
(Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32,
InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc,
SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem): Renumber.
(Reg, WordReg): Add Reg64.
(Imm): Add Imm32S and Imm64.
(EncImm): New.
(Disp): Add Disp64 and Disp32S.
(AnyMem): Add Disp32S.
(RegRex, RegRex64): New macros.
(rex_byte): New type.
* tc-i386.c (set_16bit_code_flag): Kill.
(fits_in_unsigned_long, fits_in_signed_long): New functions.
(reloc): New parameter "signed"; support x86_64.
(set_code_flag): New.
(DEFAULT_ARCH): New macro; default to "i386".
(default_arch): New static variable.
(struct _i386_insn): New fields Operand_PCrel; rex.
(flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT";
(flag_code): New enum and static variable.
(use_rela_relocations): New static variable.
(flag_code_names): New static variable.
(cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64.
(cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to
K6 and Athlon.
(i386_align_code): Return plain "nop" for x86_64.
(mode_from_disp_size): Support Disp32S.
(smallest_imm_type): Support Imm32S and Imm64.
(offset_in_range): Support size of 8.
(set_cpu_arch): Do not clobber to Cpu64/CpuNo64.
(md_pseudo_table): Add "code64"; use set_code_flat.
(md_begin): Emit sane error message on hash failure.
(tc_i386_fix_adjustable): Support x86_64 relocations.
(md_assemble): Support QWORD_MNEM_SUFFIX, REX registers,
instructions supported on particular arch just partially,
output of 64bit immediates, handling of Imm32S and Disp32S type.
(i386_immedaite): Support x86_64 relocations; support 64bit constants.
(i386_displacement): Likewise.
(i386_index_check): Cleanup; support 64bit addresses.
(md_apply_fix3): Support x86_64 relocation and rela.
(md_longopts): Add "32" and "64".
(md_parse_option): Add OPTION_32 and OPTION_64.
(i386_target_format): Call even for ELFs; choose between
elf64-x86-64 and elf32-i386.
(i386_validate_fix): Refuse GOTOFF in 64bit mode.
(tc_gen_reloc): Support rela relocations and x86_64.
(intel_e09_1): Support QWORD.

* i386.h (i386_optab): Replace "Imm" with "EncImm".
(i386_regtab): Add flags field.

23 years agoFix syntax.
corinna [Wed, 20 Dec 2000 12:43:22 +0000 (12:43 +0000)]
Fix syntax.

23 years ago * autoload.cc: Add load statemant for SetSecurityDescriptorControl.
corinna [Wed, 20 Dec 2000 12:42:42 +0000 (12:42 +0000)]
    * autoload.cc: Add load statemant for SetSecurityDescriptorControl.
        * security.cc (alloc_sd): Always set SE_DACL_PROTECTED flag on
        Win2K and higher.

23 years ago * include/winbase.h: Add prototype for SetSecurityDescriptorControl.
corinna [Wed, 20 Dec 2000 12:36:27 +0000 (12:36 +0000)]
    * include/winbase.h: Add prototype for SetSecurityDescriptorControl.

23 years ago* exceptions.cc (reset_signal_arrived): Make global to avoid inlining.
cgf [Wed, 20 Dec 2000 06:03:16 +0000 (06:03 +0000)]
* exceptions.cc (reset_signal_arrived): Make global to avoid inlining.

23 years ago* fhandler_serial.cc (fhandler_serial::raw_read): Always find number of bytes
cgf [Wed, 20 Dec 2000 05:57:59 +0000 (05:57 +0000)]
* fhandler_serial.cc (fhandler_serial::raw_read): Always find number of bytes
ready to be read whether overlapped_armed or not.

23 years ago2000-12-19 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 20 Dec 2000 00:21:57 +0000 (00:21 +0000)]
2000-12-19  Kazu Hirata  <kazu@hxi.com>

* sco5-core.c: Fix formatting.
* section.c: Likewise.
* sparclinux.c: Likewise.
* sparclynx.c: Likewise.
* sparcnetbsd.c: Likewise.
* srec.c: Likewise.
* stabs.c: Likewise.
* stab-syms.c: Likewise.
* sunos.c: Likewise.
* syms.c: Likewise.
* sysdep.h: Likewise.

23 years ago2000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Tue, 19 Dec 2000 23:20:45 +0000 (23:20 +0000)]
2000-12-19  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

      * sh-tdep.c (sh_print_register): Don't leave regnum 0 out of the
       non-pseudo-regs group.

23 years agoAdd missing support for arm-epoc-pe.
nickc [Tue, 19 Dec 2000 22:22:02 +0000 (22:22 +0000)]
Add missing support for arm-epoc-pe.

23 years ago* COPYING: Update to current
dj [Tue, 19 Dec 2000 22:01:20 +0000 (22:01 +0000)]
* COPYING: Update to current
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
to 19yy as example year in copyright notice).

23 years ago * syscalls.cc (remove): New function, overriding the newlib
corinna [Tue, 19 Dec 2000 20:43:41 +0000 (20:43 +0000)]
    * syscalls.cc (remove): New function, overriding the newlib
implementation.

23 years agooops - fix attribution
nickc [Tue, 19 Dec 2000 20:37:35 +0000 (20:37 +0000)]
oops - fix attribution

23 years agoAdd missing clobber of LR
nickc [Tue, 19 Dec 2000 20:37:18 +0000 (20:37 +0000)]
Add missing clobber of LR

23 years ago * cygwinenv.sgml: Add text for `smbntsec' option.
corinna [Tue, 19 Dec 2000 20:14:34 +0000 (20:14 +0000)]
* cygwinenv.sgml: Add text for `smbntsec' option.

23 years ago * environ.cc (struct parse_thing): Add entry for new CYGWIN option
corinna [Tue, 19 Dec 2000 19:52:57 +0000 (19:52 +0000)]
    * environ.cc (struct parse_thing): Add entry for new CYGWIN option
        `smbntsec'.
        * path.cc (path_conv::check): Check path for being a remote path.
        If so and `allow_smbntsec' is set to FALSE, set has_acls to FALSE.
        * security.cc: Add global definition for `allow_smbntsec'.
        * security.h: Add extern declaration for `allow_smbntsec'.
        * fhandler.cc (fhandler_disk_file::open): Eliminate extern declaration
        of `allow_ntsec'.
        * syscalls.cc: Ditto.

23 years ago2000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Tue, 19 Dec 2000 15:41:07 +0000 (15:41 +0000)]
2000-12-19  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* sh-tdep.c (sh_gdbarch_init): Move setting of breakpoint_from_pc
to before switch statement.

23 years agoFix test for StoreDouble Instruction.
nickc [Tue, 19 Dec 2000 00:58:04 +0000 (00:58 +0000)]
Fix test for StoreDouble Instruction.

23 years ago * dis-asm.h (struct disassemble_info): New member "section".
hp [Mon, 18 Dec 2000 23:19:54 +0000 (23:19 +0000)]
* dis-asm.h (struct disassemble_info): New member "section".
(INIT_DISASSEMBLE_INFO_NO_ARCH): Initialize private_data member.
Initialize section member.

23 years agoDefinbe extra allowable COFF section flags for ARM_PE target/
nickc [Mon, 18 Dec 2000 20:50:40 +0000 (20:50 +0000)]
Definbe extra allowable COFF section flags for ARM_PE target/

23 years agoAdd default case to file_format switch.
nickc [Mon, 18 Dec 2000 19:03:29 +0000 (19:03 +0000)]
Add default case to file_format switch.

23 years ago2000-12-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Mon, 18 Dec 2000 04:36:35 +0000 (04:36 +0000)]
2000-12-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * sh-tdep.c (sh_gdbarch_init): Initialize do_registers_info.

        * config/sh/tm-sh.h (DO_REGISTERS_INFO): Remove macro. Use
        multiarch version instead.