Commit Graph

2862 Commits

Author SHA1 Message Date
Per Bothner
98377f31b7 * ldver.c: Increase version number to 1.97, for consistency with ../binutils. 1992-05-05 21:07:32 +00:00
Per Bothner
892205bc4b Get rid of bogus comment in compiler command rule. 1992-05-05 20:54:18 +00:00
K. Richard Pixley
813da1a517 FLEX -> LEX 1992-05-05 19:13:58 +00:00
K. Richard Pixley
3f350edad0 {} -> @{@} 1992-05-05 19:13:06 +00:00
K. Richard Pixley
1f0e6a9919 gm4 -> m4 1992-05-05 19:12:05 +00:00
Per Bothner
5b07d69372 * Makefile.in: Bump to version 1.97.
* ar.c:  Declare errno for machines that need it.
1992-05-05 19:02:24 +00:00
Per Bothner
2501643aea Change OS of next from sysv to mach. 1992-05-05 18:27:12 +00:00
Fred Fish
8f793aa541 * Makefile.in (DEMANGLER): Define and default to cplus-dem.
Allows selection of C++ demangler to be a configuration option
	until multiple demanglers are supported.
	* demangle.h:  New include file for extended demangler support.
	* breakpoint.c, gdbtypes.c, printcmd.c, stack.c, symtab.c,
	utils.c, valprint.c:  Include "demangle.h" and change all calls
	to cplus_demangle() or fputs_demangled() to use individual
	demangling options.
	* valprint.c (type_print_1):  Change options to cplus_demangle
	to print demangled function args.  Still broken, but now less so.
	* cplus-dem.c:  Include demangle.h, reorganize and update some
	comments to reflect reality.
	* cplus-dem.c (cplus_demangle, cplus_mangle_opname):  Change
	second arg from fixed integer to bit based multiple options.
	* cplus-dem.c (optable):  Reformat and replace ansi members with
	bit based options.
	* cplus-dem.c (do_type):  Fix bug with parsing missing return type.
1992-05-05 18:16:23 +00:00
Steve Chamberlain
939a343342 Yet more 29k configury 1992-05-05 14:23:33 +00:00
John Gilmore
22923083bf * objdump.c (display_info): Handle error cases without coredump.
Close the dummy temporary file we open in the loop.
* Makefile.in (arsup.o):  Add kludge to build with Sun Make.
1992-05-05 06:31:59 +00:00
John Gilmore
6fab5bef69 * values.c (set_internalvar): Force evaluation of lazy values.
Bug reported by RMS.
1992-05-05 05:31:21 +00:00
Steve Chamberlain
e727f8ea91 Keep m68kmri.h 1992-05-05 03:12:59 +00:00
Steve Chamberlain
14bed8ee4c Added tgas 1992-05-05 02:52:54 +00:00
Steve Chamberlain
ae6e60b501 Lint 1992-05-05 02:28:56 +00:00
Steve Chamberlain
c58dbabf26 * obj-coffbfd.c: use is a synonym for section, (do_relocs_for):
calc the base of relocs correctly.
	* tc-a29k.c (parse_operand): allow expressions to be in any section.
1992-05-05 01:59:04 +00:00
Roland Pesch
e0047d4930 doc doc changes 1992-05-05 00:55:04 +00:00
Roland Pesch
2d59b2c30e Doc for MRI-compatible linker scripts. 1992-05-05 00:52:27 +00:00
Steve Chamberlain
20a8821836 lint 1992-05-05 00:52:18 +00:00
Steve Chamberlain
b38479171a Added "sect" as synonym for "section" 1992-05-05 00:51:50 +00:00
Steve Chamberlain
2d690b0abc * bfd.h: new get_relocated_section_contents decl 1992-05-05 00:14:35 +00:00
Steve Chamberlain
2cfd05621b * bfd-in.h: bump version to 1.96
Major change; changed calling convention for
	 bfd_get_relocated_section_contents so that caller allocates
	 memory for section data.
	* coffcode.h (bfd_coff_get_relocated_section_contents), reloc.c,
	seclet.c, targets.c, bfd.c: reflect new convention.
	* coffcode.h (styp_to_sec_flags): if styp_flags is not a special
	case, then use reasonable default values for SEC_* flags.
1992-05-04 23:42:03 +00:00
Steve Chamberlain
bfbdc80f0a * ldver.c: Bumped version to 1.96 - new release, resync with the
bfd too #.
	* ldexp.c, ldlang.c: now build memory shape tree in obstacks
	rather than with raw malloc, makes it easier to track where memory
	is going.
	* ldsym.h, ldsym.c: create obstack for all global symbols too.
	* ldwrite.c (ldwrite): moved malloc so only used when needed.
	* sa29200-sc.sh: added support for .lit, data1 and data2 sections.
1992-05-04 23:38:42 +00:00
Fred Fish
f7ebd77dba Remove entries for signame.c and signame.h, files that went away some
time ago...
1992-05-03 23:21:19 +00:00
Fred Fish
a74c9110c1 * config/ncr3000.mt: New target config file. 1992-05-03 23:05:45 +00:00
Fred Fish
4db8e515c4 * Makefile.in (VERSION): Bump to 4.5.2.
* Makefile.in (DEMANGLE_OPTS):  Add, default to -Dnounderscore.
	* configure.in:  Simplify ncr3000 gdb_host logic, add gdb_target.
	* dwarfread.c (struct_type):  Apply fix from Peggy Fieland for
	proper handling of bit fields.
	* gdbtypes.h (struct type):  Clarify use of field.bitpos.
	* symtab.h:  Fix couple of misspellings in comments.
	* value.h (struct value):  Clarify use of bitpos.
	* value.h (unpack_field_as_long):  Change prototype, returns
	LONGEST.
	* values.c (unpack_field_as_long):  Change return type to LONGEST,
	sign extend unpacked fields that are signed, other rewriting.
	* config/ncr3000.mt:  New target config file.
