binutils-gdb.git
31 years agohppa and aix386-core changes
Ken Raeburn [Mon, 8 Mar 1993 20:58:34 +0000 (20:58 +0000)]
hppa and aix386-core changes

31 years agofrom Noah Friedman: define some needed macros if hpux version < 8
Ken Raeburn [Mon, 8 Mar 1993 20:42:00 +0000 (20:42 +0000)]
from Noah Friedman: define some needed macros if hpux version < 8

31 years agoFrom Minh Tran-Le: recognize i386-ibm-aix (ps/2), and use new config file for
Ken Raeburn [Mon, 8 Mar 1993 20:30:47 +0000 (20:30 +0000)]
From Minh Tran-Le: recognize i386-ibm-aix (ps/2), and use new config file for
it.

31 years agofor aix386 (ps/2), don't run ranlib
Ken Raeburn [Mon, 8 Mar 1993 20:21:19 +0000 (20:21 +0000)]
for aix386 (ps/2), don't run ranlib

31 years ago * Makefile.in (GCC_FOR_TARGET): Eliminated definition; use
Ian Lance Taylor [Mon, 8 Mar 1993 19:15:20 +0000 (19:15 +0000)]
* Makefile.in (GCC_FOR_TARGET): Eliminated definition; use
CC_FOR_TARGET instead.
(BASE_FLAGS_TO_PASS): Pass GCC_FOR_TARGET=$(CC_FOR_TARGET).

Also added a sanitized dependency of all-gdb on all-chillrt, so that
the gdb chill tests can be built.

31 years agoClean up damage made when I checked in sanitized version
Steve Chamberlain [Mon, 8 Mar 1993 18:16:14 +0000 (18:16 +0000)]
Clean up damage made when I checked in sanitized version

31 years ago * Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make
Ian Lance Taylor [Mon, 8 Mar 1993 06:00:50 +0000 (06:00 +0000)]
* Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make
3.63.

Also corrected the definitions of CC_FOR_TARGET, CXX_FOR_TARGET and
CHILL_FOR_TARGET.

