Commit Graph

2399 Commits

Author SHA1 Message Date
Jim Kingdon
497e44a5f8 * stabs.texinfo (Symbol descriptors): Re-do using @table and @xref.
(Parameters): Rewrite.
	(xcoff-differences, Sun-differences): Minor changes.
1993-04-18 17:38:35 +00:00
Stu Grossman
04c6a64fdd * munch: Don't use head command. It doesn't exist everywhere. 1993-04-17 00:39:55 +00:00
Fred Fish
5aefc1ca23 Remove chill sanitizations, which are no longer necessary. 1993-04-16 23:22:41 +00:00
Fred Fish
b1086bf532 Remove chill sanitization stuff and add chill files to keep list. 1993-04-16 22:26:21 +00:00
Fred Fish
fbf22c8b31 Remove chill sanitize lines that are no longer needed. 1993-04-16 22:21:33 +00:00
Fred Fish
9c22565940 * inflow.c (new_tty): Remove spurious 'o' character at end
of #endif line.
1993-04-16 22:15:26 +00:00
Peter Schauer
e157305cd9 * mips-tdep.c (mips_skip_prologue): Always skip the typical prologue
instructions and nothing more.
	* mipsread.c (add_line): Add comment why we have to combine line number
	entries for the same line number.
1993-04-16 19:29:14 +00:00
Jim Kingdon
95330ec393 More doc fixes 1993-04-16 17:46:01 +00:00
Jim Kingdon
0b28c26082 * symtab.{c,h}: Doc fixes (remove symseg references, last relevant
in gdb 2.8!).
1993-04-16 17:36:49 +00:00
Peter Schauer
987b4233ae * config/unix-gdb.exp: Add back missing return 0 which mysteriously
disappeared.
1993-04-16 16:39:49 +00:00
Fred Fish
dd052d9a4b * depend, alldeps.mak: Update, now that gcc -MM bug is fixed. 1993-04-16 04:19:09 +00:00
Jim Kingdon
9fa59efdd9 * source.c (select_source_symtab): Clean up comment. Also, if
we have a current_source_symtab, and s is NULL, return without
	doing anything.
	xcoffread.c (xcoff_symfile_read): Don't call select_source_symtab.
	breakpoint.c (breakpoint_re_set): Don't call select_source_symtab.
1993-04-15 20:11:01 +00:00
John Gilmore
6f49b01e47 * dbxread.c (unknown_symchar_complaint): Add new complaint.
* stabsread.h:  Declare it.
* partial-stab.h:  Use it.
1993-04-15 09:43:33 +00:00
John Gilmore
65ce5df44f * dbxread.c (unknown_symchar_complaint): Add new complaint.
* stabsread.c:  Declare it.
* partial-stab.h:  Use it.

* utils.c (malloc_botch):  Don't forward-declare if NO_MMALLOC.
1993-04-15 09:41:59 +00:00
John Gilmore
4d7f562d49 Minor cleanup. 1993-04-15 09:35:54 +00:00
John Gilmore
acb771de03 Avoid $< in explicit rule. 1993-04-15 09:28:58 +00:00
Jim Kingdon
df2a1bd7d9 * stack.c (print_frame_info): Print specially if dummy frame. 1993-04-15 03:36:02 +00:00
Jim Kingdon
fa99ebe19f * breakpoint.c: Add comments regarding within_scope future direction. 1993-04-15 01:45:35 +00:00
Jim Kingdon
ee7e82fedb Version 4.8.3 1993-04-15 01:13:52 +00:00
Jim Kingdon
3a8bc841b0 minor xcoff changes 1993-04-15 00:33:51 +00:00
Jim Kingdon
486b440e04 * xcoffread.c (record_include_{begin,end}): Change fatal to complain. 1993-04-15 00:14:37 +00:00
Fred Fish
a08317af9f * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
watchpoint problem that is now fixed.
	* gdb.t30/chexp.exp:  Remove setup_xfail for printing
	uninitialized convenience variables.
	* gdb.t31/chillvars.exp:  Fix expected patterns for printing
	structures.
1993-04-14 23:43:51 +00:00
Per Bothner
c9a9bf776c * ch-exp.y: Fix thinko that broke parsing of FALSE. 1993-04-14 21:04:50 +00:00
Peter Schauer
39cb3d0488 * stabsread.c (read_member_functions): Initialize domain for stubbed
member functions to avoid gdb core dumps when printing pointers
	to member functions.
	* cp-valprint.c (cp_print_class_method): Check for stubbed member
	functions.
1993-04-14 19:53:11 +00:00
Per Bothner
b54a2f2d90 Note changes to gdb.t31/chillvars.exp. 1993-04-14 06:21:34 +00:00
Jim Kingdon
e2ff731bf7 * expprint.c (print_subexp): If opcode not found in op_print_tab,
stop with an error().
	eval.c (evaluate_subexp): Change error message.
1993-04-13 19:18:37 +00:00
Jim Kingdon
ccd87bf2b4 * objfiles.c (build_objfile_section_table): Cast return value
from obstack_finish.
1993-04-13 15:31:29 +00:00
Jim Kingdon
f36492275c * config/rs6000/tm-rs6000.h, rs6000-tdep.c: Move FRAME_CHAIN
to rs6000_frame_chain and deal with it if we're in a signal handler.
	(FRAME_SAVED_PC): Use rs6000_frame_chain.
1993-04-13 06:15:14 +00:00
Rob Savoye
ce30725700 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path. 1993-04-12 22:27:06 +00:00
Rob Savoye
32a02b2a49 Make sure $GDB contains a real program. 1993-04-12 22:15:10 +00:00
Jim Kingdon
0a819c0429 * breakpoint.c (within_scope): New function.
(enable_breakpoint, watchpoint_check): Use it.
1993-04-12 21:22:46 +00:00
Jim Kingdon
affc968624 source.c (openp): Handle "exec-file ./ls" correctly. 1993-04-12 18:21:25 +00:00
Jim Kingdon
0a62ff3608 (breakpoint_1): use wrap_here before "at" 1993-04-12 17:56:35 +00:00
Ian Lance Taylor
9a9a88c18f Fix typo, change appropriate instances of -2 to SERIAL_TIMEOUT, add
explicit != 0 tests, improve comments.
1993-04-10 20:25:54 +00:00
Per Bothner
5a7c9cceb7 * ch-exp.y: Clean up lexing of identifiers and
reserved words.  (E.g. don't recognize FALSEXXX as the
	keyword FALSE followed by the identifier XXX.)
	Also, convert identifiers to lower case.
1993-04-10 08:35:32 +00:00
Stu Grossman
1724c671da * remote-mips.c, remote-monitor.c, remote-st2000.c: Convert to
new serial interface.
1993-04-09 22:55:00 +00:00
Stu Grossman
4febd10272 * remote.c (remote_open): Use SERIAL_OPEN instead of serial_open.
(putpkt, getpkt):  Use new return codes for SERIAL_READCHAR.
	* ser-go32.c:  Return -1 on most failures, 0 on most successes,
	and use new return codes for go32_readchar().
	* ser-unix.c:  Ditto.  Also, move error handling up to caller for
	SERIAL_SETBAUDRATE().
	* serial.c (serial_open):  Internal call, not SERIAL_OPEN to get
	to specific routine.
	(serial_close):  New routine to wrap around device close routine.
	serial.h:  Clean & document return values more clearly.
1993-04-09 22:14:04 +00:00
Jim Kingdon
944c1c2f31 * rs6000-pinsn.c (print_operand): Deal with no operand instructions.
* rs6000-pinsn.c (print_operand, case LI): Print condition register
	operand in decimal rather than wrong textual versions.
1993-04-09 20:54:02 +00:00
Jim Kingdon
21486670ae * printcmd.c (_initialize_printcmd): Clean up docstring for "x"
(mention 't', remove false thing about 'g' only good with 'f').
1993-04-09 18:06:45 +00:00
Jim Kingdon
ddc6e6f785 * breakpoint.h: move "struct breakpoint" and friends to top of
file so that bpstat_find_breakpoint prototype works.
1993-04-09 17:51:40 +00:00
Jim Kingdon
a80c7bf67c * solib.c (struct so_list): Add bfd field.
(solib_map_sections): Leave bfd open and scratch_pathname allocated.
	Put the bfd in bfd field of the so_list.
	(clear_solib): Free bfd name and close_bfd on the bfd.
1993-04-09 17:43:59 +00:00
Per Bothner
47f366bc62 * valarith.c (value_subscript): Add COERCE_REF.
* ch-exp.y (operand_5):  We can generalize the 2nd operand
	of a string repetition ot 'literal' without ambiguity.
1993-04-09 07:52:50 +00:00
Jim Kingdon
cabd4da684 * breakpoint.h (struct bpstat): Remove momentary field.
Remove bpstat_momentary_breakpoint.  This was always kludgy
	and is no longer used.

	* breakpoint.h: Add enum bpstat_what.
	breakpoint.h (struct bpstat), breakpoint.c (bpstat_stop_status):
	stop and print fields of bpstat now per-breakpoint, not just
	one for the whole chain.
	breakpoint.{c,h} (bpstat_what): New function.
	breakpoint.h: Remove bpstat_stop and bpstat_should_print.
	infrun.c: Replace switch (stop_bpstat->breakpoint_at->type)
	with call to bpstat_what.
	README: Remove watchpoint/breakpoint bug from known bugs.

	* breakpoint.h: Prototype bpstat_find_breakpoint.
1993-04-09 03:17:45 +00:00
Fred Fish
dfbfbd9632 * symtab.c (find_methods, gdb_mangle_name): Note that functions
are g++ specific.
	* symtab.h (VTBL_FNADDR_OFFSET, OPNAME_PREFIX_P, VTBL_PREFIX_P,
	DESTRUCTOR_PREFIX_P):  Note that macros are g++ specific.
1993-04-08 23:05:16 +00:00
Ian Lance Taylor
ac91d2ca5b * i960-pinsn.c (tabent): Copied struct definition from
opcodes/i960-dis.c.
1993-04-08 19:47:54 +00:00
Peter Schauer
ca6a826d84 * symtab.h (DESTRUCTOR_PREFIX_P): New macro to check if physname
is a C++ destructor.
        * symtab.c (gdb_mangle_name): Use it.
        * symtab.c (find_methods): Do not add destructors to choice list
        for constructors.
        * symtab.c (decode_line_1): Make breakpoints on destructors work
        for gcc-2.x again.
1993-04-08 17:37:24 +00:00
Stu Grossman
b83bf6b370 * ser-go32.c: Make it use serial port name.
* go32-xdep.c:  Put in def for strlwr, needed by dir.o in go32 libc.
1993-04-08 04:12:56 +00:00
Stu Grossman
40b56283bc * infcmd.c (read_pc): Make sure that we read PC_REGNUM when not
in a system call!
1993-04-08 01:45:35 +00:00
Stu Grossman
41faa7759d * configure.in: Only configure sparclite subdir when target_cpu
is sparclite.
1993-04-07 22:53:49 +00:00
Jim Kingdon
ef5b809c7c * xcoffread.c (struct coff_symbol): Change c_sclass to unsigned char.
Remove FIXME comment regarding this.
1993-04-07 22:45:34 +00:00
Per Bothner
8a177da658 * ch-exp.y: Remove ambiguities. Fix or add support for
UNOP_IND, UNOP_CAST, UNOP_ADDR, STRUCOP_STRUCT, OP_TYPE.
	* ch-typeprint.c (chill_print_type):  Move support
	for TYPE_CODE_ARRAY and TYPE_CODE_STRING from here ...
	* ch-typeprint.c (chill_type_print_base): ... here.
	* ch-typeprint.c (chill_type_print_base):  Improve
	support for PTR, REF, and FUNC types.
	* ch-valprint.c:  Prefer H'%x format to 0x%s.
	* ch-valprint.c (chill_val_print):  Add support for printing
	TYPE_CODE_REF (return for LOC parameters and variables).
	Use c_val_print to print random types (including ENUM).
	* ch-valprint,c (chill_print_value_fields):  Make
	output look more like Chill tuples.
	* stabsread.c (read_struct_type):  Factor common code.
1993-04-07 22:15:48 +00:00
Fred Fish
bee218aaac * gdb.t21/demangle.exp: Only count real fails (not xfails) for
failure count used to force early termination.  Add some more
	expected failures for gnu style demangling.
