Commit Graph

3985 Commits

Author SHA1 Message Date
Jim Kingdon
f8715549af * printcmd.c: Remove "set print fast-symbolic-addr off" command.
The which it worked around was fixed on 25 Feb 94 in coffread.c,
	so I'm nuking the command.
	* symtab.c (find_addr_symbol): Comment out, no longer used.
1994-03-16 20:09:55 +00:00
Jim Kingdon
ec35141c8c * gdb.texinfo (Print Settings): Don't document "set print
fast-symbolic-addr off".  The bug which it worked around was fixed
	on 25 Feb 94 in coffread.c, so I'm nuking the command.
1994-03-16 20:04:14 +00:00
Jim Kingdon
6d244da7a1 * stabs.texinfo (Alternate Entry Points): New node, rewritten from
N_ENTRY node.

	* stabs.texinfo (Type Descriptors): Add 'Y' type descriptor.
1994-03-16 18:52:45 +00:00
Jim Kingdon
a645ccc926 * main.c (main): Don't init_source_path for the -cd argument. Now
that source_path doesn't contain the current_directory from when
	GDB started up, init_source_path is no longer useful (and is
	harmful because it clobbers a source_path set in $HOME/.gdbinit).
1994-03-16 18:05:57 +00:00
Jim Kingdon
3006c5ac36 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
(default_gdb_exit): Replace all the hair with sending "quit" to
	the process with a simple close.
1994-03-16 16:57:39 +00:00
Jim Kingdon
ac83d595de * stabs.texinfo (Type Descriptors): Add 'Y' type descriptor. 1994-03-16 16:21:17 +00:00
Jim Kingdon
c42b8af8f7 * TODO: Remove item about line numbers being off. It is useless
and confusing without a reproducible test case (it mentions
	proceed(), but I was able to step through proceed without trouble).
1994-03-16 15:30:12 +00:00
Peter Schauer
5bfc8dd536 * config/i386/tm-i386bsd.h: Give just macro name, not args, to #undef. 1994-03-15 21:47:34 +00:00
Peter Schauer
ae6d035d28 For Sunos 4.x targets, enable gdb to set breakpoints in shared
library functions before the executable is run. Retrieve dynamic
	symbols from stripped executables.
	* symtab.h (minimal_symbol_type):  Add mst_solib_trampoline type.
	* parse.c (write_exp_msymbol), symmisc.c (dump_msymbols),
	symtab.c (list_symbols):  Handle mst_solib_trampoline.
	* minsyms.c (lookup_minimal_symbol):  Handle mst_solib_trampoline
	for all targets, remove IBM6000_TARGET dependencies.
	* dbxread.c (read_dbx_dynamic_symtab):  New function.
	* dbxread.c (dbx_symfile_read):  Use it.
	* dbxread.c (SET_NAMESTRING):  Set namestring to
	"<bad string table index>" instead of "foo" if the string index is
	corrupt.
	* xcoffread.c (read_xcoff_symtab):  Use mst_solib_trampoline instead
	of mst_unknown.
	* symtab.c (list_symbols):  Take from_tty as parameter and pass it
	to break_command. Handle mst_file_* minimal symbol types.
1994-03-15 21:46:32 +00:00
Kung Hsu
b427690aac Modified Files:
ChangeLog c-exp.y

        * c-exp.y(yylex): fix potential memory overflow.
1994-03-15 19:45:04 +00:00
Jim Kingdon
f93b941bde * environ.c (set_in_environ): Eliminate special handling of PATH and
GNUTARGET.
	* putenv.c: Removed, conflicts with system declaration of
	putenv on RS/6000 running AIX 3.2.5, and above change makes it
	unnecessary.
	* Makefile.in: Change accordingly.
	* procfs.c (procfs_create_inferior): Change comment accordingly.
