Fred Fish
2712dd005b
* dwarf.h (AT_src_coords): Whitespace change only.
...
* dwarf.h (AT_body_begin, AT_body_end, LANG_MODULA2):
Add from latest gcc.
* dwarf.h (LANG_CHILL): Add as GNU extension.
1992-11-15 17:34:37 +00:00
Fred Fish
e58de8a230
* Makefile.in (SFILES_MAINDIR): Add ch-exp.y.
...
* Makefile.in (YYFILES): Add ch-exp.tab.c.
* Makefile.in (YYOBJ): Add ch-exp.tab.o.
* Makefile.in (saber_gdb): Add unload of ch-exp.y and load
of ch-exp.tab.c.
* Makefile.in (distclean): Add target ch-exp.tab.c.
* Makefile.in (realclean): Add rm of ch-exp.tab.c.
* Makefile.in (c-exp.tab.c, m2-exp.tab.c): Add dependency on
Makefile since it contains sed patterns used in generation.
Add sed pattern to also delete #include of any malloc.h.
* Makefile.in (ch-exp.tab.o, ch-exp.tab.c): New targets.
* ch-exp.y: New expression parser, for GNU-Chill.
* c-exp.y, expr.c, expression.h, language.c, m2-exp.y,
parser-defs.h, valarith.c, valops.c, value.h: Remap macros and
function names to conform to K&R terminology with respect to
logical and bitwise operators:
UNOP_ZEROP => UNOP_LOGICAL_NOT
UNOP_LOGNOT => UNOP_COMPLEMENT
BINOP_LOGAND => BINOP_BITWISE_AND
BINOP_LOGXOR => BINOP_BITWISE_XOR
BINOP_LOGIOR => BINOP_BITWISE_IOR
BINOP_AND => BINOP_LOGICAL_AND
BINOP_OR => BINOP_LOGICAL_OR
PREC_OR => PREC_LOGICAL_OR
PREC_AND => PREC_LOGICAL_AND
PREC_LOGIOR => PREC_BITWISE_IOR
PREC_LOGXOR => PREC_BITWISE_XOR
PREC_LOGAND => PREC_BITWISE_AND
value_zerop() => value_logical_not()
value_lognot() => value_complement()
* c-exp.y (c_op_print_tab): Add explicit empty terminator.
* m2-exp.y (m2_op_print_tab): Add explicit empty terminator.
* defs.h (enum language): Add language_chill.
* dwarfread.c (set_cu_language): Add LANG_CHILL case and make
LANG_MODULA2 a recognized language.
* eval.c (evaluate_subexp): Add OP_BOOL case.
* expprint.c (print_subexp): Add OP_BOOL case.
* gdbtypes.h (enum_typecode): Note TYPE_CODE_BOOL used for
Chill as well as Modula-2.
* gdbtypes.y (builtin_type_chill_bool, builtin_type_chill_long,
builtin_type_chill_ulong, builtin_type_chill_real): Add.
* i387-tdep.c (sys/dir.h): Remove, appears to be unnecessary
and is nonexistant in some SVR4 based systems.
* language.c (DEFAULT_ALLOCSIZE): Change from 3 => 4.
* language.c (set_language_command): Add chill.
* language.c (binop_result_type, integral_type, character_type,
boolean_type, structured_type, value_true, binop_type_check):
Add language_chill cases.
* language.h (_LANG_chill): Define.
* m2-exp.y (number_sign, modblock): Make static, #ifdef out
unused modblock.
* m2-exp.y (ANDAND): Rename to LOGICAL_AND.
* source.c (source_info): Fix minor nits, print "1 line" rather
than "1 lines", and "language is <lang>".
* symfile.c (deduce_language_from_filename): Recognize the
filename extensions ".chill", ".c186", and ".c286" for Chill.
* valarith.c (value_binop): Handle TYPE_CODE_BOOL as well
as TYPE_CODE_INT and TYPE_CODE_FLOAT.
* valprint.c (val_print): Print TYPE_CODE_BOOL type values as
"TRUE" or "FALSE".
* valprint.c (typedef_print): Add case for language_chill.
* values.c (value_from_longest): Handle TYPE_CODE_BOOL.
1992-11-15 17:28:02 +00:00
Stu Grossman
c1878f8788
* infcmd.c (step_over_calls): Improve comments.
...
* symtab.c (find_pc_psymtab): Clean up a bit.
* (find_pc_symtab): Fix comments, clean up code.
* (find_pc_line): General cleanups, efficiency improvements.
Also, don't return garbage when some line info exists, but there
was no good match.
1992-11-14 04:33:21 +00:00
Mark Eichin
238f5383d0
put exec.o back; it deals with exec files, not fork/exec, and thus is still
...
relevant for remote targets.
1992-11-13 18:26:21 +00:00
Steve Chamberlain
1242152e13
z8k target
1992-11-13 17:42:24 +00:00
Steve Chamberlain
cedb0c456a
z8k stuff
1992-11-13 17:40:20 +00:00
Steve Chamberlain
6cfbcc45ba
add z8ksim
1992-11-13 07:11:44 +00:00
David D. Zuhn
175193120b
added expect and tcl
1992-11-13 01:05:59 +00:00
David D. Zuhn
2385eb2f1f
pass down prefix and exec_prefix
1992-11-13 01:03:52 +00:00
Steve Chamberlain
8ab2202135
checkpoint
1992-11-12 23:38:51 +00:00
Steve Chamberlain
1a9904b4cb
* coff-z8k.c: checkpoint, more addressing modes handled
...
* coffcode.h (get_value): don't truncate reloc->addend field, it's
a long now.
1992-11-12 17:53:58 +00:00
Mark Eichin
e633652f76
add i[34]86-*-go32, sparclite-*-*
1992-11-12 15:06:07 +00:00
Mark Eichin
6ea6d0e3c1
add sparclite-fujitsu-none, since it was only getting set via the default
...
branch in the old configure.in
1992-11-12 12:55:48 +00:00
Brendan Kehoe
91ec84ef69
* we32k.mt (TDEFAULTS): Use we32kcoff_vec, not i386coff_vec.
1992-11-12 07:59:59 +00:00
John Gilmore
24e37cd343
* configure.in: Reformat to one-case-per-line.
...
Handle SunOS 3.5, as per Karl Berry, <karl@claude.cs.umb.edu>.
1992-11-12 05:21:32 +00:00
Stu Grossman
b6113cc408
* Makefile.in: Remove dependancies for 29k-share/dfe/yank.o and
...
29k-share/dfe/mini2udi.o.
* config/a29k-udi.mt: Remove yank.o and mini2udi.o.
* alldeps.mak, depend: Update to deal with removal of
aforementioned files.
* remote-udi.c: Major cleanups. Clean up udi_open and drop
requirement for useless 'program' argument. Clean up
udi_create_inferior, and udi_load to call common download()
routine. Create download routine to load remote hosts directly
(with the help of BFD) so that we don't need yank.c and
mini2udi.c.
Fix udi_detach to call UDIDisconnect with
the right arguments. Clean up udi_resume, don't assign tip_error
twice. Clean up udi_wait, straighten out status codes. Make
udi_kill really work.
1992-11-12 01:15:06 +00:00
Ian Lance Taylor
74c5c43a82
Wed Nov 11 08:04:37 1992 Ian Lance Taylor (ian@cygnus.com)
...
* config.sub: added -sco3.2v4 support from FSF.
1992-11-11 16:06:07 +00:00
Rob Savoye
300f6a4f57
Added abug, the os (boot monitor really) for the Motorola MVME 135 m68k
...
board.
1992-11-11 00:52:04 +00:00
David D. Zuhn
6cabab7823
make cc command lines more consistent
1992-11-10 22:07:02 +00:00
Ian Lance Taylor
b62a08d606
tc-m68k.c (insert_reg): put REGISTER_PREFIX before register
...
names before putting them in the symbol table.
1992-11-10 21:21:33 +00:00
David D. Zuhn
543cf4ac14
new file, build many toolchains at once
1992-11-10 20:18:06 +00:00
Ian Lance Taylor
0069b1f670
These are actually Ken's patches--I told him I'd take move them from
...
p3 into devo.
* tc-m68k.c (m68k_reg_parse): If REGISTER_PREFIX isn't defined,
still accept (but don't require) OPTIONAL_REGISTER_PREFIX before
the register name.
* tc-m68k.h (OPTIONAL_REGISTER_PREFIX): Define to be "%", if not
M68KCOFF.
1992-11-10 20:09:23 +00:00
Ian Lance Taylor
587c4264e0
These changes clean things up a bit, and improve Solaris cross
...
support when using /opt/SUNWspro/SC2.0/acc.
Tue Nov 10 09:50:25 1992 Ian Lance Taylor (ian@cygnus.com )
* obj-coffbfd.c (fill_section): set STYP_NOLOAD bit for .bss
section.
* atof-ieee.c, atof-ns32k.c, tc-*.c: made EXP_CHARS, FLT_CHARS,
comment_chars, line_comment_chars and line_seperator_chars
consistently const, and always initialized them. Included read.h.
1992-11-10 18:17:00 +00:00
John Gilmore
9ee6289b47
* opncls.c (bfd_fdopenr, bfd_close): Add doc about cacheing
...
and about when file descriptors are closed.
1992-11-10 07:59:39 +00:00
John Gilmore
58108d01c2
Add how to declare the result of make_cleanup.
1992-11-10 07:57:43 +00:00
David D. Zuhn
c014d59723
* configure.in: expand the section that adds or removes
...
directories from the list of programs to build, to handle native
vs. cross in addition to host v. native
* test-build.mk: add -w to GNU_MAKE
1992-11-09 05:16:57 +00:00
David D. Zuhn
b19753b911
include file handling changes
1992-11-08 00:01:46 +00:00
David D. Zuhn
3f97524f59
more include changes
1992-11-08 00:00:58 +00:00
David D. Zuhn
52d5a27d5d
delete some old ose cruft, handle -wrs as an os
1992-11-07 08:19:19 +00:00
David D. Zuhn
3c52e52d2c
* config.sub: remove 'sparc'-->'sparc-sun' default transformation,
...
add 'sparc' to list of recognized cpus. This needed to make
'sparc-aout' expand to 'sparc-unknown-aout' instead of 'sparc-sun-aout'
1992-11-07 07:43:43 +00:00
David D. Zuhn
255d097913
import from p3
1992-11-07 07:11:21 +00:00
David D. Zuhn
ffce44a010
added tcl, tk, and expect
1992-11-07 05:00:06 +00:00
Mike Werner
d86908e0de
Checked in ChangeLog
1992-11-06 19:33:22 +00:00
Steve Chamberlain
2e6edad13c
* c-exp.y: separated host/target idea of integer type size,
...
removed redundant parse rules. (YYSTYPE): added typed_val, removed
UINT and CHAR rules. (parse_number): work out the targetwise type
of a number based upon it's size and qualifiers. (yylex): chars
are now treated the same way as ints.
* source.c (indentify_source_line): don't core dump if wanted
line is larger than number of lines in source. (can happen when
coff gets confused about #included source).
1992-11-06 18:37:20 +00:00
John Gilmore
59c84bd8d5
Fix problems noticed by Allan Steel, <allan@maths.su.oz.au>,
...
when debugging a program with 100 shared libraries.
* solib.c (solib_map_sections): Always close the BFD we open.
Free all malloc'd storage we allocate, too, including error cases.
(struct so_list): Remove unused so_bfd member.
(clear_solib): Don't bother closing so_bfd.
* symfile.c (symfile_bfd_open): Mark newly opened BFD as
cacheable. `So many symbol files, so little file descriptors.'
1992-11-06 11:05:08 +00:00
John Gilmore
8a96d79b70
* m68k-stub.c: Remove ansidecl.h and the few uses of it.
...
Stubs should stand alone as much as possible.
* source.c (show_directories): Avoid printf_filtered length prob
pointed out by Jonathan Stone.
* i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper limit properly to
avoid accesses beyond end of table. Fix by Lee W. Cooprider,
<Lee_Cooprider@vos.stratus.com>.
1992-11-06 09:21:13 +00:00
John Gilmore
a644baaa03
* i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly.
1992-11-06 08:14:14 +00:00
Mark Eichin
e8e18f7490
missing backslash after C++_FOR_BUILD in FLAGS_TO_PASS (latest/make dies,
...
/bin/make ignores it...)
1992-11-06 04:27:29 +00:00
Jim Wilson
0cef0e20f9
Flag error if absolute constant is too large for an immediate field.
1992-11-06 01:59:36 +00:00
Fred Fish
402dca80e7
* {ser-bsd.c, ser-termios.c} (serial_close): Pass address of
...
struct, not struct itself.
* serial.h (serial_restore): Fix prototype, takes pointer not
struct.
1992-11-06 01:35:57 +00:00
Stu Grossman
2352d20bd7
* Makefile.in (depend): Add nm.h to the list of things to fixup.
...
* depend: Redo, to fixup nm.h problems with *-tab.c files.
1992-11-06 01:13:34 +00:00
Ian Lance Taylor
2229261331
Thu Nov 5 15:41:55 1992 Ian Lance Taylor (ian@cygnus.com)
...
* ldlang.c (lang_size_sections): don't change size and address for
SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD
sections.
1992-11-06 00:39:51 +00:00
Ian Lance Taylor
41d1b02fe6
Thu Nov 5 16:35:44 1992 Ian Lance Taylor (ian@cygnus.com)
...
* bfd.h: Update to bring in SEC_SHARED_LIBRARY.
1992-11-06 00:39:31 +00:00
Ian Lance Taylor
8f718ed3bd
Thu Nov 5 15:34:19 1992 Ian Lance Taylor (ian@cygnus.com)
...
* section.c: New section bit SEC_SHARED_LIBRARY.
coffcode.h (styp_to_sec_flags): if STYP_NOLOAD && (STYP_TEXT ||
STYP_DATA), set SEC_SHARED_LIBRARY. This seems to be correct for
i386-sysv.
1992-11-06 00:38:59 +00:00
Stu Grossman
4e084cde32
Add 29k-UDI stuff back in...
1992-11-06 00:20:50 +00:00
Stu Grossman
e7ae70e927
Re-install UDI comments.
1992-11-05 23:40:02 +00:00
Stu Grossman
6881fb6d20
Add 29k-UDI stuff back in...
1992-11-05 23:33:51 +00:00
David D. Zuhn
378fd38252
merge in some p3 Makefile changes
1992-11-05 23:04:38 +00:00
Steve Chamberlain
85c838d613
* relax.c (build_it): re-enable the processing of data_statements
...
in scripts, makes counted contructor lists work again.
1992-11-05 19:35:38 +00:00
Mike Werner
cd98a82fc1
checked in new changelog
1992-11-05 18:46:35 +00:00