Commit Graph

24822 Commits

Author SHA1 Message Date
Catherine Moore
c7fde2d901 add elf_fr30_check_relocs. 1999-02-03 21:09:07 +00:00
Richard Henderson
b7a4b50949 * config/tc-alpha.c (md_show_usage): Document pca56 and ev6 options. 1999-02-03 19:36:27 +00:00
Christopher Faylor
d8f6bd4ee7 * 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.
1999-02-03 19:29:00 +00:00
Keith Seitz
2a9984fc65 * gdbtool.ico: Add missing desktop image. 1999-02-03 17:03:18 +00:00
Keith Seitz
62286abf6e * 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.
1999-02-03 17:02:01 +00:00
Jim Wilson
977c3ef089 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.
1999-02-03 06:41:24 +00:00
Ian Lance Taylor
6efd50e3f7 * format.c (bfd_check_format_matches): If the target was
previously specified, don't check other targets when checking for
	an archive file.
1999-02-03 02:39:33 +00:00
Catherine Moore
434adc8ec1 * config.sub (oabi): Recognize.
* configure.in (arm-*-oabi):  Handle.
        (thumb-*-oabi):  Handle.
1999-02-03 02:30:34 +00:00
Catherine Moore
5ce0edb79e * 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.
1999-02-03 02:20:12 +00:00
Catherine Moore
f4355fa583 * ld-selective/selective.exp: Disable test for unsupported
targets.  Change tests to check for absence of symbols instead
        of address zero.
1999-02-03 01:16:50 +00:00
Elena Zannoni
17c9273aa1 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.
1999-02-02 23:53:54 +00:00
Michael Meissner
64381ab4ee Change M32RX sanitization from m32rx sanitization to normal Cygnus sanitization 1999-02-02 23:52:42 +00:00
Elena Zannoni
85a85d8a14 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.
1999-02-02 23:38:45 +00:00
Doug Evans
8ad50a7304 cgen generated files for sparc simulator 1999-02-02 21:50:12 +00:00
Martin Hunt
8c8fff6321 1999-02-02 Martin Hunt <hunt@cygnus.com>
* gdbtk-cmds.c (get_register): For RAW display, concat all the
	pieces together before calling fputs.
1999-02-02 21:26:56 +00:00
Martin Hunt
71003ca13f 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().
1999-02-02 21:11:16 +00:00
Doug Evans
cac2f51851 configure sparc subdir if --with-cgen 1999-02-02 20:40:33 +00:00
Doug Evans
cd6245ce70 sparc cgen port 1999-02-02 19:38:43 +00:00
Doug Evans
27a9a44af7 lose sparc for now 1999-02-02 19:17:42 +00:00
Nick Clifton
429ca00c5f Dump tags found after the comp unit entry in a .debug_info section/ 1999-02-02 15:59:56 +00:00
Elena Zannoni
fa36fcf53c 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.
1999-02-02 15:17:34 +00:00
Nick Clifton
306c2ca06a Add ability to dump .debug_aranges sections 1999-02-02 12:44:54 +00:00
Nick Clifton
ca2afaf3fb DisplayDWARF2 basic type encodings. 1999-02-02 12:12:11 +00:00
Nick Clifton
808837c56e Fix spelling typo. 1999-02-02 11:45:18 +00:00
Nick Clifton
624578b61b Replace {...} with [...] 1999-02-02 09:13:08 +00:00
Catherine Moore
9aff0cd797 * 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.
1999-02-02 03:55:35 +00:00
Catherine Moore
d322c85391 * 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.
1999-02-02 03:08:29 +00:00
Catherine Moore
d0cbdea696 * 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.
1999-02-02 02:58:57 +00:00
Catherine Moore
78d1380307 add armelf_oabi.em 1999-02-01 22:39:43 +00:00
Catherine Moore
951253ca27 add armelf_oabi.sh 1999-02-01 22:38:59 +00:00
Catherine Moore
2459fd703e add arm-oabi.h 1999-02-01 22:37:14 +00:00
Catherine Moore
1beed5db70 remove elf32-arm.c.
add elf32-arm-oldabi., elf32-arm-newabi.c, elf32-arm.h
1999-02-01 22:36:29 +00:00
Jason Molenda
0abbe35d84 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.
1999-02-01 21:34:30 +00:00
Jim Blandy
7d201336b4 *** empty log message *** 1999-02-01 21:17:46 +00:00
Jim Blandy
2ac058fda9 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.
1999-02-01 21:17:19 +00:00
Catherine Moore
e745689c95 * readelf.c (dump_relocations): Handle EM_ARM as REL. 1999-02-01 20:39:54 +00:00
Catherine Moore
9ac8e451f6 * 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.
1999-02-01 20:34:39 +00:00
Nick Clifton
7f7cef942c Add GC support. 1999-02-01 20:23:31 +00:00
Catherine Moore
6712be04be * targets.c (bfd_target_vector): Add bfd_elf32_littlearm_oabi_vec
and bfd_elf32_bigarm_oabi_vec.
1999-02-01 20:23:30 +00:00
Catherine Moore
95c5070c6e * Makefile.am (elf32-arm-oldabi.lo): New.
(elf32-arm-newabi.lo):  New.
        * Makefile.in:  Regenerate.
        * config.bfd (thumb-*-elf):  Remove definition of targ_underscore.
        (arm-*-elf):  Likewise.
        (arm-*-oabi):  New.
        (thumb-*-oabi):  New.
        * configure:  Regenerate.
        * configure.in (bfd_elf32_littlearm_oabi_vec):  New.
        (bfd_elf32_bigarm_oabi_vec):  New.
        * elf32-arm-newabi.c:  New.
        * elf32-arm-oldabi.c:  New.
        * elf32-arm.c:  Removed.
        * elf32-arm.h:  New.
