OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years agoCure recent x86 warts.
amodra [Fri, 12 Jan 2001 03:34:47 +0000 (03:34 +0000)]
Cure recent x86 warts.

23 years ago* libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
dj [Fri, 12 Jan 2001 02:41:33 +0000 (02:41 +0000)]
* libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__

23 years agoUpdated ARC assembler from arccores.com
nickc [Thu, 11 Jan 2001 21:20:16 +0000 (21:20 +0000)]
Updated ARC assembler from arccores.com

23 years agoFix gas 68HC12 indexed addressing code generation
ciceron [Thu, 11 Jan 2001 20:19:17 +0000 (20:19 +0000)]
Fix gas 68HC12 indexed addressing code generation

23 years agoDwarf2 test for 68HC11/68HC12 gas
ciceron [Thu, 11 Jan 2001 19:48:41 +0000 (19:48 +0000)]
Dwarf2 test for 68HC11/68HC12 gas

23 years agoFix weak symbols for 68HC11 as
ciceron [Thu, 11 Jan 2001 19:42:46 +0000 (19:42 +0000)]
Fix weak symbols for 68HC11 as

23 years agoRotate ChangeLogs
nickc [Thu, 11 Jan 2001 19:01:40 +0000 (19:01 +0000)]
Rotate ChangeLogs

23 years agoMake COFF and ELF disassemblys agree
nickc [Thu, 11 Jan 2001 18:42:58 +0000 (18:42 +0000)]
Make COFF and ELF disassemblys agree

23 years ago * configrun-sid.in ($enable_z_packet): New variable.
nsd [Thu, 11 Jan 2001 16:32:30 +0000 (16:32 +0000)]
* configrun-sid.in ($enable_z_packet): New variable.
($opt_gdb != 0): Use $enable_z_packet.

23 years ago * fhandler.h (fhandler_base): New method `fixup_mmap_after_fork'.
corinna [Thu, 11 Jan 2001 12:33:11 +0000 (12:33 +0000)]
    * fhandler.h (fhandler_base): New method `fixup_mmap_after_fork'.
        (fhandler_disk_file: Ditto.
        (fhandler_dev_mem): Ditto.
        * fhandler_mem.cc (fhandler_dev_mem::open): Set OBJ_INHERIT attribute
        for device\physicalmemory handle.
        (fhandler_dev_mem::mmap): Ditto.
        * fhandler_mem.cc (fhandler_dev_mem::fixup_mmap_after_fork): New method.
        * mmap.cc (mmap_record): Add private `fdesc_' member. Change constructor
        accordingly.
        (get_fd): New method.
        (mmap): Use new mmap_record constructor.
        (fhandler_base::fixup_mmap_after_fork): New method.
        (fhandler_disk_file::fixup_mmap_after_fork): Ditto.
        (fixup_mmaps_after_fork): Call `fixup_mmap_after_fork' of appropriate
        fhandler class.

23 years ago * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's
aj [Thu, 11 Jan 2001 11:38:24 +0000 (11:38 +0000)]
* config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's
not used anywhere.

23 years agofix spelling typo
nickc [Thu, 11 Jan 2001 01:43:44 +0000 (01:43 +0000)]
fix spelling typo

23 years agoChange defn of LOCAL_LABEL_PREFIX to ""
nickc [Thu, 11 Jan 2001 01:43:20 +0000 (01:43 +0000)]
Change defn of LOCAL_LABEL_PREFIX to ""

23 years agoAllow ADRL relocs to be adjusted in arm-coff
nickc [Thu, 11 Jan 2001 01:40:17 +0000 (01:40 +0000)]
Allow ADRL relocs to be adjusted in arm-coff

23 years agoFix local label code to use LOCAL_LABEL_PREFIX
nickc [Thu, 11 Jan 2001 01:32:35 +0000 (01:32 +0000)]
Fix local label code to use LOCAL_LABEL_PREFIX

23 years ago* regtool.cc (cmd_list): Add new registry display options.
cgf [Wed, 10 Jan 2001 22:34:02 +0000 (22:34 +0000)]
* regtool.cc (cmd_list): Add new registry display options.
(cmd_list): Add code to implement -p, -k, and -l options.
* regtool.cc (Fail): Add call to LocalFree to free memory allocated by
FormatMessage.

23 years ago* function tweak
fche [Wed, 10 Jan 2001 20:26:43 +0000 (20:26 +0000)]
* function tweak

2001-01-10  Frank Ch. Eigler  <fche@redhat.com>

        * cgen-ops.h (ABSDI, ABSSI, ABSHI, ABSQI): New fns.

23 years ago* robustness incentive
fche [Wed, 10 Jan 2001 19:41:01 +0000 (19:41 +0000)]
* robustness incentive

2001-01-10  Frank Ch. Eigler  <fche@redhat.com>

        * sidcpuutil.h (basic_cpu): Inherit from fixed_relation_map_component.
        Define a operator new/delete pair to poison new memory.

23 years ago2001-01-10 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 10 Jan 2001 18:58:36 +0000 (18:58 +0000)]
2001-01-10  Kazu Hirata  <kazu@hxi.com>

