binutils-gdb.git
29 years ago * configure.in: Don't configure gas for alpha-dec-osf*.
Ian Lance Taylor [Wed, 29 Nov 1995 17:09:41 +0000 (17:09 +0000)]
* configure.in: Don't configure gas for alpha-dec-osf*.

29 years agoFix typo.
David Edelsohn [Wed, 29 Nov 1995 03:36:46 +0000 (03:36 +0000)]
Fix typo.

29 years ago * Makefile.in (target_subdir): Define.
David Edelsohn [Wed, 29 Nov 1995 03:35:35 +0000 (03:35 +0000)]
* Makefile.in (target_subdir): Define.
(CC_FOR_TARGET, CXX_FOR_TARGET): Use it to find target libraries.
* configure.in (X_CFLAGS): Fix typo.
(target_subdir): Set to "${target_alias}/" if cross.
* configure: Regenerated.

29 years ago * Makefile.in (target_subdir): Define.
David Edelsohn [Wed, 29 Nov 1995 03:34:57 +0000 (03:34 +0000)]
* Makefile.in (target_subdir): Define.
(CC_FOR_TARGET, CXX_FOR_TARGET): Use it to find target libraries.
* configure.in (X_CFLAGS): Fix typo.
(target_subdir): Set to "${target_alias}/" if cross.
* configure.in: Regenerated.

29 years ago * dlltool.c (fill_ordinals): Don't reference d_export_vec if
David Edelsohn [Wed, 29 Nov 1995 01:25:25 +0000 (01:25 +0000)]
* dlltool.c (fill_ordinals): Don't reference d_export_vec if
there are no exported functions.

