Commit graph

5320 commits

Author SHA1 Message Date
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
Ian Lance Taylor
a13872602a * config/obj-ecoff.c (obj_symbol_new_hook): Make up a .file if one
hasn't been seen yet.
	(add_ecoff_symbol): Don't refer to cur_file_ptr if it is NULL.
1993-04-28 20:44:05 +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
Ian Lance Taylor
28fcc54f4e Build sun4 cross i386-go32. 1993-04-27 17:01:28 +00:00
Steve Chamberlain
a86ea03fc2 Support for the SH 1993-04-27 02:20:07 +00:00
Steve Chamberlain
984b27cbc3 Support for SH. 1993-04-27 01:48:05 +00:00
Steve Chamberlain
6f57570423 Support for the SH. 1993-04-27 01:39:38 +00:00
Steve Chamberlain
84d42ddd61 sh.em, sh.sh, sh.sc-sh: New files supporting Hitachi SH. 1993-04-27 01:37:02 +00:00
Steve Chamberlain
4a1bbbe75b Support for Hitachi SH 1993-04-27 01:32:09 +00:00
Steve Chamberlain
8679a71fc8 SH support 1993-04-27 01:19:25 +00:00
Steve Chamberlain
9faacb925f Support for Hitachi SH 1993-04-27 01:17:32 +00:00
Steve Chamberlain
ed173a7696 SH support. 1993-04-27 01:16:49 +00:00
Steve Chamberlain
dfbbce3218 Support for SH 1993-04-27 01:05:06 +00:00
Steve Chamberlain
594266fc8a New stuff for SH. 1993-04-27 01:02:38 +00:00
Jim Kingdon
31568a6f41 * trad-core.c (trad_unix_core_file_p): Check the file size. 1993-04-26 21:03:35 +00:00
Ian Lance Taylor
7508b715df * gprof.h: Undefine hz. 1993-04-26 19:59:24 +00:00
Ian Lance Taylor
8739c727bd * gprof.h: Include ansidecl.h before sysdep.h. 1993-04-26 19:38:30 +00:00
Ian Lance Taylor
be2f6bd65b * expr.c (operand): Fix unary plus operator (previously was the
same as '~' operator!).
1993-04-26 19:29:58 +00:00
Ian Lance Taylor
e5351028c7 * sco-core.c (sco_core_vec): Add initializers for new target
fields.
1993-04-26 18:27:40 +00:00
Ian Lance Taylor
db526bd7ff Canonicalize rs6000-ibm-aix3.2 to rs6000-ibm-aix. 1993-04-26 17:03:51 +00:00
Jim Kingdon
9aa31e91d6 * rs6000-tdep.c (branch_dest): Deal with stepping through system call. 1993-04-26 16:44:03 +00:00
Ian Lance Taylor
63ddbacf19 Updated dates. 1993-04-26 15:52:47 +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
2fd0e26cde * a29k.h: Define _LIT. 1993-04-25 04:47:10 +00:00
Jim Kingdon
35d835c405 * coffcode.h [_LIT]: Recognize .lit section. 1993-04-25 04:45:31 +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
Steve Chamberlain
5f8f6d56f2 Support for the alpha 1993-04-24 02:10:09 +00:00
K. Richard Pixley
b6423cec40 switch from configuration from subdirs to configdirs 1993-04-24 01:16:18 +00:00
David D. Zuhn
e13fa011e2 default is the tree supports X11 1993-04-24 01:08:35 +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
9a5e3a9ac5 * Merge in HPPA/BSD changes from Utah.
* hppa.c:  Use this for both HPUX & BSD.
	* targets.c:  Enable hppa_vec for both HPUX & BSD.
	* config/hppabsd.mt:  TDEFINES => TDEFAULTS.
	* hosts/hppabsd.h:  #define HOST_HPPABSD.
1993-04-24 00:00:41 +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