aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1992-04-03New sym filesJohn Gilmore1-0/+2
1992-04-03* Makefile.in (OBS): Compile mipsread.c for all targets now.John Gilmore5-22/+30
(VERSION): Bump to 4.4.85. * mipsread.c: Update for new include files. Lint. * tm-irix3.h, tm-mips.h: Use new include files for ECOFF symtab. * config/{bigmips.mt, littlemips.mt, irix3.mt, decstation.mt}: Don't need to bring in mipsread.o specially any more.
1992-04-03Don't need to bring in mipsread.o specially any more.John Gilmore4-4/+4
1992-04-03Date: Thu, 2 Apr 92 15:48:13 -0800John Gilmore3-1/+693
From: wu@mips.com (Alex Wu) Message-Id: <9204022348.AA20058@goofy.mips.com> To: gnu@cygnus.com Subject: sym.h & symconst.h John, I finally get our lawyer's approval. Here is the symconst.h and the sym.h. Please let me know if there is anything else I can help.
1992-04-03* mipsread.c (fixup_sigtramp): Also look for _sigtramp as a realStu Grossman4-36/+52
routine (for Irix-4.x). Make many funcs static and void. * mips-tdep.c (mips-frame-chain): Clean up, simplify. * (init_extra_frame_info): Don't trash cached value of frame pointer register. This fixes backtracing through routines that use alloca(). Generally clean up declarations of functions, and use typedefs and macros to reference data structures as appropriate. * tm-irix3.h, tm-mips.h (EXTRA_FRAME_INFO): use proper type for proc_desc element.
1992-04-03* Makefile.in: Now that we have sym.h and symconst.h, compileJohn Gilmore1-11/+4
coff-msym.c on all systems. * coff-msym.c: Update include files and comments; add weakext bit.
1992-04-02Fix bug in values.c unpacking signed characters on hosts where the defaultFred Fish3-15/+43
character type is unsigned. Add some cases to the tables in procfs.c for constants defined in newer SVR4 systems and reorder the tests for ioctl support of resetting the inherit-on-fork flag to favor the latest method using PIOCRESET.
1992-04-02* buildsym.c (read_struct_type): Avoid coredump when C++John Gilmore2-1/+6
abbreviated type name is messed up. Reported by Joe Buck. FIXME, we need to determine whether GDB or GCC needs to be smarter to correctly locate this type name. p*927 circumvention, needs real fix when Tiemann's back.
1992-04-02Lint.John Gilmore10-41/+62
* symfile.c (add_symbol_file_command): Initialize mapped/readnow.
1992-04-02* archive.c, bfd.c, bout.c, coffcode.h, init.c, reloc.c,John Gilmore1-0/+14
section.c, srec.c, syms.c, coff-h8300.c: Lint.
1992-04-01Add kludge to work around broken <stdlib.h> in gcc installation on Suns.Fred Fish3-0/+736
Fixup some comments in mcalloc, mfree, mmalloc, and mrealloc.
1992-04-01Many changes to procfs.c, mostly to expand the "info proc" command and toFred Fish6-125/+2140
fix a couple of small bugs. Changes to other files mostly to fix minor things pointed out by the SGI compiler. See ChangeLog for complete details.
1992-04-01Changes in procfs.c to fix bug with inferior's siginfo struct gettingFred Fish2-17/+84
needlessly stomped. Changes in elfread.c and solib.c to fix DWARF processing, broken by other recent changes.
1992-04-01* mipsread.c (parse_procedure): PDR.isym should get pointer toStu Grossman1-0/+5
function name, not .gdbinfo. symbol.
1992-04-01Keep sun4os5 config files now that Sun says it's OK.John Gilmore1-0/+2
1992-04-01(breakpoint_1): Fix prototype, this time for sure!John Gilmore1-1/+5
1992-03-31* Makefile.in: version->4.4.8Stu Grossman1-0/+2
1992-03-31* procfs.c (open_proc_file): Disable inherit-on-fork flag so thatStu Grossman2-0/+9
commands in .cshrc/.profile won't get traced.
1992-03-31* elfread.c (elf_symtab_read): Use xmalloc, not bfd_xmalloc.John Gilmore2-1/+8
* exec.c (build_section_table): Don't abort if no sections. * sparc-tdep.c (single_step): Lint. * utils.c (mrealloc): Handle realloc (0, size) case here.
1992-03-31add send_pr. remove "force" from .stmp-gprof rule. Supress echoing of all ↵K. Richard Pixley2-89/+166
the "if [ -d ... $(MAKE)" lines.
1992-03-31gdb.tar.Z: all-texinfo target is now .stmp-texinfo.Stu Grossman1-1/+1
1992-03-31* Makefile.in (alldeps.mak): Config files are now *.m[ht] asStu Grossman2-1/+4
opposed to m[ht]-*!
1992-03-31Add mh-aixStu Grossman1-0/+1
1992-03-31Add sysv4.hStu Grossman1-0/+1
1992-03-31Add irix4.hStu Grossman1-0/+1
1992-03-31Keep PORTINGStu Grossman1-1/+5
1992-03-31* config/irix4.mh: Don't use coredep.o. It doesn't work with procfs.Stu Grossman2-1/+3
1992-03-31* mipsread.c (parse_symbol, parse_procedure): Re-do the way thatStu Grossman4-110/+65
.gdbinfo. symbols are created. Move creation from parse_procedure to parse_symbol, where it is fairly easy to grow the symtab. This also fixes a symtab trashing bug on all mips-based systems. * (got_numargs, lookup_numargs, free_numargs): Delete. Not needed anymore. * tm-mips.h, tm-iris3.h, mips-tdep.c, mipsread.c: Re-do struct mips_extra_func_info, and all the PROC_xxx macros that look at it.
1992-03-30c-exp.y: Add missing return type to yyparse() prototype.Per Bothner2-0/+5
1992-03-29LintJohn Gilmore19-97/+258
1992-03-29New host and target.John Gilmore2-0/+24
1992-03-29* Makefile.in (VERSION): Roll to 4.4.7.John Gilmore3-46/+57
(HFILES): Add call-cmds.h. * call-cmds.h: New header for command fns called by other files. * breakpoint.c (watchpoints_info): Remove, same as breakpoints_info. (breakpoint_1): Remove unused type arg. Change callers.
1992-03-29Create and use macros for iterating on symtabs, psymtabs, msymbols.John Gilmore8-573/+215
* minsyms.c (iterate_over_msymbols): Remove; clunky and slow. * symfile.h, symtab.h (iterate_over_msymbols): Remove prototype * coffread.c (coff_symfile_read): iterate_over_symtabs => ALL_SYMTABS. (patch_opaque_types): Avoid dummy args and result. * objfiles.c (have_partial_symbols, have_full_symbols, have_minimal_symbols): explicit iteration => ALL_OBJFILES; simplify. (iterate_over_objfiles, iterate_over_symtabs, iterate_over_psymtabs): Remove, clunky and slow. * objfiles.h: Replace iterate_over_* prototypes with ALL_SYMTABS, ALL_PSYMTABS, and ALL_MSYMBOLS macros. * symmisc.c (dump_symtab, dump_psymtab, dump_msymbols, dump_objfile): Remove dummy args and results. Move filename comparisons to callers. (printsyms_command, printpsyms_command, printmsyms_command, printobjfiles_command): iterate_over_* => ALL_*. Compare filenames. * symtab.c (lookup_symtab_1, lookup_symtab, lookup_partial_symtab, lookup_symbol, find_main_psymtab, find_pc_symtab, sources_info, list_symbols, make_symbol_completion_list): Replace explicit iteration with ALL_SYMTABS, ALL_PSYMTABS, or ALL_MSYMBOLS. Eliminate Dijkstra flag crap, break out of loops with gotos. (lookup_symtab_1): Protect '/' tests from short filenames. (cplus_mangled_symbol): Move inline into lookup_symbol. * xcoffexec.c (relocate_objfile_msymbols): Remove poor hack. (relocate_minimal_symbol): Move inline to vmap_symtab. (vmap_symtab): Replace iteration with ALL_OBJFILES, iterate_over_msymbols with ALL_MSYMBOLS. Misc cleanup prior to release. * dwarfread.c (dwarf_build_psymtabs): Remove mainline test. * mipsread.c (compare_symtabs, compare_psymtabs): Remove, unused. * mipsread.c: Add prototypes for all static functions. * symmisc.c (dump_symtab_lines, dump_symtabs, dump_last_symtab, dump_blockvector, dump_block, dump_addrchass, dump_namespace, dump_symbol, dump_type, dump_linetable, dump_strtbl): Remove, unused. * xcoffread.c (dump_symtab_lines, dump_symtabs, dump_last_symtab, dump_blockvector, dump_block, dump_addrchass, dump_namespace, dump_symbol, dump_type, dump_linetable, dump_strtbl): Remove 2nd unused copy! * buildsym.c (define_symbol): Handle global register variables (from Pierre Willard). Complain if register numbers are too large.
1992-03-29* target.c (nomemory): Now that higher levels examine errno, give EIO.John Gilmore6-45/+174
* tm-sparc.h: Don't #include <sun4/reg.h>. * sparc-tdep.c (sparc_frame_chain, frame_saved_pc): Remove dependency on <sun4/reg.h>. Start to handle cross-byte-order. * language.h: Avoid forward enum declaration. * configure.in, tm-sun4os5.h, xm-sun4os5.h, config/sun4os5.mh, config/sun4os5.mt: New host and target. * defs.h (errno): #include <errno.h> rather than assuming int. From Pierre Willard.
1992-03-29Merged in latest RS6000 diffs from Metin G. Ozisik.Per Bothner19-120/+607
1992-03-29* config/sparc-elf.mt, hosts/sysv4.h: New config files.John Gilmore1-0/+66
1992-03-29* bout.c, coff-a29k.c, coff-i960.c: Lint.John Gilmore1-2/+2
* configure.in: Add new host and target configs. * elf.c (bfd_prstatus, bfd_fpregset): Avoid typename of register structs, which vary; just use member name. (elf_object_p, elf_core_file_p): Lint, fix comments. * config/sparc-elf.mt, hosts/sysv4.h: New config files.
1992-03-28Fix to use a single disposable copy of section header table and programFred Fish2-42/+39
header table entries.
1992-03-28Add OBJF_SYMS flag and use it to decide whether or not we have alreadyFred Fish3-51/+60
tried to read symbols from a file, for mapped objfiles. This fixes a memory leak (actually a constant memory growth) due to reading symbol files with no debug info and thus generating no psymtabs or symtabs. Most typically happened with shared libraries.
1992-03-27Misc cleanups from code review.John Gilmore7-49/+48
1992-03-27More cleanups for gprof, especially with the '386 target.Sean Eric Fagan2-4/+10
1992-03-27Added support for building on/for an embedded 386 using encapsulated coff.Sean Eric Fagan1-1/+1
1992-03-27Put in stuff necessary for gprof to be built, cleaned up, etc.Sean Eric Fagan2-8/+69
1992-03-27Document requirements for calling mmcheck to install corruption checkingFred Fish3-0/+412
hooks and set up to enforce the requirements. However, we still allow unconditional installation until some complications are resolved.
1992-03-27Mostly changes to dbxread.c to preserve stringtab's on a per-objfileFred Fish5-261/+331
basis, for use in expanding psymtabs to full symtabs. See ChangeLog for other details.
1992-03-27Set MINIMIZE to 0 for a real release.John Gilmore1-0/+9
1992-03-26 * rs6000-pinsn.c: Make dis-assembly output more likePer Bothner1-50/+43
other targets: Don't print instruction in hex before the assembly; use print_address to print out jump destinations.
1992-03-26 * c-exp.y, gdbtypes.h: Add builtin_type_signed_char.Per Bothner4-0/+21
* cplus-dem.c: Support "Sc" meaning "signed char".
1992-03-25* configure.in: fix iris/iris3.Stu Grossman2-1/+5
1992-03-25 * command.c, main.c (various places): Use ctype.h macrosPer Bothner2-7/+15
(such as isupper(x)), instead of hard-wiring in ASCII-isms (such as (x >= 'A' && x <= 'Z')). (There are still more of these in other files.) * main.c (defined_command): Lower-case the user's new command before entering it. Needed because command lookup is case-insensitive (and also lower-cases). (Based on Metin's earlier patch.)