deliverable/binutils-gdb.git
31 years agomostly whitespace/comment changes
Ken Raeburn [Thu, 3 Dec 1992 23:52:26 +0000 (23:52 +0000)] 
mostly whitespace/comment changes

31 years agodefined NEED_FX_R_TYPE
Ken Raeburn [Thu, 3 Dec 1992 23:50:45 +0000 (23:50 +0000)] 
defined NEED_FX_R_TYPE

31 years agoguesses for i860 relocs, from fsf code
Ken Raeburn [Thu, 3 Dec 1992 23:49:30 +0000 (23:49 +0000)] 
guesses for i860 relocs, from fsf code

31 years agodelete M_VAX
Ken Raeburn [Thu, 3 Dec 1992 23:48:47 +0000 (23:48 +0000)] 
delete M_VAX

31 years agodelete HO_USG and setbuffer macros
Ken Raeburn [Thu, 3 Dec 1992 23:45:34 +0000 (23:45 +0000)] 
delete HO_USG and setbuffer macros

31 years agodeclare malloc, realloc
Ken Raeburn [Thu, 3 Dec 1992 23:45:13 +0000 (23:45 +0000)] 
declare malloc, realloc

31 years agomore tahoe code
Ken Raeburn [Thu, 3 Dec 1992 23:42:16 +0000 (23:42 +0000)] 
more tahoe code

31 years agotahoe code from fsf - untested
Ken Raeburn [Thu, 3 Dec 1992 23:41:18 +0000 (23:41 +0000)] 
tahoe code from fsf - untested

31 years agodoc changes
Ken Raeburn [Thu, 3 Dec 1992 23:40:24 +0000 (23:40 +0000)] 
doc changes

31 years agovms stuff from fsf version - untested
Ken Raeburn [Thu, 3 Dec 1992 23:38:49 +0000 (23:38 +0000)] 
vms stuff from fsf version - untested

31 years agono longer using gas-format.el
Ken Raeburn [Thu, 3 Dec 1992 23:15:59 +0000 (23:15 +0000)] 
no longer using gas-format.el

31 years agoadd breakpoint in as_perror
Ken Raeburn [Thu, 3 Dec 1992 23:11:01 +0000 (23:11 +0000)] 
add breakpoint in as_perror

31 years agosyms.c (asymbol): Added new field "app_data", for data particular to the
Ken Raeburn [Thu, 3 Dec 1992 23:03:17 +0000 (23:03 +0000)] 
syms.c (asymbol): Added new field "app_data", for data particular to the
application.  Some of the linker flags ought to get moved to this field
someday.

archures.c (bfd_default_scan): Recognize a few more numbers: 80486, 80960,
and 960.

bfd-in.h, bfd.c, targets.c, coffcode.h, coff-mips.c, other targets: Moved COFF
swap table to backend data.

