Commit Graph

2177 Commits

Author SHA1 Message Date
K. Richard Pixley
5385e525fe * remove-udi.c (udi_wait): ifdef around SIGLOST usage. Eg,
Solaris doesn't have SIGLOST so use SIGURG as a backup.
1993-05-01 00:06:46 +00:00
Jim Kingdon
eca2963437 * ser-unix.c [USE_{TERMIO,ALARM}_TIMEOUT]: New code to deal with
systems lacking select().
1993-04-30 22:15:28 +00:00
Jim Kingdon
db7c818b4d * Makefile.in (TAGS): Doc fix. Deal with empty DEPFILES. 1993-04-30 22:08:46 +00:00
Jim Kingdon
8d57a263f5 doc fix 1993-04-30 18:06:32 +00:00
Fred Fish
496ca67cbd * alldeps.mak, depend: Update with latest automatically built
versions.
1993-04-30 17:08:02 +00:00
Fred Fish
fb40210a5f * Makefile.in (GDBFLAGS): Set to -nx.
* Makefile.in (site.exp):  Use GDBFLAGS.
1993-04-30 16:45:40 +00:00
Fred Fish
d5f608a465 * Makefile.in (SFILES): Add ser-unix.c and ser-go32.c. 1993-04-30 06:44:59 +00:00
Fred Fish
97e72c06bd * Makefile.in (make-proto-testsuite.dir): New target to make
prototype testsuite tree.
	* Makefile.in (TAGS):  Remove use of DEPFILES, it may be empty.
	In any case, it is a subset of the ALLDEPFILES list, which is
	part of SOURCES, which is part of TAGFILES, so it's redundant.
1993-04-30 06:28:30 +00:00
Fred Fish
3717e95b5d Bump version to 4.8.4 for gdb 4.9 prerelease testing. 1993-04-29 19:05:22 +00:00
Jim Kingdon
6897f9ec2e * stabs.texinfo: Many changes to include information from the
AIX documentation.
1993-04-29 18:32:19 +00:00
Jim Kingdon
ff580c7b96 * stabsread.c (define_symbol): If unrecognized constant type,
complain() not error().
1993-04-29 17:19:11 +00:00
Jim Kingdon
562a18b21b * gdb.texinfo (Environment): Mention pitfall with .cshrc. 1993-04-29 16:38:20 +00:00
Fred Fish
f43aec2e91 * infptrace.c: Add missing close paren to test for
FIVE_ARG_PTRACE defined.
1993-04-29 16:09:33 +00:00
Fred Fish
7efb57c33d * defs.h (CC_HAS_LONG_LONG): Set up to define CC_HAS_LONG_LONG
when compiling with gcc, but disable it for now.  See comment.
	* defs.h (LONGEST):  Define as either "long" or "long long"
	based on CC_HAS_LONG_LONG.
	* defs.h (longest_to_int):  Use CC_HAS_LONG_LONG to control
	how longest_to_int is defined.
	* c-valprint.c (c_val_print):  Call print_longest.
	* expprint.c (dump_expression):  Use PRINTF_HAS_LONG_LONG
	instead of LONG_LONG.
	* {printcmd.c, gdbtypes.h} (LONG_LONG):  Replace usages with
	CC_HAS_LONG_LONG.
	* printcmd.c (print_scalar_formatted):  Call print_longest
	and let it figure out what to do for PRINTF_HAS_LONG_LONG.
	* typeprint.c (print_type_scalar):  Call print_longest and let
	it figure out what to do for PRINTF_HAS_LONG_LONG.
	* valprint.c (val_print_type_code_int):  Call print_longest
	and let it figure out what to do for PRINTF_HAS_LONG_LONG.
	* stabsread.c (LONG_LONG):  Replace usages with CC_HAS_LONG_LONG.
	* value.h (struct value):  Replace usage of LONG_LONG with
	CC_HAS_LONG_LONG.
	* value.h (print_longest):  Add prototype.
	* values.c (LONG_LONG):  Replace usages with CC_HAS_LONG_LONG.
	* values.c (unpack_double):  Collapse code that was unnecessarily
	dependent on CC_HAS_LONG_LONG.  Use LONGEST instead of direct types.
	* values.c (value_from_longest):  Remove dependency on
	CC_HAS_LONG_LONG and just use LONGEST.
	* solib.c (solib_map_sections):  Use bfd_get_filename
	to access filename field.
	* solib.c (clear_solib):  Save filename and free it later, after
	bfd_close, since bfd_close may reference it.  Use bfd_get_filename
	to access the field.
	* config/convex/xm-convex.h (LONG_LONG):  Replace with
	CC_HAS_LONG_LONG.  Add define for PRINTF_HAS_LONG_LONG.
	* doc/gdbint.texinfo (LONG_LONG):  Replace with CC_HAS_LONG_LONG.
	Add PRINTF_HAS_LONG_LONG references.
