427d778c2c
* xcoffexec.c: Remove ' from comment.
...
* 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 20:15:03 +00:00
d1140eb5e3
* xcoffexec.c (map_vmap): Turn comment into a real C comment.
1992-06-16 16:03:54 +00:00
1e939db157
* xcoffexec.c (vmap_exec): Don't assume .text and .data are the
...
first two sections.
1992-05-09 21:49:28 +00:00
2d6d969c61
Fix to dwarfread.c to target pointer and target long sizes, fixes for
...
mapped symbol file handling, and a couple of other misc small fixes.
1992-04-17 02:59:43 +00:00
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.
1992-04-03 20:25:57 +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
1eeba68641
Merged in latest RS6000 diffs from Metin G. Ozisik.
1992-03-29 22:33:35 +00:00
5e2e79f859
Many changes, most related to creating entry point information on a per-objfile
...
basis. See comments in objfiles.h and details in ChangeLog. Also remove
redundant definitions of FRAME_CHAIN_VALID from most of the tm-* files and
use a default definition in frame.h.
1992-03-21 01:56:01 +00:00
b0246b3bec
Changes to implement the -mapped and -readnow options for commands that
...
read symbol tables.
1992-03-18 16:43:25 +00:00
507e40040c
Mostly merged in changes from IBM (Metin); see ChangeLog.
1992-03-13 01:42:25 +00:00
a846ac554c
* symfile.h: Add prototype for iterate_over_msymbols().
...
* symtab.c (cplus_mangled_symbol): Add function.
* symtab.c (lookup_symbol): Call cplus_mangled_symbol via
iterate_over_msymbols to find demangled C++ symbol.
* xcoffexec.c (relocate_minimal_symbol): Return meaningful
value to iterate_over_msymbols().
* xcoffexec.c (vmap_symtab): Ignore return from iterate_over_
msymbols().
1992-03-09 05:23:45 +00:00
d747e0af3d
Tue Mar 3 15:11:52 1992 Michael Tiemann (tiemann@cygnus.com)
...
* All GDB files that #include defs.h: Removed stdio.h.
(defs.h): #include stdio.h.
This has been tested by building GDBs for all targets hosted on Sun4.
None of the build problems were related to stdio.h inclusion. (n.b.
many configurations don't build for other reasons.)
1992-03-03 23:26:26 +00:00
4ef09e3613
* rs6000-xdep.c (frame_initial_stack_address): Move
...
code to set frame->cache_fsr into new separate function
frame_get_cacahe_fsr. This allows fixing a fatal error.
* xcoffexec.c: Turn previously suppressed error
message back on, after cleaning up BFD.
1992-03-02 06:46:32 +00:00
6c6afbb92b
More changes, mostly from IBM for rs6000. (See ChangeLog.)
1992-03-02 01:55:31 +00:00
818de002b6
Mostly rs6000 changes from IBM.
1992-02-29 06:03:43 +00:00
1ab3bf1b14
* Check in Fred Fish's changes in these modules. Fred
...
will make ChangeLog entries for all of them.
1992-02-22 01:46:16 +00:00
e17960fb42
* core.c, eval.c, exec.c, inftarg.c, remote-adapt.c, remote-eb.c,
...
remote-hms.c, remote-mm.c, remote-nindy.c, remote-vx.c, remote.c,
target.c, target.h, valarith.c, valops.c, value.h, xcoffexec.c:
Remove to_call_function and target_call_function, since it
always calls the same thing (call_function_by_hand).
1992-02-21 01:34:46 +00:00
4369a1406f
* Makefile.in: VERSION 4.2.96.
...
* main.c (initialize_main): Revise command descriptions.
* command.c (show_user): `info user' -> `show user'.
* symtab.c (_initialize_symtab): Typo in `info types' desc.
* coffread.c (coff_symfile_read): Avoid select_source_symtab,
since it is not needed and can cause errors when examining ".o"s.
(read_coff_symtab, decode_base_type): Use complain, not printf.
Print symbol name, not its number.
Remove "#if defined(clipper) #define BELIEVE_PCC_PROMOTION", which
someday should go in a clipper target config file.
* symfile.c (compact_misc_function_vector): Handle empty vector.
(complain, clear_complaints, syms_from_objfile): Fix complaint
formatting.
* xcoffexec.c: Change syms_from_objfile caller.
1991-12-04 08:36:17 +00:00
76b28d05a2
Add /* */ to #if 0'd thing to help ANSI.
1991-11-21 22:08:25 +00:00
7d9884b927
* defs.h: Incorporate param.h. All users changed.
...
* 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-21 18:42:05 +00:00
41abdfbd2d
* rs6000-pinsn.c, rs6000-tdep.c, rs6000-xdep.c, tm-rs6000.h,
...
xm-rs6000.h: New files.
* xcoffexec.c: New file for handling AIX shared libraries.
1991-11-12 15:50:47 +00:00