31 years ago * config/*-gdb.exp: returns an error, rather than exiting on
Rob Savoye [Sun, 7 Mar 1993 23:15:44 +0000 (23:15 +0000)]
    * config/*-gdb.exp: returns an error, rather than exiting on
internal errors.

31 years agoDoesn't exit after internal errors.
Rob Savoye [Sun, 7 Mar 1993 23:11:56 +0000 (23:11 +0000)]
Doesn't exit after internal errors.

31 years ago* am29k-tdep.c (TAGWORD_ZERO_MASK): New #define.
John Gilmore [Sat, 6 Mar 1993 02:02:39 +0000 (02:02 +0000)]
* am29k-tdep.c (TAGWORD_ZERO_MASK):  New #define.
(examine_tag):  Use it.
(read_register_stack):  Only look in the local registers for a
memory address if it's between rfb and rsp; go to memory otherwise.

31 years ago* am29k-tdep.c (initialize_29k): Fix call_scratch_address doc.
John Gilmore [Sat, 6 Mar 1993 01:49:03 +0000 (01:49 +0000)]
* am29k-tdep.c (initialize_29k):  Fix call_scratch_address doc.
Remove reginv command.
(reginv_com):  Remove ancient kludge command.

31 years ago* tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that
K. Richard Pixley [Sat, 6 Mar 1993 01:25:06 +0000 (01:25 +0000)]
* tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that
  irix4 will again compile.

31 years ago* tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed.
K. Richard Pixley [Sat, 6 Mar 1993 01:23:11 +0000 (01:23 +0000)]
* tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed.

31 years agoaccept mips-sgi-irix4* for irix4.
K. Richard Pixley [Sat, 6 Mar 1993 01:19:48 +0000 (01:19 +0000)]
accept mips-sgi-irix4* for irix4.

31 years ago * read.h: Define stringer here.
Ian Lance Taylor [Fri, 5 Mar 1993 17:10:02 +0000 (17:10 +0000)]
* read.h: Define stringer here.
read.c, config/obj-ieee.c, config/obj-tcm88k.c: Not any of these
places.

31 years ago(print_register_hook): Lint.
Steve Chamberlain [Fri, 5 Mar 1993 15:52:23 +0000 (15:52 +0000)]
(print_register_hook): Lint.

31 years agoLint fixes from Paul Eggert (eggert@twinsun.com):
John Gilmore [Fri, 5 Mar 1993 01:44:38 +0000 (01:44 +0000)]
Lint fixes from Paul Eggert (eggert@twinsun.com):

* command.c (do_setshow_command):  var_uintegers are unsigned.
* sparc-tdep.c (save_insn_opcodes, restore_insn_opcodes):
unsigned, since they use hex values with the high bit set.

31 years ago Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):
Fred Fish [Fri, 5 Mar 1993 01:04:48 +0000 (01:04 +0000)]
Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):
* m88k-pinsn.c (sprint_address):  Use SYMBOL_NAME macro to
access symbol name.

31 years ago * m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET): Enclose
Fred Fish [Fri, 5 Mar 1993 00:45:08 +0000 (00:45 +0000)]
* m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET):  Enclose
macro definitions in parenthesis.  Bug reported by karl@hq.ileaf.com.

31 years ago * coff-mips.c (ecoff_bfd_reloc_type_lookup): New function.
Ian Lance Taylor [Thu, 4 Mar 1993 22:48:46 +0000 (22:48 +0000)]
* coff-mips.c (ecoff_bfd_reloc_type_lookup): New function.
(ecoff_write_object_contents): Added BFD_ASSERT calls to ensure
relocs are reasonable.
* coff-msym.c: Eliminated uses of DEFUN.
(ecoff_swap_tir_out): New function.

31 years ago * ecoff-ext.h (AUX_GET_*): Rewrote to use new macro AUX_GET_ANY.
Ian Lance Taylor [Thu, 4 Mar 1993 22:39:57 +0000 (22:39 +0000)]
* ecoff-ext.h (AUX_GET_*): Rewrote to use new macro AUX_GET_ANY.
(AUX_PUT_*): New macros corresponding to the AUX_GET macros.
(ecoff_swap_tir_out): Added prototype.

* mips.h (N_BTMASK, N_TMASK, N_BTSHFT, N_TSHIFT): Define; these
are needed to interpret gcc debugging output.

31 years ago * mips.sc-sh: Added variables which may be overridden by a
Ian Lance Taylor [Thu, 4 Mar 1993 20:49:26 +0000 (20:49 +0000)]
* mips.sc-sh: Added variables which may be overridden by a
specific emulation.
* mipsidt.sh: New file; emulation for IDT MIPS board.
* Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o.
(em_mipsidt.c): New target.  Uses mipsidt.sh and mips.sc-sh.
* config/mips-idt.mt: New file; sets EMUL to mipsidt.
* configure.in (mips-idt-ecoff): New target; uses mips-idt.

31 years ago * read.c (s_space): Multiply repeat count by mult, not fill.
Steve Chamberlain [Thu, 4 Mar 1993 19:55:59 +0000 (19:55 +0000)]
* read.c (s_space): Multiply repeat count by mult, not fill.

31 years ago * dbxread.c (dbx_symfile_init): Catch the case where there is
Fred Fish [Thu, 4 Mar 1993 16:25:21 +0000 (16:25 +0000)]
* dbxread.c (dbx_symfile_init):  Catch the case where there is
no string table, but the only way we find out is by reading zero
bytes from EOF.

31 years agoread.c needs ctype.h
Ken Raeburn [Thu, 4 Mar 1993 13:21:19 +0000 (13:21 +0000)]
read.c needs ctype.h

31 years ago * dbxread.c (dbx_symfile_init): Make size of the string table
Fred Fish [Thu, 4 Mar 1993 00:01:32 +0000 (00:01 +0000)]
* dbxread.c (dbx_symfile_init):  Make size of the string table
size field a define (DBX_STRINGTAB_SIZE_SIZE).  Ensure that the
offset to the string table is nonzero and handle the nonexistant
string table case, should it occur.  Ensure that the string table
size read from the file is reasonable, with a minimum lower bound
of DBX_STRINGTAB_SIZE_SIZE instead of zero.

31 years agoAlways keep simulators
Steve Chamberlain [Wed, 3 Mar 1993 23:10:48 +0000 (23:10 +0000)]
Always keep simulators

31 years agoAdd ChangeLog to kept things
Steve Chamberlain [Wed, 3 Mar 1993 23:08:41 +0000 (23:08 +0000)]
Add ChangeLog to kept things

31 years agoFound trying to compile on ok.
Steve Chamberlain [Wed, 3 Mar 1993 23:07:53 +0000 (23:07 +0000)]
Found trying to compile on ok.

* Makefile.in: Don't use cb or indent
* p1.c, state.h, writecode.c: lint

31 years agoSUB_SEGMENT_ALIGN now takes an argument.
Ken Raeburn [Wed, 3 Mar 1993 19:47:15 +0000 (19:47 +0000)]
SUB_SEGMENT_ALIGN now takes an argument.

31 years agoSUB_SEGMENT_ALIGN now takes an argument.
Ken Raeburn [Wed, 3 Mar 1993 19:46:12 +0000 (19:46 +0000)]
SUB_SEGMENT_ALIGN now takes an argument.
VMS fixes from Eric Youngdale.

31 years agoPut back mips-dec-bsd* case.
Ken Raeburn [Wed, 3 Mar 1993 19:44:17 +0000 (19:44 +0000)]
Put back mips-dec-bsd* case.
With a comment this time, so maybe zoo will realize it's not a no-op.

31 years ago * Makefile.in: Changes to build testsuite correctly.
Ian Lance Taylor [Wed, 3 Mar 1993 15:26:23 +0000 (15:26 +0000)]
* Makefile.in: Changes to build testsuite correctly.
(FLAGS_TO_PASS): Added CXX and CXXFLAGS.
(CC_FOR_TARGET, CXX, CXX_FOR_TARGET): New variables.
(TARGET_FLAGS_TO_PASS): New variable.
(SUBDIRS): Added testsuite.
(all): Build testsuite using TARGET_FLAGS_TO_PASS, so that
testsuite is compiled with CC_FOR_TARGET rather than CC.

31 years ago (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
Fred Fish [Wed, 3 Mar 1993 06:11:45 +0000 (06:11 +0000)]
(Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
* configure.in (vax-*-ultrix2*):  Add Ultrix 2.2 triplet.
* config.guess:  Change 'VAX*:ULTRIX:*:*' to 'VAX*:ULTRIX*:*:*'.
* config/mh-vaxult2:  New file.

31 years ago * dbxread.c (dbx_symfile_init): Fix for nonexistant string table,
Fred Fish [Wed, 3 Mar 1993 06:04:26 +0000 (06:04 +0000)]
* dbxread.c (dbx_symfile_init):  Fix for nonexistant string table,
reported by mycroft@gnu.ai.mit.edu.

(Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
* configure.in (vax-*-ultrix2*):  New triplet.
* config/vaxult2.mh:  New file.
* xm-vaxult2.h:  New file.

31 years ago (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
Fred Fish [Wed, 3 Mar 1993 05:56:52 +0000 (05:56 +0000)]
(Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
* configure.host (vax-*-ultrix2*):  Add triplet.
* hosts/vaxult2.h:  New file.
* config/vaxult2.mh:  New file.

31 years ago * sysdep-sysv4.h: New file for SVR4.
Fred Fish [Wed, 3 Mar 1993 05:52:32 +0000 (05:52 +0000)]
* sysdep-sysv4.h:  New file for SVR4.
* configure.in (*-*-sysv4*):  Use sysdep-sysv4.h.

* configure.in (*-*-ultrix2):  Add triplet from Michael Rendell
(michael@mercury.cs.mun.ca)

31 years ago * configure.in: remove no-op mips-dec-bsd* in "case $target"
David D. Zuhn [Wed, 3 Mar 1993 04:28:20 +0000 (04:28 +0000)]
* configure.in: remove no-op mips-dec-bsd* in "case $target"
* Makefile.in (dir.info): only run gen-info-dir if it exists,
(install-info): install dir.info only if it exists,
(all-expect, install-expect): pass along X11_FLAGS_TO_PASS

31 years ago"make check" now works!
Rob Savoye [Wed, 3 Mar 1993 03:15:52 +0000 (03:15 +0000)]
"make check" now works!

31 years ago * c-exp.y (parse_number): Change high_bit to unsigned.
Fred Fish [Wed, 3 Mar 1993 02:09:02 +0000 (02:09 +0000)]
* c-exp.y (parse_number):  Change high_bit to unsigned.
* demangle.c:  Change all references to cfront to ARM, since the
actual algorithm is the one specified in the Annotated Reference
Manual.  This was confusing users into thinking that full cfront
support was implemented.
* dwarfread.c (CFRONT_PRODUCER):  Remove, was never really used.
* eval.c (evaluate_subexp):  For STRUCTOP_PTR pass the arg type
directly to lookup_struct_elt_type, which will do the
dereferencing itself.
* gdbtypes.c (lookup_struct_elt_type):  Expand comments.  Fix
NULL dereferencing bug for unnamed structs, comment out
questionable code.

31 years ago * aoutx.h (string.h): Include for strchr and friends.
Fred Fish [Wed, 3 Mar 1993 01:54:42 +0000 (01:54 +0000)]
* aoutx.h (string.h):  Include for strchr and friends.
* archive.c (string.h):  Include for memchr and friends.
* elf32.c (string.h):  Include for strrchr and friends.

31 years ago * listing.c: Cleaned up a bit, added prototypes, made NO_LISTING
Ian Lance Taylor [Tue, 2 Mar 1993 19:57:53 +0000 (19:57 +0000)]
* listing.c: Cleaned up a bit, added prototypes, made NO_LISTING
case compile again.

31 years agoChangeLog is gone
Ken Raeburn [Tue, 2 Mar 1993 17:57:05 +0000 (17:57 +0000)]
ChangeLog is gone

31 years agokeep new elf files
Ken Raeburn [Tue, 2 Mar 1993 17:36:08 +0000 (17:36 +0000)]
keep new elf files

31 years agobuild gas for mips-dec-bsd
Ken Raeburn [Tue, 2 Mar 1993 17:18:03 +0000 (17:18 +0000)]
build gas for mips-dec-bsd

31 years agochanges this morning & yesterday
Ken Raeburn [Tue, 2 Mar 1993 17:14:43 +0000 (17:14 +0000)]
changes this morning & yesterday

31 years agoset SEC_RELOC only if fixups are required
Ken Raeburn [Tue, 2 Mar 1993 17:05:34 +0000 (17:05 +0000)]
set SEC_RELOC only if fixups are required

31 years agoconfigure.in: For VMS target, skip bfd, ld, binutils.
Ken Raeburn [Tue, 2 Mar 1993 17:02:35 +0000 (17:02 +0000)]
configure.in: For VMS target, skip bfd, ld, binutils.

31 years ago * configure (makesrcdir): If ${srcdir} is relative and not ".",
Ian Lance Taylor [Tue, 2 Mar 1993 16:44:50 +0000 (16:44 +0000)]
* configure (makesrcdir): If ${srcdir} is relative and not ".",
and ${subdir} is not ".", set makesrcdir based on ${invsubdir}.

31 years agoUpdate Gilmore entry
John Gilmore [Tue, 2 Mar 1993 08:51:08 +0000 (08:51 +0000)]
Update Gilmore entry

31 years ago* coffread.c (process_coff_symbol): Change PCC argument correction
John Gilmore [Tue, 2 Mar 1993 03:39:37 +0000 (03:39 +0000)]
* coffread.c (process_coff_symbol):  Change PCC argument correction
so that it only happens on big-endian targets; so that it only
happens if the short or char argument is aligned on an int
boundary; and so that it changes the location, rather than the
type, of the argument.  These changes tend to parallel similar
(old) changes in stabsread.c.

* coffread.c (coff_read_enum_type):  Use the specified size for
enums, don't assume that they are int-sized.

* c-valprint.c (c_val_print):  Don't assume enums are the same as
ints.

31 years ago * coredep.c: Handle NO_PTRACE_H in coredep.c. Fix by Michael
John Gilmore [Tue, 2 Mar 1993 01:56:22 +0000 (01:56 +0000)]
* coredep.c:  Handle NO_PTRACE_H in coredep.c.  Fix by Michael
Rendell, <michael@mercury.cs.mun.ca>.

31 years agoundo prev change
Brendan Kehoe [Tue, 2 Mar 1993 01:05:24 +0000 (01:05 +0000)]
undo prev change

31 years ago * Makefile.in (all-prms, install-prms): Changed to gnats.
Brendan Kehoe [Tue, 2 Mar 1993 00:44:39 +0000 (00:44 +0000)]
    * Makefile.in (all-prms, install-prms): Changed to gnats.
        * configure.in (host_tools): Changed prms to gnats.

31 years agoChangeLog entry for last week's tc-sparc.c change.
Jim Wilson [Mon, 1 Mar 1993 20:09:16 +0000 (20:09 +0000)]
ChangeLog entry for last week's tc-sparc.c change.

31 years agoforgot to check in: sparc s_xword support
Ken Raeburn [Mon, 1 Mar 1993 20:02:59 +0000 (20:02 +0000)]
forgot to check in: sparc s_xword support

31 years agoupdated and expanded
Ken Raeburn [Mon, 1 Mar 1993 20:01:35 +0000 (20:01 +0000)]
updated and expanded

31 years agorecord some of my gas work
K. Richard Pixley [Mon, 1 Mar 1993 19:31:57 +0000 (19:31 +0000)]
record some of my gas work

31 years ago * language.h (local_decimal_format_custom): Add prototype.
Fred Fish [Mon, 1 Mar 1993 16:46:55 +0000 (16:46 +0000)]
* language.h (local_decimal_format_custom):  Add prototype.
* language.c (local_decimal_format_custom):  Add function, bug
reported by Robert R. Henry (rrh@tera.com).

31 years agominor revision, some new info
Ken Raeburn [Sun, 28 Feb 1993 17:00:51 +0000 (17:00 +0000)]
minor revision, some new info

31 years agomips-bsd and 386bsd support
Ken Raeburn [Sun, 28 Feb 1993 14:46:25 +0000 (14:46 +0000)]
mips-bsd and 386bsd support

31 years agoundo previous change
Brendan Kehoe [Sun, 28 Feb 1993 06:12:32 +0000 (06:12 +0000)]
undo previous change

31 years ago * Makefile.in (BASE_FLAGS_TO_PASS): Pass PRMS down, for the PRMS
Brendan Kehoe [Sun, 28 Feb 1993 05:58:37 +0000 (05:58 +0000)]
* Makefile.in (BASE_FLAGS_TO_PASS): Pass PRMS down, for the PRMS
special install.

31 years ago * gprof.c (funcsymbol): Invert test for aflag.
Per Bothner [Sun, 28 Feb 1993 02:18:40 +0000 (02:18 +0000)]
* gprof.c (funcsymbol):  Invert test for aflag.

31 years agoDocument damage^H^H^H^H^H^Hwork done so far tonight.
Ken Raeburn [Sat, 27 Feb 1993 07:34:47 +0000 (07:34 +0000)]
Document damage^H^H^H^H^H^Hwork done so far tonight.
Mostly playing with elves.

31 years agorevised elf support
Ken Raeburn [Sat, 27 Feb 1993 07:05:09 +0000 (07:05 +0000)]
revised elf support

31 years ago* xcoffexec.c (vmap_ldinfo): Fix "/" for '/' typo, reported
John Gilmore [Sat, 27 Feb 1993 02:35:04 +0000 (02:35 +0000)]
* xcoffexec.c (vmap_ldinfo):  Fix "/" for '/' typo, reported
by Josef Leherbauer, joe@takeFive.co.at.

31 years agosymbol srec stuff
Steve Chamberlain [Sat, 27 Feb 1993 01:43:10 +0000 (01:43 +0000)]
symbol srec stuff

31 years agoAdded initial sparc-v9 support.
David Edelsohn [Fri, 26 Feb 1993 18:53:13 +0000 (18:53 +0000)]
Added initial sparc-v9 support.

31 years ago * Makefile.in: When making tar file, remove texinfo/*,
Per Bothner [Fri, 26 Feb 1993 00:14:49 +0000 (00:14 +0000)]
* Makefile.in:  When making tar file, remove texinfo/*,
except for texinfo/texinfo.tex.

31 years ago * printgprof (xmalloc, xrealloc): Cast results of malloc
Per Bothner [Fri, 26 Feb 1993 00:03:24 +0000 (00:03 +0000)]
* printgprof (xmalloc, xrealloc):  Cast results of malloc
and realloc to PTR.

31 years ago * ardup.c: Add extern declaration of strdup.
Per Bothner [Thu, 25 Feb 1993 23:59:10 +0000 (23:59 +0000)]
* ardup.c:  Add extern declaration of strdup.
* Makefile.in (testsuite):  Add 'else true' since otherwise
Ultrix /bin/sh complains.

31 years ago * ldsym.c (KEEP macro): Add spaces around '=' for the
Per Bothner [Thu, 25 Feb 1993 23:47:21 +0000 (23:47 +0000)]
* ldsym.c (KEEP macro):  Add spaces around '=' for the
sake of old (e.g. PCC) compilers.

31 years ago * configure.in (mips-idt-ecoff): New target.
Ian Lance Taylor [Thu, 25 Feb 1993 19:15:32 +0000 (19:15 +0000)]
* configure.in (mips-idt-ecoff): New target.
* config/mips-gdb.exp: New file for remote board using MIPS remote
debugging protocol.

31 years ago * Redid configuration scheme. Removed gdb.t*/configure.in.
Ian Lance Taylor [Thu, 25 Feb 1993 18:50:45 +0000 (18:50 +0000)]
* Redid configuration scheme.  Removed gdb.t*/configure.in.
Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
distclean targets.  Built executables via .o files.  Adjusted
tests to account for source files in $(srcdir) rather than
$(objdir).
* lib/gdb.exp (runto): Don't expect () after the function name,
because it may have arguments.

