Commit Graph

4135 Commits

Author SHA1 Message Date
Brendan Kehoe
ef6bfbdbcc Don't sanitize out mh-sun. 1992-12-03 00:42:29 +00:00
Fred Fish
93bb6e655c * dwarfread.c (CHILL_PRODUCER): Add producer string for
GNU chill.
	* dwarfread.c (handle_producer):  Test CHILL_PRODUCER as well
	as GCC_PRODUCER and GPLUS_PRODUCER.
1992-12-02 01:10:49 +00:00
Stu Grossman
7c86126fd8 * remote-udi.c (udi_wait): Don't stop if TIP says that remote is
still running.
1992-12-01 02:51:28 +00:00
David D. Zuhn
63a2386abf include mh-sun for all sun hosts (except solaris) 1992-11-30 23:00:25 +00:00
David D. Zuhn
d10f77c1b8 better handling for X11 oddities on various systems 1992-11-30 22:58:37 +00:00
Fred Fish
394171ace4 * tm-sun4sol2.h: Add CPLUS_MARKER. Solaris 2.0 requires '.'
rather than '$'.  This particular piece of braindamage is
	spreading like ooze. It's now infected libiberty, deja-gnu,
	gdb, and gcc.
	* values.c (baseclass_addr):  Use CPLUS_MARKER rather than
	hardwired '$' character.
1992-11-30 20:07:35 +00:00
David D. Zuhn
c98c5fd4b1 updated address and phone number 1992-11-30 09:45:40 +00:00
David D. Zuhn
c676f606d2 * Makefile.in: define flags for X11 include files and library file
locations, pass them down to the programs that need this info
	* build-all.mk: added a 'native' target, to 3stage the native toolchain
	(also updated dates in test-build.mk and build-all.mk)
1992-11-30 09:15:40 +00:00
Fred Fish
94daba7f77 * stabsread.c (define_symbol): For the sake of dbx, gcc emits
a single blank as the name of nameless enumerations.  Recognize
	this special case and set nameless flag.
1992-11-30 01:03:34 +00:00
Fred Fish
b076b3f869 Bump internal version to 4.7.3 in wake of fragmentation of massive
stabsread.c read_struct_type function.
1992-11-29 23:50:08 +00:00
Fred Fish
e7177cc2fd (Changes to break incredibly ugly, unmaintainable 750 line
read_struct_type function up into managable pieces.)
	* stabsread.c (struct field_info):  Local struct definition.
	* stabsread.c (read_member_functions, read_struct_fields,
	read_baseclasses, read_tilde_fields, attach_fn_fields_to_type,
	attach_fields_to_type, read_cpp_abbrev):  Prototypes and new
	functions from fragmented read_struct_type.
	* stabsread.c (stabs_general_complaint):  Catchall complaint.
	* stabsread.c (STABS_CONTINUE):  Macro'ize cretinous stabs
	symbol name continuation code.  Use macro throughout.
	* stabsread.c (various places):  Replace add-one-to-pointer
	with pointer increment.
	* stabsread.c (read_type):  Retain function local copy of type
	descriptor.  Rearrange code calling read_struct_type() to match
	new conventions.
1992-11-29 23:38:30 +00:00
Fred Fish
b86f998b8a * aoutx.h (some_aout_object_p): Protect arg prototype in
callback_to_real_object_p with PARAMS macro for non-ANSI compilers.
1992-11-29 16:40:09 +00:00
Fred Fish
cbd1bdc3fa * ch-exp.y (GENERAL_PROCEDURE_NAME, LOCATION_NAME): New
terminal tokens.
	* ch-exp.y (access_name):  New non-terminal token and
	production.
	* ch-exp.y (general_procedure_name):  Now a terminal token.
	* ch-exp.y (location):  Expand production.
	* ch-exp.y (match_simple_name_string):  New function.
	* ch-exp.y (yylex):  Call match_simple_name_string and return
	GENERAL_PROCEDURE_NAME or LOCATION_NAME as appropriate.
