aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
AgeCommit message (Collapse)AuthorFilesLines
1992-06-10 * c-exp.y, m2-exp.y: Move remapping defines for malloc andFred Fish1-8/+20
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-06-09 * c-exp.y (yylex): Recognize single-quoted strings that specifyFred Fish1-1/+15
tokens with embedded whitespace, such as C++ demangled names. * defs.h (demangle_and_match, strcmp_iw, skip_quoted): Prototypes. * main.c (gdb_completer_quote_characters): Add global variable. * main.c (symbol_completion_function): Total rewrite for C++ demangled name handling. * main.c (skip_quoted): New function. * main.c (main): Set rl_completer_quote_characters. * symmisc.c (dump_symtab): Print source language for symtab. * symtab.c (expensive_mangler): Add prototype and function. * symtab.c (completion_list_add_symbol): Total rewrite for new C++ demangled name handling. * symtab.c (lookup_symbol): Check for demangled C++ symbol first, other changes for demangled C++ symbol handling. * symtab.c (lookup_demangled_block_symbol): Use demangle_and_match. * symtab.c (lookup_demangled_partial_symbol): Use demangle_and_match. * symtab.c (decode_line_1): Recognize C++ demangled names on input. * symtab.c (completion_list_add_symbol): Total rewrite for new C++ demangled name handling. * symtab.c (expensive_mangler): New function. * utils.c (strcmp_iw, demangle_and_match): New functions. * xcoffread.c (aixcoff_symfile_read): Fix prototype.
1992-05-17 * inflow.c (new_tty): Temporarily ignore SIGTTOU whenFred Fish1-4/+4
disconnecting from controlling terminal, to avoid gdb hanging on SVR4. Fixes bug reported by Oliver Okrongli. * procfs.c (PROC_NAME_FMT): Change format to match default used by system, as suggested by Oliver Okrongli. * tm-68k.h (FRAME_FIND_SAVED_REGS): Apply missing parentheses bug fix from Brent Townshend (bst%tt@cam.ORG). * c-exp.y (nonempty_typelist): Fix memory overrun bug reported by turlais@rechser.total.fr. * dwarfread.c (decode_subscr_data): Fix bug in calculation of length of non-zero lowerbound arrays. Bug fix from Peggy Fieland. * objfiles.h (unlink_objfile): Add prototype. * objfiles.c (unlink_objfile): Add function. * objfiles.c (free_objfile): Call unlink_objfile. * objfiles.c (allocate_objfile): Call unlink_objfile on newly remapped objfiles. Bug reported by hahn@sunshine.labs.tek.com. Also, discard old possibly bogus sf struct. * symfile.c (symbol_file_add): Call init_entry_point_info() and find_sym_fns() for remapped symbol files, in case of any changes since the last mapping.
1992-04-18Back out of TYPE_FLAG_FUND_TYPE change, solve the problem in valprint.c byFred Fish1-17/+17
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-15Add TYPE_FLAG_FUND_TYPE bit to the flags member of the type structure,Fred Fish1-17/+17
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-30c-exp.y: Add missing return type to yyparse() prototype.Per Bothner1-0/+1
1992-03-29LintJohn Gilmore1-6/+2
1992-03-26 * c-exp.y, gdbtypes.h: Add builtin_type_signed_char.Per Bothner1-0/+6
* cplus-dem.c: Support "Sc" meaning "signed char".
1992-03-20More C++ improvements (pointers to members, qualified names). See ChangeLog.Per Bothner1-4/+27
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-68/+85
will make ChangeLog entries for all of them.
1992-02-20* defs.h: Include ansidecl.h and PARAMS macro. Use PARAMSJohn Gilmore1-10/+10
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.
1992-01-27* buildsym.c (read_struct_type): Circumvent sun3 sunos "--" compiler bug.John Gilmore1-2/+4
* c-exp.y (yylex): `this' and `template' are only tokens in C++. * target.c (target_xfer_memory): Return errno in preference to EIO.
1991-12-05Fix things pointed up by Fred Fish's test suite; see ChangeLog.John Gilmore1-3/+4
1991-11-21* defs.h: Incorporate param.h. All users changed.John Gilmore1-1/+0
* 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-11-16Fixed a syntax error.Sean Eric Fagan1-1/+1
1991-11-15ansi name abuse changesDavid Henkel-Wallace1-1/+8
1991-11-12Fixes related to handling of C++ methods (handle destructorsPer Bothner1-0/+2
and parameters that are functions).
1991-11-06Add C++ as a separate language.Per Bothner1-4/+22
Also, fix a C++ problem when looking for methods in super-classes. (There was confusion between base and derived types.)
1991-10-27* c-exp.y (yyerror): Pass error message if given.John Gilmore1-1/+1
* configure.in: Add rs6000 host and target. * inflow.c (new_tty): O_NOCTTY kludge for RS/6000. * symfile.h (entry_point): Add.
1991-10-24Add three new builtin types (builtin_type_long_double, builtin_type_complex,Fred Fish1-23/+53
and builtin_type_double_complex). Also add and use various TARGET_<TYPE>_BIT macros to indicate the sizes of various types on the target machine.
1991-10-04* c-exp.y: sym->class to SYMBOL_CLASS (sym).John Gilmore1-1/+1
* dbxread.c (dbx_lookup_type): Keep doubling size of typevector until it is large enough.
1991-09-28* c-exp.y, m2-exp.y: Define more yysymbols that happen to beJohn Gilmore1-0/+8
"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-0/+2
* m2-exp.y: Avoid using yytname[] which is a Bison-ism.
1991-09-19LintJohn Gilmore1-2/+3
1991-09-19* parse.c: New file with the common code remains of expread.y.John Gilmore1-0/+1513
* 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.