hosts/i386linux.h: Include unistd.h.
aoutx.h, libaout.h, stab-syms.c: stab names are now in constant storage.
trad-core.c: Fixed some `PARAMS' uses that were missing parentheses.
aoutx.h, archive.c, archures.c, coffcode.h, ctor.c, reloc.c, syms.c: Doc fixes.

31 years ago * c-exp.y (c_create_fundamental_type): New function to create
Fred Fish [Thu, 3 Dec 1992 20:28:16 +0000 (20:28 +0000)] 
* c-exp.y (c_create_fundamental_type):  New function to create
language specific fundamental types for C.
* m2-exp.y (m2_create_fundamental_type):  New function to create
language specific fundamental types for Modula 2.
* c-exp.y (c_language_defn, cplus_language_defn):  Add
c_create_fundamental_type to language struct initializers.
* m2-exp.y (m2_language_defn):  Add m2_create_fundamental_type
to language struct initializers.
* dwarfread.c (expression.h, language.h):  Include.
* dwarfread.c (ftypes):  New array to hold fundamental types
for current compilation unit.
* dwarfread.c (cu_language_defn):  New pointer to language
struct for language of current compilation unit.
* dwarfread.c (dwarf_fundamental_type):  New function to
create/lookup fundamental types.
* dwarfread.c (set_cu_language):  Initialize cu_language_defn.
* dwarfread.c (throughout):  Replace lookup_fundamental_type
with dwarf_fundamental_type.
* dwarfread.c (read_file_scope):  Zero out ftypes for each new
compilation unit (may be different language or different objfile).
* gdbtypes.c (lookup_fundamental_type):  Move actual type
creations into language specific fundamental type creation
functions and call via create_fundamental_type.  Add comment
about this function being obsolescent.
* gdbtypes.h (FT_BYTE, FT_UNSIGNED_BYTE):  New types, true byte
sized signed and unsigned integers.
* gdbtypes.h (FT_NUM_MEMBERS):  Increment, new types added.
* language.c (language_def):  New function to lookup a language
struct given it's enumeration.
* language.h (struct language_defn):  Add la_fund_type, a pointer
to a function that creates fundamental types for this language.
* language.h (create_fundamental_type):  New macro to create
fundamental types based on the current language.
* language.h (language_def):  Add prototype.
* language.c (unk_lang_create_fundamental_type):  New function
for initializing language structs, calls error if called.
* language.c (unk_language_defn, auto_language_defn,
local_language_defn):  Use unk_lang_create_fundamental_type.
**** start-sanitize-chill ****
ch-exp.y (chill_create_fundamental_type):  New function.
ch-exp.y (chill_language_defn):  Add chill_create_fundamental_type.
ch-exp.y (_initialize_chill_exp):  BOOL types are only one byte.
**** end-sanitize-chill ****

31 years agoDon't sanitize out mh-sun.
Brendan Kehoe [Thu, 3 Dec 1992 00:42:29 +0000 (00:42 +0000)] 
Don't sanitize out mh-sun.

31 years ago * dwarfread.c (CHILL_PRODUCER): Add producer string for
Fred Fish [Wed, 2 Dec 1992 01:10:49 +0000 (01:10 +0000)] 
* 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.

31 years ago* remote-udi.c (udi_wait): Don't stop if TIP says that remote is
Stu Grossman [Tue, 1 Dec 1992 02:51:28 +0000 (02:51 +0000)] 
* remote-udi.c (udi_wait):  Don't stop if TIP says that remote is
still running.

31 years agoinclude mh-sun for all sun hosts (except solaris)
David D. Zuhn [Mon, 30 Nov 1992 23:00:25 +0000 (23:00 +0000)] 
include mh-sun for all sun hosts (except solaris)

31 years agobetter handling for X11 oddities on various systems
David D. Zuhn [Mon, 30 Nov 1992 22:58:37 +0000 (22:58 +0000)] 
better handling for X11 oddities on various systems

31 years ago * tm-sun4sol2.h: Add CPLUS_MARKER. Solaris 2.0 requires '.'
Fred Fish [Mon, 30 Nov 1992 20:07:35 +0000 (20:07 +0000)] 
* 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.

31 years agoupdated address and phone number
David D. Zuhn [Mon, 30 Nov 1992 09:45:40 +0000 (09:45 +0000)] 
updated address and phone number

31 years ago * Makefile.in: define flags for X11 include files and library file
David D. Zuhn [Mon, 30 Nov 1992 09:15:40 +0000 (09:15 +0000)] 
* 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)

31 years ago * stabsread.c (define_symbol): For the sake of dbx, gcc emits
Fred Fish [Mon, 30 Nov 1992 01:03:34 +0000 (01:03 +0000)] 
* 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.

31 years agoBump internal version to 4.7.3 in wake of fragmentation of massive
Fred Fish [Sun, 29 Nov 1992 23:50:08 +0000 (23:50 +0000)] 
Bump internal version to 4.7.3 in wake of fragmentation of massive
stabsread.c read_struct_type function.

31 years ago (Changes to break incredibly ugly, unmaintainable 750 line
Fred Fish [Sun, 29 Nov 1992 23:38:30 +0000 (23:38 +0000)] 
(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.

31 years ago * aoutx.h (some_aout_object_p): Protect arg prototype in
Fred Fish [Sun, 29 Nov 1992 16:40:09 +0000 (16:40 +0000)] 
* aoutx.h (some_aout_object_p):  Protect arg prototype in
callback_to_real_object_p with PARAMS macro for non-ANSI compilers.

31 years ago * ch-exp.y (GENERAL_PROCEDURE_NAME, LOCATION_NAME): New
Fred Fish [Sun, 29 Nov 1992 06:59:17 +0000 (06:59 +0000)] 
* 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.

31 years agoAdd sections on clean design and on how to send in changes.
John Gilmore [Sat, 28 Nov 1992 14:52:16 +0000 (14:52 +0000)] 
Add sections on clean design and on how to send in changes.

31 years ago* aout-target.h, aoutf1.h, trad-core.c, coffcode.h, libaout.h:
John Gilmore [Sat, 28 Nov 1992 13:00:18 +0000 (13:00 +0000)] 
* 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.

31 years agoUpdate to match revised bfd-in.h.
John Gilmore [Sat, 28 Nov 1992 12:14:45 +0000 (12:14 +0000)] 
Update to match revised bfd-in.h.

31 years ago* libbfd-in.h, bfd-in.h: Eliminate all PROTO calls, replace with
John Gilmore [Sat, 28 Nov 1992 12:14:14 +0000 (12:14 +0000)] 
* libbfd-in.h, bfd-in.h:  Eliminate all PROTO calls, replace with
PARAMS for readability.

31 years agosupply standard X11 include & library directories
David D. Zuhn [Sat, 28 Nov 1992 02:40:01 +0000 (02:40 +0000)] 
supply standard X11 include & library directories

31 years agodefine and pass down locations for X11 files
David D. Zuhn [Sat, 28 Nov 1992 02:37:07 +0000 (02:37 +0000)] 
define and pass down locations for X11 files

31 years agoDoc for sac's new "z8ksim" Z8000 simulator target.
Roland Pesch [Thu, 26 Nov 1992 02:28:17 +0000 (02:28 +0000)] 
Doc for sac's new "z8ksim" Z8000 simulator target.

31 years agoConditional vars for controlling Z8000 doc.
Roland Pesch [Thu, 26 Nov 1992 02:26:53 +0000 (02:26 +0000)] 
Conditional vars for controlling Z8000 doc.

31 years agoExplicitly call reader's attention to lack of leading . in z8k special
Roland Pesch [Thu, 26 Nov 1992 01:38:44 +0000 (01:38 +0000)] 
Explicitly call reader's attention to lack of leading . in z8k special
directives.

31 years agoApply fix from zoo:
Fred Fish [Wed, 25 Nov 1992 15:53:01 +0000 (15:53 +0000)] 
Apply fix from zoo:
* munch:  Backslash escape vertical bar characters inside
grep patterns since they have special meaning for some greps.

31 years ago * parse.c (write_exp_string): Complete rewrite to store string
Fred Fish [Wed, 25 Nov 1992 15:46:57 +0000 (15:46 +0000)] 
* 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.

31 years agoUpdates from SAC answers to queries on z8k stuff.
Roland Pesch [Wed, 25 Nov 1992 01:39:45 +0000 (01:39 +0000)] 
Updates from SAC answers to queries on z8k stuff.

31 years ago* main.c (main): Print GDB version number in gdb -help; doc pid arg.
John Gilmore [Tue, 24 Nov 1992 07:20:42 +0000 (07:20 +0000)] 
* 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.

31 years agoSuperficial editing pass over Z8000 stuff.
Roland Pesch [Tue, 24 Nov 1992 05:21:14 +0000 (05:21 +0000)] 
Superficial editing pass over Z8000 stuff.

31 years ago * c-exp.y (yylex): Add tempbuf, tempbufindex, and tempbufsize,
Fred Fish [Tue, 24 Nov 1992 03:02:10 +0000 (03:02 +0000)] 
* 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.

31 years agoFor SPARC V9, change icc to %icc, xcc to %xcc, fccX to %fccX.
Jim Wilson [Mon, 23 Nov 1992 23:40:18 +0000 (23:40 +0000)] 
For SPARC V9, change icc to %icc, xcc to %xcc, fccX to %fccX.

31 years agoFormat corrections to permit running through makeinfo and TeX without errors.
Roland Pesch [Mon, 23 Nov 1992 21:59:41 +0000 (21:59 +0000)] 
Format corrections to permit running through makeinfo and TeX without errors.

31 years agoRan "indent", for GNU coding style; some code & comments still need fixup.
Ken Raeburn [Mon, 23 Nov 1992 20:42:33 +0000 (20:42 +0000)] 
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.

31 years agoRan "indent", for GNU coding style; some code & comments still need fixup.
Ken Raeburn [Mon, 23 Nov 1992 20:39:57 +0000 (20:39 +0000)] 
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...

31 years ago * language.h (PRINT_LITERAL_FORM): New macro that takes character
Fred Fish [Mon, 23 Nov 1992 19:57:29 +0000 (19:57 +0000)] 
* 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 ****

31 years agoChange from John Carr: use `v', not `a', for operand 2 of vax bb* instructions.
Ken Raeburn [Mon, 23 Nov 1992 18:52:04 +0000 (18:52 +0000)] 
Change from John Carr: use `v', not `a', for operand 2 of vax bb* instructions.

