OSDN Git Service
Kevin Buettner [Tue, 29 Aug 2000 01:56:59 +0000 (01:56 +0000)]
Protoization.
Jim Wilson [Mon, 28 Aug 2000 22:08:36 +0000 (22:08 +0000)]
Fix segfault from last memory-leak fixing patch.
* ia64-dis.c (print_insn_ia64): Add failed label after ia64_free_opcode
call. Change last goto to use failed instead of done.
Mark Kettenis [Mon, 28 Aug 2000 21:54:37 +0000 (21:54 +0000)]
* i386-linux-nat.c (fetch_inferior_registers): Move call to
dummy_sse_values ...
(supply_fpregset): ... here.
Dave Brolley [Mon, 28 Aug 2000 18:20:30 +0000 (18:20 +0000)]
2000-08-28 Dave Brolley <brolley@redhat.com>
* Makefile.in: Use of @true confuses VPATH. Remove it.
* cpu.h: Regenerated.
* cpux.h: Regenerated.
* decode.c: Regenerated.
* decodex.c: Regenerated.
* model.c: Regenerated.
* modelx.c: Regenerated.
* sem-switch.c: Regenerated.
* sem.c: Regenerated.
* semx-switch.c: Regenerated.
Dave Brolley [Mon, 28 Aug 2000 18:19:41 +0000 (18:19 +0000)]
2000-08-28 Dave Brolley <brolley@redhat.com>
* cpu.h: Regenerated.
* decode.c: Regenerated.
Dave Brolley [Mon, 28 Aug 2000 18:18:49 +0000 (18:18 +0000)]
2000-08-28 Dave Brolley <brolley@redhat.com>
* cgen-trace.c (sim_cgen_disassemble_insn): Make sure entire insn is
in insn_value if it will fit.
Dave Brolley [Mon, 28 Aug 2000 18:17:54 +0000 (18:17 +0000)]
2000-08-28 Dave Brolley <brolley@redhat.com>
* cgen-ibld.in (cgen_put_insn_int_value): New function.
(insert_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
(insert_insn_normal): Use cgen_put_insn_int_value with CGEN_INT_INSN_P.
(extract_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
* cgen-dis.in (read_insn): New static function.
(print_insn): Use read_insn to read the insn into the buffer and set
up for disassembly.
(print_insn): in CGEN_INT_INSN_P, make sure that the entire insn is
in the buffer.
* fr30-asm.c: Regenerated.
* fr30-desc.c: Regenerated.
* fr30-desc.h Regenerated.
* fr30-dis.c: Regenerated.
* fr30-ibld.c: Regenerated.
* fr30-opc.c: Regenerated.
* fr30-opc.h Regenerated.
* m32r-asm.c: Regenerated.
* m32r-desc.c: Regenerated.
* m32r-desc.h Regenerated.
* m32r-dis.c: Regenerated.
* m32r-ibld.c: Regenerated.
* m32r-opc.c: Regenerated.
Kazu Hirata [Mon, 28 Aug 2000 16:37:55 +0000 (16:37 +0000)]
2000-08-28 Kazu Hirata <kazu@hxi.com>
* tic30-dis.c: Fix formatting.
Elena Zannoni [Sun, 27 Aug 2000 22:30:29 +0000 (22:30 +0000)]
2000-08-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* pa64solib.c (pa64_solib_load_symbols): Don't use ANOFFSET as an
lvalue.
* xcoffread.c (xcoff_symfile_offsets): Ditto
* somsolib.c (som_solib_section_offsets): Ditto.
* somread.c (som_symfile_offsets): Ditto.
* rs6000-nat.c (vmap_symtab): Ditto.
* remote-vx.c (vx_add_symbols): Ditto.
* remote-os9k.c (rombug_wait): Ditto.
Mark Kettenis [Sun, 27 Aug 2000 21:37:16 +0000 (21:37 +0000)]
* gregset.h: Protect against multiple inclusion. Remove some
redundant spaces.
Alan Modra [Sun, 27 Aug 2000 08:10:16 +0000 (08:10 +0000)]
Reclaim reloc space for symbols that have been forced local.
Christopher Faylor [Sun, 27 Aug 2000 04:21:35 +0000 (04:21 +0000)]
* win32-nat.c (dll_symbol_command): Tack a .dll on the end of a supplied
argument if it is missing an extension.
* corelow.c: Define O_BINARY if it isn't defined.
(core_open): Open core file in binary mode.
* config/i386/tm-cygwin.h (child_clear_solibs): Rename from child_clear_solib.
* config/i386/cygwin.mh: Add dependency from corelow.o.
* win32-nat.c (register_loaded_dll): New function. Add dll to the list of
currently loaded dlls.
(handle_load_dll): Use register_loaded_dll.
(child_solib_add): Distinguish between active process and core targets.
(solib_symbols_add): Load symbols from loaded dll.
(core_dll_symbols_add): New function. Load symbols from dll referenced in
core.
(core_section_load_dll_symbols): New function.
(dll_code_sections_add): New function.
(map_single_dll_code_section): New function.
(fetch_elf_core_registers): New function.
(_initialize_core_win32): New function.
Kazu Hirata [Sat, 26 Aug 2000 18:50:14 +0000 (18:50 +0000)]
2000-08-27 Kazu Hirata <kazu@hxi.com>
* sh-dis.c: Fix formatting.
Kevin Buettner [Sat, 26 Aug 2000 17:29:53 +0000 (17:29 +0000)]
Protoization.
Stephane Carrez [Sat, 26 Aug 2000 13:36:25 +0000 (13:36 +0000)]
Multi-arch support for 68hc11
David Taylor [Fri, 25 Aug 2000 21:03:00 +0000 (21:03 +0000)]
Fri Aug 25 16:57:05 2000 David Taylor <taylor@texas.cygnus.com>
* regcache.c (register_changed): New function.
* value.h: Declare it.
David Taylor [Fri, 25 Aug 2000 20:51:19 +0000 (20:51 +0000)]
Fri Aug 25 12:11:21 2000 David Taylor <taylor@texas.cygnus.com>
* symtab.c (search_symbols): Fix off by one error in index for
initializing variables ourtype, ourtype2, ourtype3, and ourtype4.
(symtab_symbol_info): fix similar off by one error.
Fri Aug 25 12:03:15 2000 David Taylor <taylor@texas.cygnus.com>
* gdbarch.sh (TARGET_ADDR_BIT): New macro for the number
of bits in gdb's representation of a target address.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbtypes.c (build_gdbtypes): Use TARGET_ADDR_BIT instead of
TARGET_PTR_BIT when initializing builtin_type_CORE_ADDR.
* printcmd.c (print_address_numeric): Use TARGET_ADDR_BIT instead
of TARGET_PTR_BIT, because we're printing an address, not a pointer.
Pierre Muller [Fri, 25 Aug 2000 07:54:32 +0000 (07:54 +0000)]
2000-08-24 Pierre Muller <muller@ics.u-strasbg.fr>
* Makefile.in: add rules to compile and link pascal specific files.
* config/djgpp/fnchange.lst: add substitution for p-exp.tab.c.
Geoffrey Keating [Thu, 24 Aug 2000 21:42:36 +0000 (21:42 +0000)]
2000-08-24 David Edelsohn <dje@watson.ibm.com>
* ppc-opc.c (powerpc_opcodes): Add rfid, mtsrd, mtsrdin, mtmsrd.
Nick Clifton [Thu, 24 Aug 2000 17:41:40 +0000 (17:41 +0000)]
Allow common symbols to have an alignment of 1 if explicitly requested, and
not overridden by other definitions.
Kazu Hirata [Thu, 24 Aug 2000 17:20:18 +0000 (17:20 +0000)]
2000-08-24 Kazu Hirata <kazu@hxi.com>
* z8k-dis.c: Fix formatting.
Andrew Cagney [Thu, 24 Aug 2000 10:48:22 +0000 (10:48 +0000)]
2000-08-20 Michael Chastain <chastain@redhat.com>
* remote.c (read_frame): Handle SERIAL_TIMEOUT while reading
checksum.
Kevin Buettner [Wed, 23 Aug 2000 16:37:23 +0000 (16:37 +0000)]
Protoize.
Eli Zaretskii [Wed, 23 Aug 2000 09:15:25 +0000 (09:15 +0000)]
* gdbmi.texinfo: Change flathead -> @sc{gdb/mi}.
Fix typos and markup mistakes (from Dmitry S.
Sivachenko <dima@Chg.RU>).
Nick Clifton [Tue, 22 Aug 2000 20:11:36 +0000 (20:11 +0000)]
Fix bugs detecting w65 architecture.
H.J. Lu [Tue, 22 Aug 2000 19:33:16 +0000 (19:33 +0000)]
2000-08-22 H.J. Lu <hjl@gnu.org>
* elf-bfd.h (elf_link_hash_table): Add runpath.
* bfd-in.h (bfd_elf_get_runpath_list): New prototype.
* bfd-in2.h: Rebuilt.
* elf.c (_bfd_elf_link_hash_table_init): Initialize the
"runpath" field to NULL.
(bfd_elf_get_runpath_list): New function.
* elflink.h (elf_link_add_object_symbols): Record DT_RPATH and
DT_RUNPATH entries.
Dave Brolley [Tue, 22 Aug 2000 19:27:32 +0000 (19:27 +0000)]
Forgot to check this in with last commit!
Alexandre Oliva [Tue, 22 Aug 2000 05:01:20 +0000 (05:01 +0000)]
* config-ml.in (CC, CXX): Avoid trailing whitespace.
(LD_LIBRARY_PATH, SHLIB_PATH): Adjust for multilibs and export to
sub-configures.
Alexandre Oliva [Tue, 22 Aug 2000 04:58:25 +0000 (04:58 +0000)]
* elf32-sh.c (sh_elf_relocate_section) [R_SH_IND12W,
R_SH_DIR8WPN, R_SH_DIR8WPZ, R_SH_DIR8WPL]: Handle them
explicitly. Improve validation of r_type.
Nick Clifton [Mon, 21 Aug 2000 23:42:56 +0000 (23:42 +0000)]
Zero out the dynamic allocated content space. Add a comment to remind us that
one day this ought to be fixed.
Jason Eckhardt [Mon, 21 Aug 2000 23:26:19 +0000 (23:26 +0000)]
2000-08-21 Jason Eckhardt <jle@cygnus.com>
bfd:
* elf32-i860.c (elf32_i860_relocate_pc16): Just write the immediate
field with the newly relocated value instead of adding it to the
existing immediate field.
(elf32_i860_relocate_splitn): Likewise.
(elf32_i860_relocate_highadj): Likewise.
gas:
* config/tc-i860.c (md_apply_fix3): Do not insert the immediate
if the fixup resulted in a relocation.
Kevin Buettner [Mon, 21 Aug 2000 17:30:58 +0000 (17:30 +0000)]
Protoization.
Frank Ch. Eigler [Mon, 21 Aug 2000 15:52:39 +0000 (15:52 +0000)]
* Contribute CGEN simulator build support code.
* Patch was posted by bje@redhat.com.
Doug Evans [Sun, 20 Aug 2000 22:56:17 +0000 (22:56 +0000)]
* Makefile.in (ALL_MODULES): Add all-cgen.
(CROSS_CHECK_MODULES,INSTALL_MODULES,CLEAN_MODULES): Similarily.
(all-cgen): New target.
(all-opcodes,all-sim): Depend on all-cgen.
* configure.in (host_tools): Add cgen.
Only configure cgen if --enable-cgen-maint.
Andrew Cagney [Sat, 19 Aug 2000 05:32:23 +0000 (05:32 +0000)]
Check arches->gdbarch and not current_gdbarch when looking for a match.
J.T. Conklin [Fri, 18 Aug 2000 22:52:23 +0000 (22:52 +0000)]
* MAINTAINERS: Add myself as dcache.c maintainer.
* remote-nindy.c (nindy_load): Invalidate dcache.
* dcache.c (dcache_invd): Renamed from dcache_flush. The term
flush with respect to caches usually implies that data will be
written to memory.
(dcache_init, dcache_xfer_memory): Updated.
* monitor.c (flush_monitor_dcache, monitor_resume, monitor_load):
Updated.
* ocd.c (ocd_open, ocd_resume, bdm_reset_command): Updated.
* remote-bug.c (bug_load, bug_resume): Updated.
* remote-nindy.c (nindy_open, nindy_resume): Updated.
* remote-sds.c (sds_open, sds_resume): Updated.
* remote-utils.c (gr_open): Updated.
* remote.c (remote_open_1, remote_resume, remote_async_resume,
remote_cisco_open): Updated.
* wince.c (child_create_inferior, child_resume): Updated.
* monitor.c (monitor_open): Free dcache before creating a new one.
* dcache.c (dcache_free): New function.
* dcache.h (dcache_free): New prototype.
-------------------------------------------------------------------
Andrew Cagney [Fri, 18 Aug 2000 22:02:43 +0000 (22:02 +0000)]
Add dummy params where needed.
Alexandre Oliva [Thu, 17 Aug 2000 15:18:39 +0000 (15:18 +0000)]
* config-ml.in (CC, CXX): Don't introduce a leading space.
Jim Wilson [Wed, 16 Aug 2000 23:20:15 +0000 (23:20 +0000)]
Fix 3 DV bugs, and a few minor cleanups.
gas/
* config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
postincrement modified registers. Handle IA64_OPND_R3_2 addl
source registers.
(note_register_values): Handle IA64_OPND_R3_2 operands.
gas/testsuite/
* gas/ia64/dv-raw-err.s: Add new tests for addl and postinc.
* gas/ia64/dv-raw-err.l: Likewise.
* gas/ia64/dv-waw-err.l: Update sed pattern.
* gas/ia64/opc-f.pl: Delete fpsub, and fpadd comment.
* gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate.
include/opcode/
* ia64.h (IA64_OPCODE_POSTINC): New.
opcodes/
* ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete
break, mov-immediate, nop.
* ia64-opc-f.c: Delete fpsub instructions.
* ia64-opc-m.c: Add POSTINC to all instructions with postincrement
address operand. Rewrite using macros to avoid long lines.
* ia64-opc.h (POSTINC): Define.
* ia64-asmtab.c: Regenerate.
Jason Eckhardt [Wed, 16 Aug 2000 21:58:55 +0000 (21:58 +0000)]
2000-08-16 Jason Eckhardt <jle@cygnus.com>
* elf32-i860.c (elf32_i860_relocate_pc16): Implemented function (it
was previously just a stub).
Alexandre Oliva [Wed, 16 Aug 2000 18:37:42 +0000 (18:37 +0000)]
* configure.in (libstdcxx_flags): Use
libstdc++-v3/src/libstdc++.INC.
Alexandre Oliva [Wed, 16 Aug 2000 18:02:16 +0000 (18:02 +0000)]
* elflink.c (_bfd_elf_create_got_section): Don't abort().
Formatting fixes.
(_bfd_elf_create_dynamic_sections): Likewise.
Jakub Jelinek [Wed, 16 Aug 2000 17:42:21 +0000 (17:42 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Set relocation address
for undefined symbols to be the beginning of the section.
* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Don't allocate
four extra entries at the beginning of the .rela.plt section.
(sparc64_elf_finish_dynamic_symbol): Adjust the offset in the .rela.plt
section to account for the four reserved entries in the .plt section.
H.J. Lu [Wed, 16 Aug 2000 17:29:23 +0000 (17:29 +0000)]
2000-08-15 H.J. Lu <hjl@gnu.org>
* i386.h: Swap the Intel syntax "movsx"/"movzx" due to the
IgnoreSize change.
Eli Zaretskii [Wed, 16 Aug 2000 08:03:43 +0000 (08:03 +0000)]
* value.h (struct value) <lazy>: Add a comment about its use for
watchpoints.
Geoffrey Keating [Wed, 16 Aug 2000 00:34:19 +0000 (00:34 +0000)]
* xcofflink.c (_bfd_ppc_xcoff_relocate_section): Add ori r0,r0,0
to the list of NOPs we recognize after a branch-and-link.
Use the ori NOP when one is needed.
* coff-rs6000.c (_bfd_xcoff_slurp_armap): Finish implementation
for large archives.
Jim Wilson [Tue, 15 Aug 2000 19:42:44 +0000 (19:42 +0000)]
Fix file corrupted before initial checkin.
* ia64-ic.tbl: Add missing entries.
Dave Brolley [Tue, 15 Aug 2000 18:49:50 +0000 (18:49 +0000)]
2000-08-15 Dave Brolley <brolley@redhat.com>
* sim-profile.c (profile_print_speed): Print cpu frequency if not zero.
Dave Brolley [Tue, 15 Aug 2000 18:39:02 +0000 (18:39 +0000)]
2000-08-15 Dave Brolley <brolley@redhat.com>
* sim-profile.h (PROFILE_DATA): Add cpu_freq.
(PROFILE_CPU_FREQ): New macro.
* sim-profile.c (OPTION_PROFILE_CPU_FREQUENCY): New enumerator.
(profile-options): Add profile-cpu-frequency.
(parse_frequency): New function.
(profile_option_handler): Handle OPTION_PROFILE_CPU_FREQUENCY.
(profile_print_speed): Print cpu frequency and simulated execution time.
Re-indent other items to match.
Alexandre Oliva [Tue, 15 Aug 2000 08:01:29 +0000 (08:01 +0000)]
* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.
Nick Clifton [Tue, 15 Aug 2000 00:10:52 +0000 (00:10 +0000)]
Compute write back value for post increment loads before
performing the load in case the offset register is overwritten.
Jim Wilson [Mon, 14 Aug 2000 20:13:39 +0000 (20:13 +0000)]
Add support for IA-64 specific elf header flags.
bfd/
2000-08-14 Jim Wilson <wilson@cygnus.com>
* elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle
EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP.
(elf64_ia64_print_private_bfd_data): Likewise. Also handle
EF_IA_64_ABSOLUTE.
gas/
2000-08-14 Jim Wilson <wilson@cygnus.com>
* config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
(md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
(md_begin): Change assignment to md.flag to OR in the new bit.
include/elf/
2000-08-14 Jim Wilson <wilson@cygnus.com>
* elf/ia64.h (EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP,
EF_IA_64_NOFUNCDESC_CONS_GP, EF_IA_64_ABSOLUTE): Define.
Kevin Buettner [Sun, 13 Aug 2000 01:22:17 +0000 (01:22 +0000)]
Protoization.
Andrew Cagney [Sat, 12 Aug 2000 03:28:42 +0000 (03:28 +0000)]
Add formatted register info.
Convert more of mn10300 to multi-arch.
Fix mips vs mn10300
Jason Merrill [Sat, 12 Aug 2000 00:49:39 +0000 (00:49 +0000)]
* configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
CXX_FOR_TARGET): Add -B$$r/gcc/ here.
(FLAGS_FOR_TARGET): Not here.
(CHILL_FOR_TARGET, CXX_FOR_TARGET): Don't check the list of languages.
Mark Kettenis [Fri, 11 Aug 2000 19:45:21 +0000 (19:45 +0000)]
* i386-linux-nat.c [! HAVE_PTRACE_GETFPXREGS] (fetch_fpxregs,
store_fpxregs): Return 0.
Andrew Cagney [Fri, 11 Aug 2000 19:09:55 +0000 (19:09 +0000)]
Restore GET_SAVED_REGISTERS
Stephane Carrez [Fri, 11 Aug 2000 18:44:59 +0000 (18:44 +0000)]
Use address mapping levels for 68hc11 simulator (kill overlap hack)
J.T. Conklin [Fri, 11 Aug 2000 14:47:38 +0000 (14:47 +0000)]
* dcache.c (dcache_info): Don't print cache state if last_cache
is NULL.
Alexandre Oliva [Fri, 11 Aug 2000 14:35:41 +0000 (14:35 +0000)]
* elf32-sh.c (sh_elf_set_mach_from_flags): Make it static.
Andrew Cagney [Fri, 11 Aug 2000 07:54:49 +0000 (07:54 +0000)]
Enable multi-arch for the mn10300.
Mark Kettenis [Fri, 11 Aug 2000 04:51:00 +0000 (04:51 +0000)]
Adapt support for SSE registers in Linux/x86 for Linux 2.4.
* i386-linux-nat.c: Various doc fixes. Include "i387-nat.h".
(GETFPXREGS_SUPPLIES): Renamed from GETXFPREGS_SUPPLIES.
(have_ptrace_getfpxregs): Renamed from have_ptrace_getxfpregs.
(convert_to_gregset): Removed. Moved logic to ...
(fill_gregset): ... here. Simplified function.
(fetch_regs): Use perror_with_name for error reporting.
(store_regs): Add `regno' parameter. Use perror_with_name for
error reporting. Call fill_gregset instead of convert_to_gregset.
(FPREG_ADDR): Remove.
(supply_fpregset): Implement by calling i387_supply_fsave.
(convert_to_fpregset): Remove.
(fill_fpregset): Implement by calling i387_fill_fsave.
(fetch_fpregs): Use perror_with_name fro error reporting.
(store_fpregs) Add `regno' parameter. Use perror_with_name fro
error reporting. Call fill_fpregset instead of
convert_to_fpregset.
(supply_xfpregset, convert_to_xfpregset): Removed.
(supply_fpxregset, fill_fpxregset): New functions.
(fetch_fpxregs): Renamed from fetch_xfpregs. Use perror_with_name
for error reporting. Call supply_fpxregset instead of
supply_xfpregset.
(store_xfpregs): Removed.
(store_fpxregs): New function.
(fetch_inferior_registers): Adjust for xfp -> fpx change. Tweak
message in call to internal_error.
(store_inferior_registers): Adjust for xfp ->fpx change. Pass
REGNO to store_regs, store_fpregs and store_fpxregs.
(fetch_core_registers): Adjust for xfp -> fpx change.
* acconfig.h (HAVE_PTRACE_GETFPXREGS): Renamed from
HAVE_PTRACE_GETXFPREGS.
* config.in: Regenerated.
* configure.in: Replace check for PTRACE_GETXFPREGS with check for
PTRACE_GETFPXREGS. Remove comment about Cygnus SSE extensions.
* configure: Regenerated.
* config/i386/linux.mh (NATDEPFILES): Add i387-nat.o.
* config/i386/tm-linux.h: Base definition of HAVE_SSE_REGS on
HAVE_PTRACE_GETFPXREGS instead of HAVE_PTRACE_GETXFPREGS.
Andrew Cagney [Fri, 11 Aug 2000 03:19:22 +0000 (03:19 +0000)]
* regcache.c (TARGET_WRITE_PC, TARGET_READ_PC, TARGET_READ_FP,
TARGET_WRITE_FP, TARGET_READ_SP, TARGET_WRITE_SP): Move
initialization from here.
* gdbarch.sh: To here.
* gdbarch.h, gdbarch.c: Regenerate.
Andrew Cagney [Fri, 11 Aug 2000 02:55:38 +0000 (02:55 +0000)]
Move TARGET_*_PTR to gdbarch.h.
Kazu Hirata [Fri, 11 Aug 2000 02:03:02 +0000 (02:03 +0000)]
2000-08-10 Kazu Hirata <kazu@hxi.com>
* compile.c (decode): Clean up the code.
Andrew Cagney [Fri, 11 Aug 2000 01:47:47 +0000 (01:47 +0000)]
Eliminate redundant pst test.
Andrew Cagney [Fri, 11 Aug 2000 01:30:11 +0000 (01:30 +0000)]
Rename gdbarch_update() to gdbarch_update_p()
Jimmy Guo [Fri, 11 Aug 2000 01:02:35 +0000 (01:02 +0000)]
2000-08-10 Jimmy Guo <guo@cup.hp.com>
* c-lang.c: Set case sensitivity on for c_language_defn,
cplus_language_defn, and asm_language_defn.
* ch-lang.c: Set case sensitivity on for chill_language_defn.
* f-lang.c: Set case sensivitity off for f_language_defn.
* jv-lang.c: Set case sensitivity on for java_language_defn.
* language.h: Add enum case_mode, case_sensitivity.
* language.c: Define case_mode, case_sensitivity. Set case
sensitivity on for unknown_language_defn, auto_language_defn,
and local_language_defn.
(show_case_command,set_case_command,set_case_str): New static func.
(set_type_range_case): New static func, replaces set_type_range ().
(set_language_command,set_type_command,set_range_command,set_language):
Call set_type_range_case ().
(language_info): Print case sensitivity setting.
(_initialize_language): Add set/show commands for 'case-sensitive'.
Set default case mode 'auto'. Set default language 'auto'.
* m2-lang.c: Set case sensitivity on for m2_language_defn.
* p-lang.c: Set case sensitivity on for pascal_language_defn.
* scm-lang.c: Set case sensitivity off for scm_language_defn.
* symtab.c (lookup_symbol): Downcase symbol name if case sensivitity
is off.
Andrew Cagney [Fri, 11 Aug 2000 00:48:51 +0000 (00:48 +0000)]
Eliminate use of MIN().
Jimmy Guo [Fri, 11 Aug 2000 00:25:19 +0000 (00:25 +0000)]
Update my contact email for hp tests maintainership.
Andrew Cagney [Thu, 10 Aug 2000 23:53:45 +0000 (23:53 +0000)]
* sparc-tdep.c (sparc_init_extra_frame_info): Fix number of
arguments to fetch_instruction.
Kazu Hirata [Thu, 10 Aug 2000 21:37:46 +0000 (21:37 +0000)]
2000-08-10 Kazu Hirata <kazu@hxi.com>
* gdba.el: Fix a typo.
Kazu Hirata [Thu, 10 Aug 2000 21:17:46 +0000 (21:17 +0000)]
2000-08-10 Kazu Hirata <kazu@hxi.com>
* hppa_tdep.c: Fix a comment typo.
Jason Eckhardt [Thu, 10 Aug 2000 21:09:42 +0000 (21:09 +0000)]
2000-08-10 Jason Eckhardt <jle@cygnus.com>
* elf32-i860.c (elf32_i860_relocate_section): New function.
(i860_final_link_relocate): New function.
(elf32_i860_relocate_splitn): New function.
(elf32_i860_relocate_pc16): New function.
(elf32_i860_relocate_highadj): New function.
(elf32_i860_howto): Minor adjustments to some relocations.
(elf_info_to_howto_rel): Define.
(elf_backend_relocate_section): Define.
Nick Clifton [Thu, 10 Aug 2000 19:41:07 +0000 (19:41 +0000)]
Fix formatting
Tom Tromey [Thu, 10 Aug 2000 19:02:06 +0000 (19:02 +0000)]
* MAINTAINERS: Added myself with write-after-approval access.
Fernando Nasser [Thu, 10 Aug 2000 19:00:06 +0000 (19:00 +0000)]
2000-08-10 Fernando Nasser <fnasser@cygnus.com>
* targetselection.itb (init_target_db): Add 115200 baud option to
target remote.
J.T. Conklin [Thu, 10 Aug 2000 18:54:27 +0000 (18:54 +0000)]
* monitor.c (monitor_open): If a dcache has already been created,
invalidate it rather than creating another.
* ocd.c (ocd_open): Likewise.
* remote-nindy.c (nindy_open): Likewise.
* remote-sds.c (sds_open): Likewise.
* remote-utils.c (gr_open): Likewise.
* remote.c (remote_open_1, remote_cisco_open): Likewise.
* dcache.c (dcache_alloc): Changed to take address of line as an
argument, and to invalidate cache line before returning.
(dcache_peek_byte): Updated.
(dcache_poke_byte): Updated.
-------------------------------------------------------------------
Elena Zannoni [Thu, 10 Aug 2000 18:26:56 +0000 (18:26 +0000)]
2000-08-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Greg McGary <greg@mcgary.org>:
* partial-stab.h: Don't crash if pst is null.
Mark Kettenis [Thu, 10 Aug 2000 17:04:33 +0000 (17:04 +0000)]
Adapt support for SSE registers in Linux/x86 for Linux 2.4.
* i386-linux-nat.c: Various doc fixes. Include "i387-nat.h".
(GETFPXREGS_SUPPLIES): Renamed from GETXFPREGS_SUPPLIES.
(have_ptrace_getfpxregs): Renamed from have_ptrace_getxfpregs.
(convert_to_gregset): Removed. Moved logic to ...
(fill_gregset): ... here. Simplified function.
(fetch_regs): Use perror_with_name for error reporting.
(store_regs): Add `regno' parameter. Use perror_with_name for
error reporting. Call fill_gregset instead of convert_to_gregset.
(FPREG_ADDR): Remove.
(supply_fpregset): Implement by calling i387_supply_fsave.
(convert_to_fpregset): Remove.
(fill_fpregset): Implement by calling i387_fill_fsave.
(fetch_fpregs): Use perror_with_name fro error reporting.
(store_fpregs) Add `regno' parameter. Use perror_with_name fro
error reporting. Call fill_fpregset instead of
convert_to_fpregset.
(supply_xfpregset, convert_to_xfpregset): Removed.
(supply_fpxregset, fill_fpxregset): New functions.
(fetch_fpxregs): Renamed from fetch_xfpregs. Use perror_with_name
for error reporting. Call supply_fpxregset instead of
supply_xfpregset.
(store_xfpregs): Removed.
(store_fpxregs): New function.
(fetch_inferior_registers): Adjust for xfp -> fpx change. Tweak
message in call to internal_error.
(store_inferior_registers): Adjust for xfp ->fpx change. Pass
REGNO to store_regs, store_fpregs and store_fpxregs.
(fetch_core_registers): Adjust for xfp -> fpx change.
* acconfig.h (HAVE_PTRACE_GETFPXREGS): Renamed from
HAVE_PTRACE_GETXFPREGS.
* config.in: Regenerated.
* configure.in: Replace check for PTRACE_GETXFPREGS with check for
PTRACE_GETFPXREGS. Remove comment about Cygnus SSE extensions.
* configure: Regenerated.
* config/i386/linux.mh (NATDEPFILES): Add i387-nat.o.
* config/i386/tm-linux.h: Base definition of HAVE_SSE_REGS on
HAVE_PTRACE_GETFPXREGS instead of HAVE_PTRACE_GETXFPREGS.
Fernando Nasser [Thu, 10 Aug 2000 16:02:52 +0000 (16:02 +0000)]
2000-08-10 Fernando Nasser <fnasser@cygnus.com>
* targetselection.itb (change_baud): Don't set baud for ETX.
Fernando Nasser [Thu, 10 Aug 2000 15:59:55 +0000 (15:59 +0000)]
Fix typos.
Fernando Nasser [Thu, 10 Aug 2000 15:55:06 +0000 (15:55 +0000)]
2000-08-10 Fernando Nasser <fnasser@cygnus.com>
* srctextwin.itb (jump_to_here): New method. Implements the
"Jump to Here" popup menu option.
(build_popups): Add the "Jump to Here" option to the popup menu.
* srctextwin.ith: Add declaration of jump_to_here().
Mark Kettenis [Thu, 10 Aug 2000 14:54:51 +0000 (14:54 +0000)]
* i387-nat.h (i387_supply_fsave, i387_fill_fsave): Make extern.
(i387_supply_fxsave, i387_fill_fxsave): New prototypes.
* i387-nat.c (i387_supply_fsave): Declare `val' as `unsigned int'.
(fxsave_offset): New variable.
(FXSAVE_ADDR): New macro.
(i387_supply_fxsave, i387_fill_fxsave, i387_tag): New functions.
Mark Kettenis [Thu, 10 Aug 2000 13:42:29 +0000 (13:42 +0000)]
* gdbint.texinfo (Overall Structure): Spelling fix.
Eli Zaretskii [Thu, 10 Aug 2000 11:05:52 +0000 (11:05 +0000)]
* gdbint.texinfo (Target Architecture Definition): Document that
REGISTER_CONVERT_TO_VIRTUAL should only be called on a register
for which REGISTER_CONVERTIBLE returns a zero value.
Bernd Schmidt [Thu, 10 Aug 2000 10:00:56 +0000 (10:00 +0000)]
Fix bug in sh_elf_reloc_loop
Tom Tromey [Thu, 10 Aug 2000 08:42:10 +0000 (08:42 +0000)]
* jv-valprint.c (java_value_print): Only print non-null Strings.
Kevin Buettner [Thu, 10 Aug 2000 00:58:09 +0000 (00:58 +0000)]
Protoization.
Fernando Nasser [Wed, 9 Aug 2000 21:01:51 +0000 (21:01 +0000)]
2000-08-09 Fernando Nasser <fnasser@cygnus.com>
* srctxtwin.itb (FillSource): Add comments.
Michael Snyder [Wed, 9 Aug 2000 20:09:01 +0000 (20:09 +0000)]
2000-08-09 Michael Snyder <msnyder@cleaver.cygnus.com>
* blockframe.c (sigtramp_saved_pc): Use dynamic allocation,
since TARGET_PTR_BIT is no longer a constant (MULTI_ARCH).
* irix4-nat.c (get_longjmp_target): Ditto.
* irix5-nat.c (get_longjmp_target): Ditto.
* jv-valprint.c (java_value_print): Ditto.
* m3-nat.c (get_cprocs): Ditto.
* m68k-tdep.c (get_longjmp_target): Ditto.
* mips-nat.c (get_longjmp_target): Ditto.
* mipsv4-nat.c(get_longjmp_target): Ditto.
* pa64solib.c (read_dynamic_info): Ditto.
* solib.c (elf_locate_base): Ditto.
Alexandre Oliva [Wed, 9 Aug 2000 18:42:04 +0000 (18:42 +0000)]
* am33.igen: Warning clean-up.
(movm): Initialize PC and mask.
(mov, movbu, movhu): Set srcreg2 from RI0.
(bsch): Initialize c.
(sat16_cmp): Actually do the comparison.
(mov_llt): Do not overwrite dstreg with uninitialized variable.
Jason Eckhardt [Wed, 9 Aug 2000 03:35:46 +0000 (03:35 +0000)]
2000-08-08 Jason Eckhardt <jle@cygnus.com>
* i860-dis.c (print_br_address): Change third argument from int
to long.
Jason Eckhardt [Wed, 9 Aug 2000 03:33:42 +0000 (03:33 +0000)]
gas:
2000-08-08 Jason Eckhardt <jle@cygnus.com>
* config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
(i860_fix_info): New enum.
(MD_APPLY_FIX3): Define.
(WORKING_DOT_WORD): Define.
(TC_HANDLES_FX_DONE): Define.
(DIFF_EXPR_OK): Define.
(LISTING_HEADER): Define.
(TARGET_FORMAT): Select target format based on endian flag.
(TARGET_BYTES_BIG_ENDIAN): Default to little endian.
(target_big_endian): Add external declaration.
* config/tc-i860.c: All existing code reworked completely. Other
new code shown below.
(SYNTAX_SVR4): Define.
(target_warn_expand): New variable.
(md_shortopts): Declare and define (-Qy, -Qn, and -V options).
(md_longopts): Declare and define with new options (-EL, -EB,
and -mwarn-expand).
(md_show_usage): New function.
(md_operand): New function.
(obtain_reloc_for_imm16): New function.
(md_apply_fix3): New function.
(tc_gen_reloc): New function.
include:
2000-08-08 Jason Eckhardt <jle@cygnus.com>
* opcode/i860.h: Small formatting adjustments.
opcode:
2000-08-08 Jason Eckhardt <jle@cygnus.com>
* i860-dis.c (print_br_address): Change third argument from int
to long.
bfd:
2000-08-08 Jason Eckhardt <jle@cygnus.com>
* elf32-i860.c (elf32_i860_howto_table): Updated some fields.
Fernando Nasser [Tue, 8 Aug 2000 22:24:26 +0000 (22:24 +0000)]
2000-08-08 Fernando Nasser <fnasser@cygnus.com>
* srctxtwin.itb (FillSource): Add comments.
Fernando Nasser [Tue, 8 Aug 2000 22:14:16 +0000 (22:14 +0000)]
2000-08-08 Fernando Nasser <fnasser@cygnus.com>
* srctxtwin.itb (LoadFromCache): Do not cache if cannot stat the file.
This lead to problems trying to access a incomplete cache entry later.
David Taylor [Tue, 8 Aug 2000 03:23:14 +0000 (03:23 +0000)]
remove build_parse entry about buffer overrun.
Kevin Buettner [Tue, 8 Aug 2000 00:17:39 +0000 (00:17 +0000)]
Protoize.
Richard Henderson [Mon, 7 Aug 2000 21:44:26 +0000 (21:44 +0000)]
* ia64-dis.c (print_insn_ia64): Get byte skip count correct
for MLI templates. Handle IA64_OPND_TGT64.
Kazu Hirata [Mon, 7 Aug 2000 19:46:11 +0000 (19:46 +0000)]
Apply Nick Clifton's suggestion.