29 years ago * dbxread.c (dbx_symfile_read): Set block_address_function_relative
David Edelsohn [Tue, 28 Nov 1995 23:45:17 +0000 (23:45 +0000)]
* dbxread.c (dbx_symfile_read): Set block_address_function_relative
for `pe' format files.

29 years ago * configure.in: Default to --with-stabs for some targets for which
Ian Lance Taylor [Tue, 28 Nov 1995 22:15:27 +0000 (22:15 +0000)]
* configure.in: Default to --with-stabs for some targets for which
it makes sense: mips*-*-*, alpha*-*-osf*, i[345]86*-*-sysv4* and
i[345]86*-*-unixware*.

29 years ago * elf-bfd.h (struct elf_obj_tdata): Add segment_map field.
Ian Lance Taylor [Tue, 28 Nov 1995 22:02:13 +0000 (22:02 +0000)]
* elf-bfd.h (struct elf_obj_tdata): Add segment_map field.
* elf.c (make_mapping): New static function.
(map_sections_to_segments): New static function.
(elf_sort_sections): New static function.
(assign_file_positions_for_segments): New static function.
(map_program_segments): Remove.
(get_program_header_size): Remove sorted_hdrs, count, and
maxpagesize parameters.  Simplify.
(assign_file_positions_except_relocs): When generating an
executable, use assign_file_positions_for_segments.
(elf_sort_hdrs): Remove.
(_bfd_elf_sizeof_headers): Remove eliminated parameters from call
to get_program_header_size.

29 years ago * internal.h (struct elf_segment_map): Define.
Ian Lance Taylor [Tue, 28 Nov 1995 21:55:33 +0000 (21:55 +0000)]
* internal.h (struct elf_segment_map): Define.

29 years ago * magic.h: Renamed to gmagic.h to avoid <magic.h> conflict.
Fred Fish [Tue, 28 Nov 1995 19:33:22 +0000 (19:33 +0000)]
* magic.h:  Renamed to gmagic.h to avoid <magic.h> conflict.
* magic.c:  Renamed to gmagic.c in sympathy.
* eval.c, gmagic.c, config/tm-magic.h:
  Include "gmagic.h" rather than "magic.h".

29 years agoVarious Thanksgiving weekend hacks: clean up hash table, reduce various
Ken Raeburn [Tue, 28 Nov 1995 19:23:15 +0000 (19:23 +0000)]
Various Thanksgiving weekend hacks: clean up hash table, reduce various
structure sizes, stabs string memory use cleanup, statistics dump.

29 years agoClean up hash code, parameterize some actions, tweak some parameters. Hash
Ken Raeburn [Tue, 28 Nov 1995 19:21:09 +0000 (19:21 +0000)]
Clean up hash code, parameterize some actions, tweak some parameters.  Hash
table entries, table allocation and control structure are larger now, but
collisions are reduced and string compares even further reduced.

Dump lots more statistics, especially hash code data, for --statistics.  Dump
statistics even in error cases.

Details in ChangeLog.

29 years agoRemove unused sy_name_offset from ELF_TARGET_SYMBOL_FIELDS.
Ken Raeburn [Tue, 28 Nov 1995 19:09:58 +0000 (19:09 +0000)]
Remove unused sy_name_offset from ELF_TARGET_SYMBOL_FIELDS.

29 years agofix typo
Michael Meissner [Tue, 28 Nov 1995 18:57:30 +0000 (18:57 +0000)]
fix typo

29 years agoAdd determining when we do not have enough writeback slots; Do not do model specific...
Michael Meissner [Tue, 28 Nov 1995 18:47:07 +0000 (18:47 +0000)]
Add determining when we do not have enough writeback slots; Do not do model specific handling if not printing out the information

29 years ago * lexsup.c (parse_args): Set config.dynamic_link to false for -N
Ian Lance Taylor [Tue, 28 Nov 1995 17:15:37 +0000 (17:15 +0000)]
* lexsup.c (parse_args): Set config.dynamic_link to false for -N
and -n.

29 years agoBuild again on SunOS; Make MODEL_INLINE default to 1 if inlining, not 2; Use __attrib...
Michael Meissner [Mon, 27 Nov 1995 22:54:40 +0000 (22:54 +0000)]
Build again on SunOS; Make MODEL_INLINE default to 1 if inlining, not 2; Use __attribute__((const))

29 years ago * pr-5016.exp: xfail "whatis i" for alpha-osf-dec-osf2*, same as linux.
Fred Fish [Mon, 27 Nov 1995 22:44:38 +0000 (22:44 +0000)]
* pr-5016.exp: xfail "whatis i" for alpha-osf-dec-osf2*, same as linux.

29 years ago * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
Fred Fish [Mon, 27 Nov 1995 22:43:08 +0000 (22:43 +0000)]
* gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
"bt in signals.exp".
* gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
"step over execarg initialization" and
  "step over corearg initialization".
* gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
with sizeof(pointer) > sizeof(int).  Avoid "void *" or include files.

29 years ago * binutils-all/objcopy.exp: Correct fail calls to always use the
Ian Lance Taylor [Mon, 27 Nov 1995 20:16:37 +0000 (20:16 +0000)]
* binutils-all/objcopy.exp: Correct fail calls to always use the
same string as the pass call.

29 years ago * hp300hpux.c (MY(callback)): Set lma as well as vma.
Ian Lance Taylor [Mon, 27 Nov 1995 20:11:40 +0000 (20:11 +0000)]
* hp300hpux.c (MY(callback)): Set lma as well as vma.

29 years agofix last change
Ian Lance Taylor [Mon, 27 Nov 1995 20:02:12 +0000 (20:02 +0000)]
fix last change

29 years ago * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.
Ian Lance Taylor [Mon, 27 Nov 1995 19:39:09 +0000 (19:39 +0000)]
* ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.

* ld-srec/sr1.c (V_SPILL, V_FILL): Define.
* ld-srec/sr3.cc: Likewise.

29 years ago * config-ml.in: Get list of multidirs using gcc --print-multi-lib
Ian Lance Taylor [Mon, 27 Nov 1995 18:50:31 +0000 (18:50 +0000)]
* config-ml.in: Get list of multidirs using gcc --print-multi-lib
rather than basing it on the target.  Simplify handling of options
controlling which directories to configure.  Remove extraneous
slash in multi-clean target.

29 years ago * configure: Rebuild with autoconf 2.7.
Ian Lance Taylor [Mon, 27 Nov 1995 18:19:15 +0000 (18:19 +0000)]
* configure: Rebuild with autoconf 2.7.

29 years ago * configure: Rebuild with autoconf 2.7.
Ian Lance Taylor [Mon, 27 Nov 1995 18:11:02 +0000 (18:11 +0000)]
* configure: Rebuild with autoconf 2.7.

29 years ago * configure: Regenerate with autoconf 2.7.
Ian Lance Taylor [Mon, 27 Nov 1995 18:06:54 +0000 (18:06 +0000)]
* configure: Regenerate with autoconf 2.7.

29 years ago * configure, config.in: Regenerate with autoconf 2.7.
Ian Lance Taylor [Mon, 27 Nov 1995 18:02:58 +0000 (18:02 +0000)]
* configure, config.in: Regenerate with autoconf 2.7.

29 years ago * elf32-i386.c (elf_backend_plt_readonly): Set correctly, to 1.
Ian Lance Taylor [Mon, 27 Nov 1995 17:42:27 +0000 (17:42 +0000)]
* elf32-i386.c (elf_backend_plt_readonly): Set correctly, to 1.
* elf32-sparc.c (elf_backend_plt_readonly): Set correctly, to 0.
PR 8513.

29 years agoLeft out of last cvs commit...
Fred Fish [Sat, 25 Nov 1995 20:27:38 +0000 (20:27 +0000)]
Left out of last cvs commit...

29 years ago From Rob Savoye (rob@poseidon.cygnus.com)
Fred Fish [Sat, 25 Nov 1995 19:55:29 +0000 (19:55 +0000)]
From Rob Savoye  (rob@poseidon.cygnus.com)
* Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in, configure.in},
gdb.disasm/{Makefile.in, configure.in}, gdb.stabs/{Makefile.in, configure.in},
gdb.threads/{Makefile.in, configure.in}: Major reworking for autoconfig.
* aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt : New files.
* config/unix-gdb.exp:  Make GDB global.
* gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp, callfuncs.exp,
commands.exp, corefile.exp, crossload.exp, exprs.exp, funcargs.exp, interrupt.exp,
langs.exp, list.exp, mips_pro.exp, nodebug.exp, opaque.exp, printcmds.exp,
ptype.exp, recurse.exp, regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp,
signals.exp, term.exp, twice.exp, watchpoint.exp, whatis.exp},
  gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp, templates.exp,
virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp, misc.exp, pr-4975.exp,
pr-5016.exp, pr-5020.exp, pr-5022.exp, pr-5646.exp, pr-5984.exp, pr-6292.exp,
pr-6632.exp, pr-8134.exp, pr-8136.exp, result.exp, string.exp, tuples.exp},
gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
  to returns as necessary, arrange for test to compile own testcase executable.
* lib/gdb.exp: Changes for testsuite to compile own test cases.

From Fred Fish (fnf@cygnus.com)
* gdb.c++/classes.exp (test_pointers_to_class_members): Add
  clear_xfail at end of test which might not call either pass or fail.
* gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
"backtrace through signal handler".

29 years ago * mdebugread.c (handle_psymbol_enumerators, parse_symbol):
Peter Schauer [Sat, 25 Nov 1995 11:32:18 +0000 (11:32 +0000)]
* mdebugread.c (handle_psymbol_enumerators, parse_symbol):
Recognize enums from alpha cc -migrate.
(upgrade_type):  Pass correct fd to parse_symbol when parsing
the index type of an array.
(parse_procedure, parse_lines, psymtab_to_symtab_1):  Handle
unsorted procedure descriptors from Irix 5.x and Alpha OSF/1-3.x
shared libraries. Use CORE_ADDR instead of `unsigned long' in
procedure descriptor address computations.

