OSDN Git Service
J.T. Conklin [Tue, 23 Jan 2001 22:48:56 +0000 (22:48 +0000)]
* exec.c (xfer_memory): Add attrib argument.
* infptrace.c (child_xfer_memory): Likewise.
* monitor.c (monitor_xfer_memory): Likewise.
* remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
* remote-array.c (array_xfer_memory): Likewise.
* remote-bug.c (bug_xfer_memory): Likewise.
* remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
* remote-eb.c (eb_xfer_inferior_memory): Likewise.
* remote-es.c (es1800_xfer_inferior_memory): Likewise.
* remote-mips.c (mips_xfer_memory): Likewise.
* remote-mm.c (mm_xfer_inferior_memory): Likewise.
* remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
* remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
* remote-rdi.c (arm_rdi_xfer_memory): Likewise.
* remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
* remote-sds.c (sds_xfer_memory): Likewise.
* remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
* remote-st.c (st2000_xfer_inferior_memory): Likewise.
* remote-udi.c (udi_xfer_inferior_memory): Likewise.
* remote-vx.c (vx_xfer_memory): Likewise.
* remote.c (remote_xfer_memory): Likewise.
* target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
* target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
* target.h (#include "memattr.h"): Added.
(target_ops.to_xfer_memory): Add attrib argument.
* wince.c (_initialize_inftarg): Removed call to set_dcache_state.
* dcache.h (set_dcache_state): Removed declaration.
* dcache.c (set_dcache_state): Removed definition
* dcache.c: Update module comment, as dcache is now enabled and
disabled with memory region attributes instead of by the global
variable "remotecache". Add comment describing the interaction
between dcache and memory region attributes.
(dcache_xfer_memory): Add comment describing benefits of moving
cache writeback to a higher level.
(dcache_struct): Removed cache_has_stuff field. This was used to
record whether the cache had been accessed in order to invalidate
it when it was disabled. However, this is not needed because the
cache is write through and the code that enables, disables, and
deletes memory regions invalidate the cache. Add comment which
suggests that we could be more selective and only invalidate those
cache lines containing data from those memory regions.
(dcache_invalidate): Updated.
(dcache_xfer_memory): Updated.
(dcache_alloc): Don't abort() if dcache_enabled_p is clear.
(dcache_xfer_memory): Removed code that called do_xfer_memory() to
perform a uncached transfer if dcache_enabled_p was clear. This
function is now only called if caching is enabled for the memory
region.
(dcache_info): Always print cache info.
* target.c (do_xfer_memory): Add attrib argument.
(target_xfer_memory, target_xfer_memory_partial): Break transfer
into chunks defined by memory regions, pass region attributes to
do_xfer_memory().
* dcache.c (dcache_read_line, dcache_write_line): Likewise.
* Makefile.in (SFILES): Add memattr.c.
(COMMON_OBS): Add memattr.o.
(dcache.o): Add target.h to dependencies.
* memattr.c: New file.
* memattr.h: Likewise.
H.J. Lu [Tue, 23 Jan 2001 21:50:36 +0000 (21:50 +0000)]
2001-01-23 H.J. Lu <hjl@gnu.org>
* vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_buf)
is NULL or PRIV(vms_rec) is outside of the buffer.
Kazu Hirata [Tue, 23 Jan 2001 20:27:54 +0000 (20:27 +0000)]
2001-01-23 Kazu Hirata <kazu@hxi.com>
* aoutx.h: Fix formatting.
* bfd.c: Likewise.
* bfd-in2.h: Likewise.
* bfd-in.h: Likewise.
* cpu-i386.c: Likewise.
* cpu-m68hc11.c: Likewise.
* dwarf2.c: Likewise.
* elf64-x86-64.c: Likewise.
* format.c: Likewise.
* freebsd.h: Likewise.
* hash.c: Likewise.
* hp300hpux.c: Likewise.
* hppabsd-core.c: Likewise.
* hpux-core.c: Likewise.
J.T. Conklin [Tue, 23 Jan 2001 19:45:12 +0000 (19:45 +0000)]
* config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
* config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
* config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
* gdbserver/low-sim.c (#include "defs.h"): Removed.
(mygeneric_load): Rename from generic_load.
* gdbserver/low-hppabsd.c (#include "server.h"): Added.
(#include "defs.h"): Removed.
(inferior_pid, perror_with_name): Remove declarations.
* gdbserver/low-linux.c: Likewise.
* gdbserver/low-nbsd.c: Likewise.
* gdbserver/low-sparc.c: Likewise.
* gdbserver/low-sun3.c: Likewise.
* i386-stub.c: Re-indent.
* m68k-stub.c: Re-indent.
Kazu Hirata [Tue, 23 Jan 2001 11:45:53 +0000 (11:45 +0000)]
2001-01-23 Kazu Hirata <kazu@hxi.com>
* coff64-rs6000.c: Fix formatting.
* coff-arm.c: Likewise.
* coffgen.c: Likewise.
* cofflink.c: Likewise.
* coff-mcore.c: Likewise.
* coff-mips.c: Likewise.
* coff-pmac.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* elf32.c: Likewise.
* elf32-fr30.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-i860.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-sparc.c: Likewise.
* elflink.c: Likewise.
* elflink.h: Likewise.
* elf-m10200.c: Likewise.
* elf-m10300.c: Likewise.
* elfxx-ia64.c: Likewise.
Andreas Jaeger [Tue, 23 Jan 2001 10:49:50 +0000 (10:49 +0000)]
2001-01-22 Bo Thorsen <bo@suse.de>
* elf64-x86-64.c: Added PIC support for X86-64.
(elf64_x86_64_link_hash_newfunc): Function added.
(elf64_x86_64_link_hash_table_create): Likewise.
(elf64_x86_64_check_relocs): Likewise.
(elf64_x86_64_gc_mark_hook): Likewise.
(elf64_x86_64_gc_sweep_hook): Likewise.
(elf64_x86_64_adjust_dynamic_symbol): Likewise.
(elf64_x86_64_size_dynamic_sections): Likewise.
(elf64_x86_64_discard_copies): Likewise.
(elf64_x86_64_finish_dynamic_symbol): Likewise.
(elf64_x86_64_finish_dynamic_sections): Likewise.
(elf64_x86_64_relocate_section): Add relocation of PIC sections.
Nicholas Duffek [Mon, 22 Jan 2001 23:32:49 +0000 (23:32 +0000)]
* gdbarch.sh (PARM_BOUNDARY): Define.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
J.T. Conklin [Mon, 22 Jan 2001 20:23:25 +0000 (20:23 +0000)]
* ns32k-tdep.c: #include "frame.h"
* config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
appears to have been inadvertantly removed sometime in May 1999.
* Revert 2000-11-09 changes where shared library objects were
moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
we'd like to be able to debug dynamically linked executables,
this makes it impossible to build a cross debugger on a many
hosts.
* config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
* config/i386/nbsdelf.mt: Likewise.
* config/m68k/nbsd.mt: Likewise.
* config/ns32k/nbsd.mt: Likewise.
* config/powerpc/nbsd.mt: Likewise.
* config/sparc/nbsd.mt: Likewise.
* config/sparc/nbsdelf.mt: Likewise.
* config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
* config/i386/nbsdelf.mh: Likewise.
* config/m68k/nbsd.mh: Likewise.
* config/ns32k/nbsd.mh: Likewise.
* config/powerpc/nbsd.mh: Likewise.
* config/sparc/nbsd.mh: Likewise.
Andreas Jaeger [Mon, 22 Jan 2001 10:49:19 +0000 (10:49 +0000)]
Give credit for the last change to Philip instead of to Maciej.
Andreas Jaeger [Mon, 22 Jan 2001 09:41:40 +0000 (09:41 +0000)]
2001-01-21 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* Makefile.am (install-data-local): Make use of $(DESTDIR).
* Makefile.in: Regenerate.
Kazu Hirata [Sun, 21 Jan 2001 19:19:59 +0000 (19:19 +0000)]
2001-01-21 Kazu Hirata <kazu@hxi.com>
* coff-a29k.c: Fix formatting.
Mark Kettenis [Sun, 21 Jan 2001 15:07:05 +0000 (15:07 +0000)]
* mi-support.exp (mi_gdb_start): Skip mi tests if -i flag is
recognized (i.e. if GDB was compiled with UI_OUT, but the mi
interpreter wasn't recognized (because it wasn't compiled in).
Andreas Jaeger [Sat, 20 Jan 2001 16:57:28 +0000 (16:57 +0000)]
2001-01-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* Makefile.in (ETC_SUPPORT): Add configure.texi and friends.
H.J. Lu [Sat, 20 Jan 2001 06:08:35 +0000 (06:08 +0000)]
2001-01-19 H.J. Lu <hjl@gnu.org>
* elf32-i386.c (elf_i386_check_relocs): Report files with bad
relocation section names.
(elf_i386_relocate_section): Report files with bad relocation
section names and return false.
Fernando Nasser [Fri, 19 Jan 2001 16:09:10 +0000 (16:09 +0000)]
Fix previous checkout of this:
2001-01-18 Fernando Nasser <fnasser@redhat.com>
* library/srctextwin.itb (_highlightAsmLine): Add missing FUNCNAME
parameter.
(FillAssembly, FillMixed): Pass the FUNCNAME parameter that is
needed by the above method.
* library/srctextwin.ith (_highlightAsmLine): Add FUNCNAME parameter
to method definition.
Jason Merrill [Fri, 19 Jan 2001 14:53:44 +0000 (14:53 +0000)]
* dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
(process_one_symbol): Likewise.
* dwarfread.c (handle_producer): Likewise.
Fernando Nasser [Fri, 19 Jan 2001 14:24:54 +0000 (14:24 +0000)]
2001-01-19 Fernando Nasser <fnasser@redhat.com>
* library/prefs.tcl (pref_set_defaults): Set default value of
gdb/src/top_control to place the source window controls at the top.
Andrew Cagney [Fri, 19 Jan 2001 10:25:13 +0000 (10:25 +0000)]
Drop -Wuninitialized until GDB compiles with it.
Add list of buildable targets to the MAINTAINERS file.
Andrew Cagney [Fri, 19 Jan 2001 08:01:47 +0000 (08:01 +0000)]
Replace STRCMP with strcmp()
Andrew Cagney [Fri, 19 Jan 2001 05:45:16 +0000 (05:45 +0000)]
Replace FREEIF() with xfree().
Nick Clifton [Fri, 19 Jan 2001 04:08:52 +0000 (04:08 +0000)]
Add new arc core numbers.
Jim Blandy [Thu, 18 Jan 2001 23:38:26 +0000 (23:38 +0000)]
* symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
a mangled symbol rather than recursing into lookup_symbol, since
this will just re-unmangle the name & call lookup_symbol_aux -
leading to an infinite recursion.
Fernando Nasser [Thu, 18 Jan 2001 22:37:19 +0000 (22:37 +0000)]
2001-01-18 Fernando Nasser <fnasser@redhat.com>
* library/srctextwin.itb (_highlightAsmLine): Add missing FUNCNAME
parameter.
(FillAssembly, FillMixed): Pass the FUNCNAME parameter that is
needed by the above method.
* library/srctextwin.ith (_highlightAsmLine): Add FUNCNAME parameter
to method definition.
Mark Kettenis [Thu, 18 Jan 2001 16:11:22 +0000 (16:11 +0000)]
* infcmd.c (print_return_value): Restore another space lost by
switch to UIOUT. ``$NN='' should be ``$NN =''.
Andrew Cagney [Thu, 18 Jan 2001 15:42:24 +0000 (15:42 +0000)]
* target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
* breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
definition in parenthesis.
Andrew Cagney [Thu, 18 Jan 2001 15:29:11 +0000 (15:29 +0000)]
From Mark Salter, fix hw-breakpoint packet format.
Andreas Jaeger [Thu, 18 Jan 2001 07:47:51 +0000 (07:47 +0000)]
* targets.c: Alphabetize list of xvecs.
Fernando Nasser [Wed, 17 Jan 2001 23:45:06 +0000 (23:45 +0000)]
2001-01-17 Fernando Nasser <fnasser@redhat.com>
* library/srctextwin.itb (_highlightAsmLine): Add missing FILENAME
parameter.
(FillAssembly, FillMixed): Pass the FILENAME parameter that is
needed by the above method.
* library/srctextwin.ith (_highlightAsmLine): Add FILENAME parameter
to method definition.
J.T. Conklin [Wed, 17 Jan 2001 23:22:17 +0000 (23:22 +0000)]
* config/m68k/tm-nbsd.h (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
J.T. Conklin [Wed, 17 Jan 2001 23:07:15 +0000 (23:07 +0000)]
* config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
* config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
* m68knbsd-tdep.c: New file.
* i386nbsd-tdep.c: Remove #if 0'd out #includes.
* m68knbsd-nat.c: #include gdbcore.h.
Ben Elliston [Tue, 16 Jan 2001 23:03:19 +0000 (23:03 +0000)]
2001-01-17 Ben Elliston <bje@redhat.com>
* config/sid.exp: New file.
Andrew Cagney [Tue, 16 Jan 2001 22:45:48 +0000 (22:45 +0000)]
Add J.T. to blanket write privs list.
Michael Snyder [Tue, 16 Jan 2001 17:41:51 +0000 (17:41 +0000)]
2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
* procfs.c (procfs_stopped_by_watchpoint): Don't die if process
goes away -- just return false.
Michael Snyder [Tue, 16 Jan 2001 17:36:44 +0000 (17:36 +0000)]
2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
* source.c (openp): Fix typo in comment.
Andrew Cagney [Tue, 16 Jan 2001 05:30:31 +0000 (05:30 +0000)]
General cleanup.
Andrew Cagney [Tue, 16 Jan 2001 05:22:12 +0000 (05:22 +0000)]
Clarify dejagnu
Geoffrey Keating [Mon, 15 Jan 2001 23:24:30 +0000 (23:24 +0000)]
* emul_netbsd.c (do_open): Translate the flag parameter to the
open syscall to the numbers supported by the host.
Fernando Nasser [Mon, 15 Jan 2001 20:18:44 +0000 (20:18 +0000)]
2001-01-15 Fernando Nasser <fnasser@redhat.com>
* srcwin.itb (clear_file): Pass the appropriate value to the GO
argument of mode() so it does not try to read a source file when
no executable is loaded.
Chris Demetriou [Mon, 15 Jan 2001 19:16:57 +0000 (19:16 +0000)]
* MAINTAINERS: Added self and Andrew for the mips sim.
Jeff Johnston [Mon, 15 Jan 2001 18:20:18 +0000 (18:20 +0000)]
2001-01-15 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Put into source repository.
Ben Elliston [Mon, 15 Jan 2001 00:23:00 +0000 (00:23 +0000)]
* Tidy.
Ben Elliston [Mon, 15 Jan 2001 00:19:42 +0000 (00:19 +0000)]
2001-01-15 Ben Elliston <bje@redhat.com>
* configure.in (host_tools): Add sid.
Always configure cgen.
* Makefile.in (all-sid): New target.
(check-sid, clean-sid, install-sid): Likewise.
Fernando Nasser [Sun, 14 Jan 2001 23:15:43 +0000 (23:15 +0000)]
Add missing lines to entry.
Alan Modra [Sun, 14 Jan 2001 11:12:52 +0000 (11:12 +0000)]
Linux target variants for elfxx-hppa.
Alan Modra [Sun, 14 Jan 2001 07:03:48 +0000 (07:03 +0000)]
Use SEGREL32 relocs for elf32-hppa unwind.
Alan Modra [Sun, 14 Jan 2001 06:12:07 +0000 (06:12 +0000)]
Add parens like the comment says.
Alan Modra [Sun, 14 Jan 2001 05:58:15 +0000 (05:58 +0000)]
Correct DT_INIT/DT_FINI ABI violation
Alan Modra [Sun, 14 Jan 2001 05:22:51 +0000 (05:22 +0000)]
Wide mode .plt offsets for elf64-hppa
Alan Modra [Sun, 14 Jan 2001 05:14:45 +0000 (05:14 +0000)]
Adds assembly and dis-assembly support for the HPPA wide
mode, 16 bit forms of ldi, ldo, ldw and stw instructions.
Nick Clifton [Sat, 13 Jan 2001 19:45:52 +0000 (19:45 +0000)]
formatting fix
Nick Clifton [Sat, 13 Jan 2001 19:42:21 +0000 (19:42 +0000)]
formatting fix
Jan Hubicka [Sat, 13 Jan 2001 09:05:55 +0000 (09:05 +0000)]
* i386.c (md_assemble): Check cpu_flags even for nullary instructions.
* i386.h (i386_optab): Fix pusha and ret templates.
* i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret
templates.
Nicholas Duffek [Fri, 12 Jan 2001 20:43:35 +0000 (20:43 +0000)]
* blockframe.c (generic_get_saved_register): Spelling fix.
* frame.h (FRAME_FP): Spelling fix.
Frank Ch. Eigler [Fri, 12 Jan 2001 18:51:28 +0000 (18:51 +0000)]
* configury fix
[common/ChangeLog]
2001-01-12 Chris Demetriou <cgd@sibyte.com>
* aclocal.m4 (SIM_AC_OPTION_SCACHE): Properly
handle the case where a numeric value is supplied.
[eg. m32r/ChangeLog]
2001-01-12 Frank Ch. Eigler <fche@redhat.com>
* configure: Regenerated with sim_scache fix.
Andrew Cagney [Fri, 12 Jan 2001 09:45:57 +0000 (09:45 +0000)]
Restore missing space lost when switching to UI_OUT.
J.T. Conklin [Fri, 12 Jan 2001 03:44:32 +0000 (03:44 +0000)]
Shuffle ChangeLog files...
Alan Modra [Fri, 12 Jan 2001 03:34:47 +0000 (03:34 +0000)]
Cure recent x86 warts.
Nick Clifton [Thu, 11 Jan 2001 21:20:20 +0000 (21:20 +0000)]
Updated ARC assembler from arccores.com
Nick Clifton [Thu, 11 Jan 2001 19:01:42 +0000 (19:01 +0000)]
Rotate ChangeLogs
Nick Clifton [Thu, 11 Jan 2001 01:43:44 +0000 (01:43 +0000)]
fix spelling typo
Nick Clifton [Thu, 11 Jan 2001 01:43:20 +0000 (01:43 +0000)]
Change defn of LOCAL_LABEL_PREFIX to ""
Jan 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.
Jan 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.
Alan Modra [Wed, 10 Jan 2001 00:24:43 +0000 (00:24 +0000)]
Fix "movnti"
Phil Blundell [Tue, 9 Jan 2001 21:05:35 +0000 (21:05 +0000)]
Update address for bug reports.
Nick Clifton [Tue, 9 Jan 2001 20:29:48 +0000 (20:29 +0000)]
Fix disassembly of arm-elf instructions with relocs associated with them.
Jeff Johnston [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.
Jeff Johnston [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.
Fernando Nasser [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.
Nicholas Duffek [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().
Nicholas Duffek [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".
Christopher Faylor [Mon, 8 Jan 2001 14:57:30 +0000 (14:57 +0000)]
* rltty.c (save_tty_chars): Fix compilation-stopping typo.
Fernando Nasser [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.
Phil Blundell [Sun, 7 Jan 2001 14:53:57 +0000 (14:53 +0000)]
Update address for bug reports.
Andreas Jaeger [Sun, 7 Jan 2001 12:04:21 +0000 (12:04 +0000)]
* config.sub, config.guess: Update from subversions.
Jan Hubicka [Fri, 5 Jan 2001 12:30:12 +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.
Jan 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.
Ben Elliston [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.
Kazu Hirata [Thu, 4 Jan 2001 23:27:08 +0000 (23:27 +0000)]
2001-01-04 Kazu Hirata <kazu@hxi.com>
* som.c: Fix formatting.
Michael Snyder [Thu, 4 Jan 2001 23:22:45 +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.
Nicholas Duffek [Thu, 4 Jan 2001 19:58:32 +0000 (19:58 +0000)]
* valops.c (VALUE_SUBSTRING_START): Delete.
Fernando Nasser [Thu, 4 Jan 2001 17:55:48 +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.
Fernando Nasser [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.
Fernando Nasser [Thu, 4 Jan 2001 17:22:22 +0000 (17:22 +0000)]
Fix ChangeLog entry and commit typo (gdbmenubar should read srcmenubar).
Fernando Nasser [Thu, 4 Jan 2001 16:36:48 +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).
Nicholas Duffek [Thu, 4 Jan 2001 15:50:48 +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.
Nicholas Duffek [Thu, 4 Jan 2001 15:46:22 +0000 (15:46 +0000)]
* config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
Nicholas Duffek [Thu, 4 Jan 2001 15:39:28 +0000 (15:39 +0000)]
* gdbint.texinfo (POP_FRAME): Document use by return_command.
Kazu Hirata [Wed, 3 Jan 2001 22:53:39 +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.
J.T. Conklin [Wed, 3 Jan 2001 21:12:18 +0000 (21:12 +0000)]
* alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in comment.
Kazu Hirata [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.
Jan Hubicka [Wed, 3 Jan 2001 15:36:26 +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
Fernando Nasser [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.
Frank Ch. Eigler [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()
Fernando Nasser [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.
Fernando Nasser [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.
Fernando Nasser [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.
Michael Snyder [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
Michael Snyder [Tue, 2 Jan 2001 20:49:18 +0000 (20:49 +0000)]
Remove prototypes for obsolete static functions.
Michael Snyder [Tue, 2 Jan 2001 20:37:11 +0000 (20:37 +0000)]
* sparc-tdep.c: update copyright notice.