Commit Graph

11998 Commits

Author SHA1 Message Date
Stu Grossman
724498fdc0 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
during startup.
1995-01-12 01:09:34 +00:00
Rob Savoye
b04a78d487 * array-rom.c: Add support for most commands.
* monitor.c: Add GDB remote protocol for the hybrid environment on
	the Array board.
1995-01-12 00:56:53 +00:00
Ken Raeburn
460a34e851 For COFF targets, make sure F_RELFLG is set exactly when no relocs are present,
instead of making it depend solely on the target CPU.
1995-01-12 00:36:23 +00:00
Ken Raeburn
c01ebe2a5e Don't generate 68020 addressing modes for a 68000 cpu. 1995-01-12 00:34:50 +00:00
Jason Merrill
2f64ef7790 Wed Jan 11 16:29:53 1995 Jason Merrill <jason@phydeaux.cygnus.com>
* Makefile.in (LIBCXXFLAGS_FOR_TARGET): Add -fno-implicit-templates.
1995-01-12 00:31:22 +00:00
Jason Merrill
4f43cffa65 Wed Jan 11 16:29:34 1995 Jason Merrill <jason@phydeaux.cygnus.com>
* m?-*pic (LIBCXXFLAGS): Add -fno-implicit-templates.
1995-01-12 00:30:54 +00:00
Jim Kingdon
8bc8001669 * gdb.base/help.exp: Replace most of docstring for "define" with ".*". 1995-01-11 20:45:59 +00:00
Jim Kingdon
4a2170f0ea * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
was a vestige of the manual TESTSTRATEGY, and the purpose of it
	was to make sure that gdb can read a core file.  But (a) the "read
	the corefile" part didn't make it to a1-selftest.exp, we just
	delete the corefile after creating it, and (b) we test reading
	corefiles in corefile.exp anyway.  Also, this test left around a
	xgdb process on Solaris.

	* gdb.base/corefile.exp: Also test backtrace.
1995-01-11 20:42:33 +00:00
Ian Lance Taylor
788d94361f * sunos.c (sunos_add_one_symbol): Don't core dump if a multiple
definition of an absolute symbol is encountered.
1995-01-11 19:42:28 +00:00
Ian Lance Taylor
040c913e18 * linker.c (_bfd_generic_link_add_one_symbol): Ignore
redefinitions of an absolute symbol to the same value.
PR 6159.
1995-01-11 19:38:06 +00:00
Jeff Law
b47ae8fb93 Opps. Forgot to commit last night's ChangeLog entry. 1995-01-11 17:48:06 +00:00
Ian Lance Taylor
1db367dae0 * ld-scripts/sizeof.exp: New test, based on bug report from
anders.blomdell@control.lth.se.
	* ld-scripts/sizeof.s: New file.
	* ld-scripts/sizeof.t: New file.
1995-01-11 16:49:57 +00:00
Ian Lance Taylor
93a0630f61 * ldexp.c (fold_binary): Adding or subtracting an absolute value
to a relative value does not require forcing the relative value to
	be absolute.  Also, reindent function.
1995-01-11 16:26:15 +00:00
Jeff Law
59528079ca * command.c (show_user_1): Use print_command_line to show a user
defined command (including control structures).

	* top.c (init_main): Change documentation for user defined
	commands to indicate they may accept up to ten arguments.
1995-01-11 07:46:44 +00:00
Jeff Law
b0c2974980 * gdb.base/commands.exp: Test a simple user defined command with
arguments and if/while statements; verify the full user command is
	printed by "show user".
1995-01-11 07:43:53 +00:00
Jeff Law
cba9d85e01 * gdb.base/commands.exp: Test if/while commands as part of a
breakpoint command list; verify they appear in breakpoint
	information.
1995-01-11 07:16:54 +00:00
Jim Kingdon
7454930699 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
than by dividing by zero.
1995-01-11 05:53:49 +00:00
Jeff Law
4f9045b47c * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
performing an inferior call with watchpoints enabled.
	* gdb.base/watchpoint.c (main): Delete second unnecessary read
	call.
1995-01-11 04:48:43 +00:00
Jim Kingdon
d7c6f0f7fb * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
of "file" command.
1995-01-10 23:54:03 +00:00
Jim Kingdon
6fd417ffbb * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
Add additional pattern for when "int operator int(void);" appears
	in a different order.
