Commit Graph

23613 Commits

Author SHA1 Message Date
Keith Seitz
4ce8d0e977 * gdbtk.c (gdbtk_wait): Don't run the timer for ice targets.
* v850ice.c (WM_ADDR_TO_SYM): New message.
        (v850ice_wndproc): Add handler for WM_SOURCE.
        (v850ice_wait): Call the ui_loop_hook occasionally.
        (ice_cont): Acknowledge message before doing anything.
        (ice_stepi): Ack message and let gdbtk do stepping.
        (ice_nexti): Ack message and let gdbtk do stepping.
        (view_source): New function ICE calls to display source code.
1998-09-25 15:22:23 +00:00
Jason Molenda
4817b40893 1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Change --enable-warnings to --enable-build-warnings.
        * configure: Updated.
1998-09-25 03:04:03 +00:00
Jason Molenda
4b23e55c62 Ack, accidentally checked in a configure generated with an obsolete
version of autoconf.
1998-09-25 01:54:25 +00:00
Jason Molenda
e3009a74f4 1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in (WARN_CFLAGS): Add -Wmissing-prototypes.
        * configure: Regenerated.
1998-09-25 01:30:46 +00:00
Jason Molenda
ba68ad5701 1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Add --enable-warnings.
        Adjust whitespace of other --with and --enable options so that
        configure --help lines up correctly.
        * aclocal.m4: Ditto.
        * Makefile.in (WARN_CFLAGS): Add.  Set by configure.
        * configure: Regenerated.