1994-03-15 18:40:51 +00:00
Jim Kingdon
17221e410f * rs6000-tdep.c: Change value to value_ptr. 1994-03-15 18:07:30 +00:00
Jim Kingdon
7e1f34050d * TODO: Add suggestions for shared library tests. 1994-03-15 16:46:13 +00:00
Jim Kingdon
b6e98162f8 * gdbint.texinfo (Host Conditionals, Target Conditionals): Remove
references to ieee-float.c.
1994-03-15 16:43:45 +00:00
Ian Lance Taylor
f9c2a16675 Don't include "ieee-float.h". I'm not sure I know where ChangeLog
entries should go for this file, but I don't think it's a big deal for
this change.
1994-03-14 20:18:51 +00:00
Jim Kingdon
c4ad6b0970 * i386m3-nat.c: Include floatformat.h.
(get_i387_state): Use memset not bzero.
1994-03-13 20:17:39 +00:00
Jim Kingdon
5fa83062a8 * Version 4.12.3.
* Makefile.in: Enable commented out getopt_h, bfd_h, etc.  Change
	ieee-float.h to floatformat.h.
1994-03-13 18:50:26 +00:00
Jim Kingdon
d19fc8790a * TODO: Add suggestions for x/s tests. 1994-03-13 18:46:42 +00:00
Jim Kingdon
79f3d58629 * valprint.c (val_print_string): Ignore error if the error
happened after a terminating '\0'.

	* c-valprint.c (c_val_print): Never add 1 to return value from
	val_print_string; just return what it returns.
1994-03-13 18:37:27 +00:00
Jim Kingdon
8eb795981e * target.h (enum target_signal): Add TARGET_SIGNAL_FIRST, for
looping through all of the enums.
	* infrun.c (signals_info): Use it.
1994-03-13 17:47:15 +00:00
Jim Kingdon
8e4c7b3e25 * main.c (main): When printing warning about bad baud rate, don't
use warning(); it relies on current_target which isn't set up yet.
1994-03-11 18:18:47 +00:00
Jim Kingdon
45f43ce2c0 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
"enable once", and "enable breakpoints once" with ".*".
1994-03-11 16:36:22 +00:00
Jim Kingdon
d1bdad5760 * breakpoint.c (_initialize_breakpoint): Update docstring for
tbreak to match what the code actually does.  Don't mention tbreak
	in docstrings for "enable once" or "enable breakpoints once".
1994-03-11 16:31:57 +00:00
Jim Kingdon
cfcafcba75 * gdb.texinfo (Set Breaks): Update documentation for tbreak to
match what the code actually does.
1994-03-11 16:22:51 +00:00
Jim Kingdon
c4de6b308e * breakpoint.c (_initialize_breakpoint): Update docstring for
tbreak to match what the code actually does.
1994-03-11 16:13:08 +00:00
Jim Kingdon
d78d4d1660 * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Don't put a semicolon after
while (0).  That defeats the whole purpose of using do . . . while (0).
	* mdebugread.c (parse_partial_symbols): Don't use ?: expression as
	list for ADD_PSYMBOL_TO_LIST; the macro takes its address and
	using a ?: expression as an lvalue is not portable.
1994-03-10 18:25:33 +00:00
Jim Kingdon
f261371068 * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR, also
convert a LOC_ARG to a LOC_REF_ARG.  Update code which combines
	'p' and 'r' symbol descriptors into a single symbol to look for a
	LOC_REF_ARG.
	* README, config/sparc/tm-sparc.h: Update comments.
