Fred Fish [Wed, 15 Apr 1992 05:42:00 +0000 (05:42 +0000)]
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).
Fred Fish [Wed, 15 Apr 1992 05:32:58 +0000 (05:32 +0000)]
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).
Fred Fish [Tue, 14 Apr 1992 21:41:30 +0000 (21:41 +0000)]
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.
Fred Fish [Tue, 14 Apr 1992 21:34:02 +0000 (21:34 +0000)]
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.
Stu Grossman [Tue, 14 Apr 1992 21:34:01 +0000 (21:34 +0000)]
* 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.
Sean Eric Fagan [Tue, 14 Apr 1992 21:32:34 +0000 (21:32 +0000)]
Changed to allow hosting on an Apollo Series 400 under the BSD4.3 emulation
environment.
Sean Eric Fagan [Tue, 14 Apr 1992 21:28:04 +0000 (21:28 +0000)]
Changed to support Apollo Series 400 under bsd4.3 emulation environment.
Sean Eric Fagan [Tue, 14 Apr 1992 20:25:29 +0000 (20:25 +0000)]
New header file for Apollo Series 400 running under BSD4.3 emulation.
Per Bothner [Tue, 14 Apr 1992 19:02:48 +0000 (19:02 +0000)]
* 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.
Fred Fish [Tue, 14 Apr 1992 04:09:00 +0000 (04:09 +0000)]
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.
David D. Zuhn [Tue, 14 Apr 1992 01:51:00 +0000 (01:51 +0000)]
updated configure.in to include flex
David D. Zuhn [Tue, 14 Apr 1992 01:50:06 +0000 (01:50 +0000)]
configure.in knows about flex now
K. Richard Pixley [Tue, 14 Apr 1992 01:44:23 +0000 (01:44 +0000)]
remove clean-stamps from clean
John Gilmore [Mon, 13 Apr 1992 23:08:01 +0000 (23:08 +0000)]
Revised -mapped description.
David D. Zuhn [Mon, 13 Apr 1992 21:39:15 +0000 (21:39 +0000)]
added flex to the build tree
Mark Eichin [Mon, 13 Apr 1992 15:01:54 +0000 (15:01 +0000)]
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.
John Gilmore [Sun, 12 Apr 1992 06:40:04 +0000 (06:40 +0000)]
* 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.
John Gilmore [Sat, 11 Apr 1992 10:52:33 +0000 (10:52 +0000)]
We now configure gdbtest automatically if it's there.
John Gilmore [Sat, 11 Apr 1992 10:51:31 +0000 (10:51 +0000)]
Set devo VERSION to 4.5.1 to avoid confuzzion with the released version.
John Gilmore [Sat, 11 Apr 1992 06:52:54 +0000 (06:52 +0000)]
* xcoffread.c (NO_TYPEDEFS): Fix typo in commented-out #define.
* sparc-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
fill_gregset): New functions for SVR4 /proc support.
Fred Fish [Sat, 11 Apr 1992 06:27:53 +0000 (06:27 +0000)]
Add swapin() function, and SWAPIN macro that calls it, to do byte swapping
copies using appropriate bfd routines.
Fred Fish [Sat, 11 Apr 1992 06:13:43 +0000 (06:13 +0000)]
Add MINUS_G macro, default to -g, and pass on to recursive makes.
Recognize new ncr3000 config.
Fred Fish [Sat, 11 Apr 1992 06:10:56 +0000 (06:10 +0000)]
Add new configuration for NCR 3000.
Fred Fish [Sat, 11 Apr 1992 06:03:45 +0000 (06:03 +0000)]
Recognize new ncr3000 config.
Fred Fish [Sat, 11 Apr 1992 06:01:07 +0000 (06:01 +0000)]
Recognize new ncr3000 config. Add MINUS_G macro, default to -g.
Fred Fish [Sat, 11 Apr 1992 05:42:48 +0000 (05:42 +0000)]
Recognize new ncr3000 config.
Fred Fish [Sat, 11 Apr 1992 05:40:44 +0000 (05:40 +0000)]
New configuration file for ncr 3000.
Fred Fish [Sat, 11 Apr 1992 05:38:40 +0000 (05:38 +0000)]
Pass on MINUS_G to recursive makes. Recognize ncr3000 config.
Fred Fish [Sat, 11 Apr 1992 05:31:31 +0000 (05:31 +0000)]
New config files for NCR 3000.
John Gilmore [Sat, 11 Apr 1992 00:54:44 +0000 (00:54 +0000)]
* gdb.texinfo: Update for GDB-4.5. Move `Formatting
Documentation' ahead of `Installing GDB' to match README.
Update shared library doc, -readnow and -mapped, and directory
structure (add glob and mmalloc). Update configure doc.
Stu Grossman [Fri, 10 Apr 1992 23:29:21 +0000 (23:29 +0000)]
alldeps.mak and depend once again!
Stu Grossman [Fri, 10 Apr 1992 23:02:06 +0000 (23:02 +0000)]
* Makefile.in: Update version to 4.5.
* WHATS.NEW: The obvious.
Stu Grossman [Fri, 10 Apr 1992 22:04:09 +0000 (22:04 +0000)]
One more time...
Stu Grossman [Fri, 10 Apr 1992 21:50:32 +0000 (21:50 +0000)]
* depend: Generate new depend file for this release.
Stu Grossman [Fri, 10 Apr 1992 15:33:31 +0000 (15:33 +0000)]
* Makefile.in (depend): Fix dependancy generation so that it does
not include gcc 'fixincluded' files, which are usually in a system
specific location.
Per Bothner [Thu, 9 Apr 1992 20:36:20 +0000 (20:36 +0000)]
buildsym.c: Fix parameter mis-match.
Check in ChangeLog (forgotten last night).
Stu Grossman [Thu, 9 Apr 1992 19:11:18 +0000 (19:11 +0000)]
* Makefile.in: version=4.4.88, add xm-vax.h to HFILES.
Ken Raeburn [Thu, 9 Apr 1992 09:54:52 +0000 (09:54 +0000)]
Install second copy as $(tooldir)/bin/ld, since that's what gcc wants.
Ken Raeburn [Thu, 9 Apr 1992 09:48:46 +0000 (09:48 +0000)]
Install second copy in $(tooldir)/bin, since that's where gcc looks.
John Gilmore [Thu, 9 Apr 1992 09:30:45 +0000 (09:30 +0000)]
Minor changes for Solaris.
Per Bothner [Thu, 9 Apr 1992 07:57:10 +0000 (07:57 +0000)]
Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik).
* buildsym.c (#ifdef RS6000_TARGET): Don't create unnecessary
symbols for nameless types. And, handle `R' (register parameter
type) for AIX. (an extension to existing stabstring grammar).
* rs6000-xdep.c: Fix typo (= should have been ==).
Per Bothner [Thu, 9 Apr 1992 07:47:06 +0000 (07:47 +0000)]
* rs6k.h: Fix incorrect extended opcode for instructions `fm'
and `fd'. (From metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik).)
John Gilmore [Thu, 9 Apr 1992 07:26:14 +0000 (07:26 +0000)]
apollo68v.h => apollov68.h (must be for DOS 8.3 names or something)
John Gilmore [Thu, 9 Apr 1992 07:06:54 +0000 (07:06 +0000)]
Remove $Log stuff.
K. Richard Pixley [Thu, 9 Apr 1992 06:08:50 +0000 (06:08 +0000)]
remove references to gdbm
Fred Fish [Wed, 8 Apr 1992 21:38:15 +0000 (21:38 +0000)]
Remove obsolete README file, and update mmalloc.texi to closer reflect
reality. Minor fix to comment in mmalloc.c. Remove README from .Sanitize
Fred Fish [Wed, 8 Apr 1992 16:37:44 +0000 (16:37 +0000)]
Fix prototype for pointer to function to get more core.
Stu Grossman [Wed, 8 Apr 1992 05:37:32 +0000 (05:37 +0000)]
* xm-i386mach.h: add decls for errno and strdup().
Fred Fish [Wed, 8 Apr 1992 05:17:56 +0000 (05:17 +0000)]
Only redefine size_t and CHAR_BIT if they are not already defined.
Stu Grossman [Wed, 8 Apr 1992 01:14:17 +0000 (01:14 +0000)]
* xm-i386mach.h: add decl for errno.
K. Richard Pixley [Wed, 8 Apr 1992 00:23:29 +0000 (00:23 +0000)]
keep ChangeLog
Per Bothner [Tue, 7 Apr 1992 23:52:37 +0000 (23:52 +0000)]
* config.sub: Don't canonicalize os value
newsos* to bsd (readline needs to check for newsos).
(This fix was earlier made Jan 31, but got re-broken.)
Per Bothner [Tue, 7 Apr 1992 23:37:16 +0000 (23:37 +0000)]
* breakpoint.c (breakpoint_1): Add (int) casts for enums
used in array index context (otherwise, some compilers barf).
Roland Pesch [Tue, 7 Apr 1992 23:36:19 +0000 (23:36 +0000)]
keep mmalloc.texi
Roland Pesch [Tue, 7 Apr 1992 23:35:43 +0000 (23:35 +0000)]
Converted from Fred's original README; no changes in substance.
Stu Grossman [Tue, 7 Apr 1992 23:09:50 +0000 (23:09 +0000)]
* m68k-tdep.c, tm-sun3.h: #ifdef around get_longjmp_target().
Change def of SAVED_PC_AFTER_CALL to call routine to see if we are
in a system call, and provide better backtrace if so.
Sean Eric Fagan [Tue, 7 Apr 1992 22:24:46 +0000 (22:24 +0000)]
mh-a68bsd is the Apollo Series 400 host file, to be used when running
under the BSD emulation environment ($SYSTYPE=bsd4.3).
Sean Eric Fagan [Tue, 7 Apr 1992 22:20:00 +0000 (22:20 +0000)]
The Apollo compiler doesn't like assigning variables to enum's. So,
add a new enum to the class, with a value of 0.
Sean Eric Fagan [Tue, 7 Apr 1992 22:18:44 +0000 (22:18 +0000)]
ChangeLog entries describing my changes.
Sean Eric Fagan [Tue, 7 Apr 1992 22:18:18 +0000 (22:18 +0000)]
Change a series of #if/#elif to #if/#else/#if.../#endif. The apollo
compiler lies about being ANSI conformant.
Sean Eric Fagan [Tue, 7 Apr 1992 22:16:41 +0000 (22:16 +0000)]
The apollo make does not like lines which end in a backslash, but do not have
anything following (it tries to interpret the next line as a command; for
this file, the next line was merely more rules).
Sean Eric Fagan [Tue, 7 Apr 1992 22:11:30 +0000 (22:11 +0000)]
Support for Apollo Series 400 machines, under the BSD environment.
Stu Grossman [Tue, 7 Apr 1992 20:53:43 +0000 (20:53 +0000)]
Add rs6k.h
Stu Grossman [Tue, 7 Apr 1992 20:48:19 +0000 (20:48 +0000)]
* Makefile.in (HFILES): Add xcoffsolib.h.
Stu Grossman [Tue, 7 Apr 1992 20:46:02 +0000 (20:46 +0000)]
rs6000-pinsn.c!!! Not .h!!!
Stu Grossman [Tue, 7 Apr 1992 20:45:16 +0000 (20:45 +0000)]
* rs6000-pinsn.c: #include "opcode/rs6k.h"
Stu Grossman [Tue, 7 Apr 1992 20:39:31 +0000 (20:39 +0000)]
* rs6k.h: Move from ../../gdb/rs6k-opcode.h.
Stu Grossman [Tue, 7 Apr 1992 20:38:30 +0000 (20:38 +0000)]
* rs6k-opcode.h: Move to ../include/opcode/rs6k.h.
Stu Grossman [Tue, 7 Apr 1992 17:23:36 +0000 (17:23 +0000)]
* mipsread.c (read_mips_symtab, read_the_mips_symtab,
mipscoff_symfile_read): Convert to BFD to do file I/O.
Stu Grossman [Tue, 7 Apr 1992 16:47:48 +0000 (16:47 +0000)]
* symfile.c: #include <ctype.h> to get proper def if isspace().
Stu Grossman [Tue, 7 Apr 1992 15:50:00 +0000 (15:50 +0000)]
* i386-tdep.c (get_longjmp_target): #ifdef GET_LONGJMP_TARGET.
Sean Eric Fagan [Tue, 7 Apr 1992 10:04:26 +0000 (10:04 +0000)]
Added the file.
Stu Grossman [Tue, 7 Apr 1992 06:25:46 +0000 (06:25 +0000)]
version->4.4.87
Stu Grossman [Tue, 7 Apr 1992 06:21:33 +0000 (06:21 +0000)]
* mipsread.c: Create a .gdbinfo pseudo-symbol for each
function also when parsing embedded stabs.
Stu Grossman [Tue, 7 Apr 1992 05:57:36 +0000 (05:57 +0000)]
* configure.in: sco is an os, not a vendor!
Fred Fish [Tue, 7 Apr 1992 03:54:54 +0000 (03:54 +0000)]
Get rid of the other half of the ugly kludge as well...
Fred Fish [Tue, 7 Apr 1992 03:53:12 +0000 (03:53 +0000)]
Get rid of include of <stdlib.h>, which is not guaranteed to be present
even when __STDC__ is defined. This also causes the ugly malloc/realloc/etc
kludge to go away.
Per Bothner [Tue, 7 Apr 1992 00:29:36 +0000 (00:29 +0000)]
* mipsread.c: Create a .gdbinfo pseudo-symbol for each
function also when parsing embedded stabs.
Stu Grossman [Tue, 7 Apr 1992 00:17:33 +0000 (00:17 +0000)]
* mipsread.c: Fix many invocations of complain. Use enum
type_code where appropriate.
Stu Grossman [Mon, 6 Apr 1992 23:43:04 +0000 (23:43 +0000)]
* mipsread.c: Fix many invocations of complain.
Roland Pesch [Mon, 6 Apr 1992 23:40:23 +0000 (23:40 +0000)]
Updates to text on "info proc".
Stu Grossman [Mon, 6 Apr 1992 23:37:23 +0000 (23:37 +0000)]
* xm-vaxult.h: Add decl for strdup().
Stu Grossman [Mon, 6 Apr 1992 23:35:26 +0000 (23:35 +0000)]
* detach.c (mmalloc_detach): Arg should be PTR, not void *.
Fixes complaints from non __STDC__ systems.
Roland Pesch [Mon, 6 Apr 1992 23:29:36 +0000 (23:29 +0000)]
0) Update descriptions of symbol-file, file, add-symbol-file cmds for use
of *options* "-readnow" and "-mapped".
1) Change title/subtitle to come closer to text used by FSF when they
printed this thing (but still avoid silliness of having word "manual" in
the title).
2) First few minor corrections from most recent Chassell pass.
Stu Grossman [Mon, 6 Apr 1992 22:26:30 +0000 (22:26 +0000)]
* Makefile.in: Add dependancies for xm-vaxbsd.h and xm-vaxult.h
for xm-vax.h.
Stu Grossman [Mon, 6 Apr 1992 21:35:22 +0000 (21:35 +0000)]
* configure: Quote $( better. Keep various shells happy.
Stu Grossman [Mon, 6 Apr 1992 18:40:40 +0000 (18:40 +0000)]
*** empty log message ***
Steve Chamberlain [Sun, 5 Apr 1992 01:47:16 +0000 (01:47 +0000)]
New lexer.
New targets for h8/300 simulator and DOS
Stu Grossman [Sat, 4 Apr 1992 01:43:01 +0000 (01:43 +0000)]
* buildsym.h, dbxread.c, mipsread.c: Add objfile arg to
process_one_symbol.
Per Bothner [Fri, 3 Apr 1992 20:25:57 +0000 (20:25 +0000)]
* munch: Must pre-pend "_" to "initialize" for SYSV style nm.
* tm-rs6000.h, xcoffexec.c, xcoffread.c, xm-rs6000.h:
Merge in more patches for rs6000 from Metin Ozisik.
* utils.c: Fix typo in comment.
Fred Fish [Fri, 3 Apr 1992 19:33:14 +0000 (19:33 +0000)]
Cast macro args to unsigned to avoid complaints from compiler and lint
about integer overflow during left shift of 16 bits.
Fred Fish [Fri, 3 Apr 1992 19:29:29 +0000 (19:29 +0000)]
Fix bug with gdb resending SIGSTOP to an attached process that was forcibly
stopped during attach, thus stopping it again.
Stu Grossman [Fri, 3 Apr 1992 18:48:33 +0000 (18:48 +0000)]
version = 4.4.86
Stu Grossman [Fri, 3 Apr 1992 09:39:11 +0000 (09:39 +0000)]
* Makefile.in (SFILES_MAINDIR): add mipsread.c
John Gilmore [Fri, 3 Apr 1992 04:47:16 +0000 (04:47 +0000)]
Add sun4os5 (Solaris) config files.
John Gilmore [Fri, 3 Apr 1992 04:46:38 +0000 (04:46 +0000)]
Sort the names, since the file renaming.
John Gilmore [Fri, 3 Apr 1992 04:32:41 +0000 (04:32 +0000)]
New sym files
John Gilmore [Fri, 3 Apr 1992 04:30:55 +0000 (04:30 +0000)]
* Makefile.in (OBS): Compile mipsread.c for all targets now.
(VERSION): Bump to 4.4.85.
* mipsread.c: Update for new include files. Lint.
* tm-irix3.h, tm-mips.h: Use new include files for ECOFF symtab.
* config/{bigmips.mt, littlemips.mt, irix3.mt, decstation.mt}:
Don't need to bring in mipsread.o specially any more.
John Gilmore [Fri, 3 Apr 1992 04:27:03 +0000 (04:27 +0000)]
Don't need to bring in mipsread.o specially any more.
John Gilmore [Fri, 3 Apr 1992 04:01:35 +0000 (04:01 +0000)]
Date: Thu, 2 Apr 92 15:48:13 -0800
From: wu@mips.com (Alex Wu)
Message-Id: <
9204022348.AA20058@goofy.mips.com>
To: gnu@cygnus.com
Subject: sym.h & symconst.h
John,
I finally get our lawyer's approval. Here is the symconst.h and
the sym.h. Please let me know if there is anything else I can help.