Commit Graph

1066 Commits

Author SHA1 Message Date
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
John Gilmore
2ccb38371a Use parse_expression and parse_exp_1 rather than
parse_c_expression and parse_c_1.
1991-09-19 07:40:51 +00:00
John Gilmore
d8b3b00eb2 Output hex with local_hex_string for Modula-2 support. 1991-09-19 07:39:54 +00:00
John Gilmore
35505d07d7 * values.c (unpack_long, value_from_longest): Handle
TYPE_CODE_BOOL and TYPE_CODE_CHAR.
1991-09-19 03:07:56 +00:00
John Gilmore
a10c0d365a Modula-2 support:
* defs.h (local_hex_format, local_hex_string):  Add.
1991-09-19 02:55:30 +00:00
John Gilmore
d3b9c0df30 * 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.
1991-09-19 02:54:17 +00:00
John Gilmore
e3af049306 * 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.
1991-09-19 02:40:29 +00:00
John Gilmore
0c4d2cc2b3 * 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.
1991-09-19 02:32:35 +00:00
Roland Pesch
6a3871df09 Update _MACH_DEP__ macro to be consistent with node references in both
generic and one-machine manuals.
1991-09-19 02:20:06 +00:00
Roland Pesch
7a4c8e5ce3 Structural cleanups (node structure and M4 preprocessing structure);
minor proofreading in passing. More modest editorial attribution.
1991-09-19 02:18:43 +00:00
John Gilmore
e1a623e7ac * convex-tdep.c (comm_registers_info): Avoid parsing decimal and
hex -- let parse_and_eval_address do it.
1991-09-18 23:24:51 +00:00
John Gilmore
50ee356a16 * 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.
1991-09-18 23:16:45 +00:00
John Gilmore
5142120ece * i386-xdep.c, symm-xdep.c: Remove most 387 support.
* i386-xdep.c:  Output hex with local_hex_string for Modula-2 support.
1991-09-18 23:15:20 +00:00
John Gilmore
cab7a41746 * i387-tdep.c: New file, consolidates most 80387 support,
and eliminates host dependency on double<->extended conversions.
1991-09-18 23:00:51 +00:00
John Gilmore
7f09f15fcb Doc how to add a language. 1991-09-18 22:56:28 +00:00
Stu Grossman
7b3a018e32 sgi/irix support. 1991-09-18 00:45:04 +00:00