* symtab.c (decode_line_1):  Prevent accidental strchr match
of a null character with the terminating null character of
gdb_completer_quote_characters.
(cplusplus_hint):  Make sure that only a single quote is printed
in the hint message.

29 years agoCheck lf_printf for type correctness
Michael Meissner [Sat, 25 Nov 1995 06:08:56 +0000 (06:08 +0000)]
Check lf_printf for type correctness

29 years agoMake WITH_MODEL_ISSUE==0 not core dump
Michael Meissner [Sat, 25 Nov 1995 05:56:28 +0000 (05:56 +0000)]
Make WITH_MODEL_ISSUE==0 not core dump

29 years ago * scripttempl/pe.sc: Two .junk's is too much junk.
David Edelsohn [Sat, 25 Nov 1995 02:37:58 +0000 (02:37 +0000)]
* scripttempl/pe.sc: Two .junk's is too much junk.

29 years ago * config-ml.in: Prefix more variables with ml_ so they don't collide
David Edelsohn [Sat, 25 Nov 1995 01:40:05 +0000 (01:40 +0000)]
* config-ml.in: Prefix more variables with ml_ so they don't collide
with configure's.

29 years agoSort instruction names; Add igen -R option; count # of CRs that mtcrf moved
Michael Meissner [Sat, 25 Nov 1995 01:35:14 +0000 (01:35 +0000)]
Sort instruction names; Add igen -R option; count # of CRs that mtcrf moved