1995-01-10 23:44:43 +00:00
Jim Kingdon
1d9489c120 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
`move $s8, $sp' instruction.
1995-01-10 21:24:34 +00:00
Jeff Law
ef788f4f66 * gas/hppa/unsorted/unsorted.exp (align4.s): Fix glitch in
regexp to avoid losing without a controlling tty.
1995-01-10 18:43:46 +00:00
Ken Raeburn
7a55f46268 * config/obj-coff.c (write_object_file): Don't treat h8300 and z8k specially
with regard to fixups.
1995-01-10 18:42:28 +00:00
Ken Raeburn
483971bdbf * config/tc-mips.c (RELAX_RELOC1, RELAX_RELOC2): Cast values to bfd_vma before
subtracting.
1995-01-10 01:45:53 +00:00
Ken Raeburn
aac4d5a77f * config/obj-coff.c (size_section): Handle rs_space like rs_fill, but make sure
fr_symbol is null.
(fill_section): Ditto.
1995-01-10 01:41:54 +00:00
Stu Grossman
a42b1d054c * interp.c: Remove def of INLINE. This comes from bfd.h. Also,
declare IOMEM before using it.
1995-01-09 23:46:03 +00:00
Jim Kingdon
229ad46612 * gdb.base/signals.exp: Call gdb_exit and gdb_start. 1995-01-09 22:24:12 +00:00
Jim Kingdon
07112465eb * gdb.base/help.exp: Replace most of docstrings for "info signals"
and "signal" with ".*".
1995-01-09 21:32:53 +00:00
Ian Lance Taylor
f78b396350 * elfcode.h (elf_link_add_object_symbols): It's reasonable for no
flags to be set, so don't insist otherwise.
1995-01-09 20:52:59 +00:00
Jim Kingdon
d5a7bb73aa * configure.in (rs6000-*-*): Don't build gas. 1995-01-09 17:50:42 +00:00
Jeff Law
0bc240c016 Add 1995 to copyright. 1995-01-09 04:35:48 +00:00
Jim Kingdon
d71511fbd3 * TODO: Add note about "handle all nostop".
* gdb.base/{sigall.c, sigall.exp}: New test.
	* gdb.base/Makefile.in: Add it.
1995-01-08 23:03:28 +00:00
Jim Kingdon
3b55fbe386 * target.c, target.h (target_signal_from_command): New function.
* infrun.c (handle_command, signals_info), infcmd.c
	(signal_command): Use it.
	* infrun.c, infcmd.c: Update docstrings for these commands.

	* target.h (enum target_signal), target.c (signals), target.c
	(target_signal_from_host, target_signal_to_host): Add
	TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
	* config/tm-lynx.h: Define signal numbers for realtime events.
1995-01-08 22:13:21 +00:00
Ian Lance Taylor
1113140a24 * config/tc-mips.c (mips_ip): Fix handling of floating point
values when GPOPT is not defined.
1995-01-08 21:17:56 +00:00
Peter Schauer
02b40a193e * dbxread.c (process_one_symbol): Handle N_FUN symbols
for Sun acc 3.0 under SunOS4.

	Changes to improve handling of runtime common symbols
	under SunOS4.
	* minsyms.c (get_symbol_leading_char):  New routine to determine
	the leading symbol character for an objfile.
	(prim_record_minimal_symbol_and_info, install_minimal_symbols):
	Use it.
	* objfiles.h (rt_common_objfile):  New global, points to objfile
	containing the runtime common minimal symbols.
	* objfiles.c (free_objfile):  Mark rt_common_objfile as
	unallocated before freeing it.
	* solib.c (allocate_rt_common_objfile):  New routine to allocate
	an objfile for the runtime common minimal symbols.
	(solib_add_common_symbols):  Allocate an objfile for the runtime
	common symbols if necessary and put common symbols into it.
	Clean up code and comments.
	(solib_add, special_symbol_handling):  Cleanup comments regarding
	runtime common symbols.
	* stabsread.c (scan_file_globals_1):  New routine, contains
	old scan_file_globals code. Checks if there are any unresolved
	global symbols before starting the expensive minimal symbol table
	search.
	(scan_file_globals):  Now calls scan_file_globals_1 for the passed
	objfile and eventually for the runtime common objfile. Complains
	about any unresolved global symbols and removes them from the
	global symbol chain to avoid dangling pointers into the symbol
	table if the symbol table is reread.
1995-01-07 15:30:58 +00:00
Stan Shebs
4a4f9e3bf1 sanitization 1995-01-07 01:35:41 +00:00
Stan Shebs
237eaf373f Keep/lose gdbtk docs 1995-01-07 01:21:01 +00:00
Stan Shebs
22cb0aa7dd * gdbgui.texinfo: New file, manual for GUI (gdbtk) users.
* Makefile.in (gdbgui.dvi, gdbgui.info): New actions.
1995-01-07 01:20:09 +00:00
Ian Lance Taylor
dc7d3f0caf * dis-asm.h: Make idempotent. 1995-01-06 22:48:48 +00:00
Ken Raeburn
71f9b3c097 * config/tc-alpha.c (alpha_ip): Delay calls to emit_add64 until after any
remaining operands are also known to match.
1995-01-06 22:02:27 +00:00
Ken Raeburn
2a6978af8d * gasp.c: Include string.h. Put config.h before other includes. 1995-01-06 22:00:50 +00:00
Ian Lance Taylor
42cf6d7950 * elfcode.h (elf_slurp_symbol_table): Don't set BSF_GLOBAL for an
undefined or common symbol.
	(elf_link_add_object_symbols): Likewise.
1995-01-06 21:50:28 +00:00
Stu Grossman
0972203902 * Makefile.in (install_only uninstall): Indent for clarity
* core.c (dis_asm_read_memory):  Add call to
	dis_asm_read_memory_hook to provide alternate way for disassembler
	to read memory.

	* defs.h:  Protect from multiple inclusion.  Add decl for
	dis_asm_read_memory_hook.

	* gdbtk.c (finish_saving_output):  Don't do anything if not saving
	output.
	* (breakpoint_notify):  Don't send null filename to tcl.
	* (gdb_eval):  New tcl command to eval an expression.
	* (gdb_disassemble):  New tcl command to do disassembly.  This
	allows tcl code to choose between exec file and target memeory,
	and can also do mixed source and assembly.
	* (gdbtk_init):  Move reading of gdbtk.tcl to the end to make sure
	that more of the environment is set up.  Also, create link between
	gdb and tcl vars disassemble{-_}from{-_}exec.

	* gdbtk.tcl:  New expression window support.
	* Make assembly window be 80 columns wide.
	* Use new disassembly method.  Add menu items to select
	disassembly from exec file or target.
	* Change View menubar item to Options.

	* Get rid of Stack, Breakpoints, Signals, and Variables Windows,
	since they don't exist yet.

	* Pop up a copyright window on startup.

	* top.c:  Make window startup be the default.
	* Add dis_asm_read_memory_hook.
1995-01-06 01:55:45 +00:00
Stan Shebs
26e4dcae58 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
when invoking GDB, suppresses any windowing interface.
1995-01-06 01:37:18 +00:00
Stan Shebs
5adf82337d * mpw-configure: Use tr-7to8 instead of mpw-7to8. 1995-01-05 20:54:20 +00:00
Stan Shebs
73cb616765 Keep last year's ChangeLog 1995-01-05 19:44:58 +00:00
Jeff Law
117a817d90 * stabsread.c (define_symbol): Handle `a' symbol type used for
reference parameter passed in a register.
1995-01-05 08:18:13 +00:00
Ian Lance Taylor
ea6d581719 * Makefile.in: Use /x/x/ instead of /brokensed/brokensed/, to
reduce command line length.
	(AS_FOR_TARGET): Check for as.new, not Makefile.
	(NM_FOR_TARGET): Check for nm.new, not Makefile.
1995-01-05 04:56:44 +00:00
Stan Shebs
c4a5c37cfc * gdbtk.tcl (build_framework): Add standard commands menu, more
windows to standard windows menu.
	(not_implemented_yet): Clarify message.
1995-01-05 03:58:18 +00:00
Stan Shebs
c43e9dc6de * mpw-make.in (init.c): Use open-brace instead of mpw-open-brace. 1995-01-05 02:39:47 +00:00