1993-04-29 07:07:39 +00:00
Jim Kingdon
31b567269a * inflow.c (kill_command), infcmd.c (attach_command),
remote.c (remote_interrupt_twice): In messages for the user, call it
	"the program" or "the program being debugged" not "the inferior".
1993-04-28 23:34:24 +00:00
K. Richard Pixley
ab8603eae5 add just-check target so that tests can be run without a noop build
pass.
1993-04-28 23:18:10 +00:00
Jim Kingdon
0626f40d92 * hp300ux-nat.c: Cast second arg to supply_register calls.
(_initialize_kernel_u_addr, getpagesize): New functions.
	(store_inferior_register_1): Change arg name from value to val.
	(fetch_core_registers): Make arg core_reg_size unsigned.
	Pass 5 args to ptrace.
	* config/m68k/xm-hp300hpux.h: Define FIVE_ARG_PTRACE.
	Remove KERNEL_U_ADDR stuff.
	* infptrace.c [FIVE_ARG_PTRACE]: Pass 5th arg to ptrace.
	* config/m68k/hp300hpux.m{t,h}:
	Move exec.o from NATDEPFILES to TDEPFILES
	* config/m68k/hp300hpux.mt: Mention GAS requirement.  Remove
	hp-include stuff.  Add m68k-tdep.o to TDEPFILES.
1993-04-28 21:20:40 +00:00
Peter Schauer
d8f233201b * ch-exp.y (yylex): Don't STREQ with simplename if it is NULL. 1993-04-28 20:36:48 +00:00
K. Richard Pixley
c1fb4e4913 Add CFALGS = -g to all subdir Makefile.in's. 1993-04-28 20:32:09 +00:00
Jim Kingdon
08bb261766 * config/sparc/xm-sun4os4.h [__STDC__]: Don't use MALLOC_INCOMPATIBLE. 1993-04-28 19:17:50 +00:00
Roland Pesch
caa53d6d61 changes 1993-04-28 18:48:20 +00:00
Roland Pesch
a1eff6c2ed Changes thanks to Jim Kingdon's vigilance:
* doc/gdb.texinfo: make node "Shell Commands" unconditional;
	describe `set demangle-style arm' (not cfront);
	mention can type `q' to discard output, when gdb pages
1993-04-28 18:44:58 +00:00
Peter Schauer
212e10cfdb * valops.c (search_struct_field): Fix gdb core dump with incomplete
stabs info.
1993-04-28 18:41:59 +00:00
Jim Kingdon
ebdb9ade17 * remote.c: Change timeout to 2.
(remote_open): Use unpush_target not remote_close.
	(remote_resume): If siggnal != 0, give warning not error().
	(remote_wait, remote_interrupt, remote_interrupt_twice):
	If we get two interrupts, let the user get out if they want.
	(remote_{kill,mourn}): New functions.
	i386-stub.c (handle_exception, case 'k'): Don't BREAKPOINT.
1993-04-28 17:48:00 +00:00
Ian Lance Taylor
c0f2f39c1c * config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl. 1993-04-28 16:29:35 +00:00
Jim Kingdon
71607f9d62 * Remote targets (mourn): Call unpush_target. 1993-04-28 15:33:20 +00:00
Jim Kingdon
e82980e4ec * config/sparc/xm-sun4os4.h: Declare free() to return int.
Remove twisted use of PARAMS.
1993-04-28 13:51:26 +00:00
Jim Kingdon
609e1c577b * config/rs6000/xm-rs6000.h: Don't define MALLOC_INCOMPATIBLE now
that ansidecl.h assumes ANSI on AIX.
1993-04-28 13:42:43 +00:00
Jim Kingdon
a5e7f25953 * gdbint.texinfo (new node Debugging GDB, elsewhere):
Move a bunch of information from ../README.
	(Getting Started): New node.
1993-04-27 23:00:39 +00:00
Jim Kingdon
ab425a9ba0 * README: Move most stuff about hacking GDB to doc/gdbint.texinfo.
(Known bugs): Remove AIX bugs, revise SPARC struct bug description.
1993-04-27 22:59:03 +00:00
Peter Schauer
f661c4ca08 * expprint.c (print_subexp): Fix bug with OP_SCOPE operator output. 1993-04-27 20:46:25 +00:00
Jim Kingdon
ebe8362f90 * remote-vx.c (net_connect): Allow numeric IP address for host. 1993-04-27 17:27:24 +00:00
Steve Chamberlain
9faacb925f Support for Hitachi SH 1993-04-27 01:17:32 +00:00
Jim Kingdon
9aa31e91d6 * rs6000-tdep.c (branch_dest): Deal with stepping through system call. 1993-04-26 16:44:03 +00:00
Jim Kingdon
194d98c69e * symtab.h, xcoffread.c: Revise linetable sorting comments. 1993-04-26 14:20:57 +00:00
Peter Schauer
24d45a6319 * valops.c (value_cast): A cast might also change the object
representation in C++.
	* dbxread.c (end_psymtab): Copy subpst read_symtab function from pst
	to get the proper read_symtab function when called from mipsread.c.
	* mipsread.c (mipscoff_psymtab_to_symtab, psymtab_to_symtab_1):
	Set cur_bfd in psymtab_to_symtab_1 as CURBFD(pst) is invalid
	for dummy psymtabs, inhibit processing of dummy psymtabs.