1993-04-07 21:14:57 +00:00
Fred Fish
9d7775db53 * gdbint.texinfo: Update for new config directory structure.
Add info about internal type data structures.
1993-04-07 21:13:13 +00:00
Fred Fish
8cb3cab94f * sparclite/Makefile.in: Add dummy mostlyclean, clean,
distclean, and realclean targets.
1993-04-07 18:27:16 +00:00
Jim Kingdon
47045b3617 Change NULL->'\0' in comment (that wasn't a typo). 1993-04-07 17:46:19 +00:00
Jim Kingdon
f635bd474c use E_SYMNMLEN 1993-04-07 17:40:55 +00:00
K. Richard Pixley
73d0fc7820 Add section table to objfile struct. Use it for find_pc_section.
* objfiles.c (add_to_objfile_sections,
  build_objfile_section_table, find_pc_section): new functions.
  (allocate_objfile): build section table.
* objfiles.h (struct obj_section): new structure.
  (struct objfile): add section table.
  (find_pc_section): new prototype.
* solib.[ch] (find_pc_section_from_so_list): removed.
* sparc-tdep.c: include objfiles.h for find_pc_section.  include
  symfile.h for objfiles.h.
  (in_solib_trampoline): adjusted for new find_pc_section
  prototype.  Removed BAD_RICH_HACK ifdefs.
* symfile.c (syms_from_objfile): offset objfile sections.
  (find_pc_section): removed.  Also removed BAD_RICH_HACK ifdefs.
* symfile.h (find_pc_section): prototype removed.  Also fixed
  comment typo NUL -> NULL.
* target.[ch] (find_pc_section_from_targets): removed.
* config/sparc/tm-sun4sol2.h (BAD_RICHH_HACK): removed.
1993-04-07 07:04:26 +00:00
Stu Grossman
07861607f5 * ser-go32.c: Format. (go32_open): Use proper return value.
* configure.in:  Undo conditional configdirs hack for sparclite.
1993-04-07 04:43:48 +00:00
Jim Wilson
118ec55a7b Fix for PR 124: make 'rb' correctly handle case where we have multiple
functions with the same name in different files.
1993-04-07 00:09:11 +00:00
Fred Fish
60c632b126 Update with latest build dependencies. 1993-04-06 23:54:16 +00:00
Stu Grossman
e8a5f0ed39 *** empty log message *** 1993-04-06 23:48:29 +00:00
Fred Fish
7788e8221f (Changes and new files to make "none" a full fledged configuration)
* config/none/{nm-none.h, tm-none.h, xm-none.h}:  New files.
	Currently only tm-none.h has any meaningful contents.
	* config/none/none.mh (NAT_FILE):  Use nm-none.h
	* config/none/none.mh (XM_FILE):  Use xm-none.h
	* config/none/none.mt (TM_FILE):  Use tm-none.h
1993-04-06 22:09:33 +00:00
Jim Kingdon
9925b92861 * values.c (USE_STRUCT_RETURN): Only use gcc wierdness for gcc1. 1993-04-06 21:20:30 +00:00
Jim Kingdon
786757a9a4 * xcoffread.c (read_xcoff_symtab): Deal correctly with symbols of
exactly 8 characters.
1993-04-06 20:08:50 +00:00
Stu Grossman
0c101d4920 * configure.in: Sparclite uses sparc config dir. Also has it's
own tm- & .mt files now.  Also add sparclite to configdirs.
	* go32-xdep.c:  Dummy routines for sigsetmask & strlwr.
	* config/i386/go32.mh:  Nullify def of TERMCAP.
	* config/i386/xm-go32.h:  Get rid of redef of EIO.
	* config/sparc/{sparclite.mh tm-sparclite.h}:  New sparclite
	specific configs.  Very similar to sun4os4, but without solib.
	* sparclite/{Makefile.in configure.in}:  First cut at making this
	dir configgable.
1993-04-06 17:40:55 +00:00
Stu Grossman
5d2b030a03 * ser-go32.c: First cut at adapting to new serial interface. 1993-04-06 10:13:03 +00:00
Stu Grossman
4e772f4426 * Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co].
These implement a new serial line interface for talking to remote
	targets.
	* configure.in:  Link ser-hardwire.c to ser-unix.c for all hosts,
	EXCEPT go32, which gets ser-go32.c.
	* remote.c:  Use new serial interface.  More remote-xxx's to be
	converted later.
	* ser-bsd.c, ser-termios.c:  Removed.
	* serial.c:  New.  Implements common operations for all serial
	types.
	* ser-unix.c:  New.  Unix specific serial operations for various
	flavors of Unix (Posix, SysV, BSD).
	* serial.h:  Generic serial interface defs.
	* config/i386/go32.mh, config/i386/i386bsd.h,
	config/m68k/apollo68b.mh, config/sparc/sun4os4.mh:  Remove
	ser-bsd.o from XDEPFILES.  All the magic is now handled in
	configure.in.
1993-04-06 05:50:54 +00:00
Stu Grossman
9acdb2dc82 * config/h8500/tm-h8500.h: Clean up brain damage found by GCC. 1993-04-06 03:52:31 +00:00
Fred Fish
ccad2ffc38 tm-68k* -> tm-m68k* 1993-04-06 02:26:41 +00:00
Fred Fish
b4b0321b10 am29k* -> a29k* 1993-04-06 02:25:51 +00:00
Ian Lance Taylor
f930354afe * Makefile.in (SFILES_INCLUDED): gdb-config.texi is no longer in
$(srcdir).
	(gdb-config.texi): Depend on file in $(srcdir).
1993-04-05 16:07:40 +00:00
Jim Kingdon
1d7e34e1ef * xcoffread.c (xcoff_symfile_offsets): Use 0 not addr for offsets. 1993-04-03 01:19:16 +00:00
Jim Kingdon
c02645965c N_SO fixes 1993-04-03 01:04:39 +00:00
Jim Kingdon
b0e932ad45 * rs6000-tdep.c (frameless_function_invocation): Don't even think
about framlessness except on the innermost frame.
1993-04-02 20:28:52 +00:00
Jim Kingdon
0848ad1c4d * stabsread.c (patch_block_stabs): If stab & no symbol, make
a LOC_OPTIMIZED_OUT symbol.
	symtab.h (enum address_class): Add LOC_OPTIMIZED_OUT.
	findvar.c (read_var_value), printcmd.c (address_info),
	symmisc.c (print_{,partial_}symbol), c-exp.y (variable),
	m2-exp.y (yylex): Deal with it.
1993-04-02 19:35:30 +00:00
Stu Grossman
ccced87a0b * findvar.c (value_from_register): H8500 specific, check to see
if we are looking at short pointer.  If so, skip crock.
	* h8500-tdep.c (h8500_frame_chain):  Mask down value from
	read_memory_integer() to avoid getting messed up by sign extension.
1993-04-02 02:47:05 +00:00
K. Richard Pixley
0e18483336 * sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section):
ifdef protect using BAD_RICH_HACK.  This should be removed soon.
	* config/sparc/tm-sun4sol2.h (BAD_RICH_HACK): define.
1993-04-02 00:50:30 +00:00
Jim Kingdon
720b3aed42 New print_address for disassemblers, merge a29k and i960 disassemblers 1993-04-02 00:18:47 +00:00
Jim Kingdon
a6cead71cd Fix prototype problems related to recent disassembler changes 1993-04-01 18:04:51 +00:00
Peter Schauer
494503c776 * breakpoint.c (bpstat_print, bpstat_stop_status): Change to walk the
entire breakpoint chain and print only the first entry that needs to
	be printed and needs to be stopped for. Fixes problems with printing
	of multiple breakpoints with different conditions.
	* breakpoint.c (print_it_done): Renamed from print_it_noop as it
	effectively stops printing of the breakpoint chain.
	* breakpoint.c (print_it_noop): New routine to print nothing
	for this breakpoint entry and dont stop printing.
	* breakpoint.c (breakpoint_re_set_one): mention the reevaluated
	watchpoint only if it is enabled.
	* mipsread.c (parse_procedure): Correct incorrect setjmp procedure
	descriptor from the library to make backtraces through setjmp work.
	* mipsread.c (fixup_sigtramp): Correct pcreg and fregoffset for
	sigtramp.
	* mips-tdep.c (read_next_frame_reg): Provide correct values for
	all registers saved within sigtramp, cleanup.
1993-04-01 17:43:42 +00:00
Jim Kingdon
f7ed13c7d5 merge binutils and gdb sparc disassemblers 1993-04-01 16:56:06 +00:00
K. Richard Pixley
bf097a0b40 * core.c (dis_asm_read_memory): drop fourth arg which conflicts with
prototype in ../include/dis-asm.h.
1993-04-01 05:27:06 +00:00
Jim Kingdon
5d0734a7d7 provide a new interface (using read_memory_func) to call the disassemblers
which copes with errors in a plausible way
1993-03-31 21:43:25 +00:00
K. Richard Pixley
2093fe6840 Teach sparc solaris to next over shared library functions.
* solib.[hc] (find_pc_section_from_so_list): new function and
  prototype.
* sparc-tdep.c (in_solib_trampoline): new function.
* symfile.[hc] (find_pc_section): new function and prototypes.
* target.[hc] (find_pc_section_from_targets): new function and
  prototypes.
* config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to
  in_solib_trampoline.
1993-03-31 00:29:22 +00:00
Jim Kingdon
deae7611a3 * infrun.c (wait_for_inferior): Revise comment. 1993-03-30 23:33:04 +00:00
Jim Kingdon
359a097f9f Tue Mar 30 08:06:24 1993 Jim Kingdon (kingdon@cygnus.com)
* command.c (do_setshow_command): Use %u with var_{u,z}integer.

	* command.{c,h}: New var_type var_integer.
	main.c: Use it for history_size.

	* rs6000-tdep.c, xcoffexec.c, config/rs6000/xm-rs6000.h, breakpoint.c:
	Lint and byte-order fixups.
1993-03-30 23:06:29 +00:00
Jim Kingdon
3f031adf9f (print_it_normal): return 0 after hitting watchpoint 1993-03-30 19:10:31 +00:00
Jim Kingdon
8af68e4efb * breakpoint.h (bpstat): New field print_it.
breakpoint.c (bpstat_print): Use it.
	(print_it_normal): New function (from old bpstat_print code).
	(bpstat_{alloc,stop_status}): Set print_it field.

	* breakpoint.c (bpstat_stop_status): Use catch_errors when
	evaluating watchpoint condition, via new function watchpoint_check.
	Also stop if watchpoint disabled due to leaving its block.
1993-03-30 18:55:20 +00:00
Peter Schauer
1096d1de5d * config/unix-gdb.exp: Add missing return 0. 1993-03-30 18:00:50 +00:00
Peter Schauer
72ea43e648 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
test termination.
1993-03-30 16:38:23 +00:00
Jim Kingdon
b27be7926c *** empty log message *** 1993-03-30 16:07:17 +00:00
Jim Kingdon
0791c5ea6c add comment 1993-03-30 15:59:01 +00:00
Peter Schauer
aa66fddd75 * mips-pinsn.c: Add missing include of dis-asm.h. 1993-03-30 08:16:25 +00:00
Fred Fish
239121e2b7 * Makefile.in (clean, distclean, realclean): Recursively apply
to subdirs first, rather than last.  This avoids, for example,
	Makefile being removed in a parent directory before the recursive
	make is run.
1993-03-30 01:49:04 +00:00
Fred Fish
7007db9600 * configure.in (subdirs): Put back gdb.t17 which mysteriously
disappeared.
1993-03-30 01:38:19 +00:00
Fred Fish
141ccc0350 Update for just completed file renamings. 1993-03-30 01:14:35 +00:00
Fred Fish
2225eb851e * config/m68k/tm-m68k.h: Renamed from config/m68k/tm-68k.h.
* m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h,
	tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h,
	tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}:  Include tm-m68k.h
	instead of tm-68k.h.
	* Makefile.in (HFILES):  tm-68k.h renamed to tm-m68k.h.
	* README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c,
	m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h,
	nm-hp300bsd.h, config/m68k/xm-apollo68b.h}:  Map '68k' to 'm68k'.
	* a29k/tm-a29k.h, doc/gdbint.texinfo:  Account for renaming of
	tm-68k.h to tm-m68k.h.
	* m68k/m68k-fp.mt (TM_FILE):  tm-68k-fp.h renamed to tm-m68k-fp.h.
	* m68k/m68k-nofp.mt (TM_FILE):  tm-68k-nofp.h renamed to
	tm-m68k-nofp.h.
