binutils-gdb.git
32 years ago* depend: rebuild to account for remote-st2000.c.
Stu Grossman [Tue, 9 Jun 1992 23:31:53 +0000 (23:31 +0000)]
* depend:  rebuild to account for remote-st2000.c.
* remote-st2000.c:  Almost works now.
* tm-st2000.h:  Need to turn on HAVE_68881, else things won't compile.

32 years ago * subsegs.c (subsegs_begin): create bss0_frchainP in the same was
Steve Chamberlain [Tue, 9 Jun 1992 19:36:49 +0000 (19:36 +0000)]
* subsegs.c (subsegs_begin): create bss0_frchainP in the same was
as data0_frchainP

* write.c (write_object_file): various changes to handle data in
the BSS segment in much the same was as stuff in the DATA segment.

* subsegs.c (subseg_change): allow and handle a change into SEG_BSS.

32 years ago * subsegs.c (subseg_change): allow and handle a change into SEG_BSS.
Steve Chamberlain [Tue, 9 Jun 1992 14:57:42 +0000 (14:57 +0000)]
* subsegs.c (subseg_change): allow and handle a change into SEG_BSS.

* tc-m68k.c (m68kip): Fix typo so that only arch's >=68020 do
pcrel data stuff. (md_estimate_size_before_relax): when relaxing a
68010 bxx into a bra+6 jmpxx, put the bytes of the jmp opcode into
the right place. (s_bss): Don't put .bss stuff into SEG_DATA, put
it into SEG_BSS

32 years ago * subsegs.c (subseg_change): allow and handle a change into SEG_BSS.
Steve Chamberlain [Tue, 9 Jun 1992 14:57:23 +0000 (14:57 +0000)]
* subsegs.c (subseg_change): allow and handle a change into SEG_BSS.

32 years ago * readline.h (rl_completer_quote_characters): Add declaration.
Fred Fish [Tue, 9 Jun 1992 06:10:54 +0000 (06:10 +0000)]
* readline.h (rl_completer_quote_characters):  Add declaration.
* readline.c (rl_completer_quote_characters):  Add global var.
* readline.c (strpbrk):  Add prototype and function.
* readline.c (rl_complete_internal):  Add code to handle
expansion of quoted strings.

32 years ago * c-exp.y (yylex): Recognize single-quoted strings that specify
Fred Fish [Tue, 9 Jun 1992 06:09:33 +0000 (06:09 +0000)]
* c-exp.y (yylex):  Recognize single-quoted strings that specify
tokens with embedded whitespace, such as C++ demangled names.
* defs.h (demangle_and_match, strcmp_iw, skip_quoted):  Prototypes.
* main.c (gdb_completer_quote_characters):  Add global variable.
* main.c (symbol_completion_function):  Total rewrite for C++
demangled name handling.
* main.c (skip_quoted):  New function.
* main.c (main):  Set rl_completer_quote_characters.
* symmisc.c (dump_symtab):  Print source language for symtab.
* symtab.c (expensive_mangler):  Add prototype and function.
* symtab.c (completion_list_add_symbol):  Total rewrite for new
C++ demangled name handling.
* symtab.c (lookup_symbol): Check for demangled C++ symbol first,
other changes for demangled C++ symbol handling.
* symtab.c (lookup_demangled_block_symbol):  Use demangle_and_match.
* symtab.c (lookup_demangled_partial_symbol):  Use demangle_and_match.
* symtab.c (decode_line_1):  Recognize C++ demangled names on input.
* symtab.c (completion_list_add_symbol):  Total rewrite for new
C++ demangled name handling.
* symtab.c (expensive_mangler):  New function.
* utils.c (strcmp_iw, demangle_and_match):  New functions.
* xcoffread.c (aixcoff_symfile_read):  Fix prototype.

