Commit graph

24062 commits

Author SHA1 Message Date
Andrew Cagney
1c3cd1b020 Clean up function return types. Functions not returning values,
functions unnecessarily returning values.
1998-12-03 05:34:25 +00:00
Stan Shebs
321d48c5b8 From Brendan Kehoe:
* gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
	int return types.
1998-12-03 04:08:14 +00:00
Ulrich Drepper
b57b7d4c82 Update. 1998-12-03 02:00:20 +00:00
Ulrich Drepper
bd7be6b090 (process_mips_specific): Print .conflict section content. 1998-12-03 01:59:23 +00:00
Michael Snyder
a9d0b92329 Wed Dec 2 15:11:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* m32r-tdep.c (decode_prologue): If no branch or push fp is found,
        but there's a stack adjust, then use that as the end of prologue.
        (m32r_skip_prologue): don't skip past the first line if there is
        line info.  (m32r_virtual_frame_pointer): new function.
        (m32r_fix_call_dummy): no return value needed.
1998-12-03 00:50:54 +00:00
Ulrich Drepper
46be1c93d2 Update. 1998-12-02 23:38:04 +00:00
Ulrich Drepper
7922afa1da (process_mips_specific): Print l_flags in liblist in textual form. 1998-12-02 23:37:54 +00:00
Ulrich Drepper
46ab34a185 Add more LL_* options from Irix 6.5. 1998-12-02 23:36:56 +00:00
Michael Snyder
bc2574a9dd spelling correction. 1998-12-02 23:27:40 +00:00
Michael Snyder
55be5ef506 Wed Dec 2 15:11:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c: Move default definition of
        TARGET_VIRTUAL_FRAME_POINTER from here to target.h.
        * target.h: Add default definition of TARGET_VIRTUAL_FRAME_POINTER.
        * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address):
        use TARGET_VIRTUAL_FRAME_POINTER to determine frame pointer.
        (gen_trace_for_expr): new argument, address of tracepoint,
        gets passed to new_agent_expr and added to struct agent_expr.
        (is_nontrivial_conversion): call to new_agent_expr now requires
        a dummy argument.  (agent_command): use get_current_frame() to
        get current PC scope; pass it to gen_trace_for_expr.
        * ax-general.c (new_agent_expr): new argument, address of
        tracepoint; store it in new field of struct agent_expr.
        * ax.h (struct agent_expr): add new field for tracepoint address.
        * ax-gdb.h: change prototypes to match above changes.
1998-12-02 23:22:58 +00:00
Ulrich Drepper
077e3444ce Update. 1998-12-02 21:47:13 +00:00
Ulrich Drepper
47a5b9f337 Add R_MIPS_JALR and adjust R_MIPS_max appropriately. 1998-12-02 21:46:19 +00:00
Doug Evans
6ad9ba646b add docs for r5900 arg characters 1998-12-02 20:44:29 +00:00
Nick Clifton
38c01dc96e Enable relocs for ldi:20 insn 1998-12-02 15:53:48 +00:00
Ian Lance Taylor
3ac83be0c7 * elflink.h (elf_adjust_dynamic_symbol): Warn on an attempt to
link against a dynamic symbol with no type or size.
1998-12-02 05:59:07 +00:00
Stan Shebs
156eb5bc46 * gdbint.texinfo: Add some info about symbol readers.
(CHILL_PRODUCER, etc): Comment out descriptions, not useful.
	(IN_SOLIB_CALL_TRAMPOLINE): Rename info from IN_SOLIB_TRAMPOLINE.
	(IN_SOLIB_RETURN_TRAMPOLINE): Describe.
	(KERNEL_DEBUGGING, MIPSEL): No info about these, remove.
1998-12-02 01:55:32 +00:00
Ulrich Drepper
27f7e91adf Update. 1998-12-01 20:50:27 +00:00
Jim Wilson
16636918e8 patch for PR 18243.
* coff-h8300.c (h8300_bfd_link_add_symbols): Make reloc_size,
	reloc_count and i long instead of unsigned long.  Handle error
	return from bfd_canonicalize_reloc.
1998-12-01 20:17:18 +00:00
Frank Ch. Eigler
3d7075f5f5 * A few more improvements to gx jit prototype.
[common/ChangeLog]
1998-12-01  Frank Ch. Eigler  <fche@elastic.org>
	* sim-gx-run.c (sim_engine_run): Use new tgx_info struct to
	collect run-time arguments to gx block.
	* sim-gx.h (sim_gx_function): Corresponding signature change.
	* sim-gx.c (sim_gx_compiled_block_f): Remove nonfunctional code to
	again compile a gx block source file.
	(sim_gx_compiled_block_dispose): Uninstall obsoleted gx block
	shared libraries.
	(sim_gx_block_translate): Always emit new "gx_label_NNNN" labels,
	for basic block entry points, even if !__GNUC__.