1999-02-01 20:21:00 +00:00
Martin Hunt
a89837187f 1999-02-01 Martin Hunt <hunt@cygnus.com>
* srcwin.test (srcwin-4.3): Fix bp test.
1999-02-01 20:13:54 +00:00
Martin Hunt
3267b29009 1999-02-01 Martin Hunt <hunt@cygnus.com>
* gdbtk-cmds.c: (gdb_set_bp): Change the "type" argument
	to be ASCII instead of an integer. Currently accepts "temp"
	or "normal".  Fixed error messages.
	(gdb_set_bp_addr): Ditto.
1999-02-01 20:06:38 +00:00
Catherine Moore
72cfd23f2a * Makefile.am (earmelf_oabi.o): New.
* Makefile.in:  Regenerate.
        * configure.tgt (arm-*-oabi):  New.
        (thumb-*-oabi):  New.
        * emulparams/armelf_oabi.sh:  New.
        * emultempl/armelf_oabi.em:  New.
1999-02-01 19:45:14 +00:00
Catherine Moore
612df9a73a * arm.h: Renumber relocs to conform to standard.
(EF_NEW_ABI):  Define.
        (EF_OLD_ABI):  Define.
        * arm-oabi.h:  New file.
1999-02-01 19:38:10 +00:00
Jim Ingham
af9067c171 Adding scrwin3.test.to .Sanitize. 1999-02-01 19:29:24 +00:00
Edith Epstein
0c17cddada *** empty log message *** 1999-02-01 19:03:07 +00:00
Nick Clifton
a21a12e39e Remove v850e sanitization 1999-02-01 11:21:32 +00:00
Nick Clifton
0835d7d74a Remove sanitization of v850e-elf 1999-02-01 11:13:44 +00:00
Nick Clifton
c5d09c0f87 Add v850e-elf target. 1999-02-01 11:11:46 +00:00
Frank Ch. Eigler
d5a63bdef1 * "objcopy -O binary" warning tweak, suggested by dmoseley
Mon Feb  1 11:52:12 1999  Frank Ch. Eigler  <fche@cygnus.com>
	* binary.c (binary_set_section_contents): Omit warnings for
	unloadable sections.
1999-02-01 09:05:43 +00:00