Commit graph

2759 commits

Author SHA1 Message Date
K. Richard Pixley
6e6bf7f2ca Makefile.in: rework CFLAGS so that they can be set from the command
line to make.  CFLAGS -> INTERNAL_CFLAGS.  USER_CFLAGS -> CFLAGS.
Remove MINUS_G.  Default CFLAGS to -g.  Pass CFLAGS on recusions.
1992-04-21 19:43:05 +00:00
K. Richard Pixley
196377eec6 configure: use move-if-change from gcc to create config.status. Some
makefiles depend on config.status to tell if a directory has been
reconfigured for a different host.  This change prevents those
directories from remaking everything in the case where the reconfig
was only intended to rebuild a Makefile.
1992-04-21 19:36:11 +00:00
K. Richard Pixley
94c7ae212d configure: test for config.sub with "config.sub sun4" rather than
"config.sub ${host_alias}".  Otherwise we can't tell a bad host alias
from a missing config.sub.
1992-04-21 19:33:13 +00:00
K. Richard Pixley
2674a1efca rework CFLAGS so that they can be set from the command line to make 1992-04-21 18:55:45 +00:00
K. Richard Pixley
119afd7b5f tooldir copy of ld belongs directly in tooldir 1992-04-21 05:34:11 +00:00
K. Richard Pixley
d96c09ed3f tooldir copy of gas belongs directly in tooldir 1992-04-21 05:32:59 +00:00
K. Richard Pixley
6e491a87f9 rework CFLAGS, etc. 1992-04-21 05:27:57 +00:00
K. Richard Pixley
f8a6ad66f0 pass CFLAGS, remove MINUS_G, default CFLAGS to -g 1992-04-21 04:07:29 +00:00
K. Richard Pixley
9d3f69fba0 remove binutils, gas, ld when targetting rs6000 1992-04-21 04:06:33 +00:00
K. Richard Pixley
9546e9b45c correct makesrcdir when subdir is . 1992-04-21 04:05:37 +00:00
Fred Fish
a14b294143 Add tekhex.c 1992-04-18 04:38:26 +00:00
Fred Fish
1867b3be84 Back out of TYPE_FLAG_FUND_TYPE change, solve the problem in valprint.c by
just printing the type name from the type if it is not otherwise handled.
Implement new handling of the ".syms" file for reusable symbol files.
1992-04-18 02:30:28 +00:00
Steve Chamberlain
c3089ec904 Add tekhex 1992-04-17 18:33:47 +00:00
Steve Chamberlain
e59320117e Fri Apr 17 09:15:31 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* bfd.c, Makefile.in: added tekhex
	* aoutx.h (set_section_contents): pages should be padded to the
	size of a page, not the size of a segment.
	* configure.in: added go32 host and i386-aout target.
	* i386aout.c, libaout.h: now works for go32 target
	* ieee.c: fix bit rot.
	* seclet.c: support for padding seclet type.
1992-04-17 16:22:44 +00:00
Steve Chamberlain
267998d84f New definition of padding seclet 1992-04-17 16:14:34 +00:00
Steve Chamberlain
0d3e45eab0 * relax.c: added handling for new "padding" seclet type, used to
fill out gaps between section.
	* ldgram.y, ldlex.l: now -defsym on the command line is done
	properly.
1992-04-17 15:59:37 +00:00
John Gilmore
b0c8c72688 * sun3-xdep.c (fetch_core_registers): Lint.
* tm-sun3.h:  Prototype lint.
* value.h:  Typo.
1992-04-17 06:58:05 +00:00
Fred Fish
13b33d2b0a * TODO: New file.
* attach.c, mcalloc.c, mfree.c, mmalloc.c, mmalloc.h, mmap-sup.c,
	mmcheck.c, mtrace.c, mrealloc.c, mvalloc.c, sbrk-sup.c:  Lint.
1992-04-17 03:01:54 +00:00
Fred Fish
2d6d969c61 Fix to dwarfread.c to target pointer and target long sizes, fixes for
mapped symbol file handling, and a couple of other misc small fixes.
1992-04-17 02:59:43 +00:00
Per Bothner
d453b386ac * rs6000-pinsn.c: New version from IBM (Metin).
* m2-exp.y:  Re-write string initializers ("<>" => {'<', '>'})
	to avoid warnings from some compilers.
1992-04-17 01:35:42 +00:00
Per Bothner
c0532cf36b * rs6k.h: New version from IBM (Metin). 1992-04-17 01:34:34 +00:00
Steve Chamberlain
1bd1fa2ddb Lint found by Rich and gcc 1992-04-16 18:03:51 +00:00
K. Richard Pixley
888cf6797f corrected a typo that resulted in makeinfo failure 1992-04-16 02:58:00 +00:00
K. Richard Pixley
e1ca00723d .NOEXPORT: so that children don't pick up false values for things like makefile frags 1992-04-16 02:57:23 +00:00
K. Richard Pixley
ee1dc1b77d correction to makesrcdir for relative srcdir 1992-04-16 01:24:59 +00:00
K. Richard Pixley
30662ca6a8 Add .NOEXPORT: so that doc directory doesn't inherit a bad definition
for target_makefile_frag.
1992-04-16 01:23:41 +00:00
Steve Chamberlain
b11a9b2866 added mri.c 1992-04-15 23:11:53 +00:00
Steve Chamberlain
2e38b71d27 Strange link script support 1992-04-15 23:11:09 +00:00
Steve Chamberlain
3d2b83ea49 Personal checkpoint - now should parse some MRI stuff 1992-04-15 22:23:33 +00:00
Steve Chamberlain
b7311408af Added EXTRACT command 1992-04-15 22:12:06 +00:00
Steve Chamberlain
c0cc691258 Wed Apr 15 14:33:07 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* arsup.c, arsup.h, arparse.y, arlex.l: support for archive
	scripting language.