* scripttempl/h8500.sc: Fix formatting.
* scripttempl/h8500b.sc: Likewise.
* scripttempl/h8500c.sc: Likewise.
* scripttempl/h8500m.sc: Likewise.
* scripttempl/h8500s.sc: Likewise.

23 years agomore formatting changes.
cgf [Wed, 10 Jan 2001 15:22:40 +0000 (15:22 +0000)]
more formatting changes.

23 years ago * i386.exp: Add ssemmx2 and sse2 tests.
hubicka [Wed, 10 Jan 2001 14:32:32 +0000 (14:32 +0000)]
* i386.exp: Add ssemmx2 and sse2 tests.
(sse2.d, sse2.s, ssemmx2.d, ssemmx2.s): New tests.

23 years ago * i386.h (pinsrw): Add.
hubicka [Wed, 10 Jan 2001 14:31:46 +0000 (14:31 +0000)]
* i386.h (pinsrw): Add.
(pshufw): Remove.
(cvttpd2dq): Fix operands.
(cvttps2dq): Likewise.
(movq2q): Rename to movdq2q.

23 years ago* regtool.cc (translate): Ensure that 'c' is initialized.
cgf [Wed, 10 Jan 2001 14:20:16 +0000 (14:20 +0000)]
* regtool.cc (translate): Ensure that 'c' is initialized.
(cmd_set): Ditto for rv.

23 years ago * i386-dis.c (PREGRP15 - PREGRP24): New.
hubicka [Wed, 10 Jan 2001 14:14:25 +0000 (14:14 +0000)]
* i386-dis.c (PREGRP15 - PREGRP24): New.
(dis386_twobyt): Add SSE2 instructions.
(twobyte_uses_SSE_prefix: Rename from ... ; add new SSE instructions.
(twobyte_uses_f3_prefix): ... this one.
(grps): Add SSE instructions.
(prefix_user_table): Add two new slots; add SSE2 instructions.
(print_insn_i386): Rename uses_f3_prefix to uses_SSE_prefix;
Handle the REPNZ and Data16 prefixes as well; do proper lookup
to prefix_user_table.
(OP_E): Accept mfence and lfence as well.
(OP_MMX): Data16 prefix turns MMX to SSE; support REX extensions.
(OP_XMM): Support REX extensions.
(OP_EM): Likewise.
(OP_EX): Likewise.

23 years ago* sigproc.cc (wait_sig): Allow SIGCONT when stopped.
cgf [Wed, 10 Jan 2001 13:53:38 +0000 (13:53 +0000)]
* sigproc.cc (wait_sig): Allow SIGCONT when stopped.

23 years ago2001-01-10 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 10 Jan 2001 11:42:26 +0000 (11:42 +0000)]
2001-01-10  Kazu Hirata  <kazu@hxi.com>

* scripttempl/h8300.sc: Fix formatting.  Fix a comment typo.
* scripttempl/h8300h.sc: Fix formatting.
* scripttempl/h8300s.sc: Likewise.

23 years agoFix "movnti"
amodra [Wed, 10 Jan 2001 00:24:43 +0000 (00:24 +0000)]
Fix "movnti"

23 years agofix patterns to match new behaviour of disassembler
nickc [Tue, 9 Jan 2001 22:08:41 +0000 (22:08 +0000)]
fix patterns to match new behaviour of disassembler

