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
Jim Kingdon [Tue, 25 May 1993 19:32:19 +0000 (19:32 +0000)]
* gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
Remove some xfails
Ken Raeburn [Tue, 25 May 1993 19:32:06 +0000 (19:32 +0000)]
add elf64 structures/macros/types, rename some old elf->elf32
Ian Lance Taylor [Tue, 25 May 1993 19:16:16 +0000 (19:16 +0000)]
* config/obj-bout.h (S_GET_VALUE): Removed unnecessary cast.
Ken Raeburn [Tue, 25 May 1993 18:50:49 +0000 (18:50 +0000)]
begin reorganization to support 64-bit elf
Ian Lance Taylor [Tue, 25 May 1993 16:37:53 +0000 (16:37 +0000)]
* mips-tdep.c: Removed #include of many header files, and #define
of MIPSMAGIC; no longer used.
Jim Kingdon [Tue, 25 May 1993 16:22:41 +0000 (16:22 +0000)]
* Many places: replace "the inferior" in messages with "the program"
or "the program being debugged".
* inflow.c (try_writing_regs): Remove; it's been #if 0'd forever
and I'm getting sick of maintaining it.
Jim Kingdon [Tue, 25 May 1993 15:47:28 +0000 (15:47 +0000)]
* config/i386/linux.mh: Don't use \ newline; the awk scripts don't
support it.
* config/i386/go32.mh: Define SER_HARDWIRE.
* Makefile.in: Define SER_HARDWIRE.
(DEPFILES): Use it.
(alldeps.mak): Add SER_HARDWIRE.
Remove all references to ser-hardwire.{c,o}.
* configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
Jim Kingdon [Tue, 25 May 1993 15:41:49 +0000 (15:41 +0000)]
* config/i386/linux.mh: Don't use \ newline; the awk scripts don't
support it.
* config/i386/go32.mh: Define SER_HARDWIRE.
* Makefile.in: Define SER_HARDWIRE.
(DEPFILES): Use it.
(alldeps.mak): Add SER_HARDWIRE.
Remove all references to ser-hardwire.{c,o}.
* configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
Peter Schauer [Tue, 25 May 1993 06:52:54 +0000 (06:52 +0000)]
* sparc-nat.c (store_inferior_registers): Fill in all members of
inferior_fp_registers by reading them from the inferior before
modifying and writing them back.
Fixes unexplainable inferior FP exceptions after calls to the inferior
or setting of floating point registers.
* mips-tdep.c (mips_skip_prologue): Skip move of argument register
to register which is generated by gcc-2.4.
Ken Raeburn [Tue, 25 May 1993 04:46:09 +0000 (04:46 +0000)]
try to make hppa opcode table, updated for gas, still be compatible with gdb
Ken Raeburn [Tue, 25 May 1993 04:28:56 +0000 (04:28 +0000)]
Makefile.in (DISTSTUFF): Don't build binutils.mm.
objdump.c (slurp_symtab): Print warning for bad symbol table.
David D. Zuhn [Mon, 24 May 1993 22:33:43 +0000 (22:33 +0000)]
INFO-DIR-ENTRY formatting tweaks
David D. Zuhn [Mon, 24 May 1993 22:31:24 +0000 (22:31 +0000)]
* configure.in: fix Alpha GDB typo; also, don't build DejaGnu for
GO32 hosted toolchains
Stu Grossman [Mon, 24 May 1993 21:05:43 +0000 (21:05 +0000)]
Add lynx files.
Stu Grossman [Mon, 24 May 1993 21:04:09 +0000 (21:04 +0000)]
Add i386lynx.c.
Stu Grossman [Mon, 24 May 1993 20:58:41 +0000 (20:58 +0000)]
* config/i386/{i386lynx.mh i386lynx.mt nm-i386lynx.h tm-i386lynx.h
xm-i386lynx.h}: New configuration for Lynx.
Rob Savoye [Mon, 24 May 1993 20:21:01 +0000 (20:21 +0000)]
* configure: change so "-exec-prefix" gets passed down rather
than "-exec_prefix" so autoconf generated Makefiles get the
exec_prefix set right.
Fred Fish [Mon, 24 May 1993 18:10:14 +0000 (18:10 +0000)]
* snapshots.readme: Clarify when obvious and non-obvious bugs
should be reported.
Jim Kingdon [Mon, 24 May 1993 16:45:16 +0000 (16:45 +0000)]
* mipsread.c (parse_symbol): Deal with scVar and scVarRegister.
* symtab.h: Comment that LOC_REGPARM_ADDR can be call by reference.
Jim Kingdon [Mon, 24 May 1993 16:33:12 +0000 (16:33 +0000)]
* stabs.texinfo (Stabs Format): Misc fixes.
Jim Kingdon [Mon, 24 May 1993 15:44:12 +0000 (15:44 +0000)]
* c-typeprint.c (c_type_print_base): Don't print typedef'd names
as struct, union, or enum tags.
Jim Kingdon [Mon, 24 May 1993 15:34:49 +0000 (15:34 +0000)]
* gdb.t03/{gdbme.c,ptype.exp}:
Add tests for typedef'd struct and union without tags.