Commit graph

24852 commits

Author SHA1 Message Date
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
Stan Shebs
552316ee17 * buildsym.h, buildsym.c: Convert to ANSI-only. 1999-02-01 00:38:25 +00:00
Vladimir Makarov
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
Vladimir Makarov
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
Stan Shebs
8523b5f36d * buildsym.h, buildsym.c: Reformat to standard. 1999-01-31 23:57:18 +00:00
Stan Shebs
f3cc3e6e6d * buildsym.c (merge_symbol_lists): Remove unused variable.
(_initialize_buildsym): Remove, does nothing.
1999-01-31 23:29:13 +00:00
Stan Shebs
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
Stan Shebs
b7263fb370 From J.T. Conklin <jtc@redbacknetworks.com>:
* remote.c (remote_query): Fix tipo.
1999-01-31 21:23:43 +00:00
Jim Blandy
caf6b72db4 *** empty log message *** 1999-01-30 19:27:42 +00:00
Brendan Kehoe
90757b8afd fix use of sanitize to be sanitise to avoid hiccups 1999-01-30 05:11:51 +00:00
Brendan Kehoe
7338159674 update to show move by shebs from gdb.base 1999-01-30 05:06:28 +00:00
Brendan Kehoe
cda195d264 update from shebs relocation of files to gdb.hp 1999-01-30 05:05:21 +00:00
Brendan Kehoe
1b1b2d18ec comment out kod piece, since kod.c and kodecosdll.c are not checked
into CVS.
1999-01-30 05:04:43 +00:00
Jim Ingham
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
Martin Hunt
b845066654 1999-01-29 Martin Hunt <hunt@cygnus.com>
* srcwin.test (click): New function that generates an event
	at a location.
	(srcwin-4.4): New test. Simulate a click on a line and
	check for breakpoint set.
	(srcwin-4.5): New test. Right-click on a line and select "Continue
	to Here" from popup.

	* srcwin.exp: Source srcwin3.test, which will test source window
	assembly debugging on executables built without "-g".
1999-01-30 02:56:04 +00:00
Jim Ingham
054b29542c Adding some missing files to the .Sanitize file. 1999-01-30 02:13:12 +00:00
Elena Zannoni
f9039690ac Fri Jan 29 19:10:09 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Fix typos in ChangeLog
1999-01-30 00:12:22 +00:00
Stan Shebs
a8edbc4de0 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
 	(shortening names from solib_threshold.exp etc), won't run on
 	anything but HP-UX for the foreseeable future.
	* gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
 	reflect move.
1999-01-30 00:03:21 +00:00
Stan Shebs
db36fe70e7 Move other gdbtk testsuite changelog entries here 1999-01-29 23:57:22 +00:00
Stan Shebs
68ed1ed6de No longer sanitize out refs to v850e or v850ea 1999-01-29 23:40:26 +00:00
Stan Shebs
31bcf8905f * configure.tgt (v850): Add wildcard to match.
Also remove sanitization for v850e and ea.
1999-01-29 23:39:40 +00:00