binutils-gdb.git
28 years ago * ecoff.c (ecoff_stab): Don't try to make a symbol out of the stab
Ian Lance Taylor [Mon, 18 Mar 1996 18:13:59 +0000 (18:13 +0000)]
* ecoff.c (ecoff_stab): Don't try to make a symbol out of the stab
string.  Extract the addend from the result of expression.

28 years ago * elf32-mips.c (mips_elf_gprel32_reloc): Initialize gp if
Ian Lance Taylor [Mon, 18 Mar 1996 18:12:36 +0000 (18:12 +0000)]
* elf32-mips.c (mips_elf_gprel32_reloc): Initialize gp if
output_bfd is not NULL.

28 years agoAdd acconfig.h and config.h.in
Fred Fish [Mon, 18 Mar 1996 16:15:05 +0000 (16:15 +0000)]
Add acconfig.h and config.h.in

28 years ago * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
Fred Fish [Sun, 17 Mar 1996 21:48:40 +0000 (21:48 +0000)]
* gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
defined, and use it to compile the test case with -O2.  The
native compilation still uses no optimization.
* gdb.base/mips_pro.c: Remove inline assembly code since
it is compiled PIC by default, which results in assembler
warnings that make the testsuite think the compilation
was unsuccessful.

28 years ago * configure.in: Add fragment to create stamp-h.
Fred Fish [Sun, 17 Mar 1996 06:28:57 +0000 (06:28 +0000)]
* configure.in: Add fragment to create stamp-h.

From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
* configure.in (AC_CHECK_HEADERS):  Check for link.h.
* configure:  Regenerate with autoconf.
* config.h.in:  Regenerate with autoheader.
* config/i386/nm-linux.h:  Include solib.h only if HAVE_LINK_H
is defined.
* solib.c:  Exclude most of the code if HAVE_LINK_H is not defined.
* config/i386/linux.mh:  Reinstate XM_CLIBS, it is needed for
older a.out based systems.

28 years ago * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
Fred Fish [Sun, 17 Mar 1996 01:08:19 +0000 (01:08 +0000)]
* i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.

28 years agoForgot during last checkin.
Fred Fish [Sun, 17 Mar 1996 00:53:34 +0000 (00:53 +0000)]
Forgot during last checkin.
* config.h.in: New file.
* Makefile.in (distclean): Remove config.h and stamp-h during distclean.
(config.h, stamp-h): New targets to remake config.h when necessary.

28 years ago * acconfig.h: New file, for autoheader.
Fred Fish [Sun, 17 Mar 1996 00:36:07 +0000 (00:36 +0000)]
* acconfig.h: New file, for autoheader.
* configure.in (AC_CONFIG_HEADER): Add, generate config.h.
* configure: Regenerate.
* Makefile.in (defs_h): Add config.h
* defs.h (config.h): Include before any other includes or defines.
* i386-tdep.c (gdb_string.h): Move include after include of defs.h.

28 years ago * gdb.c++/misc.exp: Add note to message for
Fred Fish [Sat, 16 Mar 1996 23:23:58 +0000 (23:23 +0000)]
* gdb.c++/misc.exp: Add note to message for
"print s.a for foo struct" that this is a known gcc 2.7.2
and earlier bug.

28 years ago From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
Fred Fish [Sat, 16 Mar 1996 22:16:06 +0000 (22:16 +0000)]
From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
* gdb.texinfo (Expressions): Fix erroneous array constant example.

28 years ago From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
Fred Fish [Sat, 16 Mar 1996 21:58:00 +0000 (21:58 +0000)]
From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
* Makefile.in (INSTALLED_LIBS):  Make sure that @LIBS@ will not
result in an empty line, to work around a bug in native Ultrix 4.4
and OSF/1-3.2C make.

28 years ago * configure.in: Add gdbserver to configdirs under linux.
Fred Fish [Sat, 16 Mar 1996 21:46:56 +0000 (21:46 +0000)]
* configure.in: Add gdbserver to configdirs under linux.
* configure: Regenerate.

28 years ago * gdb.texinfo: Add missing "@bullet" to some "@itemize"
Fred Fish [Sat, 16 Mar 1996 21:46:06 +0000 (21:46 +0000)]
* gdb.texinfo: Add missing "@bullet" to some "@itemize"
commands.

