Steve Chamberlain [Wed, 19 Jan 1994 00:21:59 +0000 (00:21 +0000)]
* scripttempl/m88kbcs.sc: Don't use CREATE_OBJECT_SYMBOLS, that's
for a.out.
Jeff Law [Wed, 19 Jan 1994 00:21:16 +0000 (00:21 +0000)]
* config/tc-hppa.c: Disable multiple $CODE$ subspace code. It
confuses GDB for some unknown reason.
* cofnig/obj-som.c: Likewise.
Steve Chamberlain [Wed, 19 Jan 1994 00:16:03 +0000 (00:16 +0000)]
* config/obj-coffbfd.c (obj_coff_endef): For C_EFCN, C_BLOCK and
C_FCN assume .val has been set to .
Ken Raeburn [Wed, 19 Jan 1994 00:08:50 +0000 (00:08 +0000)]
* literal.c (add_to_literal_pool): Handle duplicates of values already written
to literal pool.
Ian Lance Taylor [Tue, 18 Jan 1994 22:27:26 +0000 (22:27 +0000)]
* config/obj-aout.c (obj_aout_frob_symbol): Try to get symbols
with explicitly marked stabs through BFD: if a symbol marked
N_UNDF | N_EXT is in the absolute section, move it to the
undefined section; move a symbol marked N_INDR into
bfd_ind_section and set the BSF_INDIRECT flag.
Ian Lance Taylor [Tue, 18 Jan 1994 21:46:46 +0000 (21:46 +0000)]
* aoutx.h (aout_link_add_symbols): Increment sym_hash as well as p
for an indirect or warning symbol.
(aout_link_write_symbols): Update sym_hash with the target of an
indirect symbol. If an indirect symbol is defined, output the
calculated value and don't output the target symbol.
Jim Kingdon [Tue, 18 Jan 1994 21:20:28 +0000 (21:20 +0000)]
* infcmd.c (signal_command): Accept 0 as legitimate signal number.
Ian Lance Taylor [Tue, 18 Jan 1994 20:51:15 +0000 (20:51 +0000)]
Comment fix.
Jim Kingdon [Tue, 18 Jan 1994 19:13:38 +0000 (19:13 +0000)]
* infrun.c (signals_info), target.c (target_signal_from_name):
Use ugly casts to avoid enumvar < enumvar or enumvar++.
David MacKenzie [Tue, 18 Jan 1994 12:05:32 +0000 (12:05 +0000)]
* aoutx.h (translate_from_native_sym_flags): Give warning symbols
an (unused) nonzero section value, needed for check below.
Ken Raeburn [Tue, 18 Jan 1994 05:24:14 +0000 (05:24 +0000)]
* Makefile.in: Replace all occurrances of "rootme" with "r" and "$${rootme}"
with "$$r", to increase the likelihood that the do-* commands (plus user
environment) will fit SCO limits.
Jim Kingdon [Tue, 18 Jan 1994 04:29:34 +0000 (04:29 +0000)]
* ser-unix.c (hardwire_noflush_set_tty_state): Don't muck with ICANON.
* inflow.c (terminal_ours_1): When discussing how to deal with the
tty state, make note of query() as well as readline.
Jeff Law [Tue, 18 Jan 1994 04:16:35 +0000 (04:16 +0000)]
* hppa.h: More minor template fixes for sfu and copr (to allow
for easier disassembly).
Jim Kingdon [Tue, 18 Jan 1994 04:14:34 +0000 (04:14 +0000)]
* infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of
signals for which stop and print are cleared by default.
Jeff Law [Tue, 18 Jan 1994 04:08:30 +0000 (04:08 +0000)]
* gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
in the copr tests now.
* gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
copr in the fpu_misc tests anymore. fpu_misc tests are no longer
expected to fail.
Jeff Law [Tue, 18 Jan 1994 04:06:52 +0000 (04:06 +0000)]
* hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template.
No space before 'u', 'f', or 'N'.
Jeff Law [Tue, 18 Jan 1994 04:04:36 +0000 (04:04 +0000)]
* config/pa/tm-hppa.h (unwind_table_entry): Use one of the
reserved fields to hold a stub unwind entry type. Fix typo.
(stub_unwind_entry): New structure for raw stub unwind entries.
(stub_unwind_types): The types of stubs we may encounter.
(UNWIND_ENTRY_SIZE, STUB_UNWIND_ENTRY_SIZE): New defines.
* hppa-tdep.c (rp_saved): Use additional information provided
by linker stub unwind descriptors.
(frameless_function_invocation): Likewise.
(frame_chain_valid): Likewise.
* paread.c (compare_unwind_entries): New function for sorting
unwind table entries.
(read_unwind_info): Rewrite to remove dependency on host endianness.
Read in data from the $UNWIND_END$ subspace which contains linker
stub unwind descriptors. Merge that data into the basic unwind
table.
Jeff Law [Tue, 18 Jan 1994 04:02:06 +0000 (04:02 +0000)]
* hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions.
Jim Kingdon [Tue, 18 Jan 1994 03:42:30 +0000 (03:42 +0000)]
* xcoffread.c (read_xcoff_symtab, case C_FILE): Accept the name
from either the symbol name or the auxent.
* coffread.c, symfile.h (coff_getfilename): Renamed from getfilename,
no longer static.
Jim Kingdon [Tue, 18 Jan 1994 03:29:53 +0000 (03:29 +0000)]
Write ChangeLog entries for Rob changes.
Revert Rob changes which consisted of un-doing (accidentally,
presumably) the changes which have happened since 4.12 branched off.
In lib/gdb.exp remove the comment which went with the "catch" which
Rob removed.
Rob Savoye [Mon, 17 Jan 1994 23:28:29 +0000 (23:28 +0000)]
Apply patches from gdb 4.12 testing.
Rob Savoye [Mon, 17 Jan 1994 23:27:07 +0000 (23:27 +0000)]
Add patches from gdb 4.12 testing.
David MacKenzie [Mon, 17 Jan 1994 23:21:07 +0000 (23:21 +0000)]
* aoutx.h (translate_from_native_sym_flags,
aout_link_add_symbols): Treat N_SET[ABDT] | N_EXT like
N_SET[ABDT].
Stan Shebs [Mon, 17 Jan 1994 22:03:42 +0000 (22:03 +0000)]
Mon Jan 17 13:57:25 1994 Stan Shebs (shebs@andros.cygnus.com)
* objdump.c (stab_name): Allocate dynamically.
(stab_print): Use pointers to strings instead of char arrays.
(dump_stabs): Change alloc and init of arrays appropriately.
(dump_stabs_1): Always decide whether to print stab_name or
the stab's type number, if unnamed.
Ken Raeburn [Mon, 17 Jan 1994 21:58:53 +0000 (21:58 +0000)]
* binutils.all/objdump.exp: Trim list of format names expected, and accept any
known CPU type.
Fred Fish [Mon, 17 Jan 1994 21:36:29 +0000 (21:36 +0000)]
* Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h.
Ian Lance Taylor [Mon, 17 Jan 1994 20:44:33 +0000 (20:44 +0000)]
* ecoff.h (ecoff_set_gp_prolog_size): Declare.
* ecoff.c (ecoff_set_gp_prolog_size): Return type is void.
Ian Lance Taylor [Mon, 17 Jan 1994 20:39:26 +0000 (20:39 +0000)]
Comment and whitespace changes.
Ken Raeburn [Mon, 17 Jan 1994 17:45:27 +0000 (17:45 +0000)]
* readline.c (doing_an_undo): Delete second declaration, since it confuses the
alpha-osf1 native compiler.
Peter Schauer [Mon, 17 Jan 1994 17:18:18 +0000 (17:18 +0000)]
* README: Update notes for alpha port.
Jim Kingdon [Mon, 17 Jan 1994 16:18:17 +0000 (16:18 +0000)]
* i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL
for operation fault, constraint fault, and type fault.
Jeff Law [Mon, 17 Jan 1994 09:30:07 +0000 (09:30 +0000)]
* config/tc-hppa.c (pa_ip): Explicitly check for comma before 'u'
and 'f' template operand.
Jeff Law [Mon, 17 Jan 1994 09:27:08 +0000 (09:27 +0000)]
* hppa.h: More minor template fixes for sfu and copr (to allow
for easier disassembly).
Jeff Law [Mon, 17 Jan 1994 08:25:42 +0000 (08:25 +0000)]
* gas/hppa/basic/fp_misc.s: Delete copr instruction. It's tested
elsewhere now.
* gas/hppa/basic/{copr, coprmem, spop}.s: New tests.
* gas/hppa/basic/basic.exp: Run them.
Jeff Law [Mon, 17 Jan 1994 08:19:56 +0000 (08:19 +0000)]
* config/tc-hppa.c (pa_ip): Handle 'N', 'O', 'o', '0', '1', 'u',
and '2' in copr and sfu instruction templates.
Jeff Law [Mon, 17 Jan 1994 08:15:03 +0000 (08:15 +0000)]
In the right ChangeLog now:
* hppa.h: Fix templates for all the sfu and copr instructions.
Jeff Law [Mon, 17 Jan 1994 08:14:09 +0000 (08:14 +0000)]
Opps. Put log into wrong ChangeLog.
Jeff Law [Mon, 17 Jan 1994 08:13:30 +0000 (08:13 +0000)]
* opcode/hppa.h: Fix templates for all the sfu and copr
instructions.
Jim Kingdon [Mon, 17 Jan 1994 00:58:29 +0000 (00:58 +0000)]
* Makefile.in (init.c): Add comment explaining formatting conventions.
Jim Kingdon [Mon, 17 Jan 1994 00:47:38 +0000 (00:47 +0000)]
* i386-dis.c (print_insn_i386): Add FIXME comment regarding reading
farther than we should.
Jeff Law [Mon, 17 Jan 1994 00:45:15 +0000 (00:45 +0000)]
* as.h (subseg_force_new): Add prototype.
Jim Kingdon [Mon, 17 Jan 1994 00:38:56 +0000 (00:38 +0000)]
* i386-dis.c (dis386): Use Yb and Yv for scasb and scasS.
Jim Kingdon [Mon, 17 Jan 1994 00:23:49 +0000 (00:23 +0000)]
* c-exp.y (parse_number): Assign to temporary between the right
shifts, to work around a bug in the SCO compiler.
Jim Kingdon [Sun, 16 Jan 1994 23:43:22 +0000 (23:43 +0000)]
* complete.c, bind.c: Include <sys/stat.h>.
* complete.c: Define X_OK if not defined by a system header.
Jim Kingdon [Sun, 16 Jan 1994 22:45:13 +0000 (22:45 +0000)]
* Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR):
Add various files which were added to GDB recently.
Jim Kingdon [Sun, 16 Jan 1994 20:09:59 +0000 (20:09 +0000)]
* xcoffread.c (process_xcoff_symbol): Only change 'V' to 'S' if not
within_function.
Jim Kingdon [Sun, 16 Jan 1994 18:48:02 +0000 (18:48 +0000)]
* chardefs.h: Don't declare xmalloc.
* keymaps.h: Include "chardefs.h" not <readline/chardefs.h>.
Jim Kingdon [Sun, 16 Jan 1994 18:30:32 +0000 (18:30 +0000)]
* stabs.texinfo: Re-do stuff about C_BSTAT and move from XCOFF
Differences node to Statics node.
(Statics): Discuss XCOFF use of V symbol descriptor.
Jim Kingdon [Sun, 16 Jan 1994 17:47:47 +0000 (17:47 +0000)]
* Makefile.in: Add mostlyclean target.
Jim Kingdon [Sun, 16 Jan 1994 17:45:32 +0000 (17:45 +0000)]
* Makefile.in: Remove refcard.dvi and GDBvn.texi in realclean,
not clean.
Jim Kingdon [Sun, 16 Jan 1994 17:39:16 +0000 (17:39 +0000)]
* Makefile.in (clean mostlyclean distclean realclean): Recurse
into subdirectories as well as doing this directory. Add clean-dvi
target.
Jim Kingdon [Sun, 16 Jan 1994 17:35:23 +0000 (17:35 +0000)]
* Makefile.in (clean mostlyclean distclean realclean): Recurse
into subdirectories as well as doing this directory.
Per Bothner [Sun, 16 Jan 1994 04:04:13 +0000 (04:04 +0000)]
* readline.c, display.c: Patches to allow use of all 80
columns on most terminals (those with am and xn).
Jim Kingdon [Sun, 16 Jan 1994 03:43:22 +0000 (03:43 +0000)]
* Version 4.11.4.
Per Bothner [Sun, 16 Jan 1994 03:39:57 +0000 (03:39 +0000)]
Merge in changes from bash-1.13. The most obvious one is
that the file readline.c has been split into multiple files.
* bind.c, complete.c, dispay.c, isearch.c, parens.c, rldefs.h,
rltty.c, search.c signals.c, tilde.c, tilde.h, xmalloc.c: New files.
Per Bothner [Sun, 16 Jan 1994 03:35:19 +0000 (03:35 +0000)]
* main.c (show_commands): Make return type of extern
history_get be HIST_ENTRY, rather than struct _hist_entry.
(The latter loses with the upcoming merged readline.)
Jim Kingdon [Sun, 16 Jan 1994 03:23:50 +0000 (03:23 +0000)]
* minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
const char *, not char *.
Jim Kingdon [Sun, 16 Jan 1994 03:14:21 +0000 (03:14 +0000)]
* symtab.h (struct symbol): Make section short, not unsigned short.
Jim Kingdon [Sun, 16 Jan 1994 02:39:50 +0000 (02:39 +0000)]
* symtab.c (lookup_symbol): Add comment about QUIT here.
Jim Kingdon [Sat, 15 Jan 1994 23:00:27 +0000 (23:00 +0000)]
* gdb.t16/printcmds.exp (test_print_strings): Accept
"(unsigned char *) " before the string.
Stan Shebs [Sat, 15 Jan 1994 20:50:15 +0000 (20:50 +0000)]
Sat Jan 15 12:47:23 1994 Stan Shebs (shebs@andros.cygnus.com)
* config.sub (apple, mac, mpw): Add various aliases.
Stan Shebs [Sat, 15 Jan 1994 20:46:29 +0000 (20:46 +0000)]
Fri Jan 7 14:34:31 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-build.in: New file, top-level build script fragment for MPW.
* mpw-configure: New file, configure script for MPW.
* mpw-config.in: New file, config fragment for MPW.
Jim Kingdon [Sat, 15 Jan 1994 20:14:43 +0000 (20:14 +0000)]
* utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
Jim Kingdon [Sat, 15 Jan 1994 19:51:56 +0000 (19:51 +0000)]
* c-exp.y (parse_number): Make it so that integer constants are
builtin_type_long_long if builtin_type_long isn't big enough or if
an "LL" suffix is used. Properly handle "UL" or "LU" suffixes.
David Edelsohn [Sat, 15 Jan 1994 19:00:32 +0000 (19:00 +0000)]
* app.c (do_scrub_next_char): Allow lines like " foolab :".
David Edelsohn [Sat, 15 Jan 1994 17:33:16 +0000 (17:33 +0000)]
* read.c (emit_expr): Fix computation of mask.
David Edelsohn [Sat, 15 Jan 1994 17:31:05 +0000 (17:31 +0000)]
* config/obj-elf.c (obj_elf_section): Fix loop termination test.
Jim Kingdon [Sat, 15 Jan 1994 17:14:18 +0000 (17:14 +0000)]
* c-exp.y (parse_number): Check for overflow regardless of range
checking. Fix overflow check to use unsigned LONGEST, not
unsigned int.
* c-exp.y (parse_number): Make it so that integer constants are
builtin_type_long_long if builtin_type_long isn't big enough or if
an "LL" suffix is used. Properly handle "UL" or "LU" suffixes.
Jim Kingdon [Sat, 15 Jan 1994 17:03:41 +0000 (17:03 +0000)]
* TODO: Add notes about printing of fancy types and GDB expressions.
Jim Kingdon [Sat, 15 Jan 1994 16:30:04 +0000 (16:30 +0000)]
* TODO: Add notes about printing of fancy types and GDB expressions.
Jim Kingdon [Sat, 15 Jan 1994 15:27:49 +0000 (15:27 +0000)]
* c-typeprint.c (c_type_print_varspec_suffix, case TYPE_CODE_FUNC):
Print our "()" first, then recurse for the target type.
Jim Kingdon [Sat, 15 Jan 1994 14:58:41 +0000 (14:58 +0000)]
* TODO: Add note about printing of fancy types.
Jim Kingdon [Sat, 15 Jan 1994 04:28:18 +0000 (04:28 +0000)]
* remote-udi.c (udi_create_inferior): Quote empty execfile argument.
Jim Kingdon [Sat, 15 Jan 1994 03:51:40 +0000 (03:51 +0000)]
* gdbserver/low-lynx.c: Include <sys/wait.h> not /usr/include/wait.h.
Jim Kingdon [Sat, 15 Jan 1994 03:43:01 +0000 (03:43 +0000)]
* utils.c (request_quit): Re-establish signal handler regardless
of USG.
* config/mips/xm-irix4.h: Define HAVE_TERMIOS.
Jim Kingdon [Sat, 15 Jan 1994 02:56:47 +0000 (02:56 +0000)]
* i960-tdep.c: Include target.h.
Stan Shebs [Sat, 15 Jan 1994 01:15:55 +0000 (01:15 +0000)]
Fri Jan 14 17:12:28 1994 Stan Shebs (shebs@andros.cygnus.com)
* lynx-nat.c (sys/wait.h): Don't use absolute pathname.
Ian Lance Taylor [Fri, 14 Jan 1994 22:35:41 +0000 (22:35 +0000)]
* elfcode.h (elf_object_p): If there is a SHT_DYNAMIC section, set
the DYNAMIC flag for the BFD.
(NAME(bfd_elf,write_object_contents)): Don't try to write out a
BFD with the DYNAMIC flag set, since we don't generate the program
header table correctly.
Ian Lance Taylor [Fri, 14 Jan 1994 21:44:44 +0000 (21:44 +0000)]
* objcopy.c (strip_main, copy_main): Don't clobber the input file
if copy_file fails.
Ian Lance Taylor [Fri, 14 Jan 1994 20:58:43 +0000 (20:58 +0000)]
* nlmconv.c (main): Warn about an attempt to use a shared library
with uninitialized data.
Ian Lance Taylor [Fri, 14 Jan 1994 20:43:07 +0000 (20:43 +0000)]
Motorola Delta sysV68 support from phdm@info.ucl.ac.BE (Philippe
De Muyter).
* configure.in (m68k-motorola-sysv*) New target.
* config/delta68.mt: New file.
* emulparams/delta68.sh: New file.
* scripttempl/delta68.sc: New file.
* Makefile.in (ALL_EMULATIONS): Added em_delta68.o.
(em_delta68.c): New target.
Jim Kingdon [Fri, 14 Jan 1994 19:57:50 +0000 (19:57 +0000)]
* lynx-nat.c (child_wait): Fix thinkos in struct target_waitstatus
changes (status -> ourstatus; declare status, etc.).
* config/nm-lynx.h: Fix child_wait prototype and include target.h.
Ian Lance Taylor [Fri, 14 Jan 1994 19:55:42 +0000 (19:55 +0000)]
* nlmconv.c (setup_sections): Make sure that we align the
output_offset of each input section appropriately.
Jim Kingdon [Fri, 14 Jan 1994 19:19:56 +0000 (19:19 +0000)]
* Makefile.in (ALLPARAM): Add config/nm-lynx.h.
Ian Lance Taylor [Fri, 14 Jan 1994 16:52:22 +0000 (16:52 +0000)]
* remote-mips.c (mips_request, mips_wait): Correct prototypes.
Jim Kingdon [Fri, 14 Jan 1994 16:41:35 +0000 (16:41 +0000)]
* config/i386/xm-linux.h: Define HAVE_TERMIOS.
Peter Schauer [Fri, 14 Jan 1994 09:22:44 +0000 (09:22 +0000)]
* config/alpha/tm-alpha.h (CALL_DUMMY): Improve comment.
Ian Lance Taylor [Fri, 14 Jan 1994 04:10:44 +0000 (04:10 +0000)]
* ecoff.c (ecoff_link_write_external): An ifd can be -1.
Ken Raeburn [Fri, 14 Jan 1994 02:05:28 +0000 (02:05 +0000)]
ecoff.c, as.c changes
Ken Raeburn [Fri, 14 Jan 1994 02:01:52 +0000 (02:01 +0000)]
(ecoff_set_gp_prolog_size): New function.
(current_file_idx): New static variable.
(add_file): Use and increment current_file_idx instead of indx parameter.
Also removed trailing whitespace from lines.
Ken Raeburn [Fri, 14 Jan 1994 01:55:59 +0000 (01:55 +0000)]
Oops. Didn't mean to change reject_dev_configs.
Ken Raeburn [Fri, 14 Jan 1994 01:54:01 +0000 (01:54 +0000)]
Don't include config.h directly any more.
Ken Raeburn [Fri, 14 Jan 1994 01:28:19 +0000 (01:28 +0000)]
* struc-symbol.h (struct symbol): Make all bitfields unsigned.
Jim Kingdon [Thu, 13 Jan 1994 23:06:03 +0000 (23:06 +0000)]
* remote-vx.c (vx_wait): Only call i960_fault_to_signal if I80960
is defined. Otherwise just report TARGET_SIGNAL_UNKNOWN.
Jeff Law [Thu, 13 Jan 1994 22:53:03 +0000 (22:53 +0000)]
* som.c (som_set_reloc_info): Provide a default symbol for
relocations which don't actually have an associated symbol.
Ian Lance Taylor [Thu, 13 Jan 1994 22:34:51 +0000 (22:34 +0000)]
* objdump.c (dump_relocs): Don't crash if section name is NULL.
Ken Raeburn [Thu, 13 Jan 1994 21:34:15 +0000 (21:34 +0000)]
Changes for i960_validate_fix, i386-netbsd* configs, BFDDEF handling, literal
pool offset bugs, config.h handling.
Ken Raeburn [Thu, 13 Jan 1994 21:31:50 +0000 (21:31 +0000)]
(add_to_literal_pool): Take symbol and addend as arguments, instead of
expression, for now. Fix calculation of offset to return.
Ken Raeburn [Thu, 13 Jan 1994 21:30:18 +0000 (21:30 +0000)]
(segment_info_type) [NEED_LITERAL_POOL]: Add field literal_pool_size.
Ken Raeburn [Thu, 13 Jan 1994 21:27:49 +0000 (21:27 +0000)]
* as.h: Include config.h. Added forward declaration for struct symbol.
(add_to_literal_pool): Fix declaration.