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.
John Gilmore [Fri, 20 Sep 1991 20:37:17 +0000 (20:37 +0000)]
* dbxread.c (read_dbx_symtab, process_one_symbol): N_FN and
N_WARNING are the same except for the N_EXT bit, so just use their
values alone, rather than OR-ing them with N_EXT.
Stu Grossman [Fri, 20 Sep 1991 20:15:20 +0000 (20:15 +0000)]
Sign extend extended line offsets in parse_lines correctly.
Stu Grossman [Fri, 20 Sep 1991 19:30:36 +0000 (19:30 +0000)]
#define yyerrflag and yynerrs to avoid global name conflicts.
Stu Grossman [Fri, 20 Sep 1991 19:29:41 +0000 (19:29 +0000)]
*** empty log message ***
John Gilmore [Fri, 20 Sep 1991 19:26:09 +0000 (19:26 +0000)]
.gdbinit: move set complaints 1 to top.
John Gilmore [Fri, 20 Sep 1991 18:18:13 +0000 (18:18 +0000)]
* language.c (_initialize_language): Fix type check and range
check documentation strings.
John Gilmore [Fri, 20 Sep 1991 18:13:28 +0000 (18:13 +0000)]
* utils.c (!HAVE_VPRINTF): Define vfprintf as a function, so
language.c can use it. (Though language.c should really not be
handling warnings/errors the way it does, FIXME.)
* symtab.c (lookup_primitive_type): const lint.
John Gilmore [Fri, 20 Sep 1991 08:41:45 +0000 (08:41 +0000)]
New rules for building distributions. Normal distribution
is built by doing `make -f Makefile.in gdb.tar.Z' in the devo dir.
John Gilmore [Fri, 20 Sep 1991 08:36:19 +0000 (08:36 +0000)]
Preparation for gdb-4.1 release.
John Gilmore [Fri, 20 Sep 1991 08:18:16 +0000 (08:18 +0000)]
Remove rcfonts.tex after building refcard.
John Gilmore [Fri, 20 Sep 1991 06:35:16 +0000 (06:35 +0000)]
(HFILES): Add minimon.h.
(VERSION): Roll version number to 4.0.95.
John Gilmore [Fri, 20 Sep 1991 03:44:17 +0000 (03:44 +0000)]
Undo precipitous changes.
K. Richard Pixley [Fri, 20 Sep 1991 03:24:56 +0000 (03:24 +0000)]
Added Jim Wilson's pcrt->romp patches.
Roland Pesch [Fri, 20 Sep 1991 00:42:12 +0000 (00:42 +0000)]
doc/gdbint.texinfo
Roland Pesch [Fri, 20 Sep 1991 00:40:36 +0000 (00:40 +0000)]
Reorder contents; reorganize new-host, new-target, and new-config
chapters; fix minor typos; come closer to usual GNU markup conventions
for @file @samp @code @var.
Per Bothner [Fri, 20 Sep 1991 00:17:30 +0000 (00:17 +0000)]
Various mips changes from Peter Schauer.
Per Bothner [Fri, 20 Sep 1991 00:15:19 +0000 (00:15 +0000)]
Define HAVE_STRSTR.
John Gilmore [Thu, 19 Sep 1991 22:48:16 +0000 (22:48 +0000)]
Add language.h.
John Gilmore [Thu, 19 Sep 1991 22:39:58 +0000 (22:39 +0000)]
Minor fixes
John Gilmore [Thu, 19 Sep 1991 22:39:39 +0000 (22:39 +0000)]
* mipsread.c (_initialize_mipsread): Avoid using
builtin_type_void at initialize time.
(mipscoff_symfile_read): use it now.
Sean Eric Fagan [Thu, 19 Sep 1991 22:28:00 +0000 (22:28 +0000)]
*** empty log message ***
John Gilmore [Thu, 19 Sep 1991 22:16:40 +0000 (22:16 +0000)]
* c-exp.y, m2-exp.y: Lint.
* m2-exp.y: Avoid using yytname[] which is a Bison-ism.
John Gilmore [Thu, 19 Sep 1991 22:16:24 +0000 (22:16 +0000)]
Circumvent Sun Make bug on *-exp.tab.o.
Steve Chamberlain [Thu, 19 Sep 1991 21:05:02 +0000 (21:05 +0000)]
Stuff for new machiens
Steve Chamberlain [Thu, 19 Sep 1991 21:04:59 +0000 (21:04 +0000)]
Initial revision
Steve Chamberlain [Thu, 19 Sep 1991 21:04:10 +0000 (21:04 +0000)]
Modifications from James Tsillas for 386 and 68k machines
Steve Chamberlain [Thu, 19 Sep 1991 21:03:09 +0000 (21:03 +0000)]
Support for 386 and 68k machines
Steve Chamberlain [Thu, 19 Sep 1991 20:54:31 +0000 (20:54 +0000)]
*** empty log message ***
John Gilmore [Thu, 19 Sep 1991 11:51:26 +0000 (11:51 +0000)]
Lint
John Gilmore [Thu, 19 Sep 1991 11:48:49 +0000 (11:48 +0000)]
Andrew Beers' changes for Modula-2 support.
John Gilmore [Thu, 19 Sep 1991 11:43:22 +0000 (11:43 +0000)]
* language.h, language.c: New files for language-specific macros,
declarations, and definitions.
John Gilmore [Thu, 19 Sep 1991 11:42:25 +0000 (11:42 +0000)]
Eliminate uses of working_lang.
John Gilmore [Thu, 19 Sep 1991 10:44:20 +0000 (10:44 +0000)]
* valprint.c (type_print_base): Avoid printing garbage for ints
of unusual sizes.
(_initialize_valprint): Warn about host/target size assumption;
improve long long support slightly.
John Gilmore [Thu, 19 Sep 1991 10:40:34 +0000 (10:40 +0000)]
Add M2 to what's new.
John Gilmore [Thu, 19 Sep 1991 10:40:03 +0000 (10:40 +0000)]
Cope with new files and removed files for Modula-2 support.
John Gilmore [Thu, 19 Sep 1991 10:31:00 +0000 (10:31 +0000)]
* parse.c: New file with the common code remains of expread.y.
* expread.y, expread.tab.c: Remove.
* parser-defs.h: New file with common declarations from expread.y.
* c-exp.y: New file with the C parser from expread.y.
* m2-exp.y: New file with the Modula-2 parser.
John Gilmore [Thu, 19 Sep 1991 10:27:17 +0000 (10:27 +0000)]
* symtab.c (_initialize_symtab): Remove builtin type
definition and initialization to *-exp.y.
(lookup_primitive_typename): Use language-dependent vector.
(lookup_typename): Fix bug, make it work if primitive typename.
(lookup_unsigned_typename): Call above.
(create_array_type): Set up range type for array index.
(list_symbols): Call typedef_print to print typedefs.
(Currently #ifndef FIXME'd out awaiting integration.)
John Gilmore [Thu, 19 Sep 1991 09:13:50 +0000 (09:13 +0000)]
Output hex with local_hex_string for Modula-2 support.
John Gilmore [Thu, 19 Sep 1991 08:51:16 +0000 (08:51 +0000)]
* main.c (execute_command): Warn as language changes automatically.
(main): If error() is called during early initialization, print
its message and then exit(1) from GDB.
John Gilmore [Thu, 19 Sep 1991 08:31:37 +0000 (08:31 +0000)]
* stack.c (frame_info): Print language of stack frame.
(select_frame): Also select language, if in auto-mode.
(get_frame_language): New subroutine.
Output hex with local_hex_string for Modula-2 support.
John Gilmore [Thu, 19 Sep 1991 07:40:51 +0000 (07:40 +0000)]
Use parse_expression and parse_exp_1 rather than
parse_c_expression and parse_c_1.