aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1992-12-03 * c-exp.y (c_create_fundamental_type): New function to createFred Fish9-232/+602
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 ****
1992-12-03Don't sanitize out mh-sun.Brendan Kehoe1-0/+1
1992-12-02 * dwarfread.c (CHILL_PRODUCER): Add producer string forFred Fish2-0/+18
GNU chill. * dwarfread.c (handle_producer): Test CHILL_PRODUCER as well as GCC_PRODUCER and GPLUS_PRODUCER.
1992-12-01* remote-udi.c (udi_wait): Don't stop if TIP says that remote isStu Grossman2-3/+8
still running.
1992-11-30include mh-sun for all sun hosts (except solaris)David D. Zuhn1-0/+2
1992-11-30better handling for X11 oddities on various systemsDavid D. Zuhn3-0/+15
1992-11-30 * tm-sun4sol2.h: Add CPLUS_MARKER. Solaris 2.0 requires '.'Fred Fish3-1/+15
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-30updated address and phone numberDavid D. Zuhn1-3/+3
1992-11-30 * Makefile.in: define flags for X11 include files and library fileDavid D. Zuhn3-2/+12
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 * stabsread.c (define_symbol): For the sake of dbx, gcc emitsFred Fish2-3/+6
a single blank as the name of nameless enumerations. Recognize this special case and set nameless flag.
1992-11-29Bump internal version to 4.7.3 in wake of fragmentation of massiveFred Fish2-3/+4
stabsread.c read_struct_type function.
1992-11-29 (Changes to break incredibly ugly, unmaintainable 750 lineFred Fish2-619/+954
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 * aoutx.h (some_aout_object_p): Protect arg prototype inFred Fish2-1/+6
callback_to_real_object_p with PARAMS macro for non-ANSI compilers.
1992-11-29 * ch-exp.y (GENERAL_PROCEDURE_NAME, LOCATION_NAME): NewFred Fish2-6/+104
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-28Add sections on clean design and on how to send in changes.John Gilmore2-0/+151
1992-11-28* aout-target.h, aoutf1.h, trad-core.c, coffcode.h, libaout.h:John Gilmore7-113/+175
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-28Update to match revised bfd-in.h.John Gilmore1-19/+9
1992-11-28* libbfd-in.h, bfd-in.h: Eliminate all PROTO calls, replace withJohn Gilmore2-21/+25
PARAMS for readability.
1992-11-28supply standard X11 include & library directoriesDavid D. Zuhn3-0/+19
1992-11-28define and pass down locations for X11 filesDavid D. Zuhn2-18/+64
1992-11-26Doc for sac's new "z8ksim" Z8000 simulator target.Roland Pesch3-1/+47
1992-11-26Conditional vars for controlling Z8000 doc.Roland Pesch3-0/+7
1992-11-26Explicitly call reader's attention to lack of leading . in z8k specialRoland Pesch2-2/+4
directives.
1992-11-25Apply fix from zoo:Fred Fish2-1/+3
* munch: Backslash escape vertical bar characters inside grep patterns since they have special meaning for some greps.
1992-11-25 * parse.c (write_exp_string): Complete rewrite to store stringFred Fish2-20/+69
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-25Updates from SAC answers to queries on z8k stuff.Roland Pesch2-40/+120
1992-11-24* main.c (main): Print GDB version number in gdb -help; doc pid arg.John Gilmore1-0/+6
Suggested by Marty Leisner, <leisner@eso.mc.xerox.com>. (print_gdb_version): New arg is stdout or stderr. Callers changed.
1992-11-24Superficial editing pass over Z8000 stuff.Roland Pesch2-746/+778
1992-11-24 * c-exp.y (yylex): Add tempbuf, tempbufindex, and tempbufsize,Fred Fish3-64/+92
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-23For SPARC V9, change icc to %icc, xcc to %xcc, fccX to %fccX.Jim Wilson1-12/+12
1992-11-23Format corrections to permit running through makeinfo and TeX without errors.Roland Pesch2-16/+14
1992-11-23Ran "indent", for GNU coding style; some code & comments still need fixup.Ken Raeburn41-18907/+21426
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-23Ran "indent", for GNU coding style; some code & comments still need fixup.Ken Raeburn34-4725/+5847
Removed some unneeded files. configure.in: Don't look for te-386bsd.h, which doesn't exist...
1992-11-23 * language.h (PRINT_LITERAL_FORM): New macro that takes characterFred Fish5-80/+202
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-23Change from John Carr: use `v', not `a', for operand 2 of vax bb* instructions.Ken Raeburn1-0/+24
1992-11-23minor typo correctionDavid D. Zuhn1-6/+10
1992-11-23build libg++ on HPUXDavid D. Zuhn1-1/+1
1992-11-23updated datesDavid D. Zuhn1-1/+1
1992-11-23updates dates, added build-cygnus targetDavid D. Zuhn2-114/+286
1992-11-23+ * nindy-share/stop.h: fixed bogus comment-end in copyright messageDavid D. Zuhn2-2/+8
+ * i960-pinsn.c: fixed two calls of fputs_filtered that had 3 arguments
1992-11-21 * m2-exp.y (m2_printstr): Forgot to change reference ofFred Fish1-1/+1
c_printchar to m2_printchar.
1992-11-21* ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c,John Gilmore7-68/+119
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 * defs.h (sevenbit_strings): Add declaration.Fred Fish8-101/+591
* 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-19 z8000 documentationSteve Chamberlain5-428/+899
* Makefile.in, all.m4, as-all.texinfo as.texinfo: all modified
1992-11-19checkpointSteve Chamberlain1-0/+15
1992-11-19Update references to files moved into etc/.John Gilmore1-0/+14
1992-11-19Couple of things left out of last checkin...Fred Fish1-93/+3
* 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 * infcmd.c (set_environment_command): Avoid skipping firstJohn Gilmore2-11/+24
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-18Wed Nov 18 15:05:45 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-3/+9
* remote-vx.c (vx_kill): just warn if we can't contact the board, and assume the process has been killed.
1992-11-18Oops! Forgot to check in ChangeLog.Stu Grossman1-0/+14