aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-exp.y
AgeCommit message (Collapse)AuthorFilesLines
1992-07-04 * breakpoint.c, buildsym.c, c-exp.y, coffread.c, command.c,Fred Fish1-1/+1
core.c, cplus-dem.c, dbxread.c, dwarfread.c, elfread.c, environ.c, eval.c, findvar.c, gdbtypes.c, hppabsd-tdep.c, hppahpux-tdep.c, i386-tdep.c, ieee-float.c, infcmd.c, inflow.c, infptrace.c, infrun.c, m2-exp.y, mipsread.c, objfiles.c, parse.c, procfs.c, putenv.c, remote-mm.c, remote-vx.c, solib.c, sparc-tdep.c, sparc-xdep.c, stack.c, symfile.c, symtab.c, symtab.h, target.c, tm-i386v.h, tm-sparc.h, utils.c, valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Remove "(void)" casts from function calls where the return value is ignored, in accordance with GNU coding standards.
1992-06-29 * dbxread.c, i386-pinsn.c, i386-tdep.c, regex.c, solib.c, symmisc.c,Fred Fish1-1/+1
symtab.h, tm-i386v4.h, valprint.c, values.c: Lint. * breakpoint.c, c-exp.y, coffread.c, command.c, environ.c, eval.c, findvar.c, infcmd.c, infptrace.c, infrun.c, m2-exp.y, parse.c, putenv.c, solib.c, sparc-xdep.c, symtab.c, tm-i386v.h, tm-sparc.h, utils.c, valarith.c, valops.c, valprint.c, values.c: Replace bcopy() use with memcpy(), which is more standard and can take advantage of gcc's builtin functions for increased performance. * breakpoint.c, buildsym.c, coffread.c, dbxread.c, i386-tdep.c, ieee-float.c, infcmd.c, sparc-tdep.c, stack.c, symtab.c, symtab.h, target.c, values.c: Replace bzero() use with memset(), which is more standard and can take advantage of gcc's builtin functions for increased performance. * i386-tdep.c, main.c, valprint.c: Replace bcmp() use with memcmp(), which is more standard and can take advantage of gcc's builtin functions for increased performance.
1992-06-19* Makefile.in (c-exp.tab.c, m2-exp.tab.c): Filter out bogus externStu Grossman1-0/+3
declarations of malloc/realloc/free that are inserted by some versions of yacc. * m2-exp.y: Prevent conflicts with TRUE and FALSE tokens by #undeffing them. * xm-rs6000.h: Declare malloc/realloc/free appropriately. Yet another decl of strdup (this really ought to come from libiberty.h!).
1992-06-10 * c-exp.y, m2-exp.y: Move remapping defines for malloc andFred Fish1-8/+19
realloc. Add remapping defines for {yyss, yyssp, yyvs, yyvsp}. * config/{amix.mh, i386v4.mh, ncr3000.mh, stratus.mh, sun4os5.mh}: Add definition for INSTALL using /usr/ucb/install.
1992-04-18Back out of TYPE_FLAG_FUND_TYPE change, solve the problem in valprint.c byFred Fish1-5/+5
just printing the type name from the type if it is not otherwise handled. Implement new handling of the ".syms" file for reusable symbol files.
1992-04-17 * rs6000-pinsn.c: New version from IBM (Metin).Per Bothner1-5/+5
* m2-exp.y: Re-write string initializers ("<>" => {'<', '>'}) to avoid warnings from some compilers.
1992-04-15Add TYPE_FLAG_FUND_TYPE bit to the flags member of the type structure,Fred Fish1-8/+10
and use it to decide when to print the actual type name rather than trying to invent the name of a fundamental type. This clears up the confusion between int/long when they are the same sizes, removes one obstacle to multi-language support (previously valprint.c thought everything was a C type), and allows gdb to support distinctions between explicitly and implicitly signed types when the compiler supports such distinction in the debug output (as does every ANSI compiler I tested except for gcc).
1992-04-02Lint.John Gilmore1-0/+3
* symfile.c (add_symbol_file_command): Initialize mapped/readnow.
1992-03-29LintJohn Gilmore1-4/+4
1992-03-15Globs of changes. See the ChangeLog for details. Most related toFred Fish1-0/+6
using the new mmalloc package.
1992-02-22* Check in Fred Fish's changes in these modules. FredJohn Gilmore1-31/+46
will make ChangeLog entries for all of them.
1992-02-20* defs.h: Include ansidecl.h and PARAMS macro. Use PARAMSJohn Gilmore1-7/+7
to make prototypes for all functions declared here. * cplus-dem.c: Avoid declaring xmalloc and xrealloc. * c-exp.y: Rename SIGNED, OR, and AND to avoid conflict. * environ.c: Include <stdio.h> before defs.h. Minor cleanup. * ieee-float.h: Use PARAMS for prototypes; make some params const. * ieee-float.c, valarith.c: Include <stdio.h>. Lint. b*=>mem*. * m2-exp.y: Remove unused CONST; Rename OR and AND. * utils.c: Avoid declaring malloc and realloc. Lint. (request_quit): Accept signal-number parameter.
1991-11-23 * m2-exp.y (MAX, MIN): Rename to MAX_FUNC, MIN_FUNC to avoidJohn Gilmore1-10/+5
conflicts with system header files.
1991-11-22CLeanups to compile, mostly on BSD (okeeffe) and sco (kithrup).John Gilmore1-0/+5
1991-11-21* defs.h: Incorporate param.h. All users changed.John Gilmore1-1/+15
* param-no-tm.h: Change users to define TM_FILE_OVERRIDE instead. * param.h, param-no-tm.h: Removed. * Update copyrights in all changed files. * dbxread.c, dwarfread.c, inflow.c, infrun.c, m2-exp.y, putenv.c, solib.c, symtab.h, tm-umax.h, valprint.c: Lint. * tm-convex.h, tm-hp300hpux.h, tm-merlin.h, tm-sparc.h, xm-merlin.h: Avoid host include files in target descriptions. * getpagesize.h: Removed, libiberty copes now.
1991-11-19Add defines so that parsers produced by SVR4 versions of yacc can coexistFred Fish1-0/+3
in the same executable without collision (c-exp.y, m2-exp.y). Add forward delaration of function returning pointer to shut up compiler warnings about conversion of int to pointer (symtab.h).
1991-09-28* c-exp.y, m2-exp.y: Define more yysymbols that happen to beJohn Gilmore1-1/+9
"bss" rather than "data" symbols, but which still conflict. * m2-exp.y: Lint.
1991-09-20#define yyerrflag and yynerrs to avoid global name conflicts.Stu Grossman1-0/+2
1991-09-19* c-exp.y, m2-exp.y: Lint.John Gilmore1-2/+3
* m2-exp.y: Avoid using yytname[] which is a Bison-ism.
1991-09-19LintJohn Gilmore1-8/+8
1991-09-19* parse.c: New file with the common code remains of expread.y.John Gilmore1-0/+1215
* expread.y, expread.tab.c: Remove. * parser-defs.h: New file with common declarations from expread.y. * c-exp.y: New file with the C parser from expread.y. * m2-exp.y: New file with the Modula-2 parser.