Commit graph

3745 commits

Author SHA1 Message Date
Jim Kingdon
77918505b5 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
the prompt is at the start of a line.
1994-01-19 01:14:11 +00:00
Jim Kingdon
c6e0f918e2 * infcmd.c (signal_command): Accept 0 as legitimate signal number. 1994-01-18 21:20:28 +00:00
Jim Kingdon
db4340a625 * infrun.c (signals_info), target.c (target_signal_from_name):
Use ugly casts to avoid enumvar < enumvar or enumvar++.
1994-01-18 19:13:38 +00:00
Jim Kingdon
d881dd869f * ser-unix.c (hardwire_noflush_set_tty_state): Don't muck with ICANON.
* inflow.c (terminal_ours_1): When discussing how to deal with the
	tty state, make note of query() as well as readline.
1994-01-18 04:29:34 +00:00
Jim Kingdon
4d4f2d50c8 * infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of
signals for which stop and print are cleared by default.
1994-01-18 04:14:34 +00:00
Jeff Law
46ee83a0b8 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
        in the copr tests now.
        * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
        copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
        expected to fail.
1994-01-18 04:08:30 +00:00
Jeff Law
c7f3b703a3 * config/pa/tm-hppa.h (unwind_table_entry): Use one of the
reserved fields to hold a stub unwind entry type.  Fix typo.
        (stub_unwind_entry): New structure for raw stub unwind entries.
        (stub_unwind_types): The types of stubs we may encounter.
        (UNWIND_ENTRY_SIZE, STUB_UNWIND_ENTRY_SIZE): New defines.
        * hppa-tdep.c (rp_saved): Use additional information provided
        by linker stub unwind descriptors.
        (frameless_function_invocation): Likewise.
        (frame_chain_valid): Likewise.
        * paread.c (compare_unwind_entries): New function for sorting
        unwind table entries.
        (read_unwind_info): Rewrite to remove dependency on host endianness.
        Read in data from the $UNWIND_END$ subspace which contains linker
        stub unwind descriptors.  Merge that data into the basic unwind
        table.
1994-01-18 04:04:36 +00:00
Jeff Law
5c38fcee3f * hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions. 1994-01-18 04:02:06 +00:00
Jim Kingdon
af8b790667 * xcoffread.c (read_xcoff_symtab, case C_FILE): Accept the name
from either the symbol name or the auxent.
	* coffread.c, symfile.h (coff_getfilename): Renamed from getfilename,
	no longer static.
1994-01-18 03:42:30 +00:00
Jim Kingdon
80edc7cb3c Write ChangeLog entries for Rob changes.
Revert Rob changes which consisted of un-doing (accidentally,
presumably) the changes which have happened since 4.12 branched off.

In lib/gdb.exp remove the comment which went with the "catch" which
Rob removed.
1994-01-18 03:29:53 +00:00
Rob Savoye
002cc99ff6 Apply patches from gdb 4.12 testing. 1994-01-17 23:28:29 +00:00
Rob Savoye
0ab6de2336 Add patches from gdb 4.12 testing. 1994-01-17 23:27:07 +00:00
Fred Fish
0e7da49c55 * Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h. 1994-01-17 21:36:29 +00:00
Peter Schauer
b90811f914 * README: Update notes for alpha port. 1994-01-17 17:18:18 +00:00
Jim Kingdon
24a11a7998 * i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL
for operation fault, constraint fault, and type fault.
1994-01-17 16:18:17 +00:00
Jim Kingdon
623d738026 * Makefile.in (init.c): Add comment explaining formatting conventions. 1994-01-17 00:58:29 +00:00
Jim Kingdon
a39f77396e * c-exp.y (parse_number): Assign to temporary between the right
shifts, to work around a bug in the SCO compiler.
1994-01-17 00:23:49 +00:00
Jim Kingdon
0791922161 * Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR):
Add various files which were added to GDB recently.
1994-01-16 22:45:13 +00:00
Jim Kingdon
91cc45dacc * xcoffread.c (process_xcoff_symbol): Only change 'V' to 'S' if not
within_function.
1994-01-16 20:09:59 +00:00
Jim Kingdon
8f85a4357a * stabs.texinfo: Re-do stuff about C_BSTAT and move from XCOFF
Differences node to Statics node.
	(Statics): Discuss XCOFF use of V symbol descriptor.
1994-01-16 18:30:32 +00:00
Jim Kingdon
b76dcd4b68 * Makefile.in: Add mostlyclean target. 1994-01-16 17:47:47 +00:00
Jim Kingdon
023b639454 * Makefile.in: Remove refcard.dvi and GDBvn.texi in realclean,
not clean.
1994-01-16 17:45:32 +00:00
Jim Kingdon
d7a5ff3c82 * Version 4.11.4. 1994-01-16 03:43:22 +00:00
Per Bothner
8b564df836 * main.c (show_commands): Make return type of extern
history_get be HIST_ENTRY, rather than struct _hist_entry.
	(The latter loses with the upcoming merged readline.)