23 years agoUpdate address for bug reports.
pb [Tue, 9 Jan 2001 21:05:35 +0000 (21:05 +0000)]
Update address for bug reports.

23 years agoFix disassembly of arm-elf instructions with relocs associated with them.
nickc [Tue, 9 Jan 2001 20:29:48 +0000 (20:29 +0000)]
Fix disassembly of arm-elf instructions with relocs associated with them.

23 years agofix spelling typoi
nickc [Tue, 9 Jan 2001 20:25:57 +0000 (20:25 +0000)]
fix spelling typoi

23 years agoAdd OBJDUMP_DEFS to configure and makefile
nickc [Tue, 9 Jan 2001 20:25:30 +0000 (20:25 +0000)]
Add OBJDUMP_DEFS to configure and makefile
Check for DISASSEMBLER_NEEDS_RELOCS in objdump and read in relocs if set.

23 years agoRemove unsupported v850 compiler options
nickc [Tue, 9 Jan 2001 19:30:13 +0000 (19:30 +0000)]
Remove unsupported v850 compiler options

23 years ago2001-01-09 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 9 Jan 2001 17:01:07 +0000 (17:01 +0000)]
2001-01-09  Jeff Johnston  <jjohnstn@redhat.com>

        * cgen.h (CGEN_SYNTAX_CHAR_TYPE): New typedef based on max number
        of operands (unsigned char or unsigned short).
        (CGEN_SYNTAX): Changed to make array CGEN_SYNTAX_CHAR_TYPE.
        (CGEN_SYNTAX_CHAR): Changed to cast to unsigned char.

23 years ago2001-01-09 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 9 Jan 2001 17:00:21 +0000 (17:00 +0000)]
2001-01-09  Jeff Johnston  <jjohnstn@redhat.com>

        * cgen-asm.in (parse_insn_normal): Changed syn to be
        CGEN_SYNTAX_CHAR_TYPE.  Changed all references to *syn
        as character to use CGEN_SYNTAX_CHAR macro and all comparisons
        to '\0' to use 0 instead.
        * cgen-dis.in (print_insn_normal): Ditto.
        * cgen-ibld.in (insert_insn_normal, extract_insn_normal): Ditto.

23 years ago Patch suggested by René Møller Fonseca <fonseca@mip.sdu.dk>
corinna [Tue, 9 Jan 2001 16:00:58 +0000 (16:00 +0000)]
    Patch suggested by René Møller Fonseca <fonseca@mip.sdu.dk>
        * include/sys/socket.h: Change prototype to have 2nd parameter `const'.
        * net.cc (cygwin_bind): Change 2nd parameter to `const'.

23 years ago2001-01-09 Fernando Nasser <fnasser@redhat.com>
fnasser [Tue, 9 Jan 2001 11:52:14 +0000 (11:52 +0000)]
2001-01-09  Fernando Nasser  <fnasser@redhat.com>

* library/srcmenubar.itcl (create_file_menu): Add missing incr for
session numbers.

23 years ago2001-01-03 Philip Blundell <pb@futuretv.com>
pb [Tue, 9 Jan 2001 11:13:42 +0000 (11:13 +0000)]
2001-01-03  Philip Blundell  <pb@futuretv.com>

* gas/vtable/vtable.exp: Don't run tests on Alpha.