28 years ago * gdb.base/break.exp: Fix pattern for matching "Delete all
Fred Fish [Sat, 16 Mar 1996 19:51:15 +0000 (19:51 +0000)]
* gdb.base/break.exp: Fix pattern for matching "Delete all
breakpoints (y or n) ".  Add "mips-dec-ultrix*" to
setup_xfail for deleting all breakpoints test.  Fix various
timeout messages to include "(timeout)".
* gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
for "p t_float_values2(3.14159,float_val2)".
* gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
for "continue to call2g" when gcc compiled.
* gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
"up to foo in langs.exp", "show language at foo in langs.exp",
"show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
and "show language at fsub in langs.exp".
* gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
"list line 1 in include file", "list message for lines past EOF",
"list function in include file", "list list0.h:foo", and
"list filename:function; nonexistant function".
* gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
"whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
and "ptype t_char_array" to be for native cc only.

28 years ago * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
Fred Fish [Sat, 16 Mar 1996 00:47:44 +0000 (00:47 +0000)]
* gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
setup_xfail for "print coremaker_bss", "print coremaker_ro",
  "print func2::coremaker_local", and "backtrace in corefile.exp".

28 years ago * app.c (do_scrub_chars): If whitespace is seen in state 11, and
Ian Lance Taylor [Fri, 15 Mar 1996 22:12:10 +0000 (22:12 +0000)]
* app.c (do_scrub_chars): If whitespace is seen in state 11, and
LABELS_WITHOUT_COLONS is not defined, and we are not in m68k MRI
mode, change the state to 3 rather than 1.

28 years ago* config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
J.T. Conklin [Fri, 15 Mar 1996 20:12:35 +0000 (20:12 +0000)]
* config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
* config/i386/tm-nbsd.h (NUM_REGS): Define.

28 years ago * coffgen.c (coff_get_normalized_symtab): Call bfd_zalloc instead
David Edelsohn [Fri, 15 Mar 1996 01:12:57 +0000 (01:12 +0000)]
* coffgen.c (coff_get_normalized_symtab): Call bfd_zalloc instead
of bfd_alloc (fixes fix_line not being initialized).
Delete zeroing of fix_{value,tag,end,scnlen} fields.

28 years ago * Makefile.in (DO_X): Don't get confused if CC contains `=' in an
Ian Lance Taylor [Fri, 15 Mar 1996 00:33:04 +0000 (00:33 +0000)]
* Makefile.in (DO_X): Don't get confused if CC contains `=' in an
option.

28 years ago * configure.in (mips*-nec-sysvr4*): Use a host_makefile_frag of
Ian Lance Taylor [Fri, 15 Mar 1996 00:31:00 +0000 (00:31 +0000)]
* configure.in (mips*-nec-sysvr4*): Use a host_makefile_frag of
config/mh-necv4.

28 years ago * mh-necv4: New file.
Ian Lance Taylor [Fri, 15 Mar 1996 00:29:21 +0000 (00:29 +0000)]
* mh-necv4: New file.

28 years ago * mh-necv4: New file.
Ian Lance Taylor [Fri, 15 Mar 1996 00:20:59 +0000 (00:20 +0000)]
* mh-necv4: New file.

28 years ago * install.sh: Correct misspelling of transformbasename.
Ian Lance Taylor [Fri, 15 Mar 1996 00:18:41 +0000 (00:18 +0000)]
* install.sh: Correct misspelling of transformbasename.

28 years ago * config.guess: Recognize mips-*-sysv*.
Ian Lance Taylor [Fri, 15 Mar 1996 00:17:48 +0000 (00:17 +0000)]
* config.guess: Recognize mips-*-sysv*.

28 years ago * config/obj-coff.h (C_REGISTER_SECTION): Change from 20 to 50, to
Ian Lance Taylor [Thu, 14 Mar 1996 23:19:08 +0000 (23:19 +0000)]
* config/obj-coff.h (C_REGISTER_SECTION): Change from 20 to 50, to
correspond to 11 March change.

28 years ago * coffcode.h: Allow specific backends to override the
Jeff Law [Thu, 14 Mar 1996 23:17:50 +0000 (23:17 +0000)]
    * coffcode.h: Allow specific backends to override the
        bfd_link_add_symbols routine.
Not used yet, but it will be soon for hmse.

28 years ago * coff-h8300.c: Include genlink.h.
Jeff Law [Thu, 14 Mar 1996 23:06:51 +0000 (23:06 +0000)]
    * coff-h8300.c: Include genlink.h.
        (howto_table): Add R_MEM_INDIRECT.
        (rtype2howto): Support R_MEM_INDIRECT.
        (h8300_reloc16_extra_cases): Handle R_MEM_INDIRECT like R_RELBYTE
        for now.
hmse

28 years ago * config/tc-h8300.c (build_bytes, MEMIND case): Generate
Jeff Law [Thu, 14 Mar 1996 22:55:12 +0000 (22:55 +0000)]
    * config/tc-h8300.c (build_bytes, MEMIND case): Generate
        an R_MEM_INDIRECT reloc rather than R_RELBYTE.
hmse