1993-03-30 00:33:44 +00:00
Jim Kingdon
0a97f6c4a1 Add comments regarding breakpoint_re_set 1993-03-29 23:46:12 +00:00
Fred Fish
d7d35f004c * config/a29k/tm-a29k.h: Renamed from config/a29k/tm-29k.h.
* a29k-pinsn.c:  Renamed from am29k-pinsn.c.
	* a29k-tdep.c:  Renamed from am29k-tdep.c.
	* remote-eb.c, config/a29k/tm-ultra3.h:  Include renamed tm-a29k.h.
	* remote-monitor.c, remote-st2000.c, config/a29k/{nm-ultra3.h,
	tm-a29k.h, xm-ultra3.h}, config/romp/rtbsd.mh, doc/gdbinv-s.texi,
	testsuite/gdb.t15/funcargs.exp, testsuite/gdb.t17/callfuncs.exp:
	Map '29k' to 'a29k'.
	* config/a29k/{a29k-kern.mt, a29k-udi.mt, a29k.mt, ultra3.mt}
	(TDEPFILES):  Use renamed a29k-pinsn.o and a29k-tdep.o.
	* config/a29k/{a29k-udi.mt, a29k.mt} (TM_FILE):  Use renamed
	tm-a29k.h.
	* config/a29k/a29k-udi.mt (MT_CFLAGS):  Remove TARGET_AM29K
	define that does not appear anywhere else in the gdb source tree.
	* doc/gdbinit.texinfo:  Document renaming of tm-29k.h to tm-a29k.h.
1993-03-29 23:38:30 +00:00
Jim Kingdon
e5c007603f * xcoffread.c (sort_syms, compare_symbols): Remove.
(xcoff_symfile_read): Use sort_all_symtab_syms from symfile.c
	not our own sort_syms (it is identical).
1993-03-29 22:25:59 +00:00
Jim Kingdon
ad3768932d * xcoffread.c: Nuke NAMES_HAVE_DOT define (not used). 1993-03-29 21:58:29 +00:00
Jim Kingdon
0eaaa46a44 * breakpoint.{c,h}: Add exp_string to struct breakpoint and use
it in breakpoint_re_set.
1993-03-29 21:49:39 +00:00
Peter Schauer
0b0d6c3fa7 * breakpoint.c (breakpoint_re_set_one): Fix storage leak.
* breakpoint.c (enable_breakpoint): Don't enable watchpoint if it
	went out of scope.
	* exec.c (exec_close): Fix storage leak.
	* exec.c (exec_file_command): Make sure that bfd doesn't realign the
	output sections when patching an executable.
	* mips-nat.c (store_inferior_registers): Use REGISTER_PTRACE_ADDR
	when writing all registers.
	* mips-tdep.c (mips_push_dummy_frame): Save floating point registers
	at the right offset in the dummy frame.
	* mipsread.c (psymtab_to_symtab_1): Do not complain for stProc,
	stStaticProc and stEnd symbols as they are generated by gcc-2.x.
	* mipsread.c (mipscoff_new_init): Initialize stabsread and buildsym.
1993-03-28 19:28:26 +00:00
Fred Fish
53f6119fc6 Reorder recent entries that we out of date sequence, and add an entry of
mine that got dropped somehow.
1993-03-28 00:58:39 +00:00
Roland Pesch
1bbbf4575d Catch up on today's changes. 1993-03-27 02:06:18 +00:00
Roland Pesch
51b65b7470 *-config.texi: introduce new switch GENERIC to describe text *only* for
(the usual) non-specialized versions of the manual.

gdb.texinfo: list of nonstandard init file names, with brief descriptions
             (permits closing PRMS gdb/2296).
1993-03-27 01:59:12 +00:00
Roland Pesch
1d7c3357dd 1. Update conditional markup:
(a) to make H8 configuration come out right (first attempt since
     conversion to texinfo conditionals);
 (b) to exploit yesterday's makeinfo bugfix, using conditionals in menus
     rather than multiple alternative menus.

2. Update H8 text to refer to H8/500 as well as H8/300.

3. Define config file gdb-config.texi as a link in Makefile, based on a
   DOC_CONFIG variable.