[m32r-gx/ChangeLog]
1998-12-01  Frank Ch. Eigler  <fche@elastic.org>
	* Makefile.in (SIM_OBJS): Don't build sim-core.o.
	* configure.in:	Added --enable-sim-inline support.
	Look for "getenv()" function.
	* configure: Rebuilt.
	* config.in: Rebuilt.
	* gx-translate.c: Include "sim-inline.c" for sim-core inlining.
	(m32r_gx_{load,store}*): Update signature.
	(tgx_emit_pre_function): Emit new "tgx_info" struct, update
	callback function signatures.
	(m32r_emit_*_insn): Use new callback signatures.  For all short
	branches in optimized mode, emit direct "goto gx_label_NNNN".
	(tgx_optimize_test): If the GX_OPTIMIZE environment variable is
	set, allow its integer value to override the optimization heuristic.
	* m32r-sim.h: New empty placeholder file.
	* sim-main.c: New empty placeholder file.
	* sim-if.c (sim_create_inferior): Use NULL instead of &abort
	for unimplemented register fondling functions.
	* sim-main.h: Add multiple inclusion guard.  Update callback
	function signatures.
	(tgx_info): New struct for collecting gx block invocation
	arguments.
1998-12-01 13:28:53 +00:00
Nick Clifton
1ab49c8481 Detect the absence of a symbol hash table. 1998-12-01 09:58:28 +00:00
Andrew Cagney
5f084e47d4 Cleanup open comments. 1998-12-01 01:18:18 +00:00
Doug Evans
3f235519e6 * config/fr30/tm-fr30.h (INNER_THAN): Add parameters. 1998-12-01 00:05:18 +00:00
Doug Evans
3c034beb5b * cgen-utils.c (cgen_virtual_opcode_table): Update. 1998-11-30 23:43:58 +00:00
Doug Evans
86dc452e25 * cgen-dis.c (hash_insn_array): CGEN_INSN_VALUE ->
CGEN_INSN_BASE_VALUE.
	* cgen-asm.in (insert_normal): Change start,length to unsigned int.
	New args word_offset, word_length.  Rewrite.
	(FLD): Define.
	(insert_1): Fix lsb0 case.
	* cgen-dis.in (extract_normal): Change start,length to unsigned int.
	New args word_offset, word_length.  Rewrite.
	(FLD): Define.
	(extract_1): Fix lsb0 case.
	* cgen-opc.in (FLD): Define.
	* m32r-opc.c,m32r-opc.h,m32r-asm.c,m32r-dis.c: Regenerate.
	* fr30-opc.c,fr30-opc.h,fr30-asm.c,fr30-dis.c: Regenerate.