31 years ago * elf.c (elf_write_object_contents): Section ".shstrtab" should be
Ken Raeburn [Thu, 25 Feb 1993 14:28:02 +0000 (14:28 +0000)]
* elf.c (elf_write_object_contents): Section ".shstrtab" should be
type SHT_STRTAB.  Don't alter file offset for section 0.
(reloc_type_names): Now an array instead of a macro.  Still inside
"#if 0", since it's used only in debugging code also in "#if 0".
(struct elf_reloc_map_elt, struct elf_reloc_map): New types.
(sort_reloc_map): New function.
(sparc_reloc_map): New variable.
(elf_bfd_reloc_type_lookup): New function.

Now bfd-gas can create valid empty object files for sun4sol2.

31 years agoIn comment on how to make tar file, fix cvs tag name binutils->ld_utils.
Per Bothner [Thu, 25 Feb 1993 04:04:00 +0000 (04:04 +0000)]
In comment on how to make tar file, fix cvs tag name binutils->ld_utils.

31 years agoBump to version 2.1.
Per Bothner [Thu, 25 Feb 1993 03:50:17 +0000 (03:50 +0000)]
Bump to version 2.1.

31 years ago * Makefile.in: Set VERSION to 2.1.
Per Bothner [Thu, 25 Feb 1993 03:48:13 +0000 (03:48 +0000)]
* Makefile.in:  Set VERSION to 2.1.
* README, NEWS: Updates.
* nm.c:  Add -v as a synonym for -V.

