Rob Savoye [Tue, 1 Jun 1993 23:59:09 +0000 (23:59 +0000)]
Add support for rom68k and bug boot monitors.
Ken Raeburn [Tue, 1 Jun 1993 22:46:47 +0000 (22:46 +0000)]
don't bother checking return value from hash_new
Per Bothner [Tue, 1 Jun 1993 22:44:42 +0000 (22:44 +0000)]
* ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR
symbols, unless stripping.
Per Bothner [Tue, 1 Jun 1993 22:43:29 +0000 (22:43 +0000)]
* aoutx.h (translate_from_native_sym_flags): Don't set
BSF_DEBUGGING for constructor symbols, only BSF_CONSTRUCTOR.
* aoutx.h (translate_to_native_sym_flags): Translate
constructor symbols properly.
Steve Chamberlain [Tue, 1 Jun 1993 18:20:29 +0000 (18:20 +0000)]
Support for -v
Rob Savoye [Tue, 1 Jun 1993 05:22:50 +0000 (05:22 +0000)]
These got lost somehow.
Rob Savoye [Tue, 1 Jun 1993 04:48:51 +0000 (04:48 +0000)]
Add all-tk dependancy to all-expect.
Rob Savoye [Tue, 1 Jun 1993 01:42:24 +0000 (01:42 +0000)]
Add info and install-info targets.
Rob Savoye [Tue, 1 Jun 1993 01:40:59 +0000 (01:40 +0000)]
Add an install-info target too.
Rob Savoye [Tue, 1 Jun 1993 01:37:45 +0000 (01:37 +0000)]
Add info target.
Jim Kingdon [Mon, 31 May 1993 21:09:04 +0000 (21:09 +0000)]
* printcmd.c (print_scalar_formatted): Print integers bigger than
LONGEST in hex no matter how big, and no matter what the format
and size.
Jim Kingdon [Mon, 31 May 1993 21:08:21 +0000 (21:08 +0000)]
* gdb.stabs/wierd.exp: Remove xfail for printing big integer.
Make leading 0's optional and don't expect a tab in the middle
of the number.
Jim Kingdon [Mon, 31 May 1993 20:14:59 +0000 (20:14 +0000)]
* stabsread.c (read_type): Skip type attributes if present.
Jim Kingdon [Mon, 31 May 1993 20:13:49 +0000 (20:13 +0000)]
CVS:foo
* gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
* gdb.stabs/wierd.def: Type attributes must be preceded by number=.
* gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
don't end command passed to gdb_test with newline.
Jim Kingdon [Mon, 31 May 1993 20:13:31 +0000 (20:13 +0000)]
* gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
* gdb.stabs/wierd.def: Type attributes must be preceded by number=.
* gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
don't end command passed to gdb_test with newline.
Jim Kingdon [Mon, 31 May 1993 19:10:29 +0000 (19:10 +0000)]
* gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
signed keyword away, don't expect signed bitfields to be signed.
* gdb.t13/bitfields.exp (bitfield containment): Accept the fields
printing with only as many 1's as are in the field as well as printing
with 32 1's (see comment).
Jim Kingdon [Mon, 31 May 1993 18:08:56 +0000 (18:08 +0000)]
* stabsread.c (read_huge_number): Don't accept '0' + radix as part
of number, just through '0' + radix - 1.
Ian Lance Taylor [Mon, 31 May 1993 17:09:16 +0000 (17:09 +0000)]
Canonicalize sparc-sun-solaris2.1 to sparc-sun-solaris2.
Jim Kingdon [Mon, 31 May 1993 16:37:34 +0000 (16:37 +0000)]
* Makefile.in: Make all-opcodes depend on all-bfd.
Jim Kingdon [Mon, 31 May 1993 16:32:16 +0000 (16:32 +0000)]
* stabs.texinfo (Builtin Type Descriptors): Try to clarify what
NF_LDOUBLE means.
(Stab Types): Include Solaris stab types.
(Procedures): Document Solaris extensions.
Fred Fish [Mon, 31 May 1993 06:04:59 +0000 (06:04 +0000)]
Keep ChangeLog-92
Fred Fish [Mon, 31 May 1993 06:04:29 +0000 (06:04 +0000)]
Add gdb.stabs to keep and gdb.all to remove.
Fred Fish [Mon, 31 May 1993 06:04:00 +0000 (06:04 +0000)]
Add config.rel.in and makefile.rel.in
Fred Fish [Mon, 31 May 1993 06:03:21 +0000 (06:03 +0000)]
Change snapshot.readme to snapshots.readme
Fred Fish [Mon, 31 May 1993 06:02:33 +0000 (06:02 +0000)]
Change udiphsun.h to udiphunix.h.
Fred Fish [Mon, 31 May 1993 03:40:06 +0000 (03:40 +0000)]
* Makefile.in (SER_HARDWIRE): Temporarily comment out ser-tcp.o.
Fred Fish [Mon, 31 May 1993 00:21:41 +0000 (00:21 +0000)]
* {dbxread.c, dwarfread.c} (read_ofile_symtab): Rewrite to take
single parameter, the pointer to the partial symtab, rather than
a bunch of args that are derived from the partial symtab. Change
prototypes and callers to match.
Fred Fish [Sun, 30 May 1993 22:41:52 +0000 (22:41 +0000)]
* dbxread.c (read_ofile_symtab): Remove "#if 1" around code to
set demangling style automatically.
* defs.h (CPLUS_MARKER): Clarify comment that this is only for
GNU C++, not C++ in general.
* symtab.h (general_symbol_info): Simplify by eliminating one
structure level for the language dependent info.
Fred Fish [Sun, 30 May 1993 14:32:12 +0000 (14:32 +0000)]
Add elfcode.h to list of things to keep.
Fred Fish [Sun, 30 May 1993 01:33:31 +0000 (01:33 +0000)]
* gdb.t00/default.exp: Start with a fresh gdb.
Fred Fish [Sun, 30 May 1993 01:14:47 +0000 (01:14 +0000)]
* configure.in (configdirs): Remove gdb.t31 until the chill
compiler works again. It no longer is able to find chillrt0
since it isn't in libchill.a anymore.
Fred Fish [Sun, 30 May 1993 01:09:32 +0000 (01:09 +0000)]
* gdb.stabs/wierd.exp: Rewrite to properly handling a missing
wierd.o, make more modular.
Fred Fish [Sun, 30 May 1993 00:58:55 +0000 (00:58 +0000)]
* gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
spurious newlines that caused problems.
Fred Fish [Sun, 30 May 1993 00:03:59 +0000 (00:03 +0000)]
* c-typeprint.c (c_type_print_base): Avoid dereferencing NULL
names for TYPE_CODE_STRUCT and TYPE_CODE_UNION types.
TYPE_CODE_ENUM was already testing for this.
Stu Grossman [Sat, 29 May 1993 03:14:45 +0000 (03:14 +0000)]
Use getprotobyname instead of hardwired number (in tcp_open).
Stu Grossman [Sat, 29 May 1993 02:36:03 +0000 (02:36 +0000)]
Add README.
Stu Grossman [Sat, 29 May 1993 02:31:00 +0000 (02:31 +0000)]
Doc for gdbserver!
Stu Grossman [Sat, 29 May 1993 01:33:55 +0000 (01:33 +0000)]
Add ser-tcp.c.
Stu Grossman [Sat, 29 May 1993 01:33:36 +0000 (01:33 +0000)]
* Makefile.in: Add new file ser-tcp.c.
* defs.h (memcmp): Add decl for memcmp to #ifndef MEM_FNS_DECLARED.
* findvar.c (write_register): See if we are writing back the same
value that's already in the register. If so, don't bother.
* remote.c (putpkt, getpkt): Improve handling of communication
problems.
* ser-go32.c: Prototype it to death. Update serial_ops and add
dummy routines where appropriate.
* ser-tcp.c: New module to implement serial I/O via TCP
connections.
* ser-unix.c: Clean up getting/setting of tty state. Get rid of
SERIAL_RESTORE, add SERIAL_{GET|SET}_TTY_STATE interfaces.
* serial.c: Add start of support for connect command.
(serial_open): Distinguish between tcp and local devices.
* serial.h (struct serial_ops): Get rid of restore, add
get_tty_state and set_tty_state. Define protoypes and macros for
this mess.
* gdbserver/remote-utils.c: Add tcp support. (readchar): Do
some real buffering. Handle error conditions gracefully.
* gdbserver/remote-inflow-sparc.c: Update to remote-inflow.c
(Lynx), remove lots of cruft.
David D. Zuhn [Sat, 29 May 1993 00:26:49 +0000 (00:26 +0000)]
* printcmd.c (print_address_symbolic): turn this into an assigment
instead of an initialization (many compilers don't accept
structure initialization).
Per Bothner [Fri, 28 May 1993 22:07:47 +0000 (22:07 +0000)]
* Makefile.in (install): Also install ar and ranlib in
$(tooldir)/bin; needed for building libgcc.a.
* objdump.c (objdump_print_address): Fix the check
"coincidental" label matches by dis-allowing undefined
or com symbols.
Rob Savoye [Fri, 28 May 1993 04:31:51 +0000 (04:31 +0000)]
Add a blank install target so the top level makefile won't die.
Rob Savoye [Fri, 28 May 1993 04:29:59 +0000 (04:29 +0000)]
Add a blank install target so the top level make won't die.
Jeffrey Osier [Fri, 28 May 1993 00:00:59 +0000 (00:00 +0000)]
* biutils.texi: revised c++filt chapter
Steve Chamberlain [Thu, 27 May 1993 23:12:21 +0000 (23:12 +0000)]
* aout-target.h (minimum_alignment): 8 byte alignment is right.
(fix ld/2680)
Ken Raeburn [Thu, 27 May 1993 22:33:41 +0000 (22:33 +0000)]
in dis-asm.h, declare print_insn_hppa
Ken Raeburn [Thu, 27 May 1993 22:23:41 +0000 (22:23 +0000)]
Part of bfd reconfiguration: Move bfd.h to bfd directory.
This file now just includes it; see if that helps us avoid requiring -I../bfd
in various places.
Jim Kingdon [Thu, 27 May 1993 22:06:12 +0000 (22:06 +0000)]
* xcoffread.c (read_xcoff_symtab): If several program csects in one
source file, give them all the name of the source file, rather than
the 2nd and subsequent ones having NULL names.
Ken Raeburn [Thu, 27 May 1993 19:57:15 +0000 (19:57 +0000)]
first cut at new maybe-64bit-handling configuration
Ken Raeburn [Thu, 27 May 1993 19:42:23 +0000 (19:42 +0000)]
read.c (s_align_bytes): Properly record alignment.
expr.c (__): Undefine before defining.
as.c (got_sig): Don't return anything; return type might be void.
Whitespace/comment cleanup in frags.c.
Some patches for `-pedantic' or `-fno-common' compilation.
(Some of these changes are from Michael Meissner; see change log.)
Ian Lance Taylor [Thu, 27 May 1993 19:29:38 +0000 (19:29 +0000)]
* app.c (do_scrub_begin): Let line_comment_chars override
comment_chars.
(do_scrub_next_char): If a line comment character is not at the
start of a line, treat it as a comment character if it is one.
For a CPP line comment use pseudo-op .appline rather than .line.
* input-scrub.c (logical_input_line): Make int rather than
unsigned.
(input_scrub_push, input_scrub_begin): Initialize
logical_input_line to -1 rather than 0.
(bump_line_counters): Increment logical_input_line.
(new_logical_line): If line_number is -2, decrement
logical_input_line.
(as_where): Use logical_input_line even if it is 0.
* read.h (s_app_file prototype): Now takes an int argument.
* read.c (potable): Make .appfile call s_app_file with 1. New
.appline pseudo-op calls s_app_line.
(s_app_file): If .appfile, call new_logical_line with -2 to
account for newline inserted by do_scrub_next_char. If listing,
call listing_source_file.
(s_app_line): New function to handle fake pseudo-op .appline.
* config/obj-coff.c (obj_pseudo_table): Make .appline call
obj_coff_ln.
(obj_coff_ln): Added argument to indicate whether .appline.
* config/obj-coffbfd.c (obj_pseudo_table): Make .appline call
obj_coff_ln.
(obj_coff_ln): Added argument to indicate whether .appline.
* config/tc-mips.c (s_file): Pass argument to s_app_file.
Ian Lance Taylor [Thu, 27 May 1993 17:36:33 +0000 (17:36 +0000)]
Changed unixware to univel.
Ian Lance Taylor [Thu, 27 May 1993 15:07:45 +0000 (15:07 +0000)]
* config.guess: Added special check for i[34]86-unixware-sysv4*.
Peter Schauer [Thu, 27 May 1993 13:23:56 +0000 (13:23 +0000)]
* gdb.texinfo: Add `set print symbol-filename' doc.
Peter Schauer [Thu, 27 May 1993 13:19:26 +0000 (13:19 +0000)]
* printcmd.c (print_address_symbolic): Append source filename and
linenumber of the symbol if print symbol-filename is on.
(initialize_printcmd): `set print symbol-filename'.
K. Richard Pixley [Thu, 27 May 1993 06:44:29 +0000 (06:44 +0000)]
added things-to-lose sections
K. Richard Pixley [Thu, 27 May 1993 03:22:48 +0000 (03:22 +0000)]
honor verbose flag
Ian Lance Taylor [Thu, 27 May 1993 00:28:16 +0000 (00:28 +0000)]
* Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS.
Ian Lance Taylor [Thu, 27 May 1993 00:18:14 +0000 (00:18 +0000)]
Correct all-cross target for release-info stuff.
Ian Lance Taylor [Wed, 26 May 1993 23:35:19 +0000 (23:35 +0000)]
* config.guess: For i[34]86-unknown-sysv4 use UNAME_MACHINE for
the processor rather than assuming i486.
Stu Grossman [Wed, 26 May 1993 22:23:56 +0000 (22:23 +0000)]
Remove debugging stuff...
Jim Kingdon [Wed, 26 May 1993 22:15:49 +0000 (22:15 +0000)]
misc fixes
Stu Grossman [Wed, 26 May 1993 21:47:57 +0000 (21:47 +0000)]
Sparc version of remote-inflow.c. Hasn't been made portable yet.
Stu Grossman [Wed, 26 May 1993 21:47:00 +0000 (21:47 +0000)]
Keep appropriate files in gdbserver directory.
Stu Grossman [Wed, 26 May 1993 20:55:47 +0000 (20:55 +0000)]
* configure.in: Add config for Lynx target. Configure gdbserver
only for Lynx. Re-do selective configuration of sparclite.
Stu Grossman [Wed, 26 May 1993 20:49:21 +0000 (20:49 +0000)]
* gdbserver/{remote-gutils.c remote-server.c Makefile.in
configure.in remote-inflow.c remote-utils.c}: New files to
support GDB remote server. Currently only works for Lynx.
Stu Grossman [Wed, 26 May 1993 20:48:44 +0000 (20:48 +0000)]
blah blah blah
Jim Kingdon [Wed, 26 May 1993 20:06:59 +0000 (20:06 +0000)]
* Move test with enums and partial symbols from gdb.t03/ptype.exp
to gdb.stabs/wierd.exp since GCC has worked around the bug.
Jim Kingdon [Wed, 26 May 1993 20:04:50 +0000 (20:04 +0000)]
* Move test with enums and partial symbols from gdb.t02/ptype.exp
to gdb.stabs/wierd.exp since GCC has worked around the bug.
gdb.stabs/wierd.{exp,def}: Many new tests.
Jim Kingdon [Wed, 26 May 1993 18:16:28 +0000 (18:16 +0000)]
formatting fixes
Jim Kingdon [Wed, 26 May 1993 17:20:50 +0000 (17:20 +0000)]
* stabs.texinfo (Arrays): Talk about type definition vs. type
information.
Jim Kingdon [Wed, 26 May 1993 17:17:02 +0000 (17:17 +0000)]
* stabsread.c (define_symbol, case 't'): Only set the name if it
is not a pointer type.
* stabsread.c (define_symbol): Clean up logic; move the read_type
calls to inside the switch statement (this improves the error
handling).
Jim Kingdon [Wed, 26 May 1993 17:06:40 +0000 (17:06 +0000)]
* gdb.t00/default.exp: update info line for new message.
* gdb.t02/{whatis.exp,gdbme.c}:
Test that "char *" doesn't print as "caddr_t".
Jim Kingdon [Wed, 26 May 1993 15:33:07 +0000 (15:33 +0000)]
* mipsread.c (parse_symbol, parse_partial_symbols): Deal with Fortran
common blocks.
Jim Kingdon [Wed, 26 May 1993 14:43:25 +0000 (14:43 +0000)]
* config.guess: Recognize SunOS6 as Solaris3.
Jim Kingdon [Wed, 26 May 1993 06:09:53 +0000 (06:09 +0000)]
minor fixes (e.g. typos). Update table of non-stab values for n_type
Per Bothner [Wed, 26 May 1993 06:06:37 +0000 (06:06 +0000)]
* config.guess: Fix typo. Avoid #elif (not in K&R 1).
Recognize SunOS 5.* only (and not [6-9].*) as being Solaris2.
Jim Kingdon [Wed, 26 May 1993 05:30:12 +0000 (05:30 +0000)]
* stabs.texinfo (Builtin Type Descriptors): Talk about omitting
the trailing semicolon.
Jim Kingdon [Wed, 26 May 1993 05:24:25 +0000 (05:24 +0000)]
punctuation fixes
Jim Kingdon [Wed, 26 May 1993 04:56:02 +0000 (04:56 +0000)]
* printcmd.c (print_formatted, case 'i'): Pass a tab to wrap_here.
* source.c (line_info): Change "pc" to "address" in messages and
use print_address for addresses.
Jim Kingdon [Wed, 26 May 1993 04:29:38 +0000 (04:29 +0000)]
* source.c (line_info): If we don't find a symtab, print more useful
output, including the symbolic address.
Jim Kingdon [Wed, 26 May 1993 03:27:32 +0000 (03:27 +0000)]
* source.c (line_info): If --fullname, display the source.
(identify_source_line), callers: Take pc as argument, rather than
assuming innermost frame (emacs doesn't use this, so no one ever
noticed).
* symtab.h: Declare frame_file_full_name.
* main.c: Don't.
Rob Savoye [Wed, 26 May 1993 01:55:00 +0000 (01:55 +0000)]
configure.in template that supports *only* make check. (for releases)
Rob Savoye [Wed, 26 May 1993 01:44:49 +0000 (01:44 +0000)]
Makefile fragment that supports *only* make check. (for releases)
Jim Kingdon [Wed, 26 May 1993 01:31:02 +0000 (01:31 +0000)]
* stabs.texinfo (Line Numbers, Source Files): Re-write these two nodes
and merge in other parts of the document addressing these subjects.
gdbint.texinfo (XCOFF): Remove info which is now in stabs.texinfo.
Ian Lance Taylor [Tue, 25 May 1993 22:37:41 +0000 (22:37 +0000)]
* Makefile.in: configure looks for ####, so remove lines with many
'#' characters.
* config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0
and HOSTING_LIBS correctly so that ``make check'' will work.
Brendan Kehoe [Tue, 25 May 1993 22:31:38 +0000 (22:31 +0000)]
* breakpoint.c (catch_command_1): Fix typo in error msg.
Ken Raeburn [Tue, 25 May 1993 20:39:21 +0000 (20:39 +0000)]
elf32 updates
Ken Raeburn [Tue, 25 May 1993 20:24:24 +0000 (20:24 +0000)]
elf, cleanup changes
Ken Raeburn [Tue, 25 May 1993 20:22:09 +0000 (20:22 +0000)]
elf, bfd_vma-cast changes
Ken Raeburn [Tue, 25 May 1993 20:21:06 +0000 (20:21 +0000)]
* elfread.c (elf_symfile_read): Update ELF structure and routine
names to specify 32-bit versions.
(elf_symtab_read): Retrieve size field directly from symbol,
instead of using old kludge.
Ken Raeburn [Tue, 25 May 1993 20:14:57 +0000 (20:14 +0000)]
(elf64.c): Add to list of sources.
(elf64.o): List dependencies; don't build by default.
(elf32.o): Update dependencies.
(archures.o, targets.o): Depend on Makefile, for MINIMIZE &c.
Ken Raeburn [Tue, 25 May 1993 20:12:59 +0000 (20:12 +0000)]
print_insn_* routines want bfd_vma, not CORE_ADDR
Ken Raeburn [Tue, 25 May 1993 20:11:26 +0000 (20:11 +0000)]
Updated for new macro, type, and structure names.
Cleaned up some namespace pollution; renamed elf vectors.
Jim Kingdon [Tue, 25 May 1993 19:57:38 +0000 (19:57 +0000)]
* gdb.t00/help.exp: Use .* in place of some help messages which
just changed.
gdb.t00/default.exp: Update "info frame" test for new message.
* gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
Remove some xfails
Jim Kingdon [Tue, 25 May 1993 19:56:22 +0000 (19:56 +0000)]
* stabs.texinfo (Subranges): "A offset" and "T offset" are not
AIX extensions.
Ian Lance Taylor [Tue, 25 May 1993 19:48:13 +0000 (19:48 +0000)]
* build-all.mk (all-cross): New target for Canadian Cross.
Added Q2 go32 targets.
* test-build.mk: Configure go32 cross sparclite-aout and
mips-idt-ecoff -with-gnu-ld. Moved build binary directory from
PARTIAL_HOLE_DIRS to BUILD_HOLES_DIRS.
Ken Raeburn [Tue, 25 May 1993 19:48:12 +0000 (19:48 +0000)]
(COERCE64): Avoid out-of-range numbers
Jim Kingdon [Tue, 25 May 1993 19:39:41 +0000 (19:39 +0000)]
* stabsread.c: Remove all uses of error(). Make error_type and
read_type_number static.
(define_symbol): Don't try to deal with a missing symbol
descriptor which isn't followed by digit, '(', or '-'.
* stabsread.h: Don't declare read_type_number here.
* gdbtypes.h: Don't declare error_type here.
* xcoffread.c: Remove NO_TYPEDEFS code.
Jim Kingdon [Tue, 25 May 1993 19:35:02 +0000 (19:35 +0000)]
x