31 years agominor typo correction
David D. Zuhn [Mon, 23 Nov 1992 03:31:21 +0000 (03:31 +0000)] 
minor typo correction

31 years agobuild libg++ on HPUX
David D. Zuhn [Mon, 23 Nov 1992 02:59:50 +0000 (02:59 +0000)] 
build libg++ on HPUX

31 years agoupdated dates
David D. Zuhn [Mon, 23 Nov 1992 02:58:52 +0000 (02:58 +0000)] 
updated dates

31 years agoupdates dates, added build-cygnus target
David D. Zuhn [Mon, 23 Nov 1992 01:40:05 +0000 (01:40 +0000)] 
updates dates, added build-cygnus target

31 years ago+ * nindy-share/stop.h: fixed bogus comment-end in copyright message
David D. Zuhn [Mon, 23 Nov 1992 01:07:16 +0000 (01:07 +0000)] 
+ * nindy-share/stop.h: fixed bogus comment-end in copyright message
+ * i960-pinsn.c: fixed two calls of fputs_filtered that had 3 arguments

31 years ago * m2-exp.y (m2_printstr): Forgot to change reference of
Fred Fish [Sat, 21 Nov 1992 16:27:58 +0000 (16:27 +0000)] 
* m2-exp.y (m2_printstr):  Forgot to change reference of
c_printchar to m2_printchar.