31 years agoRemove remnants of NAMES_HAVE_UNDERSCORE.
John Gilmore [Thu, 25 Feb 1993 03:21:32 +0000 (03:21 +0000)]
Remove remnants of NAMES_HAVE_UNDERSCORE.

31 years ago * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize contents
Fred Fish [Thu, 25 Feb 1993 00:40:45 +0000 (00:40 +0000)]
* symtab.h (SYMBOL_INIT_DEMANGLED_NAME):  Initialize contents
of demangled name fields to NULL if no demangling exists for
a symbol.  SYMBOL_INIT_LANGUAGE_SPECIFIC does this for new
symbols if their language is known at the time they are created,
but sometimes the language is not known until later.

31 years ago(s_xword): Now accepts large integer constants, but not symbolic constants
Ken Raeburn [Wed, 24 Feb 1993 23:30:59 +0000 (23:30 +0000)]
(s_xword): Now accepts large integer constants, but not symbolic constants
or expressions.

31 years ago * app.c (do_scrub_next_char): In LEX_IS_LINE_COMMENT_START case:
Ian Lance Taylor [Wed, 24 Feb 1993 18:34:26 +0000 (18:34 +0000)]
* app.c (do_scrub_next_char): In LEX_IS_LINE_COMMENT_START case:
Don't unget ch2 if we didn't get it.