1992-11-29 06:59:17 +00:00
John Gilmore
2a20c602d9 Add sections on clean design and on how to send in changes. 1992-11-28 14:52:16 +00:00
John Gilmore
1f29e30b1f * aout-target.h, aoutf1.h, trad-core.c, coffcode.h, libaout.h:
Eliminate all PROTO calls, replace with PARAMS for readability.

* aoutx.h:  Add type to callback parameter.
* coff-mips.c:  Don't call trad-core.h, not needed.
* trad-core.c:  Incorporate trad-core.h declarations.  Fix comments.
* trad-core.h:  Eliminate, unused.
1992-11-28 13:00:18 +00:00
John Gilmore
d4a06831c1 Update to match revised bfd-in.h. 1992-11-28 12:14:45 +00:00
John Gilmore
1093ee14ae * libbfd-in.h, bfd-in.h: Eliminate all PROTO calls, replace with
PARAMS for readability.
1992-11-28 12:14:14 +00:00
David D. Zuhn
55f6d8c4ad supply standard X11 include & library directories 1992-11-28 02:40:01 +00:00
David D. Zuhn
d1bea4c760 define and pass down locations for X11 files 1992-11-28 02:37:07 +00:00
Roland Pesch
712b9893ea Doc for sac's new "z8ksim" Z8000 simulator target. 1992-11-26 02:28:17 +00:00
Roland Pesch
4803cddfec Conditional vars for controlling Z8000 doc. 1992-11-26 02:26:53 +00:00
Roland Pesch
fb0c7f1f3e Explicitly call reader's attention to lack of leading . in z8k special
directives.
1992-11-26 01:38:44 +00:00
Fred Fish
b9b6dbc2ea Apply fix from zoo:
* munch:  Backslash escape vertical bar characters inside
	grep patterns since they have special meaning for some greps.
1992-11-25 15:53:01 +00:00
Fred Fish
d1065385c1 * parse.c (write_exp_string): Complete rewrite to store string
contants as a leading explicit length, followed by the string data,
	followed by a trailing explicit length.
	* eval.c (evaluate_subexp), expprint.c (print_subexp),
	parse.c (length_of_subexp), parse.c (prefixify_subexp):
	Use recorded explicit length of strings in expression elements,
	rather than strlen.  Adjust code to skip over strings stored in
	expression elements, and code to access strings, to account for
	new leading explicit size expression element.
	* parse.c (length_of_subexp):  Test for minimum endpos of 1, not
	0, to avoid negative expression element indices.
	* valops.c (search_struct_method):  Minor whitespace change.
1992-11-25 15:46:57 +00:00
Roland Pesch
4a29041a3a Updates from SAC answers to queries on z8k stuff. 1992-11-25 01:39:45 +00:00
John Gilmore
b0944a3377 * main.c (main): Print GDB version number in gdb -help; doc pid arg.
Suggested by Marty Leisner, <leisner@eso.mc.xerox.com>.
(print_gdb_version):  New arg is stdout or stderr.  Callers changed.
1992-11-24 07:20:42 +00:00
Roland Pesch
ba487f3ad2 Superficial editing pass over Z8000 stuff. 1992-11-24 05:21:14 +00:00
Fred Fish
bac89d6ca8 * c-exp.y (yylex): Add tempbuf, tempbufindex, and tempbufsize,
which together maintain a dynamically expandable static buffer
	for the lexer to use when translating C strings to their internal
	form (other future uses possible).  Fix parsing of C style strings
	to do the normal C style input conversions of escaped character
	sequences.
	* valops.c (value_string):  Remove translation of escaped
	character sequences, now done in C expression parser.
