Commit Graph

24692 Commits

Author SHA1 Message Date
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
Edith Epstein
34adffbd05 Fri Jan 29 16:44:01 1999 Edith Epstein <eepstein@sophia.cygnus.com>
* inferior.h: ran indent

	* fork-child.c: ran indent

	* infrun.c : ran indent
1999-01-29 21:47:09 +00:00
Elena Zannoni
fbd641cbd3 Fri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* infrun.c (_initialize_infrun): do not stop or print anything
	when a SIGWINCH is received.
1999-01-29 18:29:12 +00:00
Elena Zannoni
f4d3153f65 Fri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Makefile.in (m2-exp.tab.c): use YACC not BISON.
	(f-exp.tab.c): ditto
	(jv-exp.tab.c): ditto
	(c-exp.tab.c): ditto
	(YACC): define as @YACC@
1999-01-29 18:01:29 +00:00
Keith Seitz
16c338694d * gdb.gdbtk/cpp_variable.test (cpp_variable-1.1): Fix
function name error.

        * gdb.gdbtk/cpp_variable.h (class VC): Fix compiler warning.

	Fix sanitize error in changelog.
1999-01-29 14:35:12 +00:00
Nick Clifton
521f02c8bc Remove unused variables 1999-01-29 12:57:16 +00:00
Nick Clifton
e356c94b92 Fix seg fault producing histogram 1999-01-29 11:57:27 +00:00
Nick Clifton
6869092ea1 Add tests for readelf's Dwarf2 dumping feature. 1999-01-29 11:16:08 +00:00
Nick Clifton
1b977c7dbf Support v850 expected failures. 1999-01-29 10:49:19 +00:00
Nick Clifton
5cee067a58 Add tests of readelf. 1999-01-29 10:17:51 +00:00
Martin Hunt
7c5c8a5e46 1999-01-29 Martin Hunt <hunt@cygnus.com>
* gdbtk-cmds.c (gdb_get_breakpoint_info): When printing addresses,
        do not rely on the format string "%lx" -- it does not exist for all
        hosts. Use paddr instead.
	(gdb_loadfile): Increase maximum line size to pass testsuite cases.

	* gdbtk-hooks.c (gdbtk_add_hooks): Remove pc_changed_hook and
        add register_changed_hook and memory_changed_hook.
        (gdbtk_register_changed): New function.
        (gdbtk_memory_changed): New function.
1999-01-29 09:46:26 +00:00