31 years ago * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
Ian Lance Taylor [Wed, 24 Feb 1993 16:29:33 +0000 (16:29 +0000)]
* gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
expected failures for mips-idt-* and mips-sgi-*.
* gdb.t00/default.exp (attach): Kill process if requested.
* gdb.t00/help.exp (help target core, help target): Accept a gdb
that does not read core files.
* gdb.t01/run.exp: Removed checks for exit status code.
* gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
it is linked in.
* gdb.t03/ptype.exp: Increase timeout when calling malloc.
* gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
appropriate, rather than doing it by hand.
* gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
execution.
* gdb.t10/crossload.exp: Kill existing program if needed.
* gdb.t15/funcargs.exp: Use delete_breakpoints function where
appropriate, rather than doing it by hand.  Always increase
timeout for this test, not just for VxWorks.

31 years ago **** start-sanitize-chill ****
Fred Fish [Wed, 24 Feb 1993 16:10:41 +0000 (16:10 +0000)]
**** start-sanitize-chill ****
* gdb.t31/chillvars.exp (test_structs):  New proc to test printing
of Chill STRUCT types and STRUCT values.
* gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
than "char".
* gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
struct2):  New struct definitions and initializations to test
simple Chill STRUCT types.
**** end-sanitize-chill ****

31 years ago **** start-sanitize-chill ****
Fred Fish [Wed, 24 Feb 1993 15:49:47 +0000 (15:49 +0000)]
**** start-sanitize-chill ****
* ch-typeprint.c (chill_print_type_base):  Name changed to
chill_type_print_base to match pattern for C and C++ names.
* ch-typeprint.c (chill_print_type):  Change "char" to "CHAR"
to be consistent with other usages.
* ch-typeprint.c (chill_type_print_base):  Add support for
printing Chill STRUCT types.
* ch-valprint.c:  Include values.h.
* ch-valprint.c (chill_print_value_fields):  New function and
prototype for printing Chill STRUCT values.
* ch-valprint.c (chill_val_print):  Fix call to val_print_string
that was being called with two args instead of three.
* ch-valprint.c (chill_val_print):  Call chill_print_value_fields
to print Chill STRUCT values.
**** end-sanitize-chill ****

