John Gilmore [Fri, 4 Oct 1991 03:17:46 +0000 (03:17 +0000)]
* c-exp.y: sym->class to SYMBOL_CLASS (sym).
* dbxread.c (dbx_lookup_type): Keep doubling size of typevector
until it is large enough.
John Gilmore [Fri, 4 Oct 1991 02:50:35 +0000 (02:50 +0000)]
* bfd-in.h: enum boolean => enum bfd_boolean for SVR4. Gumby's
prediction is vindicated!
John Gilmore [Fri, 4 Oct 1991 02:49:40 +0000 (02:49 +0000)]
* bfd-in.h, libbfd-in.h, doc/Makefile, doc/tolibbfd, doc/intobfd:
Remove refs to howto.c, since Steve forgot.
John Gilmore [Fri, 4 Oct 1991 02:49:06 +0000 (02:49 +0000)]
* bfd-in.h: enum boolean => enum bfd_boolean for SVR4. Gumby's
prediction is vindicated!
* bfd-in.h, libbfd-in.h, doc/Makefile, doc/tolibbfd, doc/intobfd:
Remove refs to howto.c, since Steve forgot.
John Gilmore [Thu, 3 Oct 1991 22:24:27 +0000 (22:24 +0000)]
Add elf-*.h files.
John Gilmore [Thu, 3 Oct 1991 22:23:56 +0000 (22:23 +0000)]
Add elf.c
Per Bothner [Thu, 3 Oct 1991 21:50:08 +0000 (21:50 +0000)]
Added a kludge for when yacc is used in place of bison:
Rename the yacc outputs y.tab.[ch] to what we want: ldgram.[ch].
John Gilmore [Thu, 3 Oct 1991 16:35:17 +0000 (16:35 +0000)]
* dbxread.c (read_type): Handle error case slightly better.
Make complaint message not C++-specific.
* symtab.c (lookup_symtab_1, lookup_symbol): "fatal" errors
between symtabs and psymtabs become ordinary error()s.
* dbxread.c (read_dbx_symtab): Relocate end_of_text_addr
properly, making "end pc" correct in shared lib psymtabs.
(From Guy Harris <guy@auspex.com>.)
Steve Chamberlain [Thu, 3 Oct 1991 15:41:41 +0000 (15:41 +0000)]
* fixed prototype for reloc_type_lookup
Steve Chamberlain [Thu, 3 Oct 1991 15:41:11 +0000 (15:41 +0000)]
* fixed prototype for reloc_type_lookup
Steve Chamberlain [Thu, 3 Oct 1991 14:51:20 +0000 (14:51 +0000)]
* elf.c: took the abort out of set_arch_mach so that objdump -i will
still work. Now allows any architecture/machine to be set.
Steve Chamberlain [Thu, 3 Oct 1991 14:49:10 +0000 (14:49 +0000)]
*** empty log message ***
Stu Grossman [Thu, 3 Oct 1991 00:28:29 +0000 (00:28 +0000)]
*** empty log message ***
K. Richard Pixley [Wed, 2 Oct 1991 13:06:16 +0000 (13:06 +0000)]
No longer needs to propogate configure and config.sub.
K. Richard Pixley [Wed, 2 Oct 1991 12:35:42 +0000 (12:35 +0000)]
Some $(srcdir)'s become $(unsubdir)'s.
K. Richard Pixley [Wed, 2 Oct 1991 10:05:30 +0000 (10:05 +0000)]
Some $(srcdir)'s become $(unsubdir)'s in order to support +objdir.
K. Richard Pixley [Wed, 2 Oct 1991 07:24:45 +0000 (07:24 +0000)]
no more configure on which to depend
K. Richard Pixley [Wed, 2 Oct 1991 06:29:53 +0000 (06:29 +0000)]
Added +site=foo option for naming site specific Makefile fragments.
K. Richard Pixley [Wed, 2 Oct 1991 06:15:13 +0000 (06:15 +0000)]
Removed +f option. Used to stand for +forcesubdirs which is now
called +subdirs.
K. Richard Pixley [Wed, 2 Oct 1991 06:02:35 +0000 (06:02 +0000)]
Added rcs log line.
K. Richard Pixley [Wed, 2 Oct 1991 06:01:47 +0000 (06:01 +0000)]
+template dies an ugly death.
K. Richard Pixley [Wed, 2 Oct 1991 04:52:31 +0000 (04:52 +0000)]
Very minor bug, broke "make -t".
K. Richard Pixley [Wed, 2 Oct 1991 04:23:13 +0000 (04:23 +0000)]
Update subdir names to reflect current reality.
K. Richard Pixley [Wed, 2 Oct 1991 04:15:56 +0000 (04:15 +0000)]
resync
K. Richard Pixley [Wed, 2 Oct 1991 04:01:08 +0000 (04:01 +0000)]
steves h8 patches
K. Richard Pixley [Tue, 1 Oct 1991 21:00:50 +0000 (21:00 +0000)]
exploit the new executable config.status
John Gilmore [Tue, 1 Oct 1991 19:46:47 +0000 (19:46 +0000)]
* Makefile.in, configure.in, targets.c, elf.c: Add preliminary
ELF support good enough for GDB.
* configure.in, config/h-amix, config/t-m68k-elf: Handle
m68k-cbm-svr4 host and target.
John Gilmore [Tue, 1 Oct 1991 19:26:34 +0000 (19:26 +0000)]
Initial revision
John Gilmore [Tue, 1 Oct 1991 19:25:51 +0000 (19:25 +0000)]
* bfd.h, elf-common.h, elf-external.h, elf-internal.h:
Add preliminary ELF support, sufficient for GDB, from Fred Fish.
* sysdep.h, sys/h-amix.h: Support Amiga SVR4.
Steve Chamberlain [Tue, 1 Oct 1991 18:29:28 +0000 (18:29 +0000)]
*** empty log message ***
John Gilmore [Tue, 1 Oct 1991 13:41:00 +0000 (13:41 +0000)]
Avoid 'v' flag on archive updates, since it just wastes space in the log.
John Gilmore [Tue, 1 Oct 1991 13:37:14 +0000 (13:37 +0000)]
Avoid depending on number of initializers.
John Gilmore [Tue, 1 Oct 1991 13:29:10 +0000 (13:29 +0000)]
* dbxread.c: Enable, but soften, const_vol_complaint.
(read_dbx_symtab): N_STSYM and N_LCSYM define static vars.
Ditto Gould N_NBSTS and N_NBLCS. Also, all types in the psymtab
should be file-scope, not global.
(read_struct_type): Remove ancient multiple-inheritance warning.
(read_range_type): Check base type, complain & patch if undefined.
John Gilmore [Tue, 1 Oct 1991 12:25:38 +0000 (12:25 +0000)]
* stack.c (frame_info): Demangle the function name in `info stack'.
(From Peter Schauer)
John Gilmore [Tue, 1 Oct 1991 12:08:20 +0000 (12:08 +0000)]
Vax Ultrix changes from David Taylor <taylor@think.com>.
John Gilmore [Tue, 1 Oct 1991 12:00:11 +0000 (12:00 +0000)]
* sys/h-vaxult.h: Make it work. (David Taylor <taylor@think.com>)
Steve Chamberlain [Tue, 1 Oct 1991 04:20:30 +0000 (04:20 +0000)]
* bfd.h, change version number to 0.18, this makes a
gap, but now is the same as the linker version number.
Steve Chamberlain [Tue, 1 Oct 1991 04:20:02 +0000 (04:20 +0000)]
* bfd-in.h VERSION, change version number to 0.18, this makes a
gap, but now is the same as the linker version number.
Steve Chamberlain [Tue, 1 Oct 1991 03:58:36 +0000 (03:58 +0000)]
Added new macro NEWHOWTO
Steve Chamberlain [Tue, 1 Oct 1991 03:57:46 +0000 (03:57 +0000)]
Modified to generate the right includes for the new files
Steve Chamberlain [Tue, 1 Oct 1991 03:56:32 +0000 (03:56 +0000)]
added:
* amdcoff.c: (a29k_reloc) fix error message.
Steve Chamberlain [Tue, 1 Oct 1991 03:55:40 +0000 (03:55 +0000)]
Insert the incidentals and things I forgot to ci last time, same log message:
Mon Sep 30 15:13:46 1991 Steve Chamberlain (steve at cygnus.com)
* cpu-a29k.c, cpu-i386.c, cpu-m68k.c, cpu-mips.c, cpu-vax.c,
cpu-h8300.c, cpu-i960.c, cpu-m88k.c, cpu-sparc.c: added. These
files will eventually contain processor specific bits for bfd,
like strange relocation information and dis/assembly. So far only
the H8 has been even partially done. This work also ties in with
the change in handling architectures.
* amdcoff.c: (a29k_reloc) fix error message.
* aout-f1.h: (choose_reloc_size) now calls bfd_get_arch to
discover the architecture of the bfd. (sunos4_callback) calls the
function bfd_set_arch_mach rather than stuffing stuff directly
into the bfd. (sunos4_write_object_contents), changed names of
accessor functions.
* aoutx.h: (set_arch_mach) now calls bfd_default_set_arch_mach to
setup the environment.
* archive.c: (bfd_slurp_coff_armap) coff archives always have the
headers in big endian format, regardless of the endianess of the
host or target.
* archures.c: totally changed. Now an architecture is represented
with a pointer to an info structure rather than an enumerated type
and a long. The old info is available as two elements in the
structure. Future enhancements to architecure support will
involve pointers to methods being placed into the info structure.
* bfd.c: changed the definition of the bfd structure for the new
architecture stuff.
* bout.c: (b_out_set_arch_mach) changed to use the new
architecture mechanism.
* coffcode.h: (coff_set_arch_mach, coff_set_flags) changed to use
the new architecture mechanism.
* configure.in: added h8 stuff.
* ieee.c: too many changes to note. Now ieee files written with
bfd gas and ld can be read by gld and ieee only linkers and
simulators.
* libbfd.c, libbfd.h: changed prototype of bfd_write.
* newsos3.c: (newos3_callback) now calls bfd_set_arch_mach rather
than fixing the structure directly.
* oasys.c: (oasys_object_p) now calls bfd_default_set_arch_mach rather
than fixing the structure directly.
* opncls.c: (new_bfd) makes sure that bfd_init has been called
before opening a bfd.
* srec.c: (srec_set_arch_mach) now calls bfd_default_set_arch_mach
rather than fixing the structure directly.
* targets.c: (target_vector) now by defining SELECT_VECS (perhaps
in the t/hmake file) a user can select which backends they want
linked with bfd without changing the source.
* init.c: new, looks after initializing modules.
* howto.c: for future use, will allow an application to work out
what cookie to use as a handle on a relcoatio howto.
Steve Chamberlain [Tue, 1 Oct 1991 03:51:53 +0000 (03:51 +0000)]
Various lints and uses the new arch functions
Steve Chamberlain [Tue, 1 Oct 1991 03:50:57 +0000 (03:50 +0000)]
Use the new architecture functions
Steve Chamberlain [Tue, 1 Oct 1991 03:46:35 +0000 (03:46 +0000)]
Better support for the h8, and various architecture things
K. Richard Pixley [Tue, 1 Oct 1991 03:46:00 +0000 (03:46 +0000)]
Exploit the new executable config.status
Steve Chamberlain [Tue, 1 Oct 1991 03:43:43 +0000 (03:43 +0000)]
Mon Sep 30 15:13:46 1991 Steve Chamberlain (steve at cygnus.com)
* cpu-a29k.c, cpu-i386.c, cpu-m68k.c, cpu-mips.c, cpu-vax.c,
cpu-h8300.c, cpu-i960.c, cpu-m88k.c, cpu-sparc.c: added. These
files will eventually contain processor specific bits for bfd,
like strange relocation information and dis/assembly. So far only
the H8 has been even partially done. This work also ties in with
the change in handling architectures.
* aout-f1.h: (choose_reloc_size) now calls bfd_get_arch to
discover the architecture of the bfd. (sunos4_callback) calls the
function bfd_set_arch_mach rather than stuffing stuff directly
into the bfd. (sunos4_write_object_contents), changed names of
accessor functions.
* aoutx.h: (set_arch_mach) now calls bfd_default_set_arch_mach to
setup the environment.
* archive.c: (bfd_slurp_coff_armap) coff archives always have the
headers in big endian format, regardless of the endianess of the
host or target.
* archures.c: totally changed. Now an architecture is represented
with a pointer to an info structure rather than an enumerated type
and a long. The old info is available as two elements in the
structure. Future enhancements to architecure support will
involve pointers to methods being placed into the info structure.
* bfd.c: changed the definition of the bfd structure for the new
architecture stuff.
* bout.c: (b_out_set_arch_mach) changed to use the new
architecture mechanism.
* coffcode.h: (coff_set_arch_mach, coff_set_flags) changed to use
the new architecture mechanism.
* configure.in: added h8 stuff.
* ieee.c: too many changes to note. Now ieee files written with
bfd gas and ld can be read by gld and ieee only linkers and
simulators.
* libbfd.c, libbfd.h: changed prototype of bfd_write.
* newsos3.c: (newos3_callback) now calls bfd_set_arch_mach rather
than fixing the structure directly.
* oasys.c: (oasys_object_p) now calls bfd_default_set_arch_mach rather
than fixing the structure directly.
* opncls.c: (new_bfd) makes sure that bfd_init has been called
before opening a bfd.
* srec.c: (srec_set_arch_mach) now calls bfd_default_set_arch_mach
rather than fixing the structure directly.
* targets.c: (target_vector) now by defining SELECT_VECS (perhaps
in the t/hmake file) a user can select which backends they want
linked with bfd without changing the source.
* init.c: new, looks after initializing modules.
* howto.c: for future use, will allow an application to work out
what cookie to use as a handle on a relcoatio howto.
Steve Chamberlain [Tue, 1 Oct 1991 03:43:11 +0000 (03:43 +0000)]
Initial revision
K. Richard Pixley [Tue, 1 Oct 1991 03:11:29 +0000 (03:11 +0000)]
Trivial cleanup.
K. Richard Pixley [Tue, 1 Oct 1991 02:56:06 +0000 (02:56 +0000)]
Add am29k, remove a redundant case.
K. Richard Pixley [Tue, 1 Oct 1991 02:44:32 +0000 (02:44 +0000)]
* use aliases as directory names.
* put aliases AND parsed triples into Makefiles.
* config.status is a shell script.
* remove formfeeds from resulting Makefile.
K. Richard Pixley [Tue, 1 Oct 1991 02:38:26 +0000 (02:38 +0000)]
Reword recurr.
John Gilmore [Mon, 30 Sep 1991 20:50:18 +0000 (20:50 +0000)]
* srec.c: Better error checking, partly from Peter Schauer.
(srec_object_p): Avoid assuming any file that starts with 'S' is
an S-record file! (Check for 3 uppercase-hex digits after it.)
(ISHEX): Define new macro for checking supposedly hex characters.
(pass_over): Treat as EOF any S-record line that:
* doesn't have hex in either size character
* produces a size larger than 0x7F
* has an unrecognized type number
Per Bothner [Mon, 30 Sep 1991 20:32:26 +0000 (20:32 +0000)]
Rename os for Sony News to newsos[34].
Per Bothner [Mon, 30 Sep 1991 19:54:08 +0000 (19:54 +0000)]
* sysdep.h: Define NEWSOS3_SYS, and use it.
Per Bothner [Mon, 30 Sep 1991 19:47:49 +0000 (19:47 +0000)]
* bucomm.c (fatal): Conditionally compile fatal() depending on
MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
* objdump.c (dump_headers): Trivial output format change.
* objdump.c (display_info): Loop over integers, not enums,
to appease old compilers.
John Gilmore [Sat, 28 Sep 1991 17:13:08 +0000 (17:13 +0000)]
* symtab.c (lookup_method_type): Arguments were swapped in all
callers, so fix it here. I'm amazed this worked at all!
John Gilmore [Sat, 28 Sep 1991 17:09:07 +0000 (17:09 +0000)]
* eval.c (evaluate_subexp_for_address): Don't use
TYPE_POINTER_TYPE directly (it might be zero if this type has
never had a pointer created before); use lookup_pointer_type.
John Gilmore [Sat, 28 Sep 1991 14:10:47 +0000 (14:10 +0000)]
Typos.
John Gilmore [Sat, 28 Sep 1991 11:26:43 +0000 (11:26 +0000)]
* infrun.c (wait_for_inferior): Don't check if the PC is in a
call_dummy if we were stopped by a random signal that is being
passed to the program. This produced wierd results when calling
functions in the inferior and signals (e.g. SIGALRM) were in use.
John Gilmore [Sat, 28 Sep 1991 02:20:09 +0000 (02:20 +0000)]
* nindy-tdep.c (nindy_frame_chain_valid): Use lookup_misc_func.
(Reported by Mark Peek <mark@imagen.com>.)
John Gilmore [Sat, 28 Sep 1991 01:35:29 +0000 (01:35 +0000)]
* coffread.c (coff_symfile_read): Use xmalloc, not malloc.
* language.c, printcmd.c: Lint.
* language.h (get_frame_language): Declare.
* saber.suppress: update.
* stack.c (find_relative_frame): Remove complex code that was
#if 0'd, stick with simple code. Lint.
* saber.suppress: Update a bit.
* symfile.c (add_symbol_file_command): Add "?" to question.
* utils.c (parse_escape): Avoid \a due to bdead compilers.
* value.h: Declare typedef_print.
* valprint.c (val_print, type_print_base): TYPE_CODE_RANGE less
kludgey.
John Gilmore [Sat, 28 Sep 1991 01:31:23 +0000 (01:31 +0000)]
* core.c (core_files_info): Shorten output.
* exec.c (exec_files_info): Ditto.
(build_section_table): Ignore zero-length sections.
John Gilmore [Sat, 28 Sep 1991 01:30:41 +0000 (01:30 +0000)]
* c-exp.y, m2-exp.y: Define more yysymbols that happen to be
"bss" rather than "data" symbols, but which still conflict.
* m2-exp.y: Lint.
Roland Pesch [Fri, 27 Sep 1991 22:47:20 +0000 (22:47 +0000)]
Stop talking about obsolete "sharedlibrary" command in whats-new section.
Per Bothner [Fri, 27 Sep 1991 20:20:01 +0000 (20:20 +0000)]
Added {h,t}-news
Per Bothner [Fri, 27 Sep 1991 20:19:25 +0000 (20:19 +0000)]
Update for deleted (and some added) files.
Per Bothner [Fri, 27 Sep 1991 20:09:23 +0000 (20:09 +0000)]
* ldlnk960.c: Use new naming convention for *.x{,u,r} include scripts.
* ldm88k.sc: "Clean up" script, so that ldm88kUr.sc and ldm88kr.sc
can be automatically generated.
* ldemul.c, configure.in, config.h, Makefile.in:
Add support for Sony NewsOS3.
* Makefile.in: Re-do the way ldemulation scipts and structures
are done. do we only need one or two files for each emulation
target (a TARGET.sc and optionally TARGET.c, if ldtemplate
isn't suitable). This gets rid of lots of extra source files.
Per Bothner [Fri, 27 Sep 1991 19:59:17 +0000 (19:59 +0000)]
Initial revision
Per Bothner [Fri, 27 Sep 1991 19:55:28 +0000 (19:55 +0000)]
Fix/update HOSTING_LIBS path.
Steve Chamberlain [Thu, 26 Sep 1991 22:46:53 +0000 (22:46 +0000)]
Newly created
Steve Chamberlain [Thu, 26 Sep 1991 22:46:52 +0000 (22:46 +0000)]
Initial revision
John Gilmore [Thu, 26 Sep 1991 22:28:46 +0000 (22:28 +0000)]
Lint (saber actually).
Per Bothner [Thu, 26 Sep 1991 18:40:30 +0000 (18:40 +0000)]
* libaout.h (WRITE_HEADERS): Set header's a_text field always.
* newsos3.c: Fixed two types: newos3 -> newsos3.
Per Bothner [Thu, 26 Sep 1991 18:26:28 +0000 (18:26 +0000)]
Fix bfd_perform_relocation to handle pc-relative relocs better.
K. Richard Pixley [Wed, 25 Sep 1991 04:34:40 +0000 (04:34 +0000)]
Pass command names with absolute paths. Easier than keeping relative
paths right when dealing with sub/sub/directories.
John Gilmore [Wed, 25 Sep 1991 01:18:59 +0000 (01:18 +0000)]
iVS: Modified Files:
Print 9 digits for IEEE floats.
John Gilmore [Wed, 25 Sep 1991 01:09:15 +0000 (01:09 +0000)]
IN_SIGTRAMP bugfix.
K. Richard Pixley [Tue, 24 Sep 1991 02:30:20 +0000 (02:30 +0000)]
ldgram.h is not cvs'd source.
Steve Chamberlain [Mon, 23 Sep 1991 20:59:12 +0000 (20:59 +0000)]
Cleaned it up for 88k
Roland Pesch [Sat, 21 Sep 1991 05:15:13 +0000 (05:15 +0000)]
(1) fix typo ('_if_' and '_fi_' for '_if__' and '_fi__'!)
(2) prepare for semi-auto xref updating by rejoining xrefs broken across lines
Roland Pesch [Sat, 21 Sep 1991 03:59:06 +0000 (03:59 +0000)]
Formatting updates to "installing" appendix.
John Gilmore [Sat, 21 Sep 1991 03:41:23 +0000 (03:41 +0000)]
Doc updates for 4.1.
John Gilmore [Sat, 21 Sep 1991 03:29:09 +0000 (03:29 +0000)]
rtpc->romp
John Gilmore [Sat, 21 Sep 1991 02:59:57 +0000 (02:59 +0000)]
Rearrange "how to install" and "how to print the doc" stuff so it drops
easier into README.
Roland Pesch [Sat, 21 Sep 1991 02:55:37 +0000 (02:55 +0000)]
add missing index entries for set/show print sevenbit-strings.
Roland Pesch [Sat, 21 Sep 1991 02:03:09 +0000 (02:03 +0000)]
*** empty log message ***
Roland Pesch [Sat, 21 Sep 1991 02:01:41 +0000 (02:01 +0000)]
Update configs table.
John Gilmore [Sat, 21 Sep 1991 01:52:39 +0000 (01:52 +0000)]
Update for gdb-4.1.
John Gilmore [Sat, 21 Sep 1991 01:50:26 +0000 (01:50 +0000)]
Roll in information from README.
John Gilmore [Sat, 21 Sep 1991 00:19:51 +0000 (00:19 +0000)]
Update for gdb-4.1 release.
John Gilmore [Fri, 20 Sep 1991 23:59:13 +0000 (23:59 +0000)]
* language.c (set_language_command): Print useful help message,
and restore the language string after giving help.
* valprint.c (typedef_print): Print typedef in C or M2.
* symtab.c (list_symbols): Use it.
John Gilmore [Fri, 20 Sep 1991 23:17:32 +0000 (23:17 +0000)]
* main.c (main): Avoid any output before (gdb) prompt when -q.
* language.c (set_language_command): Handle errors by restoring
the language string to its current state (fix from A. Beers).
Roland Pesch [Fri, 20 Sep 1991 22:51:22 +0000 (22:51 +0000)]
*** empty log message ***
Roland Pesch [Fri, 20 Sep 1991 22:50:11 +0000 (22:50 +0000)]
Fri Sep 20 15:46:00 1991 Roland H. Pesch (pesch at cygnus.com)
* doc/Makefile: generate aux version-no file doc/gdbVN.m4
from main Makefile.in version definition
doc/gdb.texinfo: use version recorded in doc/gdbVN.m4 for current
GDB version no refs
Makefile.in (setup-to-dist): generate doc/gdbVN.m4
Roland Pesch [Fri, 20 Sep 1991 22:43:47 +0000 (22:43 +0000)]
Extract GDB version number from main GDB dir Makefile.in.
Per Bothner [Fri, 20 Sep 1991 22:03:49 +0000 (22:03 +0000)]
Kludge to allow compilation by non-ANSI compilers.
John Gilmore [Fri, 20 Sep 1991 21:50:27 +0000 (21:50 +0000)]
Update N_FN value to 0x1F. Add comments about N_EXT bits.
Steve Chamberlain [Fri, 20 Sep 1991 21:47:46 +0000 (21:47 +0000)]
Removed all the stuff I added yesterday.
Roland Pesch [Fri, 20 Sep 1991 21:43:19 +0000 (21:43 +0000)]
Merged in new doc on language setting, C, and Mod-2 by Andrew Beers;
cleanups to node structure.