29 years agoSort instruction names; Add igen -R option; count # of CRs that mtcrf moved
Michael Meissner [Sat, 25 Nov 1995 01:34:26 +0000 (01:34 +0000)]
Sort instruction names; Add igen -R option; count # of CRs that mtcrf moved

29 years ago * top.c (recurse_read_control_structure): Don't make cleanups
Jeff Law [Fri, 24 Nov 1995 23:21:38 +0000 (23:21 +0000)]
    * top.c (recurse_read_control_structure): Don't make cleanups
        here.  Callers handle that correctly.
Fixes 6794.

29 years agoFix warnings to everything can be compiled with -Wall; Redo model specific changes...
Michael Meissner [Fri, 24 Nov 1995 16:44:37 +0000 (16:44 +0000)]
Fix warnings to everything can be compiled with -Wall; Redo model specific changes once again to speed things up

29 years agoCount each type of conditional branch
Michael Meissner [Wed, 22 Nov 1995 21:02:49 +0000 (21:02 +0000)]
Count each type of conditional branch

29 years ago * dlltool.c (fill_ordinals): Start assigning ordinals at 1.
Ian Lance Taylor [Wed, 22 Nov 1995 20:47:19 +0000 (20:47 +0000)]
* dlltool.c (fill_ordinals): Start assigning ordinals at 1.
PR 8500.

29 years ago * ecoff.c (_bfd_ecoff_new_section_hook): Handle .rconst section.
Ian Lance Taylor [Wed, 22 Nov 1995 19:01:43 +0000 (19:01 +0000)]
* ecoff.c (_bfd_ecoff_new_section_hook): Handle .rconst section.
(ecoff_sec_to_styp_flags): Likewise.
(_bfd_ecoff_styp_to_sec_flags): Handle STYP_RCONST.
(ecoff_set_symbol_info): Handle scRConst.
(ecoff_slurp_reloc_table): Handle RELOC_SECTION_RCONST.
(ecoff_compute_section_file_positions): Handle .rconst section.
(_bfd_ecoff_write_object_contents): Likewise.
(ecoff_link_check_archive_element): Handle scRConst.
(ecoff_link_add_externals): Likewise.
(ecoff_link_write_external): Handle .rconst section.
(ecoff_reloc_link_order): Likewise.
* ecofflink.c (bfd_ecoff_debug_accumulate): Handle scRConst.
* coff-alpha.c (alpha_convert_external_reloc): Handle .rconst
section.
(alpha_relocate_section): Handle RELOC_SECTION_RCONST.

29 years ago * lib/utils-lib.exp (prune_system_crud): Discard -g -O warnings
Ian Lance Taylor [Wed, 22 Nov 1995 18:19:43 +0000 (18:19 +0000)]
* lib/utils-lib.exp (prune_system_crud): Discard -g -O warnings
from native compilers on OSF/1 and SunOS.

29 years ago * Makefile.in (EXPECT): Use $$r, not $${rootme}.
Ian Lance Taylor [Wed, 22 Nov 1995 18:18:21 +0000 (18:18 +0000)]
* Makefile.in (EXPECT): Use $$r, not $${rootme}.
(check): Set r, not rootme.

29 years ago * sunos.c (sunos_scan_dynamic_symbol): Only set written if the
Ian Lance Taylor [Wed, 22 Nov 1995 17:04:56 +0000 (17:04 +0000)]
* sunos.c (sunos_scan_dynamic_symbol): Only set written if the
DEF_DYNAMIC flag is set.
PR 8493.

29 years ago * configure: Don't turn -v into --v.
Ian Lance Taylor [Wed, 22 Nov 1995 16:30:36 +0000 (16:30 +0000)]
* configure: Don't turn -v into --v.

29 years ago * config/m68k/xm-hp300hpux.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.
Fred Fish [Wed, 22 Nov 1995 04:26:03 +0000 (04:26 +0000)]
* config/m68k/xm-hp300hpux.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.
Also force HAVE_MMAP to be defined since autoconf is currently broken
for detecting a working mmap under hpux.
* config/pa/xm-hppah.h (MMAP_BASE_ADDRESS): Tweak MMAP_BASE_ADDRESS
to a better value suggested by Jeffrey A Law (law@cygnus.com).

