Commit graph

1081 commits

Author SHA1 Message Date
John Gilmore
dc4a4b2e6a Update for gdb-4.1 release. 1991-09-21 00:19:51 +00:00
John Gilmore
0b7984094d * 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.
1991-09-20 23:59:13 +00:00
John Gilmore
5f3d478e7d * 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).
1991-09-20 23:17:32 +00:00
Roland Pesch
14e2990a5f *** empty log message *** 1991-09-20 22:51:22 +00:00
Roland Pesch
b7ced3225a 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
1991-09-20 22:50:11 +00:00
Roland Pesch
1c484dd7cb Extract GDB version number from main GDB dir Makefile.in. 1991-09-20 22:43:47 +00:00
Per Bothner
ab1e12a22e Kludge to allow compilation by non-ANSI compilers. 1991-09-20 22:03:49 +00:00
John Gilmore
30c52cdf23 Update N_FN value to 0x1F. Add comments about N_EXT bits. 1991-09-20 21:50:27 +00:00
Steve Chamberlain
1b3f485c58 Removed all the stuff I added yesterday. 1991-09-20 21:47:46 +00:00
Roland Pesch
73c9796dac Merged in new doc on language setting, C, and Mod-2 by Andrew Beers;
cleanups to node structure.
1991-09-20 21:43:19 +00:00
John Gilmore
1fea803977 * 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.
1991-09-20 20:37:17 +00:00
Stu Grossman
a4c53fb006 Sign extend extended line offsets in parse_lines correctly. 1991-09-20 20:15:20 +00:00
Stu Grossman
9ce7cb7c52 #define yyerrflag and yynerrs to avoid global name conflicts. 1991-09-20 19:30:36 +00:00
Stu Grossman
e9f82257cf *** empty log message *** 1991-09-20 19:29:41 +00:00
John Gilmore
a3a9ba23bc .gdbinit: move set complaints 1 to top. 1991-09-20 19:26:09 +00:00
John Gilmore
7cb8375793 * language.c (_initialize_language): Fix type check and range
check documentation strings.
1991-09-20 18:18:13 +00:00
John Gilmore
c2536607c6 * 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.
1991-09-20 18:13:28 +00:00
John Gilmore
abc52b8069 New rules for building distributions. Normal distribution
is built by doing `make -f Makefile.in gdb.tar.Z' in the devo dir.
1991-09-20 08:41:45 +00:00
John Gilmore
9c85f3ceac Preparation for gdb-4.1 release. 1991-09-20 08:36:19 +00:00
John Gilmore
006774c48a Remove rcfonts.tex after building refcard. 1991-09-20 08:18:16 +00:00
John Gilmore
531dca4989 (HFILES): Add minimon.h.
(VERSION):  Roll version number to 4.0.95.
1991-09-20 06:35:16 +00:00
John Gilmore
8215bbacd0 Undo precipitous changes. 1991-09-20 03:44:17 +00:00
K. Richard Pixley
7054ee6d2b Added Jim Wilson's pcrt->romp patches. 1991-09-20 03:24:56 +00:00
Roland Pesch
613d64489a doc/gdbint.texinfo 1991-09-20 00:42:12 +00:00
Roland Pesch
97f3cb7275 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.
1991-09-20 00:40:36 +00:00
Per Bothner
c44582c81a Various mips changes from Peter Schauer. 1991-09-20 00:17:30 +00:00
Per Bothner
4cf73f0475 Define HAVE_STRSTR. 1991-09-20 00:15:19 +00:00
John Gilmore
ef08856f62 Add language.h. 1991-09-19 22:48:16 +00:00
John Gilmore
c82e8a491c Minor fixes 1991-09-19 22:39:58 +00:00
John Gilmore
e5fa3486b1 * mipsread.c (_initialize_mipsread): Avoid using
builtin_type_void at initialize time.
(mipscoff_symfile_read):  use it now.
1991-09-19 22:39:39 +00:00
Sean Eric Fagan
b1c86ef190 *** empty log message *** 1991-09-19 22:28:00 +00:00
John Gilmore
f24adda313 * c-exp.y, m2-exp.y: Lint.
* m2-exp.y:  Avoid using yytname[] which is a Bison-ism.
1991-09-19 22:16:40 +00:00
John Gilmore
cd93283c87 Circumvent Sun Make bug on *-exp.tab.o. 1991-09-19 22:16:24 +00:00
Steve Chamberlain
f3d70fe521 Stuff for new machiens 1991-09-19 21:05:02 +00:00
Steve Chamberlain
33638b1c2e Initial revision 1991-09-19 21:04:59 +00:00
Steve Chamberlain
9fe37813cd Modifications from James Tsillas for 386 and 68k machines 1991-09-19 21:04:10 +00:00
Steve Chamberlain
2a7b27b0fe Support for 386 and 68k machines 1991-09-19 21:03:09 +00:00
Steve Chamberlain
c430e8638d *** empty log message *** 1991-09-19 20:54:31 +00:00
John Gilmore
9dffe475b5 Lint 1991-09-19 11:51:26 +00:00
John Gilmore
0def21a0f2 Andrew Beers' changes for Modula-2 support. 1991-09-19 11:48:49 +00:00
John Gilmore
c8023e6630 * language.h, language.c: New files for language-specific macros,
declarations, and definitions.
1991-09-19 11:43:22 +00:00
John Gilmore
91ec58ee5c Eliminate uses of working_lang. 1991-09-19 11:42:25 +00:00
John Gilmore
bee3c1a1ec * 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.
1991-09-19 10:44:20 +00:00
John Gilmore
94d86c7cb5 Add M2 to what's new. 1991-09-19 10:40:34 +00:00
John Gilmore
56d921a893 Cope with new files and removed files for Modula-2 support. 1991-09-19 10:40:03 +00:00
John Gilmore
3d6b6a9075 * 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.
1991-09-19 10:31:00 +00:00
John Gilmore
997a978c5d * 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.)
1991-09-19 10:27:17 +00:00
John Gilmore
ec99961f8a Output hex with local_hex_string for Modula-2 support. 1991-09-19 09:13:50 +00:00
John Gilmore
bd09940765 * 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.
1991-09-19 08:51:16 +00:00
John Gilmore
89e0bbcd4f * 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.
1991-09-19 08:31:37 +00:00