31 years agoBFD branch merging.
Ken Raeburn [Wed, 24 Feb 1993 12:59:26 +0000 (12:59 +0000)]
BFD branch merging.
Misc optimizations, a couple of bugfixes.
Merged doc/ChangeLog.
Ralph Campbell's MIPS support.
And any other changes I've been putting in, save whitespace/comment adjustments.

31 years agomore bfd merging - see ChangeLog
Ken Raeburn [Wed, 24 Feb 1993 12:57:00 +0000 (12:57 +0000)]
more bfd merging - see ChangeLog

31 years agomerged into ../ChangeLog
Ken Raeburn [Wed, 24 Feb 1993 11:24:44 +0000 (11:24 +0000)]
merged into ../ChangeLog

31 years agochanges for bfd support, enough for sun4 target
Ken Raeburn [Wed, 24 Feb 1993 11:24:14 +0000 (11:24 +0000)]
changes for bfd support, enough for sun4 target

31 years agom68k_ip: for pc-rel addressing of a symbol, fix offset so +2 isn't needed
Ken Raeburn [Wed, 24 Feb 1993 11:20:58 +0000 (11:20 +0000)]
m68k_ip: for pc-rel addressing of a symbol, fix offset so +2 isn't needed

31 years agodeleted emacs local variables comments
Ken Raeburn [Wed, 24 Feb 1993 11:19:58 +0000 (11:19 +0000)]
deleted emacs local variables comments