1992-05-03 23:05:07 +00:00
Steve Chamberlain
d752f749c8 Align lcomm addresses 1992-05-02 02:34:21 +00:00
Steve Chamberlain
0fdf9f815b More 29200 stuff 1992-05-02 02:09:20 +00:00
Steve Chamberlain
fe3e4dfcfd New stuff for 29200 1992-05-02 02:08:21 +00:00
Steve Chamberlain
b9b40ee01d * coffcode.h (coff_write_object_contents): use RELSZ to work out
size of output reloc struct.
1992-05-02 01:52:39 +00:00
Steve Chamberlain
54862c89ac * coffcode.h (coff_write_object_contents): use RELSZ to work out
size of output reloc struct.
1992-05-02 01:46:50 +00:00
Steve Chamberlain
9068cbe7b4 new_bfd_contained_in : Inherit target->defaulted from parent 1992-05-02 01:43:21 +00:00
Steve Chamberlain
69e0d34d4d * targets.c, Makefile.in: comment out tekhex for the moment.
* ieee.c: if some places where null pointers were used instead of &bfd_abs_section.
	* configure.in: tandem target is st2000
	* coff-m68k.c: rename static howto_table to global
	m68kcoff_howto_table.
	* bout.c: remove unnecessary abort
1992-05-02 01:41:33 +00:00
Steve Chamberlain
e14a43bfaf * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS and
PUBLIC.
	* Makefile.in: now use flex, not lex
1992-05-02 01:35:12 +00:00
K. Richard Pixley
d3451fe888 use bootstrap for check 1992-05-02 01:19:02 +00:00
K. Richard Pixley
7d6cc102a2 added test-install target 1992-05-02 01:07:09 +00:00
Steve Chamberlain
ec9df7e7b7 M68k opcodes with MRI names 1992-05-02 01:02:56 +00:00
K. Richard Pixley
aef3999f1e keep sanity.sh 1992-05-01 23:30:01 +00:00
K. Richard Pixley
dc76082997 sanity test 1992-05-01 23:22:07 +00:00
Steve Chamberlain
60c8001642 Add support for 386 disassembly 1992-05-01 22:45:45 +00:00
Steve Chamberlain
289f702dcd i386 disassembler stolen from GDB. Is it time to build a different
directory for these things ?
1992-05-01 22:41:28 +00:00
Steve Chamberlain
51e6c7505f Add hp300bsd 1992-05-01 22:34:25 +00:00
Steve Chamberlain
a586b5bc64 Add mri.h 1992-05-01 22:08:40 +00:00
Steve Chamberlain
a63dc14da1 tc-i386: lint
h8300.mt: configurey
1992-05-01 22:03:35 +00:00
Steve Chamberlain
4ca727c45f Added h8300xray target 1992-05-01 22:02:21 +00:00
Steve Chamberlain
7143f43cfa f
Added some more pseudo ops
listing.c: lint
as.c: ignore -w option
1992-05-01 21:27:34 +00:00
Steve Chamberlain
dc4726c236 lint 1992-05-01 20:09:44 +00:00
Steve Chamberlain
859f11ffd8 * coff-a29k.c: various changes to the way relocations work to cope
with the "new order" and latent bugs.
	* coffcode.h: lint
1992-05-01 20:00:26 +00:00
John Gilmore
7e7e2d40c1 One more try... 1992-05-01 09:53:13 +00:00
John Gilmore
fcdb113e57 * utils.c (printchar): Print 0x7F and 0x80-0x9F in \nnn notation
even when printing 8-bit characters.
1992-05-01 09:39:30 +00:00
John Gilmore
ea1549b346 * gdbtypes.c (make_{reference,pointer,function}_type): New
functions which handle overwriting of forward-referenced types
for stabs file reading.
(lookup_{reference,pointer,function}_type):  These just call
the make_*_type functions with a null storage alloc parameter.
* gdbtypes.h (make_{reference,pointer,function}_type):  Declare.
* xcoffread.c (smash_to_pointer_type):  Remove, no longer used.

* buildsym.c (dbx_lookup_type):  Zero result for (-1,-1) arg.
(dbx_alloc_type):  Make it easier to understand.  No funct change.
(define_symbol: 't'):  Don't put the typedef name into the name of
the struct, union, or enum.  Bugfix.
(read_type: '*', '&', 'f'):  Add comments.  Use make_XXX_type
routines to properly handle overwriting preallocated types so that
forward references will work.
(read_enum_type):  Force enum values to file scope, due to bug in
Sun compiler output.  FIXME, fix later.

Remove unused header_file_prev_index mechanism.  It was already
obsolete in gdb-3.5.  These comments appeared in 3.5:
  /* This code was used before I knew about the instance codes.
     My first hypothesis is that it is not necessary now
     that instance codes are handled.  */
* dbxread.c (add_new_header_file):  Remove header_file_prev_index.
* buildsym.h:  Remove it and prev_index that saves it.
* buildsym.c (push_subfile, pop_subfile, start_symtab):  Remove it.

* solib.c (special_symbol_handling):  When called from core files,
must set up debug_addr.  Don't print error messages, just return.
* symmisc.c (print_symbol):  Less ascii diarrhea for enums, please.
1992-05-01 09:14:43 +00:00