23 years ago * regcache.c (set_register_cached, register_buffer,
nsd [Tue, 9 Jan 2001 00:12:48 +0000 (00:12 +0000)]
* regcache.c (set_register_cached, register_buffer,
real_register, pseudo_register fetch_register, store_register):
New functions.
(register_changed, read_relative_register_raw_bytes_for_frame,
registers_changed, registers_fetched, read_register_bytes,
read_register_gen, write_register_gen, read_register,
read_signed_register, write_register, supply_register): Replace
register_valid[] with register_cached() and
set_register_cached().
(read_register_bytes, read_register_gen, write_register_gen,
read_register, read_signed_register, write_register,
supply_register): Replace registers[] with register_buffer().
(read_register_bytes, read_register_gen, read_register,
read_signed_register): Call fetch_register().
(write_register_gen, write_register): Call real_register() and
store_register().
(write_register_bytes): Call store_register().
* value.h (set_register_cached, register_buffer): Prototype.
* remote.c (remote_fetch_registers): Allocate regs[] with a
run-time size.  Replace register_valid[] with
set_register_cached().
(store_register_using_P, remote_store_registers): Replace
registers[] with register_buffer().

23 years ago * regcache.c: Change "write-back" comment to "write-through".
nsd [Tue, 9 Jan 2001 00:11:28 +0000 (00:11 +0000)]
* regcache.c: Change "write-back" comment to "write-through".
Change "regno" to "regnum".
(read_register, read_signed_register): Remove "raw" from return
value description.
(supply_register): Spelling fix.
* value.h: Change "regno" to "regnum".

23 years ago* cleanup
fche [Mon, 8 Jan 2001 18:44:23 +0000 (18:44 +0000)]
* cleanup

2001-01-08  Frank Ch. Eigler  <fche@redhat.com>

* rtl.scm (hw): Copy hw-name to new operand's sem-name, to simplify
its subsequent gen-pretty-name.

* read.scm: Increase thread working stack limit and backtrace
depth limits.

23 years ago2001-01-08 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 8 Jan 2001 18:37:17 +0000 (18:37 +0000)]
2001-01-08  Frank Ch. Eigler  <fche@redhat.com>

* doc/rtl.texi: Deprecate and depreciate the decode-assist construct.

23 years ago* rltty.c (save_tty_chars): Fix compilation-stopping typo.
cgf [Mon, 8 Jan 2001 14:57:30 +0000 (14:57 +0000)]
* rltty.c (save_tty_chars): Fix compilation-stopping typo.

23 years ago2001-01-08 Fernando Nasser <fnasser@redhat.com>
fnasser [Mon, 8 Jan 2001 12:47:49 +0000 (12:47 +0000)]
2001-01-08  Fernando Nasser  <fnasser@redhat.com>

* Makefile.in (install-gdbtk): Add .itcl files to the list of files
to be installed.

23 years ago2001-01-08 Bo Thorsen <bo@suse.de>
aj [Mon, 8 Jan 2001 09:37:43 +0000 (09:37 +0000)]
2001-01-08  Bo Thorsen  <bo@suse.de>

        * config/tc-i386.c (i386_immediate, i386_displacement):
        GOTPCREL check fix.

23 years ago2000-01-07 David O'Brien <obrien@BSDi.com>
obrien [Mon, 8 Jan 2001 05:25:58 +0000 (05:25 +0000)]
2000-01-07  David O'Brien  <obrien@BSDi.com>
* emultempl/elf32.em: Only perform Linux ld hints processing when
targeting Linux.

Approved by:  Nick Clifton <nickc@redhat.com>
              Message-Id: <200101040127.RAA15127@elmo.cygnus.com>

23 years ago2001-01-08 matthew green <mrg@redhat.com>
mrg [Mon, 8 Jan 2001 04:30:42 +0000 (04:30 +0000)]
2001-01-08  matthew green  <mrg@redhat.com>

* gloss.cxx (do_sys_times): Set error value as well as return value
if times() does not exist on the host.
(do_sys_gettimeofday): Set error value as well as return value
if gettimeofday() does not exist on the host.

23 years ago* pinfo.cc (codepage_init): Move function.
cgf [Mon, 8 Jan 2001 04:02:01 +0000 (04:02 +0000)]
* pinfo.cc (codepage_init): Move function.
* environ.cc (codepage_init): To here.
* exceptoins.cc (SIG_NONMASKABLE): Remove SIGCONT from consideration since it
is supposed to be maskable.
* signal.cc (sigaction): Ditto.
* sigproc.cc (wait_sig): Ditto.
* winsup.h: Eliminate global declaration of codepage_init.

23 years ago * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted
ian [Mon, 8 Jan 2001 02:23:44 +0000 (02:23 +0000)]
* doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted
in last change.

23 years agofix an error in the previous entry.
mrg [Mon, 8 Jan 2001 02:07:27 +0000 (02:07 +0000)]
fix an error in the previous entry.

23 years ago2001-01-07 Philip Blundell <philb@gnu.org>
pb [Sun, 7 Jan 2001 15:12:04 +0000 (15:12 +0000)]
2001-01-07  Philip Blundell  <philb@gnu.org>

* ld.texinfo (Bug Reporting): Update email address for reports.