31 years ago* ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c,
John Gilmore [Sat, 21 Nov 1992 11:18:00 +0000 (11:18 +0000)] 
* 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.

31 years ago * defs.h (sevenbit_strings): Add declaration.
Fred Fish [Sat, 21 Nov 1992 06:10:08 +0000 (06:10 +0000)] 
* 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 ****

31 years ago z8000 documentation
Steve Chamberlain [Thu, 19 Nov 1992 19:49:01 +0000 (19:49 +0000)] 
z8000 documentation
* Makefile.in, all.m4, as-all.texinfo as.texinfo: all modified

31 years agocheckpoint
Steve Chamberlain [Thu, 19 Nov 1992 19:35:38 +0000 (19:35 +0000)] 
checkpoint

31 years agoUpdate references to files moved into etc/.
John Gilmore [Thu, 19 Nov 1992 03:34:02 +0000 (03:34 +0000)] 
Update references to files moved into etc/.

31 years agoCouple of things left out of last checkin...
Fred Fish [Thu, 19 Nov 1992 00:16:11 +0000 (00:16 +0000)] 
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.

31 years ago * infcmd.c (set_environment_command): Avoid skipping first
John Gilmore [Thu, 19 Nov 1992 00:04:44 +0000 (00:04 +0000)] 
* 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.