28 years ago * solib.c (solib_break_names): Add _r_debug_state for
Jeff Law [Thu, 14 Mar 1996 17:32:12 +0000 (17:32 +0000)]
    * solib.c (solib_break_names): Add _r_debug_state for
        vanilla SVR4 implementations.  From Peter Schauer.

28 years ago * scripttempl/h8300.sc: Change name of page zero memory
Jeff Law [Thu, 14 Mar 1996 00:49:42 +0000 (00:49 +0000)]
    * scripttempl/h8300.sc: Change name of page zero memory
        from "null" to "vectors".  Create an output section for
        vectors.  Add comments on how to explicitly place items
        in the vector table.
        * scripttempl/h8300h.sc: Likewise.
hmse

28 years ago * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
Fred Fish [Wed, 13 Mar 1996 22:56:22 +0000 (22:56 +0000)]
* gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
"bt in signals.exp".  This problem only appears when running
the testsuite, and then only intermittently.

28 years ago * emultempl/lnk960.em (machine_table): Add jx and hx.
Ian Lance Taylor [Wed, 13 Mar 1996 22:41:25 +0000 (22:41 +0000)]
* emultempl/lnk960.em (machine_table): Add jx and hx.

28 years ago * genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn't
Ian Lance Taylor [Wed, 13 Mar 1996 17:40:58 +0000 (17:40 +0000)]
* genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn't
support it.

28 years ago * lexsup.c (parse_args): Handle --wrap.
Ian Lance Taylor [Tue, 12 Mar 1996 23:39:18 +0000 (23:39 +0000)]
* lexsup.c (parse_args): Handle --wrap.
* ldmain.c (main): Initialize link_info.wrap_hash.
* ldexp.c (fold_name): Use bfd_wrapped_link_hash_lookup in DEFINED
and NAME cases.
* ld.texinfo, ld.1: Document --wrap.

28 years ago * linker.c (bfd_wrapped_link_hash_lookup): New function.
Ian Lance Taylor [Tue, 12 Mar 1996 23:14:58 +0000 (23:14 +0000)]
* linker.c (bfd_wrapped_link_hash_lookup): New function.
(_bfd_generic_link_add_one_symbol): Remove BFD_ASSERT on hash
table string.  Use bfd_wrapped_link_hash_lookup.
(_bfd_generic_link_write_global_symbol): Remove BFD_ASSERT on hash
table string.
* aoutx.h (aout_link_write_symbols): Use the name from the hash
table, if any, when writing out symbols.
(aout_link_input_section_std): Use the name from the hash table,
if any, when reporting undefined symbols.
(aout_link_input_section_ext): Likewise.
(aout_link_reloc_link_order): Use bfd_wrapped_link_hash_lookup.
* bout.c (get_value): Likewise.
* cofflink.c (_bfd_coff_reloc_link_order): Likewise.
* ecoff.c (ecoff_reloc_link_order): Likewise.
* elflink.h (elf_link_add_object_symbols): Likewise.
(elf_reloc_link_order): Likewise.
* linker.c (_bfd_generic_link_output_symbols): Likewise.
(_bfd_generic_reloc_link_order): Likewise.
(default_indirect_link_order): Likewise.
* reloc16.c (bfd_coff_reloc16_get_value): Likewise.
* sunos.c (sunos_add_one_symbol): Likewise.
* xcofflink.c (xcoff_link_add_symbols): Likewise.
(bfd_xcoff_link_count_reloc): Likewise.
(xcoff_reloc_link_order): Likewise.

28 years ago * gdb.base/return.exp (return_tests): Differentiate between
Stan Shebs [Tue, 12 Mar 1996 23:02:25 +0000 (23:02 +0000)]
* gdb.base/return.exp (return_tests): Differentiate between
two tests of continuing.

28 years ago * ieee.c (ieee_write_undefined_tag): Switch to global_types even
Ian Lance Taylor [Tue, 12 Mar 1996 19:33:31 +0000 (19:33 +0000)]
* ieee.c (ieee_write_undefined_tag): Switch to global_types even
if it is not empty.
(ieee_tag_type): For an enum, look through info->enums.

28 years agoTue Mar 12 12:43:59 1996 David Mosberger-Tang <davidm@koala.azstarnet.com>
Ian Lance Taylor [Tue, 12 Mar 1996 17:47:55 +0000 (17:47 +0000)]
Tue Mar 12 12:43:59 1996  David Mosberger-Tang  <davidm@koala.azstarnet.com>

* ld.h (ld_config_type): Add warn_multiple_gp field.
* lexsup.c (parse_args): Handle --warn-multiple-gp.
* ldmain.c (warning_callback): Suppress multiple gp values warning
if --warn_multiple_gp was not used.
* ld.texinfo, ld.1: Document --warn-multiple-gp.