23 years agoUpdate address for bug reports.
pb [Sun, 7 Jan 2001 15:11:26 +0000 (15:11 +0000)]
Update address for bug reports.

23 years agoUpdate address for bug reports.
pb [Sun, 7 Jan 2001 15:04:20 +0000 (15:04 +0000)]
Update address for bug reports.

23 years agoUpdate address for bug reports.
pb [Sun, 7 Jan 2001 14:53:57 +0000 (14:53 +0000)]
Update address for bug reports.

23 years ago * config.sub, config.guess: Update from subversions.
aj [Sun, 7 Jan 2001 12:04:21 +0000 (12:04 +0000)]
    * config.sub, config.guess: Update from subversions.

23 years ago[components/ChangeLog]
mrg [Sun, 7 Jan 2001 04:51:31 +0000 (04:51 +0000)]
[components/ChangeLog]
2001-01-03  matthew green  <mrg@redhat.com>

* configure.in (AC_HAVE_FUNCS): Also check for times(2).
* configure: Regenerate.
* config.in: Regenerate.

[components/gloss/ChangeLog]
2001-01-06  matthew green  <mrg@redhat.com>

* gloss.cxx (gloss32::target_to_host_open_flags): Properly check for
valid open() flags.

2001-01-04  matthew green  <mrg@redhat.com>

* gloss.cxx (gloss32::target_to_host_open_flags): Properly deal with
newlib open flags.
Need <sys/time.h> for gettimeofday().  Only include <sys/times.h> if
we have times().

2000-12-30  matthew green  <mrg@redhat.com>

* gloss.cxx (do_sys_time): New function.
(do_sys_times): Likewise.
(do_sys_gettimeofday): Likewise.
(syscall_trap): Call do_sys_time().  Call new do_sys_times() and
do_sys_gettimeofday() for times() and .
* gloss.h (do_sys_time): Prototype.
(do_sys_times): Likewise.
(do_sys_gettimeofday): Likewise.
* libgloss.h (libgloss_syscall): Add `times' and `gettimeofday'.

23 years ago * openrisc.cpu (or32): Setup semantics for h-delay-insn to
jrydberg [Sat, 6 Jan 2001 15:44:00 +0000 (15:44 +0000)]
    * openrisc.cpu (or32): Setup semantics for h-delay-insn to
        current insn plus 4.
        (h-delay-insn): New hardware register.
        (l-jal): Uses h-delay-insn instead of pc when setting link register.
        (l-jalr): Likewise.
        (l-bal): Likewise.

        * openrisc.opc (parse_hi16): Sign extend value.
        (parse_lo16): Likewise.

23 years ago * configure.in: Define DEFAULT_ARCH for i386.
hubicka [Sat, 6 Jan 2001 12:36:03 +0000 (12:36 +0000)]
* configure.in: Define DEFAULT_ARCH for i386.
* tc-i386.c (md_assemble): Return after the error message;
move testing for 64bit operands to proper place.

* i386.exp: Add tests for presence of 32bit versus 64bit output
format; run both 64bit and 32bit tests when format is available;
add x86_64 test.
* x86_64.s: New file.
* x86_64.d: New file.

23 years ago2001-01-06 Ben Elliston <bje@redhat.com>
bje [Sat, 6 Jan 2001 12:11:09 +0000 (12:11 +0000)]
2001-01-06  Ben Elliston  <bje@redhat.com>

* utils-gen.scm (gen-sfmt-enum-decl): Use @prefix@ and @PREFIX@
instead of @cpu@ and @CPU@ to generically prefix symbol names.
* sim-cpu.scm (-gen-sem-fn-table-entry): Likewise.
(-gen-semantic-fn-table): Likewise.
(-gen-scache-semantic-fn): Likewise.
(-gen-no-scache-semantic-fn): Likewise.
(cgen-read.c): Likewise.
(cgen-sem-switch.c): Likewise.
* desc-cpu.scm (cgen-desc.c): Use @arch@, not @prefix@, since this
is a filename prefix.
* sim-decode.scm (IDESC-TABLE-VAR): Use @prefix@, et al.
(-gen-decode-insn-globals): Likewise.
(-gen-idesc-decls): Likewise.
(cgen-decode.h): Likewise.
(cgen-decode.c): Likewise.
* sim.scm (gen-cpu-insn-enum-decl): Likewise.
(gen-cpu-insn-enum): Likewise.
(sim-finish!): Likewise.