31 years agoWed Nov 18 15:05:45 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Wed, 18 Nov 1992 23:08:18 +0000 (23:08 +0000)] 
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.

31 years agoOops! Forgot to check in ChangeLog.
Stu Grossman [Wed, 18 Nov 1992 23:02:50 +0000 (23:02 +0000)] 
Oops!  Forgot to check in ChangeLog.

31 years ago* infcmd.c (set_environment_command): Make set env FOO x=y work.
Stu Grossman [Wed, 18 Nov 1992 22:51:58 +0000 (22:51 +0000)] 
* 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.

31 years ago * language.h (language_format_info): New structure to bundle
Fred Fish [Wed, 18 Nov 1992 22:49:38 +0000 (22:49 +0000)] 
* language.h (language_format_info):  New structure to bundle
local formatting information.
* language.h (language_defn):  Replace individual format info
with language_format_info structs.
* language.h (local_*_format, local_*_format_prefix,
local_*_format_specifier, local_*_format_suffix):  New macros
for binary/octal/decimal/hex formats to access info elements.
* c-exp.y (c_language_defn):  Update for new format handling.
* m2-exp.y (m2_language_defn):  Update for new format handling.
* dbxread.c (language.h):  Include for partial-stab.h use.
* defs.h (local_hex_format, local_hex_format_custom,
local_hex_string, local_hex_string_custom):  Move to language.h.
* language.c (local_hex_format_custom, local_hex_string,
local_hex_string_custom, local_octal_format_custom):  Use new
format handling.
* language.c (unknown_language_defn, auto_language_defn,
local_language_defn):  Update for new format handling.
* printcmd.c (print_scalar_formatted):  Use new macros
to access decimal and binary format info for printing.
**** start-sanitize-chill ****
* c-exp.y (chill_language_defn):  Update for new format handling.
* ch-exp.y (CHARACTER_LITERAL):  Add support to yylex.
* ch-exp.y (match_integer_literal):  Add function.
* ch-exp.y (builtin_type_chill_char):  Add definition.
* gdbtypes.h (builtin_type_chill_char):  Add declaration.
**** end-sanitize-chill ****

31 years agoupdate dates
David D. Zuhn [Wed, 18 Nov 1992 08:50:17 +0000 (08:50 +0000)] 
update dates

31 years agoalso search bfd sources for include files
David D. Zuhn [Wed, 18 Nov 1992 03:56:18 +0000 (03:56 +0000)] 
also search bfd sources for include files

31 years agoTue Nov 17 11:17:06 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 17 Nov 1992 21:46:17 +0000 (21:46 +0000)] 
Tue Nov 17 11:17:06 1992  Ian Lance Taylor  (ian@cygnus.com)

  * tm-rs6000.h (BELIEVE_PCC_PROMOTION): Define, since AIX cc gets
it right.
(aix_framedata): added nosavedpc field.
(SAVED_PC_AFTER_CALL): Don't try to optimize; just call
read_register.
(FRAMELESS_FUNCTION_INVOCATION): Pass second argument of 0.
(FRAME_SAVED_PC): If PC not saved, use SAVED_PC_AFTER_CALL.
* rs6000-tdep.c (skip_prologue): Handle gcc generated stfd
instructions as function_frame_info does.  Expand special case of
st r31,-4(r1) to be st r31,NUM(r1), since gcc can generate offsets
other than -4.
(pop_frame): Add 4 rather than sizeof (int) to avoid host
dependence.
(function_frame_info): Set frameless if the function has no frame,
and set nosavedpc if the PC was not saved.  Handle gcc generated
stfd 31,-4(31); st 31, -12(31) correctly.
(frameless_function_invocation): New second argument pcsaved; if 0
return whether the function has a frame, if 1 return whether the
function saved PC.
(frame_initial_stack_address): Correct typo: cache registers for
callee_fi, not for fi, (avoids reading garbage memory locations).

