Doug Evans [Wed, 10 Feb 1999 01:12:01 +0000 (01:12 +0000)]
* cgen.h (CGEN_CPU_DESC): Renamed from CGEN_OPCODE_DESC.
All uses updated. New members int_insn_p, max_insn_size,
parse_operand,insert_operand,extract_operand,print_operand,
sizeof_fields,set_fields_bitsize,get_int_operand,set_int_operand,
get_vma_operand,set_vma_operand,parse_handlers,insert_handlers,
extract_handlers,print_handlers.
(CGEN_ATTR): Change type of num_nonbools to unsigned int.
(CGEN_ATTR_BOOL_OFFSET): New macro.
(CGEN_ATTR_MASK): Subtract it to compute bit number.
(CGEN_ATTR_VALUE): Redo bool/nonbool attr calculation.
(cgen_opcode_handler): Renamed from cgen_base.
(CGEN_HW_ATTR_VALUE): Renamed from CGEN_HW_ATTR, all uses updated.
(CGEN_OPERAND_ATTR_VALUE): Renamed from CGEN_OPERAND_ATTR,
all uses updated.
(CGEN_OPERAND_INDEX): Rewrite to use table entry, not global.
(enum cgen_opinst_type): Renamed from cgen_operand_instance_type.
(CGEN_IFLD_ATTR_VALUE): Renamed from CGEN_IFLD_ATTR, all uses updated.
(CGEN_OPCODE,CGEN_IBASE): New types.
(CGEN_INSN): Rewrite.
(CGEN_{ASM,DIS}_HASH*): Delete.
(init_opcode_table,init_ibld_table): Declare.
Martin Hunt [Tue, 9 Feb 1999 22:18:52 +0000 (22:18 +0000)]
1999-02-09 Martin Hunt <hunt@cygnus.com>
* gdbtk-hooks.c: Remove gdbtk_ignorable_warning prototype.
It is in gdbtk.h.
(report_error): New function. Displays debugging information
if a hook function fails. All hook functions should probably
call this.
(gdbtk_warning): Call report_error() if there is a problem.
(gdbtk_register_changed): Call report_error() if there is a problem.
(gdbtk_memory_changed): Call report_error() if there is a problem.
(gdbtk_ignorable_warning): Pass along class argument. If there
is a problem, call report_error().
* gdbtk-cmds.c: Remove TclDebug prototype. It is in gdbtk.h.
(gdb_loadfile): Add class name to gdbtk_ignorable_warning call.
* gdbtk.c (TclDebug): Add "priority" argument. Calls "dbug"
instead of "debug". Removed non-ANSI ifdefs.
* gdbtk.h: Fixed protos for gdbtk_ignorable_warning and TclDebug.
Jim Blandy [Tue, 9 Feb 1999 21:22:15 +0000 (21:22 +0000)]
*** empty log message ***
DJ Delorie [Tue, 9 Feb 1999 20:05:42 +0000 (20:05 +0000)]
* sparcl-tdep.c: UDP download works in cygwin
Elena Zannoni [Tue, 9 Feb 1999 16:05:46 +0000 (16:05 +0000)]
Tue Feb 9 10:38:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* configure.in: Do not use the ./support directory.
* configure: Regenerate.
Nick Clifton [Tue, 9 Feb 1999 15:49:01 +0000 (15:49 +0000)]
Fix Label1 - Label2 relocartions for ELF targets
Jason Molenda [Tue, 9 Feb 1999 07:03:23 +0000 (07:03 +0000)]
1999-02-08 Jason Molenda (jsm@bugshack.cygnus.com)
* gnu-regex.c: Check ENABLE_NLS instead of HAVE_LIBINTL_H.
* configure.in: Don't check for libintl.h.
* configure, config.in: Regenerated.
Fixes a problem on debian systems, a conflict between the
/usr/include/libintl.h and the routines that are actually linked in,
up in ../intl.
Stan Shebs [Tue, 9 Feb 1999 02:19:18 +0000 (02:19 +0000)]
* NEWS: Mention new X packet and PowerPC variant support.
Stan Shebs [Tue, 9 Feb 1999 01:38:18 +0000 (01:38 +0000)]
* gdb.texinfo: Fix mistakes noticed in printout of last
draft, add Alpha to discussion of heuristic fence post.
Nick Clifton [Mon, 8 Feb 1999 17:29:05 +0000 (17:29 +0000)]
Fix tests to pass on ARM targets
Nick Clifton [Mon, 8 Feb 1999 17:07:07 +0000 (17:07 +0000)]
Add support for StrongARM host/target.
David Taylor [Mon, 8 Feb 1999 17:07:06 +0000 (17:07 +0000)]
dsrec.c (make_srec): cast targ_addr to int in call to sprintf, otherwise on
big endian machines (e.g., sparc) with a bfd_vma of 64 bits, everything
gets loaded at location 0. (PR 18929)
Ian Lance Taylor [Mon, 8 Feb 1999 16:19:20 +0000 (16:19 +0000)]
Mon Feb 8 11:18:14 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* elf32-m68k.c (reloc_map): Use the correct types for the struct
fields instead of unsigned char.
Nick Clifton [Mon, 8 Feb 1999 12:47:01 +0000 (12:47 +0000)]
Add support for StrongARM target.
Nick Clifton [Mon, 8 Feb 1999 12:44:13 +0000 (12:44 +0000)]
Add support for StrongARM target
Nick Clifton [Mon, 8 Feb 1999 12:41:43 +0000 (12:41 +0000)]
Add support for StrongARM target.
Nick Clifton [Mon, 8 Feb 1999 12:35:29 +0000 (12:35 +0000)]
Add support for strongarm target.
Andrew Cagney [Sun, 7 Feb 1999 22:35:03 +0000 (22:35 +0000)]
From Frank Ch. Eigler <fche@cygnus.com>
* infrun.c (wait_for_inferior): Allow SIGTRAP to be "pass"ed to target program.
(But the comments are cagney's and not Frank's.)
Doug Evans [Sat, 6 Feb 1999 03:56:24 +0000 (03:56 +0000)]
* gas/m32r/relax-2.[sd]: New testcase.
* gas/m32r/m32rx.exp: Run it.
PR 19068
Doug Evans [Sat, 6 Feb 1999 03:29:45 +0000 (03:29 +0000)]
* config/tc-m32r.c (assemble_two_insns): Always call fill_insn.
PR 19068
Jim Ingham [Sat, 6 Feb 1999 01:50:46 +0000 (01:50 +0000)]
1999-02-05 James Ingham <jingham@cygnus.com>
* Makefile.in: Add GDBTK_CFLAGS - this is now used to hold
-fwritable-strings when compiling with Tk8.1.
* configure.in: Add GDBTK_CFLAGS, set it to -fwritable-strings for
Tcl/Tk8.1 & greater.
* acinclude.m4: Move the rest of the defines to find Itcl, Itk &
Tix from aclocal.m4 to here.
* aclocal.m4: regenerate.
* configure: regenerate.
* gdbtk-hooks.c (x_event): Tcl_ObjGetVar2 was removed from
Tcl8.1. Use Tcl_GetVar2 instead.
* gdbtk-hooks.c (gdbtk_trace_find): Fix up call to
Tcl_GlobalEvalObj for Tcl/Tk 8.1.
* gdbtk-hooks.c (gdbtk_trace_start_stop): Call to Tcl_EvalObj was
inefficient, replace with call to Tcl_GlobalEval.
* gdbtk.c: Don't swap out the Tcl_Alloc calls in gdbtk.c. We took
care of that in Tcl itself for 8.1.
* gdbtk.c: Remove const from the script string since Tcl8.1 has
taken to scribbling sentinals into strings passed to it again...
* gdbtk-cmds.c (wrapped_call): Change declaration of 1st arg from
char * to PTR to eliminate warning.
* gdbtk-cmds.c (perror_with_name_wrapper): Ditto
Stan Shebs [Sat, 6 Feb 1999 01:28:34 +0000 (01:28 +0000)]
Actually part of gdb.texinfo change.
Stan Shebs [Sat, 6 Feb 1999 01:26:06 +0000 (01:26 +0000)]
* gdb.texinfo: Many changes; update to Seventh Edition,
merge some HP changes into mainline, describe some previously
undocumented features, describe more of the target commands
available, eliminate obsolete section on renamed commands.
* all-cfg.texi, HPPA-cfg.texi: Remove some obsolete conditionals.
DJ Delorie [Sat, 6 Feb 1999 01:14:52 +0000 (01:14 +0000)]
oops, wrong branch - cvs mistake
DJ Delorie [Sat, 6 Feb 1999 01:08:02 +0000 (01:08 +0000)]
merge from main branch for danlite/sparc86x merge
Stan Shebs [Sat, 6 Feb 1999 00:48:21 +0000 (00:48 +0000)]
* NEWS: Add mentions of various new things.
Doug Evans [Fri, 5 Feb 1999 19:42:14 +0000 (19:42 +0000)]
s/sanitize-m32rx/sanitize-cygnus/
Jeff Law [Fri, 5 Feb 1999 17:49:42 +0000 (17:49 +0000)]
m32rx -> cygnus sanitization changes.
Jeff Law [Fri, 5 Feb 1999 17:39:42 +0000 (17:39 +0000)]
m32rx -> cygnus sanitization change.
Nick Clifton [Fri, 5 Feb 1999 17:34:41 +0000 (17:34 +0000)]
Fix arm-coff relocations.
Jeff Law [Fri, 5 Feb 1999 17:34:40 +0000 (17:34 +0000)]
m32rx -> cygnus sanitization change.
Jeff Law [Fri, 5 Feb 1999 17:28:16 +0000 (17:28 +0000)]
m32rx -> cygnus sanitization changes.
Jeff Law [Fri, 5 Feb 1999 17:20:25 +0000 (17:20 +0000)]
m32rx -> cygnus sanitization change.
Frank Ch. Eigler [Fri, 5 Feb 1999 13:55:16 +0000 (13:55 +0000)]
* Fix for PR 17794, brought over from ecc-98r1-branch.
1999-02-05 Frank Ch. Eigler <fche@cygnus.com>
* dv-tx3904sio.c (tx3904sio_tickle): After a polled I/O from the
CPU, start periodic background I/O polls.
(tx3904sio_poll): New function: periodic I/O poller.
Ian Lance Taylor [Fri, 5 Feb 1999 05:36:07 +0000 (05:36 +0000)]
* Makefile.am: Rebuild dependencies.
(HFILES): Add fr30-opc.h.
(CFILES): Add fr30-asm.c, fr30-dis.c, fr30-opc.c.
* Makefile.in: Rebuild.
Ian Lance Taylor [Fri, 5 Feb 1999 05:23:15 +0000 (05:23 +0000)]
* Makefile.am: Rebuild dependencies.
* Makefile.in: Rebuild.
Ian Lance Taylor [Fri, 5 Feb 1999 05:10:52 +0000 (05:10 +0000)]
rebuild
Ian Lance Taylor [Fri, 5 Feb 1999 05:10:03 +0000 (05:10 +0000)]
* configure.in: Change AC_PREREQ to 2.13. Remove AM_CYGWIN32.
Change AM_EXEEXT to AC_EXEEXT and AM_PROG_INSTALL to
AC_PROG_INSTALL.
* acconfig.h: Remove.
* configure: Rebuild with current autoconf/automake.
* aclocal.m4: Likewise.
* config.in: Likewise.
* Makefile.in: Likewise.
Ian Lance Taylor [Fri, 5 Feb 1999 05:01:12 +0000 (05:01 +0000)]
rebuild
Ian Lance Taylor [Fri, 5 Feb 1999 04:59:41 +0000 (04:59 +0000)]
* configure.in: Change AC_PREREQ to 2.13. Remove AM_CYGWIN32.
Change AM_EXEEXT to AC_EXEEXT and AM_PROG_INSTALL to
AC_PROG_INSTALL. Add comments to uses of AC_DEFINE.
* acinclude.m4: Add comments to uses of AC_DEFINE.
* acconfig.h: Remove.
* configure: Rebuild with current autoconf/automake.
* aclocal.m4: Likewise.
* config.in: Likewise.
* Makefile.in: Likewise.
Jason Molenda [Fri, 5 Feb 1999 02:56:20 +0000 (02:56 +0000)]
1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
* gdb.base/miscexprs.exp: Change patterns to match GDB's
actual output formatting.
* gdb.base/smoke.exp: GDB removes leading 0's.
* gdb.base/volatile.exp: Don't check type of remuneration;
that variable is no longer defined in constvars.c.
* gdb.base/step-test.c (main): Exit with explicit exit code.
* gdb.base/step-test.exp: Remove two nexti checks--they are
not portable.
DJ Delorie [Fri, 5 Feb 1999 02:29:30 +0000 (02:29 +0000)]
* libbfd.c (real_read): don't call fread for zero bytes. This
covers up a bug (or misuse of bfd) that's exposed by Solaris.
Ian Lance Taylor [Fri, 5 Feb 1999 01:44:35 +0000 (01:44 +0000)]
* configure.in: Do build ld for ix86 Solaris.
Jason Molenda [Fri, 5 Feb 1999 00:59:26 +0000 (00:59 +0000)]
1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
* gdb.base/help.exp ("help delete display"): Fix test to match
gdb's output.
* gdb.base/long_long.c (known_types): Initialize values to zero.
* gdb.base/long_long.exp: Step one more line
so 'dec' is initialized in "get to known place". GDB doesn't
prepend unnecessary zeros to the front of numbers. Explicitly
ask for hex formatting. Use unique test case names.
Doug Evans [Fri, 5 Feb 1999 00:15:14 +0000 (00:15 +0000)]
* cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate.
Plus s/sanitize-m32rx/sanitize-cygnus/
Doug Evans [Fri, 5 Feb 1999 00:01:20 +0000 (00:01 +0000)]
s/sanitize-m32rx/sanitize-cygnus/
Stan Cox [Thu, 4 Feb 1999 22:35:39 +0000 (22:35 +0000)]
* elf32-mips.c (mips_elf_relocate_section): Insure that the target
of a jump is in the current 256 MB region.
Doug Evans [Thu, 4 Feb 1999 22:32:46 +0000 (22:32 +0000)]
expand on a comment and reorg for 80 column screen some code in
assemble_two insns
Doug Evans [Thu, 4 Feb 1999 22:15:27 +0000 (22:15 +0000)]
keep outofrange.s
Doug Evans [Thu, 4 Feb 1999 22:15:12 +0000 (22:15 +0000)]
* gas/m32r/outofrange.s: New testcase.
* gas/m32r/error.exp: Run it.
PR 19044
Gavin Romig-Koch [Thu, 4 Feb 1999 21:23:37 +0000 (21:23 +0000)]
improve sanitation
Gavin Romig-Koch [Thu, 4 Feb 1999 21:01:09 +0000 (21:01 +0000)]
improve sanitation
Ian Lance Taylor [Thu, 4 Feb 1999 18:49:50 +0000 (18:49 +0000)]
* m68k-opc.c: Correct move (not movew) to status word on 5200.
Keith Seitz [Thu, 4 Feb 1999 18:37:01 +0000 (18:37 +0000)]
Doh!
* gdbtk-variable.c (variable_create): Allocate enough
space to hold the NULL, too!
Jeff Law [Thu, 4 Feb 1999 17:40:02 +0000 (17:40 +0000)]
* config/tc-mn10300.c (md_assemble): "exreg0", "exreg1", "exregother",
and "all" are not valid operands when not in am33 mode.
Ian Lance Taylor [Thu, 4 Feb 1999 17:16:05 +0000 (17:16 +0000)]
* format.c (bfd_check_format_matches): Change last patch to only
take effect for the binary target.
Christopher Faylor [Thu, 4 Feb 1999 05:21:55 +0000 (05:21 +0000)]
* configure.in: Move termcap determination a later in the file to catch
setting of cygwin flag.
* configure: Regenerate.
Jeff Law [Thu, 4 Feb 1999 05:17:29 +0000 (05:17 +0000)]
Fix minor buglet.
Martin Hunt [Thu, 4 Feb 1999 02:49:41 +0000 (02:49 +0000)]
1999-02-03 Martin Hunt <hunt@cygnus.com>
* console.test (clear_command_line): Add tests 1.5 - 1.8,
which test the new Shift-Up and Shift-Down bindings.
Ian Lance Taylor [Thu, 4 Feb 1999 00:50:08 +0000 (00:50 +0000)]
x
Ian Lance Taylor [Thu, 4 Feb 1999 00:42:03 +0000 (00:42 +0000)]
* ldctor.c (ldctor_build_sets): Just set SEC_KEEP once. Check for
an owner of a section before using it to look up a reloc type.
Don't set SEC_KEEP for the absolute section.
Keith Seitz [Wed, 3 Feb 1999 21:39:45 +0000 (21:39 +0000)]
Whoops. Wrong changelog!
Keith Seitz [Wed, 3 Feb 1999 21:39:02 +0000 (21:39 +0000)]
* gdbtk-variable.c (variable_create): Add parentheses to the name
so that casts do not confuse the expression parser.
Catherine Moore [Wed, 3 Feb 1999 21:09:07 +0000 (21:09 +0000)]
add elf_fr30_check_relocs.
Richard Henderson [Wed, 3 Feb 1999 19:36:27 +0000 (19:36 +0000)]
* config/tc-alpha.c (md_show_usage): Document pca56 and ev6 options.
Christopher Faylor [Wed, 3 Feb 1999 19:29:00 +0000 (19:29 +0000)]
* config/i386/cygwin.mh: Move TERMCAP test code to configure.in.
* configure.in: Treat libtermcap.a detection as a special case when
hosting on cygwin.
* configure: Regenerate.
Keith Seitz [Wed, 3 Feb 1999 17:03:18 +0000 (17:03 +0000)]
* gdbtool.ico: Add missing desktop image.
Keith Seitz [Wed, 3 Feb 1999 17:02:01 +0000 (17:02 +0000)]
* remote.c (remote_binary_download, remote_binary_length): New
static globals for dealing with binary transmissions.
(remote_write_bytes): Add support for binary downloads
by shadowing the "M" packet with a new "X" packet. This
defaults to ON; if the stub does not understand this, it
will fall back to using "M".
(putpkt): Add support for binary downloading.
* monitor.c (monitor_expect): The mon2000 monitor
on the MSA2000 will also emit random DC1/DC3 chars.
* m32r-stub.c: Change all char's to unsigned char's
to support binary downloading.
(handle_exception): Add support for binary downloading
via a new "X" packet.
(getpacket): Do NOT strip eighth bit of incoming chars.
Watch out for escaped characters in the incoming stream.
(putpacket): Do NOT strip eighth bit of incoming chars.
(bin2mem): New function to write binary data directly to
memory.
* m32r-rom.c: Add new "mon2000" target.
Jim Wilson [Wed, 3 Feb 1999 06:41:24 +0000 (06:41 +0000)]
Patch to fix canadian cross build problem with libcpp.a from Felix.
* Makefile.in (EXTRA_GCC_FLAGS): Set AR to $AR instead of
$AR_FOR_TARGET. Likewise for RANLIB.
Ian Lance Taylor [Wed, 3 Feb 1999 02:39:33 +0000 (02:39 +0000)]
* format.c (bfd_check_format_matches): If the target was
previously specified, don't check other targets when checking for
an archive file.
Catherine Moore [Wed, 3 Feb 1999 02:30:34 +0000 (02:30 +0000)]
* config.sub (oabi): Recognize.
* configure.in (arm-*-oabi): Handle.
(thumb-*-oabi): Handle.
Catherine Moore [Wed, 3 Feb 1999 02:20:12 +0000 (02:20 +0000)]
* elf32-arm.h (elf32_arm_reloc_map): Removed.
(elf32_arm_reloc_type_lookup): Removed
* elfarm-nabi.c (elf32_arm_reloc_map): New.
(elf32_arm_reloc_type_lookup): New.
* elfarm-oabi.c (elf32_arm_reloc_map): New.
(elf32_arm_reloc_type_lookup): New.
Catherine Moore [Wed, 3 Feb 1999 01:16:50 +0000 (01:16 +0000)]
* ld-selective/selective.exp: Disable test for unsupported
targets. Change tests to check for absence of symbols instead
of address zero.
Elena Zannoni [Tue, 2 Feb 1999 23:53:54 +0000 (23:53 +0000)]
Tue Feb 2 18:40:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* hp-psymtab-read.c (hpread_build_psymtabs): Coerce first arg
passed to make_cleanup to the correct type.
(hpread_quick_traverse): Change fifth arg to call to
hpread_end_psymtab to be 0.
Compare CURR_MODULE_END to 0 rather than NULL.
Get rid of ifdef'ed out code.
(scan_procs): Get rid of ifdef'ed out code.
* somread.c (som_symfile_read): Coerce first argument passed to
make_cleanup to the correct type.
Michael Meissner [Tue, 2 Feb 1999 23:52:42 +0000 (23:52 +0000)]
Change M32RX sanitization from m32rx sanitization to normal Cygnus sanitization
Elena Zannoni [Tue, 2 Feb 1999 23:38:45 +0000 (23:38 +0000)]
Tue Feb 2 17:36:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* hp-psymtab-read.c (do_pxdb): New function. Check whether the
file needs to be processed by pxdb (an HP debug info massaging
tool), if so call it.
(hpread_build_psymtabs): Initialize scan_start to 0 and
simplify flow of control.
* somread.c (som_symfile_read): Add call to do_pxdb (),
in hp-psymtab-read.c.
* symfile.c (symbol_file_add): Remove ifdef'ed out HPUX specific
code.
(symfile_bfd_open): Remove HPUXHPPA ifdef'ed code. Code is now
in hp-psymtab-read.c.
Doug Evans [Tue, 2 Feb 1999 21:50:12 +0000 (21:50 +0000)]
cgen generated files for sparc simulator
Martin Hunt [Tue, 2 Feb 1999 21:26:56 +0000 (21:26 +0000)]
1999-02-02 Martin Hunt <hunt@cygnus.com>
* gdbtk-cmds.c (get_register): For RAW display, concat all the
pieces together before calling fputs.
Martin Hunt [Tue, 2 Feb 1999 21:11:16 +0000 (21:11 +0000)]
1999-02-02 Martin Hunt <hunt@cygnus.com>
* printcmd.c (print_scalar_formatted): Use strcat to concat all
the output together before calling fprintf_filtered().
Doug Evans [Tue, 2 Feb 1999 20:40:33 +0000 (20:40 +0000)]
configure sparc subdir if --with-cgen
Doug Evans [Tue, 2 Feb 1999 19:38:43 +0000 (19:38 +0000)]
sparc cgen port
Doug Evans [Tue, 2 Feb 1999 19:17:42 +0000 (19:17 +0000)]
lose sparc for now
Nick Clifton [Tue, 2 Feb 1999 15:59:56 +0000 (15:59 +0000)]
Dump tags found after the comp unit entry in a .debug_info section/
Elena Zannoni [Tue, 2 Feb 1999 15:17:34 +0000 (15:17 +0000)]
Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
* gdb.c++/method.exp: Add missing close brace.
Nick Clifton [Tue, 2 Feb 1999 12:44:54 +0000 (12:44 +0000)]
Add ability to dump .debug_aranges sections
Nick Clifton [Tue, 2 Feb 1999 12:12:11 +0000 (12:12 +0000)]
DisplayDWARF2 basic type encodings.
Nick Clifton [Tue, 2 Feb 1999 11:45:18 +0000 (11:45 +0000)]
Fix spelling typo.
Nick Clifton [Tue, 2 Feb 1999 09:13:08 +0000 (09:13 +0000)]
Replace {...} with [...]
Catherine Moore [Tue, 2 Feb 1999 03:55:35 +0000 (03:55 +0000)]
* elfarm-nabi.c: Renamed from elf32-arm-newabi.c.
* elfarm-oabi.c: Renamed from elf32-arm-oldabi.c
* Makefile.am: Use new files.
* Makefile.in: Regenerate.
* configure.in: Use new files.
* configure: Regenerate.
Catherine Moore [Tue, 2 Feb 1999 03:08:29 +0000 (03:08 +0000)]
* disassemble.c (disassembler): Handle bfd_mach_i386_i386_intel_syntax.
* i386-dis.c (x_mode): Define.
(dis386): Remove.
(dis386_att): New.
(dis386_intel): New.
(dis386_twobyte): Remove.
(dis386_twobyte_att): New.
(dis386_twobyte_intel): New.
(print_insn_x86): Use new arrays.
(float_mem): Remove.
(float_mem_intel): New.
(float_mem_att): New.
(dofloat): Use new float_mem arrays.
(print_insn_i386_att): New.
(print_insn_i386_intel): New.
(print_insn_i386): Handle bfd_mach_i386_i386_intel_syntax.
(putop): Handle intel syntax.
(OP_indirE): Handle intel syntax.
(OP_E): Handle intel syntax.
(OP_I): Handle intel syntax.
(OP_sI): Handle intel syntax.
(OP_OFF): Handle intel syntax.
Catherine Moore [Tue, 2 Feb 1999 02:58:57 +0000 (02:58 +0000)]
* config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Define.
(INTEL_DWORD_MNEM_SUFFIX): Define.
(BYTE_PTR): Define.
(WORD_PTR): Define.
(DWORD_PTR): Define.
(XWORD_PTR): Define.
(SHORT): Define.
(OFFSET_FLAT): Define.
(FLAT): Define.
(NONE_FOUND): Define.
(No_dSuf): Define.
(No_xSuf): Define.
* config/tc-i386.c (set_intel_syntax): New routine.
(intel_syntax): Declare.
(allow_naked_reg): Declare.
(md_pseudo_table): Support .intel_syntax and .att_syntax.
(intel_float_operand): New routine.
(md_assemble): Handle INTEL_DWORD_MNEM_SUFFIX.
Handle brackets as well as parens. Call i386_intel_operand for
intel syntax. Reverse operands if appropriate. Handle new
suffixes. Handle movzx and movsx.
(i386_is_reg): New routine.
(i386_immediate): New routine.
(i386_scale): New routine.
(i386_displacement): New routine.
(i386_operand_modifier): New routine.
(build_displacement_string): New routine.
(i386_parse_seg): New routine.
(i386_intel_memory_operand): New routine.
(i386_intel_operand): New routine.
(i386_operand): Call i386_displacement, i386_immediate,
i386_scale, etc. instead of handling inline.
(parse_register): Handle registers without prefix.
Catherine Moore [Mon, 1 Feb 1999 22:39:43 +0000 (22:39 +0000)]
add armelf_oabi.em
Catherine Moore [Mon, 1 Feb 1999 22:38:59 +0000 (22:38 +0000)]
add armelf_oabi.sh
Catherine Moore [Mon, 1 Feb 1999 22:37:14 +0000 (22:37 +0000)]
add arm-oabi.h
Catherine Moore [Mon, 1 Feb 1999 22:36:29 +0000 (22:36 +0000)]
remove elf32-arm.c.
add elf32-arm-oldabi., elf32-arm-newabi.c, elf32-arm.h
Jason Molenda [Mon, 1 Feb 1999 21:34:30 +0000 (21:34 +0000)]
1999-02-01 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Require autoconf 2.13.
(AM_EXEEXT): Replace with new AC_EXEEXT.
* acinclude.m4: Move itcl header macros from aclocal.m4 to here.
* aclocal.m4: Regenerated.
* configure: Regenerated.
Jim Blandy [Mon, 1 Feb 1999 21:17:46 +0000 (21:17 +0000)]
*** empty log message ***
Jim Blandy [Mon, 1 Feb 1999 21:17:19 +0000 (21:17 +0000)]
Allow PPC users to select which PPC/RS6000 variant they're debugging
at run-time. At the moment, the only thing this affects is the
set of registers visible.
* config/rs6000/tm-rs6000.h (REGISTER_NAME): Define this as a call
to the function rs6000_register_name.
(rs6000_register_name): Include extern decl.
(NUM_REGS): Bump to 183. What's the right way to do this?
(FIRST_UISA_SP_REGNUM, LAST_UISA_SP_REGNUM): Renamed from
FIRST_SP_REGNUM, LAST_SP_REGNUM.
(REGISTER_BYTES): Recompute this.
* rs6000-tdep.c: Renamed all uses of FIRST_SP_REGNUM and
LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
some concomitant formatting changes.
#include "gdbcmd.h", so we can define commands here.
(struct variant): New structure.
(COMMON_UISA_REG_NAMES, PPC_UISA_SPR_NAMES, PPC_SEGMENT_REG_NAMES,
PPC_32_OEA_SPR_NAMES, num_registers): New macros.
(register_names_rs6000, register_names_uisa, register_names_403,
register_names_403GC, register_names_505, register_names_860,
register_names_601, register_names_602, register_names_603,
register_names_604, register_names_750, variants): New variables.
(rs6000_register_name, install_variant, find_variant_by_name,
install_variant_by_name, list_variants, show_current_variant,
set_processor, show_processor): New functions.
(_initialize_rs6000_tdep): Define new commands `set processor' and
`show processor', and call install_variant_by_name to set the
default variant.
* rs6000-nat.c: Renamed all uses of FIRST_SP_REGNUM and
LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
some concomitant formatting changes.
* configure.in: Accept the `--with-cpu' flag, to specify a default
processor variant.
* acconfig.h: Provide a blurb for TARGET_CPU_DEFAULT, which is set
by configure's `--with-cpu' flag.
* config.in, configure: Regenerated.
Catherine Moore [Mon, 1 Feb 1999 20:39:54 +0000 (20:39 +0000)]
* readelf.c (dump_relocations): Handle EM_ARM as REL.
Catherine Moore [Mon, 1 Feb 1999 20:34:39 +0000 (20:34 +0000)]
* configure: Regenerate.
* configure.in (arm-*-oabi): New.
(thumb-*-oabi): New.
* config/tc-arm.c (target_oabi): Declare.
(md_apply_fix3): Support REL relocs.
(md_parse_option): Handle -oabi.
(elf32_arm_target_format): New routine.
(md_longopts): Add OPTION_OABI.
* config/tc-arm.h: Redefine TARGET_FORMAT.