1992-04-15 21:36:37 +00:00
Fred Fish
4a11eef2eb Add TYPE_FLAG_FUND_TYPE bit to the flags member of the type structure,
and use it to decide when to print the actual type name rather than
trying to invent the name of a fundamental type.  This clears up the
confusion between int/long when they are the same sizes, removes one
obstacle to multi-language support (previously valprint.c thought
everything was a C type), and allows gdb to support distinctions between
explicitly and implicitly signed types when the compiler supports such
distinction in the debug output (as does every ANSI compiler I tested
except for gcc).
1992-04-15 05:42:00 +00:00
Fred Fish
e4b9dd935b Ifdef-out debugging code, and ifdef-out code that aborts on unhandled
sections (this was causing needless gdb aborts; gdb doesn't care about
these sections anyway).
1992-04-15 05:32:58 +00:00
Fred Fish
808dfd5aab Fix couple of function args that expect to be passed CONST pointers, and
boolean functions that were returning NULL, which can be "void *" rather
than just bare 0.
1992-04-14 21:41:30 +00:00
Fred Fish
f0e8711d9e Pick up SGI defines for langCplusplus, langCplusplusV2, stStruct, stUnion,
and stEnum.  The last three are required to be able to build the current
checked in gdb on a non-sgi machine.
1992-04-14 21:34:02 +00:00
Stu Grossman
8616205a75 * remote-vx.c, vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
vx-share/xdr_rdb.h:  Update for new remote protocol under VxWorks
5.0.2.
1992-04-14 21:34:01 +00:00
Sean Eric Fagan
b6422192ea Changed to allow hosting on an Apollo Series 400 under the BSD4.3 emulation
environment.
1992-04-14 21:32:34 +00:00
Sean Eric Fagan
570556da54 Changed to support Apollo Series 400 under bsd4.3 emulation environment. 1992-04-14 21:28:04 +00:00
Sean Eric Fagan
59ad286d22 New header file for Apollo Series 400 running under BSD4.3 emulation. 1992-04-14 20:25:29 +00:00
Per Bothner
8becd045a3 * configure: Add support for 'subdirs' variable, which is
like 'configdirs', except that configure doesn't re-invoke
	itself for subdirs, it just creates a Makefile for each subdir.
	* configure.texi:  Document subdirs.
1992-04-14 19:02:48 +00:00
Fred Fish
13b5a7ff3e Extensive changes to replace swapin() function with target_to_host()
and fix all usages to be independent of host/target integer size
mismatches.  However, cross debugging will still not work until the
sign extension issue is resolved either by fixing the bfd library
or implementing sign extension in the gdb code.
1992-04-14 04:09:00 +00:00
David D. Zuhn
6adac399aa updated configure.in to include flex 1992-04-14 01:51:00 +00:00
David D. Zuhn
f24e06320d configure.in knows about flex now 1992-04-14 01:50:06 +00:00
K. Richard Pixley
64d424c633 remove clean-stamps from clean 1992-04-14 01:44:23 +00:00
John Gilmore
3bc8241050 Revised -mapped description. 1992-04-13 23:08:01 +00:00
David D. Zuhn
dcbfc14d16 added flex to the build tree 1992-04-13 21:39:15 +00:00
Mark Eichin
37ac3b76ec Massive changes. Elf sections are now processed into BFD sections only
if they make sense as independent sections; symbols and relocs are
turned into BFD symbols and relocs; objects are now created.
	objdump and copy mostly work on .o files.
	this check-in will be followed by gdb testing.
	the code has *not* yet been split up the way coff is to
support multiple architectures and bit widths.
	no ChangeLog entries yet; too big... nearly everything changed.
1992-04-13 15:01:54 +00:00
John Gilmore
817bc7b82a * mipsread.c (parse_partial_symbols): Complain when sh->index is
too high or when skipping `forwards' moves us backwards.
	(parse_type):  Print mis-guessed tag name in complaint.
	(parse_external):  Eliminate cur_stab and obscure top_stack clobbers.
	(parse_procedure):  Do not attempt to create symbols; just fill in
	the SYMBOL_VALUE field of a .gdbinfo. symbol if we can find one.
	(psymtab_to_symtab_1):  Split up `stabs' from `native ecoff' code
	for clarity.  Set top_stack before calling parse_external.  In
	stabs, sort symbols before calling parse_procedure.
	* mipsread.c:  Lint.
	* symmisc.c (std_in, std_out, std_err):  Add vars to access std
	FILE *'s when debugging GDB (e.g. as args to dump_symtab).
	* Makefile.in:  Remove stage* targets.  Avoid echo on recursive
	makes.  Eliminate doc/Makefile from tar.Z file if doc/Makefile.in
	exists.
	* mipsread.c:  Cleanup.  Add more complaints for unhandled cases.
	Remove new symbol types and such to ../include/coff/symconst.h.
	(parse_symbol):  Simplify code for parsing struct/enum/unions.
	(parse_type):  Handle `long long' types.
	(upgrade_type):  Handle `const' qualifier.
	(parse_partial_symbols):  fix indentation, clean a bit.
1992-04-12 06:40:04 +00:00
John Gilmore
347e3a00bb We now configure gdbtest automatically if it's there. 1992-04-11 10:52:33 +00:00
John Gilmore
44d835be29 Set devo VERSION to 4.5.1 to avoid confuzzion with the released version. 1992-04-11 10:51:31 +00:00