1992-11-24 03:02:10 +00:00
Jim Wilson
0d44b3d1f0 For SPARC V9, change icc to %icc, xcc to %xcc, fccX to %fccX. 1992-11-23 23:40:18 +00:00
Roland Pesch
fecdbc3cc5 Format corrections to permit running through makeinfo and TeX without errors. 1992-11-23 21:59:41 +00:00
Ken Raeburn
355afbcd8b Ran "indent", for GNU coding style; some code & comments still need fixup.
Removed some unneeded files.

obj-coff.c (obj_coff_endef): Use as_warn, not fprintf.
tc-m68k.c (md_assemble): 68000+68881 is okay -- could be emulating.
1992-11-23 20:42:33 +00:00
Ken Raeburn
6efd877de5 Ran "indent", for GNU coding style; some code & comments still need fixup.
Removed some unneeded files.

configure.in: Don't look for te-386bsd.h, which doesn't exist...
1992-11-23 20:39:57 +00:00
Fred Fish
5707ea9fad * language.h (PRINT_LITERAL_FORM): New macro that takes character
and decides if it should be printed in literal form or some other
	form, based on it's ASCII value and setting of sevenbit_strings.
	* {c-exp.y, m2-exp.y} (emit_char):  Use new PRINT_LITERAL_FORM
	macro, change indentation style.
	**** start-sanitize-chill ****
	* ch-exp.y (chill_printchar):  Use new PRINT_LITERAL_FORM macro.
	* ch-exp.y (chill_printstr):  First cut at real function instead
	of error stub.
	**** end-sanitize-chill ****
1992-11-23 19:57:29 +00:00
Ken Raeburn
f53f0a036d Change from John Carr: use v', not a', for operand 2 of vax bb* instructions. 1992-11-23 18:52:04 +00:00
David D. Zuhn
f8f3743940 minor typo correction 1992-11-23 03:31:21 +00:00
David D. Zuhn
4d1e5a4e87 build libg++ on HPUX 1992-11-23 02:59:50 +00:00
David D. Zuhn
ba0489e92e updated dates 1992-11-23 02:58:52 +00:00
David D. Zuhn
5ba0048726 updates dates, added build-cygnus target 1992-11-23 01:40:05 +00:00
David D. Zuhn
36e0df2384 + * nindy-share/stop.h: fixed bogus comment-end in copyright message
+	* i960-pinsn.c: fixed two calls of fputs_filtered that had 3 arguments
1992-11-23 01:07:16 +00:00
Fred Fish
40528d53ed * m2-exp.y (m2_printstr): Forgot to change reference of
c_printchar to m2_printchar.
1992-11-21 16:27:58 +00:00
John Gilmore
e20873a7bf * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c,
ldlang.h, ldlex.h, ldmain.h, ldmisc.h, ldsym.h, ldver.h, ldwarn.h,
ldwrite.h, relax.h:  Replace all uses of EXFUN and PROTO ansi-glue
macros with PARAMS.  Recreational cleanup.  Update copyrights.
1992-11-21 11:18:00 +00:00
Fred Fish
5d074aa977 * defs.h (sevenbit_strings): Add declaration.
* defs.h (printchar):  Replace with gdb_printchar.
	* language.h (language_defn):  Add new function pointers
	la_printchar and la_printstr, to do language dependent
	printing of characters and strings.
	* language.h (local_printchar, local_printstr):  New macros
	to call language dependent functions pointed to by la_printchar
	and la_printstr respectively.
	* c-exp.y (emit_char, c_printchar, c_printstr):  New language
	dependent functions for printing characters and strings.
	* c-exp.y (c_language_defn, cplus_language_defn):  Add
	c_printchar and c_printstr.
	* command.c (do_setshow_command):  Rename printchar use to
	gdb_printchar.
	* expprint.c (print_subexp):  Replace C style string output
	with call to local_printstr.
	* language.c (unk_lang_printchar, unk_lang_printstr):
	New stubs, currently errors.
	* language.c (unknown_language_defn, auto_language_defn,
	local_language_defn):  Add unk_lang_printchar and
	unk_lang_printstr.
	* m2-exp.y (emit_char, m2_printchar, m2_printstr):  New
	language dependent functions to print characters and strings.
	* m2-exp.y (m2_language_defn):  Add m2_printchar and m2_printstr.
	* utils.c (printchar):  Renamed to gdb_printchar.
	* valprint.c (print_string):  Remove prototype, function moved
	to c-exp.y, where it becomes c_printstr.
	* valprint.c (print_max):  Made global for reference from the
	language dependent printing routines in *-exp.y.
	* valprint.c (repeat_count_threshold):  New variable with function
	of old REPEAT_COUNT_THREHOLD define, but now settable by user.
	Change all references to old macro to references to new variable.
	* valprint.c (value_print, val_print):  Replace calls to
	print_string with calls to local_printstr.
	* valprint.c (val_print):  Replace C style character printing
	with call to local_printchar.
	* valprint.c (val_print):  Add case for TYPE_CODE_CHAR.
	* valprint.c (_initialize_valprint):  Add add_show_from_set
	call for setting up repeat_count_threshold as print variable.
	**** start-sanitize-chill ****
	* ch-exp.y (decode_integer_value):  New function.
	* ch-exp.y (decode_integer_literal):  Use decode_integer_value.
	* ch-exp.y (chill_printchar, chill_printstr):  New language
	dependent functions for printing characters and strings.
	* ch-exp.y (chill_language_defn):  Add chill_printchar and
	chill_printstr.
	**** end-sanitize-chill ****
