aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1992-06-18* xm-rs6000.h: Fix decls for malloc, realloc, and free.Stu Grossman2-3/+5
1992-06-17* tm-rs6000.h: Remove #include of inferior.h. Fixes manyStu Grossman1-2/+0
compilation errors.
1992-06-17* xm-rs6000.h: Add decl for strdup().Stu Grossman2-1/+4
1992-06-17* xm-rs6000.h: Remove #include of inferior.h. Fixes manyStu Grossman1-0/+3
compilation errors.
1992-06-17* breakpoint.c (enable_command, disable_command): Without args,Stu Grossman2-23/+44
should only affect normal breakpoints and watchpoints.
1992-06-17* m68k-pinsn.c (print_insn_arg): Make register be const.Stu Grossman1-1/+1
1992-06-17* xcoffexec.c: Remove ' from comment.Stu Grossman3-1/+15
* xm-sun3os4.h: Define MALLOC_INCOMPATIBLE to avoid conflicts with decls of malloc in c-exp.tab.c (as produced by yacc). There's got to be a better way to do this...
1992-06-17 * partial-stab.h: Convert single rindex use to strrchr.Fred Fish2-1/+8
* mipsread.c, dbxread.c: Remove troublesome inclusion of non- standard <strings.h> file, now that the only single use of rindex in the gdb source files is gone.
1992-06-17 * mipsread.c: Undo ill effects from including <strings.h>,Fred Fish2-2/+13
which #defines index to be strchr. Unfortunately, index is a member of a symbol table structure that can't be changed. * mipsread.c: tm-mips.h includes coff/symconst.h and coff/sym.h, remove redundant #include's.
1992-06-16Add demangle.h to HFILES.Stu Grossman1-2/+2
1992-06-16Unscrew this file... (Been up too long I think...)Stu Grossman1-1065/+641
1992-06-16Keep sun4sol2.m{th}.Stu Grossman1-0/+2
1992-06-16Keep tm-sun4sol2.h and xm-sun4sol2.h.Stu Grossman1-0/+2
1992-06-16More 29k crap to remove!Stu Grossman1-1/+0
1992-06-16One mo time...Stu Grossman1-2/+2
1992-06-16Fixup install.all target so that install-texinfo can be removed properly by GDBStu Grossman1-641/+1065
packaging procedures.
1992-06-16Remove 29k/UDI stuff for now. For the time being, the original Makefile isStu Grossman1-34/+2
called Makefile.in-29k-UDI.
1992-06-16Save Makefile with 29k stuff for later.Stu Grossman1-0/+754
1992-06-16Remove 29k/UDI for now.Stu Grossman1-2/+0
1992-06-16* mipsread.c: #include <strings.h> for rindex().Stu Grossman2-6/+13
1992-06-16 * xcoffexec.c (map_vmap): Turn comment into a real C comment.Fred Fish2-3/+7
1992-06-16* dbxread.c (process_one_symbol), partial-stab.h: IgnoreStu Grossman3-34/+50
extraneous SO stabs from busted C++ compilers.
1992-06-15 * Makefile.in (VERSION): Bump to 4.5.5.Fred Fish5-20/+36
* symtab.c (decode_line_1): Until C++ support stabilizes, when C++ lookups fail, print possibly helpful hint about completion. * cplus-dem.c (demangle_signature): Fix ARM style demangling for static data members. * dbxread.c (dbx_psymtab_to_symtab_1): Fix prototype. * config/ncr3000.mh (INSTALL): Don't use /usr/ucb/install, it's broken on ncr3000's.
1992-06-15* dwarfread.c (decode_modified_type): Change type of first arg.Fred Fish3-57/+125
Change 'modifier' to char from unsigned char. Cast single use that needs to be unsigned char. * symtab.h (SYMBOL_BASEREG_VALID): Explain disabling. * utils.c (strdup_demangled): Add function. * defs.h (strdup_demangled): Add prototype. * stack.c (return_command): Demangle C++ function names for query. * infcmd.c (jump_command): Demangle C++ function names for query. * cplus-dem.c (consume_count): New function and prototype. * cplus-dem.c (demangle_class, gnu_special, demangle_func_type, do_type): Replace conversion code with consume_count(). * cplus-dem.c (gnu_special): Fix demangled of static members. * source.c (list_command): Print demangled function names when appropriate. Fix supplied by Peter Schauer.
1992-06-15* buildsym.c (define_symbol): Nameless types are now on severalJohn Gilmore1-7/+5
platforms; generalize them and un-ifdef them to make Solaris 2 work.
1992-06-15* infcmd.c: Fix typo (reported by Rob Savoye).John Gilmore2-1/+8
* xm-sun4sol2.h (gregset_t): Thinko in register set definition. * symtab.h: Disable SYMBOL_BASEREG_VALID until it works. * dbxread.c (dbx_psymtab_to_symtab_1): Renamed from psymtab_to_symtab_1. Use current psymtab's sym_offset and symbol_size, rather than the one for the first file in the dependency chain.
1992-06-14* dbxread.c (end_psymtab): Only reset texthigh if it's not alreadyJohn Gilmore3-17/+44
set. Don't reset our own texthigh, or dependency-only pst's, in scanning all the rest of the psymtabs. (process_one_symbol): Fix comments around N_OBJ, N_OPT, N_UNDF. * buildsym.h (N_UNDF): Improve comments. (N_LSYM, etc): Skip types without names (":T(0,3)=sfoob...").
1992-06-13* symtab.h (struct symbol): Add aux_value union for preservingFred Fish2-21/+30
an additional per-symbol value. * symtab.h (SYMBOL_BASEREG, SYMBOL_BASEREG_VALID): Add defines. * frame.h (FRAME_GET_BASEREG_VALUE): Provide default definition. * findvar.c (read_var_value): Use SYMBOL_BASEREG if valid. * printcmd.c (address_info): Use SYMBOL_BASEREG if valid. * symmisc.c (print_symbol): Use SYMBOL_BASEREG if valid.
1992-06-13Make `clear_symtab_users_once' non-static so objfiles can be linked.Michael Tiemann1-0/+5
1992-06-13* elfread.c (record_minimal_symbol_and_info): Kludged to putJohn Gilmore5-18/+134
extra info in the minimal symbol. (elf_symtab_read): The extra info is the size of an ELF object, which was kludged to us in the `udata' field of the BFD symbol. Gag me with a crowbar... (elf_symfile_read): Keep track of both the absolute load address, and the offset between load addr and symbols. Handle STABS as well as DWARF sections, passing the absolute load address to elfstab_build_psymtabs. * objfiles.c (free_objfile): Eliminate storage leaks. Contributed by <Peter.Schauer@regent.e-technik.tu-muenchen.dbp.de>. * symfile.c (symfile_bfd_open): Comment where name is freed. * symmisc.c (extend_psymbol_list): Comment where list is freed.
1992-06-13* dbxread.c: Add symbol_size to struct dbx_symfile_info.John Gilmore4-65/+406
Add symbol_size and file offsets to struct symloc. Add static symbol_table_offset, string_table_offset, file_string_table_offset, next_file_string_table_offset, last_function_name. (add_old_header_file): Convert error() to complain()t. (dbx_symfile_read): Get symbol size via the objfile. Also get symbol_table_offset. (dbx_symfile_init): Record symbol size and count via the objfile. (dbx_next_symbol_text): Always add file_string_table_offset when accessing string table. (read_dbx_symtab): Initialize file_string_table_offset to 0. (SET_NAMESTRING): Use the offset. (end_psymtab): Large kludge to determine addresses where source files start and end (for the psymtab header). (psymtab_to_symtab_1): Set file_string_table_offset before reading. Get this, symbol size, and symbol offset, from psymtab. (read_ofile_symtab): Don't back up one symbol for Solaris2. Patch up last_source_start_addr if zero in N_SO. (process_one_symbol): Add variable function_start_offset. ( "", N_FUN, N_LBRAC, N_RBRAC, N_SLINE): Add ifdef for BLOCK_ADDRESS_FUNCTION_RELATIVE. ( "", N_OBJ, N_OPT): Ignore. (elfstab_build_psymtabs): New function to read stabs out of an ELF file. * Makefile.in: Accept $(BISON) even though we really want $(YACC). (gdb): use GLOBAL_CFLAGS when linking, too. * partial-stab.h (N_UNDF): Deal with Sol2 relative stringtab offsets. (N_OBJ, N_OPT): Ignore. ('f', 'F'): Save last function name. * symfile.h: Prototype elfstab_build_psymtabs. * symfile.c: Add almost-OK debug versions of add_psymbol_*to_list. * xm-sysv4.h: Add <limits.h> to avoid conflicting defns in defs.h.
1992-06-13Remove reg_names decl (now in defs.h).John Gilmore9-34/+14
1992-06-13LintJohn Gilmore1-1/+1
1992-06-13* buildsym.h: Add processing_acc_compilation flag.John Gilmore8-4/+320
* buildsym.c (read_sun_builtin_type, read_sun_floating_type): New. (define_symbol): Skip arg types in function entries. Resolve overloaded 'P' which acc uses for prototypes of functions called by this file. (read_type: 'b', 'r'): Handle Solaris2 builtin types. * minsyms.c (prim_record_minimal_symbol_and_info): Hack to save size of ELF symbols. FIXME. * tm-sun4os5.h: Rename to tm-sun4sol2.h. Update defines for Sol2. * xm-sun4os5.h: Rename to xm-sun4sol2.h. Hack more defines. * config/sun4os5.m[ht]: Rename to config/sun4sol2.m[ht]; new xm, tm.
1992-06-13* configure.in: Solaris config is sparc-sun-solaris2.John Gilmore4-2/+39
* config/sun4os5.m[ht]: Rename to config/sun4sol2.m[ht].
1992-06-12 * expprint.c (print_subexp): Add missing ']'.Fred Fish3-4/+38
* defs.h (reg_names): Fix declaration to match that in infcmd.c * stack.c (reg_names): Delete redundant (and inconsistent) decl. * WHATS.NEW: Point out improved C++ function name handling. * gdbtypes.c (lookup_fundamental_type): For now, use the same type names for both implicitly and explicitly signed integral types. See comment in the source code.
1992-06-11Two `long long' fixes from Robert R. Henry (rrh@dino.tera.com):John Gilmore3-75/+155
* defs.h (longest_to_int): Avoid void arm of ?: in error case. * expprint.c (print_subexp): Fix printing of register names.
1992-06-11Latest and greatest, many bug fixes, value annotations, stack frameStu Grossman1-122/+651
annotations, etc...
1992-06-11Small changes from Solaris port. The big stuff is not all working yet.John Gilmore10-71/+181
* inferior.h (register_valid): Declare. * remote-udi.c, rs6000-xdep.c, sparc-xdep.c, tm-rs6000.h: Remove decl. * objfiles.h (ALL_OBJFILE_{SYMTABS,PSYMTABS,MSYMBOLS}): Add macros for traversing the data structures in a single objfile. * tm-m88k.h, tm-sparc.h (REGISTER_NAMES): Remove extra semicolon. * tm-i960.h (REGISTER_NAMES): Cosmetic change. * infcmd.c: Lint.
1992-06-10 * c-exp.y, m2-exp.y: Move remapping defines for malloc andFred Fish8-16/+61
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-09Oops, forgot depend!Stu Grossman1-1/+6
1992-06-09* depend: rebuild to account for remote-st2000.c.Stu Grossman3-414/+261
* remote-st2000.c: Almost works now. * tm-st2000.h: Need to turn on HAVE_68881, else things won't compile.
1992-06-09 * c-exp.y (yylex): Recognize single-quoted strings that specifyFred Fish5-354/+204
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-06-09* Makefile.in: Roll VERSION to 4.5.4.John Gilmore16-21/+30
* Makefile.in, config/*.mh, config/*.mt: Rename TM_CFLAGS to MT_CFLAGS, XM_CFLAGS to MH_CFLAGS to match file names. * config/sun4os5.mh: Add MH_CFLAGS=-xs to save debug info.
1992-06-09TypoJohn Gilmore1-1/+1
1992-06-08See gdb/Changelog for details.Stu Grossman1-1/+1
1992-06-08* alldeps.mak: Rebuild to account for new files.Stu Grossman2-0/+23
* config/st2000.mt: Use tm-st2000.h, not tm-68k.h. * tm-st2000.h: New file.
1992-06-08* configure.in: Tandem debug monitor (st2000) support.Stu Grossman3-0/+1012
* remote-st2000.c, config/st2000.mt: ditto.
1992-06-08See gdb/Changelog for detailsStu Grossman1-0/+7
1992-06-05* blockframe.c (inside_entry_file, inside_main_func,John Gilmore1-1/+6
inside_entry_func): Return 0 if no symbols; avoid crashing.