29 years ago* host-aout.c: If TRAD_HEADER is defined, include it.
Ken Raeburn [Wed, 22 Nov 1995 00:57:55 +0000 (00:57 +0000)]
* host-aout.c: If TRAD_HEADER is defined, include it.

29 years agoRemove C comment cruft.
David Edelsohn [Wed, 22 Nov 1995 00:53:19 +0000 (00:53 +0000)]
Remove C comment cruft.

29 years ago * configure.in (targargs): Fix typo.
David Edelsohn [Wed, 22 Nov 1995 00:49:42 +0000 (00:49 +0000)]
* configure.in (targargs): Fix typo.

29 years ago * Makefile.in (DEVO_SUPPORT): Add symlink-tree.
David Edelsohn [Wed, 22 Nov 1995 00:08:26 +0000 (00:08 +0000)]
* Makefile.in (DEVO_SUPPORT): Add symlink-tree.

29 years ago * aclocal.m4 (AC_PROG_CC): Remove local definition.
Ian Lance Taylor [Tue, 21 Nov 1995 23:39:59 +0000 (23:39 +0000)]
* aclocal.m4 (AC_PROG_CC): Remove local definition.
* configure: Rebuild with autoconf 2.6.

29 years ago * configure.in: Use BFD_NEED_DECLARATION.
Ian Lance Taylor [Tue, 21 Nov 1995 23:32:33 +0000 (23:32 +0000)]
* configure.in: Use BFD_NEED_DECLARATION.
* acconfig.h: Put NEED_DECLARATION_FREE in @TOP@ section.
* configure, config.in: Rebuild with autoconf 2.6.

29 years ago * configure: Rebuild with autoconf 2.6.
Ian Lance Taylor [Tue, 21 Nov 1995 23:28:45 +0000 (23:28 +0000)]
* configure: Rebuild with autoconf 2.6.

29 years ago * acconfig.h: Put NEED_DECLARATION_* in @TOP@ section.
Ian Lance Taylor [Tue, 21 Nov 1995 23:26:26 +0000 (23:26 +0000)]
* acconfig.h: Put NEED_DECLARATION_* in @TOP@ section.
* config.in: Rebuild with autoconf 2.6.

29 years ago * configure.in: Use BFD_NEED_DECLARATION.
Ian Lance Taylor [Tue, 21 Nov 1995 23:23:10 +0000 (23:23 +0000)]
* configure.in: Use BFD_NEED_DECLARATION.
* acconfig.h: Put NEED_DECLARATION_FPRINTF in @TOP@ section.
* configure, config.in: Rebuild with autoconf 2.6.

29 years ago * aclocal.m4 (AC_PROG_CC): Remove local definition.
Ian Lance Taylor [Tue, 21 Nov 1995 23:02:13 +0000 (23:02 +0000)]
* aclocal.m4 (AC_PROG_CC): Remove local definition.
(BFD_BINARY_FOPEN): Require AC_CANONICAL_SYSTEM.
(BFD_NEED_DECLARATION): New function.
* configure.in: Use BFD_NEED_DECLARATION.
* configure: Rebuild with autoconf 2.6.

29 years agoAdd floating point model specific support; Redo method model specific support is...
Michael Meissner [Tue, 21 Nov 1995 21:41:25 +0000 (21:41 +0000)]
Add floating point model specific support; Redo method model specific support is done; Add remaining floating add/subtract-multiply

29 years ago * xcofflink.c (bfd_xcoff_size_dynamic_sections): Clear
Ian Lance Taylor [Tue, 21 Nov 1995 21:25:35 +0000 (21:25 +0000)]
* xcofflink.c (bfd_xcoff_size_dynamic_sections): Clear
special_sections before returning when called with a non XCOFF
BFD.

29 years ago * ldmain.c (constructor_callback): Don't warn about BFD_RELOC_CTOR
Ian Lance Taylor [Tue, 21 Nov 1995 21:15:49 +0000 (21:15 +0000)]
* ldmain.c (constructor_callback): Don't warn about BFD_RELOC_CTOR
being unsupported if this is not a relocaeable link and the input
BFD supports it, since ldctor_build_sets can cope with that case.

29 years ago * ld-empic/empic.exp: Update for changes in objdump output.
Ian Lance Taylor [Tue, 21 Nov 1995 21:06:55 +0000 (21:06 +0000)]
* ld-empic/empic.exp: Update for changes in objdump output.

