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.
John Gilmore [Thu, 19 Sep 1991 07:39:54 +0000 (07:39 +0000)]
Output hex with local_hex_string for Modula-2 support.
John Gilmore [Thu, 19 Sep 1991 03:07:56 +0000 (03:07 +0000)]
* values.c (unpack_long, value_from_longest): Handle
TYPE_CODE_BOOL and TYPE_CODE_CHAR.
John Gilmore [Thu, 19 Sep 1991 02:55:30 +0000 (02:55 +0000)]
Modula-2 support:
* defs.h (local_hex_format, local_hex_string): Add.
John Gilmore [Thu, 19 Sep 1991 02:54:17 +0000 (02:54 +0000)]
* breakpoint.c (breakpoint_cond_eval): Use new value_true to test
breakpoint condition language-independently.
Output hex with local_hex_string for Modula-2 support.
John Gilmore [Thu, 19 Sep 1991 02:40:29 +0000 (02:40 +0000)]
* i386-xdep.c, pyr-tdep.c, pyr-xdep.c, remote-vx.c, solib.c,
source.c, symfile.c, dbxread.c: Output hex with local_hex_string for
Modula-2 support.
John Gilmore [Thu, 19 Sep 1991 02:32:35 +0000 (02:32 +0000)]
* symfile.c (allocate_symtab): New fn, consolidates the work
of allocating and initializing a new struct symtab. Set the
language of the symtab based on its filename extension.
* symfile.h: Declare it.
* mipsread.c (new_symtab): Use it. Minor formatting changes.
* dbxread.c (end_symtab): Use it.
* mipsread.c (parse_symbol, case stParam and stProc): Add #if 0'd
code for saving types of parameters with each function definition.
* dbxread.c (define_symbol, function and parameter cases): Ditto.
(read_dbx_symtab, case N_DEFD): Ignore.
(read_enum_type): Recognize FALSE/TRUE enum as Modula-2 BOOLEAN
type.
(read_range_type): Rename MAX_OF_TYPE to MAX_OF_C_TYPE, etc.
#if 0 out its uses, though, since they set a dead value.
* coffread.c (end_symtab): Use allocate_symtab.
(process_coff_symbol): #if 0'd for functions and params as above.
(read_enum_type): Recognize Modula-2 BOOLEAN.
Roland Pesch [Thu, 19 Sep 1991 02:20:06 +0000 (02:20 +0000)]
Update _MACH_DEP__ macro to be consistent with node references in both
generic and one-machine manuals.
Roland Pesch [Thu, 19 Sep 1991 02:18:43 +0000 (02:18 +0000)]
Structural cleanups (node structure and M4 preprocessing structure);
minor proofreading in passing. More modest editorial attribution.
John Gilmore [Wed, 18 Sep 1991 23:24:51 +0000 (23:24 +0000)]
* convex-tdep.c (comm_registers_info): Avoid parsing decimal and
hex -- let parse_and_eval_address do it.
John Gilmore [Wed, 18 Sep 1991 23:16:45 +0000 (23:16 +0000)]
* i387-tdep.c: New file, consolidates most 80387 support,
and eliminates host dependency on double<->extended conversions.
* i386-xdep.c, symm-xdep.c: Remove most 387 support.
* xconfig/i386{sco,v,v-g,v32,v32-g}: Now need i387-tdep.o.
John Gilmore [Wed, 18 Sep 1991 23:15:20 +0000 (23:15 +0000)]
* i386-xdep.c, symm-xdep.c: Remove most 387 support.
* i386-xdep.c: Output hex with local_hex_string for Modula-2 support.
John Gilmore [Wed, 18 Sep 1991 23:00:51 +0000 (23:00 +0000)]
* i387-tdep.c: New file, consolidates most 80387 support,
and eliminates host dependency on double<->extended conversions.
John Gilmore [Wed, 18 Sep 1991 22:56:28 +0000 (22:56 +0000)]
Doc how to add a language.
Stu Grossman [Wed, 18 Sep 1991 00:45:04 +0000 (00:45 +0000)]
sgi/irix support.
Stu Grossman [Tue, 17 Sep 1991 23:41:34 +0000 (23:41 +0000)]
Initial revision
Stu Grossman [Tue, 17 Sep 1991 23:40:08 +0000 (23:40 +0000)]
sgi/irix config stuff.
Per Bothner [Tue, 17 Sep 1991 19:47:28 +0000 (19:47 +0000)]
In mipsread.c (parse_symbol), put non-static procedures
in the global block.
John Gilmore [Tue, 17 Sep 1991 14:54:12 +0000 (14:54 +0000)]
Add GNU Modula-2 debug stab, from Andrew Beers.
Stu Grossman [Tue, 17 Sep 1991 08:21:58 +0000 (08:21 +0000)]
Add config directory.
Stu Grossman [Tue, 17 Sep 1991 08:11:00 +0000 (08:11 +0000)]
Whoops! Make that #ifndef USG, not #ifdef
Stu Grossman [Tue, 17 Sep 1991 08:10:16 +0000 (08:10 +0000)]
#include <sys/ptrace.h>
Stu Grossman [Tue, 17 Sep 1991 06:57:44 +0000 (06:57 +0000)]
sgi/irix config stuff.
Stu Grossman [Tue, 17 Sep 1991 06:55:07 +0000 (06:55 +0000)]
sgi/irix support.
Stu Grossman [Tue, 17 Sep 1991 05:17:00 +0000 (05:17 +0000)]
Fix signed vs. unsigned char bug in parse_lines().
Stu Grossman [Tue, 17 Sep 1991 01:27:55 +0000 (01:27 +0000)]
Put back definition of offsetof. Only define it if it's not defined on this
system.
John Gilmore [Tue, 17 Sep 1991 00:25:07 +0000 (00:25 +0000)]
Small fixes from Peter Schauer:
* infrun.c (child_attach): Lint.
* solib.c (find_solib): Handle shared libs version 2.
Stu Grossman [Mon, 16 Sep 1991 23:48:33 +0000 (23:48 +0000)]
Remove o_offsetof BS. Use local def if available.
Stu Grossman [Mon, 16 Sep 1991 23:17:02 +0000 (23:17 +0000)]
sgi/irix configuration stuff.
John Gilmore [Mon, 16 Sep 1991 21:57:02 +0000 (21:57 +0000)]
Typo, caught by David Wood.
John Gilmore [Fri, 13 Sep 1991 07:55:28 +0000 (07:55 +0000)]
Add tm-ultra3.h
John Gilmore [Fri, 13 Sep 1991 07:52:09 +0000 (07:52 +0000)]
Minor bugfixes after trying to get a 29K target to build.
John Gilmore [Fri, 13 Sep 1991 07:22:50 +0000 (07:22 +0000)]
* inferior.h: Eliminate CANNOT_EXECUTE_STACK in favor of
defining CALL_DUMMY_LOCATION as BEFORE_TEXT_END. This is
because machines that do this will also have to know to
set NEED_TEXT_START_END. Besides, it was a redundant way to
say the same thing.
* tm-29k.h, tm-convex.h, tm-np1.h: Eliminate
CANNOT_EXECUTE_STACK, define CALL_DUMMY_LOCATION and
NEED_TEXT_START_END.
John Gilmore [Fri, 13 Sep 1991 07:22:01 +0000 (07:22 +0000)]
* exec.c (exec_command): If NEED_TEXT_START_END, define the
variables and set them based on the exec file.
* am29k-tdep.c: declare text_start.
* valops.c (call_function_by_hand): declare text_end.
John Gilmore [Fri, 13 Sep 1991 06:38:44 +0000 (06:38 +0000)]
Support aout and coff, as well as none, as "OS" settings for remote 29K GDB.
John Gilmore [Fri, 13 Sep 1991 06:16:32 +0000 (06:16 +0000)]
Missing quote fries it.
John Gilmore [Fri, 13 Sep 1991 05:24:00 +0000 (05:24 +0000)]
Use simpler name (that matches bfd/config/h-ultra3!)
John Gilmore [Fri, 13 Sep 1991 05:17:53 +0000 (05:17 +0000)]
Removes sparc-opcode.h rather than the file it is sanitizing, if not testing!
(fixed...)
John Gilmore [Fri, 13 Sep 1991 05:13:34 +0000 (05:13 +0000)]
tm-ultra3.h slipped thru the cracks...
John Gilmore [Fri, 13 Sep 1991 05:10:43 +0000 (05:10 +0000)]
* tm-ultra.h: New file, for use on Ultra3 Unix as well as for
remote debugging of Ultra3 kernel. Includes tm-29k.h and
overrides various things.
John Gilmore [Fri, 13 Sep 1991 03:59:44 +0000 (03:59 +0000)]
Third time's a charm.
John Gilmore [Fri, 13 Sep 1991 03:56:25 +0000 (03:56 +0000)]
Ultracomputer