Ian Lance Taylor
0bb95ac84a
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.
1992-09-01 01:17:01 +00:00
Ian Lance Taylor
b68b44fac8
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.
1992-09-01 01:16:25 +00:00
Ian Lance Taylor
7e10f53ccf
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.
1992-09-01 01:14:04 +00:00
Ian Lance Taylor
3790af1d33
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.
1992-09-01 01:13:11 +00:00
Ian Lance Taylor
d257b46f88
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.
1992-09-01 01:12:41 +00:00
Mike Werner
fd9d7e4a76
Link libopcodes with objdump
1992-08-31 23:23:34 +00:00
Mike Werner
868ebe79a8
get the order of opcodes + binutils right so that everything builds
1992-08-31 23:19:34 +00:00
Steve Chamberlain
cfb48ce52d
#include file moved
1992-08-31 22:53:15 +00:00
Steve Chamberlain
a4ef860176
Disassemble for z8k and build using opcode library
1992-08-31 22:28:08 +00:00
Steve Chamberlain
aa06ff7e3c
Support for opcodes directory
1992-08-31 22:26:18 +00:00
Steve Chamberlain
add1fb05e5
* z8k-dis.c: knows how to disassemble z8k stuff
1992-08-31 21:54:31 +00:00
Fred Fish
95ff889ecd
* 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.
1992-08-31 20:50:45 +00:00
Steve Chamberlain
a4ccc31032
* z8k-opc.h: new file full of z8000 opcodes
1992-08-31 20:48:44 +00:00
Jim Wilson
71703b0735
Update to SPARC Version 9 Draft 1.0.4.
1992-08-31 17:14:50 +00:00
Jim Wilson
93fd00fbbf
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.
1992-08-31 17:03:47 +00:00
Steve Chamberlain
2768b3f763
* 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.
1992-08-31 15:10:34 +00:00
Fred Fish
3877a2192c
* {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.
1992-08-31 04:22:46 +00:00
Per Bothner
dc1d1ca5e8
* 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.
1992-08-31 03:34:15 +00:00
Per Bothner
3402b1cff2
* cplus-dem.c, demangle.h: Moved to ../libiberty and ../include,
...
respectively, so same demangler can be used by other programs.
* Makefile.in: Remove demangler stuff.
* Makefile.in (depend): Pass -I../readline (needed for main.c).
* demangle.c (_initialize_demangler): Tell demangler which
CPLUS_MARKER to assume.
1992-08-31 01:23:24 +00:00
David D. Zuhn
a5cdd8afd1
removed debugging code accidentally checked in
1992-08-31 01:21:57 +00:00
Per Bothner
fe2b6209ff
* cplus-dem.c: Removed. Use the version in libiberty now.
...
* ldmisc.c: Use new libiberty version of cplus_demangle().
1992-08-31 01:14:44 +00:00
Per Bothner
455a0d2890
* Makefile.in: Bump to versions 1.97.90.
...
* cplus-dem.c: Removed. Was nowhere used - and if some
programs are changed to to demangling should now use the
versions in libiberty.
1992-08-31 01:11:18 +00:00
David D. Zuhn
98a33b6db9
changes tests from -d foo to -f foo/Makefile
1992-08-31 01:07:24 +00:00
Per Bothner
c97259275e
* demangle.h: New file, moved from ../gdb. Made independent
...
of gdb. Allow demangling style option to be passed as a
parameter to cplus_demangle(), but using the
current_demangling_style global as the default.
1992-08-31 00:57:03 +00:00
Jim Wilson
01aec199eb
Keep sparc.mt.
1992-08-31 00:27:23 +00:00
Jim Wilson
c6b16054ea
Resolve someone else's CVS update conflict.
1992-08-31 00:01:22 +00:00
Jim Wilson
b0952e128d
Make as.new depend on LOCAL_LOADLIBES.
1992-08-29 19:12:04 +00:00
Fred Fish
afb5deddd5
* obstack.h: Merge comment change from current FSF version.
1992-08-29 17:10:29 +00:00
John Gilmore
d6434f3974
Minor bug fixes from last big checkin.
1992-08-29 04:22:31 +00:00
John Gilmore
d26c07d124
RS/6000 portability changes (for hosting cross-debuggers).
...
* config/rs6000.mh (XDEPFILES): Move xcoffexec.o to target side.
(XM_CLIBS): Add -lm to circumvent AIX 3.2 libc ldexp bug.
* config/rs6000.mt (TDEPFILES): Adopt xcoffexec.o.
1992-08-29 00:33:47 +00:00
John Gilmore
9b280a7f53
RS/6000 portability changes (for hosting cross-debuggers).
...
* breakpoint.c (fixup_breakpoints): Re-kludge to IBM6000_TARGET.
* buildsym.c, rs6000-xdep.c, rs6000-tdep.c, tm-rs6000.h,
xcoffexec.c, xcoffread.c: Rename aixcoff to xcoff everywhere.
* printcmd.c (print_frame_args): Remove an RS/6000 dependency.
* stabsread.c (define_symbol): Remove RS/6000 dependencies.
* tm-rs6000.h (ATTACH_DETACH): Remove: host-dependent.
(PTRACE_ATTACH, PTRACE_DETACH): Remove: host-dep.
(NO_SINGLE_STEP): Add, target-dependent.
(loadinfotextindex): Lowercase, remove "aix_".
* xm-rs6000.h: Add <sys/ptrace.h> for infptrace.c.
(NO_SINGLE_STEP): Remove, target-dependent.
* xcoffexec.c (vmap_symtab): Cleanup #if 0'd code.
* xcoffread.c: Only build file if RS/6000 native GDB.
(build_function_symbol): Remove #if 0'd code.
* rs6000-tdep.c: Cleanup. Add static fn protos.
Use CORE_ADDR for addresses throughout. Make void fns void.
(pop_dummy_frame): Add FIXME about bogosity of design here.
(rs6000_struct_return_address): Ditto.
(frameless_function_invocation, frame_get_cache_fsr,
frame_initial_stack_address, xcoff_relocate_symtab,
xcoff_init_loadinfo, free_loadinfo, xcoff_add_toc_to_loadinfo,
add_text_to_loadinfo, find_toc_address): Move from xdep file.
Use CORE_ADDRs. Change identifiers to lowercase.
* rs6000-xdep.c: Make whole file conditional on native RS/6000,
supplying dummy routines if non-native. Add prototype for
static exec_one_dummy_insn. Move a mess of functions to
rs6000-tdep.c (as above). Remove #if 0'd code.
* config/rs6000.mh (XDEPFILES): Move xcoffexec.o to target side.
(XM_CLIBS): Add -lm to circumvent AIX 3.2 libc ldexp bug.
* config/rs6000.mt (TDEPFILES): Adopt xcoffexec.o.
1992-08-29 00:32:58 +00:00
John Gilmore
92a87f6afd
* gdbtypes.h (TYPE_ALLOC): Parenthesize result to avoid problems
...
for callers.
1992-08-29 00:31:10 +00:00
John Gilmore
ecf4059f1c
RS/6000 portability changes (for hosting cross-debuggers).
...
* breakpoint.c (fixup_breakpoints): Re-kludge to IBM6000_TARGET.
* buildsym.c, rs6000-xdep.c, rs6000-tdep.c, tm-rs6000.h,
xcoffexec.c, xcoffread.c: Rename aixcoff to xcoff everywhere.
* printcmd.c (print_frame_args): Remove an RS/6000 dependency.
* stabsread.c (define_symbol): Remove RS/6000 dependencies.
* tm-rs6000.h (ATTACH_DETACH): Remove: host-dependent.
(PTRACE_ATTACH, PTRACE_DETACH): Remove: host-dep.
(NO_SINGLE_STEP): Add, target-dependent.
(loadinfotextindex): Lowercase, remove "aix_".
* xm-rs6000.h: Add <sys/ptrace.h> for infptrace.c.
(NO_SINGLE_STEP): Remove, target-dependent.
* xcoffexec.c (vmap_symtab): Cleanup #if 0'd code.
* xcoffread.c: Only build file if RS/6000 native GDB.
(build_function_symbol): Remove #if 0'd code.
* rs6000-tdep.c: Cleanup. Add static fn protos.
Use CORE_ADDR for addresses throughout. Make void fns void.
(pop_dummy_frame): Add FIXME about bogosity of design here.
(rs6000_struct_return_address): Ditto.
(frameless_function_invocation, frame_get_cache_fsr,
frame_initial_stack_address, xcoff_relocate_symtab,
xcoff_init_loadinfo, free_loadinfo, xcoff_add_toc_to_loadinfo,
add_text_to_loadinfo, find_toc_address): Move from xdep file.
Use CORE_ADDRs. Change identifiers to lowercase.
* rs6000-xdep.c: Make whole file conditional on native RS/6000,
supplying dummy routines if non-native. Add prototype for
static exec_one_dummy_insn. Move a mess of functions to
rs6000-tdep.c (as above). Remove #if 0'd code.
* config/rs6000.mh (XDEPFILES): Move xcoffexec.o to target side.
(XM_CLIBS): Add -lm to circumvent AIX 3.2 libc ldexp bug.
* config/rs6000.mt (TDEPFILES): Adopt xcoffexec.o.
* gdbtypes.h (TYPE_ALLOC): Parenthesize result to avoid problems
for callers.
1992-08-29 00:28:56 +00:00
Ian Lance Taylor
0a62e9bd9f
Fri Aug 28 16:29:15 1992 Ian Lance Taylor (ian@cygnus.com)
...
* archive.c (bfd_slurp_bsd_armap): if the symdef_count is too
large, assume we're using a swapped byte order and fail with
wrong_format rather than dumping core.
1992-08-29 00:17:55 +00:00
Ian Lance Taylor
5f2d9799ce
Update ChangeLog, removing yesterday's 960 change and putting in
...
todays (960 now always uses little endian ordering).
1992-08-29 00:17:29 +00:00
Ian Lance Taylor
8ae35e5919
Fri Aug 28 16:25:22 1992 Ian Lance Taylor (ian@cygnus.com)
...
* obj-bout.h, obj-bout.c (obj_header_append, obj_symbol_to_chars),
tc-i960.c (md_ri_to_chars): Always output bout object file in
little endian byte order (used to use endianness of host).
1992-08-29 00:16:47 +00:00
Ian Lance Taylor
e41a1546e1
Back out the HOST_BIG_ENDIAN_P changes I put in yesterday.
1992-08-28 22:54:13 +00:00
Ken Raeburn
cf24f26c84
Missed one...
1992-08-28 22:44:19 +00:00
Ken Raeburn
71c1f4043f
Renamed opc-sparc.c to sparc-opc.c for more significant characters in cpu
...
name under losing file systems ("sparc-op" rather than "opc-spar").
1992-08-28 22:42:58 +00:00
Sean Eric Fagan
8b361a954a
-S flag is no longer supported (nor needed) with flex.
1992-08-28 21:27:32 +00:00
Ian Lance Taylor
378dac8cc6
Back out yesterday's change for using host endian order in 960 bout files.
1992-08-28 21:10:36 +00:00
Brendan Kehoe
e1f6e8ed5c
Forgot to add we32k.h.
1992-08-28 21:01:47 +00:00
Brendan Kehoe
c7551f7651
Forgot to list the we32k files in .Sanitize.
1992-08-28 21:01:11 +00:00
John Gilmore
d6776adba2
* vx-share/README, nindy-share/README: New files describing
...
how these directories' code is shared, and with whom.
(also 29k-share)
1992-08-28 20:16:45 +00:00
John Gilmore
7079de160f
* vx-share/README, nindy-share/README: New files describing
...
how these directories' code is shared, and with whom.
1992-08-28 20:16:23 +00:00
Brendan Kehoe
63237c0228
Last file for preliminary support of the we32k (AT&T 3b2 family).
1992-08-28 17:17:33 +00:00
John Gilmore
6e122179f3
Accept i486 where i386 ok.
1992-08-28 05:00:36 +00:00
John Gilmore
500516d3cb
* tm-altosgas.h, tm-i386v-g.h: Remove ancient coff encap configs.
...
* config/{altosgas.mt, i386v-g.mt, i386v32-g.mt}: Ditto.
* config/{i386sco.mt,i386v32.mt}: Remove; identical to i386v.mt.
* config/{go32.mt,i960.mt}: Remove; they only printed error msgs.
* config/nindy960.mt: Remove useless MT_CFLAGS setting.
* config/i386aout.mt: Use tm-i386v.h, not tm-i386v-g.h.
1992-08-28 04:59:03 +00:00
John Gilmore
ef131e1315
* configure.in (target configurations): Reformat into table.
...
Remove unsupp. Amigados host and target. Ditto Mach 386 target.
* tm-altosgas.h, tm-i386v-g.h: Remove ancient coff encap configs.
* config/{altosgas.mt, i386v-g.mt, i386v32-g.mt}: Ditto.
* config/{i386sco.mt,i386v32.mt}: Remove; identical to i386v.mt.
* config/{go32.mt,i960.mt}: Remove; they only printed error msgs.
* config/nindy960.mt: Remove useless MT_CFLAGS setting.
* config/i386aout.mt: Use tm-i386v.h, not tm-i386v-g.h.
* Makefile.in (config-check): Add command to check whether
configure.in is consistent with config/*.
1992-08-28 04:58:27 +00:00
John Gilmore
b1aa08e25f
Remove -gas variants; GDB doesn't care. Cross-check with config/*.mh
...
to make sure all .mh files are represented and vice verse.
1992-08-28 02:00:26 +00:00