deliverable/binutils-gdb.git
24 years ago * rs6000-tdep.c: Changes throughout for multi-arch 64-bit
Nicholas Duffek [Fri, 16 Jun 2000 21:02:22 +0000 (21:02 +0000)] 
* rs6000-tdep.c: Changes throughout for multi-arch 64-bit
support.  Incorporate most of tm-rs6000.h.
(find_toc_address_hook): Rename to rs6000_find_toc_address_hook.
(rs6000_set_host_arch_hook): Declare.
(read_memory_addr): Define.
(pop_frame): Rename to rs6000_pop_frame.
(rs6000_pop_frame, rs6000_fix_call_dummy, rs6000_push_arguments,
rs6000_frame_saved_pc, rs6000_frame_chain): Remove non-generic
dummy frame handling.
(branch_dest, rs6000_pop_frame, rs6000_skip_trampoline_code,
rs6000_frame_saved_pc, frame_get_saved_regs,
frame_initial_stack_address, rs6000_frame_chain,
rs6000_convert_from_func_ptr_addr): Call read_memory_addr instead
of read_memory_integer.
(branch_dest, rs6000_pop_frame, rs6000_push_arguments,
rs6000_skip_trampoline_code, rs6000_frame_saved_pc,
frame_get_saved_regs, frame_initial_stack_address,
rs6000_frame_chain): Replace 4 with TDEP->wordsize.
(skip_prologue): Recognize some 64-bit stack adjustments.
(push_dummy_frame, pop_dummy_frame, set_processor,
show_processor): Delete.
(frame_get_saved_regs): Manipulate saved register addresses using
CORE_ADDR instead of int.
(rs6000_create_inferior): New function.
(register_names_*[]): Change to struct reg registers_*[].
(variants[]): Assimilate into multi-arch approach.
(register_names_*[], variants[]): Refer to pre-PowerPC
architectures as POWER instead of RS6000.
* rs6000-nat.c: Ubiquitous changes for 64-bit support.
(vmap_secs, xcoff_relocate_symtab): Cast addresses
to unsigned long to avoid sign-extension errors.
(set_host_arch): New function.
(xcoff_relocate_symtab): Try disabling usleep(36000) workaround.
(rs6000_core_fns): Use new bfd_target_xcoff_flavour.
(_initialize_core_rs6000): Initialize rs6000_set_host_arch_hook.
* symfile.c (find_sym_fns): Remove special xcoff kludge.
* xcoffread.c (secnum_to_bfd_section): Initialize args.objfile.
(process_linenos): Query line struct size from coff
backend instead of using compile-time constant.
(enter_line_range): Likewise.
(read_xcoff_symtab): Pass "XCOFF64" instead of "XCOFF" to
record_debugformat() if appropriate.
(process_xcoff_symbol): Access symbol addresses using
SYMBOL_VALUE_ADDRESS instead of SYMBOL_VALUE.
(read_symbol_lineno): Retrieve XCOFF64 symbol names from strtbl.
(scan_xcoff_symtab): Likewise.  Query syment struct size from
coff backend instead of using compile-time constant.
(xcoff_sym_fns): Set flavour to bfd_target_xcoff_flavour.
* Makefile.in (INTERNAL_LDFLAGS): Add $(MH_LDFLAGS) to list of flags
that this Makefile variable get set to.  (From Kevin Buettner.)
* config/powerpc/aix.mh (MH_LDFLAGS): Add linker flags so that
the TOC doesn't overflow.  (From Kevin Buettner.)
* config/powerpc/tm-ppc-aix.h: Move config decisions to
multi-arched rs6000-tdep.c.
* config/rs6000/tm-rs6000.h: Likewise.
(GDB_MULTI_ARCH): Define.
(skip_trampoline_code): Rename to rs6000_skip_trampoline_code.
(is_magic_function_pointer): Replace with
rs6000_convert_from_func_ptr_addr.
(TARGET_CREATE_INFERIOR_HOOK): Define.
(find_toc_address_hook): Rename to rs6000_find_toc_address_hook.
(rs6000_set_host_arch_hook): Declare.
* config/rs6000/nm-rs6000.h (CHILD_XFER_MEMORY): Define.

24 years ago * disassemble.c (disassembler): Refer to the PowerPC 620 using
Nicholas Duffek [Fri, 16 Jun 2000 20:46:47 +0000 (20:46 +0000)] 
* disassemble.c (disassembler): Refer to the PowerPC 620 using
bfd_mach_ppc_620 instead of 620.

24 years ago * archures.c (enum bfd_architecture): #define constants for
Nicholas Duffek [Fri, 16 Jun 2000 20:45:33 +0000 (20:45 +0000)] 
* archures.c (enum bfd_architecture): #define constants for
PowerPc and RS6000 machine numbers.
* bfd-in2.h: Regenerate.
* coffcode.h (coff_set_arch_mach_hook): #ifdef XCOFF64, set arch
to bfd_arch_powerpc instead of bfd_arch_rs6000.  Refer to PowerPc
and RS6000 machine numbers using #defined constants from
archures.c.
* cpu-powerpc.c (arch_info_struct): Refer to PowerPc and RS6000
machine numbers using #defined constants from archures.c.  Add
entries for EC603e, 630, A35, RS64II, RS64III, 7400.  Specify
64-bit words in 620 entry.
* cpu-rs6000.c (arch_info_struct): Create with entries for RS1,
RSC, and RS2.
(bfd_rs6000_arch): Change default machine to 0 (bfd_mach_rs6k).