1992-11-21 06:10:08 +00:00
Steve Chamberlain
242d9c06b2 z8000 documentation
* Makefile.in, all.m4, as-all.texinfo as.texinfo: all modified
1992-11-19 19:49:01 +00:00
Steve Chamberlain
afed55f0fc checkpoint 1992-11-19 19:35:38 +00:00
John Gilmore
009cf24b39 Update references to files moved into etc/. 1992-11-19 03:34:02 +00:00
Fred Fish
ae0afa4bad Couple of things left out of last checkin...
* mipsread.c (expression.h, language.h):  Include for
	partial-stab.h use.
	* ch-exp.y (match_integer_literal):  Use decode_integer_literal.
1992-11-19 00:16:11 +00:00
John Gilmore
cbf15d9a3d * infcmd.c (set_environment_command): Avoid skipping first
char of env value if an '=' appears in it.  Bug report and fix
	by Mark Jungerman, <maj@lucid.com>.

Thu Nov  5 23:04:38 1992 Rob Ryan (rr2b@andrew.cmu.edu)

        * xcoffexec.c (vmap_symtab): fixed a bug where if a object has no
        member, and the stat pointer passed to vmap_symtab was NULL, the
        wrong vmap entries would be modified.  Fixes behavior where
        attempting to load symbols for a module with no member would mess
        up already read in symbols.
1992-11-19 00:04:44 +00:00
Ian Lance Taylor
195b44d9bc Wed Nov 18 15:05:45 1992 Ian Lance Taylor (ian@cygnus.com)
* remote-vx.c (vx_kill): just warn if we can't contact the board,
	and assume the process has been killed.
1992-11-18 23:08:18 +00:00
Stu Grossman
2104007fb0 Oops! Forgot to check in ChangeLog. 1992-11-18 23:02:50 +00:00
Stu Grossman
b5a3d2aac6 * infcmd.c (set_environment_command): Make set env FOO x=y work.
Fix from maj@lucid.com.
* remote-udi.c (udi_open):  Reset vars so that user can re-run
programs without leaving GDB.
* (many routines):  Slightly improve error handling.
* (download):  Zero out BSS by longs instead of bytes to avoid
timeouts in real hardware.
* 29k-share/udi/udip2soc.c (UDIDisconnect, UDIKill):  Indicate
that connection is no longer in use after shutdown() of socket.
This keeps GDB from dying of a SIGPIPE when you issue multiple
`target udi' commands.
1992-11-18 22:51:58 +00:00