32 years ago* Makefile.in: Roll VERSION to 4.5.4.
John Gilmore [Tue, 9 Jun 1992 05:10:15 +0000 (05:10 +0000)]
* Makefile.in:  Roll VERSION to 4.5.4.
* Makefile.in, config/*.mh, config/*.mt:  Rename TM_CFLAGS
to MT_CFLAGS, XM_CFLAGS to MH_CFLAGS to match file names.
* config/sun4os5.mh:  Add MH_CFLAGS=-xs to save debug info.

32 years agoUse unsigned chars for fields in object files.
John Gilmore [Tue, 9 Jun 1992 03:14:50 +0000 (03:14 +0000)]
Use unsigned chars for fields in object files.

32 years agoTypo
John Gilmore [Tue, 9 Jun 1992 02:38:11 +0000 (02:38 +0000)]
Typo

32 years agoSee gdb/Changelog for details.
Stu Grossman [Mon, 8 Jun 1992 21:35:27 +0000 (21:35 +0000)]
See gdb/Changelog for details.

32 years ago* alldeps.mak: Rebuild to account for new files.
Stu Grossman [Mon, 8 Jun 1992 21:35:05 +0000 (21:35 +0000)]
* alldeps.mak:  Rebuild to account for new files.
* config/st2000.mt:  Use tm-st2000.h, not tm-68k.h.
* tm-st2000.h:  New file.

32 years ago* configure.in: Tandem debug monitor (st2000) support.
Stu Grossman [Mon, 8 Jun 1992 21:21:59 +0000 (21:21 +0000)]
* configure.in:  Tandem debug monitor (st2000) support.
* remote-st2000.c, config/st2000.mt:  ditto.

32 years agoSee gdb/Changelog for details
Stu Grossman [Mon, 8 Jun 1992 21:16:44 +0000 (21:16 +0000)]
See gdb/Changelog for details

32 years ago*** empty log message ***
Steve Chamberlain [Mon, 8 Jun 1992 17:14:18 +0000 (17:14 +0000)]
*** empty log message ***

32 years agolint
Steve Chamberlain [Mon, 8 Jun 1992 17:14:10 +0000 (17:14 +0000)]
lint

32 years ago*** empty log message ***
Steve Chamberlain [Mon, 8 Jun 1992 17:09:57 +0000 (17:09 +0000)]
*** empty log message ***

32 years agodon't crash when provided empty symbol table
Steve Chamberlain [Mon, 8 Jun 1992 17:09:40 +0000 (17:09 +0000)]
don't crash when provided empty symbol table

32 years agonew file from bothner, fixes sparc cross-disassembly core dumps
David D. Zuhn [Mon, 8 Jun 1992 07:46:10 +0000 (07:46 +0000)]
new file from bothner, fixes sparc cross-disassembly core dumps

32 years ago* configure.in: Handle Solaris2 as *-sun-sysv4 or as *-sun-sunos5.
John Gilmore [Sun, 7 Jun 1992 00:03:50 +0000 (00:03 +0000)]
* configure.in:  Handle Solaris2 as *-sun-sysv4 or as *-sun-sunos5.

32 years ago* blockframe.c (inside_entry_file, inside_main_func,
John Gilmore [Fri, 5 Jun 1992 18:52:27 +0000 (18:52 +0000)]
* blockframe.c (inside_entry_file, inside_main_func,
inside_entry_func):  Return 0 if no symbols; avoid crashing.

32 years agochange pathnames from /usr/share/misc to /usr/local/lib. They should *really*
Mark Eichin [Thu, 4 Jun 1992 19:36:37 +0000 (19:36 +0000)]
change pathnames from /usr/share/misc to /usr/local/lib. They should *really*
get built by configure, someday.

32 years agoThu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Steve Chamberlain [Thu, 4 Jun 1992 19:21:58 +0000 (19:21 +0000)]
Thu Jun  4 11:59:13 1992  Steve Chamberlain  (sac@thepub.cygnus.com)

* expr.c(expr): allow SEG_REGISTER in expressions.
* read.c(pseudo_set): register expressions can be the source of a
set.
* subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to
goto SEG_TEXT (if a.out)
* write.c (write_object_file): If a.out don't use the old way for
-R.
* config/obj-a.out (s_sect): complain if the user tries to use a
subsegment with a value which might interfere with out -R hackery.
* config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table
rather than use ugly if tree. (init_regtable): insert register
names into symbol table.

32 years agoadd real install, and some more normal paths.
Mark Eichin [Thu, 4 Jun 1992 19:10:49 +0000 (19:10 +0000)]
add real install, and some more normal paths.

32 years agouse byacc instead of bison.
Mark Eichin [Thu, 4 Jun 1992 19:10:06 +0000 (19:10 +0000)]
use byacc instead of bison.

32 years agoThu Jun 4 11:34:02 1992 Mark Eichin (eichin at cygnus.com)
Mark Eichin [Thu, 4 Jun 1992 18:36:56 +0000 (18:36 +0000)]
Thu Jun  4 11:34:02 1992  Mark Eichin  (eichin at cygnus.com)

* lookup.c: fixed fencepost in nllookup and added dbg_nllookup for
help in debugging the problem (with -DDEBUG)
* gprof.c: symbol values are now real values, don't add the vma
anymore. (done for solaris; should verify this on other platforms)
* ChangeLog: created.

32 years ago* config.sub: Add support for Linux.
Per Bothner [Thu, 4 Jun 1992 07:38:43 +0000 (07:38 +0000)]
* config.sub:  Add support for Linux.
* Makefile.in:  Use $(FLAGS_TO_PASS) more consistently (at least for libg++).

32 years agoadded srcdir=. so that configure puts in a value
Mark Eichin [Thu, 4 Jun 1992 07:34:23 +0000 (07:34 +0000)]
added srcdir=. so that configure puts in a value
added explicit foo.o:foo.c lines since Solaris has the same VPATH bug that
SunOs 4.1.1 does...

32 years ago* xcoffread.c (read_xcoff_symtab): Set c_sclass from n_sclass
John Gilmore [Thu, 4 Jun 1992 05:23:08 +0000 (05:23 +0000)]
* xcoffread.c (read_xcoff_symtab):  Set c_sclass from n_sclass
without masking, since it is signed and will later be compared
against signed quantities.  The right fix is probably to make
it all unsigned, but this is a small, safe fix for this release.
FIXME -- make the real change sometime soon.

(Imported from progressive.)

32 years agofix -nfp documentation
David D. Zuhn [Wed, 3 Jun 1992 03:06:02 +0000 (03:06 +0000)]
fix -nfp documentation

32 years agoMakefile.in (all-binutils): ar needs flex, so depend on all-flex.
Michael Tiemann [Wed, 3 Jun 1992 00:21:33 +0000 (00:21 +0000)]
Makefile.in (all-binutils): ar needs flex, so depend on all-flex.

32 years agoFix -R problem from Adobe
Michael Tiemann [Tue, 2 Jun 1992 23:49:59 +0000 (23:49 +0000)]
Fix -R problem from Adobe

32 years agoMakefile.in: .c.o rule needed, default one (under solaris) ignores CFLAGS
Mark Eichin [Tue, 2 Jun 1992 17:22:47 +0000 (17:22 +0000)]
Makefile.in: .c.o rule needed, default one (under solaris) ignores CFLAGS
Makefile: it shouldn't be under cvs; given that it is, fix it too
arcs.c: fprintf used where printf should have been.
lookup.c: misdeclared calloc; use a cast instead.

32 years agoFix from net: when predigesting doc for texi2roff, search for "@c " at
Roland Pesch [Tue, 2 Jun 1992 00:50:41 +0000 (00:50 +0000)]
Fix from net: when predigesting doc for texi2roff, search for "@c " at
the beginning of a line, rather than just "@C" at the beginning of a
line, to identify (and remove) comments.

32 years agoTracking changes from Lucid: option formerly known as either
Roland Pesch [Tue, 2 Jun 1992 00:48:46 +0000 (00:48 +0000)]
Tracking changes from Lucid: option formerly known as either
"-cadillac" or "-energize" is called "-context" now.

32 years agoPass the correct number of parameters to `symbol_file_add'.
Michael Tiemann [Mon, 1 Jun 1992 23:19:09 +0000 (23:19 +0000)]
Pass the correct number of parameters to `symbol_file_add'.

32 years agoDefine MALLOC_INCOMPATIBLE so we can compile files which include <malloc.h>
Michael Tiemann [Mon, 1 Jun 1992 23:17:21 +0000 (23:17 +0000)]
Define MALLOC_INCOMPATIBLE so we can compile files which include <malloc.h>

32 years agochange mh-solaris2 to mh-solaris.
Mark Eichin [Mon, 1 Jun 1992 00:29:44 +0000 (00:29 +0000)]
change mh-solaris2 to mh-solaris.

32 years agoAdded solaris configuration support.
Mark Eichin [Sun, 31 May 1992 22:13:34 +0000 (22:13 +0000)]
Added solaris configuration support.

32 years agoHandle -m680[01234]0-wrs as specific vxworks68 targets. With -nfp,
Michael Tiemann [Sun, 31 May 1992 13:45:08 +0000 (13:45 +0000)]
Handle -m680[01234]0-wrs as specific vxworks68 targets.  With -nfp,
this offers full control over the CPU parameters of vxworks systems we
are likely to encounter (not to mention other 68k embedded targets
that run a.out as their debugging format).

32 years ago16 May version from prep
David D. Zuhn [Sun, 31 May 1992 08:16:00 +0000 (08:16 +0000)]
16 May version from prep

32 years agorecognize m680[1234] as separate processors now
David D. Zuhn [Sun, 31 May 1992 08:12:16 +0000 (08:12 +0000)]
recognize m680[1234] as separate processors now

32 years agobetter error testing on perverse cases (eg, ./config.sub -sun3)
David D. Zuhn [Sun, 31 May 1992 04:04:03 +0000 (04:04 +0000)]
better error testing on perverse cases (eg, ./config.sub -sun3)

32 years agoFix lint found by GCC.
Michael Tiemann [Sat, 30 May 1992 05:19:54 +0000 (05:19 +0000)]
Fix lint found by GCC.

32 years agoAdd flex to the list of keepers. flex is needed to build GNU ld.
Michael Tiemann [Fri, 29 May 1992 02:49:34 +0000 (02:49 +0000)]
Add flex to the list of keepers.  flex is needed to build GNU ld.

32 years agoRecognize sparclite as a sparc variant.
Jim Wilson [Thu, 28 May 1992 18:22:42 +0000 (18:22 +0000)]
Recognize sparclite as a sparc variant.

32 years agoAdd sparclite support.
Jim Wilson [Thu, 28 May 1992 18:21:39 +0000 (18:21 +0000)]
Add sparclite support.

32 years agoPass $tooldir in FLAGS_TO_PASS. Define -aout in $os. Both of these
Michael Tiemann [Thu, 28 May 1992 06:21:54 +0000 (06:21 +0000)]
Pass $tooldir in FLAGS_TO_PASS.  Define -aout in $os.  Both of these
are needed to do a `make all install' for a vxworks68 target install.

32 years ago * ldgram.y, ldlex.l: parse ABSOLUTE
Steve Chamberlain [Wed, 27 May 1992 22:18:50 +0000 (22:18 +0000)]
    * ldgram.y, ldlex.l: parse ABSOLUTE
* ldexp.c: add support for ABSOLUTE

32 years ago * config/*.mh: Miscellaneous clean-up: Removed definitions
Per Bothner [Wed, 27 May 1992 20:21:42 +0000 (20:21 +0000)]
* config/*.mh:  Miscellaneous clean-up:  Removed definitions
of YACC (since it is not longer used in the Makefile).
Remove HOSTING_* definitions that are subsumed by the
ones added to Makefile.in.  Removed most definitions of CC.
* config/{sparc,news,hp300bsd,decstation}.mh:  Removed;
These are no longer needed.

32 years ago * Makefile.in: Added default definitions for HOSTING_CRT0,
Per Bothner [Wed, 27 May 1992 20:20:47 +0000 (20:20 +0000)]
* Makefile.in:  Added default definitions for HOSTING_CRT0,
HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh.

32 years ago * arlex.l: Don't include <sysdep.h> (unneeded conflicts).
Per Bothner [Wed, 27 May 1992 20:06:01 +0000 (20:06 +0000)]
* arlex.l:  Don't include <sysdep.h> (unneeded conflicts).
Add declaration of strdup().

32 years agoLint
John Gilmore [Wed, 27 May 1992 16:29:03 +0000 (16:29 +0000)]
Lint

32 years agoAdd apollo68.h.
Per Bothner [Tue, 26 May 1992 23:59:37 +0000 (23:59 +0000)]
Add apollo68.h.

32 years agoAdd mh-a68bsd.
Per Bothner [Tue, 26 May 1992 23:57:55 +0000 (23:57 +0000)]
Add mh-a68bsd.

32 years agolint
Steve Chamberlain [Tue, 26 May 1992 23:57:04 +0000 (23:57 +0000)]
lint

32 years ago * coff-a29k.c: do byte relocs correctly
Steve Chamberlain [Tue, 26 May 1992 23:53:00 +0000 (23:53 +0000)]
* coff-a29k.c: do byte relocs correctly
* coffcode.h (styp_to_sec_flags): never load INFO sections
* seclet.c (rel): don't relocate INFO sections

32 years agoFixes from Andrew Smith
Steve Chamberlain [Tue, 26 May 1992 23:49:49 +0000 (23:49 +0000)]
Fixes from Andrew Smith

32 years agoDon't be too sanitary
Steve Chamberlain [Tue, 26 May 1992 22:28:07 +0000 (22:28 +0000)]
Don't be too sanitary

(thanks Per)

32 years ago29k const fix
Steve Chamberlain [Tue, 26 May 1992 22:20:09 +0000 (22:20 +0000)]
29k const fix

32 years agoFix some typos
Steve Chamberlain [Tue, 26 May 1992 19:08:48 +0000 (19:08 +0000)]
Fix some typos

32 years agoCheckpoint
Steve Chamberlain [Tue, 26 May 1992 18:26:13 +0000 (18:26 +0000)]
Checkpoint

32 years agoThis is a test to see if the file is still locked.
Steve Chamberlain [Tue, 26 May 1992 14:51:23 +0000 (14:51 +0000)]
This is a test to see if the file is still locked.

32 years agoHeader file changes corresponding to BFD library changes just checked in.
Ken Raeburn [Tue, 26 May 1992 07:06:00 +0000 (07:06 +0000)]
Header file changes corresponding to BFD library changes just checked in.

32 years agoLots of changes from gas-bfd work. Includes:
Ken Raeburn [Tue, 26 May 1992 03:45:31 +0000 (03:45 +0000)]
Lots of changes from gas-bfd work.  Includes:
 * working reloc lookup support
 * better support for creation of COFF files from scratch
 * misc doc changes, macro tweaks, "const" additions, typo fixes, etc.
 * one or two ugly kludges that should get cleaned up (but what's one
   or two more, in BFD?)
See ChangeLog for details.

32 years agoLots of changes from gas-bfd work. Includes:
Ken Raeburn [Tue, 26 May 1992 03:23:53 +0000 (03:23 +0000)]
Lots of changes from gas-bfd work.  Includes:
 * working reloc lookup support
 * better support for creation of COFF files from scratch
 * misc doc changes, macro tweaks, "const" additions, typo fixes, etc.
 * one or two ugly kludges that should get cleaned up (but what's one
   or two more, in BFD?)
See ChangeLog for details.

32 years agoDraft Solaris install notes.
Roland Pesch [Mon, 25 May 1992 20:42:53 +0000 (20:42 +0000)]
Draft Solaris install notes.

Checked into "devo" temporarily; will probably need to move to another
repository.  Feel free to move it, but *please* move the entire
underlying RCS file, not just the HEAD version (unless, of course, you
move it while there's just this version checked in).

32 years ago * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
Per Bothner [Fri, 22 May 1992 22:38:13 +0000 (22:38 +0000)]
* Makefile.in:  Use srcdir instead of VPATH in ldgram/ldlex
rules, since these are used when building a distribution.
* Makefile.in (arlex.c):  Don't re-direct output, since that
leaves a bogus output files if it fails.

32 years ago * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
Per Bothner [Fri, 22 May 1992 22:36:35 +0000 (22:36 +0000)]
* Makefile.in:  Use srcdir instead of VPATH in ldgram/ldlex
rules, since these are used when building a distribution.
* Makefile.in (ldlex.c):  Don't re-direct output, since that
leaves a bogus output files if it fails.

32 years ago * ldlex.c: Fix some unnecessary flex-specific-isms.
Per Bothner [Fri, 22 May 1992 20:56:37 +0000 (20:56 +0000)]
* ldlex.c:  Fix some unnecessary flex-specific-isms.

32 years ago * config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working.
Per Bothner [Fri, 22 May 1992 20:48:50 +0000 (20:48 +0000)]
* config/sparc.mh:  Fix HOSTING_LIBS so it has a chance of working.

32 years ago * Makefile.in: Better lex support.
Per Bothner [Fri, 22 May 1992 20:44:24 +0000 (20:44 +0000)]
* Makefile.in:  Better lex support.
* Makefile.in (dist):  Generate flex and bison outputs
for distribution.

32 years ago * arlex.l: Make work with lex, for what it's worth.
Per Bothner [Fri, 22 May 1992 20:41:25 +0000 (20:41 +0000)]
* arlex.l:  Make work with lex, for what it's worth.

32 years agoThu May 21 18:00:09 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
Michael Tiemann [Fri, 22 May 1992 15:56:20 +0000 (15:56 +0000)]
Thu May 21 18:00:09 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)

* Makefile.in (tooldir): Define it.
(all-ld): Depend on all-flex.

32 years agoRefer to current version of Binutils (1.97). This will be
Roland Pesch [Thu, 21 May 1992 22:36:24 +0000 (22:36 +0000)]
Refer to current version of Binutils (1.97).  This will be
automatically synched one day, when Texinfo has at least trivial
macros.

32 years agoPTR vs. void*. Sorry.
Sean Eric Fagan [Thu, 21 May 1992 20:14:08 +0000 (20:14 +0000)]
PTR vs. void*.  Sorry.

32 years agoqsort returns a void*, according to the manual pages on two different systems.
Sean Eric Fagan [Thu, 21 May 1992 20:09:48 +0000 (20:09 +0000)]
qsort returns a void*, according to the manual pages on two different systems.

32 years ago* coredep.c (fetch_core_registers): Remove premature warning,
John Gilmore [Wed, 20 May 1992 08:25:56 +0000 (08:25 +0000)]
* coredep.c (fetch_core_registers):  Remove premature warning,
which triggers on DECstation even though all regs are accessible.

* m68k-pinsn.c (print_insn_arg):  Use new macros to get
sign-extension of instruction fields even on unsigned-char hosts.
Bug found by Fred J Roeber, fjr@sgfb.ssd.ray.com.

32 years agoA couple of things from the net.
David Henkel-Wallace [Wed, 20 May 1992 06:47:14 +0000 (06:47 +0000)]
A couple of things from the net.

32 years ago88K changes inspired by Ted Lemon (uunet!lupine!mellon)
John Gilmore [Wed, 20 May 1992 06:03:50 +0000 (06:03 +0000)]
88K changes inspired by Ted Lemon (uunet!lupine!mellon)
* tm-m88k.h, tm-umax.h:  Avoid sizeof() in REGISTER_xxx macros,
since they define the target, not the host.
* m88k-pinsn.c:  Fix typo.

Patches by Paul Eggert <eggert@twinsun.com>.
* valarith.c (value_zerop):  -0.0 is still zero.
* eval.c (evaluate_subexp):  Avoid NaN anomalies in float compares.

32 years ago* readline.c: Can't initialize FILE *'s with stdin and stdout,
John Gilmore [Wed, 20 May 1992 05:53:33 +0000 (05:53 +0000)]
* readline.c:  Can't initialize FILE *'s with stdin and stdout,
because they might not be constant.  Patch from Tom Quinn,
trq@dinoysos.thphys.ox.ac.uk.

32 years agoRemoved RMS email address from inside cover page, at his request.
Roland Pesch [Tue, 19 May 1992 21:22:10 +0000 (21:22 +0000)]
Removed RMS email address from inside cover page, at his request.

32 years agomerged changes from grep-1.6 (alpha)
K. Richard Pixley [Tue, 19 May 1992 00:29:44 +0000 (00:29 +0000)]
merged changes from grep-1.6 (alpha)

32 years ago9 may revision merged
K. Richard Pixley [Mon, 18 May 1992 23:26:45 +0000 (23:26 +0000)]
9 may revision merged

32 years agoFix various protos so bfd/binutils compile on sun3 with gcc
Steve Chamberlain [Mon, 18 May 1992 22:46:15 +0000 (22:46 +0000)]
Fix various protos so bfd/binutils compile on sun3 with gcc

32 years ago* alldeps.mak, depend: re-make to account for ser-*.c.
Stu Grossman [Mon, 18 May 1992 20:55:52 +0000 (20:55 +0000)]
* alldeps.mak, depend:  re-make to account for ser-*.c.

32 years ago * inflow.c (new_tty): Temporarily ignore SIGTTOU when
Fred Fish [Sun, 17 May 1992 23:54:32 +0000 (23:54 +0000)]
* inflow.c (new_tty):  Temporarily ignore SIGTTOU when
disconnecting from controlling terminal, to avoid gdb hanging
on SVR4.  Fixes bug reported by Oliver Okrongli.
* procfs.c (PROC_NAME_FMT):  Change format to match default used
by system, as suggested by Oliver Okrongli.
* tm-68k.h (FRAME_FIND_SAVED_REGS):  Apply missing parentheses
bug fix from Brent Townshend (bst%tt@cam.ORG).
* c-exp.y (nonempty_typelist):  Fix memory overrun bug reported
by turlais@rechser.total.fr.
* dwarfread.c (decode_subscr_data):  Fix bug in calculation of
length of non-zero lowerbound arrays.  Bug fix from Peggy Fieland.
* objfiles.h (unlink_objfile):  Add prototype.
* objfiles.c (unlink_objfile):  Add function.
* objfiles.c (free_objfile):  Call unlink_objfile.
* objfiles.c (allocate_objfile):  Call unlink_objfile on newly
remapped objfiles.  Bug reported by hahn@sunshine.labs.tek.com.
Also, discard old possibly bogus sf struct.
* symfile.c (symbol_file_add):  Call init_entry_point_info() and
find_sym_fns() for remapped symbol files, in case of any changes
since the last mapping.

32 years agofix declaration of free
K. Richard Pixley [Sun, 17 May 1992 00:58:37 +0000 (00:58 +0000)]
fix declaration of free

32 years agouse m4 rather than gm4
K. Richard Pixley [Fri, 15 May 1992 00:23:15 +0000 (00:23 +0000)]
use m4 rather than gm4

32 years agoThu May 14 17:09:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
Roland Pesch [Fri, 15 May 1992 00:20:43 +0000 (00:20 +0000)]
Thu May 14 17:09:48 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)

* gdb.texinfo: slight expansion of new text on reading info files
* gdbinv-s.m4.in: correct and expand info on cross-debugging
H8/300 from DOS.

* ChangeLog: guess...

32 years ago Changes to support GDB running on DOS using GO32 and H8 support
Steve Chamberlain [Wed, 13 May 1992 01:13:18 +0000 (01:13 +0000)]
Changes to support GDB running on DOS using GO32 and H8 support

* defs.h: if xm.h doesn't define FOPEN_RB, include "fopen-same.h",
allowing hosts with different text and binary file formats to
work.
* coffread.c (read_coff_symtab): changed calling convention and
operation - now it opens its own file with FOPEN_RB rather than
duping and fdopening the provided handle.
* dbxread.c, cplus-dem.c: #include mangling.
* exec.c: If O_BINARY isn't defined, set it to 0, call openp for
binary files oring in the right bit.
* utils.c, terminal.h, inflow.c: hackery because dos doesn't have terminals.
* remote-hms.c: cleanup to use the new remote serial stuff
* serial.h, ser-termios.c, ser-go32.c: newfiles to provide host
independent remote terminal I/O.
* remote.c: if DONT_USE_REMOTE is defined, then don't use it.
* source.c (openp): fix off by one problem removing / - can now
open a source file in the root directory with DOS.
* values.c (value_as_pointer): remove bogus address bits from
long. (unpack_long): unpack into unsigned long/short if pointer.
sun4.mh: use the ser-termios stuff
go32.mh: use the ser-go32 stuff

32 years ago Changes to support GDB running on DOS using GO32 and H8 support
Steve Chamberlain [Wed, 13 May 1992 01:12:18 +0000 (01:12 +0000)]
Changes to support GDB running on DOS using GO32 and H8 support

* defs.h: if xm.h doesn't define FOPEN_RB, include "fopen-same.h",
allowing hosts with different text and binary file formats to
work.
* coffread.c (read_coff_symtab): changed calling convention and
operation - now it opens its own file with FOPEN_RB rather than
duping and fdopening the provided handle.
* dbxread.c, cplus-dem.c: #include mangling.
* exec.c: If O_BINARY isn't defined, set it to 0, call openp for
binary files oring in the right bit.
* utils.c, terminal.h, inflow.c: hackery because dos doesn't have terminals.
* remote-hms.c: cleanup to use the new remote serial stuff
* serial.h, ser-termios.c, ser-go32.c: newfiles to provide host
independent remote terminal I/O.
* remote.c: if DONT_USE_REMOTE is defined, then don't use it.
* source.c (openp): fix off by one problem removing / - can now
open a source file in the root directory with DOS.
* values.c (value_as_pointer): remove bogus address bits from
long. (unpack_long): unpack into unsigned long/short if pointer.

32 years agoTue May 12 14:08:59 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Steve Chamberlain [Tue, 12 May 1992 21:42:36 +0000 (21:42 +0000)]
Tue May 12 14:08:59 1992  Steve Chamberlain  (sac@thepub.cygnus.com)

* coff-a29k.c (perform_reloc): fix bug in jmp/call evaluation
* coff-h8300.c (reloc_processing): all relocs are relative to
section start.
* opncls.c: don't use fdopen on DOS systems

short patches from Glenn Kasten (glenn@ready.com)
* target.c: enabled oasys support
* oasys.c:  Insert . when UNDERSCORE_HACK is enabled,
fix problem where a relocation which crossed a modification byte
boundary did not work. Fix problem where a relocation near the end
of a data record did not work.

32 years ago* infrun.c (child_attach): Don't allow gdb to attach to itself.
Stu Grossman [Tue, 12 May 1992 21:32:52 +0000 (21:32 +0000)]
* infrun.c (child_attach):  Don't allow gdb to attach to itself.
It gets permanently stuck in many OSes.
* breakpoint.c, infcmd.c, infrun.c, utils.c:  Change many printfs
to printf_filtered.
* breakpoint.c: Improve help text for info breakpoints.

32 years ago* infrun.c (child_attach): Don't allow gdb to attach to itself.
Stu Grossman [Tue, 12 May 1992 21:27:03 +0000 (21:27 +0000)]
* infrun.c (child_attach):  Don't allow gdb to attach to itself.
It gets permanently stuck in many OSes.
* breakpoint.c, infcmd.c, infrun.c:  Change many printfs to printf_filtered.
* breakpoint.c: Improve help text for info breakpoints.

32 years ago* breakpoint.c, infcmd.c: Change many printfs to printf_filtered.
Stu Grossman [Tue, 12 May 1992 21:20:34 +0000 (21:20 +0000)]
* breakpoint.c, infcmd.c:  Change many printfs to printf_filtered.
* breakpoint.c: Improve help text for info breakpoints.

32 years ago* breakpoint.c: Change many printfs to printf_filtered. Improve
Stu Grossman [Tue, 12 May 1992 21:17:19 +0000 (21:17 +0000)]
* breakpoint.c:  Change many printfs to printf_filtered.  Improve
help text for info breakpoints.

32 years ago`info user' => `show user'. Noticed by David Taylor.
John Gilmore [Tue, 12 May 1992 19:23:32 +0000 (19:23 +0000)]
`info user' => `show user'.  Noticed by David Taylor.

32 years agoAdd definition of free
Steve Chamberlain [Tue, 12 May 1992 14:55:32 +0000 (14:55 +0000)]
Add definition of free

32 years ago* README: Add pointer to internals doc, and describe reading
John Gilmore [Tue, 12 May 1992 02:35:44 +0000 (02:35 +0000)]
* README:  Add pointer to internals doc, and describe reading
info files.
* utils.c (print_sys_errmsg):  Use stderr.  Reported by Pierre Willard.
* symtab.c (output_source_filename):  Remove old glop for wrapping
lines, use wrap_here.  Reported by Pierre Willard (pierre@la.tce.com).
* Makefile.in:  version.c should depend on Makefile, not Makefile.in.
* munch:  Add sort -u to avoid duplications.
* symtab.c (lookup_symbol):  Improve Stu's fix of 22 April.
Improved fix by hahn@sunshine.labs.tek.com (Doug Hahn).

32 years agoSay how to read the `info' files.
John Gilmore [Tue, 12 May 1992 02:10:59 +0000 (02:10 +0000)]
Say how to read the `info' files.