28 years agoTue Mar 12 12:41:17 1996 David Mosberger-Tang <davidm@koala.azstarnet.com>
Ian Lance Taylor [Tue, 12 Mar 1996 17:42:19 +0000 (17:42 +0000)]
Tue Mar 12 12:41:17 1996  David Mosberger-Tang  <davidm@koala.azstarnet.com>

* coff-alpha.c (alpha_relocate_section): Use
info->callbacks_warning, rather than _bfd_error_handler, for
"multiple gp" warning.

28 years agocomment change
Ian Lance Taylor [Tue, 12 Mar 1996 17:30:44 +0000 (17:30 +0000)]
comment change

28 years agotweak last patch
Ian Lance Taylor [Tue, 12 Mar 1996 17:26:23 +0000 (17:26 +0000)]
tweak last patch

28 years ago * configure: Rebuild with autoconf 2.8.
Ian Lance Taylor [Tue, 12 Mar 1996 17:22:07 +0000 (17:22 +0000)]
* configure: Rebuild with autoconf 2.8.

28 years ago * debug.c (debug_type_samep): Don't loop endlessly in
Ian Lance Taylor [Tue, 12 Mar 1996 17:10:22 +0000 (17:10 +0000)]
* debug.c (debug_type_samep): Don't loop endlessly in
DEBUG_KIND_ENUM case.  From Eric Baur <ecb@nexen.com>.

28 years ago Don't do SunOS style dynamic linking for sparc-aout:
Ian Lance Taylor [Tue, 12 Mar 1996 17:04:25 +0000 (17:04 +0000)]
Don't do SunOS style dynamic linking for sparc-aout:
* configure.tgt (sparc64-*-aout*): Use sparcaout, not sun4.
(sparclite*-fujitsu-*, sparc*-*-aout): Likewise.
(sparc*-wrs-vxworks*): Likewise.
* emulparams/sparcaout.sh: New file.
* Makefile.in (ALL_EMULATIONS): Add esparcaout.o.
(esparcaout.c): New target.

28 years ago * config/atof-ieee.c (gen_to_words): Improve handling of
Ian Lance Taylor [Mon, 11 Mar 1996 23:58:15 +0000 (23:58 +0000)]
* config/atof-ieee.c (gen_to_words): Improve handling of
X_PRECISION numbers.  Based on patches from Andreas Schwab
<schwab@issan.informatik.uni-dortmund.de>.

28 years ago Keep mon960 files.
Dawn Perchik [Mon, 11 Mar 1996 23:52:05 +0000 (23:52 +0000)]
Keep mon960 files.

28 years ago * mon960-rom.c: New file; support mon960 rom monitor on i960.
Dawn Perchik [Mon, 11 Mar 1996 23:49:22 +0000 (23:49 +0000)]
   * mon960-rom.c: New file; support mon960 rom monitor on i960.
       * monitor.c (monitor_debug): Change remotedebug to buffer strings.
       * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before
       epecting prompt and echo during open.
       * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to
       determine if break should be sent as stop command.
       * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN.
       * i960-tdep.c (mon960_frame_chain_valid): New function for getting
       stack frame on mon960.
       * Makefile.in: Add mon960 files.
       * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960;
       added i960-nindy-coff* and i960-nindy-elf* for target nindy.
       * configure: Regenerated.
       * config/i960/mon960.mt, config/i960/tm-mon960.h: New files;
       support mon960 rom monitor on i960.

28 years ago (sim_resume, shift insns): Fix setting of overflow flag for shal.
David Edelsohn [Mon, 11 Mar 1996 23:25:53 +0000 (23:25 +0000)]
(sim_resume, shift insns): Fix setting of overflow flag for shal.

28 years ago* run.c (main): Print error message if argument is invalid.
David Edelsohn [Mon, 11 Mar 1996 21:59:47 +0000 (21:59 +0000)]
* run.c (main): Print error message if argument is invalid.
(usage): Improve text.

28 years ago(main): Print error message if argument is invalid.
David Edelsohn [Mon, 11 Mar 1996 21:59:22 +0000 (21:59 +0000)]
(main): Print error message if argument is invalid.
(usage): Improve text.

28 years ago * compile.c: #include "wait.h".
David Edelsohn [Mon, 11 Mar 1996 19:30:53 +0000 (19:30 +0000)]
* compile.c: #include "wait.h".
  (sim_resume, sleep insn): Check program exit status in r0.

28 years agoMon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Mon, 11 Mar 1996 19:08:57 +0000 (19:08 +0000)]
Mon Mar 11 11:02:47 1996  Steve Chamberlain  <sac@slash.cygnus.com>

