Roland Pesch
cc9bc574ec
Updates to text on "info proc".
35 years ago
Stu Grossman
995e7f86f3
* xm-vaxult.h: Add decl for strdup().
35 years ago
Stu Grossman
6f2a109c2c
* detach.c (mmalloc_detach): Arg should be PTR, not void *.
Fixes complaints from non __STDC__ systems.
35 years ago
Roland Pesch
95d5ceb921
0) Update descriptions of symbol-file, file, add-symbol-file cmds for use
of *options* "-readnow" and "-mapped".
1) Change title/subtitle to come closer to text used by FSF when they
printed this thing (but still avoid silliness of having word "manual" in
the title).
2) First few minor corrections from most recent Chassell pass.
35 years ago
Stu Grossman
ce9260ae3e
* Makefile.in: Add dependancies for xm-vaxbsd.h and xm-vaxult.h
for xm-vax.h.
35 years ago
Stu Grossman
dd7368a7cf
* configure: Quote $( better. Keep various shells happy.
35 years ago
Stu Grossman
bf2261244a
*** empty log message ***
35 years ago
Steve Chamberlain
9d1fe8a410
New lexer.
New targets for h8/300 simulator and DOS
35 years ago
Stu Grossman
b2de19e3c6
* buildsym.h, dbxread.c, mipsread.c: Add objfile arg to
process_one_symbol.
35 years ago
Per Bothner
556f3d9029
* munch: Must pre-pend "_" to "initialize" for SYSV style nm.
* tm-rs6000.h, xcoffexec.c, xcoffread.c, xm-rs6000.h:
Merge in more patches for rs6000 from Metin Ozisik.
* utils.c: Fix typo in comment.
35 years ago
Fred Fish
677ff94729
Cast macro args to unsigned to avoid complaints from compiler and lint
about integer overflow during left shift of 16 bits.
35 years ago
Fred Fish
d65eee73d4
Fix bug with gdb resending SIGSTOP to an attached process that was forcibly
stopped during attach, thus stopping it again.
35 years ago
Stu Grossman
4d0d3491e3
version = 4.4.86
35 years ago
Stu Grossman
239e7ee90f
* Makefile.in (SFILES_MAINDIR): add mipsread.c
35 years ago
John Gilmore
2bdc4094ab
Add sun4os5 (Solaris) config files.
35 years ago
John Gilmore
ede23f3b2f
Sort the names, since the file renaming.
35 years ago
John Gilmore
291dcdc65c
New sym files
35 years ago
John Gilmore
e10a30523e
* Makefile.in (OBS): Compile mipsread.c for all targets now.
(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.
35 years ago
John Gilmore
29acf1753a
Don't need to bring in mipsread.o specially any more.
35 years ago
John Gilmore
9e1cd294b5
Date: Thu, 2 Apr 92 15:48:13 -0800
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.
35 years ago
Stu Grossman
4ad1963ee0
* mipsread.c (fixup_sigtramp): Also look for _sigtramp as a real
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.
35 years ago
John Gilmore
79a6ce4fa6
* Makefile.in: Now that we have sym.h and symconst.h, compile
coff-msym.c on all systems.
* coff-msym.c: Update include files and comments; add weakext bit.
35 years ago
Fred Fish
5c1c5e6745
Fix bug in values.c unpacking signed characters on hosts where the default
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.
35 years ago
John Gilmore
03c93c664d
* buildsym.c (read_struct_type): Avoid coredump when C++
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.
35 years ago
John Gilmore
ac88ca205c
Lint.
* symfile.c (add_symbol_file_command): Initialize mapped/readnow.
35 years ago
John Gilmore
adf5061ceb
* archive.c, bfd.c, bout.c, coffcode.h, init.c, reloc.c,
section.c, srec.c, syms.c, coff-h8300.c: Lint.
35 years ago
Fred Fish
9640d88754
Add kludge to work around broken <stdlib.h> in gcc installation on Suns.
Fixup some comments in mcalloc, mfree, mmalloc, and mrealloc.
35 years ago
Fred Fish
cc221e76d6
Many changes to procfs.c, mostly to expand the "info proc" command and to
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.
35 years ago
Fred Fish
6b80138803
Changes in procfs.c to fix bug with inferior's siginfo struct getting
needlessly stomped. Changes in elfread.c and solib.c to fix DWARF
processing, broken by other recent changes.
35 years ago
Stu Grossman
3bec9cddbe
* mipsread.c (parse_procedure): PDR.isym should get pointer to
function name, not .gdbinfo. symbol.
35 years ago
John Gilmore
7e7ba5e2c4
Keep sun4os5 config files now that Sun says it's OK.
35 years ago
John Gilmore
e360572cf2
(breakpoint_1): Fix prototype, this time for sure!
35 years ago
Stu Grossman
5e8fdb82d9
* Makefile.in: version->4.4.8
35 years ago
Stu Grossman
fad3fc945a
* procfs.c (open_proc_file): Disable inherit-on-fork flag so that
commands in .cshrc/.profile won't get traced.
35 years ago
John Gilmore
3b0b92207c
* elfread.c (elf_symtab_read): Use xmalloc, not bfd_xmalloc.
* 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.
35 years ago
K. Richard Pixley
079b2abe97
add send_pr. remove "force" from .stmp-gprof rule. Supress echoing of all the "if [ -d ... $(MAKE)" lines.
35 years ago
Stu Grossman
5620a251c8
gdb.tar.Z: all-texinfo target is now .stmp-texinfo.
35 years ago
Stu Grossman
f8b4aa8ec3
* Makefile.in (alldeps.mak): Config files are now *.m[ht] as
opposed to m[ht]-*!
35 years ago
Stu Grossman
510a21946f
Add mh-aix
35 years ago
Stu Grossman
95e19a8afe
Add sysv4.h
35 years ago
Stu Grossman
a11565c970
Add irix4.h
35 years ago
Stu Grossman
9ef1e2da7c
Keep PORTING
35 years ago
Stu Grossman
9d4c62df07
* config/irix4.mh: Don't use coredep.o. It doesn't work with procfs.
35 years ago
Stu Grossman
d1bb1d4170
* mipsread.c (parse_symbol, parse_procedure): Re-do the way that
.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.
35 years ago
Per Bothner
d26b50b794
c-exp.y: Add missing return type to yyparse() prototype.
35 years ago
John Gilmore
be772100b5
Lint
35 years ago
John Gilmore
3414e4eb38
New host and target.
35 years ago
John Gilmore
c8950965c9
* Makefile.in (VERSION): Roll to 4.4.7.
(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.
35 years ago
John Gilmore
84ffdec2cb
Create and use macros for iterating on symtabs, psymtabs, msymbols.
* 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.
35 years ago
John Gilmore
f9e3b3ccc2
* target.c (nomemory): Now that higher levels examine errno, give EIO.
* 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.
35 years ago