31 years agoRemove include and dfe directories.
Stu Grossman [Tue, 17 Nov 1992 04:36:01 +0000 (04:36 +0000)] 
Remove include and dfe directories.

31 years ago* symtab.c (find_pc_line): Improve code per gnu's suggestions.
Stu Grossman [Mon, 16 Nov 1992 23:59:37 +0000 (23:59 +0000)] 
* symtab.c (find_pc_line):  Improve code per gnu's suggestions.
Improve comments as well.

31 years agoMore fine-tuning of sanitize away chill stuff...
Fred Fish [Mon, 16 Nov 1992 21:56:20 +0000 (21:56 +0000)] 
More fine-tuning of sanitize away chill stuff...

31 years agoFirst cut at sanitizing away chill stuff.
Fred Fish [Mon, 16 Nov 1992 20:48:24 +0000 (20:48 +0000)] 
First cut at sanitizing away chill stuff.

31 years agoFix typo.
Fred Fish [Mon, 16 Nov 1992 20:27:02 +0000 (20:27 +0000)] 
Fix typo.

31 years agoFirst cut at sanitizing away the chill stuff.
Fred Fish [Mon, 16 Nov 1992 19:25:35 +0000 (19:25 +0000)] 
First cut at sanitizing away the chill stuff.

31 years ago * Makefile.in (VERSION): Bump to 4.7.2
Fred Fish [Sun, 15 Nov 1992 20:26:35 +0000 (20:26 +0000)] 
* Makefile.in (VERSION):  Bump to 4.7.2
* symtab.c (find_pc_symtab):  Fix return of random value
to caller.

31 years ago * config.sub (i386sol2, i486sol2): i[34]86-unknown-solaris2.
Fred Fish [Sun, 15 Nov 1992 17:37:16 +0000 (17:37 +0000)] 
* config.sub (i386sol2, i486sol2):  i[34]86-unknown-solaris2.
* configure.in (i[34]86-*-solaris2*):  Use config/mh-sysv4.

31 years ago * dwarf.h (AT_src_coords): Whitespace change only.
Fred Fish [Sun, 15 Nov 1992 17:34:37 +0000 (17:34 +0000)] 
* 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.

31 years ago * Makefile.in (SFILES_MAINDIR): Add ch-exp.y.
Fred Fish [Sun, 15 Nov 1992 17:28:02 +0000 (17:28 +0000)] 
* 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.

31 years ago* infcmd.c (step_over_calls): Improve comments.
Stu Grossman [Sat, 14 Nov 1992 04:33:21 +0000 (04:33 +0000)] 
* 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.

31 years agoput exec.o back; it deals with exec files, not fork/exec, and thus is still
Mark Eichin [Fri, 13 Nov 1992 18:26:21 +0000 (18:26 +0000)] 
put exec.o back; it deals with exec files, not fork/exec, and thus is still
relevant for remote targets.

31 years agoz8k target
Steve Chamberlain [Fri, 13 Nov 1992 17:42:24 +0000 (17:42 +0000)] 
z8k target

31 years agoz8k stuff
Steve Chamberlain [Fri, 13 Nov 1992 17:40:20 +0000 (17:40 +0000)] 
z8k stuff

31 years agoadd z8ksim
Steve Chamberlain [Fri, 13 Nov 1992 07:11:44 +0000 (07:11 +0000)] 
add z8ksim

31 years agoadded expect and tcl
David D. Zuhn [Fri, 13 Nov 1992 01:05:59 +0000 (01:05 +0000)] 
added expect and tcl

31 years agopass down prefix and exec_prefix
David D. Zuhn [Fri, 13 Nov 1992 01:03:52 +0000 (01:03 +0000)] 
pass down prefix and exec_prefix