1993-03-27 01:32:11 +00:00
John Gilmore
0f0834c518 * Makefile.in (TARFILES): Avoid trailing backslash. 1993-03-26 23:26:05 +00:00
Jim Kingdon
2d313932ea Fetch lazy values 1993-03-26 22:49:53 +00:00
Jim Kingdon
030fb5cb81 * rs6000-tdep.c (single_step): Misc cleanups (CORE_ADDR not int,
don't use sizeof(int) for target stuff, etc).
1993-03-26 19:55:57 +00:00
Jim Kingdon
3c02636b4e * Clean up xcoff relocation.
objfiles.h (struct objfiles): Add section_offsets, num_sections.
	symfile.c (syms_from_objfile), xcoffread.c (xcoff_symfile_offsets):
	Set them.
	symtab.h (struct general_symbol_info): Add section field.
	minsyms.c (prim_record_minimal_symbol{,_and_info}): Set it.
	xcoffread.c: Set section for symbols and msymbols.
	(struct symtab): Add block_line_section field.
	buildsym.c (end_symtab): Set it.
	(end_symtab and callers): Add section parameter.
	objfiles.c (objfile_relocate): New funciton.
	xcoffexec.c (vmap_symtab): Use it.
	xcoffsolib.h (struct vmap): Remove unused fields.
	config/rs6000/tm-rs6000.h, stack.c, xcoffexec.c: Remove
	CORE_NEEDS_RELOCATION, symtab_relocated.
	config/rs6000/tm-rs6000.h: Remove use of loadinfotext.
	rs6000-tdep.c: Make loadinfotext static.
	breakpoint.c (fixup_breakpoints): Doc fix.
	symtab.h (struct symtab), config/rs6000/tm-rs6000.h, buildsym.c
	(end_symtab): primary field replaces nonreloc.
1993-03-26 14:59:43 +00:00
Fred Fish
63305a735b * gdb.t15/funcargs.exp: Fix expected outputs to include
"backtrace 100\r" rather than just "backtrace\r", to match last
	change.
1993-03-26 05:07:08 +00:00
Fred Fish
743b663c4b List the known things that are currently sanitized away. (Sanitize
should support a separate list of these things and report them
differently from unknown things that are sanitized away).
1993-03-25 23:22:52 +00:00
Stu Grossman
01aa2b19a1 * findvar.c (read_register, write_register): Make these capable
of reading/writing registers that are shorter than REGISTER_TYPE.
	* (value_from_register):  Install H8500 specific code to return
	proper value when register is being used as a pointer.
	* h8500-tdep.c:  Remove extra defines of NUM_REGS.
	(h8500_skip_prologue):  Use correct lengths for LINK instructions.
	(FRAME_CHAIN):  Change name to h8500_frame_chain.  Rewrite code to
	chain frames properly by combining frame pointer with T reg.
	(init_extra_frame_info):  Delete.  It's now a macro.
	(frame_args_address):  Don't add PTR_SIZE.  Stack args are already
	offset by the correct amount off of the frame pointer.
	(register_byte):  Delete.  It's now a macro.
	(register_raw_size, register_virtual_size):  Delete.  Replaced by
	common routine h8500_register_size, cuz there's no difference
	between the raw & virtual sizes on this machine.
	(register_convert_to_raw, register_convert_to_virtual):  Delete,
	cuz there's no difference between the raw & virtual forms.
	Replaced by memcpy in tm file.
	(register_virtual_type):  Rename to h8500_register_virtual_type.
	Get rid of pointer pseudo-regs, use _REGNUM with all reg names.
	(_initialize_h8500_tdep):  Get rid of crock to ensure that GDB &
	emulator have same reg offsets.  This is all handled in the
	simulator code now.
	(h8500_trapped_internalvar):  New routine to detect references to
	convenience vars acting as pointer pseudo-regs.
	(h8500_value_trapped_internalvar):  Conjure up value of pointer
	pseudo-regs.
	(h8500_set_trapped_internalvar):  Convert set value in real
	register references.
	infcmd.c (read_pc, write_pc):  Add h8500 specific code to handle
	code segment register.
	infrun.c (proceed):  Simplify.  Call write_pc instead of doing it
	by hand.
	(wait_for_inferior):  Add h8500 specific code to add stack segment
	when reading SP register.
	remote-sim.c (fetch_register):  Spacing.
	tm-h8500.h:  #define GDB_TARGET_IS_H8500 to make it easier to
	detect cruft.  Redo all register manipulation stuff.  Get rid of
	pointer pseudo-regs.  (INIT_EXTRA_FRAME_INFO):  Adds stack segment
	to frame pointer.  (IS_TRAPPED_INTERNALVAL,
	VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR):  Use these
	to create internal vars for pointer pseudo-regs.
1993-03-25 23:15:31 +00:00
Fred Fish
f747d2596a * alldeps.mak, configure.in, i860-break.h, i860-opcode.h,
i860-pinsn.c, i860-tdep.c, config/i860/*:  Remove incomplete i860
	support that can't be integrated anyway due to lack of clear
	authorship.
1993-03-25 23:08:24 +00:00
Stu Grossman
ccf1e898d7 * findvar.c (read_register, write_register): Make these capable
of reading/writing registers that are shorter than REGISTER_TYPE.
	* (value_from_register):  Install H8500 specific code to return
	proper value when register is being used as a pointer.
	* h8500-tdep.c:  Remove extra defines of NUM_REGS.
	(h8500_skip_prologue):  Use correct lengths for LINK instructions.
	(FRAME_CHAIN):  Change name to h8500_frame_chain.  Rewrite code to
	chain frames properly by combining frame pointer with T reg.
	(init_extra_frame_info):  Delete.  It's now a macro.
	(frame_args_address):  Don't add PTR_SIZE.  Stack args are already
	offset by the correct amount off of the frame pointer.
	(register_byte):  Delete.  It's now a macro.
	(register_raw_size, register_virtual_size):  Delete.  Replaced by
	common routine h8500_register_size, cuz there's no difference
	between the raw & virtual sizes on this machine.
	(register_convert_to_raw, register_convert_to_virtual):  Delete,
	cuz there's no difference between the raw & virtual forms.
	Replaced by memcpy in tm file.
	(register_virtual_type):  Rename to h8500_register_virtual_type.
	Get rid of pointer pseudo-regs, use _REGNUM with all reg names.
	(_initialize_h8500_tdep):  Get rid of crock to ensure that GDB &
	emulator have same reg offsets.  This is all handled in the
	simulator code now.
	(h8500_trapped_internalvar):  New routine to detect references to
	convenience vars acting as pointer pseudo-regs.
	(h8500_value_trapped_internalvar):  Conjure up value of pointer
	pseudo-regs.
	(h8500_set_trapped_internalvar):  Convert set value in real
	register references.
	infcmd.c (read_pc, write_pc):  Add h8500 specific code to handle
	code segment register.
	infrun.c (proceed):  Simplify.  Call write_pc instead of doing it
	by hand.
	(wait_for_inferior):  Add h8500 specific code to add stack segment
	when reading SP register.
	remote-sim.c (fetch_register):  Spacing.
	tm-h8500.h:  #define GDB_TARGET_IS_H8500 to make it easier to
	detect cruft.  Redo all register manipulation stuff.  Get rid of
	pointer pseudo-regs.  (INIT_EXTRA_FRAME_INFO):  Adds stack segment
	to frame pointer.  (IS_TRAPPED_INTERNALVAL,
	VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR):  Use these
	to create internal vars for pointer pseudo-regs.
1993-03-25 22:34:26 +00:00
Ian Lance Taylor
5f2912ccce * config/udi-gdb.exp (gdb_exit): Remove close command.
(gdb_target_udi): New procedure to set the UDI target.
	(gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
	* gdb.t00/default.exp: Added expected failures for a29k-*-udi.
	Added waits for prompts after several question responses.  Added
	some more responses used by a29k-amd-udi-gdb.
	* gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
	pass different arguments, restart UDI connection after program
	completion.
	* gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
	gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
	gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
	gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
	* gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
	gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
	gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
	gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
	gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
	after program completion.
	* gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
	compiled with a SELECT_VECS setting.
	* gdb.t15/funcargs.exp: Use argument to backtrace to prevent
	infinite recursion.

	* gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
	Added checks for COFF results, and made them expected failures for
	all targets.  It would be better to make them expected failures
	for COFF targets only.
1993-03-25 20:34:44 +00:00
Fred Fish
e26140c2e1 Remove i860 directory for list of things to keep. 1993-03-25 19:49:29 +00:00
Fred Fish
2531303ccf * Makefile.in: Numerous small changes to macro definitions
and rules for building gdb distribution tree.  Many macros
	eliminated or merged, and rules simplified.
	* alldeps.mak:  Update.
	* depend:  Update.
1993-03-25 18:18:14 +00:00
Rob Savoye
7996cbedc8 Doesn't need links anymore. 1993-03-25 05:07:24 +00:00
David D. Zuhn
ebc0f5821b rename deja-gnu to dejagnu 1993-03-25 01:25:09 +00:00
David D. Zuhn
21ce979a5a add dvi, fix info & install-info (no recursion) 1993-03-24 22:45:00 +00:00
David D. Zuhn
6a962504cb add dvi target 1993-03-24 22:07:34 +00:00
David D. Zuhn
b396a969dd recurse through SUBDIRS for dvi target 1993-03-24 21:53:48 +00:00
Fred Fish
214aa2448f * gdb.t31/gdbme.ch: Re-enable code that previously caused
compiler to coredump.
	* gdb.t31/chillvars.exp:  Re-enable tests that depend on that
	code.
1993-03-24 17:50:44 +00:00
Roland Pesch
b0ad85e1f4 *** empty log message *** 1993-03-24 00:04:31 +00:00
Roland Pesch
8c69096bc3 Formatting updates from progressive. 1993-03-24 00:04:11 +00:00
Fred Fish
bfb33935d4 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
coredump.
	* gdb.t31/chillvars.exp:  Comment out tests that depend on that
	code.
1993-03-23 16:56:52 +00:00
Ian Lance Taylor
58bb1e76b4 Moved the hacked unexport line so that it is not the first target. 1993-03-23 16:08:25 +00:00
John Gilmore
ece2e98a0c * symtab.h (struct linetable_entry): Remove confusing comment. 1993-03-23 08:13:11 +00:00
David D. Zuhn
80c8fd72ed add installcheck 1993-03-23 08:03:44 +00:00
Fred Fish
5cd0940a6c Add h8500-tdep.c. 1993-03-23 04:54:13 +00:00
Fred Fish
56ce514e42 Remove mt-unix sanitization, there is no mt-unix here. 1993-03-23 04:34:52 +00:00
Fred Fish
541a052b02 Update for current files. 1993-03-23 04:23:57 +00:00
Fred Fish
45a76e022e Tweak list of files to keep. 1993-03-23 04:18:41 +00:00
Fred Fish
b0cb2d9154 Add .Sanitize files for new directories. 1993-03-23 03:58:44 +00:00
Fred Fish
034ac992d7 Update to match new config directory structure. 1993-03-23 03:32:59 +00:00
Fred Fish
fae255c44a Remove files that moved to config/ and config/<cpu>. 1993-03-23 03:30:43 +00:00
Fred Fish
9a07ddf2af * nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
	moved to appropriate config/<cpu> subdirectory.
	* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
	Native, host, and target files that are common across more than
	one cpu architecture and included by one of the configured
	native, host, or target files, get moved to config directory.
1993-03-23 01:57:27 +00:00
Fred Fish
5076de826c * config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
	* nm-*, xm-*, tm-*:  All native, host, and target files, which
	get linked to nm.h, xm.h, and tm.h respectively by configure,
	moved to appropriate config/<cpu> subdirectory.
1993-03-23 01:19:58 +00:00
Fred Fish
8256379df2 * config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
	z8k}:  New directories to hold cpu specific configuration files.
	Naming follows gcc convention.
	* config/{*.mt, *.mh}:  All target and host makefile fragment
	config files moved to an appropriate config/<cpu> subdirectory.
1993-03-23 01:07:36 +00:00
Fred Fish
1a0edbc7d7 * config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
	z8k}:  New directories to hold cpu specific configuration files.
	Naming follows gcc convention.
	* config/{*.mt, *.mh}:  All target and host makefile fragment
	config files moved to an appropriate config/<cpu> subdirectory.
	* nm-*, xm-*, tm-*:  All native, host, and target files, which
	get linked to nm.h, xm.h, and tm.h respectively by configure,
	moved to appropriate config/<cpu> subdirectory.
	* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
	Native, host, and target files that are common across more than
	one cpu architecture and included by one of the configured
	native, host, or target files, get moved to config directory.
	* Makefile.in (INCLUDE_CFLAGS):  Add -I${srcdir}/config to
	pick up native, host, or target include files moved to one of
	the config subdirectories, and that are included by other files.
	* Makefile.in (alldeps.mak):  Modify to account for new config
	directory structure.
	* alldeps.mak, depend:  Update for new config directory structure.
	* config/*/[ntx]m-*.h:  Modify all files that include other
	[ntx]m-*.h files to use path relative to gdb/config.  I.E.
	"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
	"tm-29k.h".
	* remote-eb.c (tm-29k.h):  Include a29k/tm-29k.h.
	* mipsread.c (tm-mips.h):  Include mips/tm-mips.h.
	* i860-pinsn.c (tm-i860.h):  Include i860/tm-i860.h.
	* configure.in:  Default gdb_host_cpu to host_cpu, and remap
	the ones where the default is not unique or different than the
	config subdirectory name.  Similarly, handle gdb_target_cpu.
	Modify configure.in as appropriate to make use of gdb_host_cpu
	and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
Ian Lance Taylor
5f5341a71f * mipsread.c (compare_blocks): Sort blocks with the same start
address by decreasing ending address.
1993-03-22 20:41:20 +00:00
Peter Schauer
1a3579dfb1 * mipsread.c (parse_procedure, parse_partial_symbols): bug fixes. 1993-03-22 20:25:25 +00:00
Peter Schauer
6c2e7392b7 * mipsread.c (parse_procedure): Save cur_fdr accross call to
lookup_symbol as it might get clobbered by the call.

        * mipsread.c (parse_partial_symbols): Use ADD_PSYMBOL_ADDR_TO_LIST.
        The previous code did not initialize the language field for the psymtab
        entry.
1993-03-22 20:22:54 +00:00
Rob Savoye
1ee369e85c Solve all config problems, make a local site.exp file. 1993-03-22 05:51:13 +00:00
Rob Savoye
a309ee82f3 Fixed a bunch of missing return codes, misc bugs. 1993-03-22 04:30:50 +00:00
Rob Savoye
3d0bd7d39a * gdb.t03/ptype.exp: tests for return code from gdb_test.
* gdb.t00/teststrategy.exp: Uses which proc rather than spawning
       which in a shell. Deletes xgdb when done.
       * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
       Tests the return from the "set height" or "set width" commands.
       Added a few return codes where needed.
1993-03-22 04:26:28 +00:00
John Gilmore
f24c159f1b Lint: * c-exp.y (parse_number): Avoid shift warning.
* serial.h (struct ttystate):  Declare empty one on DOS.
1993-03-20 08:44:42 +00:00
John Gilmore
6aa83a798d * gdbint.texinfo: Doc NO_MMALLOC and NO_MMALLOC_CHECK as host conditionals.
* stabs.texinfo:  More array fixes inspired by Jim's.
1993-03-20 06:07:16 +00:00
Steve Chamberlain
8c100ad074 New file 1993-03-19 23:26:13 +00:00
Steve Chamberlain
195e46ea0b Checkpoint for Stu 1993-03-19 23:05:34 +00:00
Stu Grossman
733a9015f7 * xm-sun4os4.h: Return type of free() should be void, not int. 1993-03-19 22:13:38 +00:00
Stu Grossman
bc0d4cb9fe Yes John, I haven't heard from Mark Fox yet.
* vx-share/vxWorks.h:  Remove #def of NULL.
1993-03-19 21:03:05 +00:00
Jim Kingdon
deb3f296bc nuke no-op STAB_REG_TO_REGNUM 1993-03-19 19:35:39 +00:00
Jim Kingdon
b6963343f6 fixes re arrays and continuations 1993-03-19 18:48:45 +00:00
Jim Kingdon
9729ef2206 add XCOFF node 1993-03-19 18:25:16 +00:00
Steve Chamberlain
52f8e6a0ab (print_insn): Include the new dis-asm header file. 1993-03-19 15:41:31 +00:00
Per Bothner
00cea52f92 * ieee-float.c: Moved to ../libiberty.
* ieee-float.h: Moved to ../include.
	* Makefile.in:  Update accordingly.
	* i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn):
	Convert to stubs that call disassemblers in ../opcodes/*-dis.c.
	* m68k-tdep.c:  Removed definition of ext_format ext_format_68881;
	it is now in ../opcodes/m68881-ext.c.
	* mips-tdep.c (mips_skip_prologue):  Try to skip more of the
	prologue (some callers _do_ care).
	* mips-pinsn.c (print_insn), z8k-tdep.c (print_insn):  Convert to
	new interface of ../opcodes/*-dis.c.
	* ch-exp.y:  Add #include <ctype.h>.
1993-03-19 00:18:55 +00:00
Jim Kingdon
c161de74a5 * xcoffexec.c (exec_close): Don't close exec_bfd twice. 1993-03-18 20:12:08 +00:00
Jim Kingdon
b60b2e3ec6 * xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive. 1993-03-18 20:02:10 +00:00
Ian Lance Taylor
1fa66e3660 A new ARG_MAX hack: explicitly unexport some CHILL variables to keep
them out of the environment.
1993-03-18 01:15:43 +00:00
Stu Grossman
b17e0267c9 Remove test checkin. 1993-03-18 00:43:10 +00:00
Stu Grossman
c6a4d166a7 Just testing checkins. 1993-03-18 00:42:26 +00:00
Jim Kingdon
ecfd2b6091 * xcoffread.c (arrange_linetable): Use x{m,re}alloc not {m,re}alloc. 1993-03-17 20:38:38 +00:00
John Gilmore
3021c40d20 (show_user): Avoid fprintf_filtered botch (AGAIN!). 1993-03-17 20:21:55 +00:00
Fred Fish
04fb224c92 Forgot to include changes to Makefile.in and configure.in. 1993-03-17 19:35:18 +00:00
Fred Fish
bc80300747 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
files to test gdb's calling of functions in the inferior with
	the correct arguments and gdb's ability to retrieve any
	result returned.
1993-03-17 19:33:19 +00:00
Steve Chamberlain
2d8d693ab7 New functions from macros in tm-z8k.h. 1993-03-17 19:32:42 +00:00
Fred Fish
898e13c8b9 * valops.c (value_arg_coerce): Apply temporary patch to
fix problem with coercion of array and function types when
	passed as arguments to C functions, pending a more complete
	review of when and how coercion should be done, depending
	upon context and language.
1993-03-17 19:28:59 +00:00
Jim Kingdon
3e57da3826 * xcoffread.c (MIN_TBTABSIZ): Change to 12. 1993-03-17 19:17:47 +00:00
Jim Kingdon
9d61147ec5 * xcoffread.c (xcoff_symfile_read): Only read stringtab and
debugsec if there are a non-zero number of symbols.
1993-03-17 19:06:32 +00:00
Rob Savoye
b73dd4a208 Make check target depend on all target. 1993-03-17 09:49:40 +00:00
Rob Savoye
29aa49d4ab Now has :make check" target. 1993-03-17 09:05:58 +00:00
Rob Savoye
e7d3b7d1fb "Make check" works much better. 1993-03-17 09:05:19 +00:00
Jim Kingdon
8112a7114b * xcoffexec.c (add_vmap): Wrap symbol read in catch_errors. 1993-03-17 04:07:29 +00:00
Jim Kingdon
c84a96d741 * xcoffread.c (read_symbol_lineno): Look to end of symbols for .bf,
not just 50 symbols.
	(symtbl_num_syms): New variable.
	(read_xcoff_symtab): Set it.
	(read_symbol_nvalue): Check for bad symno.
	(read_symbol_{lineno,nvalue}, callers): Don't pass symtable; it's
	always symtbl.
1993-03-17 03:58:24 +00:00
Rob Savoye
521cce5909 Catch error on close so runtest won't bomb. 1993-03-17 02:04:20 +00:00
Fred Fish
400b81b5e6 * config/unix-gdb.exp (gdb_exit): Remove close commands that
may be called after gdb goes away.  Previous versions of expect
	needed these to avoid file descriptor leaks, but they cause
	errors with the current revision of expect.
	* gdb.t00/gdbvars.exp:  Use -re on expected output after
	setting sevenbit-strings.
	* gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
	to set sevenbit-strings consistent across tests.
	**** start-sanitize-chill ****
	gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
	set sevenbit-strings consistent across tests.
	**** end-sanitize-chill ****
1993-03-16 23:48:09 +00:00
Stu Grossman
e829d98374 * config/rs6000.mh: Get rid of -Dfd_set=int crock.
This is defined in defs.h if necessary.
	* vx-share/vxWorks.h:  Remove #defs of min and max.
	* vx-share/xdr_ld.c, vx-share/xdr_ptrace.c,
	vx-share/xdr_rdb.c:  include defs.h.
1993-03-16 18:15:25 +00:00
Fred Fish
a2df03aa68 Add testsuite to list of things to save. 1993-03-16 14:09:12 +00:00
Jim Kingdon
c8ade7191b *** empty log message *** 1993-03-15 17:45:08 +00:00
John Gilmore
01deac1217 Support 68000 series without floating point. (changed config name)
* configure.in (m68000-*-{aout,elf,coff}):  New configs.
1993-03-14 11:06:43 +00:00
John Gilmore
48a522d968 * configure.in (m68k-adobe-*): New config.
* tm-68k-nofp.h:  New file, lacks 68881 support.
* config/m68k-nofp.mt:  New file.
1993-03-14 10:58:48 +00:00
John Gilmore
84a05e5253 Remove a few remaining underscore/no-underscore remnants from config files.
* config/{m68k-un.mt, sparc-un.mt}:  Remove.
* config/m68k-noun.mt: Rename to m68k-fp.mt.
* config/sparc-noun.mt: Rename to sparc-em.mt.
* tm-68k-noun.h, tm-spc-noun.h:  Remove.
* tm-68k-un.h:  Rename to tm-68k-fp.h.
* tm-spc-un.h:  Rename to tm-spc-em.h.
* tm-sun4sol2.h: Cleanup.
* configure.in (m68k-*, sparc-* targets):  Corresponding changes.
1993-03-14 10:49:01 +00:00
John Gilmore
961ee88e92 * symmisc.c (std_in, std_out, std_err): Move initializations
to runtime code, in case they aren't constant.
1993-03-13 23:09:20 +00:00
K. Richard Pixley
aa8f32108d * symtab.c (find_pc_symtab): some object file formats, notably mips,
have holes in the address ranges of symtabs.  Change this algorythm
  from first hit to tightest fit.

Fixes #2217.
1993-03-13 00:50:09 +00:00
K. Richard Pixley
a8172eea3d * mips-tdep.c (heuristic_proc_start): if we walk the pc into the fence
post without finding the enclosing function, then print a warning.
1993-03-13 00:32:10 +00:00
Jim Kingdon
2aefe6e4ae Fri Mar 12 09:33:23 1993 Jim Kingdon (kingdon@cygnus.com)
* xcoffread.c (retrieve_tracebackinfo): Move assignment out
	of while condition.

	* xcoffread.c (enter_line_range): complain() on bad endoffset.
	xcoffread.c: Doc fixes.

Tue Mar  9 09:56:12 1993  Jim Kingdon  (kingdon@cygnus.com)

	* tm-rs6000.h (CORE_NEEDS_RELOCATION): Just call xcoff_relocate_core.
	xcoffexec.c (xcoff_relocate_core): New function.
	(text_adjustment): Removed.
	(add_vmap): Return the vmap.
	rs6000-tdep.c (add_text_to_loadinfo): No longer static.

Fri Mar  5 05:22:46 1993  Jim Kingdon  (kingdon@cygnus.com)

	* xcoffsolib.h: Add objfile member to struct vmap.
	xcoff{exec,solib}.c: Use it, not lookup_objfile_bfd.
	xcoffexec.c (add_vmap): Allocate objfiles here.
1993-03-12 23:12:59 +00:00
Fred Fish
96b99583f4 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
expected output to match current "expect" expectations.
1993-03-12 16:50:38 +00:00
Fred Fish
5e81259d23 * utils.c (fputs_demangled, fprint_symbol): Remove.
* utils.c (fprintf_symbol_filtered):  New function which combines
	the functionality of fputs_demangled and fprint_symbol.  Uses a
	caller provided language parameter to select the appropriate
	demangler, and caller provided args to pass to the demangler.
	* defs.h (fputs_demangled, fprint_symbol):  Remove prototypes.
	* defs.h (fprintf_symbol_filtered):  Add prototype.
	* c-typeprint.c (cp_type_print_method_args):  Replace calls to
	fputs_demangled with call to fprintf_symbol_filtered.
	* cp-valprint.c (demangle.h):  Include
	* cp-valprint.c (cp_print_value_fields):  Replace calls to
	fprint_symbol with calls to fprintf_symbol_filtered.
	* printcmd.c (print_frame_args):  Replace call to fprint_symbol
	with call to fprintf_symbol_filtered.
	* stack.c (print_frame_info, frame_info):  Add language variable
	to pass to fprintf_symbol_demangled and initialize it from the
	symbol's language.  Replace calls to fputs_demangled with calls
	to fprintf_symbol_filtered.
	* symtab.c (find_methods):  Replace call to fputs_demangled with
	call to fprintf_symbol_filtered.
	**** start-sanitize-chill ****
	* ch-valprint.c (demangle.h):  Include.
	* ch-valprint.c (chill_print_value_fields):  Replace call to
	fprint_symbol with call to new fprintf_symbol_filtered.
	**** end-sanitize-chill ****
1993-03-11 19:27:51 +00:00
Fred Fish
bd5d07d94c * utils.c (fputs_demangled): Complete rewrite to clean up and
add a language parameter that is used to select the demangling
	algorithm.
	* defs.h (enum language):  Move further up in file so enum can
	be used in prototypes.
	* defs.h (fputs_demangled):  Update prototype to add lang arg.
	* c-typeprint.c (cp_type_print_method_args):  Add language arg
	to fputs_demangled calls, remove DMGL_PARAMS flag.
	* stack.c (print_frame_info):  Remove obsolete code so we don't
	have to update fputs_demangled usage in it.
	* stack.c (print_frame_info, frame_info):  Add language variable
	to pass to fputs_demangled and initialize it from the symbol's
	language.  Call fputs_demangled with language arg.
	* symtab.c (find_methods):  Add language arg to fputs_demangled
	call.
1993-03-11 17:44:39 +00:00
Fred Fish
0b96ed0655 * Makefile.in (VERSION): Bump version to 4.8.2. 1993-03-11 02:40:29 +00:00
Fred Fish
d3b43da8a5 Document change to default.exp. 1993-03-11 02:04:16 +00:00
Fred Fish
f77ad50597 * main.c (source_command): Require an explicit pathname of file
to source, since previous behavior of defaulting to gdb init file
	was troublesome and undocumented.
	* printcmd.c (disassemble_command):  Add missing '{}' pair to
	else with two statements.  Bug reported by Stephane Tsacas
	<slt@isoft.fr>.
	* symtab.c (find_pc_line):  Don't complain about zero length or
	negative length line numbers for the moment, since we may not own
	the terminal when called, such as when single stepping.  (FIXME)
	* language.h (CAST_IS_CONVERSION):  True if current language is
	C++ as well as C.  Fix from Peter Schauer.
	* environ.c (get_in_environ, set_in_environ, unset_in_environ):
	Use STREQN macro rather than bare '!strncmp()'.
	* environ.c (unset_in_environ):  Avoid use of memcpy on
	overlapping memory regions, as suggested by Paul Eggert
	<eggert@twinsun.com>.
	* c-exp.y (%union struct):  Remove unused ulval as suggested
	by Paul Eggert <eggert@twinsun.com>.
1993-03-11 01:56:31 +00:00
Fred Fish
fa5366da8b * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
expected fail for i486-*-* that misses the marker2 function.
	* gdb.t10/crossload.exp (bfddefault):  Allow successful
	recognition of a format to pass even if no symbols are found.
	Explicitly catch failures where the format is not recognized
	or is ambiguous, and add the reason to the fail message.
	* gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
	the cause is and invalid target and add reason to failure message.
	* gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
	elf32-i386, elf32-sparc, and elf32-i860.
	* gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
	Set up expected failure for 'filename'::variable scope resolution,
	which is now apparently broken on all targets.
	* gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
	gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
	gdb.t23/templates.exp:   Change failure for missing binfile into
	just a warning.
	gdb.t21/demangle.exp:  Change all cfront references to 'arm'
	references.
1993-03-09 19:17:48 +00:00
Steve Chamberlain
ddf30c373c * utils.c (quit): If using go32, still call error when quit seen.
(pollquit): New function to poll keyboard for user interrupt,
	called from QUIT.
	* xm-go32.h (QUIT): Define to call pollquit.
	* h8300-tdep.c (examine_prologue): Use correct value for number of
	registers.
1993-03-09 01:56:53 +00:00
John Gilmore
6344e2c7a7 Add `set print max-symbolic-offset' doc. 1993-03-08 23:55:50 +00:00
Ian Lance Taylor
aecc5459ab * Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make
3.63.

Also corrected the definitions of CC_FOR_TARGET, CXX_FOR_TARGET and
CHILL_FOR_TARGET.
1993-03-08 06:00:50 +00:00
Rob Savoye
1be6caef00 * config/*-gdb.exp: returns an error, rather than exiting on
internal errors.
1993-03-07 23:15:44 +00:00
Rob Savoye
05a291bb1f Doesn't exit after internal errors. 1993-03-07 23:11:56 +00:00
John Gilmore
946f014bf8 * am29k-tdep.c (TAGWORD_ZERO_MASK): New #define.
(examine_tag):  Use it.
(read_register_stack):  Only look in the local registers for a
memory address if it's between rfb and rsp; go to memory otherwise.
1993-03-06 02:02:39 +00:00
John Gilmore
19327ea5d4 * am29k-tdep.c (initialize_29k): Fix call_scratch_address doc.
Remove reginv command.
(reginv_com):  Remove ancient kludge command.
1993-03-06 01:49:03 +00:00
K. Richard Pixley
24365af960 * tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that
irix4 will again compile.
1993-03-06 01:25:06 +00:00
K. Richard Pixley
5870d84848 * tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed. 1993-03-06 01:23:11 +00:00
K. Richard Pixley
81029114ba accept mips-sgi-irix4* for irix4. 1993-03-06 01:19:48 +00:00
Steve Chamberlain
b2ff9b68b2 (print_register_hook): Lint. 1993-03-05 15:52:23 +00:00
John Gilmore
4966c17c42 Lint fixes from Paul Eggert (eggert@twinsun.com):
* command.c (do_setshow_command):  var_uintegers are unsigned.
* sparc-tdep.c (save_insn_opcodes, restore_insn_opcodes):
unsigned, since they use hex values with the high bit set.
1993-03-05 01:44:38 +00:00
Fred Fish
2456bacba8 Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):
* m88k-pinsn.c (sprint_address):  Use SYMBOL_NAME macro to
	access symbol name.
1993-03-05 01:04:48 +00:00
Fred Fish
e5bb7e61ad * m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET): Enclose
macro definitions in parenthesis.  Bug reported by karl@hq.ileaf.com.
1993-03-05 00:45:08 +00:00
Fred Fish
83386662e9 * dbxread.c (dbx_symfile_init): Catch the case where there is
no string table, but the only way we find out is by reading zero
	bytes from EOF.
1993-03-04 16:25:21 +00:00
Fred Fish
69a272c4f6 * dbxread.c (dbx_symfile_init): Make size of the string table
size field a define (DBX_STRINGTAB_SIZE_SIZE).  Ensure that the
	offset to the string table is nonzero and handle the nonexistant
	string table case, should it occur.  Ensure that the string table
	size read from the file is reasonable, with a minimum lower bound
	of DBX_STRINGTAB_SIZE_SIZE instead of zero.
1993-03-04 00:01:32 +00:00
Steve Chamberlain
350e711979 Always keep simulators 1993-03-03 23:10:48 +00:00
Ian Lance Taylor
b010e28320 * Makefile.in: Changes to build testsuite correctly.
(FLAGS_TO_PASS): Added CXX and CXXFLAGS.
	(CC_FOR_TARGET, CXX, CXX_FOR_TARGET): New variables.
	(TARGET_FLAGS_TO_PASS): New variable.
	(SUBDIRS): Added testsuite.
	(all): Build testsuite using TARGET_FLAGS_TO_PASS, so that
	testsuite is compiled with CC_FOR_TARGET rather than CC.
1993-03-03 15:26:23 +00:00
Fred Fish
6985bc542e * dbxread.c (dbx_symfile_init): Fix for nonexistant string table,
reported by mycroft@gnu.ai.mit.edu.

	(Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
	* configure.in (vax-*-ultrix2*):  New triplet.
	* config/vaxult2.mh:  New file.
	* xm-vaxult2.h:  New file.
1993-03-03 06:04:26 +00:00
Rob Savoye
6fcb280eb7 "make check" now works! 1993-03-03 03:15:52 +00:00
Fred Fish
45364c8a2a * c-exp.y (parse_number): Change high_bit to unsigned.
* demangle.c:  Change all references to cfront to ARM, since the
	actual algorithm is the one specified in the Annotated Reference
	Manual.  This was confusing users into thinking that full cfront
	support was implemented.
	* dwarfread.c (CFRONT_PRODUCER):  Remove, was never really used.
	* eval.c (evaluate_subexp):  For STRUCTOP_PTR pass the arg type
	directly to lookup_struct_elt_type, which will do the
	dereferencing itself.
	* gdbtypes.c (lookup_struct_elt_type):  Expand comments.  Fix
	NULL dereferencing bug for unnamed structs, comment out
	questionable code.
1993-03-03 02:09:02 +00:00
John Gilmore
1d9449abbf * coffread.c (process_coff_symbol): Change PCC argument correction
so that it only happens on big-endian targets; so that it only
happens if the short or char argument is aligned on an int
boundary; and so that it changes the location, rather than the
type, of the argument.  These changes tend to parallel similar
(old) changes in stabsread.c.

* coffread.c (coff_read_enum_type):  Use the specified size for
enums, don't assume that they are int-sized.

* c-valprint.c (c_val_print):  Don't assume enums are the same as
ints.
1993-03-02 03:39:37 +00:00
John Gilmore
fefe2ed929 * coredep.c: Handle NO_PTRACE_H in coredep.c. Fix by Michael
Rendell, <michael@mercury.cs.mun.ca>.
1993-03-02 01:56:22 +00:00
Fred Fish
58a66e2424 * language.h (local_decimal_format_custom): Add prototype.
* language.c (local_decimal_format_custom):  Add function, bug
	reported by Robert R. Henry (rrh@tera.com).
1993-03-01 16:46:55 +00:00
John Gilmore
9116f7c7ff * xcoffexec.c (vmap_ldinfo): Fix "/" for '/' typo, reported
by Josef Leherbauer, joe@takeFive.co.at.
1993-02-27 02:35:04 +00:00
Ian Lance Taylor
31ca3f4ce5 * configure.in (mips-idt-ecoff): New target.
* config/mips-gdb.exp: New file for remote board using MIPS remote
	debugging protocol.
1993-02-25 19:15:32 +00:00
Ian Lance Taylor
01cec5c8e7 * Redid configuration scheme. Removed gdb.t*/configure.in.
Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
	instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
	distclean targets.  Built executables via .o files.  Adjusted
	tests to account for source files in $(srcdir) rather than
	$(objdir).
	* lib/gdb.exp (runto): Don't expect () after the function name,
	because it may have arguments.