24 years ago * coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64.
Nicholas Duffek [Fri, 16 Jun 2000 20:40:50 +0000 (20:40 +0000)] 
* coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64.
* libcoff-in.h (struct xcoff_tdata): Define xcoff64 field.
* libcoff.h (struct xcoff_tdata): Define xcoff64 field.

24 years ago * bfd-in.h (bfd_family_coff): Define.
Nicholas Duffek [Fri, 16 Jun 2000 20:35:08 +0000 (20:35 +0000)] 
* bfd-in.h (bfd_family_coff): Define.
* bfd-in2.h: Regenerate.
* coffgen.c (coff_count_linenumbers, coff_symbol_from,
coff_find_nearest_line): Check COFFness using bfd_family_coff()
instead of bfd_target_coff_flavour.
* cofflink.c (_bfd_coff_final_link): Likewise.
* cpu-ns32k.c (do_ns32k_reloc): Don't strcmp() target name to
exclude XCOFF files.
* reloc.c (bfd_perform_relocation, bfd_install_relocation):
Likewise.
* targets.c (enum bfd_flavour): Add bfd_target_xcoff_flavour.
* xcoff-target.h (TARGET_SYM): Use bfd_target_xcoff_flavour.
* xcofflink.c (XCOFF_XVECP): Delete.
(bfd_xcoff_link_record_set, bfd_xcoff_import_symbol,
bfd_xcoff_export_symbol, bfd_xcoff_link_count_reloc,
bfd_xcoff_record_link_assignment,
bfd_xcoff_size_dynamic_sections): Replace XCOFF_XVECP() with
check for bfd_target_xcoff_flavour.

24 years ago * rs6000-core.c: Support 64-bit core files, support pre-4.3 core
Nicholas Duffek [Fri, 16 Jun 2000 20:19:24 +0000 (20:19 +0000)] 
* rs6000-core.c: Support 64-bit core files, support pre-4.3 core
files on AIX 4.3.
(read_hdr): New function.
(rs6000coff_core_p): Store mstsave or __context64 struct instead
of trying to extract individual registers.  Set abfd->arch_info
to match the architecture that created the core file.
(rs6000coff_get_section_contents): Delete.
* xcoff-target.h (rs6000coff_get_section_contents): Delete.

24 years agoAdd -mcpu=rmXXXX switch.
Nick Clifton [Fri, 16 Jun 2000 19:11:27 +0000 (19:11 +0000)] 
Add -mcpu=rmXXXX switch.

24 years agoFix typo.
Alan Modra [Fri, 16 Jun 2000 07:42:12 +0000 (07:42 +0000)] 
Fix typo.

24 years agoFile list is incorrect.
Jim Blandy [Fri, 16 Jun 2000 06:28:54 +0000 (06:28 +0000)] 
File list is incorrect.

24 years agoPARAMS elimination.
Kevin Buettner [Fri, 16 Jun 2000 02:11:36 +0000 (02:11 +0000)] 
PARAMS elimination.

24 years ago2000-06-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 16 Jun 2000 00:46:22 +0000 (00:46 +0000)] 
2000-06-15  H.J. Lu  <hjl@gnu.org>

* dyn-string.c: Removed. Not needed with dyn-string.c in
libiberty.
* dyn-string.h: Likewise.

* Makefile.am: Remove references to dyn-string.c and
dyn-string.h. Rebuild dependency.
* Makefile.in: Rebuild.

24 years agoFix some typos.
H.J. Lu [Thu, 15 Jun 2000 21:09:01 +0000 (21:09 +0000)] 
Fix some typos.

24 years agoSynced with libiberty in the gcc repository.
H.J. Lu [Thu, 15 Jun 2000 20:56:25 +0000 (20:56 +0000)] 
Synced with libiberty in the gcc repository.

24 years agoRemove entries from gcc. They don't make much senses here since
H.J. Lu [Thu, 15 Jun 2000 20:50:48 +0000 (20:50 +0000)] 
Remove entries from gcc. They don't make much senses here since
ChangeLogs in gcc and binutils are quite different.

24 years ago2000-06-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 15 Jun 2000 20:47:02 +0000 (20:47 +0000)] 
2000-06-15  H.J. Lu  <hjl@gnu.org>

* sort.h: New file. Impored from gcc.

* hashtab.h: Updated from from gcc.

2000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* demangle.h (demangling_styles): Remove trailing comma in enum.

* dyn-string.h (dyn_string_append_char): Change parameter from
char to int.

2000-06-04  Alex Samuel  <samuel@codesourcery.com>

* dyn-string.h: Move here from gcc/dyn-string.h.  Add new functions.

* demangle.h (DMGL_GNU_NEW_ABI): New macro.
(DMGL_STYLE_MASK): Or in DMGL_GNU_NEW_ABI.
(current_demangling_style): Add gnu_new_abi_demangling.
(GNU_NEW_ABI_DEMANGLING_STYLE_STRING): New macro.
(GNU_NEW_ABI_DEMANGLING): Likewise.
(cplus_demangle_new_abi): New declaration.

24 years ago2000-06-15 Michael Snyder <msnyder@cygnus.com>
Michael Snyder [Thu, 15 Jun 2000 20:40:29 +0000 (20:40 +0000)] 
2000-06-15  Michael Snyder  <msnyder@cygnus.com>

        * utils.c: Fix comment typo.

24 years ago2000-06-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 15 Jun 2000 19:34:44 +0000 (19:34 +0000)] 
2000-06-15  H.J. Lu  <hjl@gnu.org>

* binutils.texi: Put a warning on copying relocatable object
files between two different formats.

24 years ago2000-06-15 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Thu, 15 Jun 2000 18:54:48 +0000 (18:54 +0000)] 
2000-06-15  Michael Snyder  <msnyder@seadog.cygnus.com>

        * valops.c (value_cast): Break up long lines.