29 years agofix typo in last change
Ken Raeburn [Tue, 21 Nov 1995 19:28:35 +0000 (19:28 +0000)]
fix typo in last change

29 years ago* Makefile.in (.m.c): Strip out directory name from function name.
Ken Raeburn [Tue, 21 Nov 1995 19:26:27 +0000 (19:26 +0000)]
* Makefile.in (.m.c): Strip out directory name from function name.

29 years ago * configure.in: Strip --host and --target options from
Ian Lance Taylor [Tue, 21 Nov 1995 19:13:51 +0000 (19:13 +0000)]
* configure.in: Strip --host and --target options from
CONFIG_ARGUMENTS, and always configure for --host only.  Add
--with-cross-host option when building with a cross-compiler.
* configure: Canonicalize the arguments put into config.status by
always using `=' for an option with an argument.  Pass a presumed
--host or --target explicitly.

29 years ago* hist.c (scale_and_align_entries): Don't use DEFUN_VOID. Do UNITS_TO_CODE
Ken Raeburn [Tue, 21 Nov 1995 19:10:18 +0000 (19:10 +0000)]
* hist.c (scale_and_align_entries): Don't use DEFUN_VOID.  Do UNITS_TO_CODE
adjustment unconditionally; compiler can optimize away zero-offset case.  Refer
to scaled_addr, not aligned_addr.

29 years agovax.c doesn't need to include vax.h; gprof.h does it
Ken Raeburn [Tue, 21 Nov 1995 18:34:11 +0000 (18:34 +0000)]
vax.c doesn't need to include vax.h; gprof.h does it

29 years ago * config/pa/xm-hppah.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.
Fred Fish [Tue, 21 Nov 1995 18:19:58 +0000 (18:19 +0000)]
* config/pa/xm-hppah.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.
Also force HAVE_MMAP to be defined since autoconf is currently broken
for detecting a working mmap under hpux.

29 years ago * objfiles.c (map_to_address): Have gdb print a warning when it
Fred Fish [Tue, 21 Nov 1995 18:19:23 +0000 (18:19 +0000)]
* objfiles.c (map_to_address): Have gdb print a warning when it
is compiled with HAVE_MMAP but without both MMAP_BASE_ADDRESS and
  MMAP_INCREMENT defined (thus making it appear mmap doesn't work).

29 years ago * coffgen.c (coff_renumber_symbols): Sort common symbols with
Ian Lance Taylor [Tue, 21 Nov 1995 18:06:41 +0000 (18:06 +0000)]
* coffgen.c (coff_renumber_symbols): Sort common symbols with
global symbols.

29 years ago * coffcode.h (coff_compute_section_file_positions): Only pad the
Ian Lance Taylor [Tue, 21 Nov 1995 18:04:42 +0000 (18:04 +0000)]
* coffcode.h (coff_compute_section_file_positions): Only pad the
previous section to force file alignment when creating an
executable.
PR 8325.

29 years agominor cleanup
David Edelsohn [Tue, 21 Nov 1995 01:45:07 +0000 (01:45 +0000)]
minor cleanup

29 years ago * run.c: Include "getopt.h".
David Edelsohn [Tue, 21 Nov 1995 01:44:50 +0000 (01:44 +0000)]
* run.c: Include "getopt.h".
(verbose): Delete.
(usage): Make static.
(main): Call arm_sim_set_verbosity.
Only load sections marked SEC_LOAD.
* wrapper.c (mem_size, verbosity): New static global.
(arm_sim_set_mem_size): Renamed from sim_size.
Callers updated
(arm_sim_set_profile{,_size}): Renamed from sim_foo.  Callers updated.

29 years ago * infrun.c (wait_for_inferior): Add support for dynamic function
Stu Grossman [Mon, 20 Nov 1995 22:40:34 +0000 (22:40 +0000)]
* infrun.c (wait_for_inferior):  Add support for dynamic function
trampolines.  These are pieces of code between the caller and the
callee that figure out the address of the callee's code at run
time.  Upon entry, we can't figure out the callee's address, so we
set a breakpoint within the trampoline where the address will be
known, and continue the target.  Once we hit the breakpoint, we
break at the callee's address and proceed as usual.
start-sanitize-gm
* config/tm-magic.h:  Define DYNAMIC_TRAMPOLINE_NEXTPC.  Turn off
IN_SOLIB_CALL_TRAMPOLINE and IN_SOLIB_RETURN_TRAMPOLINE.
end-sanitize-gm

29 years ago * config/tc-ppc.c (ppc_debug_name_section_size): Remove.
Ian Lance Taylor [Mon, 20 Nov 1995 22:27:49 +0000 (22:27 +0000)]
* config/tc-ppc.c (ppc_debug_name_section_size): Remove.
(ppc_stabx): Don't increment ppc_debug_name_section_size.
(ppc_bc): Likewise.
(ppc_frob_file): Remove.
* config/tc-ppc.h (tc_frob_file): Don't define.
(ppc_frob_file): Don't declare.

29 years ago * coffcode.h (coff_compute_section_file_positions): If
Ian Lance Taylor [Mon, 20 Nov 1995 22:23:30 +0000 (22:23 +0000)]
* coffcode.h (coff_compute_section_file_positions): If
RS6000COFF_C, set up the .debug section.

29 years agoalpha fixes
Ken Raeburn [Mon, 20 Nov 1995 22:02:32 +0000 (22:02 +0000)]
alpha fixes

29 years agoone-operand versions of jmp, jsr
Ken Raeburn [Mon, 20 Nov 1995 21:08:05 +0000 (21:08 +0000)]
one-operand versions of jmp, jsr

29 years agonote dependence on alpha opcode table
Ken Raeburn [Mon, 20 Nov 1995 21:03:20 +0000 (21:03 +0000)]
note dependence on alpha opcode table

29 years ago * xcofflink.c (xcoff_link_input_bfd): Adjust the TOC anchor value
Ian Lance Taylor [Mon, 20 Nov 1995 19:57:30 +0000 (19:57 +0000)]
* xcofflink.c (xcoff_link_input_bfd): Adjust the TOC anchor value
if it is not large enough to accomodate the entire TOC area with
signed 16 bit offsets.
(xcoff_write_global_symbol): Handle negative TOC offsets in global
linkage code.
(_bfd_ppc_xcoff_relocate_section): Adjust relocations against a
TOC anchor to use the TOC value used in the output file.

29 years ago * objfiles.c (allocate_objfile): Change warning message about mapped
Fred Fish [Mon, 20 Nov 1995 19:22:40 +0000 (19:22 +0000)]
* objfiles.c (allocate_objfile): Change warning message about mapped
symbol tables so that it is obvious that they are not supported on
this particular machine rather than implying they are not supported
at all in this version of gdb.

29 years agorename te-delta88.h to avoid 8.3 conflict
Ken Raeburn [Mon, 20 Nov 1995 18:48:32 +0000 (18:48 +0000)]
rename te-delta88.h to avoid 8.3 conflict

29 years ago * stack.c (print_frame_info): Use minimal symbol only if
Peter Schauer [Mon, 20 Nov 1995 09:01:52 +0000 (09:01 +0000)]
* stack.c (print_frame_info):  Use minimal symbol only if
fi->pc is in a known section.

29 years agospeed up search for free function unit slightly.
Michael Meissner [Mon, 20 Nov 1995 04:05:36 +0000 (04:05 +0000)]
speed up search for free function unit slightly.

29 years agofix typo
Angela Marie Thomas [Sun, 19 Nov 1995 21:13:20 +0000 (21:13 +0000)]
fix typo

29 years ago * irix5-nat.c, osfsolib.c (solib_address): Return the name of the
Peter Schauer [Sun, 19 Nov 1995 13:31:52 +0000 (13:31 +0000)]
* irix5-nat.c, osfsolib.c (solib_address):  Return the name of the
containing solib.

29 years agodon't keep mips.. I don't think it's ready for primetime.
Angela Marie Thomas [Sun, 19 Nov 1995 10:12:19 +0000 (10:12 +0000)]
don't keep mips.. I don't think it's ready for primetime.

29 years agoremoved build-psim,config.make,config.hdr,function_unit.c,function_unit.h
Angela Marie Thomas [Sun, 19 Nov 1995 09:43:46 +0000 (09:43 +0000)]
removed build-psim,config.make,config.hdr,function_unit.c,function_unit.h

29 years agoadded ppc-bug.c to Things-to-keep
Angela Marie Thomas [Sun, 19 Nov 1995 09:36:55 +0000 (09:36 +0000)]
added ppc-bug.c to Things-to-keep

29 years agoremoved nm-irix5.h, nm-m3.h, nm-sysv4.h
Angela Marie Thomas [Sun, 19 Nov 1995 09:21:38 +0000 (09:21 +0000)]
removed nm-irix5.h, nm-m3.h, nm-sysv4.h

29 years agoremoved ppcbug-rom.o
Angela Marie Thomas [Sun, 19 Nov 1995 09:18:49 +0000 (09:18 +0000)]
removed ppcbug-rom.o

29 years ago * solib.c (solib_address): Return the name of the containing solib.
Fred Fish [Sun, 19 Nov 1995 07:16:03 +0000 (07:16 +0000)]
* solib.c (solib_address): Return the name of the containing solib.
* solib.h (PC_SOLIB): New macro; define using solib_address.
* stack.c (print_frame_info) [PC_SOLIB]: If no function name, try
PC_SOLIB on the PC value.

29 years ago * coffgen.c (_bfd_coff_get_external_symbols): Cast malloc return.
Ian Lance Taylor [Sat, 18 Nov 1995 23:04:26 +0000 (23:04 +0000)]
* coffgen.c (_bfd_coff_get_external_symbols): Cast malloc return.
(_bfd_coff_read_string_table): Likewise.

29 years agoClean up some comments.
David Edelsohn [Sat, 18 Nov 1995 20:05:06 +0000 (20:05 +0000)]
Clean up some comments.

29 years ago * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
Peter Schauer [Sat, 18 Nov 1995 12:25:18 +0000 (12:25 +0000)]
* gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.

29 years ago * annotate.c (annotate_source, annotate_frame_begin): Issue
Peter Schauer [Sat, 18 Nov 1995 12:19:25 +0000 (12:19 +0000)]
* annotate.c (annotate_source, annotate_frame_begin):  Issue
`0x' prefix for the pc value, to remain consistent with previous
GDB versions.