23 years ago2001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de>
aj [Sat, 6 Jan 2001 11:07:06 +0000 (11:07 +0000)]
2001-01-06  Jan Hubicka <jh@suse.cz>, Andreas Jaeger  <aj@suse.de>

* doc/as.texinfo: Document '#' as comment character for i386 and
x86_64. Add AMD x86-64 into menu of machine dependent information.

* doc/c-i386.texi: Document x86_64 extensions.

23 years ago2001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de>
aj [Sat, 6 Jan 2001 11:06:26 +0000 (11:06 +0000)]
2001-01-06  Jan Hubicka <jh@suse.cz>, Andreas Jaeger  <aj@suse.de>

* doc/as.texinfo: Document '#' as comment character for i386 and
x86_64. Add AMD x86-64 into menu of machine dependent information.

* doc/c-i386.texi: Document x86_64 extensions.

23 years agoFri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
jjohnstn [Sat, 6 Jan 2001 00:59:10 +0000 (00:59 +0000)]
Fri Jan  5 19:57:00 EST 2001  Aaron J. Grier  <aaron@frye.com>

        * src/newlib/configure.host (*-*-rtems*): add printf long long
        support for RTEMS.

23 years ago2001-01-05 Johan Rydberg <jrydberg@opencores.org>
jrydberg [Fri, 5 Jan 2001 14:34:06 +0000 (14:34 +0000)]
2001-01-05  Johan Rydberg  <jrydberg@opencores.org>

        * openrisc.cpu: New file.
        * openrisc.opc: Likewise.

23 years ago * tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
hubicka [Fri, 5 Jan 2001 12:30:09 +0000 (12:30 +0000)]
* tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
* i386.h (i386_optab): Make [sml]fence template to use immext field.

23 years ago * i386-dis.c: Add x86_64 support.
hubicka [Fri, 5 Jan 2001 11:11:54 +0000 (11:11 +0000)]
* i386-dis.c: Add x86_64 support.
(rex): New static variable.
(REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): New constants.
(USED_REX): New macro.
(Ev, Ed, Rm, Iq, Iv64, Cm, Dm, Rm*, Ob64, Ov64): New macros.
(OP_I64, OP_OFF64, OP_IMREG): New functions.
(OP_REG, OP_OFF): Declare.
(get64, get32, get32s): New functions.
(r??_reg): New constants.
(dis386_att): Change templates of instruction implicitly promoted
to 64bit; change e?? to RMe?? for unwind RM byte instructions.
(grps): Likewise.
(dis386_intel): Likewise.
(dixx86_64_att): New table based on dis386_att.
(dixx86_64_intel): New table based on dis386_intel.
(names64, names8rex): New global variable.
(names32, names16): Add extended registers.
(prefix_user_t): Recognize rex prefixes.
(prefix_name): Print REX prefixes nicely.
(op_riprel): New global variable.
(start_pc): Set type to bfd_vma.
(print_insn_i386): Detect the 64bit mode and use proper table;
move ckprefix after initializing the buffer; output unused rex prefixes;
output information about target of RIP relative addresses.
(putop): Support 'O' and 'I'. Update handling of "P', 'Q', 'R' and 'S';
(print_operand_value): New function.
(OP_E, OP_G, OP_REG, OP_I, OP_J, OP_DIR, OP_OFF, OP_D): Add support for
REX prefix and new modes.
(get64, get32s): New.
(get32): Return bfd_signed_vma type.
(set_op): Initialize the op_riprel.
* disassemble.c (disassembler): Recognize the x86-64 disassembly.

23 years ago * resource.cc (getrlimit): Set errno on EFAULT instead of returning it.
corinna [Fri, 5 Jan 2001 09:01:18 +0000 (09:01 +0000)]
    * resource.cc (getrlimit): Set errno on EFAULT instead of returning it.
        (setrlimit): Ditto.

        Patch by David Sainty <David.Sainty@optimation.co.nz>:
        * resource.cc (setrlimit): Prevent failing with an error when the
        operation would not have changed anything.