With Michael Snyder:
* i386-tdep.c (skip_trampoline_code): Fix strncmp length.
* win32-nat.c (CHECK, DEBUG*, debug_*): New.
(handle_load_dll): Don't reload symbols.
(handle_exception):  Use the DEBUG_* names.
(child_wait): Add DEBUG_* code.
(_initialize_inftarg): Add new commands to set debug_ names.

28 years ago * as.h (SEG_NORMAL, SEG_LIST): Bump segment limit from 10 to 40.
Steve Chamberlain [Mon, 11 Mar 1996 18:05:58 +0000 (18:05 +0000)]
* as.h (SEG_NORMAL, SEG_LIST): Bump segment limit from 10 to 40.
(SEG_LAST): New.
* subsegs.c (MANY_SEGMENTS): Increase segment limit.
* obj-coff.c (seg_N_TYPE, seg_info_off_by_4): Likewise.
(do_relocs_for, w_symbols, obj_coff_add_segment, do_linenos_for,
crawl_symbols, coff_header_append): Loop to SEG_LAST rather than
SEG_E9.

Until BFD backend works with i386-pe.

28 years ago * compile.c (sim_resume): Watch for calls to abort.
David Edelsohn [Mon, 11 Mar 1996 17:54:45 +0000 (17:54 +0000)]
* compile.c (sim_resume): Watch for calls to abort.
* run.c: #include <signal.h>.
(main): Abort if program got SIGILL.

28 years ago * rddbg.c (read_section_stabs_debugging_info): Call save_stab for
Ian Lance Taylor [Mon, 11 Mar 1996 17:38:16 +0000 (17:38 +0000)]
* rddbg.c (read_section_stabs_debugging_info): Call save_stab for
each stab entry, call stab_context on an error, and call
free_saved_stabs before rturning.
(read_symbol_stabs_debugging_info): Likewise.
(SAVE_STABS_COUNT): Define.
(struct saved_stab): Define.
(saved_stabs, saved_stabs_index): New static variables.
(save_stab, stab_context, free_saved_stabs): New static functios.

28 years ago * objdump.c (stab_name): Remove.
Ian Lance Taylor [Mon, 11 Mar 1996 17:37:38 +0000 (17:37 +0000)]
* objdump.c (stab_name): Remove.
(struct stab_print): Remove.
(stab_print): Remove.
(dump_stabs): Don't initialize stab_name.
(print_section_stabs): Call bfd_get_stab_name rather than using
the stab_name array.

28 years ago * stab-syms.c (__define_stab_duplicate): Define.
Ian Lance Taylor [Mon, 11 Mar 1996 17:33:43 +0000 (17:33 +0000)]
* stab-syms.c (__define_stab_duplicate): Define.
(bfd_get_stab_name): Rename from aout_stab_name.  Rewrite to use a
switch.
* bfd-in.h (bfd_get_stab_name): Declare.
* bfd-in2.h: Rebuild.
* Makefile.in: Rebuild dependencies.
(BFD_LIBS): Add stab-syms.o.
(BFD_LIBS_CFILES): Add stab-syms.c.
(BFD32_BACKENDS): Remove stab-syms.o.
(BFD32_BACKENDS_CFILES): Remove stab-syms.c.
* configure.in: Don't list stab-syms.o in bfd_backends.
* configure: Rebuild.
* libaout.h (aout_stab_name): Don't declare.
* aoutx.h (NAME(aout,get_symbol_info)): Call bfd_get_stab_name,
not aout_stab_name.

28 years ago * stab.def: Use __define_stab_duplicate rather than __define_stab
Ian Lance Taylor [Mon, 11 Mar 1996 17:17:00 +0000 (17:17 +0000)]
* stab.def: Use __define_stab_duplicate rather than __define_stab
for duplicate entries N_BROWS and N_MOD2.
* stab_gnu.h (__define_stab_duplicate): Define before including
stab.def.

