Commit graph

5143 commits

Author SHA1 Message Date
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
a7a9a714e0 * rs6k.h: Clean up instructions for primary opcode 19 (many were
simply wrong, ics, rfi, & rfsvc were missing).
	Add "a" to opr_ext for "bb".  Doc fix.
1993-04-09 20:52:04 +00:00
Ian Lance Taylor
36c0a1ec22 * config/sun3.h: String argument to fprintf is const. 1993-04-09 18:50:36 +00:00
Ian Lance Taylor
545a27683e Please don't add declarations of random system functions to general
source files if you can possibly avoid it.  They inevitably fail on
some system somewhere.

	* objdump.c: Removed useless fprintf declaration.
1993-04-09 18:22:57 +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
Ian Lance Taylor
032250cda4 * coff-mips.c: Renamed PAGE_SIZE to ROUND_SIZE, to avoid confusion
on systems which define PAGE_SIZE in <limits.h>.
1993-04-09 17:48:10 +00:00
Steve Chamberlain
55237887a6 Support for the H8/500 1993-04-09 17:46:13 +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
Ian Lance Taylor
55ff56bdb2 Fix typo. 1993-04-09 16:10:30 +00:00
Ian Lance Taylor
349f20de4e * config/obj-ecoff.h (ecoff_build_lineno): Make ilineMax in
symbolic header match cline in FDR; the native liinker seems to
	want that.
1993-04-09 16:08:29 +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
David D. Zuhn
5316696f0d as.texinfo lives in $(srcdir) 1993-04-08 22:53:01 +00:00
Roland Pesch
8ac18b21c3 doc/Makefile.in 1993-04-08 22:17:13 +00:00
Roland Pesch
8209a8c4c6 (as.dvi target) update for new source file structure supporting
texinfo conditionals
(as.ms, as.mm, as.me targets) update for new structure, and add note that
                these targets probably broken until texi2roff supports
                texinfo conditionals
(clean-dvi target) new; clean dvi files and side effects
(clean-info target) clean out only info files
(clean target)  run clean-dvi, clean-info
1993-04-08 22:14:53 +00:00
Ian Lance Taylor
d565311f22 * config/ho-decstatn.h: Define BROKEN_ASSERT if not __GNUC__,
rather than undefining know.
1993-04-08 19:55:44 +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
Ian Lance Taylor
bc2f76abd5 * mt-a29k, mt-ebmon29k, mt-os68k, mt-ose68000, mt-ose68k,
mt-vxworks68, mt-vxworks960: Removed obsolete, unused target
	Makefile fragment files.
1993-04-08 18:24:37 +00:00
Ian Lance Taylor
a649a160fe * configure.in: Removed obsolete references to bfd_target and
target_makefile_frag.
1993-04-08 18:24:03 +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
Peter Schauer
98a445b0fa * trad-core.c (trad_unix_core_file_failing_signal): Use new macro
TRAD_UNIX_CORE_FILE_FAILING_SIGNAL to allow host files to specify
        the core file failing signal.
        * hosts/decstation.h (TRAD_UNIX_CORE_FILE_FAILING_SIGNAL): Define
        to supply the core file failing signal.
1993-04-08 17:30:28 +00:00
Ian Lance Taylor
e110c2a839 * build-all.mk: Set assorted targets for Q2.
* config.sub: Recognize z8k-sim and h8300-hms.
	* test-build.mk: Really don't pass host to configure.
	(HOLES): Added uname.
1993-04-08 16:26:01 +00:00
Rob Savoye
a54a5a9ebc Rename to util-defs.exp and turn into generic procedures. 1993-04-08 05:26:10 +00:00
Rob Savoye
3e7f73db77 * Makefile.in: Changed check target to use DejaGnu. 1993-04-08 05:23:39 +00:00
Rob Savoye
6edcdd0ddb All use new util_test proc. 1993-04-08 05:16:13 +00:00
Rob Savoye
c50fa6b3c6 Replaced by just $(target_os) name. Use new util_test proc. 1993-04-08 05:15:20 +00:00
Rob Savoye
c3361cd3ca Changed "make check" target to use DejaGnu. 1993-04-08 05:12:06 +00:00
Rob Savoye
e57072116f Get rid of all the links. 1993-04-08 05:10:49 +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
Roland Pesch
0742a6fded Record abolition of last m4 conditional markup holdout manual. 1993-04-08 03:20:44 +00:00
Roland Pesch
730ad1a786 Converted to Texinfo conditionals; no longer need M4.
Checked makeinfo output for "all" config; other old M4 configs now sanitized
out, will be replaced by .texi configs as each config is tested.
1993-04-08 03:13:41 +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
Ian Lance Taylor
13998f7ee9 * configure: Handle an empty program-prefix, program-suffix or
program-transform-name correctly.
1993-04-07 22:49:03 +00:00
Jim Kingdon
2cf90c4499 * internal.h: Change n_sclass to unsigned char.
Change C_EFCN to 0xff, change RS/6000 dbx symbols
	to no longer be signed.
1993-04-07 22:47:48 +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
Ian Lance Taylor
a6235cbbc2 * coff-mips.c (PAGESIZE): Correct value.
With the wrong PAGESIZE everything worked just fine, with one
exception: emacs couldn't dump itself.
1993-04-07 18:34:25 +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