3bec9cddbe
* mipsread.c (parse_procedure): PDR.isym should get pointer to
...
function name, not .gdbinfo. symbol.
1992-04-01 01:50:30 +00:00
7e7ba5e2c4
Keep sun4os5 config files now that Sun says it's OK.
1992-04-01 01:08:06 +00:00
e360572cf2
(breakpoint_1): Fix prototype, this time for sure!
1992-04-01 01:07:16 +00:00
5e8fdb82d9
* Makefile.in: version->4.4.8
1992-03-31 20:00:06 +00:00
fad3fc945a
* procfs.c (open_proc_file): Disable inherit-on-fork flag so that
...
commands in .cshrc/.profile won't get traced.
1992-03-31 19:03:28 +00:00
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.
1992-03-31 16:16:41 +00:00
079b2abe97
add send_pr. remove "force" from .stmp-gprof rule. Supress echoing of all the "if [ -d ... $(MAKE)" lines.
1992-03-31 06:35:16 +00:00
5620a251c8
gdb.tar.Z: all-texinfo target is now .stmp-texinfo.
1992-03-31 06:31:05 +00:00
f8b4aa8ec3
* Makefile.in (alldeps.mak): Config files are now *.m[ht] as
...
opposed to m[ht]-*!
1992-03-31 05:23:15 +00:00
510a21946f
Add mh-aix
1992-03-31 04:51:02 +00:00
95e19a8afe
Add sysv4.h
1992-03-31 04:49:27 +00:00
a11565c970
Add irix4.h
1992-03-31 04:46:53 +00:00
9ef1e2da7c
Keep PORTING
1992-03-31 04:44:32 +00:00
9d4c62df07
* config/irix4.mh: Don't use coredep.o. It doesn't work with procfs.
1992-03-31 02:36:24 +00:00
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.
1992-03-31 01:21:01 +00:00
d26b50b794
c-exp.y: Add missing return type to yyparse() prototype.
1992-03-30 22:19:14 +00:00
be772100b5
Lint
1992-03-29 23:26:47 +00:00
3414e4eb38
New host and target.
1992-03-29 23:22:35 +00:00
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.
1992-03-29 23:18:31 +00:00
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.
1992-03-29 23:17:36 +00:00
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.
1992-03-29 23:14:34 +00:00
1eeba68641
Merged in latest RS6000 diffs from Metin G. Ozisik.
1992-03-29 22:33:35 +00:00
be78a1301f
* config/sparc-elf.mt, hosts/sysv4.h: New config files.
1992-03-29 18:46:10 +00:00
c86190dd2a
* bout.c, coff-a29k.c, coff-i960.c: Lint.
...
* 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-29 18:45:43 +00:00
d4acec2c22
Fix to use a single disposable copy of section header table and program
...
header table entries.
1992-03-28 21:10:05 +00:00
bf349b77fa
Add OBJF_SYMS flag and use it to decide whether or not we have already
...
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-28 21:06:23 +00:00
c2e4669f8c
Misc cleanups from code review.
1992-03-27 23:56:15 +00:00
46f88c1138
More cleanups for gprof, especially with the '386 target.
1992-03-27 22:11:14 +00:00
a95888ed71
Added support for building on/for an embedded 386 using encapsulated coff.
1992-03-27 22:10:04 +00:00
9a14a29d8a
Put in stuff necessary for gprof to be built, cleaned up, etc.
1992-03-27 22:08:47 +00:00
01fb5bca1c
Document requirements for calling mmcheck to install corruption checking
...
hooks and set up to enforce the requirements. However, we still allow
unconditional installation until some complications are resolved.
1992-03-27 01:11:08 +00:00
3624c87592
Mostly changes to dbxread.c to preserve stringtab's on a per-objfile
...
basis, for use in expanding psymtabs to full symtabs. See ChangeLog
for other details.
1992-03-27 01:04:14 +00:00
17904eeb4d
Set MINIMIZE to 0 for a real release.
1992-03-27 01:00:58 +00:00
9efdc2feaa
* rs6000-pinsn.c: Make dis-assembly output more like
...
other targets: Don't print instruction in hex before
the assembly; use print_address to print out jump
destinations.
1992-03-26 21:22:50 +00:00
04f27ddc6d
* c-exp.y, gdbtypes.h: Add builtin_type_signed_char.
...
* cplus-dem.c: Support "Sc" meaning "signed char".
1992-03-26 08:33:43 +00:00
88f36033ee
* configure.in: fix iris/iris3.
1992-03-25 23:22:47 +00:00
5c71cf23f9
* command.c, main.c (various places): Use ctype.h macros
...
(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.)
1992-03-25 23:07:16 +00:00
c6b5156357
* history.c (stifle_history): Negative arg treated as zero.
1992-03-25 18:47:09 +00:00
88578a2a10
re-add -rm
1992-03-25 18:34:46 +00:00
787bc4fe9f
aix and irix4 support.
1992-03-25 07:52:24 +00:00
e855b0f8a8
add stamp-rcs to all
1992-03-25 07:51:57 +00:00
b4e2a59bef
remove gas from rs6000 build, use aix host fragment
1992-03-25 07:51:05 +00:00
0e693d0b0e
pass site_option to recursions
1992-03-25 07:49:53 +00:00
713db40a91
INSTALL_PROG -> INSTALL
1992-03-25 07:46:51 +00:00
00b6671ff2
added standard targets, fixed install directories
1992-03-25 07:41:41 +00:00
fd2329d713
stuff from latest install
1992-03-25 07:30:51 +00:00
c0abb570d7
remove srcdir from gdb.info rule
1992-03-25 07:29:45 +00:00
a00d0abd6f
irix4 support
1992-03-25 07:27:36 +00:00
0a22f63e7c
* infcmd.c (step_1): Call disable_longjmp_breakpoint at the right
...
time.
1992-03-25 05:50:53 +00:00
9d53db1ac7
* xm-mips.h: declare strdup for ultrix.
1992-03-25 01:57:29 +00:00