1994-03-10 18:21:02 +00:00
Jim Kingdon
27677e75f4 * TODO: Add suggestions about structure passing tests. 1994-03-10 16:42:54 +00:00
Jim Kingdon
24f815579e * TODO: Add suggestion about passing a structure as the 7th argument. 1994-03-10 16:35:54 +00:00
Peter Schauer
1037391405 * mdebugread.c (parse_type): Do not complain for types with
an `indexNil' aux index, these are simply undefined types.
	Remove indexNil check from caller of parse_type.
	* mdebugread.c (parse_partial_symbols):  Do not enter
	stGlobal, scCommon symbols into the minimal symbol table, their
	value is the size of the common, not its address.
	Handle scInit, scFini, scPData and scXData sections.
	Use minimal symbol type mst_file_* for stLabel symbols, instead of
	mst_*.
	Enter stProc symbols into the global_psymbols list once, not into
	the static_psymbols_list.
	Get rid of dummy psymtab if it is empty, to allow proper detection
	of stripped executables.
	* mdebugread.c (cross_ref):  Allow cross references to Fortran
	common blocks.
1994-03-10 09:28:18 +00:00
Jim Kingdon
fddb9bda70 * stabsread.c (common_block_end, fix_common_block): Stash the
struct pending * in the SYMBOL_TYPE, not the SYMBOL_NAMESPACE, so
	as to not assume that a pointer fits in an enum.
1994-03-10 03:57:57 +00:00
Jim Kingdon
594eeceb8e * stabs.texinfo (Symbol Descriptors): Add OS9000 symbol descriptor s. 1994-03-10 03:45:07 +00:00
Kung Hsu
d9389f37d5 Modified Files:
ChangeLog os9kread.c stabsread.c remote-os9k.c symfile.c
	target.c

        * os9kread.c (fill_sym): check compiler verion number for pre-
        UltraC compiler.
        * os9kread.c (os9k_process_one_symbol): address of symbol is
        relative to section not module.
        * stabsread.c (define_symbol): add symbol type 's' as local
        symbol for os9k.
        * remote-os9k.c: add command 'set monitor_log' to turn on or off
        monitor logging.
        * remote-os9k.c: fix bug in delete breakpoint, single step trace.
        * remote-os9k.c: fix bug in 'set remotebaud' function.
        * remote-os9k.c (rombug_link): minimize checking so to improve
        speed.
        * symfile.c (symfile_command): check if failed to link, also make
        the command be able to accept more than one filenames.
        * target.c (target_link): check if failed to link with rombug.
1994-03-10 03:13:52 +00:00
Kung Hsu
0906de694f CVS:
Modified Files:
	tm-i386os9k.h

         * config/i386/tm-i386os9k.h : add #define DECR_PC_AFTER_BREAK 0.
1994-03-10 03:11:19 +00:00
Jim Kingdon
cdc7029d49 * remote-es.c (es1800_child_ops): Don't declare it static. 1994-03-09 23:24:31 +00:00
Jim Kingdon
352c21dd9b * config/i386/tm-i386v4.h: Give just macro name, not args, to #undef. 1994-03-08 19:45:32 +00:00
Jim Kingdon
9d2b8d50f4 * dbxread.c: New variable lowest_text_address.
(record_minimal_symbol, read_dbx_symtab): Set it.
	(read_dbx_symtab): Use lowest_text_address + text_size instead of
	end_of_text_address.
	* config/gould/tm-pn.h: Add comment regarding END_OF_TEXT_DEFAULT.
1994-03-08 18:22:56 +00:00
Jim Kingdon
7944822188 * parser-defs.h: Add "extern" to start of variable declarations so
we don't end up with commons.
	* parse.c: Define these variables.
1994-03-08 15:25:00 +00:00
Jim Kingdon
ce2f21b2cd * irix5-nat.c (find_solib): Cast o_path to CORE_ADDR when using it
as one.
1994-03-08 15:01:55 +00:00
Jim Kingdon
7810d333c9 * alpha-tdep.c: Change value to value_ptr. 1994-03-08 14:56:30 +00:00
Peter Schauer
a6e21fba51 * solib.c (elf_locate_base): New function to locate the address
of the dynamic linker's runtime structure in the dynamic info section.
	* solib.c (locate_base):  Use it instead of iterating over the list
	of mapped address segments.
	* solib.c (look_for_base, bfd_lookup_symbol):  Removed, no longer
	necessary.
1994-03-07 22:01:58 +00:00
Peter Schauer
cbb99ebbd1 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
the primary1 test, use work around if __GNUC__ < 2.
	* gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
	* gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
	Test for bad output rather than waiting for timeout.  Issue
	second continue only if first continue failed.
1994-03-07 21:51:38 +00:00
Peter Schauer
849d0896f9 Fix typo, value has not been changed to value_ptr in all places. 1994-03-05 22:45:47 +00:00
Jeff Law
70e43abe7c * hppa-tdep.c (pc_in_linker_stub): Move decl to beginning of file.
(pc_in_interrupt_handler): New function.  Also add PARAM decl.
        (find_proc_framesize): Deal with HPUX setting SAVE_SP bit for
        signal trampoline and interrupt routines.
        (frame_saved_pc): Handle signal trampolines and interrupt routines.
        (frame_chain, frame_chain_valid): Likewise.
        (hppa_frame_find_saved_regs): Likewise.  Also deal with special
        saved regs convention for SP.

        * tm-hppa[bho].h: FRAME_FIND_SAVED_PC_IN_SIGTRAMP): Define.
        (FRAME_BASE_BEFORE_SIGTRAMP): Define.
        (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Define.

        * tm-hppah.h (IN_SIGTRAMP): Define.
1994-03-04 17:54:41 +00:00
Jim Kingdon
93dc341439 * ch-exp.y (match_simple_name_string): Accept '_' as well as an
alphabetic character as the start of a name.
1994-03-04 03:12:05 +00:00
Jim Kingdon
b855dfe7eb * sparclite/Makefile.in (all install): Build and install aload. 1994-03-04 02:58:28 +00:00
Jim Kingdon
d9a5e91f87 * configure.in: Accept i[34]86-*-*sysv32 because that is what
config.guess and config.sub produce.
1994-03-04 01:38:57 +00:00
Jim Kingdon
833a289566 * mips-tdep.c: Change value to value_ptr. 1994-03-03 20:42:59 +00:00
Jim Kingdon
82a2edfbcf * breakpoint.c, breakpoint.h, c-valprint.c, ch-valprint.c,
cp-valprint.c, eval.c, expprint.c, findvar.c, language.c,
	objfiles.h, infcmd.c, printcmd.c, stack.c, typeprint.c,
	valarith.c, valops.c, valprint.c, value.h, values.c: Replace
	value with value_ptr.  This is for the ptx compiler.
	* objfiles.h, target.h: Don't declare a "sec_ptr" field using a
	"sec_ptr" typedef.
	* symm-nat.c: Add a bunch of stuff for symmetry's ptrace stuff.
	#if 0 i386_float_info.
	* symm-tdep.c (round): Remove.  Also remove sgttyb.
	* symm-tdep.c: Remove lots of stuff which duplicates stuff from
	i386-tdep.c.  Remove register_addr and ptx_coff_regno_to_gdb.
	* i386-tdep.c (i386_frame_find_saved_regs): Put in
	I386_REGNO_TO_SYMMETRY check in case it is needed for Dynix
	someday.
	* config/i386/nm-symmetry.h: Change KERNEL_U_ADDR.  Move
	stuff from PTRACE_READ_REGS, PTRACE_WRITE_REGS macros to
	symm-nat.c.  Define CHILD_WAIT and declare child_wait().
	* config/i386/tm-symmetry.h: Remove call function stuff; stuff in
	tm-i386v.h is apparently OK.
	* config/i386/xm-symmetry.h [_SEQUENT_]: Define HAVE_TERMIOS not
	HAVE_TERMIO.  Define MEM_FNS_DECLARED, NEED_POSIX_SETPGID, and
	USE_O_NOCTTY.
1994-03-03 01:00:57 +00:00
Peter Schauer
c485c7a9dd * osfsolib.c (xfer_link_map_member): Update to use new
target_read_string interface.
1994-03-02 20:14:07 +00:00