31 years agodon't need LOCAL_LOADLIBES any more, with new configure.in changes
Ken Raeburn [Wed, 24 Feb 1993 11:16:21 +0000 (11:16 +0000)]
don't need LOCAL_LOADLIBES any more, with new configure.in changes

31 years ago * configure.in: added testsuite to configdirs.
Mike Werner [Wed, 24 Feb 1993 03:02:37 +0000 (03:02 +0000)]
* configure.in: added testsuite to configdirs.
* Makefile.in: added support for building testsuite.

31 years ago *configure.in: added testsuite to configdirs.
Mike Werner [Wed, 24 Feb 1993 03:00:23 +0000 (03:00 +0000)]
*configure.in: added testsuite to configdirs.

31 years ago * configure.in: added "dejagnu" to the hosttools list.
Mike Werner [Tue, 23 Feb 1993 22:24:47 +0000 (22:24 +0000)]
* configure.in: added "dejagnu" to the hosttools list.

31 years ago * Minor cleanups provoked by gcc warnings:
Ian Lance Taylor [Tue, 23 Feb 1993 21:08:32 +0000 (21:08 +0000)]
* Minor cleanups provoked by gcc warnings:
* aoutx.h (NAME(aout, reloc_type_lookup)),
cpu-h8300.c (local_bfd_reloc_type_lookup),
cpu-z8k.c (local_bfd_reloc_type_lookup): Added default case to
switches.
* archive.c (do_slurp_bsd_armap, do_slurp_coff_armap),
ieee.c (ieee_slurp_section_data),
elf.c (elf_make_sections, elf_fake_sections,
elf_compute_section_file_positions, elf_write_object_contents):
Removed unused variables.
* archures.c: Removed /* from within comment.
* bout.c (b_out_squirt_out_relocs): Initialize r_extern.
* oasys.c (oasys_write_data): Initialize i.

31 years ago * bfd.h: Update for new elements in JUMP_TABLE.
Ian Lance Taylor [Tue, 23 Feb 1993 20:24:38 +0000 (20:24 +0000)]
* bfd.h: Update for new elements in JUMP_TABLE.

31 years ago * bfd-in.h (JUMP_TABLE): Added bfd_reloc_type_lookup and
Ian Lance Taylor [Tue, 23 Feb 1993 20:24:06 +0000 (20:24 +0000)]
* bfd-in.h (JUMP_TABLE): Added bfd_reloc_type_lookup and
bfd_make_debug_symbol; they were already in the target structure.
* Adjusted all uses of JUMP_TABLE.
* coffgen.c, libcoff-in.h (coff_bfd_make_debug_symbol): Renamed
from coff_make_debug_symbol.
* libcoff.h: Updated accordingly.

31 years ago * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
Fred Fish [Tue, 23 Feb 1993 19:59:25 +0000 (19:59 +0000)]
* gdb.t00/teststrategy.exp:  Track reversion in gdb to not print
the null byte at the end of strings.
* gdb.t00/default.exp:  Make show version insensitive to copyright
date.
* gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
to avoid dependencies on target char signedness.
* gdb.t16/printcmds.exp:  Update expected results for explicitly
unsigned char.
* gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
now work.
* gdb.t21/demangle.exp:  Add many more patterns for template
demangling, most of them being expected failures.
* gdb.t21/demangle.exp (proc demangle):  Quote the demangled
string we are matching for, to match on the whole string.
* gdb.t21/demangle.exp:  Add many new test strings to demangle,
and fix a whole bunch that had incorrect expected output but were
passing anyway because of the bug in "proc demangle".
**** start-sanitize-chill ****
* gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
type.
* gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
**** end-sanitize-chill ****