* blockframe.c (find_pc_partial_function), config/pa/tm-hppa.h:
Remove Sun shared library transfer hack and
INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK, it is obsoleted by the
mst_solib_trampoline minimal symbols.

* blockframe.c (inside_main_func):  Check main_func_*pc against
INVALID_ENTRY_*PC, not zero.
* symfile.c (init_entry_point_info):  Initialize ei.*pc with
INVALID_ENTRY_*PC.
* mipsread.c (mipscoff_symfile_read):  If the entry_file bounds
are still unknown after processing the partial symbols, then try
to set them from the minimal symbols.

* infcmd.c (registers_info):  Error out if selected_frame is NULL.
* stack.c (return_command):  Select new current frame silently if
not interactive.

* mipsread.c (read_alphacoff_dynamic_symtab):  Ignore additional
DT_MIPS_LOCAL_GOTNO and DT_MIPS_GOTSYM entries.

* irix5-nat.c (solib_create_inferior_hook):  Call solib_add only
if auto_solib_add_at_startup is nonzero.
(_initialize_solib):  Add "set auto-solib-add" command.
* osfsolib.c (solib_create_inferior_hook):  Call solib_add only
if auto_solib_add_at_startup is nonzero.
(_initialize_solib):  Add "set auto-solib-add" command.

29 years ago * armdefs.h (ARMul_State): New member `verbose'.
David Edelsohn [Sat, 18 Nov 1995 03:39:17 +0000 (03:39 +0000)]
* armdefs.h (ARMul_State): New member `verbose'.
* armrdi.c (ARMul_ConsolePrint): Add missing va_end.
* run.c (verbose): Make global.
* wrapper.c (init): Set state->verbose.
(ARMul_ConsolePrint): Don't print anything if !verbose.

29 years agoPatch for Hitachi PR 8433, avoid core dump on HPUX host
Jim Wilson [Sat, 18 Nov 1995 02:03:21 +0000 (02:03 +0000)]
Patch for Hitachi PR 8433, avoid core dump on HPUX host
* gencode.c (tab): Add explicit NaN support for ftrc instruction.

29 years ago * configure.in (target_configdirs): add target-winsup only
Jason Molenda [Sat, 18 Nov 1995 01:43:37 +0000 (01:43 +0000)]
   * configure.in (target_configdirs): add target-winsup only
        for win32 target systems.

29 years agoAdd scheduling support for M{F,T}CR
Michael Meissner [Sat, 18 Nov 1995 01:39:04 +0000 (01:39 +0000)]
Add scheduling support for M{F,T}CR