24 years ago * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
Ulf Carlsson [Thu, 15 Jun 2000 09:30:30 +0000 (09:30 +0000)] 
* config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.

24 years agoCorrectly set SEC_READONLY for .text section.
Alan Modra [Thu, 15 Jun 2000 09:09:13 +0000 (09:09 +0000)] 
Correctly set SEC_READONLY for .text section.

24 years ago*** empty log message ***
Jim Blandy [Wed, 14 Jun 2000 23:31:23 +0000 (23:31 +0000)] 
*** empty log message ***

24 years ago2000-06-14 Jim Blandy <jimb@redhat.com>
Jim Blandy [Wed, 14 Jun 2000 23:29:06 +0000 (23:29 +0000)] 
2000-06-14  Jim Blandy  <jimb@redhat.com>

* dwarf2read.c (dump_die): Use the proper printf format for
printing DW_UNSND values; they're longs now.

* dwarf2read.c (dump_die): We can read DW_FORM_data8 now, on
at least some platforms, so print it out too.

2000-06-14  James E. Wilson  <wilson@bletchleypark.cygnus.com>

* dwarf2read.c (struct attribute): Change unsnd and snd field types
to long.
(read_8_bytes): Change return type to long.
(read_unsigned_leb128): Change return type to long.  Change type of
local result to long.  Cast argument of left shift to long.
(read_signed_leb128): Likewise.

24 years ago2000-06-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 14 Jun 2000 18:12:26 +0000 (18:12 +0000)] 
2000-06-14  H.J. Lu <hjl@gnu.org>

* gas/macros/strings.d: Support a.out and coff.

24 years ago2000-06-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 14 Jun 2000 18:10:10 +0000 (18:10 +0000)] 
2000-06-14  H.J. Lu  <hjl@gnu.org>

* vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec)
is NULL.

24 years agoRemove 'mrs r9, cpsr_all' since the cpsr_all flag is no longer legal syntax.
Nick Clifton [Wed, 14 Jun 2000 18:08:24 +0000 (18:08 +0000)] 
Remove 'mrs r9, cpsr_all' since the cpsr_all flag is no longer legal syntax.

24 years ago2000-06-14 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Wed, 14 Jun 2000 12:27:59 +0000 (12:27 +0000)] 
2000-06-14  Pierre Muller  <muller@ics.u-strasbg.fr>

Add support for Pascal language. Part 1: new files.
* p-exp.y, p-lang.c, p-lang.h, p-typeprint.c, p-valprint.c: New files.

24 years ago2000-06-13 Ulf Carlsson <ulfc@engr.sgi.com>
Ulf Carlsson [Wed, 14 Jun 2000 04:58:50 +0000 (04:58 +0000)] 
2000-06-13  Ulf Carlsson  <ulfc@engr.sgi.com>

* macro.c (getstring): Make it possible to escape the quote
character.

24 years ago * config/tc-hppa.c (pa_export): Weak symbols can be global.
Jeff Law [Wed, 14 Jun 2000 02:58:49 +0000 (02:58 +0000)] 
    * config/tc-hppa.c (pa_export): Weak symbols can be global.

24 years ago * binutils-all/readelf.exp (regexp_diff): Do not break when a
Hans-Peter Nilsson [Wed, 14 Jun 2000 01:21:35 +0000 (01:21 +0000)] 
* binutils-all/readelf.exp (regexp_diff): Do not break when a
mismatching line is found.
(readelf_find_size): New.
(readelf_size): New global variable.
(readelf_test): Add newline to send_log of command.
If $srcdir/$subdir/$regexp_file-$readelf_size exists, use it
instead of $srcdir/$subdir/$regexp_file.
(*-*elf test): Fix typo in message.
* binutils-all/readelf.s-64: New.
* binutils-all/readelf.ss-64: New.

24 years agoPARAMS elimination.
Kevin Buettner [Wed, 14 Jun 2000 00:59:07 +0000 (00:59 +0000)] 
PARAMS elimination.

24 years agoAdd test of macro expansion of string arguments.
Nick Clifton [Tue, 13 Jun 2000 21:23:28 +0000 (21:23 +0000)] 
Add test of macro expansion of string arguments.

24 years ago* rcparse.y (control): ICON controls take an id as the first
DJ Delorie [Tue, 13 Jun 2000 21:21:43 +0000 (21:21 +0000)] 
* rcparse.y (control): ICON controls take an id as the first
parameter, not an optional string.  Also, call new convenience
function that takes res_id's.
* resrc.c (define_control): missing text means zero-length string,
not zero ID.
(define_icon_control): New.
* windres.h: declare define_icon_control.

24 years ago* "Dont" -> "Don't"
Frank Ch. Eigler [Tue, 13 Jun 2000 20:32:01 +0000 (20:32 +0000)] 
* "Dont" -> "Don't"

2000-06-13  Frank Ch. Eigler  <fche@redhat.com>

* compile.c, writecode.c: Correct typo.

24 years ago2000-06-13 Kazu Hirata <kazu@hxi.com>
Jeff Law [Tue, 13 Jun 2000 19:54:56 +0000 (19:54 +0000)] 
2000-06-13  Kazu Hirata  <kazu@hxi.com>

        * compile.c: Fix formatting.

24 years ago2000-06-13 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 13 Jun 2000 19:11:54 +0000 (19:11 +0000)] 
2000-06-13  H.J. Lu  <hjl@gnu.org>

* configure: Regenerate.