1993-02-25 18:50:45 +00:00
John Gilmore
58dbaabdda Remove remnants of NAMES_HAVE_UNDERSCORE. 1993-02-25 03:21:32 +00:00
Fred Fish
f31e2e7a1e * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize contents
of demangled name fields to NULL if no demangling exists for
	a symbol.  SYMBOL_INIT_LANGUAGE_SPECIFIC does this for new
	symbols if their language is known at the time they are created,
	but sometimes the language is not known until later.
1993-02-25 00:40:45 +00:00
Ian Lance Taylor
5b272a2d0b * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
	expected failures for mips-idt-* and mips-sgi-*.
	* gdb.t00/default.exp (attach): Kill process if requested.
	* gdb.t00/help.exp (help target core, help target): Accept a gdb
	that does not read core files.
	* gdb.t01/run.exp: Removed checks for exit status code.
	* gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
	it is linked in.
	* gdb.t03/ptype.exp: Increase timeout when calling malloc.
	* gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
	appropriate, rather than doing it by hand.
	* gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
	execution.
	* gdb.t10/crossload.exp: Kill existing program if needed.
	* gdb.t15/funcargs.exp: Use delete_breakpoints function where
	appropriate, rather than doing it by hand.  Always increase
	timeout for this test, not just for VxWorks.
