Jim Kingdon [Thu, 14 Jul 1994 18:31:46 +0000 (18:31 +0000)]
* gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
Stan Shebs [Thu, 14 Jul 1994 02:15:39 +0000 (02:15 +0000)]
Breakpoint hit counts, from Bob Rusk (rrusk@mail.csd.harris.com).
* breakpoint.h (hit_count): New breakpoint field.
* breakpoint.c (show_breakpoint_hit_counts): New variable.
(clear_breakpoint_hit_counts): New function.
(bpstat_stop_status): Increment the hit count.
(breakpoint_1): Display the hit count.
* infcmd.c (run_command): Reset breakpoint hit counts.
* target.c (generic_mourn_inferior): Don't clear ignore counts if
displaying hit counts.
Ken Raeburn [Wed, 13 Jul 1994 23:21:45 +0000 (23:21 +0000)]
ns532 support from Ian Dall
Ken Raeburn [Wed, 13 Jul 1994 22:38:03 +0000 (22:38 +0000)]
ns32k-dis.c (invalid_float): Changed to take char* argument, and test for
explicitly specified sizes, instead of using sizeof() on host CPU types.
(INVALID_FLOAT): Cast first argument.
Ken Raeburn [Wed, 13 Jul 1994 22:05:52 +0000 (22:05 +0000)]
Wed Jul 13 18:01:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* ns32k-dis.c: Deleted all code in "#ifdef GDB".
(invalid_float): Enabled general version, doesn't require running
on ns32k host.
Sun Jul 10 00:27:47 1994 Ian Dall (dall@hfrd.dsto.gov.au)
* opcodes/ns32k-dis.c: Semi-new file. Had apparently been dropped
from distribution. A ns32k-dis.c from a previous distribution has
been brought up to date and supports the new interface.
* disaaemble.c: define ARCH_ns32k and add case bfd_arch_ns32k.
* configure.in: add bfd_ns32k_arch target support.
* Makefile.in: add ns32k-dis.o to ALL_MACHINES.
Add ns32k-dis.c to CFILES. Add dependencies for ns32k-dis.o.
Ken Raeburn [Wed, 13 Jul 1994 21:45:25 +0000 (21:45 +0000)]
iSun Jul 10 11:01:09 1994 Ian Dall (dall@hfrd.dsto.gov.au)
* ns32k.h: Drop Q operand type as there is no correct use
for it. Add I and Z operand types which allow better checking.
Ian Lance Taylor [Wed, 13 Jul 1994 18:58:11 +0000 (18:58 +0000)]
* config/tc-m68k.c (m68k_ip): Change rp to be a const pointer.
(md_parse_option): Clear cpu field of current_architecture before
setting a new cpu type. Clear no_68881 for m68881 or m68882.
Clear no_68851 for m68851.
Ken Raeburn [Wed, 13 Jul 1994 01:48:15 +0000 (01:48 +0000)]
Updated some copyrights, cleaned up some header-file comments, and:
* symbols.c (symbol_create): New function, most of the guts of the old
symbol_new function.
(symbol_new): Now just checks symbol_table_frozen, calls symbol_create, and
enters the symbol into the symbol table.
* subsegs.c (section_symbol): If EMIT_SECTION_SYMBOLS is not true, and the
symbol table is frozen, call symbol_create instead of symbol_new.
* symbols.h (symbol_create, symbol_table_frozen): Declare.
* symbols.c (symbol_clear_list_pointers): Always a function now.
* struc-symbol.h (symbol_clear_list_pointers): Deleted macro version.
* symbols.c (debug_verify_symchain): New macro, defined to be
verify_symbol_chain or a cast to void, depending on DEBUG_SYMS.
(many functions): Invoke debug_verify_symchain unconditionally.
Ken Raeburn [Wed, 13 Jul 1994 01:28:47 +0000 (01:28 +0000)]
config/ho-sysv.h (realloc): Declare.
J.T. Conklin [Tue, 12 Jul 1994 22:23:25 +0000 (22:23 +0000)]
Minor tweaks
J.T. Conklin [Tue, 12 Jul 1994 21:56:28 +0000 (21:56 +0000)]
* gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
for size_t definition.
* gdb.c++/templates.cc: Likewise
Karen Christiansen [Tue, 12 Jul 1994 21:24:09 +0000 (21:24 +0000)]
fixed typo on line 280
J.T. Conklin [Tue, 12 Jul 1994 20:12:01 +0000 (20:12 +0000)]
* config/mt-i386-netware: New file.
J.T. Conklin [Tue, 12 Jul 1994 20:07:49 +0000 (20:07 +0000)]
* gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
defined.
J.T. Conklin [Tue, 12 Jul 1994 19:33:37 +0000 (19:33 +0000)]
* gdb.base/Makefile.in: Added support for systems that name core
files by appending "core" to the program name.
* gdb.base/a1-selftest.exp: Likewise.
Peter Schauer [Tue, 12 Jul 1994 19:30:14 +0000 (19:30 +0000)]
* gdb.texinfo (help targets): Changed to `help target', which
is the correct gdb command.
Peter Schauer [Tue, 12 Jul 1994 19:29:04 +0000 (19:29 +0000)]
* elfread.c (elf_symfile_read): Unconditionally add dynamic
symbols for all symbol files. Makes skipping over the
trampoline code work when stepping from a function in a shared
library into a function in a different shared library for Irix 5.
Other ELF targets do not have enough information in their
dynamic symbol tables to make this work.
(elf_symtab_read): Relocate mst_solib_trampoline address.
Kung Hsu [Tue, 12 Jul 1994 19:17:35 +0000 (19:17 +0000)]
Modified Files:
read.c ecoff.h ecoff.c ChangeLog
* read.c (read_a_source_file): ditto.
* ecoff.h: change calling interface of
ecoff_generate_asm_line_stab.
* ecoff.c (add_file): record of filename to handle case of include
files, also change default built-in type from int to void for
asm file.
* ecoff.c (ecoff_generate_asm_line_stab): handle case of include
files.
Peter Schauer [Tue, 12 Jul 1994 19:14:09 +0000 (19:14 +0000)]
* aix386-core.c, aoutf1.h, cisco-core.c, elfcode.h, hppabsd-core.c,
hpux-core.c, irix-core.c, lynx-core.c, osf-core.c, ptrace-core.c,
rs6000-core.c, trad-core.c: Remove SEC_ALLOC flag from .reg
sections, .reg sections are not allocated and contain debug
information only.
* osf-core.c (make_bfd_asection, osf_core_core_file_p): Use
bfd_make_section_anyway instead of building unique section names.
Ian Lance Taylor [Tue, 12 Jul 1994 16:13:05 +0000 (16:13 +0000)]
* libelf.h (bfd_elf32_swap_symbol_in): Declare.
(bfd_elf32_swap_symbol_out): Declare.
(bfd_elf64_swap_symbol_in, bfd_elf64_swap_symbol_out): Declare.
* elf32-hppa.c (elf32_hppa_args_hash_table_init): Correct cast.
Ian Lance Taylor [Tue, 12 Jul 1994 15:46:32 +0000 (15:46 +0000)]
* aout-encap.c (ARCH): Don't define. Obsolete.
* aout0.c, aoutx.h, gen-aout.c, hp300bsd.c, hp300hpux.c: Likewise.
* i386aout.c, i386bsd.c, i386dynix.c, i386linux.c: Likewise.
* i386lynx.c, m68klynx.c, mipsbsd.c, netbsd386.c: Likewise.
* newsos3.c, sparclynx.c, sunos.c: Likewise.
Peter Schauer [Tue, 12 Jul 1994 07:04:15 +0000 (07:04 +0000)]
* gdb.base/return.exp: Add comment and message for `return double'
test failure on Sparc Solaris.
Stan Shebs [Tue, 12 Jul 1994 01:43:09 +0000 (01:43 +0000)]
Various updates
Stan Shebs [Tue, 12 Jul 1994 00:36:42 +0000 (00:36 +0000)]
Atari support, from Uwe Seimet (seimet@chemie.uni-kl.de).
* configure.in (m68*-atari-sysv4*): New configuration.
(m68*-cbm-sysv4*): Use m68kv4 instead of amix.
* m68k-tdep.c (R_PS): Define as R_SR if necessary.
* config/m68k/m68kv4.mh, config/m68k/m68kv4.mt,
config/m68k/tm-m68kv4.h, config/m68k/xm-m68kv4.h: New files.
* config/m68k/amix.mh, config/m68k/amix.mt,
config/m68k/tm-amix.h, config/m68k/xm-amix.h: Removed, superseded
by m68kv4 files.
Ian Lance Taylor [Tue, 12 Jul 1994 00:12:19 +0000 (00:12 +0000)]
* section.c (STD_SECTION): Make the sixth argument boolean, not
the seventh. From gary@tuva.pacsemi.oz.au (gary kopff).
Karen Christiansen [Mon, 11 Jul 1994 23:35:24 +0000 (23:35 +0000)]
add -O2 flag
Karen Christiansen [Mon, 11 Jul 1994 23:08:05 +0000 (23:08 +0000)]
minor changes to bring build-all.mk update-to-date with prog/build-all.mk
J.T. Conklin [Mon, 11 Jul 1994 23:06:35 +0000 (23:06 +0000)]
* nlmheader.y: Null terminate var_hdr->threadName.
Per Bothner [Mon, 11 Jul 1994 21:42:41 +0000 (21:42 +0000)]
* config.sub: Fix typo powerpc -> powerpc-*.
Ian Lance Taylor [Mon, 11 Jul 1994 21:24:08 +0000 (21:24 +0000)]
* config/tc-mips.c (macro): In case M_LA_AB, SVR4_PIC, large
constant, and case ldd_std, set mips_optimize to 2 temporarily to
avoid inserting an unexpected nop instruction.
Ken Raeburn [Mon, 11 Jul 1994 18:22:19 +0000 (18:22 +0000)]
Makefile.in (syslex.o, sysinfo.o): Permit C source files to be in $(srcdir), as
they will be for FSF releases.
David Henkel-Wallace [Sun, 10 Jul 1994 16:15:07 +0000 (16:15 +0000)]
Sun Jul 10 09:12:02 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
* aoutx.h (bfd_free_cached_info): Change name of FREE to BFCI_FREE
in order not to collide with LynxOS's definition of FREE in
/usr/include/sys/proc.h
Peter Schauer [Sat, 9 Jul 1994 23:30:21 +0000 (23:30 +0000)]
* symtab.c (find_function_start_sal): New function to find
the start of a function from a function symbol.
(decode_line_1, decode_line_2): Use it instead of open coded
partial copies of the code.
(list_symbols): Quote symbol name before passing it to
break_command to enable proper handling of mangled symbols.
Michael Tiemann [Sat, 9 Jul 1994 20:46:07 +0000 (20:46 +0000)]
`all-emacs19' depends on `all-byacc'. Found when /usr/latest/bin is
not in $PATH.
Michael Tiemann [Sat, 9 Jul 1994 20:08:16 +0000 (20:08 +0000)]
Add all-emacs19 and install-emacs19 rules (in parallel with all-emacs
and install-emacs). Top-level command `make all-emacs19 CC=gcc' now
behaves as `make all-emacs CC=gcc'.
Ian Lance Taylor [Sat, 9 Jul 1994 04:11:19 +0000 (04:11 +0000)]
* ecoff.c (ecoff_build_lineno): Handle count correctly for last
line number.
Steve Chamberlain [Fri, 8 Jul 1994 22:34:11 +0000 (22:34 +0000)]
* (process_pseudo_op): Pass right are do do_aif.
(get_any_string): New arg 'pretend_quote'.
(get_and_process, do_formals, macro_expand, do_sdata,
process_pseudo_op): Use new arg.
Steve Chamberlain [Fri, 8 Jul 1994 20:23:56 +0000 (20:23 +0000)]
* rttty.c (control_meta_key_on): Remove superfluous testing of
__GO32__.
Kung Hsu [Fri, 8 Jul 1994 19:38:18 +0000 (19:38 +0000)]
Modified Files:
read.c read.h ecoff.c ecoff.h ChangeLog
* read.c (read_a_source_file): generate line stabs for asm file.
* read.h: add extern generate_asm_line_stab.
* ecoff.h : add prototype for ecoff_generate_asm_line_stab().
* ecoff.c (add_file): if there's no filename provided, set switch
to generate line stabs for .s file.
* ecoff.c (add_procedure): add stabs symbol for .ent directive.
* ecoff.c (generate_ecoff_stab): creates an artificial stabs.
* ecoff.c (generate_asm_line_stab): generate a artifitial label
for each line and generate a stabn for the line.
Kung Hsu [Fri, 8 Jul 1994 19:36:55 +0000 (19:36 +0000)]
Modified Files:
obj-ecoff.h obj-elf.h
* config/obj-ecoff.h: define macro OBJ_GENERATE_ASM_LINE_STAB.
* config/obj-elf.h: ditto.
Ian Lance Taylor [Fri, 8 Jul 1994 15:06:29 +0000 (15:06 +0000)]
* lexsup.c (parse_args): Changed "retain-symbols-file" from
no_argument to required_argument. From djm.
Steve Chamberlain [Fri, 8 Jul 1994 00:13:14 +0000 (00:13 +0000)]
* gasp.c (get_any_string): Cope with getting a string with an
alternate base specifier.
(do_aif, do_aelse): Only enable output if expression is true and previous
level was on.
(chartype_init): Add BASEBIT chartype.
(process_pseudo_op): Notice nesteed AIFs.
Jeff Law [Thu, 7 Jul 1994 17:59:58 +0000 (17:59 +0000)]
* gas/hppa/reloc/relocreduce2.s: More relocation reduction tests.
* gas/hppa/reloc/reloc.exp: Run them.
Jeff Law [Thu, 7 Jul 1994 17:35:27 +0000 (17:35 +0000)]
* config/tc-hppa.c (hppa_fix_adjustable): Reject reductions for
symbols in DLT relative relocs.
(tc_gen_reloc): Zero out the addend field for DLT relative relocs.
Peter Schauer [Thu, 7 Jul 1994 17:11:58 +0000 (17:11 +0000)]
* aoutx.h (howto_table_std): Add entry for GOT relocations
which are present in sun3 shared libraries, to avoid assertions
when reading the dynamic relocations.
Jeff Law [Thu, 7 Jul 1994 16:22:01 +0000 (16:22 +0000)]
* som.h (R_HPPA_COMPLEX): Fix dumb typo.
Per Bothner [Thu, 7 Jul 1994 03:27:48 +0000 (03:27 +0000)]
* ch-exp.y (match_simple_name_string): Don't lower-case here.
* ch-exp.y (yylex): First try name lookup using exact name
typed by user; if that fails, try lower-cased name.
Ian Lance Taylor [Wed, 6 Jul 1994 23:33:02 +0000 (23:33 +0000)]
* elfcode.h (elf_link_output_sym): Don't call output_symbol_hook
if it is NULL.
Ian Lance Taylor [Wed, 6 Jul 1994 23:28:31 +0000 (23:28 +0000)]
* hosts/sysv4.h (qsort, strtol): Don't declare.
Peter Schauer [Wed, 6 Jul 1994 08:01:52 +0000 (08:01 +0000)]
* dbxread.c, elfread.c, mipsread.c, nlmread.c, os9kread.c:
Move "no debugging symbols found" test to symfile.c.
* symfile.c (syms_from_objfile, reread_symbols): Add
"no debugging symbols found" test.
* coffread.c (init_stringtab): Handle stripped files with a
stringtab offset of zero gracefully.
* osfsolib.c (solib_create_inferior_hook): Use DYNAMIC flag from
BFD instead of stop_pc heuristic to determine if it is a dynamically
linked object file.
* procfs.c (wait_fd): Handle ENOENT error return from PIOCWSTOP
ioctl, it indicates that the process has exited.
Peter Schauer [Wed, 6 Jul 1994 07:53:31 +0000 (07:53 +0000)]
* coff-alpha.c (alpha_ecoff_mkobject_hook): New hook to
additionally copy object type information from the alpha file
header to the BFD flags.
(alpha_ecoff_backend_data): Use it.
(ecoffalpha_little_vec): Add DYNAMIC to object_flags.
* aout64.c: Fix typo in conditional QMAGIC definition.
Jeff Law [Wed, 6 Jul 1994 06:17:06 +0000 (06:17 +0000)]
* hppabsd-core.c (hppabsd_core_core_file_p): Sanity check the
value of clicksz to help weed out non HPPA BSD core files.
Ian Lance Taylor [Wed, 6 Jul 1994 05:14:48 +0000 (05:14 +0000)]
* config/tc-ppc.c (ppc_tc): If not OBJ_COFF, force TOC entry to
align to a four byte boundary.
Stan Shebs [Tue, 5 Jul 1994 21:50:43 +0000 (21:50 +0000)]
Mach 3 support.
* config.bfd (m88*-*-mach3*, mips*-dec-mach3*, mips*-*-mach3*):
New targets.
* configure.host (i[34]86-*-mach3*, ns32k-*-mach3*): Recognize
"mach3" instead of "mach".
(m88*-*-mach3*, mips*-dec-mach3*, mips*-*-mach3*): New hosts.
* targets.c (m88kmach3_vec): New target vector.
(bfd_target_vector): Add i386mach3_vec and m88kmach3_vec, but
inside #if 0.
* aoutx.h (some_aout_object_p) [MACH]: Recognize executables by
checking for execute permission, instead of looking at entry
point.
* i386mach3.c: Update, define MACH, N_TXTOFF, N_TXTADDR,
N_SHARED_LIB, don't include aout/*.h files, etc.
* m88kmach3.c: New file, m88k Mach 3 target.
* config/m88k-mach3.mt, config/mips-mach3.mt: New files, target
makefile fragments.
* config/i386mach3.mh, config/m88kmach3.mh, config/mipsmach3.mh:
New files, host makefile fragments.
* hosts/m88kmach3.h, hosts/mipsmach3.h: New files, host definitions.
Ken Raeburn [Tue, 5 Jul 1994 21:00:22 +0000 (21:00 +0000)]
some internals doc updates
Ken Raeburn [Tue, 5 Jul 1994 20:51:39 +0000 (20:51 +0000)]
handle 32-bit addends in exprs on alpha
Ian Lance Taylor [Tue, 5 Jul 1994 20:17:37 +0000 (20:17 +0000)]
* objcopy.c: Include libiberty.h.
(copy_file): If output_target is NULL, set it to the target of the
input file.
Ian Lance Taylor [Tue, 5 Jul 1994 18:06:33 +0000 (18:06 +0000)]
* config/obj-elf.h (S_GET_ALIGN, S_SET_ALIGN): Define.
* config/obj-elf.c (obj_elf_common): Set alignment of common
symbol.
* config/tc-sparc.c (s_common): If OBJ_ELF, set alignment of
common symbol.
Ian Lance Taylor [Tue, 5 Jul 1994 18:05:03 +0000 (18:05 +0000)]
* elfcode.h (swap_out_syms): Get alignment of common symbol from
st_value field of saved ELF symbol information, if there is any.
Jeff Law [Tue, 5 Jul 1994 01:38:32 +0000 (01:38 +0000)]
* scripttempl/hppaelf.sc (__stack_zero): Don't define this name,
it was for the HPUX dynamic loader's use and it creates problems
with ELF GDB.
Jeff Law [Tue, 5 Jul 1994 01:32:46 +0000 (01:32 +0000)]
* hppa-tdep.c (read_unwind_info): ELF unwind information is in the
.PARISC.unwind section now.
Jeff Law [Tue, 5 Jul 1994 01:19:31 +0000 (01:19 +0000)]
* som.h (R_HPPA_COMPLEX): Define.
* elf32-hppa.h (R_HPPA_COMPLEX): Define.
(elf32_hppa_reloc_type): Delete R_PARISC_STUB_CALL_17.
Jeff Law [Tue, 5 Jul 1994 01:18:23 +0000 (01:18 +0000)]
Fix thinko in last change
Jeff Law [Tue, 5 Jul 1994 00:37:14 +0000 (00:37 +0000)]
* config/tc-hppa.c (is_complex): New macro.
(cons_fix_new_hppa): "Handle" complex expressions.
Stan Shebs [Tue, 5 Jul 1994 00:15:49 +0000 (00:15 +0000)]
* breakpoint.c (mention): Always show breakpoint address if no
source file.
Peter Schauer [Sat, 2 Jul 1994 08:55:43 +0000 (08:55 +0000)]
* config/sparc/tm-sun4sol2.h (HANDLE_SVR4_EXEC_EMULATORS):
Define to enable handling of shared libraries for a.out executables,
run under Solaris BCP.
Jeff Law [Fri, 1 Jul 1994 19:00:17 +0000 (19:00 +0000)]
* Support code for enabling the new style linker for PA ELF.
* elfcode.h (swap_symbol_in, swap_symbol_out): Externalize.
(elf_compute_section_file_positions): Pass link_info to
the begin_write_processing hook.
(bfd_elf_write_object_contents): Pass NULL for new link_info
argument to final_write_processing hook.
(elf_link_output_sym): Accept new "input_section" argument for
the symbols's input section. All callers changed. Call the
link_output_symbol_hook if it's defined.
(elf_bfd_final_link): Call the final_write_processing hook if
it's defined.
* libelf.h (elf_backend_link_output_symbol_hook): Declare.
(elf_backend_begin_write_processing): Add new "info" argument.
(elf_backend_final_write_processing): Likewise.
* elf32-target.h (elf_backend_link_output_symbol_hook): Provide
a default definition.
(elf32_bed): Add elf_backend_link_output_symbol_hook.
* elf64-target.h: Likewise.
* Major rework of the PA ELF code. Uses the new style BFD
linker, major cleanups.
* hppa_stubs.h: Rewrite from scratch. Much smaller and simpler.
* elf32-hppa.h: Delete all symbol extension related code.
(hppa_look_for_stubs_in_section): Delete decl.
(elf32_hppa_size_stubs, elf32_hppa_build_stubs): New decls.
* elf32-hppa.c: Symbol extension stuff moved form elf32-hppa.h
into elf32-hppa.c. Do not include aout64.h.
(typdef hppa_stub_type): Delete.
(elf32_hppa_stub_name_list_struct): Delete.
(elf32_hppa_stub_description_struct): Delete.
(arg_reloc_type): Use simpler enumerations. All references changed.
(arg_location, arg_reloc_relocation): Likewise.
(elf32_hppa_symextn_map_struct): Delete.
(get_symbol_value): Delete.
(elf32_hppa_get_sym_extn): Delete.
(find_stubs, new_stubs, type_of_mismatch): Delete.
(find_stub_by_name, add_stub_by_name): Delete.
(hppa_elf_stub_finish, hppa_elf_stub_reloc): Delete.
(hppa_elf_arg_reloc_needed): Renamed. Simplify.
(hppa_elf_build_linker_stub, hppa_elf_create_stub_sec): Delete.
(hppa_elf_long_branch_needed_p): Delete.
(hppa_look_for_stubs_in_section): Delete.
(hppa_elf_get_section_contents): Delete.
(elf32_hppa_backend_symbol_processing): Delete.
(elf32_hppa_backend_section_processing): Delete.
(elf32_hppa_backend_section_from_shdr): Delete.
(elf32_hppa_backend_fake_sections): Delete.
(elf32_hppa_backend_section_from_bfd_section): Delete.
(NEW_INSTRUCTION): Delete.
(CURRENT_STUB_OFFSET): Delete.
(elf32_hppa_relocate_section): New function.
(elf32_hppa_bfd_final_link_relocate): New function.
(elf32_hppa_size_symext): New function.
(elf32_hppa_link_output_symbol_hook): New function.
(elf32_hppa_read_symext_info): New function.
(elf32_hppa_add_symbol_hook): New function.
(elf32_hppa_name_of_stub): New function.
(elf32_hppa_size_of_stub): New function.
(elf32_hppa_build_one_sub): New function.
(elf32_hppa_build_stubs): New function.
(elf32_hppa_size_stubs): New function.
(linker, stub and argument hash tables): Add appropriate
structures, definitions and functions to implement all three
hash tables.
(hppa_elf_relocate_insn): Don't need argument location information
in this function.
(add_entry_to_symext_chain): Accept a symbol's argument location
information rather than the symbol itself. All callers changed.
(hppa_elf_gen_reloc_type): Simplify.
(hppa_elf_set_section_contents): Stub section is no longer special.
(hppa_elf_reloc): Greatly simplify.
(elf32_hppa_begin_write_processing): Accept link_info argument.
Handle being called from the BFD backend linker.
(elf32_hppa_final_write_processing): Likewise.
(elf_hppa_tc_make_sections): No longer call stub_finish.
Stan Shebs [Fri, 1 Jul 1994 18:44:26 +0000 (18:44 +0000)]
* mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.
* ser-mac.c (MacSerial.h): Include instead of Serial.h.
Stan Shebs [Fri, 1 Jul 1994 01:21:18 +0000 (01:21 +0000)]
* mpw-README: Update the GDB information.
Steve Chamberlain [Fri, 1 Jul 1994 00:39:20 +0000 (00:39 +0000)]
Add CXX
Stan Shebs [Thu, 30 Jun 1994 23:19:26 +0000 (23:19 +0000)]
Elim dup of file names
Ken Raeburn [Thu, 30 Jun 1994 22:54:44 +0000 (22:54 +0000)]
* config/default.exp: Look for "as.new" in "$base_dir/..", where it got
compiled, not in "$base_dir".
* config/unknown.exp: Deleted.
Steve Chamberlain [Thu, 30 Jun 1994 22:31:29 +0000 (22:31 +0000)]
* rltty.c (control_meta_key_on): Don't compile if __GO32__ is
defined.
(rltty_set_default_bindings): Likewise.
* display.c (insert_some_chars, delete_chars): row_start should be
a short.
* parens.c (rl_insert_close): No FD_SET if using __GO32__.
* readline.c (rl_gather_tyi): Strip off spurious high bits.
Jim Kingdon [Thu, 30 Jun 1994 21:24:57 +0000 (21:24 +0000)]
* infrun.c (wait_for_inferior): Print "Program exited normally"
regardless of batch_mode.
* defs.h, top.c (batch_mode): Removed.
Ken Raeburn [Thu, 30 Jun 1994 19:09:58 +0000 (19:09 +0000)]
Some updates for const-ness added to BFD structures.
Ian Lance Taylor [Thu, 30 Jun 1994 18:47:29 +0000 (18:47 +0000)]
* config/tc-mips.c (macro): For M_LI_SS, decide how to handle it
based on contents of imm_expr and offset_expr, rather than
mips_pic. For M_LI_DD, decide how to handle it based on segment
name of offset_expr, rather than mips_pic.
(mips_ip): If g_switch_value < 4, use immediate values for 'l'.
If g_switch_value < 8, use .rdata rather than .lit for 'L'.
Stan Shebs [Thu, 30 Jun 1994 03:25:02 +0000 (03:25 +0000)]
Fix a booboo
Stan Shebs [Thu, 30 Jun 1994 02:51:50 +0000 (02:51 +0000)]
* Makefile.in (dcache_h): Remove redundant definition.
(init.c): Add a comment.
(top.c): Remove explicit compile action.
* breakpoint.c (mention): Share code indicating location of
break/watchpoints, don't print address if addressprint is off.
* breakpoint.c, c-typeprint.c, c-valprint.c, energize.c, symtab.h
(demangle): Remove redundant declarations.
* eval.c: Remove redundant function declarations.
* objfiles.h: Cosmetic and grammatical improvements.
* TODO: Various updates.
Stan Shebs [Thu, 30 Jun 1994 01:59:36 +0000 (01:59 +0000)]
* remote-mips.c: Replace all \r chars with \015.
(mips_receive_header): Display control characters readably.
(mips_xfer_memory): Add a simple progress display.
Stan Shebs [Thu, 30 Jun 1994 01:52:15 +0000 (01:52 +0000)]
* mpw-make.in: Use {s} instead of {srcdir} everywhere.
(bindir, libdir): Remove extra colon.
(source.c): Compile with C instead of gC.
(c-exp.tab.c, ch-exp.tab.c, m2-exp.tab.c): Add {o}.
(install-only): Don't install MacGDB.
* source.c (openp) [MPW]: Add a debugging display.
(open_source_file) [MPW]: Use MPW basename finders.
[MPW_C]: Briefer versions of help for line and list commands.
Stan Shebs [Thu, 30 Jun 1994 00:59:49 +0000 (00:59 +0000)]
* mpw-make.in (as.c): Compile with C not gC.
(config-stamp): Touch correctly.
(install-only): New target.
(install): Depend on all and install-only.
Stan Shebs [Thu, 30 Jun 1994 00:55:33 +0000 (00:55 +0000)]
* as.c (show_usage): Break long string into shorter ones.
(parse_args): Add -v, prints version id and continues.
* config/tc-mips.c (md_show_usage): Break long string.
Stan Shebs [Thu, 30 Jun 1994 00:20:40 +0000 (00:20 +0000)]
* ecoffswap.h (ecoff_swap_pdr_in, ecoff_swap_pdr_in) [MPW_C]:
Alternate versions without ECOFF_64 that chokes MPW C.
Stan Shebs [Thu, 30 Jun 1994 00:12:28 +0000 (00:12 +0000)]
* mpw-build.in: (install-only): New target.
Stan Shebs [Thu, 30 Jun 1994 00:08:11 +0000 (00:08 +0000)]
Fix typo
Jean Marie Diaz [Wed, 29 Jun 1994 21:18:47 +0000 (21:18 +0000)]
* config/solaris2.mh (NATIVE_LIB_DIRS): Define as /usr/ccs/lib.
Jean Marie Diaz [Wed, 29 Jun 1994 20:59:53 +0000 (20:59 +0000)]
* lexsup.c (parse_args): Accept -Bstatic and -Bdynamic. Do not
accept plain -B.
* ld.texinfo: -Bstatic is not ignored.
Steve Chamberlain [Wed, 29 Jun 1994 20:20:42 +0000 (20:20 +0000)]
* remote-e7000.c (e7000_open): Don't try a tcp open if we're
using go32.
* remote-hms.c (flush): New function.
(expect): Get edge case right.
(hms_read_inferior_memory): Be more tolerant of line noise.
Jean Marie Diaz [Wed, 29 Jun 1994 13:15:51 +0000 (13:15 +0000)]
* configure.in: Use i386m3.mh and i386m3.mt as names of host and
target files, not non-existent mach3.mh and mach3.mt.
Jean Marie Diaz [Wed, 29 Jun 1994 13:13:53 +0000 (13:13 +0000)]
* config.guess: Recognize Mach.
Peter Schauer [Wed, 29 Jun 1994 07:35:00 +0000 (07:35 +0000)]
* gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
from optimizing them away.
* gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
patterns to include default constructors and assignment operators,
to match gcc versions beyond 2.5.8.
Peter Schauer [Wed, 29 Jun 1994 07:31:53 +0000 (07:31 +0000)]
* dbxread.c (dbx_symfile_read): Unconditionally add dynamic
symbols for all symbol files. Makes skipping over the
trampoline code work when stepping from a function in a shared
library into a function in a different shared library.
(read_dbx_dynamic_symtab): Relocate mst_solib_trampoline address.
Stu Grossman [Tue, 28 Jun 1994 23:36:52 +0000 (23:36 +0000)]
* dbxread.c, partial-stab.h (near N_SO): SO stabs with blank
names mean end of .o file.
* infrun.c (wait_for_inferior): Clean up multi-thread logic near
top of routine. Handle new thread notification cleanly.
* lynx-nat.c (child_wait): General cleanups, handle new LynxOS
thread notification scheme.
* (child_resume): General cleanups, handle resumption of all
threads properly.
Stan Shebs [Tue, 28 Jun 1994 20:27:02 +0000 (20:27 +0000)]
* h8300-dis.c, mips-dis.c: Don't use true and false.
Stan Shebs [Tue, 28 Jun 1994 20:20:35 +0000 (20:20 +0000)]
* mpw-config.in (emulname): Set based on target.
(ldemul-list.h): Construct.
* mpw-make.in (install-only): New target.
(install): Depend on install-only.
Stan Shebs [Tue, 28 Jun 1994 20:16:32 +0000 (20:16 +0000)]
* mpw-xconfig.in: Remove ldemul-list.h construction, now in
generic config.
Stan Shebs [Tue, 28 Jun 1994 19:16:24 +0000 (19:16 +0000)]
* ldlex.l: Recognize \r the same as \n.
Stan Shebs [Tue, 28 Jun 1994 02:20:40 +0000 (02:20 +0000)]
* mpw-config.in: New file, MPW configure fragment for binutils.
* mpw-make.in (install-only): New target.
(install): Also depend on install-only.
Stan Shebs [Tue, 28 Jun 1994 02:16:18 +0000 (02:16 +0000)]
Remove more GM-specific stuff
Stan Shebs [Tue, 28 Jun 1994 02:12:13 +0000 (02:12 +0000)]
Remove more GM-specific stuff.