23 years ago2001-01-06 Ben Elliston <bje@redhat.com>
bje [Fri, 5 Jan 2001 04:36:09 +0000 (04:36 +0000)]
2001-01-06  Ben Elliston  <bje@redhat.com>

* cgen.sh: Allow extrafiles to include the semantics files when
generating an ISA-specific decoder.

23 years ago2001-01-04 Kazu Hirata <kazu@hxi.com>
kazu [Thu, 4 Jan 2001 23:27:07 +0000 (23:27 +0000)]
2001-01-04  Kazu Hirata  <kazu@hxi.com>

* som.c: Fix formatting.

23 years ago2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
msnyder [Thu, 4 Jan 2001 23:22:44 +0000 (23:22 +0000)]
2001-01-04  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

        * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.

23 years ago * tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
hubicka [Thu, 4 Jan 2001 21:27:55 +0000 (21:27 +0000)]
* tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
* NEWS: Add note about Pentium4 support.

23 years ago * valops.c (VALUE_SUBSTRING_START): Delete.
nsd [Thu, 4 Jan 2001 19:58:31 +0000 (19:58 +0000)]
* valops.c (VALUE_SUBSTRING_START): Delete.

23 years ago* thread.cc: Need LONG_MAX definition.
cgf [Thu, 4 Jan 2001 18:33:39 +0000 (18:33 +0000)]
* thread.cc: Need LONG_MAX definition.

23 years ago2001-01-04 Fernando Nasser <fnasser@redhat.com>
fnasser [Thu, 4 Jan 2001 17:55:47 +0000 (17:55 +0000)]
2001-01-04  Fernando Nasser  <fnasser@redhat.com>

The following changes fix the problem of having to click on a splash
window to make it disapear.
* modal.tcl (post): Take as an argument "expire", the time a modal
window is displayed.
* managedwin.itb (open): Check for an "expire" argument and pass the
value down to modal post method.

23 years ago2001-01-04 Fernando Nasser <fnasser@totem.toronto.redhat.com>
fnasser [Thu, 4 Jan 2001 17:27:02 +0000 (17:27 +0000)]
2001-01-04  Fernando Nasser  <fnasser@totem.toronto.redhat.com>

* library/gdbmenubar.itcl (set_class_state): New public method.
Standard method to control state by class.
(menubar_menu_class_find): Delete public accessor method.
(menubar_change_menu_state): Change the state of a menu item
not of a whole class list.
* library/srcmenubar.itcl (enable_ui): Use set_class_state instead
of prying into base class internal data.
        * library/gdbtoolbar.itcl (set_class_state): New public method.
        Standard method to control state by class.
        (toolbar_button_class_find): Delete public accessor method.
* library/srctoolbar.itcl (enable_ui): Use set_class_state instead
of prying into base class internal data.

23 years agoFix ChangeLog entry and commit typo (gdbmenubar should read srcmenubar).
fnasser [Thu, 4 Jan 2001 17:22:22 +0000 (17:22 +0000)]
Fix ChangeLog entry and commit typo (gdbmenubar should read srcmenubar).

23 years ago2001-01-04 Fernando Nasser <fnasser@totem.toronto.redhat.com>
fnasser [Thu, 4 Jan 2001 16:36:47 +0000 (16:36 +0000)]
2001-01-04  Fernando Nasser  <fnasser@totem.toronto.redhat.com>

* library/interface.tcl (gdbtk_connect): New proc. Connects to ai
 remote target (code previously at library/gdbmenubar.itcl).
(disconnect): Rename to...
(gdbtk_disconnect): New name for proc disconnect.
* library/gdbmenubar.itcl (do_connect): Remove the code mentioned
above and call the new interface proc gdbtk_connect.
Also, call ::update idletasks after changing the state of the
menu entries.
(do_detach): Call gdbtk_disconnect, not ::disconnect (old name).
(do_disconnect): Call gdbtk_disconnect, not disconnect (old name).