1994-01-16 03:35:19 +00:00
Jim Kingdon
ab5f79719c * minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
const char *, not char *.
1994-01-16 03:23:50 +00:00
Jim Kingdon
fb155ce31a * symtab.h (struct symbol): Make section short, not unsigned short. 1994-01-16 03:14:21 +00:00
Jim Kingdon
8704184584 * symtab.c (lookup_symbol): Add comment about QUIT here. 1994-01-16 02:39:50 +00:00
Jim Kingdon
bff37c5945 * gdb.t16/printcmds.exp (test_print_strings): Accept
"(unsigned char *) " before the string.
1994-01-15 23:00:27 +00:00
Jim Kingdon
f29351d98b * utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered. 1994-01-15 20:14:43 +00:00
Jim Kingdon
bb1f42d4f0 * c-exp.y (parse_number): Make it so that integer constants are
builtin_type_long_long if builtin_type_long isn't big enough or if
	an "LL" suffix is used.  Properly handle "UL" or "LU" suffixes.
1994-01-15 19:51:56 +00:00
Jim Kingdon
a9b32d6192 * c-exp.y (parse_number): Check for overflow regardless of range
checking.  Fix overflow check to use unsigned LONGEST, not
	unsigned int.

	* c-exp.y (parse_number): Make it so that integer constants are
	builtin_type_long_long if builtin_type_long isn't big enough or if
	an "LL" suffix is used.  Properly handle "UL" or "LU" suffixes.
1994-01-15 17:14:18 +00:00
Jim Kingdon
2069bd10d5 * TODO: Add notes about printing of fancy types and GDB expressions. 1994-01-15 17:03:41 +00:00
Jim Kingdon
96f1fa1542 * TODO: Add notes about printing of fancy types and GDB expressions. 1994-01-15 16:30:04 +00:00
Jim Kingdon
dac317dc3f * c-typeprint.c (c_type_print_varspec_suffix, case TYPE_CODE_FUNC):
Print our "()" first, then recurse for the target type.
1994-01-15 15:27:49 +00:00
Jim Kingdon
3dcb86173f * TODO: Add note about printing of fancy types. 1994-01-15 14:58:41 +00:00
Jim Kingdon
831a39d7c3 * remote-udi.c (udi_create_inferior): Quote empty execfile argument. 1994-01-15 04:28:18 +00:00
Jim Kingdon
4c0b3e57c1 * gdbserver/low-lynx.c: Include <sys/wait.h> not /usr/include/wait.h. 1994-01-15 03:51:40 +00:00
Jim Kingdon
44a09a68f2 * utils.c (request_quit): Re-establish signal handler regardless
of USG.

	* config/mips/xm-irix4.h: Define HAVE_TERMIOS.
1994-01-15 03:43:01 +00:00
Jim Kingdon
9850662034 * i960-tdep.c: Include target.h. 1994-01-15 02:56:47 +00:00
Stan Shebs
658821b9fa Fri Jan 14 17:12:28 1994 Stan Shebs (shebs@andros.cygnus.com)
* lynx-nat.c (sys/wait.h): Don't use absolute pathname.
1994-01-15 01:15:55 +00:00
Jim Kingdon
2919ae5a6a * lynx-nat.c (child_wait): Fix thinkos in struct target_waitstatus
changes (status -> ourstatus; declare status, etc.).
	* config/nm-lynx.h: Fix child_wait prototype and include target.h.
1994-01-14 19:57:50 +00:00
Jim Kingdon
4e8bc56fb5 * Makefile.in (ALLPARAM): Add config/nm-lynx.h. 1994-01-14 19:19:56 +00:00
Ian Lance Taylor
aeb145f80b * remote-mips.c (mips_request, mips_wait): Correct prototypes. 1994-01-14 16:52:22 +00:00
Jim Kingdon
d253eb7aa0 * config/i386/xm-linux.h: Define HAVE_TERMIOS. 1994-01-14 16:41:35 +00:00
Peter Schauer
52b3045e8e * config/alpha/tm-alpha.h (CALL_DUMMY): Improve comment. 1994-01-14 09:22:44 +00:00
Jim Kingdon
d0acb092fd * remote-vx.c (vx_wait): Only call i960_fault_to_signal if I80960
is defined.  Otherwise just report TARGET_SIGNAL_UNKNOWN.
1994-01-13 23:06:03 +00:00
Jim Kingdon
63dcc38026 Add search to target vector (#if 0'd until after 4.12):
* target.h (to_search, target_search): Add.
	* gdbcore.h, core.c (generic_search): Add.
	* remote.c (remote_search): Add.
	* a29k-tdep.c (init_frame_info): Use target_search to find traceback
	tag.
1994-01-13 18:44:06 +00:00
Jim Kingdon
d6596eee9f * printcmd.c (print_address_symbolic): If set print fast-symbolic-addr
is on, call find_pc_function rather than relying just on the minimal
	symbols (probably only matters for symbol readers which don't put
	statics in the minimal symbols, but changing this strikes me as
	not conservative enough).
	Initialize name_location in all cases.
	If no symbol and no msymbol, don't print anything symbolic.
1994-01-13 17:41:40 +00:00
Jim Kingdon
ae682b8061 * a29k-tdep.c (push_dummy_frame): Add comment about saving lr0. 1994-01-13 15:38:00 +00:00
John Gilmore
5986c8ea41 * gdb.texinfo (Print Settings): Document `set print
fast-symbolic-addr' and improve the doc for some other
`set print's.
1994-01-13 05:35:48 +00:00