1998-11-30 23:41:55 +00:00
Doug Evans
60babd1a36 * Makefile.am (CGENFILES): Add rtx-funcs.scm.
* Makefile.in: Rebuild.
1998-11-30 19:53:57 +00:00
Gavin Romig-Koch
01b7cec600 missing stuff for vr4xxx 1998-11-30 19:28:22 +00:00
Joern Rennecke
c2d4e43129 * elf32-sh.c (elf/sh.h): Include.
sh_reloc_type: Delete.  Changed all references to elf_sh_reloc_type.
        (sh_elf_howto_tab): Add HOWTO for R_SH_SWITCH8.
        (sh_reloc_map): Map BFD_RELOC_8_PCREL to R_SH_SWITCH8.
        (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.
        * Makefile.in: Add dependency of elf32-sh.lo on $(INCDIR)/elf/sh.h.
1998-11-30 15:29:45 +00:00
Andrew Cagney
b696009406 CARP:
Cleanup FRAME_CHAIN_VALID. Replace all macro's with functions.
1998-11-30 10:56:16 +00:00
Andrew Cagney
8743fc885f CARP:
Convert ADDR_BITS_REMOVE to a function.
1998-11-29 07:41:36 +00:00
Andrew Cagney
3a0c96a996 CARP:
Rewrite INNER_THAN so that it takes parameters.
1998-11-28 22:53:04 +00:00
Andrew Cagney
0233186932 CARP:
STEP_SKIPS_DELAY - add STEP_SKIPS_DELAY_P and rewrite use removing
  #ifdef's.
NO_SINGLE_STEP - replace with SOFTWARE_SINGLE_STEP_P +
  SOFTWARE_SINGLE_STEP.  Replace global variable one_stepped with static
  singlestep_breakpoints_inserted_p.  Cleanup infrun.c (scary!).
1998-11-27 23:35:08 +00:00
Richard Henderson
5825dfc525 * elflink.h (compute_bucket_count): Don't allow minsize==0, it
causes division by zero later on.
1998-11-27 17:03:39 +00:00
Dave Brolley
e1aa8a6373 Thu Nov 26 11:26:32 1998 Dave Brolley <brolley@cygnus.com>
* fr30-dis.c: Regenerated.
1998-11-26 16:50:44 +00:00
Dave Brolley
b42d437552 Thu Nov 26 11:26:32 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c: Regenerated.
1998-11-26 16:28:02 +00:00
Dave Brolley
12f2784d7f Thu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com>
* config/tc-fr30.c (md_pcrel_from_section): Restore previous calculation
	of pcrel point.
1998-11-26 16:25:57 +00:00
Dave Brolley
46530d767a Thu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com>
* config/tc-fr30.c (md_pcrel_from_section): Restore previous calculation
	of pcrel point.

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
1998-11-26 16:25:34 +00:00
Dave Brolley
3f298868ce Thu Nov 26 11:19:35 1998 Dave Brolley <brolley@cygnus.com>
* elf32-fr30.c (fr30_elf_pc9_reloc,fr30_elf_pc12_reloc): Not
	needed.
1998-11-26 16:22:08 +00:00
Andrew Cagney
679ce73102 CARP: Delete ABOUT_TO_RETURN across all targets. 1998-11-26 11:13:01 +00:00
Andrew Cagney
07137a112d * rs6000-tdep.c (rs6000_breakpoint_from_pc): Change big_breakpoint
and little_breakpoint to char[] from char*.
* remote-array.c (array_insert_breakpoint): Change bp_addr to
CORE_ADDR type.
1998-11-26 10:36:45 +00:00
DJ Delorie
f1b2a4d619 * ldemul.h (ld_emulation_xfer_struct): new hook "recognized_file"
* ldemul.c (ldemul_recognized_file): new function, new hook
* ldint.texinfo: document new hook.
* ldlang.c (load_symbols): call recognized_hook for all objects we
do recognize, in case the emulation needs to handle them
specially.  PE DLLs use this.
* pe-dll.c (pe_dll_generate_def_file): take out hack and debug
printfs
* emultempl/pe.em (gld_i386_recognized_file): new function
(gld_i486_unrecognized_file): take out hack
1998-11-25 23:03:47 +00:00
DJ Delorie
8cde3351e4 * coff-i386.c (i3coff_object_p): Remove hack. Use new emulation
hook now.
1998-11-25 22:59:34 +00:00
Andrew Cagney
c8623080cb CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB being
canadian-crossed to host i386-cygwin.
1998-11-25 22:13:53 +00:00
Andrew Cagney
a6a5d34927 Fix --enable-build-warnings=-Werror failures.
v850/simops.c, d10v/simops.c, v850/Makefile.in, d10v/Makefile.in:
Include targ-vals.h instead of syscall.h. Replace SYS_* with
TARGET_SYS_*.  Add dependency.
z8k/support.c: Include <errno.h>
v850/simops.c: Replace long with portable signed32.
mips/interp.c: Make sim_monitor global - needed by sky.
1998-11-25 09:58:04 +00:00
Andrew Cagney
9ff152f7f5 mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): Pass
address of bplen.
1998-11-25 09:44:57 +00:00
Andrew Cagney
baa1a48801 Explicitly tag vr41/mips16 instructions.
Update configure.in/configure.
1998-11-25 06:50:48 +00:00
Felix Lee
c48c0c1413 remove some accidentally committed (harmless) code. 1998-11-25 04:22:28 +00:00
Nick Clifton
ff95478c14 Fix calculation of address for pc rel operations. 1998-11-25 01:22:54 +00:00
Nick Clifton
226c1993e9 Add support for 9_PCREL and 12_PCREL relocs. 1998-11-25 01:21:53 +00:00
Gavin Romig-Koch
f8c41900fc For top level:
* config.sub (mips64vr4xxx,mips64vr4xxxel): New.


For gcc:
	* config.sub (mips64vr4xxx,mips64vr4xxxel): New.
	* configure.in (mips64vr4xxx,mips64vr4xxxel): New.
	* config/mips/t-vr4xxx: New.
	* config/mips/elfb4xxx.h: New.
	* config/mips/elfl4xxx.h: New.
	* configure: Rebuilt.

For gas:
	* config/tc-mips.c (md_begin): Added mip64vr4xxx as a
	possible CPU_TARGET.

For gdb:
	* configure.tgt: Handle mips64*vr4xxx.

For ld:
	* configure.tgt: Handle mips64*vr4xxx.
1998-11-25 01:10:52 +00:00
Nick Clifton
cb4ec68697 Fix handling of I32 and I20 relocs. 1998-11-25 00:54:31 +00:00