23 years ago * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
nsd [Thu, 4 Jan 2001 15:50:44 +0000 (15:50 +0000)]
* Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
(SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
(cli_utils_h): New variable.
(cli/cli-utils.o): New rule.
* cli/cli-utils.c: New file.
* cli/cli-utils.h: New file.

23 years ago * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
nsd [Thu, 4 Jan 2001 15:46:21 +0000 (15:46 +0000)]
* config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.

23 years ago * gdbint.texinfo (POP_FRAME): Document use by return_command.
nsd [Thu, 4 Jan 2001 15:39:28 +0000 (15:39 +0000)]
* gdbint.texinfo (POP_FRAME): Document use by return_command.

23 years ago2001-01-03 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 4 Jan 2001 01:00:11 +0000 (01:00 +0000)]
2001-01-03  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.cxx (restart_program): Added code to drive
        new "restart" output pin.
        * gdb.h (restart_pin): New output pin.

23 years ago2001-01-03 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 4 Jan 2001 00:59:47 +0000 (00:59 +0000)]
2001-01-03  Jeff Johnston  <jjohnstn@redhat.com>

        * configrun-sid.in: Imply --persistent if --gdb=xxxx specified.
        Also set gdb "exit-on-detach" setting if gdb specified and
        connect gdb restart pin to hw-reset-net.  This will cause hw reset
        if gdb restarts a program or if gdb terminates and is run again.

23 years ago2001-01-03 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 4 Jan 2001 00:59:24 +0000 (00:59 +0000)]
2001-01-03  Jeff Johnston  <jjohnstn@redhat.com>

        * arm-cma-tksm.conf: Regenerated.
        * arm-cma.conf: Ditto.
        * arm-gloss-tksm.conf: Ditto.
        * arm-gloss.conf: Ditto.
        * arm-glossBE.conf: Ditto.
        * arm-pid-cygmon-tksm.conf: Ditto.
        * arm-pid-cygmon.conf: Ditto.
        * arm-pid-tksm.conf: Ditto.
        * arm-pid.conf: Ditto.
        * arm-pidBE.conf: Ditto.

23 years ago2001-01-03 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 3 Jan 2001 22:53:38 +0000 (22:53 +0000)]
2001-01-03  Kazu Hirata  <kazu@hxi.com>

* ecoffswap.h: Fix formatting.
* elf-bfd.h: Likewise.
* elfarm-nabi.c: Likewise.
* elfarm-oabi.c: Likewise.
* elfcode.h: Likewise.
* elfcore.h: Likewise.
* elflink.c: Likewise.
* elflink.h: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-target.h: Likewise.

23 years ago* dummy commit to check listarch of sid-cvs
fche [Wed, 3 Jan 2001 22:16:03 +0000 (22:16 +0000)]
* dummy commit to check listarch of sid-cvs

23 years ago* alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in comment.
jtc [Wed, 3 Jan 2001 21:12:16 +0000 (21:12 +0000)]
* alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in comment.

23 years ago2001-01-03 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 3 Jan 2001 19:26:07 +0000 (19:26 +0000)]
2001-01-03  Kazu Hirata  <kazu@hxi.com>

* libbfd.c: Fix formatting.
* linker.c: Likewise.
* lynx-core.c: Likewise.

23 years ago* thread.cc (MTinterface::CreateSemaphore): Correctly set semaphore max.
cgf [Wed, 3 Jan 2001 18:50:25 +0000 (18:50 +0000)]
* thread.cc (MTinterface::CreateSemaphore): Correctly set semaphore max.

23 years ago * tc-i387.c (pi, pte, pt): Update.
hubicka [Wed, 3 Jan 2001 16:27:41 +0000 (16:27 +0000)]
* tc-i387.c (pi, pte, pt): Update.
(type_names): Add new types.

23 years ago * tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
hubicka [Wed, 3 Jan 2001 15:36:25 +0000 (15:36 +0000)]
* tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
CpuUnknown): Renumber
(CpuP4, CpuSSE2): New.
(CpuUnknownFlags): Add CpuP4 and CpuSSE2

* i386.h (i386_optab): Fix 64bit pushf template; Add instructions
introduced by Pentium4

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

* library/prefs.tcl (pref_set_defaults): Define gdb/src/top_control
to allow the source window controls to be placed at the top.
* library/srcwin.itb (_build_win): Test for gdb/src/top_control
and place the controls accordingly.

23 years ago* generalization
fche [Wed, 3 Jan 2001 15:10:26 +0000 (15:10 +0000)]
* generalization

2001-01-03  Richard Sandiford  <r.sandiford@redhat.com>

 cgen-dis.in (read_insn): Use bfd_get_bits()

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.