28 years ago * From Peter Schauer:
Jeff Law [Mon, 11 Mar 1996 16:21:51 +0000 (16:21 +0000)]
    * From Peter Schauer:
        * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE.
        (bpstat_stop_status): Likewise.
        (remove_solib_event_breakpoints): Likewise.
        (clear_momentary_breakpoints): Likewise.
        (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint
        if we still can't read the memory for that breakpoint.
        (mention): Add bp_shlib_event case to keep gcc quiet.

28 years ago * configure: Restore Canadian Cross handling of BISON and LEX,
Ian Lance Taylor [Sun, 10 Mar 1996 18:23:57 +0000 (18:23 +0000)]
* configure: Restore Canadian Cross handling of BISON and LEX,
removed in Feb 20 change.

28 years ago * Makefile.in ($(CONFIGURE_TARGET_MODULES)): If there is a
Ian Lance Taylor [Fri, 8 Mar 1996 22:55:13 +0000 (22:55 +0000)]
* Makefile.in ($(CONFIGURE_TARGET_MODULES)): If there is a
Makefile after running symlink-tree, then run `make distclean' to
avoid clobbering any generated files in srcdir.

28 years ago * breakpoint.h (enum enable): New enum shlib_disabled for
Jeff Law [Fri, 8 Mar 1996 19:16:33 +0000 (19:16 +0000)]
    * breakpoint.h (enum enable): New enum shlib_disabled for
        shared library breakpoints that have been temporarily disabled.
        * breakpoint.c: Handle temporarily disabled shared library
        breakpoints like disabled breakpoints in most places.
        (insert_breakpoints): Use shlib_disabled to indicate
        that an unsettable breakpoint is only temporarily disabled.
        (re_enable_breakpoints_in_shlibs): New function.
        * corelow.c (solib_add_stub): After adding shared libraries,
        try to reenable any temporarily disabled breakpoints.
        * infcmd.c (attach_command): Likewise.
        * infrun.c (wait_for_inferior): Likewise.
Hopefully the last 7763 related patches for a while.

28 years ago * defs.h (extract_long_unsigned_integer): Declare.
Ian Lance Taylor [Fri, 8 Mar 1996 16:43:02 +0000 (16:43 +0000)]
* defs.h (extract_long_unsigned_integer): Declare.
* findvar.c (extract_long_unsigned_integer): New function.
* printcmd.c (print_scalar_formatted): Use it.
* valprint.c (val_print_type_code_int): Likewise.

28 years ago * infcmd.c (do_registers_info): Ignore anonymous registers.
Stan Shebs [Fri, 8 Mar 1996 02:04:19 +0000 (02:04 +0000)]
* infcmd.c (do_registers_info): Ignore anonymous registers.
* sh-tdep.c (set processor): New command to set specific
processor type.
(sh_reg_names, sh3_reg_names): Arrays of register names for
SH and SH3 processors.
(sh_set_processor_type): New function.
* sh3-rom.c (sh3_open): Call it.
(sh3_regname): Add names of all the bank registers.
(sh3_supply_register): Clean up formatting.
* config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include
  bank registers.
(REGISTER_NAMES): Add names of bank registers.
(FP15_REGNUM): Define.
(REGISTER_VIRTUAL_TYPE): Use it.
* monitor.c: Clean up some comments.

28 years agoMake psim build on AIX 4.1
Michael Meissner [Fri, 8 Mar 1996 01:24:01 +0000 (01:24 +0000)]
Make psim build on AIX 4.1

28 years agoTest common synthetic insns (applicable to v8 or v9).
David Edelsohn [Thu, 7 Mar 1996 22:50:09 +0000 (22:50 +0000)]
Test common synthetic insns (applicable to v8 or v9).

28 years agoAdd missing arc sanitization (oops).
David Edelsohn [Thu, 7 Mar 1996 22:48:51 +0000 (22:48 +0000)]
Add missing arc sanitization (oops).

28 years ago* i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the
J.T. Conklin [Thu, 7 Mar 1996 20:13:45 +0000 (20:13 +0000)]
* i386b-nat.c: Revert part of Mar 5 change.  FreeBSD collapsed the
s* and t* symbols too.

28 years ago * config/tc-hppa.c (SUBSEG_MILLI): Define.
Jeff Law [Thu, 7 Mar 1996 16:19:23 +0000 (16:19 +0000)]
    * config/tc-hppa.c (SUBSEG_MILLI): Define.
        (pa_def_subspaces): Add $MILLICODE$.
        (pa_spaces_begin): Set section flags for $MILLICODE$.

28 years agoThu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Thu, 7 Mar 1996 15:25:33 +0000 (15:25 +0000)]
Thu Mar  7 15:18:51 1996  James G. Smith  <jsmith@cygnus.co.uk>

* symfile.c (generic_load): Avoid division by zero.

28 years agoThu Mar 7 11:19:33 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Thu, 7 Mar 1996 11:25:15 +0000 (11:25 +0000)]
Thu Mar  7 11:19:33 1996  James G. Smith  <jsmith@cygnus.co.uk>

* gencode.c, interp.c: Replaced explicit long long references with
  WORD64HI, WORD64LO, SET64HI and SET64LO macro calls.
* support.h (SET64LO, SET64HI): Macros added.

This is an intermediate checkin. The work of removing "long long"
usage is not yet finished. These changes are clean, and have been
sitting on my machine for a while (whilst doing other work), and it is
safer for them to be checked in.

28 years ago * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
Jeff Law [Thu, 7 Mar 1996 01:00:04 +0000 (01:00 +0000)]
    * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
        not just those with HANDLE_SVR4_EXEC_EMULATORS.
Fixes linux native build problem.

28 years ago* scripttmpl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 change
J.T. Conklin [Thu, 7 Mar 1996 00:12:34 +0000 (00:12 +0000)]
* scripttmpl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 change
in a different manner to work around differences in shell variable
expansion.

28 years ago * ldemul.h (ldemul_unrecognized_file): Declare.
Ian Lance Taylor [Wed, 6 Mar 1996 23:12:41 +0000 (23:12 +0000)]
* ldemul.h (ldemul_unrecognized_file): Declare.
(ldemulation_xfer_type): Add unrecognized_file field.
* ldemul.c (ldemul_unrecognized_file): New function.
* ldlang.c (load_symbols): If a file can not be recognized, call
ldemul_unrecognized_file before trying it as a linker script.
* aix.em (gld${EMULATION_NAME}_unrecognized_file): New static
function.
(gld${EMULATION_NAME}_read_file): Use FOPEN_RT, not "r".
(ld_${EMULATION_NAME}_emulation): Initialize unrecognized_file.

28 years ago * config/obj-elf.c (obj_elf_section): Only SEC_LOAD if the type is
Ian Lance Taylor [Wed, 6 Mar 1996 22:19:22 +0000 (22:19 +0000)]
* config/obj-elf.c (obj_elf_section): Only SEC_LOAD if the type is
not SHT_NOBITS.  Don't tamper with flags based on type if a
special section was found (revert Feb 29 change).

28 years ago * config/tc-sh.c (sh_do_align): Only align using the nop pattern
Ian Lance Taylor [Wed, 6 Mar 1996 19:16:17 +0000 (19:16 +0000)]
* config/tc-sh.c (sh_do_align): Only align using the nop pattern
if aligning to a longword boundary or greater.

28 years ago * tc-sh.c (sh_do_align): Pass 1 not 2 to frag_align.
Jim Wilson [Wed, 6 Mar 1996 18:50:20 +0000 (18:50 +0000)]
* tc-sh.c (sh_do_align): Pass 1 not 2 to frag_align.

28 years ago * From Peter Schauer:
Jeff Law [Wed, 6 Mar 1996 16:36:13 +0000 (16:36 +0000)]
    * From Peter Schauer:
        * breakpoint.c (internal_breakpoint_number): Move to file scope.
        (create_solib_event_breakpoint): Use an internal breakpoint number.

28 years ago * valarith.c (value_in): Change builtin_type_chill_bool to
Wilfried Moser [Wed, 6 Mar 1996 08:35:05 +0000 (08:35 +0000)]
    * valarith.c (value_in): Change builtin_type_chill_bool to
        LA_BOOL_TYPE.

28 years ago * powerset.exp: Add test.
Wilfried Moser [Wed, 6 Mar 1996 08:30:40 +0000 (08:30 +0000)]
    * powerset.exp: Add test.

28 years ago * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
Wilfried Moser [Wed, 6 Mar 1996 08:02:45 +0000 (08:02 +0000)]
    * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
        (match_string_literal): Handle control sequence.
        (match_character_literal): Deto.

        * ch-lang.c (chill_printchar): Change formating of nonprintable
        characters from C'xx' to ^(num).
        (chill_printstr): Deto.
        (value_chill_card, value_chill_max_min): New functions to process
        Chill's CARD, MAX, MIN.
        (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN.

        * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN
        for Chill's CARD, MAX, MIN.

        * valarith.c (value_in): Add processing of TYPE_CODE_RANGE
        and change return type from builtin_type_int to
        builtin_type_chill_bool.

28 years ago * gch922.{ch,exp}, powerset.{ch,exp}: New test cases.
Wilfried Moser [Wed, 6 Mar 1996 07:44:46 +0000 (07:44 +0000)]
    * gch922.{ch,exp}, powerset.{ch,exp}: New test cases.

        * builtins.exp, chillvars.exp, misc.exp, tests1.exp: Updated
        due to new format of nonprintable characters (control sequence
        instead of C'xx').

28 years ago * config/nm-nbsd.h (link_object, lo_name, etc): Move to here
Stan Shebs [Wed, 6 Mar 1996 04:01:02 +0000 (04:01 +0000)]
* config/nm-nbsd.h (link_object, lo_name, etc): Move to here
  from config/nm-nbsd.h.
* config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here
from config/sparc/tm-nbsd.h.

28 years ago * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
Stan Shebs [Wed, 6 Mar 1996 02:58:19 +0000 (02:58 +0000)]
* config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
instead of in config/m68k/xm-hp300hpux.h.

28 years ago * */Makefile.in (maintainer-clean): Remove config.log.
Stan Shebs [Tue, 5 Mar 1996 22:42:17 +0000 (22:42 +0000)]
* */Makefile.in (maintainer-clean): Remove config.log.
* gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
* gdb.c++/Makefile.in (PROGS): Add inherit.
(clean): Remove *.ci.

28 years ago * configure.in: Don't set SHLIB or SHLINK to an empty string,
Ian Lance Taylor [Tue, 5 Mar 1996 20:52:52 +0000 (20:52 +0000)]
* configure.in: Don't set SHLIB or SHLINK to an empty string,
since they appear as targets in Makefile.in.
* configure: Rebuild.

28 years ago* i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
J.T. Conklin [Tue, 5 Mar 1996 20:09:21 +0000 (20:09 +0000)]
* i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
implementation for NetBSD systems.

28 years ago * sunos.c (sunos_scan_ext_relocs): If not making a shared library,
Ian Lance Taylor [Tue, 5 Mar 1996 17:03:18 +0000 (17:03 +0000)]
* sunos.c (sunos_scan_ext_relocs): If not making a shared library,
don't fiddle with a symbol which is not defined anywhere.

28 years ago* configure.in (m68k-*-netbsd*): Build everything now.
J.T. Conklin [Tue, 5 Mar 1996 16:24:35 +0000 (16:24 +0000)]
* configure.in (m68k-*-netbsd*): Build everything now.

28 years ago * string.ch, string.exp: Add tests (from Cygnus PR chill/9078).
Per Bothner [Tue, 5 Mar 1996 08:21:49 +0000 (08:21 +0000)]
 * string.ch, string.exp:  Add tests (from Cygnus PR chill/9078).

28 years ago * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT.
Per Bothner [Tue, 5 Mar 1996 08:20:22 +0000 (08:20 +0000)]
* valarith.c (binop_user_defined_p):  Return 0 for BINOP_CONCAT.
(value_concat):  Handle varying strings (add COERCE_VARYING_ARRAY).
This fixes PR chill/9078.

28 years ago * pr-9095.ch, pr-9095.exp: New test case.
Per Bothner [Tue, 5 Mar 1996 08:12:53 +0000 (08:12 +0000)]
* pr-9095.ch, pr-9095.exp:  New test case.

28 years ago * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error
Per Bothner [Tue, 5 Mar 1996 07:48:20 +0000 (07:48 +0000)]
* ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT):  Error
if "function" is pointer to non-function.
Fixes PR chill/9095.

28 years ago * configure.in (i386-*-cygwin32): Don't use bfd_gas.
Steve Chamberlain [Tue, 5 Mar 1996 05:04:56 +0000 (05:04 +0000)]
* configure.in (i386-*-cygwin32): Don't use bfd_gas.
* configure: Regenerated.

28 years ago * top.c (print_gdb_version): Update copyright year.
Stan Shebs [Tue, 5 Mar 1996 02:13:33 +0000 (02:13 +0000)]
* top.c (print_gdb_version): Update copyright year.

28 years ago * xcofflink.c (xcoff_mark): Treat undefined imported symbols as
Ian Lance Taylor [Tue, 5 Mar 1996 01:01:11 +0000 (01:01 +0000)]
* xcofflink.c (xcoff_mark): Treat undefined imported symbols as
though they are defined in a shared library.
(xcoff_build_ldsyms): Likewise.

28 years ago * coffgen.c (coff_find_nearest_line): Don't look at the line
Ian Lance Taylor [Mon, 4 Mar 1996 23:42:12 +0000 (23:42 +0000)]
* coffgen.c (coff_find_nearest_line): Don't look at the line
numbers for the section if section->lineno is NULL.

28 years ago * From Peter Schauer:
Jeff Law [Mon, 4 Mar 1996 21:50:10 +0000 (21:50 +0000)]
    * From Peter Schauer:
        * infrun.c (wait_for_inferior): Remove breakpoints and
        switch terminal settings before calling SOLIB_ADD.
        * solib.c (enable_break, SVR4 variant): Don't map in symbols
        for the dynamic linker, the namespace pollution causes real
        problems.

28 years ago * config/tc-hppa.c: Add default definitions for R_N0SEL and
Jeff Law [Mon, 4 Mar 1996 19:42:03 +0000 (19:42 +0000)]
    * config/tc-hppa.c: Add default definitions for R_N0SEL and
        R_N1SEL since they're not defined for old versions of hpux.

28 years ago * ldlang.c (wild): Handle foo.a(.text) by mapping each included
Ian Lance Taylor [Mon, 4 Mar 1996 19:12:43 +0000 (19:12 +0000)]
* ldlang.c (wild): Handle foo.a(.text) by mapping each included
member of foo.a separately.  From Jouke Numan <jnuman@bazis.nl>.