1993-02-24 16:29:33 +00:00
Fred Fish
16aa4b532e **** start-sanitize-chill ****
* gdb.t31/chillvars.exp (test_structs):  New proc to test printing
	of Chill STRUCT types and STRUCT values.
	* gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
	than "char".
	* gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
	struct2):  New struct definitions and initializations to test
	simple Chill STRUCT types.
	**** end-sanitize-chill ****
1993-02-24 16:10:41 +00:00
Fred Fish
8fbdca53aa **** start-sanitize-chill ****
* ch-typeprint.c (chill_print_type_base):  Name changed to
	chill_type_print_base to match pattern for C and C++ names.
	* ch-typeprint.c (chill_print_type):  Change "char" to "CHAR"
	to be consistent with other usages.
	* ch-typeprint.c (chill_type_print_base):  Add support for
	printing Chill STRUCT types.
	* ch-valprint.c:  Include values.h.
	* ch-valprint.c (chill_print_value_fields):  New function and
	prototype for printing Chill STRUCT values.
	* ch-valprint.c (chill_val_print):  Fix call to val_print_string
	that was being called with two args instead of three.
	* ch-valprint.c (chill_val_print):  Call chill_print_value_fields
	to print Chill STRUCT values.
	**** end-sanitize-chill ****
1993-02-24 15:49:47 +00:00
Mike Werner
b12529c1ec *configure.in: added testsuite to configdirs. 1993-02-24 03:00:23 +00:00
Fred Fish
ff7f25de27 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
the null byte at the end of strings.
	* gdb.t00/default.exp:  Make show version insensitive to copyright
	date.
	* gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
	to avoid dependencies on target char signedness.
	* gdb.t16/printcmds.exp:  Update expected results for explicitly
	unsigned char.
	* gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
	now work.
	* gdb.t21/demangle.exp:  Add many more patterns for template
	demangling, most of them being expected failures.
	* gdb.t21/demangle.exp (proc demangle):  Quote the demangled
	string we are matching for, to match on the whole string.
	* gdb.t21/demangle.exp:  Add many new test strings to demangle,
	and fix a whole bunch that had incorrect expected output but were
	passing anyway because of the bug in "proc demangle".
	**** start-sanitize-chill ****
	* gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
	type.
	* gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
	**** end-sanitize-chill ****
1993-02-23 19:59:25 +00:00
Fred Fish
bb6e8fe6a8 Continue sanitizing Chill related entries... 1993-02-23 19:53:52 +00:00
Mike Stump
c2dc518b65 * doc/stabs.texi: The `this' pointer is now known by the name
`this' instead of `$t'.
1993-02-23 19:51:39 +00:00
Fred Fish
b6236d6ec4 * ch-lang.c (chill_create_fundamental_type): Track compiler
change that now emits debugging info with the type long for Chill
	longs.
	* dwarfread.c (read_tag_string_type):  Rewrite to allow forward
	references of TAG_string_type DIEs in user defined types.
1993-02-23 19:30:22 +00:00
Ian Lance Taylor
c2a0f1cb8e * remote-mips.c: New file; implements MIPS remote debugging
protocol.
	* config/idt.mt: New file; uses remote-mips.c
	* configure.in (mips-idt-ecoff): New target; uses idt.mt.

	* mips-tdep.c (mips_fpu): New variable; controls use of MIPS
	floating point coprocessor.
	(mips_push_dummy_frame): If not mips_fpu, don't save floating
	point registers.
	(mips_pop_frame): If not mips_fpu, don't restore floating point
	registers.
	(_initialize_mips_tdep): New function; let the user reset mips_fpu
	variable.
	* tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): If not
	mips_fpu, don't use fp0 as floating point return register.
	(FIX_CALL_DUMMY): If not mips_fpu, don't save floating point
	registers.

Also added remote-mips.c to .Sanitize file.
1993-02-22 23:43:03 +00:00
Mike Werner
bf3d2b7571 * gdb/testsuite: made modifications to testcases, etc., to allow
them to work properly  given the reorganization of deja-gnu and the
	relocation of the testcases from deja-gnu to a "tool" subdirectory.
1993-02-22 16:20:25 +00:00
Ian Lance Taylor
14b1f0d95a Correct incorrect attribution. 1993-02-22 15:37:37 +00:00
Per Bothner
424bac5c8f * stabs.texinfo: Fix for array types to mention lower bounds. 1993-02-22 01:11:13 +00:00
Mike Werner
19fa4a0af3 * gdb/testsuite: Initial creation of gdb/testsuite.
Migrated dejagnu testcases and support files for testing nm to
	gdb/testsuite from deja-gnu.  These files were moved "as is"
	with no modifications.	This migration is part of a major overhaul
	of dejagnu.  The modifications to these testcases, etc., which
	will allow them to work with the new version of dejagnu will be
	made in a future update.
1993-02-21 20:03:55 +00:00
John Gilmore
cb46c4022f Add reminders for next release. 1993-02-20 02:37:36 +00:00
Ian Lance Taylor
254dec351f Wish I'd figured this one out 24 hours ago....
Fri Feb 19 10:01:39 1993  Ian Lance Taylor  (ian@cygnus.com)

	* mipsread.c (parse_lines): Correct check for files compiled with
	-g1.