24 years ago * configure.host (hppa*64*): Renamed from hppa2.0w per
Jeff Law [Tue, 13 Jun 2000 15:21:27 +0000 (15:21 +0000)] 
    * configure.host (hppa*64*): Renamed from hppa2.0w per
        gcc/binutils changes.
        * configure.tgt: Similarly.

24 years agoUse PT_CFM in place of PT_CR_IFS.
Kevin Buettner [Tue, 13 Jun 2000 03:17:11 +0000 (03:17 +0000)] 
Use PT_CFM in place of PT_CR_IFS.

24 years agoFix arm-epoc-pe build problem:
Joern Rennecke [Tue, 13 Jun 2000 00:30:46 +0000 (00:30 +0000)] 
Fix arm-epoc-pe build problem:
* peicode.h (pe_ILF_object_p): Use TARGET_LITTLE_SYM instead of
armpei_little_vec.

24 years ago * h8300-dis.c: Fix formatting.
Jeff Law [Mon, 12 Jun 2000 22:23:25 +0000 (22:23 +0000)] 
    * h8300-dis.c: Fix formatting.
        (bfd_h8_disassemble): Distinguish adds/subs, inc/dec.[wl]
        correctly.

24 years ago2000-06-12 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Mon, 12 Jun 2000 21:17:21 +0000 (21:17 +0000)] 
2000-06-12  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * breakpoint.c (breakpoint_thread_match): Fix comment.

24 years ago2000-06-02 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Mon, 12 Jun 2000 20:34:00 +0000 (20:34 +0000)] 
2000-06-02  Michael Snyder  <msnyder@seadog.cygnus.com>

       * gdb.base/annota1.exp (run until main breakpoint): Loosen up
       the regular expression: accept an (almost) arbitrary sequence of
       "frames-invalid" and "breakpoints-invalid" messages both before
       and after the "starting" message.

24 years ago2000-06-12 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Mon, 12 Jun 2000 14:39:14 +0000 (14:39 +0000)] 
2000-06-12  Fernando Nasser  <fnasser@cygnus.com>

        * valops.c (value_assign): Adjust the length to take into
        consideration that we are not starting from the beginning.

24 years ago * symfile.c (add_symbol_file_command): Properly reformat "else if"
Elena Zannoni [Mon, 12 Jun 2000 14:05:44 +0000 (14:05 +0000)] 
* symfile.c (add_symbol_file_command): Properly reformat "else if"
  code.
* coffread.c (coff_symtab_read): Ditto.

24 years agoser-tcp.o moved to configure.in.
Andrew Cagney [Mon, 12 Jun 2000 06:34:32 +0000 (06:34 +0000)] 
ser-tcp.o moved to configure.in.

24 years agoUpdate TODO - SER_HARDWIRE problem was fixed.
Andrew Cagney [Mon, 12 Jun 2000 06:12:14 +0000 (06:12 +0000)] 
Update TODO - SER_HARDWIRE problem was fixed.

24 years agoSet SER_HARDWIRE using autoconf instead of via XDEPFILES. Include
Andrew Cagney [Mon, 12 Jun 2000 06:09:06 +0000 (06:09 +0000)] 
Set SER_HARDWIRE using autoconf instead of via XDEPFILES.  Include
ser-tcp.o by default.

24 years agoMulti-arch GDB_TARGET_IS_MIPS64.
Andrew Cagney [Mon, 12 Jun 2000 04:35:39 +0000 (04:35 +0000)] 
Multi-arch GDB_TARGET_IS_MIPS64.

24 years agoPrint all known but not yet multi-arched values.
Andrew Cagney [Mon, 12 Jun 2000 03:33:26 +0000 (03:33 +0000)] 
Print all known but not yet multi-arched values.

24 years ago* config/i386/tm-i386.h: Add forward declaration of `struct value'.
Mark Kettenis [Mon, 12 Jun 2000 01:44:35 +0000 (01:44 +0000)] 
* config/i386/tm-i386.h: Add forward declaration of `struct value'.
(FIX_CALL_DUMMY): Redefined to call i386_fix_call_dummy.
(i386_fix_call_dummy): Add prototype.
* i386-tdep.c (i386_fix_call_dummy): New function based on the
code from the old FIX_CALL_DUMMY macro.

24 years agoEliminate use of PARAMS.
Kevin Buettner [Mon, 12 Jun 2000 01:33:49 +0000 (01:33 +0000)] 
Eliminate use of PARAMS.

24 years agoForgot a file
Daniel Berlin [Mon, 12 Jun 2000 01:31:41 +0000 (01:31 +0000)] 
Forgot a file

24 years agoDon't try to dump void macros (when non multi-arch). They could
Andrew Cagney [Mon, 12 Jun 2000 00:35:34 +0000 (00:35 +0000)] 
Don't try to dump void macros (when non multi-arch).  They could
contain C statements.

24 years ago* exec.c (exec_file_attach): Add .exe extension when __CYGWIN__.
Christopher Faylor [Sun, 11 Jun 2000 16:07:51 +0000 (16:07 +0000)] 
* exec.c (exec_file_attach): Add .exe extension when __CYGWIN__.

24 years ago* win32-nat.c (safe_symbol_file_add_args): Store old gdb_stderr and gdb_stdout
Christopher Faylor [Sun, 11 Jun 2000 02:34:40 +0000 (02:34 +0000)] 
* win32-nat.c (safe_symbol_file_add_args): Store old gdb_stderr and gdb_stdout
here.
(safe_symbol_file_add_stub): Redirect gdb_stdout as well as stderr.
(safe_symbol_file_add_cleanup): Restore gdb_stdout.
(info_dll_command): Use the pager for displaying DLLs since there are often
quite a few.

