24709 Commits

Author SHA1 Message Date
8ad50a7304 cgen generated files for sparc simulator 1999-02-02 21:50:12 +00:00
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
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
cac2f51851 configure sparc subdir if --with-cgen 1999-02-02 20:40:33 +00:00
cd6245ce70 sparc cgen port 1999-02-02 19:38:43 +00:00
27a9a44af7 lose sparc for now 1999-02-02 19:17:42 +00:00
429ca00c5f Dump tags found after the comp unit entry in a .debug_info section/ 1999-02-02 15:59:56 +00:00
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
306c2ca06a Add ability to dump .debug_aranges sections 1999-02-02 12:44:54 +00:00
ca2afaf3fb DisplayDWARF2 basic type encodings. 1999-02-02 12:12:11 +00:00
808837c56e Fix spelling typo. 1999-02-02 11:45:18 +00:00
624578b61b Replace {...} with [...] 1999-02-02 09:13:08 +00:00
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
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
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
78d1380307 add armelf_oabi.em 1999-02-01 22:39:43 +00:00
951253ca27 add armelf_oabi.sh 1999-02-01 22:38:59 +00:00
2459fd703e add arm-oabi.h 1999-02-01 22:37:14 +00:00
1beed5db70 remove elf32-arm.c.
add elf32-arm-oldabi., elf32-arm-newabi.c, elf32-arm.h
1999-02-01 22:36:29 +00:00
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
7d201336b4 *** empty log message *** 1999-02-01 21:17:46 +00:00
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
e745689c95 * readelf.c (dump_relocations): Handle EM_ARM as REL. 1999-02-01 20:39:54 +00:00
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
7f7cef942c Add GC support. 1999-02-01 20:23:31 +00:00
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
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
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
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
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
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
af9067c171 Adding scrwin3.test.to .Sanitize. 1999-02-01 19:29:24 +00:00
0c17cddada *** empty log message *** 1999-02-01 19:03:07 +00:00
a21a12e39e Remove v850e sanitization 1999-02-01 11:21:32 +00:00
0835d7d74a Remove sanitization of v850e-elf 1999-02-01 11:13:44 +00:00
c5d09c0f87 Add v850e-elf target. 1999-02-01 11:11:46 +00:00
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
552316ee17 * buildsym.h, buildsym.c: Convert to ANSI-only. 1999-02-01 00:38:25 +00:00
3d26bb0e8e 1999-01-31 17:57:31 1998 Michael Meissner <meissner@cygnus.com>
* scripttempl/elfppc.sc: Add support for -fleading-underscores
	switch in all linker generated symbols.

	* configure.tgt (powerpc{,le}*-*-vxworks): Add as aliases for
	powerpc{,le}-*-eabi.
1999-02-01 00:02:52 +00:00
1ec5bd10de 1999-01-31 Michael Meissner <meissner@cygnus.com>
* config.bfd (powerpc{,le}-*-vxworks*): Add aliases to
	powerpc{,le}-*-eabi.
1999-01-31 23:59:10 +00:00
8523b5f36d * buildsym.h, buildsym.c: Reformat to standard. 1999-01-31 23:57:18 +00:00
f3cc3e6e6d * buildsym.c (merge_symbol_lists): Remove unused variable.
(_initialize_buildsym): Remove, does nothing.
1999-01-31 23:29:13 +00:00
3a70e50388 1999-01-31 J.T. Conklin <jtc@redbacknetworks.com>
* i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
 	sparcl-stub, sparclet-stub.c: Change declaration of putDebugChar
 	to include explicit void return type as per documentation.  Fix up
 	occasions where stubs erroneously checked return type.
1999-01-31 21:46:19 +00:00
b7263fb370 From J.T. Conklin <jtc@redbacknetworks.com>:
* remote.c (remote_query): Fix tipo.
1999-01-31 21:23:43 +00:00
caf6b72db4 *** empty log message *** 1999-01-30 19:27:42 +00:00
90757b8afd fix use of sanitize to be sanitise to avoid hiccups 1999-01-30 05:11:51 +00:00
7338159674 update to show move by shebs from gdb.base 1999-01-30 05:06:28 +00:00
cda195d264 update from shebs relocation of files to gdb.hp 1999-01-30 05:05:21 +00:00
1b1b2d18ec comment out kod piece, since kod.c and kodecosdll.c are not checked
into CVS.
1999-01-30 05:04:43 +00:00
1d70b547cb 1999-01-29 James Ingham <jingham@cygnus.com>
* gdbtk.c (gdbtk_init): Set the fputs_unfiltered_hook to
	gdbtk_fputs BEFORE you eval script.  The old code was setting it
	to null until after you did this, but that is wrong, because it
	will cause the output of CAUGHT errors to go to gdb_stderr, which
	is wrong.  You only want to write errors to the console if the
	eval generates an error.
1999-01-30 04:20:31 +00:00