1998-09-25 01:27:47 +00:00
Stan Shebs
f1f8c637ae * remote-rdi.c: Fix formatting, remove some commented-out code.
(init_rdi_ops): Omit needless initializations.
1998-09-24 22:48:48 +00:00
Nick Clifton
a173c5db00 Fic PR 17045: Do not allow insns in R bin if L bin contains a branch. 1998-09-24 16:31:20 +00:00
Nick Clifton
12f7dc5ae7 Fic PR 17045: Add FLAG_JSR attribute to DBT, REIT, RTD and TRAP insns. 1998-09-24 16:26:44 +00:00
Richard Henderson
c4a00a8302 * elflink.h (elf_link_add_object_symbols): Don't record a dynamic
symbol for the indirect alias to a versioned symbol.
1998-09-23 23:09:54 +00:00
Nick Clifton
21056c79a4 PR 17438 - fix parsing of MVTSYS and MVFSYS insns. 1998-09-23 17:56:40 +00:00
Andrew Cagney
8456141bb2 Allow full 64 bits of an address to be specified in an M' or n' packet.
Add backward compatibility variable `set remoteaddresssize' to handle
regressions.
1998-09-23 08:31:50 +00:00
Andrew Cagney
f8059b97e7 * remote.c (_initialize_remote, packet_command, print_packet): Pretty
* print code.
Delete reference to EMC!
1998-09-23 08:12:14 +00:00
Andrew Cagney
abf80d3b9c * remote.c (packet_command): Test REMOTE_DESC to determine if remote
connection is open.
1998-09-23 08:06:50 +00:00
Mark Alexander
0ec1e44d3d Patch from Dawn Perchik <dawn@cygnus.com>:
* rs6000-tdep.c (pop_frame): Handle generic dummy frames.
	(push_arguments): Likewise.
	(frame_saved_pc): Likewise.
	(rs6000_frame_chain): Likewise.
	(ppc_push_return_address): New function.
	(get_saved_register): New function.
	* config/powerpc/tm-ppc-eabi.h: Add generic dummy frame macros.
1998-09-23 05:41:38 +00:00
Nick Clifton
973e995d34 Fix PR 16898 - Implement EITHER_BUT_PREFER_MU execution class
Fix PR 17135 - Prefer register names over symbol names, except when registers
		are unacceptable.
1998-09-23 01:11:23 +00:00
Nick Clifton
b835e47b24 PR 16898: Add uses of EITHER_BUT_PREFER_ME execution unit class. 1998-09-23 00:57:07 +00:00
Jim Wilson
6c173d732e Fix non-ISO C code found by SGI C compiler.
* config/obj-elf.h (ECOFF_DEBUGGING): Add missing parens.
1998-09-23 00:00:45 +00:00
Nick Clifton
aa7bf2a890 Fix PR 17135 (whilst keeping PR14827 fixed) by prefering register names over
symbolic names, except where the register name is unacceptable.
1998-09-22 22:48:42 +00:00
Stu Grossman
7b46dd00e4 * defs.h utils.c (fputc_filtered): New function. Does the obvious...
* jv-lang.c (java_printchar):  Fix output of chars > 0xff.  Fold
	java_emit_char into java_printchar.
	* language.h (PRINT_LITERAL_FORM):  Reformat for readability.
1998-09-22 02:34:38 +00:00
Nick Clifton
7f44038a5f Fix info float test for arm-elf toolchains 1998-09-21 21:41:36 +00:00
Nick Clifton
a63e37257f Support big endian as well as little endian breakpoints. 1998-09-21 21:39:41 +00:00
Doug Evans
3c62de83cd update tc-dvp.c with sky-980617-branch 1998-09-21 20:27:28 +00:00
Drew Moseley
fa41e1a3fa Added sanitize-ide markers 1998-09-21 18:37:32 +00:00
Nick Clifton
e8dedcb3fe Fix PR 17105 - reset previous insn to empty after emitting NOPs. 1998-09-21 17:44:48 +00:00
Catherine Moore
74db0d03a7 * elf32-i386.c (elf32_i386_vtinherit_howto): New.
(elf32_i386_vtentry_howto): New.
        (elf_i386_reloc_type_lookup):  Return elf32_i386_vtentry_howto
        or elf32_i386_vtinherit_howto  on lookup.
1998-09-21 17:29:28 +00:00
Ron Unrau
3dc96daa2d * incorporate SKY-B changes (makes dual maintenance easier).
* txvu-tdep.c (check_overlap): new function to guarantee that
          overlays are either mapped or unmapped in their entirety.
        * txvu-tdep.c (compress_blockvector): compress blockvectors correctly
1998-09-21 05:11:13 +00:00
Michael Meissner
4abb25eaff Do not require an ANSI compiler 1998-09-20 22:21:23 +00:00
Ian Lance Taylor
568caf5326 Sun Sep 20 01:00:01 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* gas/vtable/inherit1.l: Require only the word GAS somewere in the
	first line of the listing.
1998-09-20 05:00:45 +00:00
Ian Lance Taylor
ba5900222d Sun Sep 20 00:58:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config/tc-m68k.h (TC_FORCE_RELOCATION): New macro.  Force vtable
	relocs.
	* config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs.
1998-09-20 04:59:11 +00:00
Ian Lance Taylor
776c436d8b Sun Sep 20 00:48:07 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf32-m68k.c: Include "elf/m68k.h".  Remove definition of enum
	reloc_type.  Rename R_68K__max to R_68K_max.
	(howto_table): Use _bfd_elf_rel_vtable_reloc_fn for a VTENTRY
	reloc.
1998-09-20 04:57:41 +00:00
Ian Lance Taylor
8c685dfe22 Sun Sep 20 00:54:22 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* m68k.h: Add vtable relocs and R_68K_max.
1998-09-20 04:55:51 +00:00
Ian Lance Taylor
8b77a7d9d2 Sun Sep 20 00:09:25 1998 Chris Torek <torek@bsdi.com>
* libbfd.c (bfd_getb32): Rewrite expression to get better code.
	(bfd_getl32, bfd_getb_signed_32, bfd_getl_signed_32): Likewise.
1998-09-20 04:17:27 +00:00
Ian Lance Taylor
0983267416 * libbfd.c (bfd_log2): Cast to bfd_vma before shifting, not
after.  From Chris Torek <torek@bsdi.com>.
1998-09-20 03:53:05 +00:00
Ian Lance Taylor
d7298d8f7e Sat Sep 19 22:42:23 1998 Doug Rabson <dfr@nlsystems.com>
* elflink.h (elf_link_add_object_symbols): Ensure that the warning
	message has a null byte terminator.
1998-09-20 02:45:04 +00:00
Keith Seitz
864e89fc9d * gdbtk-cmds.c (get_frame_name): Demangle function names, too. 1998-09-18 23:45:45 +00:00
Doug Evans
46fca0d897 * dvp-opc.c (gif_opcodes): Support EOP on gifimage.
PR 17293.
1998-09-18 23:30:40 +00:00
Nick Clifton
618e96a058 Fic PR17107 - ignore contents of word subject to R_V850_32 relocation. 1998-09-18 21:37:41 +00:00
Michael Snyder
d5e3b34ad8 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.trace/*.exp: remove "remote_download" command.
1998-09-18 21:10:23 +00:00
Nick Clifton
bc2c7e533b Always treat section symbols as special, even if they are attached to a
common section.
1998-09-18 16:23:48 +00:00
Peter Schauer
d2fce7f74c * sol-thread.c (sol_thread_notice_signals): Use PIDGET when
passing pid down to procfs_notice_signals.
1998-09-18 14:57:16 +00:00
Nick Clifton
f5ec493e57 Add comment about problem computing nearets line numbers for undefined
symbols at link time.
1998-09-18 00:22:23 +00:00
Richard Henderson
93893904de * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't
transform a defweak into a plt entry.
        (elf64_alpha_calc_dynrel_sizes): Allow room for secondary
        plt entry references to receive a RELATIVE reloc.
        (elf64_alpha_finish_dynamic_symbol): Fill them in.
        (elf64_alpha_relocate_section): Assert we don't overrun
        the allocated relocation space.
1998-09-17 23:17:10 +00:00
Geoffrey Noer
e2bf9e3640 update 1998-09-17 00:06:01 +00:00
Stu Grossman
082a0803b1 * stabsread.c (resolve_symbol_reference): Return 1 on success, 0 on
failure.
	* (define_symbol):  Check return value from resolve_symbol_reference,
	and drop symbol if it fails.
1998-09-16 21:59:01 +00:00
Catherine Moore
9c68226165 get rid of print statement in elf32_arm_gc_mark_hook. 1998-09-16 16:31:18 +00:00
Felix Lee
d9720f0dd4 * gdb.trace/configure.in(AC_INIT): typo
* gdb.trace/configure: regenerated
1998-09-16 08:25:59 +00:00
Stu Grossman
3c47adae01 * stabsread.c: Make all complaints static.
* Fix formatting of live range splitting code.
	* (resolve_symbol_reference define_symbol resolve_live_range):  Change
	errors to complaints so that bad live range symbols won't abort the
	entire symbol table.  Handle errors by aborting just the current
	symbol.
	* (ref_init):  Goes away.  Folded into ref_add().
	* (REF_MAP_SIZE):  Put parens around parameter so that args like
	`1 + 2' get handled correctly (yes, this was a real bug).
	* (ref_add):  Remove check for allocation failures.  Not necessary
	when using xrealloc().  Fix pointer arithmetic problem when clearing
	memory.  This and the previous patch prevent random SEGV's when there
	are lots of live range symbols.