1993-04-25 09:33:49 +00:00
Jim Kingdon
87237c5250 * Changes from (or inspired by) AMD:
* remote-udi.c (udi_attach): Assignments to Space and Offset were
	switched, fix it.
	(udi_wait): Make error message (UDIGetStdout) match error.
	(udi_wait): Handle UDIStdinNeeded.
	* command.c [CANT_FORK]: Use system().
	* utils.c (prompt_for_continue): Allow quit with 'q'.
1993-04-25 04:49:34 +00:00
Jim Kingdon
8cba9703cd * solib.c (solib_add): Don't call special_symbol_handling if there
were errors in symbol_add_stub.  Also set so->from_tty before
	calling symbol_add_stub.
1993-04-25 03:02:32 +00:00
K. Richard Pixley
b6423cec40 switch from configuration from subdirs to configdirs 1993-04-24 01:16:18 +00:00
Roland Pesch
a64a6c2b7d gdbinv-s.texi, gdb.texinfo: include Hitachi SH target
gdb.texinfo: advance manual revision dates to present

gdbinv-s.texi, gdb.texinfo, all-config.texi, h8-config.texi:
stop using silly Roman numerals in @set variable names
1993-04-24 00:29:01 +00:00
Stu Grossman
66a1aa071e * Merge in HPPA/BSD patches from Utah:
* defs.h:  Add const to 2nd arg of psignal prototype.
	* hppah-tdep.c:  Renamed to hppa-tdep.c 'cuz it's common code with
	BSD now.
	* hppab-core.c:  Deleted.  No longer useful.
	* hppab-nat.c:  #include more files.  Use PT_WUREGS, not
	PT_WRITE_U.
	* hppab-tdep.c:  Deleted.  Supplanted by hppa-tdep.c.
	* config/pa/hppabsd.mh (NATDEPFILES):  Remove hppab-core.o.
	* config/pa/hppabsd.mt (TDEPFILES):  hppab-tdep.o => hppa-tdep.o
	* config/pa/hppahpux.mt (TDEPFILES):  hppab-tdep.o => hppa-tdep.o
	* config/pa/xm-hppab.h:  #define SET_STACK_LIMIT_HUGE.
1993-04-23 23:43:18 +00:00
Stu Grossman
b5728692b4 * Fix two bugs found by deja-gnu. One is the incorrect reporting
of the PC being in a stack dummy when looking at a core file
	without symbols.  The other is the incorrect passing of char
	arguments during expression evaluation (ie: p foo('a','b') would
	mess up the passing of it's args because it wasn't coercing the
	char's to ints).
	* hppah-tdep.c:  Rename global functions to have consistent hppa_
	prefix.  Make more functions static.  Drop hp_ prefix from static
	functions.  (hppa_push_arguments):  Call value_arg_coerce to cast
	char to int args if necessary.  (hppa_fix_call_dummy):  Create
	this routine from FIX_CALL_DUMMY macro in tm-hppa.h.
	* inferior.h (PC_IN_CALL_DUMMY):  Check for frame_address being
	valid (ie: != 0) before doing comparison against PC.
	* valops.c (call_function_by_hand):  Adjust call to FIX_CALL_DUMMY
	to reflect new arguments.
	* config/pa/tm-hppa.h (POP_FRAME, PUSH_ARGUMENTS):  Use new hppa_
	prefix for func	name.  (FIX_CALL_DUMMY):  Move code into
	hppah-tdep.c.

	* testsuite/gdb.t16/gdbme.c, testsuite/gdb.t17/gdbme.c:  Add calls
	to malloc() so that we can test GDB eval of dynamically created
	arrays (like char strings in `print "foo"').
1993-04-23 18:01:02 +00:00
Jim Kingdon
c156f3c1c9 more on Parameters 1993-04-23 16:27:10 +00:00
Jim Kingdon
9c5c272236 Doc fixes to previous doc fixes. 1993-04-23 15:12:25 +00:00
Jim Kingdon
ed9708e289 * stabs.texinfo (Parameters): Keep trying to get this right. 1993-04-23 14:51:06 +00:00
Jim Kingdon
a2a2eac845 * stabs.texinfo (Parameters): Keep trying to get this right. 1993-04-23 14:51:03 +00:00
Peter Schauer
7586127f7e * printcmd.c (print_address_symbolic): Search symtabs as well as the
minimal symbols for a nearby symbol.
1993-04-23 08:42:03 +00:00
John Gilmore
158a071143 Comment changes around minimal symbol recording. 1993-04-23 02:46:00 +00:00
K. Richard Pixley
4c16b95752 document FRAME_SAVED_PC and FRAME_CHAIN. 1993-04-22 23:38:30 +00:00
K. Richard Pixley
f936e20d33 comment changes only 1993-04-22 23:34:57 +00:00