John Gilmore [Thu, 10 Sep 1992 20:31:10 +0000 (20:31 +0000)]
* opncls.c (bfd_fdopenr): Determine whether to fdopen for
update, based on how the underlying file was opened. Obsoletes
FASCIST_FDOPEN.
* hosts/rs6000.h, hosts/tahoe.h, hosts/vaxbsd.h: Remove
all FASCIST_FDOPEN config defines.
Ken Raeburn [Thu, 10 Sep 1992 19:56:45 +0000 (19:56 +0000)]
from p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.h
Ken Raeburn [Thu, 10 Sep 1992 19:48:53 +0000 (19:48 +0000)]
from p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.h
John Gilmore [Thu, 10 Sep 1992 19:18:05 +0000 (19:18 +0000)]
* i386-stub.c, sparc-stub.c (getpacket): Actually check checksums.
* m68k-stub.c: Remove a few extraneous ANSI-isms.
* remote-nindy.c (nindy_prepare_to_store): Only fetch regs if
they aren't already there.
* remote-vx.c (vx_prepare_to_store): Ditto.
* xcoffread.c: Surround forward struct defns with #ifdef __STDC__.
Ian Lance Taylor [Thu, 10 Sep 1992 18:04:50 +0000 (18:04 +0000)]
Thu Sep 10 10:43:19 1992 Ian Lance Taylor (ian@cygnus.com)
* configure.in, config.sub: added new target m68010-adobe-scout,
with alias of adobe68k. Changed configure.in to check for
-scout before -sco* to avoid a false match.
Ian Lance Taylor [Thu, 10 Sep 1992 17:45:18 +0000 (17:45 +0000)]
Thu Sep 10 10:43:19 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: added AS_FOR_TARGET, passed down in
TARGET_FLAGS_TO_PASS. Added CC_FOR_BUILD, which is intended to be
the C compiler to use to create programs which are run in the
build environment, set it to default to $(CC), and passed it down
in FLAGS_TO_PASS and TARGET_FLAGS_TO_PASS.
Steve Chamberlain [Thu, 10 Sep 1992 17:23:25 +0000 (17:23 +0000)]
Remove typo
Steve Chamberlain [Thu, 10 Sep 1992 17:22:33 +0000 (17:22 +0000)]
Remove sparc-opc.c
Steve Chamberlain [Thu, 10 Sep 1992 17:20:10 +0000 (17:20 +0000)]
Special stuff to strip v9 out of sparc-opc.c
Steve Chamberlain [Thu, 10 Sep 1992 16:34:29 +0000 (16:34 +0000)]
Add sparc-opc.c
Ian Lance Taylor [Thu, 10 Sep 1992 16:25:31 +0000 (16:25 +0000)]
Thu Sep 10 09:23:15 1992 Ian Lance Taylor (ian@cygnus.com)
* input-scrub.c (input_scrub_push): call input_file_begin, not
input_scrub_begin.
messages.c (as_perror): print ": " between the passed in error and
the strerror, like perror does.
John Gilmore [Thu, 10 Sep 1992 00:17:23 +0000 (00:17 +0000)]
Removed a large number of changes inserted by Per Bothner
for C++ support. These will go back in when they've been
examined.
John Gilmore [Thu, 10 Sep 1992 00:07:06 +0000 (00:07 +0000)]
Removed a large number of changes inserted by Per Bothner
for C++ support. These will go back in when they've been
examined.
Ian Lance Taylor [Wed, 9 Sep 1992 19:24:23 +0000 (19:24 +0000)]
Wed Sep 9 12:21:42 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: added TARGET_FLAGS_TO_PASS, CC_FOR_TARGET,
AR_FOR_TARGET, RANLIB_FOR_TARGET, NM_FOR_TARGET. Pass
TARGET_FLAGS_TO_PASS, which defines CC, AR, RANLIB and NM as the
FOR_TARGET variants, to newlib and libg++.
Ian Lance Taylor [Wed, 9 Sep 1992 18:59:30 +0000 (18:59 +0000)]
Brought in from p3. If anybody knows good numbers for m68k COFF,
please let me know, or plug them in yourself.
Wed Sep 9 11:52:58 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt:
added m68k-coff emulation mode, stolen from a29k emulation.
Almost certainly wrong, but perhaps better than sun3.
Ian Lance Taylor [Wed, 9 Sep 1992 18:59:11 +0000 (18:59 +0000)]
Brought in from p3. If anybody knows good numbers for m68k COFF,
please let me know, or plug them in yourself.
Wed Sep 9 11:52:58 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt:
added m68k-coff emulation mode, stolen from a29k emulation.
Almost certainly wrong, but perhaps better than sun3.
Also fixed an error message in configure.in so that it started with
'***' like the other error messages do.
Ian Lance Taylor [Wed, 9 Sep 1992 18:38:50 +0000 (18:38 +0000)]
Wed Sep 9 11:25:28 1992 Ian Lance Taylor (ian@cygnus.com)
* m68k.h: merged Motorola and MIT syntax.
Ian Lance Taylor [Wed, 9 Sep 1992 18:38:16 +0000 (18:38 +0000)]
Wed Sep 9 11:10:24 1992 Ian Lance Taylor (ian@cygnus.com)
* tc-m68k.c (m68k_ip, m68k_ip_op, get_num, try_moto_index): merge
Motorola and MIT syntax; gas can now assemble either type of
file.
tc-m68kmote.c, tc-m68kmote.h: removed now superfluous files.
From Steve Chamberlain:
m68kcoff.mt: for m68k COFF.
obj-coffbfd.c: (fixup_mdeps) added
(size_section) removed bad sanity check
(fill_section) added rs_machine_dependent case
(write_object_file) call fixup_mdeps
(fixup_segment) set fx_subsy to 0.
obj-coffbfd.h: define WORKING_DOT_WORD (too hard to support) and
handle m68k.
tc-m68k.c, config/tc-m68k.h: added m68k COFF support and Motorala
pseudo ops.
Ian Lance Taylor [Wed, 9 Sep 1992 18:37:27 +0000 (18:37 +0000)]
Wed Sep 9 11:06:25 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: use gas_target instead of modifying target_cpu.
From Steve Chamberlain:
Makefile.in: Handle m68*-*-coff*.
read.c, read.h: add mult argument to s_space
Stu Grossman [Wed, 9 Sep 1992 04:09:56 +0000 (04:09 +0000)]
* serial.h: Fix prototye for serial_raw().
* ser-bsd.c, ser-termios.c: Fix args for serial_open() &
serial_write() to match prototypes.
* remote-st2000.c (get_reg_name): Make *p be const.
Ken Raeburn [Wed, 9 Sep 1992 03:15:37 +0000 (03:15 +0000)]
build opcodes before gas or gdb
Ken Raeburn [Wed, 9 Sep 1992 01:48:41 +0000 (01:48 +0000)]
move out sparc-opc.c
Ken Raeburn [Wed, 9 Sep 1992 01:27:27 +0000 (01:27 +0000)]
include opcode library
Ken Raeburn [Wed, 9 Sep 1992 01:18:47 +0000 (01:18 +0000)]
accidentally used out-of-date version
K. Richard Pixley [Wed, 9 Sep 1992 00:30:25 +0000 (00:30 +0000)]
remove subdir_do and references
Stu Grossman [Tue, 8 Sep 1992 23:06:06 +0000 (23:06 +0000)]
Switch to ser-bsd.c.
Ken Raeburn [Tue, 8 Sep 1992 22:57:22 +0000 (22:57 +0000)]
nindy bug fixes (function types) and opcode library inclusion
Stu Grossman [Tue, 8 Sep 1992 22:51:31 +0000 (22:51 +0000)]
* a68v-xdep.c (store_inferior_registers): declare as void.
* infptrace.c: HP/Apollos have ptrace.h in the wrong place.
* remote-st2000.c: Massive changes to use new serial package.
Also added 'connect' command to transparantly connect to serial
port.
* ser-termios.c: Big cleanup, use nicer coding conventions.
* ser-bsd.c: New module, serial stuff for BSD systems.
* serial.h: Define struct ttystate properly using HAVE_TERMIO.
* xm-apollo68b.h: #define PTRACE_IN_WRONG_PLACE...
Stu Grossman [Tue, 8 Sep 1992 22:46:08 +0000 (22:46 +0000)]
* a68v-xdep.c (store_inferior_registers): declare as void.
* infptrace.c: HP/Apollos have ptrace.h in the wrong place.
* remote-st2000.c: Massive changes to use new serial package.
Also added 'connect' command to transparantly connect to serial
port.
* ser-termios.c: Big cleanup, use nicer coding conventions.
* ser-bsd.c: New module, serial stuff for BSD systems.
* serial.h: Define struct ttystate properly using HAVE_TERMIO.
* xm-apollo68b.h: #define PTRACE_IN_WRONG_PLACE...
Ken Raeburn [Tue, 8 Sep 1992 22:33:31 +0000 (22:33 +0000)]
nindy bug fixes (function types) and opcode library inclusion
Stu Grossman [Tue, 8 Sep 1992 22:14:39 +0000 (22:14 +0000)]
Don't have bison on Apollo's for now.
Ken Raeburn [Tue, 8 Sep 1992 21:12:26 +0000 (21:12 +0000)]
Makefile.in bug fixes and sparc-opc.c addition
Fred Fish [Tue, 8 Sep 1992 20:58:39 +0000 (20:58 +0000)]
Add deja-gnu.
Ian Lance Taylor [Tue, 8 Sep 1992 17:13:53 +0000 (17:13 +0000)]
Found by IBM-France. gcc can warn about this sort of thing....
Tue Sep 8 10:10:34 1992 Ian Lance Taylor (ian@cygnus.com)
* aoutx.h: adjust_sizes_and_vmas did not return anything.
Roland Pesch [Sat, 5 Sep 1992 02:04:57 +0000 (02:04 +0000)]
changes, what else?
Roland Pesch [Sat, 5 Sep 1992 02:00:29 +0000 (02:00 +0000)]
Fri Sep 4 18:53:57 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
* doc/gdb.texinfo: fix shameful error of agreement reported by
jimb@occs.cs.oberlin.edu (Jim Blandy)
* doc/gdb.texinfo: remove old partial discussion of remote serial
protocol (via serial debug stubs)
* doc/gdbinv-m.m4.in, doc/gdbinv-s.m4.in: new section discussing
use of serial debug stubs
Ken Raeburn [Fri, 4 Sep 1992 23:25:16 +0000 (23:25 +0000)]
from p3: +0.0 is a small integer, at least for moveq
K. Richard Pixley [Fri, 4 Sep 1992 21:03:18 +0000 (21:03 +0000)]
tab completion optimization
Per Bothner [Fri, 4 Sep 1992 07:48:14 +0000 (07:48 +0000)]
* stabs.texinfo: Document the format for C++ nested types.
Per Bothner [Fri, 4 Sep 1992 07:38:03 +0000 (07:38 +0000)]
A ton of changes to improve C++ debugging. See ChangeLog.
Note new nested type changes.
Per Bothner [Fri, 4 Sep 1992 07:37:18 +0000 (07:37 +0000)]
A ton of changes to improve C++ debugging. See ChangeLog.
Per Bothner [Fri, 4 Sep 1992 03:29:15 +0000 (03:29 +0000)]
* Makefile.in, Makefile.dos, generic.em, genscripts.sh,
gld960.em, h8300hms.em, h8300xray.em, lnk960.em, st2000.em,
vanilla.em: Rename all (generated) ld__*.c files to em_.c.
This is one character shorter, and lets people build on
SVR3 system. (ld__h8300xray.[co] was the killer there;
h8300xray.sc-sh is also overlong, but seems harmless.)
Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>.
* Makefile.in (clean): Fix typo mostclean -> mostlyclean.
* configure.in: Add host isc.
Per Bothner [Fri, 4 Sep 1992 02:45:57 +0000 (02:45 +0000)]
Note version change to 2.0.
Jim Wilson [Thu, 3 Sep 1992 23:17:41 +0000 (23:17 +0000)]
Remove extraneous, but harmless, backslash from last change.
Per Bothner [Thu, 3 Sep 1992 22:58:38 +0000 (22:58 +0000)]
Remove scripts directory.
Per Bothner [Thu, 3 Sep 1992 22:56:45 +0000 (22:56 +0000)]
Add TODO.
Per Bothner [Thu, 3 Sep 1992 22:24:03 +0000 (22:24 +0000)]
Regenerated from bfd-in.h.
Per Bothner [Thu, 3 Sep 1992 21:18:04 +0000 (21:18 +0000)]
Bump to version 2.0.
Per Bothner [Thu, 3 Sep 1992 21:14:53 +0000 (21:14 +0000)]
* Makefile.in: Let's call it version 2.0.
Stu Grossman [Thu, 3 Sep 1992 16:26:59 +0000 (16:26 +0000)]
Add apollo68b.mh.
Stu Grossman [Thu, 3 Sep 1992 16:26:03 +0000 (16:26 +0000)]
* a68v-xdep.c (store_inferior_registers): Define as type void.
* configure.in: Add host m68k-apollo*-bsd*.
* demangle.c (struct demanglers): Use enum instead of constant
value to keep braindamaged HP/Apollo compiler happy.
Stu Grossman [Thu, 3 Sep 1992 16:13:22 +0000 (16:13 +0000)]
* bfd.h (struct reloc_howto_struct): size needs to be signed if
it's going to hold negative values.
Stu Grossman [Thu, 3 Sep 1992 16:10:13 +0000 (16:10 +0000)]
* bout.c, cpu-z8k.c: Use enums when initializing structs to keep
braindamaged HP/Apollo compiler happy.
Per Bothner [Thu, 3 Sep 1992 06:02:56 +0000 (06:02 +0000)]
* ldver.c: Bump to version 0.98.
* TODO: New file.
Per Bothner [Thu, 3 Sep 1992 06:01:09 +0000 (06:01 +0000)]
* Makefile.in: Bump to version 0.98.
* TODO, README: Minor updates.
Per Bothner [Thu, 3 Sep 1992 05:03:47 +0000 (05:03 +0000)]
* utils.c (strcmp_iw): Add a hack to allow "FOO(ARGS)" to
match "FOO". This allows 'break Foo' to work when Foo is
a mangled C++ function. (See comment before function.)
John Gilmore [Thu, 3 Sep 1992 00:55:04 +0000 (00:55 +0000)]
* config/rs6000.mh (MH_CFLAGS): Circumvent IBM <rpc/rpc.h> bug,
for files in vx-share/*.c.
* xm-rs6000.h (fd_set): Circumvent the rs6000.mh circumvention,
for normal GDB source files.
John Gilmore [Wed, 2 Sep 1992 20:53:39 +0000 (20:53 +0000)]
Roll VERSION to 4.6.6.
John Gilmore [Wed, 2 Sep 1992 20:50:31 +0000 (20:50 +0000)]
* tm-vx68.h, tm-es1800.h: Use tm-68k.h rather than tm-sun3.h.
* tm-sun3.h: Remove STACK_END_ADDR, no longer used.
* tm-sun3os4.h: Update comments.
* xm-delta88.h: Remove STACK_END_ADDR.
Per Bothner [Wed, 2 Sep 1992 20:45:02 +0000 (20:45 +0000)]
Add copyright notice.
John Gilmore [Wed, 2 Sep 1992 09:32:27 +0000 (09:32 +0000)]
Tiny bugfix for makeinfo.
John Gilmore [Wed, 2 Sep 1992 09:24:34 +0000 (09:24 +0000)]
Update .sanitize files
John Gilmore [Wed, 2 Sep 1992 09:23:12 +0000 (09:23 +0000)]
Update sanity files.
John Gilmore [Wed, 2 Sep 1992 08:54:04 +0000 (08:54 +0000)]
Roll VERSION to 4.6.5 for the P3 release.
John Gilmore [Wed, 2 Sep 1992 08:52:53 +0000 (08:52 +0000)]
* config/sun4os4.mh: Include ser-termios.o. FIXME, all .mh files
should include a ser-XXX.o module.
* configure.in: Map unrecognized sun 68k's, sun sparcs, into
known suns in configure.in, rather than mapping them to unique
config files that happen to duplicate other config files.
* config/sun3.{mh,mt}: Remove (use identical sun3os4.*).
* config/sun4.{mh,mt}: Remove (use identical sun4os4.*).
John Gilmore [Wed, 2 Sep 1992 08:51:17 +0000 (08:51 +0000)]
* ser-termios.c, ser-go32.c: Remove DEFUN crap, clean up.
* serial.h (EXFUN): Remove all uses, convert to PARAMS.
* config/sun4os4.mh: Include ser-termios.o. FIXME, all .mh files
should include a ser-XXX.o module.
* dbxread.c (elfstab_build_psymtabs): Remove DEFUN crap.
* defs.h, i960-pinsn.c, remote-hms.c: Replace CONST with simple const.
* configure.in: Map unrecognized sun 68k's, sun sparcs, into
known suns in configure.in, rather than mapping them to unique
config files that happen to duplicate other config files.
* config/sun3.{mh,mt}: Remove (use identical sun3os4.*).
* config/sun4.{mh,mt}: Remove (use identical sun4os4.*).
John Gilmore [Wed, 2 Sep 1992 08:04:32 +0000 (08:04 +0000)]
* config/m68k-un.mt, config/m68k-noun.mt, config/sparc-un.mt,
config/sparc-noun.mt: New target configs for embedded.
* config/sun4os3.{mh,mt}: Remove, never existed in production.
John Gilmore [Wed, 2 Sep 1992 08:03:42 +0000 (08:03 +0000)]
* configure.in (*-*-sunos*): Use trailing * to match all
sub-variants of SunOS, e.g. sunos4* to match sunos4.1.1.
(sparc-*-sunos3): Remove host & target. Sunos3 never shipped
in production on Sun-4.
({a29k,i[34]86,i960}-*-elf): Add targets, equivalent to coff.
(m68k-*-{aout,coff,elf}): Add targets, w/new config and tm files.
(sparc-*-{aout,coff,elf}): Add targets, w/new config and tm files.
* tm-68k-un.h, tm-68k-noun.h, tm-spc-un.h, tm-spc-noun.h: New
target definitions for embedded with and without underlines on
identifiers. FIXME -- this ought to be known by BFD instead.
* tm-sparc.h, tm-sun2.h, tm-sun3.h: Delete NAMES_HAVE_UNDERSCORE:
not a parameter of the CPU, but of the development environment.
* tm-es1800.h, tm-sunos.h, tm-vx68.h: Add NAMES_HAVE_UNDERSCORE.
Per Bothner [Wed, 2 Sep 1992 07:27:31 +0000 (07:27 +0000)]
* Makefile.in: Added mostlyclean/clean/distclean rules.
Per Bothner [Wed, 2 Sep 1992 07:26:15 +0000 (07:26 +0000)]
* Makefile.in: Added mostlyclean, distclean rules,
and cleaned up clean, realclean.
Per Bothner [Wed, 2 Sep 1992 06:45:13 +0000 (06:45 +0000)]
* ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c).
* ldlex.l: Moved comment() to end, since some compilers
otherwise have problems with input() used before it is defined.
Roland Pesch [Wed, 2 Sep 1992 04:08:28 +0000 (04:08 +0000)]
Formatting improvements and other minor edits.
John Gilmore [Wed, 2 Sep 1992 02:31:52 +0000 (02:31 +0000)]
* breakpoint.c (breakpoint_re_set): Avoid setting source symtab
(which involves reading in main's symtab) if we have no breakpoints.
David D. Zuhn [Wed, 2 Sep 1992 00:49:47 +0000 (00:49 +0000)]
new configure triple work, added solaris 2 & irix host support, fix FLEX definition
Per Bothner [Tue, 1 Sep 1992 23:10:08 +0000 (23:10 +0000)]
Removed cplus-dem.[ch]. (These are now in ../libiberty.)
Steve Chamberlain [Tue, 1 Sep 1992 22:49:37 +0000 (22:49 +0000)]
* Makefile.in: all-opcodes, cd into the right directory
Per Bothner [Tue, 1 Sep 1992 22:32:28 +0000 (22:32 +0000)]
This seems to have been overlooked in my last check-in.
Per Bothner [Tue, 1 Sep 1992 22:14:49 +0000 (22:14 +0000)]
Add scripts.
Per Bothner [Tue, 1 Sep 1992 22:14:24 +0000 (22:14 +0000)]
Add isc-sysv3.2.sc.
Per Bothner [Tue, 1 Sep 1992 22:07:32 +0000 (22:07 +0000)]
Remove non-existant file hp300bsd.mh.
Per Bothner [Tue, 1 Sep 1992 20:42:42 +0000 (20:42 +0000)]
Note previous change (removing oasys from target_vector).
Per Bothner [Tue, 1 Sep 1992 20:42:11 +0000 (20:42 +0000)]
* targets.c (target_vector): Take out oasys (unless that is
the default): Because there is no magic number in archives,
there can be annoying target mis-matches.
Ian Lance Taylor [Tue, 1 Sep 1992 01:17:01 +0000 (01:17 +0000)]
Brought forward from p3:
Sun Aug 30 21:38:53 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: map "ld" through program_transform_name when
installing.
Ian Lance Taylor [Tue, 1 Sep 1992 01:16:25 +0000 (01:16 +0000)]
Brought forward from p3:
Sun Aug 30 21:32:17 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: map "gdb" through program_transform_name when
installing.
Ian Lance Taylor [Tue, 1 Sep 1992 01:14:04 +0000 (01:14 +0000)]
Brought forward from p3:
Sun Aug 30 21:24:46 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: map "as" through program_transform_name when
installing.
Ian Lance Taylor [Tue, 1 Sep 1992 01:13:11 +0000 (01:13 +0000)]
Brought forward from p3:
Sun Aug 30 21:18:59 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: map program names through program_transform_name
when installing.
Ian Lance Taylor [Tue, 1 Sep 1992 01:12:41 +0000 (01:12 +0000)]
Sun Aug 30 21:12:11 1992 Ian Lance Taylor (ian@cygnus.com)
* configure: added -program_transform_name option, used as
argument to sed when installing programs.
configure.texi: added documentation for -program_prefix,
-program_suffix and -program_transform_name.
Mike Werner [Mon, 31 Aug 1992 23:23:34 +0000 (23:23 +0000)]
Link libopcodes with objdump
Mike Werner [Mon, 31 Aug 1992 23:19:34 +0000 (23:19 +0000)]
get the order of opcodes + binutils right so that everything builds
Steve Chamberlain [Mon, 31 Aug 1992 22:53:15 +0000 (22:53 +0000)]
#include file moved
Steve Chamberlain [Mon, 31 Aug 1992 22:28:08 +0000 (22:28 +0000)]
Disassemble for z8k and build using opcode library
Steve Chamberlain [Mon, 31 Aug 1992 22:26:18 +0000 (22:26 +0000)]
Support for opcodes directory
Steve Chamberlain [Mon, 31 Aug 1992 21:54:31 +0000 (21:54 +0000)]
* z8k-dis.c: knows how to disassemble z8k stuff
Fred Fish [Mon, 31 Aug 1992 20:50:45 +0000 (20:50 +0000)]
* dwarfread.c (cu_language): New local variable to record
language for current compilation unit being processed.
* dwarfread.c (set_cu_language): New local function to decode
and record language for current compilation unit being processed.
* dwarfread.c (synthesize_typedef): Add local function to
synthesize a typedef for C++ classes, structs, unions, and
enumerations.
* dwarfread.c (read_structure_scope): Synthesize typedefs
for C++ classes, structs and unions.
* dwarfread.c (read_enumeration): Synthesize typedefs for
C++ enumerations.
* dwarfread.c (read_file_scope): Call set_cu_language to
record language for current compilation unit. After symtab
is built, save this recorded language.
* dwarfread.c (process_dies, add_partial_symbol, struct_type,
scan_partial_symbols, new_symbol): Recognize TAG_class_type.
* dwarfread.c (add_partial_symbol): Synthesize partial symbol
typedefs for C++ classes, structs, unions, and enumerations.
* dwarfread.c (scan_compilation_units): Call set_cu_language
to record language for current compilation unit.
* dwarfread.c (scan_partial_symbols): Call add_enum_psymbol here
for TAG_enumeration_types, rather than in add_partial_symbol.
* dwarfread.c (add_partial_symbol): Combine TAG_enumeration_type
case with class, struct, and union type cases, now that they are
the same. Remove tests for non-NULL name attributes, now done
by callers.
* gdbtypes.h (TYPE_CODE_CLASS): Add type for C++ classes, but
treat as alias for TYPE_CODE_STRUCT for now.
Steve Chamberlain [Mon, 31 Aug 1992 20:48:44 +0000 (20:48 +0000)]
* z8k-opc.h: new file full of z8000 opcodes
Jim Wilson [Mon, 31 Aug 1992 17:14:50 +0000 (17:14 +0000)]
Update to SPARC Version 9 Draft 1.0.4.
Jim Wilson [Mon, 31 Aug 1992 17:03:47 +0000 (17:03 +0000)]
Handle new v9 insn argument codes, and delete support for obsolete ones.
Otherwise not updated or tested, since v9 support is obviously incomplete,
and it can't possibly work right without some effort.
Steve Chamberlain [Mon, 31 Aug 1992 15:10:34 +0000 (15:10 +0000)]
* aoutx.h (aout<n>swap_ext_reloc_out), bout.c
(b_out_squirt_out_relocs): fix bug 1506 where abs symbols attached
to the built-in abs_section were not written out correctly.
Fred Fish [Mon, 31 Aug 1992 04:22:46 +0000 (04:22 +0000)]
* {i386-tdep.c, m68k-tdep.c, mips-tdep.c, sparc-tdep.c}
(supply_gregset, fill_gregset, supply_fpregset, fill_fpregset):
Use "regi" for local indexing through register numbers, reserving
"regno" for the name of a specific register passed as an input
parameter. Fix bug propagated through all versions that sometimes
used regno as an index when it should have been regi, thus using
-1 as an index in some cases.
Per Bothner [Mon, 31 Aug 1992 03:34:15 +0000 (03:34 +0000)]
* gprof.h, gprof.c, printfgprof.c: Add support for two
output styles: The default is similar to the old FSF gprof,
while -T sets the variable bsd_style_output, which causes
output matching Berkeley's gprof. The biggest differences
are that with the FSF style output, the flat profile comes
before the call graph; numbers come before explanations;
and there is less gratuitous white space.
* gprof.h, gprof.c, printfgprof.c: New discard_underscores
variable causes discarding of initial underscores when
printing symbol names. It is set unless there is a "main"
symbol (without an underscore).
* printfgprof.c: New function printnameonly(), called
by printname(). It handles stripping of initial '_',
as well as C++ name-demangling.
* gprof.callg, gprof.flat, make-c-prog.awk: Removed.
It is just as convenient to edit blurbs.c directly.
* Makefile.in: Removed rule for making blurbs.c.
* blurbs.c: This is now a true source file (as opposed
to being generated from gprof.callg and gprof.flat).
Change style to use one long string literal, instead of
one literal per output line. Add FSF-style blurb for call graph.