1998-09-15 22:38:40 +00:00
Michael Snyder
27001c664d Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* lib/<emc-support.exp trace-support.exp}: New files.
        * configure.in: add new test directory gdb.trace.
        * gdb.trace/{configure configure.in Makefile.in}: New files.
        * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
        * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
        * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
        * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
        * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
        * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
        * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
1998-09-15 22:25:01 +00:00
Doug Evans
ff8c385ab3 * m32r-sim.h (GET_H_SM): New macro.
(UART params): Update to msa2000.
	* devices.c (device_io_read_buffer): Update to msa2000.
	* m32r.c (m32rb_h_cr_get,m32rb_h_cr_set): Handle bbpc,bbpsw.
	(m32rb_h_psw_get,m32rb_h_psw_set): New functions.
	* arch.c,arch.h,cpu.c,cpu.h,sem-switch.c,sem.c: Regenerate.
	* m32rx.c (m32rx_h_cr_get,m32rx_h_cr_set): Handle bbpc,bbpsw.
	(m32rx_h_psw_get,m32rx_h_psw_set): New functions.
	* cpux.c,cpux.h,readx.c,semx.c: Regenerate.
PR 15938.
1998-09-15 22:16:08 +00:00
Vladimir Makarov
5df02296c9 1998-09-15 Geoff Keating <geoffk@ozemail.com.au>
* elf32-ppc.c (ppc_elf_relocate_section): Reverse output_offset
	part of Vladimir's change of 1998-08-19.  Make a R_PPC_SDAREL16
	reloc to the wrong section a warning, not an error.  .dynsbss
	is not an output section, so there is no need to check for it.
1998-09-15 21:36:41 +00:00