24 years agoTrim targ_arches to just the first.
Andrew Cagney [Sun, 11 Jun 2000 01:39:08 +0000 (01:39 +0000)] 
Trim targ_arches to just the first.

24 years agoRe-implement gdbach_dump() so that it prints out the macro values.
Andrew Cagney [Sat, 10 Jun 2000 05:37:47 +0000 (05:37 +0000)] 
Re-implement gdbach_dump() so that it prints out the macro values.
Add ``maint print arch'' command.
Add ``gdbarch_register()'' function that also takes gdbarch_dump_tdep().
Use in mips-tdep.c.

24 years agoEliminate PARAMS.
Kevin Buettner [Sat, 10 Jun 2000 01:32:12 +0000 (01:32 +0000)] 
Eliminate PARAMS.

24 years ago2000-06-08 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Fri, 9 Jun 2000 23:32:48 +0000 (23:32 +0000)] 
2000-06-08  Fernando Nasser  <fnasser@cygnus.com>

        * config/i386/tm-embed.h: New file.  Specific for embedded targets
        like i386-elf, i386-coff and i386-aout.
        * config/i386/embed.mt (): Specify tm-embed.h instead of the System V
        header file.

24 years ago2000-06-08 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Fri, 9 Jun 2000 23:22:16 +0000 (23:22 +0000)] 
2000-06-08  Fernando Nasser  <fnasser@cygnus.com>

        * MAINTAINERS: Add myself to gdbtk list.

24 years agoAdd ChangeLog entry for change to MAINTAINERS on 2000-06-01 (sorry Andrew!)
Klee Dienes [Fri, 9 Jun 2000 22:14:43 +0000 (22:14 +0000)] 
Add ChangeLog entry for change to MAINTAINERS on 2000-06-01 (sorry Andrew!)

24 years agoDefine U_REGS_OFFSET.
Kevin Buettner [Fri, 9 Jun 2000 18:21:59 +0000 (18:21 +0000)] 
Define U_REGS_OFFSET.

24 years ago * avr.h: clr,lsl,rol, ... moved after add,adc, ...
Denis Chertykov [Fri, 9 Jun 2000 18:02:05 +0000 (18:02 +0000)] 
* avr.h: clr,lsl,rol, ... moved after add,adc, ...

24 years ago * avr-dis.c (avr_operand): Bugfix for jmp/call address.
Denis Chertykov [Fri, 9 Jun 2000 17:58:33 +0000 (17:58 +0000)] 
* avr-dis.c (avr_operand): Bugfix for jmp/call address.

24 years ago2000-06-08 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Fri, 9 Jun 2000 03:35:09 +0000 (03:35 +0000)] 
2000-06-08  Fernando Nasser  <fnasser@cygnus.com>

        * configure.in: Replace misplaced CONFIG_ADD by the correct
        CONFIG_CLEAN.
        * configure, config.in: Regenerate.

24 years ago2000-06-08 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Fri, 9 Jun 2000 00:51:55 +0000 (00:51 +0000)] 
2000-06-08  Fernando Nasser  <fnasser@cygnus.com>

        * values.c (value_primitive_field): Copy VALUE_REGNO as well.
        With typed registers we may have the location information in this field,
        in addition to VALUE_ADDRESS (which was already being copied).