1993-02-19 18:05:09 +00:00
John Gilmore
dba02c60d4 * Makefile.in (VERSION): 4.8.1 to distinguish local versions. 1993-02-19 13:57:10 +00:00
John Gilmore
6d0380ee83 Fix up NEWS file for G++ bug. 1993-02-19 12:08:25 +00:00
John Gilmore
3421ec35b3 Update for gdb-4.8 1993-02-19 11:54:59 +00:00
Stu Grossman
c5cc95b183 for a baseline 1993-02-19 11:05:41 +00:00
John Gilmore
c7cb102563 * README: Update for release. 1993-02-19 09:35:19 +00:00
John Gilmore
ead9795982 * Makefile.in (VERSION): GDB-4.8 release!
(not really yet, but we're getting ready)
1993-02-19 07:42:49 +00:00
John Gilmore
5e3d0ab075 * gcc.patch: Update for a different GCC (G++) bug.
* main.c (print_gdb_version):  Update copyright year to 1993.
* nm-hp300bsd.h:  Decide whether this is BSD 4.3 or 4.4,
conditionalize this file on it.  FIXME, right way is to split
these into two config files.
(ATTACH_DETACH):  Define for BSD 4.4
(PTRACE_ARG_TYPE):  caddr_t for BSD 4.4, unset for 4.3.
(U_REGS_OFFSET):  Revise for 4.4.
(REGISTER_U_ADDR):  Separate for 4.4, but it doesn't work yet.
* xm-hp300bsd.h:  Move definitions of UINT_MAX, INT_MAX, INT_MIN,
LONG_MAX into this file to avoid cpp "redefinition" warnings.
1993-02-19 06:55:31 +00:00
Stu Grossman
b9163d1aaa * am29k-pinsn.c (print_insn): Minor nits with const.
* am29k-tdep.c:  More minor nits with arg types for
	supply_register, NULL vs. 0, read_register_gen, & reginv_com.
1993-02-19 06:48:52 +00:00
K. Richard Pixley
add04f8b2e * nm-hp300bsd.h (PTRACE_ARG3_TYPE): FSF's hp300's have int* not caddr_t. 1993-02-19 01:12:23 +00:00
John Gilmore
961ccde634 Bugfix for length==0 case. 1993-02-18 23:49:40 +00:00
John Gilmore
c5c00171a2 * c-lang.c (c_printstr): If a C string ends in a null, don't
print the null.
1993-02-18 12:18:23 +00:00
Stu Grossman
eece984d99 * defs.h (STRCMP): Make it work for unsigned chars. 1993-02-18 10:40:33 +00:00
John Gilmore
470f9cbd7b Define REGEX, REGEX1. 1993-02-18 10:02:35 +00:00
John Gilmore
ec4bf6a089 * nm-hp300bsd.h (ATTACH_DETACH, PTRACE_ATTACH, PTRACE_DETACH): define.
* m68k-pinsn.c (BREAK_UP_BIG_DECL, AND_OTHER_PART):  #if __GNUC__,
define to kludge the large opcode table into two smaller tables,
since GCC take exponential space to build the table.  Lint.
(NOPCODES):  Remove, use "numopcodes" from opcode/m68k.h instead.
1993-02-18 10:01:36 +00:00
John Gilmore
aea94564ca * nm-hp300bsd.h (ATTACH_DETACH, PTRACE_ATTACH, PTRACE_DETACH): define.
* config/hp300bsd.mh (REGEX, REGEX1):  Define.
* m68k-pinsn.c (BREAK_UP_BIG_DECL, AND_OTHER_PART):  #if __GNUC__,
define to kludge the large opcode table into two smaller tables,
since GCC take exponential space to build the table.  Lint.
(NOPCODES):  Remove, use "numopcodes" from opcode/m68k.h instead.
1993-02-18 09:59:35 +00:00
John Gilmore
98dbc65c24 Update PTRACE_ARG3_TYPE doc, pull PT_*. 1993-02-18 09:21:01 +00:00
John Gilmore
f48dd41c6a Sanitize away simulators unless asked to keep-sim.
This is to remove them from the GDB net release til ready for prime time.
1993-02-18 08:10:17 +00:00
John Gilmore
be220da15a * Makefile.in (VERSION): Roll to 4.7.9.
* xm-hp300bsd.h:  Define PSIGNAL_IN_SIGNAL_H and put a compatible
definition here, to handle both BSD 4.3 and 4.4 systems.
* tm-i386bsd.h (NUM_REGS):  There are only eleven, not twelve.
1993-02-18 07:53:44 +00:00
John Gilmore
5824e607dc * mipsread.c (ZMAGIC): #undef to avoid duplicate define.
* remote.c (alarm):  Move declaration to global level, before
first reference to it.
* tm-i386bsd.h (NUM_REGS):  There are only eleven, not twelve.
1993-02-18 07:49:17 +00:00
John Gilmore
0ae975eac9 * dbxread.c (process_one_symbol): Cast to unsigned char, not int. 1993-02-18 03:25:44 +00:00
K. Richard Pixley
fce7f2d986 * remote.c (readchar): forward declare alarm which otherwise looks
like an undeclared variable to gcc.
1993-02-18 00:05:45 +00:00
K. Richard Pixley
040b959771 * dbxread.c (process_one_symbol): cast enum value N_SO into int when
comparing against an int.  Avoids superfluous warning from vax
  ultrix 4.2 cc.
1993-02-17 21:58:25 +00:00
K. Richard Pixley
9549404ee4 * inflow.c (set_sigint_trap): add cast to assignment from signal.
Avoids superfluous warnings from some systems and/or compilers (like
  vax ultrix 4.2.)
1993-02-17 21:45:56 +00:00
K. Richard Pixley
8631194dd9 * language.c (struct op_print unk_op_print_tab): use the enum values
rather naked zeros as initializers.  Avoids warnings from ultrix
  type compilers.
1993-02-17 21:43:45 +00:00
John Gilmore
24004298e6 Remove SET_STACK_LIMIT_HUGE from target defines. 1993-02-17 16:16:11 +00:00
Ian Lance Taylor
224226b85c Added 1993 copyright. 1993-02-16 17:10:48 +00:00
John Gilmore
62e859f039 (alldeps.mak): Make ALLDEPFILES_SUBSUBDIR for files in sub sub dirs.
(ALLDEPFILES_SUBSUBDIR):  Depend on this for deeper dep files.
1993-02-16 10:18:47 +00:00
John Gilmore
fcc81814fb Revised Standard Version from the upcoming GDB release. 1993-02-16 09:52:52 +00:00
John Gilmore
f4ed8840fb * Makefile.in (VERSION): Roll to 4.7.6.
(SFILES_SUBDIR):  Add 29k-share/udi_soc.
(SFILES_SUBSUBDIR):  Move 29k-share/udi files to this macro.
(HFILES):  Remove all nm-* except nm-trash.h.  Add ns32k-opcode.h.
(depend):  Fix bug where nm-files in config files weren't noticed.
(make-proto-gdb-1):  Avoid changing directories while building new
prototype.  Build SFILES_SUBSUBDIR with longer symlinks.

.Sanitize:  Remove am29k-opcode.h, convx-opcode.h, os68k-xdep.c.
1993-02-16 09:02:15 +00:00
John Gilmore
ef956fecd2 Remove h8/300 and z8k since not ready yet. 1993-02-16 05:30:08 +00:00
John Gilmore
7c622b4105 * remote.c: Improve error recovery. Allow user to break out
of initial connection attempt with INTERRUPT.  Treat a timeout
while waiting for remote packet like a retry, unless the remote
side is actively running user code.  Fix a few long printf_filtered's.

* xcoffread.c (read_xcoff_symtab):  Don't use null symbol name for
trampoline symbols.

* buildsym.c (start_subfile):  Allow null file name.
1993-02-16 05:16:55 +00:00
Rob Savoye
054240ecf0 Remote support for the Rom68k monitor and the Motorola Bug monitor. This is
the first attempt at a generic debug monitor support file.
1993-02-14 22:52:02 +00:00
K. Richard Pixley
6d4ea3a549 (process_linenos): free the previously allocated subfile name, then
allocate the new one from the heap.
1993-02-13 01:40:33 +00:00
K. Richard Pixley
e99163901e * xcoffread.c (process_xcoff_symbol, read_symbol_lineno): complain
expects a pointer to complaint rather than a complaint
	  structure.
1993-02-12 23:48:36 +00:00
Ian Lance Taylor
33742334a8 Checkpoint. Runs "hello, world", sets breakpoints, isn't too graceful
about program termination.

This file probably should not be part of gdb 4.8, although it wouldn't
do any actual harm.  Not yet added to .Sanitize.
1993-02-12 20:47:59 +00:00
Steve Chamberlain
256b4f378a * h8300-tdep.c, tm-h8300.h: turn off some experimental features 1993-02-12 16:07:36 +00:00
David D. Zuhn
8d0dca57e5 case fixes in node names 1993-02-12 04:48:34 +00:00
John Gilmore
6d0b80461b Fix thinko (NM_FILE => NAT_FILE). Found by Michael Ben-Gershon <mybg@CS.HUJI.AC.IL>. 1993-02-11 18:39:52 +00:00
John Gilmore
a387370de7 More debugging of rs/6000 file reading (on Suns, for easier debug).
* stabsread.c (dbx_lookup_type):  Handle negative type numbers.
Previously, would bogusly index off the bottom of type_vector.
(rs6000_builtin_type):  Accept type number as argument.
(read_type, case '-'):  Handle negatives like any other type number.

* symfile.c (deduce_language_from_filename):  Handle null name.
1993-02-11 11:16:35 +00:00
John Gilmore
015605c5ae * mips-tdep.c (isa_NAN): Fix byte order dependency.
Reported by Nobuyuki Hikichi <hikichi@sra.co.jp>,
fixed by sato@sm.sony.co.jp.
1993-02-11 09:52:25 +00:00
John Gilmore
e5eeaaf86c * xcoffread.c (parmsym): Don't use an initializer to set up
this struct symbol.  Set it up in initialize_xcoffread.
[This broke when Fred changed "struct symbol".]
	(read_xcoff_symtab, xcoff_symfile_read):  Surround code that only
	works on real rs/6000 target with #ifndef FAKING_RS6000.
1993-02-11 09:05:11 +00:00
John Gilmore
d3d6d0ffa2 Eliminate IBM6000_HOST, document IBM6000_TARGET. 1993-02-11 07:59:55 +00:00
John Gilmore
4434a92c5c * config/rs6000.mh (NATDEPFILES): xcoffread.o is native only. 1993-02-11 07:59:07 +00:00
John Gilmore
364c1151e7 Remove IBM6000_host 1993-02-11 07:58:42 +00:00
John Gilmore
dd46978997 * stabsread.c (rs6000_builtin_type): Move function from
xcoffread.c:builtin_type.
* xcoffread.c (builtin_type):  Move to stabsread.  Remove
IBM6000_HOST dependency.  Move misplaced comments.
(various):  Change printf's to complaints.
(patch_block_stabs, process_xcoff_symbol case C_DECL):  Add
objfile argument to read_type calls under #if 0.
(process_xcoff_symbol case C_RSYM):  Fix typo in #ifdef.
* xcoffexec.c (map_vmap):  Don't allocate an objfile for the exec_file.
* Makefile.in:  xcoffread.o is not built by default.
* config/rs6000.mh (NATDEPFILES): xcoffread.o is native only.
* doc/gdbint.texinfo:  Eliminate IBM6000_HOST, document
IBM6000_TARGET.
1993-02-11 07:57:35 +00:00
Stu Grossman
733a94e887 * findvar.c (read_var_value): If REG_STRUCT_HAS_ADDR, then set
VALUE_LVAL to be lval_memory so that we don't try to modify wild
	register numbers when user tries to modify elements in structs
	passed as arguments.
	* inflow.c (child_terminal_info):  Move banner outside of system
	specific #ifdefs.
	* tm-hppa.h (REG_STRUCT_HAS_ADDR):  Define this for HPPA, which
	passes struct/union arguments by address.
1993-02-11 02:38:19 +00:00
Ian Lance Taylor
18a85a791b Wed Feb 10 15:34:46 1993 Ian Lance Taylor (ian@cygnus.com)
* Based on patch from Martin Walker <maw@netcom.com>:
	* nm-i386sco4.h: New file.  Like nm-i386sco.h, but define
	ATTACH_DETACH, PTRACE_ATTACH and PTRACE_DETACH.
	* config/i386sco4.mh (NAT_FILE): Use nm-i386sco4.h.
1993-02-10 23:38:11 +00:00
John Gilmore
79533adf03 * remote-udi.c (FREEZE_MODE): Fix && for & typo. Found and
fixed by Lynn D. Shumaker, shumaker@saifr00.cfsat.honeywell.com.

PR# gdb/2162
1993-02-10 04:09:05 +00:00
Roland Pesch
fe715d06b6 misc updates 1993-02-10 02:28:16 +00:00
Ian Lance Taylor
2368ffb6c3 Tue Feb 9 08:18:07 1993 Ian Lance Taylor (ian@cygnus.com)
* config/i386sco4.mh (MUNCH_DEFINE): Pass -p to nm to avoid bug in
	cc debugging output.
1993-02-09 16:22:35 +00:00
John Gilmore
2a021f21e9 * stabsread.c (define_symbol): Complain about unrecognized names
that begin with CPLUS_MARKER (often '$'), but don't die.  Fix
suggested by gb@cs.purdue.edu (Gerald Baumgartner).
(read_cpp_abbrev):  Don't use the class name as part of the
vtable pointer member name (_vptr$) in $vf abbrevs or unrecognized
abbrevs.  Inspired by Mike Tiemann.
(read_tilde_fields):  Comment.  Remove ancient dead code.
Remove erroneous but non-dead code.  Simplify.  Add complaints.
(in general):  Remove extraneous (parentheses) in return
statements.
1993-02-09 08:42:20 +00:00
John Gilmore
8845dd0aa2 Brief documentation for longjmp support, from an email msg by Stu. 1993-02-06 18:26:32 +00:00
John Gilmore
831c2e1d35 * stabs.texinfo: Fix description of floating point "range"
types (which really define basic types).  Reported by Jim Meehan,
<meehan@src.dec.com>.
1993-02-06 03:58:50 +00:00
John Gilmore
931bf12a09 * coffread.c (coff_lookup_type): Fix fencepost error reported
by Art Berggreen, <arg@opal.acc.com>.
1993-02-06 03:40:28 +00:00
John Gilmore
6e1c67d218 Remove COFF_NO_LONG_FILE_NAMES define, now gone. 1993-02-05 22:11:01 +00:00
John Gilmore
c653bc6d90 Fix long file name bug reported on SCO Open Desktop 2.0 by Ulf Lunde
<Ulf.Lunde@kvatro.no> and Dag H. Wanvik <Dag.H.Wanvik@kvatro.no>.

* coffread.c (getfilename):  Eliminate COFF_NO_LONG_FILE_NAMES
test, which is apparently left over from when we used native
include files and couldn't depend on the member names being there.
* tm-3b1.h, tm-altos.h, tm-i386v.h:  Don't set it.

ALso fix this in tm-i860.h which isn't ChangeLogged since it's sanitized out
for lack of paperwork.
1993-02-05 22:09:17 +00:00
Steve Chamberlain
e4ebb8e5e6 Some spit and polish 1993-02-05 18:07:09 +00:00
Ian Lance Taylor
8642d1388b Thu Feb 4 13:56:46 1993 Ian Lance Taylor (ian@cygnus.com)
* gdbint.texinfo: Slightly expand section on supporting a new
	object file format.
1993-02-04 21:58:05 +00:00
Ian Lance Taylor
5f7b214259 Reindented to GNU standard. No semantic changes. This checkin is to
give a base for the upcoming changes, to make clear what I actually
changed.
1993-02-04 19:37:37 +00:00
Steve Chamberlain
6d2f03fea5 Now builds in subdirs 1993-02-04 18:05:30 +00:00
Steve Chamberlain
f48c6d1a87 Path modification 1993-02-04 17:24:10 +00:00
John Gilmore
b076f02439 * Makefile.in (TARDIRS): Add sparclite demo dir.
(*.tab.c):  Change dependency on Makefile to depend on
Makefile.in, otherwise it always rebuilds after configuring.
Force output *.tab.c file into current directory even in "make"
versions that rewrite dependent file names used in command lines.

* TODO:  Remove some things we did.
* am29k-opcode.h, convx-opcode:  Remove; now in ../include/opcode.
* os68k-xdep.c:  Remove; useless file (os68k is a target only).
* convex-pinsn.c:  Use ../include/opcode/convex.h.  Add CONST.
* symtab.h:  Eliminate unnamed unions and structs.
1993-02-04 10:30:19 +00:00
John Gilmore
7a694ae8c5 * Makefile.in (refcard.ps, lrefcard.ps): Remove psref.tex
intermediate file.
1993-02-04 09:50:19 +00:00
John Gilmore
24b88ae801 Makeinfo now works again; remove kludge. 1993-02-04 06:00:41 +00:00
Steve Chamberlain
1f21d3dc1a Polishing z8k simulator support 1993-02-04 00:17:25 +00:00
John Gilmore
ad89bdfdac * Makefile.in (VERSION): Roll to 4.7.5.
(gdb.info):  Ignore error from makeinfo (FIXME), since makeinfo
isn't quite up to date to handle gdb.texi.
1993-02-03 22:49:32 +00:00
John Gilmore
0f03541a57 Remove "Done in" pwd line. 1993-02-03 08:52:34 +00:00
John Gilmore
591f5cb710 Remove "Done in" printout 1993-02-03 08:49:32 +00:00
John Gilmore
ca5a72cd13 * breakpoint.c (breakpoint_re_set_one): Handle watchpoints when
re-evaluating symbol pointers.

Add attribution to a few older ChangeLog entries.
1993-02-03 04:49:05 +00:00
Fred Fish
9da75ad32e * c-exp.y (lcurly, rcurly): New nonterminals.
* c-exp.y (exp):  Use lcurly and rcurly for arrays and UNOP_MEMVAL
	constructs.
	* parse.c (free_funcalls):  Moved prototype from parser-defs.h,
	made function static.
	* parse.c (struct funcall):  Moved struct def from parser-defs.h.
	* parse.c (funcall_chain):  Moved from parser-defs.h, made static.
	* parse.c (start_arglist):
	* parser-defs.h (free_funcalls):  Moved prototype to parse.c.
	* parser-defs.h (struct funcall):  Moved struct def to parse.c.
	* parser-defs.h (funcall_chain):  Moved to parse.c.
	* printcmd.c (print_frame_nameless_args): Fix prototype.
	* tm-mips.h (setup_arbitrary_frame):  Fix prototype.
	* tm-sparc.h (setup_arbitrary_frame):  Fix prototype.
	* valops.c (typecmp):  Moved prototype from values.h.
	* value.h (typecmp):  Moved prototype to valops.c, made static.
	**** start-sanitize-chill ****
	* ch-exp.y (yylex):  Change way control sequences are disabled.
	**** end-sanitize-chill ****
1993-02-03 00:28:54 +00:00
John Gilmore
58bcc08c60 * tm-mips.h, tm-sparc.h: Fix thinko in SETUP_ARBITRARY_FRAME.
* remote-nindy.c:  Cleanup.
1993-02-03 00:13:10 +00:00
Ian Lance Taylor
fee754c921 Tue Feb 2 15:30:33 1993 Ian Lance Taylor (ian@cygnus.com)
* mipsread.c (upgrade_type): Build array types correctly, using
	create_range_type and create_array_type.
1993-02-02 23:32:18 +00:00
Roland Pesch
93928b60e5 Stylistic Cleanups to Headings and Cross References to Avoid Undue
Numbers of Capital Letters (Save in Chapter Headings), Despite the
Germanic Heritage of the English Language.
1993-02-02 22:59:46 +00:00
Roland Pesch
9aa964da87 More minor stylistic cleanup: avoid plurals on things that aren't English. 1993-02-02 21:44:11 +00:00
Roland Pesch
93918348e5 Minor stylistic cleanup; eliminated more contractions, eliminated
possessives on things (like name of GDB) that are not English, and
incidentals spotted while pursuing these.
1993-02-02 21:38:40 +00:00
Roland Pesch
eb7faec1c3 * gdb.texinfo: fix capitalization in pointers to node "Output Formats" 1993-02-02 20:20:15 +00:00
John Gilmore
1b6a208786 * infrun.c (wait_for_inferior): When rolling back the PC after
a breakpoint, call write_pc so that NPC gets rolled back as well
(for the 29K).
1993-02-02 08:43:40 +00:00
John Gilmore
d122f25767 * blockframe.c (inside_entry_file, inside_main_func,
inside_entry_func):  PC of zero is always "bottom of stack".

* printcmd.c (print_frame_args, print_frame_nameless_args):
Let print_frame_nameless_args decide whether there are any,
laying groundwork for possibly later printing 29K args for
functions where we have tag words but no symbols.
1993-02-02 08:38:00 +00:00
John Gilmore
7dc15bb750 * printcmd.c (print_frame_args, print_frame_nameless_args):
Let print_frame_nameless_args decide whether there are any,
laying groundwork for possibly later printing 29K args for
functions where we have tag words but no symbols.
1993-02-02 08:21:50 +00:00
Stu Grossman
2477c7c25f Remove Makefile.in-29k-UDI. It's no longer needed now that the 29K stuff has
been put back in to Makefile.in.
1993-02-02 04:52:30 +00:00
Roland Pesch
2b21d8aac9 Fixes for doc targets. 1993-02-02 02:14:39 +00:00
John Gilmore
07c2fa3e53 * stack.c (parse_frame_specification): Parse as many arguments
as there are (up to MAXARGS).  Pass all of them in argc, argv
format to SETUP_ARBITRARY_FRAME.  Put the burden of checking how
many there were, onto SETUP_ARBITRARY_FRAME.
* tm-mips.h, tm-sparc.h:  Corresponding changes.
* mips-tdep.c, sparc-tdep.c:  Ditto.
1993-02-02 02:08:19 +00:00
John Gilmore
6edd74aef3 * hp300ux-nat.c: Update copyrights.
* mipsread.c (parse_partial_symbols):  Complain about block
indexes that go backwards.  Fix from Peter Schauer.
* symfile.c (syms_from_objfile, symbol_file_add):  Allow a
symbol-file that has no linkage symbols to be read.
* tm-rs6000.h, xm-rs6000.h: (SIGWINCH_HANDLER and friends):  Move
from tm- file to xm-file, since they're host dependent.
* valarith.c (value_binop):  Typo.
1993-02-02 01:53:17 +00:00
John Gilmore
118a1e4d1e Lint 1993-02-02 01:20:41 +00:00
Stu Grossman
797bc12b32 * sparclite/aload.c: Add copyleft.
* sparclite/crt0.s:  Add comment at beginning.
1993-02-02 00:19:26 +00:00
Stu Grossman
e255e422d6 Remove soc2udip.c udi2mtip.c. These files no longer exist. 1993-02-02 00:03:14 +00:00
Stu Grossman
ba59e8c74b Add README. 1993-02-02 00:02:18 +00:00
Roland Pesch
e55d2728b7 * gdbinv-s.texi: z8000 simulator target name is just "sim" 1993-02-01 23:49:11 +00:00
Roland Pesch
f1e215bbcb Mon Feb 1 15:35:47 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
* gdbinv-s.texi:  Mention that Z8000 simulator can simulate Z8001
	as well as Z8002.
1993-02-01 23:39:42 +00:00
Steve Chamberlain
4d18e78392 Don't delete z8ksim.mt 1993-02-01 23:00:46 +00:00
Steve Chamberlain
2431d063fa *** empty log message *** 1993-02-01 23:00:11 +00:00
Steve Chamberlain
a332e59322 * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.
* parse.c (std_regs): Only declare if NO_STD_REGS is defined.
1993-02-01 22:53:24 +00:00
Michael Tiemann
7cb0f87089 * values.c (value_headof): Fix typo in which VTBL and ARG were
being confused for one another.
1993-02-01 01:16:35 +00:00
Michael Tiemann
a163ddeca1 * valops.c (typecmp): Now static. 1993-02-01 01:12:37 +00:00
Michael Tiemann
edf67bd181 * gdbtypes.c (fill_in_vptr_fieldno): Don't ignore the first
baseclass--we don't always inherit its virtual function table
	pointer.
1993-02-01 01:11:17 +00:00
Michael Tiemann
271e50309b * eval.c (evaluate_subexp): In OP_FUNCALL case, adjust `this'
pointer correctly in case value_struct_elt moves it around.
1993-02-01 01:07:51 +00:00
Michael Tiemann
61c1724bfa Fix whitespace. 1993-01-31 13:15:12 +00:00
Michael Tiemann
d112a0c664 Sun Jan 31 04:32:48 1993 Michael Tiemann (tiemann@rtl.cygnus.com)
* gdbtypes.c (lookup_struct_elt_type): Pass NOERR instead of
	zero on recursive call.
1993-01-31 12:39:22 +00:00
John Gilmore
ec68a93f89 * hppah-nat.c: Eliminate <sys/user.h> and other unnecessary stuff,
to avoid "too much defining" error from native C compiler (!).
1993-01-31 06:43:36 +00:00
John Gilmore
3d9b9577e0 * Makefile.in (HFILES): Add typeprint.h.
* typeprint.[ch]:  Update copyrights.
1993-01-31 03:56:56 +00:00
John Gilmore
145887f06a Initial attempt to clean up to match new directory layout. 1993-01-31 01:34:07 +00:00
John Gilmore
259d1deac6 * Makefile.in: Update to match doc/ subdir changes. 1993-01-31 01:31:45 +00:00
John Gilmore
893e119127 A few files have been removed... 1993-01-31 00:57:04 +00:00
John Gilmore
c3012f8567 reg.h, xdr_regs.c, xdr_regs.h are gone now. 1993-01-29 07:38:05 +00:00
John Gilmore
00db1549f5 * doc/gdbint.texinfo (Host Conditionals): Remove
NAMES_HAVE_UNDERSCORE, SOME_NAMES_HAVE_DOT, document
MEM_FNS_DECLARED.
(Target Conditionals):  Remove all of the above.
1993-01-29 06:19:13 +00:00
John Gilmore
bdec39b376 Update for doc/ changes. 1993-01-29 06:17:28 +00:00
John Gilmore
92063c3e60 * config/hp300hpux.mh: No cross-host file needed, just native. 1993-01-29 05:53:31 +00:00
John Gilmore
71e60679bd Remove nonexistent GO32 "native" support. 1993-01-29 05:49:03 +00:00
John Gilmore
2a770cac0f M88K fixes reported by Carl Greco, <cgreco@Creighton.Edu>:
* tm-m88k.h (REGISTER_CONVERT_TO_RAW):  Fix typo.
* m88k-tdep.c (next_insn):  Lint, cleanup.
(store_parm_word):  Lint.
1993-01-29 05:28:45 +00:00
John Gilmore
926d780054 Typo 1993-01-29 03:11:55 +00:00