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
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
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
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
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
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
549d4382b7
Initial revision
1991-09-17 23:41:34 +00:00
Stu Grossman
138872490d
sgi/irix config stuff.
1991-09-17 23:40:08 +00:00
Per Bothner
0abfa8989a
In mipsread.c (parse_symbol), put non-static procedures
...
in the global block.
1991-09-17 19:47:28 +00:00
Stu Grossman
2f1cfaddf9
Whoops! Make that #ifndef USG, not #ifdef
1991-09-17 08:11:00 +00:00
Stu Grossman
2b88cafe02
#include <sys/ptrace.h>
1991-09-17 08:10:16 +00:00
Stu Grossman
acd551ee63
sgi/irix config stuff.
1991-09-17 06:57:44 +00:00
Stu Grossman
fda386669a
sgi/irix support.
1991-09-17 06:55:07 +00:00
Stu Grossman
3eaebb754c
Fix signed vs. unsigned char bug in parse_lines().
1991-09-17 05:17:00 +00:00
John Gilmore
1515ff18db
Small fixes from Peter Schauer:
...
* infrun.c (child_attach): Lint.
* solib.c (find_solib): Handle shared libs version 2.
1991-09-17 00:25:07 +00:00
John Gilmore
8020d5da16
Typo, caught by David Wood.
1991-09-16 21:57:02 +00:00
John Gilmore
7621b324eb
Add tm-ultra3.h
1991-09-13 07:55:28 +00:00