24 years agoDon't treat `;' as a line separator by default.
Alan Modra [Fri, 9 Jun 2000 00:00:04 +0000 (00:00 +0000)] 
Don't treat `;' as a line separator by default.
Explicitly mention `;' in line_separator_chars in each backend.

24 years agoAssign correct reloc value to size 1 constant valued fixes.
Nick Clifton [Thu, 8 Jun 2000 19:19:23 +0000 (19:19 +0000)] 
Assign correct reloc value to size 1 constant valued fixes.

24 years ago* configure.in (VERSION): Update to show this is the CVS mainline.
David O'Brien [Thu, 8 Jun 2000 19:00:02 +0000 (19:00 +0000)] 
* configure.in (VERSION): Update to show this is the CVS mainline.

Approved by: Nick Clifton <nickc@cygnus.com>
Message-Id: <200005222205.PAA14565@elmo.cygnus.com>

24 years ago* emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
David O'Brien [Thu, 8 Jun 2000 18:39:43 +0000 (18:39 +0000)] 
* emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
input objects to be ECOFF.
(check_sections): einfo takes %B, not %P, to print a BFD name.

Approved by: Nick Clifton <nickc@cygnus.com>
Message-Id: <200006081748.KAA12555@elmo.cygnus.com>

24 years ago* config/tc-alpha.c (md_undefined_symbol): Properly understand that $at
David O'Brien [Thu, 8 Jun 2000 18:34:06 +0000 (18:34 +0000)] 
* config/tc-alpha.c (md_undefined_symbol): Properly understand that $at
is the integer register $r28, vs. both $r28 and the floating point
register $f28.

This quiets a bogus warning about needing ".set noat".

Approved by: Nick Clifton <nickc@cygnus.com>
Message-Id: <200006081749.KAA12558@elmo.cygnus.com>

24 years agounwind bug fixes needed for today's gcc patch.
Jim Wilson [Thu, 8 Jun 2000 17:07:48 +0000 (17:07 +0000)] 
unwind bug fixes needed for today's gcc patch.
* config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.
(dot_endp): Don't call ia64_flush_insns.
(emit_one_bundle): Don't delete prologue/body records from
unwind_record list in first loop.  Rewrite second loop to account for
this.

24 years agoMIPS is always multi-arch enabled.
Andrew Cagney [Thu, 8 Jun 2000 06:35:40 +0000 (06:35 +0000)] 
MIPS is always multi-arch enabled.

24 years agoDelete MIPS_DEFAULT_FPU from config/mips/*.h
Andrew Cagney [Thu, 8 Jun 2000 04:51:10 +0000 (04:51 +0000)] 
Delete MIPS_DEFAULT_FPU from config/mips/*.h

24 years agoUse config.bfd to determine the default architecture and byte order.
Andrew Cagney [Thu, 8 Jun 2000 04:00:56 +0000 (04:00 +0000)] 
Use config.bfd to determine the default architecture and byte order.
Flush all BYTE_ORDER_DEFAULT macros from mips. Can rely on BFD's value.

24 years agoBotch in previous change. Was comparing against "ask" instead of
Andrew Cagney [Thu, 8 Jun 2000 01:52:44 +0000 (01:52 +0000)] 
Botch in previous change.  Was comparing against "ask" instead of
follow_fork_mode_ask.

24 years agoChange signature of function add_set_enum_cmd() so that it uses
Andrew Cagney [Thu, 8 Jun 2000 00:52:56 +0000 (00:52 +0000)] 
Change signature of function add_set_enum_cmd() so that it uses
constant character pointers.  Update everything.
As a consequence fix infrun's follow-fork plugging a small memory leak.

24 years agoPatch from David Mosberger, cleanups to improve 32b-x-64b cross support.
Jim Wilson [Wed, 7 Jun 2000 23:14:22 +0000 (23:14 +0000)] 
Patch from David Mosberger, cleanups to improve 32b-x-64b cross support.
* config/tc-ia64.c: Add missing prototypes.
(generate_unwind_image): Cast argument to output_unw_records call.

24 years agonew file - notes about using --enable-maintainer-mode
Nick Clifton [Wed, 7 Jun 2000 21:31:48 +0000 (21:31 +0000)] 
new file - notes about using --enable-maintainer-mode

24 years ago2000-06-07 Philippe De Muyter <phdm@macqel.be>
Phil Blundell [Wed, 7 Jun 2000 19:28:53 +0000 (19:28 +0000)] 
2000-06-07  Philippe De Muyter  <phdm@macqel.be>

* source.c: Remove direct inclusion of sys/stat.h.

24 years ago * config/tc-avr.c (avr_operand): fix the fomratting of the comment.
Denis Chertykov [Wed, 7 Jun 2000 18:56:15 +0000 (18:56 +0000)] 
* config/tc-avr.c (avr_operand): fix the fomratting of the comment.

24 years ago * avr.h: New file with AVR opcodes.
Denis Chertykov [Wed, 7 Jun 2000 17:48:35 +0000 (17:48 +0000)] 
* avr.h: New file with AVR opcodes.

24 years ago * avr-dis.c: completely rewritten.
Denis Chertykov [Wed, 7 Jun 2000 17:45:44 +0000 (17:45 +0000)] 
* avr-dis.c: completely rewritten.

24 years ago * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
Denis Chertykov [Wed, 7 Jun 2000 17:42:44 +0000 (17:42 +0000)] 
* config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
(REGISTER_P): likewise.
(avr_opcodes): uses include/opcode/avr.h
(avr_operand): enable ld r,Z or st r,Z for at90s1200.

24 years agosh-dsp support, simulator speedup by using host byte order:
Joern Rennecke [Wed, 7 Jun 2000 14:59:16 +0000 (14:59 +0000)] 
sh-dsp support, simulator speedup by using host byte order:

* Makefile.in (interp.o): Depends on ppi.c .
(ppi.c): New rule.
* gencode.c (printonmatch, think, genopc): Deleted.
(MAX_NR_STUFF): Now 42.
(tab): Add SH-DSP CPU instructions.
Amalgamate ldc / stc / lds / sts instructions with similar
bit patterns.  Fix opcodes of stc Rm_BANK,@-<REG_N>.
Fix semantics of lds.l @<REG_N>+,MACH (no sign extend).
(movsxy_tab): New array.
For movs, change MMMM field to GGGG, and mmmm field to MMMM.
Added entries for movx, movy and parallel processing insns.
(ppi_tab): New array.
(qfunc): Stabilize sort.
(expand_opcode): Handle [01][01]NN, [01][01]xx and [01][01]yy.
Handle 'M', 'G' 's' 'X', 'a', 'Y' and 'A'.
(dumptable): Now takes three arguments.  Changed all callers.
Emit just one contigous jump table.
(filltable): Now takes an argument.  Changed all callers.
Make index static.
(ppi_moves, expand_ppi_code, ppi_filltable, ppi_gensim): New functions.
(gensim_caselist): New function, broken out of gensim.
Handle opcode fields 'x', 'y', 's', 'M', 'G', 'X', 'a', and 'Y'.
Handle ref '9'.
(gensim): Handle 'N' in code field and '8' in refs field.
Call gensim_caselist - twice.
(ppi_index): New static variable.
(main): Unsupport default action.
Add dsp support for -x / -s option.  Add -p option.
* interp.c (sh_jump_table, sh_dsp_table, ppi_table): Declare.
(saved_state_type): Rearrange to allow amalgamated ldc / stc /
lds / sts to work efficiently.
(target_dsp): New static variable.
(GBR, VBR, SSR, SPC, MACH, MACL): Reflect saved_state_type change.
(FPUL, Rn_BANK, SET_Rn_BANK, M, Q, S, T, SR_BL, SR_RB): Likewise.
(SR_MD, SR_RC, SET_SR_BIT, GET_SR, SET_RC, GET_FPSCR): Likewise.
(RS, RE, MOD, MOD_ME, DSP_R): Likewise.
(set_fpscr1): Likewise.  Use target_dsp to check for dsp.
(MOD_MSi, SIG_BUS_FETCH): Deleted.
(CREG, SREG, PR, SR_MASK_DMY, SR_MASK_DMX, SR_DMY): New macros.
(SR_DMX, DSR, MOD_DELTA, GET_DSP_GRD): Likewise.
(SET_MOD): Reflect saved_state_type change.  Set MOD_DELTA instead
of MOD_MS, and encode SR_DMY / SR_DMX into high word of MOD_ME.
(set_sr): Reflect saved_state_type change.  Fix SR_RB handling.
Use SET_MOD.
(MA, L, TL, TB): Now controlled by ACE_FAST.
(SEXT32): Just cast to int.
(SIGN32): Fixed to only shift by 31.
(CHECK_INSN_PTR): SIGBUS at insn fetch now represented by insn_end 0.
(ppi_insn): Declare.
(ppi.c): Include.
(init_dsp): Set target_dsp.  When it changes, switch end of
sh_jump_table with sh_dsp_table.
(sim_resume) Don't declare sh_jump_table0.  Use sh_jump_table instead.
Don't Declare PR if it's #defined.
Fix single-stepping (Was broken in Mar  6 16:59:10 patch).
(sim_store_register, sim_read_register): Translate accesses to
reflect saved_state_type change.

* interp.c (set_sr): Set sr.
(SET_RC, MOD, MOD_MS, MOD_ME, SET_MOD, MOD_MS, MOD_ME): New macros.
(set_fpscr1): Don't bank-switch fpu registers when simulating sh-dsp.
(DSP_R): Fix definition.
(sim_resume): Remove outdated SET_SR use.

* interp.c (saved_state): New members for struct member asregs:
rs, re, insn_end, xram_start, yram_start.
(struct loop_bounds): New struct.
(SKIP_INSN): New macro.
(get_loop_bounds): New function.
(endianw): Renamed to global_endianw.
(maskw): negated bits.
(PC): Now insn_ptr.
(SR_MASK_RC, SR_RC_INCREMENT, SR_RC, RAISE_EXCEPTION): New macros.
(RS, RE, DSP_R, DSP_GRD, A1, A0, X0, X1, Y0, Y1, M0, A1G): Likewise.
(M1, A0G, RIAT, PT2H, PH2T, SET_NIP, CHECK_INSN_PTR): Likewise.
(SIG_BUS_FETCH): Likewise
(raise_exception, riat_fast): New functions.
(raise_buserror, sim_stop): Use raise_exception.
(PROCESS_SPECIAL_ADDRESS): Use xram_start / yram_start.
(BUSERROR, WRITE_BUSERROR, READ_BUSERROR):
Reverse sense of mask argument.
(FP_OP, set_dr): Use RAISE_EXCEPTION.
(wlat_fast, wwat_fast, wbat_fast, rlat_fast, rwat_fast, rbat_fast):
Declare.  Remove redundant masking.
(wwat_fast, rwat_fast): Add argument endianw.  Changed callers.
(MA): Updated for change pc -> PC.
(Delay_Slot): Use RIAT.
(empty): Deleted.
(trap): Remove argument little_endian.  Add argument endianw.
Changed all callers.  Use raise_exception.
(macw): Add argument endainw.  Changed all callers.
(init_dsp): New function, extended after broken out of init_pointers.
(sim_resume): Replace pc with insn_ptr.  Replace little_endian with
endianw.  Replace nia with nip.  Reverse sense of maskb / maskw /
maskl.  Implement logic for zero-overhead loops.  Don't try to
interpret garbage when getting a SIGBUS at insn fetch.
(sim_open): Call init_dsp.
* gencode.c (tab): Use SET_NIP instead of nia = .  Use PH2T / PT2H /
RAISE_EXCEPTION where appropriate.
Add extra cycles for brai, braf , bsr, bsrf, jmp, jsr.

* interp.c (sim_store_register, sim_fetch_register):
Do proper endianness switch.

* interp.c (saved_state_type): New members for struct member asregs:
xymem_select, xmem, ymem, xmem_offset, ymem_offset.
(special_address): Delete.
(BUSERROR): Now a two-argument predicate.
(PROCESS_SPECIAL_ADDRESS, WRITE_BUSERROR, READ_BUSERROR): New macros.
(wlat_little, wwat_little, wbat_any, wlat_big, wwat_big): Delete.
(process_wlat_addr, process_wwat_addr): New functions.
(process_wbat_addr, process_rlat_addr, process_rwat_addr): Likewise.
(process_rbat_addr): Likewise.
(wlat_fast, wwat_fast, wbat_fast): Use WRITE_BUSERROR.
(rlat_little, rwat_little, rbat_any, rlat_big, rwat_big): Delete.
(rlat_fast, rwat_fast, rbat_fast): Use READ_BUSERROR.
(RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Delete SLOW versions.
(do_rdat, trap): Delete SLOW code.
(SEXT32, SIGN32): New macros.
(swap, swap16): Now integer in - integer out.  Changed all callers.
(strswaplen, strnswap): Delete SLOW versions.
(init_pointers): Initialize dsp memory selection (preliminary).
(sim_store_register, sim_fetch_register): Use swap instead of
big / little endian read / write functions.

* interp.c (maskl): Deleted.
(endianw, endianb): New variables.
(special_address): Now inline.
(bp_holder): Put raising of buserror there, rename to:
(raise_buserror).
(BUSERROR): Now yields a value.  Changed all users.
(wbat_big): Delete.
(wlat_fast, wwat_fast, wbat_fast): New functions.
(rlat_fast, rwat_fast, rbat_fast): Likewise.
(RWAT, RLAT, RBAT, WWAT, WLAT, WBAT): Use new functions.
(do_rdat, do_wdat): Likewise.  Take maskl argument instead of
little_endian one.  Changed caller macros.
(swap, swap16): Use w[rw]lat_big / w[rw]lat_little directly.
(strswaplen, strnswap): New functions.
(trap): Use them to fix up endian mismatches;
disable SYS_execve and SYS_execv; fix double address translation for
SYS_pipe and SYS_stat.
(sym_write, sym_read): Add endianness translation.
(sym_store_register, sym_fetch_register): Add maskl local variable.
(sim_open): Set endianw and endianb.

24 years ago(elf32_i386_vtinherit_howto, elf32_i386_vtentry_howto): Delete and
Alan Modra [Wed, 7 Jun 2000 14:23:51 +0000 (14:23 +0000)] 
(elf32_i386_vtinherit_howto, elf32_i386_vtentry_howto): Delete and
move HOWTOs into elf_howto_table.

24 years agoPurge last remaining make_cleanup_func.
Andrew Cagney [Wed, 7 Jun 2000 04:43:30 +0000 (04:43 +0000)] 
Purge last remaining make_cleanup_func.

24 years agoThe attatched moves the remaining guff from gdbarch.{h,c,sh} to
Andrew Cagney [Wed, 7 Jun 2000 04:38:02 +0000 (04:38 +0000)] 
The attatched moves the remaining guff from gdbarch.{h,c,sh} to
arch-utils.{h,c}.  The ``set architecutre'' and ``set endian''
commands (part of the move) were implemented to use add_set_enum_cmd()
so that ``set architecture <tab>'' works.

24 years agoUse ``set remote memory-read-packet-size'' instead of ``set endian
Andrew Cagney [Wed, 7 Jun 2000 04:14:02 +0000 (04:14 +0000)] 
Use ``set remote memory-read-packet-size'' instead of ``set endian
big'' in deprecate test.

24 years agoUpdate copyright dates for last patch.
Alan Modra [Wed, 7 Jun 2000 04:08:13 +0000 (04:08 +0000)] 
Update copyright dates for last patch.
Scanning ChangeLog showed others were lazy/forgetful too :-)

24 years agoGet rid of the -1 dummy valued enum in START_RELOC_NUMBERS.
Alan Modra [Wed, 7 Jun 2000 03:43:33 +0000 (03:43 +0000)] 
Get rid of the -1 dummy valued enum in START_RELOC_NUMBERS.
Remove duplicate reloc enums in elf32-d[13]0v.c
Remove EMPTY_HOWTOs in elf32-i386.c

24 years ago2000-06-06 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Wed, 7 Jun 2000 01:14:07 +0000 (01:14 +0000)] 
2000-06-06  Michael Snyder  <msnyder@seadog.cygnus.com>

* configure.in: Enable autoconf to find curses.h on Solaris 2.8.
* configure: Regenerate.

24 years ago2000-06-02 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Tue, 6 Jun 2000 20:17:13 +0000 (20:17 +0000)] 
2000-06-02  Michael Snyder  <msnyder@seadog.cygnus.com>

        * gdb.c++/local.exp: This test has never been known to work with g++.

24 years ago2000-06-06 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Tue, 6 Jun 2000 20:00:33 +0000 (20:00 +0000)] 
2000-06-06  Michael Snyder  <msnyder@seadog.cygnus.com>

        * elf.c (elf_grok_pr_status): Eliminate reference to prgregset_t.

24 years ago* Makefile.in: add EXTRA_INCS
DJ Delorie [Tue, 6 Jun 2000 17:52:20 +0000 (17:52 +0000)] 
* Makefile.in: add EXTRA_INCS
* configure.in: if with-newlib, point to it for includes
rather than using the installed includes, for target builds.
If cygwin, override function list only for target builds.
* configure: regenerate
Note from DJ: I waited a week for gcc approval and got none, but
we need this patch for cygwin builds *now*.  I'll fix it later if
need be.

24 years agoProperly fill changelog entry
Daniel Berlin [Tue, 6 Jun 2000 15:09:41 +0000 (15:09 +0000)] 
Properly fill changelog entry

24 years agoAccept an enum immediately when it is an exact match - wouldn't accept
Andrew Cagney [Tue, 6 Jun 2000 12:13:53 +0000 (12:13 +0000)] 
Accept an enum immediately when it is an exact match - wouldn't accept
``d10v'' when the choice was d10v{,:ts2,:ts3}.

24 years agoMips is always TARGET_BYTE_ORDER_SELECTABLE_P 1.
Andrew Cagney [Tue, 6 Jun 2000 07:00:45 +0000 (07:00 +0000)] 
Mips is always TARGET_BYTE_ORDER_SELECTABLE_P 1.

24 years agoMove generic_register_convertible_not and frame_num_args_unknown from
Andrew Cagney [Tue, 6 Jun 2000 06:45:19 +0000 (06:45 +0000)] 
Move generic_register_convertible_not and frame_num_args_unknown from
gdbarch.* to arch-utils.*.

24 years agoDelete TARGET_MONITOR_PROMPT.
Andrew Cagney [Tue, 6 Jun 2000 06:19:57 +0000 (06:19 +0000)] 
Delete TARGET_MONITOR_PROMPT.

24 years agoRevert an accidental commit
Daniel Berlin [Tue, 6 Jun 2000 00:38:10 +0000 (00:38 +0000)] 
Revert an accidental commit

This page took 0.044727 seconds and 4 git commands to generate.