31 years agocheckpoint
Steve Chamberlain [Thu, 12 Nov 1992 23:38:51 +0000 (23:38 +0000)] 
checkpoint

31 years ago * coff-z8k.c: checkpoint, more addressing modes handled
Steve Chamberlain [Thu, 12 Nov 1992 17:53:58 +0000 (17:53 +0000)] 
* coff-z8k.c: checkpoint, more addressing modes handled
* coffcode.h (get_value): don't truncate reloc->addend field, it's
a long now.

31 years agoadd i[34]86-*-go32, sparclite-*-*
Mark Eichin [Thu, 12 Nov 1992 15:06:07 +0000 (15:06 +0000)] 
add i[34]86-*-go32, sparclite-*-*

31 years agoadd sparclite-fujitsu-none, since it was only getting set via the default
Mark Eichin [Thu, 12 Nov 1992 12:55:48 +0000 (12:55 +0000)] 
add sparclite-fujitsu-none, since it was only getting set via the default
branch in the old configure.in

31 years ago * we32k.mt (TDEFAULTS): Use we32kcoff_vec, not i386coff_vec.
Brendan Kehoe [Thu, 12 Nov 1992 07:59:59 +0000 (07:59 +0000)] 
* we32k.mt (TDEFAULTS): Use we32kcoff_vec, not i386coff_vec.

31 years ago* configure.in: Reformat to one-case-per-line.
John Gilmore [Thu, 12 Nov 1992 05:21:32 +0000 (05:21 +0000)] 
* configure.in:  Reformat to one-case-per-line.
Handle SunOS 3.5, as per Karl Berry, <karl@claude.cs.umb.edu>.

31 years ago* Makefile.in: Remove dependancies for 29k-share/dfe/yank.o and
Stu Grossman [Thu, 12 Nov 1992 01:15:06 +0000 (01:15 +0000)] 
* 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.

31 years agoWed Nov 11 08:04:37 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Wed, 11 Nov 1992 16:06:07 +0000 (16:06 +0000)] 
Wed Nov 11 08:04:37 1992  Ian Lance Taylor  (ian@cygnus.com)

* config.sub: added -sco3.2v4 support from FSF.

31 years agoAdded abug, the os (boot monitor really) for the Motorola MVME 135 m68k
Rob Savoye [Wed, 11 Nov 1992 00:52:04 +0000 (00:52 +0000)] 
Added abug, the os (boot monitor really) for the Motorola MVME 135 m68k
board.

31 years agomake cc command lines more consistent
David D. Zuhn [Tue, 10 Nov 1992 22:07:02 +0000 (22:07 +0000)] 
make cc command lines more consistent

31 years ago tc-m68k.c (insert_reg): put REGISTER_PREFIX before register
Ian Lance Taylor [Tue, 10 Nov 1992 21:21:33 +0000 (21:21 +0000)] 
tc-m68k.c (insert_reg): put REGISTER_PREFIX before register
names before putting them in the symbol table.

31 years agonew file, build many toolchains at once
David D. Zuhn [Tue, 10 Nov 1992 20:18:06 +0000 (20:18 +0000)] 
new file, build many toolchains at once

31 years agoThese are actually Ken's patches--I told him I'd take move them from
Ian Lance Taylor [Tue, 10 Nov 1992 20:09:23 +0000 (20:09 +0000)] 
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.

31 years agoThese changes clean things up a bit, and improve Solaris cross
Ian Lance Taylor [Tue, 10 Nov 1992 18:17:00 +0000 (18:17 +0000)] 
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.

31 years ago* opncls.c (bfd_fdopenr, bfd_close): Add doc about cacheing
John Gilmore [Tue, 10 Nov 1992 07:59:39 +0000 (07:59 +0000)] 
* opncls.c (bfd_fdopenr, bfd_close):  Add doc about cacheing
and about when file descriptors are closed.

This page took 0.044123 seconds and 4 git commands to generate.