]> Git Repo - binutils.git/blob - gdb/ChangeLog
gdb-3.3
[binutils.git] / gdb / ChangeLog
1 Sat Sep 30 12:50:16 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
2
3         * version.c: Change version number to 3.3.
4
5         * Makefile.dist (READLINE): Add vi_mode.c
6
7         * config.gdb (i386): Change /dev/null to m-i386.h
8
9         * config.gdb: Add ';;' before 'esac'.
10
11         * Makefile.dist (gdb.tar.Z): Move comment above dependency.
12
13         * dbxread.c (read_ofile_symtab): Check symbol before start
14         of source file for GCC_COMPILED_FLAG_SYMBOL.
15         (start_symtab): Don't clear processing_gcc_compilation.
16
17 Thu Sep 28 22:30:23 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
18
19         * valprint.c (print_string): If LENGTH is zero, print "".
20
21 Wed Sep 27 10:15:10 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
22
23         * config.gdb: "rm tmp.c" -> "rm -f tmp.c".
24
25 Tue Sep 26 13:02:10 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
26
27         * utils.c (_initialize_utils): Use termcap to set lines_per_page
28         and chars_per_line.
29
30 Mon Sep 25 10:06:43 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
31
32         * dbxread.c (read_dbx_symtab, N_SOL): Do not add the same file
33         more than once.
34
35 Thu Sep 21 12:43:18 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
36
37         * infcmd.c (unset_environment_command): Delete all variables
38         if called with no arg.
39
40         * remote.c, inferior.h (remote_{read,write}_inferior_memory):
41         New functions.
42         core.c ({read,write}_memory): Use remote_{read,write}_inferior_memory.
43
44         * valops.c (call_function): When reserving stack space for
45         arguments, call value_arg_coerce.
46
47         * m-hp9k320.h: define BROKEN_LARGE_ALLOCA.
48
49         * breakpoint.c (delete_command): Ask for confirmation only
50         when there are breakpoints.
51
52         * dbxread.c (read_struct_type): If lookup_basetype_type has
53         copied a stub type, call add_undefined_type.
54
55         * sparc_pinsn.c (compare_opcodes): Check for "1+i" anywhere
56         in args.
57
58         * val_print.c (type_print_base): Print stub types as
59         "<incomplete type>".
60
61 Wed Sep 20 07:32:00 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
62
63         * sparc-opcode.h (swapa): Remove i bit from match.
64         (all alternate space instructions): Delete surplus "foo rs1+0"
65         patterns.
66
67         * Makefile.dist (LDFLAGS): Set to $(CFLAGS).
68
69         * remote-multi.shar (remote_utils.c, putpkt): Change csum to unsigned.
70
71 Tue Sep 19 14:15:16 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
72
73         * sparc-opcode.h: Set i bit in lose for many instructions which
74         aren't immediate.
75
76         * stack.c (print_frame_info): add "func = 0".
77
78 Mon Sep 18 16:19:48 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
79
80         * sparc-opcode.h (mov): Add mov to/from %tbr, %psr, %wim.
81
82         * sparc-opcode.h (rett): Fix notation to use suggested assembler
83         syntax from architecture manual.
84
85         * symmetry-dep.c (I386_REGNO_TO_SYMMETRY): New macro.
86         (i386_frame_find_saved_regs): Use I386_REGNO_TO_SYMMETRY.
87
88 Sat Sep 16 22:21:17 1989  Jim Kingdon  (kingdon at spiff)
89
90         * remote.c (remote_close): Set remote_desc to -1.
91
92         * gdb.texinfo (Output): Fix description of echo to match
93         reality and ANSI C.
94
95 Fri Sep 15 14:28:59 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
96
97         * symtab.c (lookup_symbol): Add comment about "asm".
98
99         * sparc-pinsn.c: Use NUMOPCODES.
100
101         * sparc-opcode.h (NUMOPCODES): Use sparc_opcodes[0] not *sparc_opcodes.
102
103 Thu Sep 14 15:25:20 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
104
105         * dbxread.c (xxmalloc): Print error message before calling abort().
106
107         * infrun.c (wait_for_inferior): Check for {stop,prev}_func_name
108         null before passing to strcmp.
109
110 Wed Sep 13 12:34:15 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
111
112         * sparc-opcode.h: New field delayed.
113         sparc-pinsn.c (is_delayed_branch): New function.
114         (print_insn): Check for delayed branches.
115
116         * stack.c (print_frame_info): Use misc_function_vector in
117         case where ar truncates file names.
118
119 Tue Sep 12 00:16:14 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
120
121         * convex-dep.c (psw_info): Move "struct pswbit *p" with declarations.
122
123 Mon Sep 11 14:59:57 1989  Jim Kingdon  (kingdon at spiff)
124
125         * convex-dep.c (core_file_command): Delete redundant printing
126         of "Program %s".
127
128         * m-convex.h (ENTRY_POINT): New macro.
129
130         * m-convex.h (FRAME_CHAIN_VALID): Change outside_first_object_file
131         to outside_startup_file
132
133         * main.c: #if 0 out catch_termination and related code.
134
135         * command.c (lookup_cmd_1): Consider underscores part of
136         command names.
137
138 Sun Sep 10 09:20:12 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
139
140         * printcmd.c: Change asdump_command to disassemble_command
141         (_initialize_printcmd): Change asdump to diassemble.
142
143         * main.c (main): Exit with code 0 if we hit the end of a batch
144         file.
145
146         * Makefile.dist (libreadline.a): Fix syntax of "CC=${CC}".
147
148 Sat Sep  9 01:07:18 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
149
150         * values.c (history_info): Renamed to value_history_info.
151         Command renamed to "info value" (with "info history" still
152         accepted).
153
154         * sparc-pinsn.c (print_insn): Extend symbolic address printing
155         to cover "sethi" following by an insn which uses 1+i.
156
157 Fri Sep  8 14:24:01 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
158
159         * m-hp9k320.h, m-hp300bsd.h, m-altos.h, m-sparc.h, m-sun3.h
160         (READ_GDB_SYMSEGS): Remove.
161         dbxread.c [READ_GDB_SYMSEGS]: Remove code to read symsegs.
162
163         * sparc-pinsn.c (print_insn): Detect "sethi-or" pairs and
164         print symbolic address.
165
166         * sparc-opcode.h (sethi, set): Change lose from 0xc0000000 to
167         0xc0c00000000. 
168
169         * remote.c (remote_desc): Initialize to -1.
170
171         * Makefile.dist (libreadline.a): Pass CC='${CC}' to readline makefile.
172
173 Thu Sep  7 00:07:17 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
174
175         * dbxread.c (read_struct_type): Check for static member functions.
176         values.c, eval.c, valarith.c, valprint.c, valops.c: Merge changes
177         from Tiemann for static member functions.
178
179         * sparc-opcode.h (tst): Fix all 3 patterns.
180
181         * Makefile.dist (gdb1): New rule.
182
183         * sparc-opcode.h: Change comment about what the disassembler
184         does with the order of the opcodes.
185
186         * sparc-pinsn.c (compare_opcodes): Put 1+i before i+1.
187         Also fix mistaken comment about preserving order of original table.
188
189         * sparc-opcode.h (clr, mov): Fix incorrect lose entries.
190
191         * m-symmetry.h (FRAME_NUM_ARGS): Add check to deal with code that
192         GCC sometimes generates.
193
194         * config.gdb: Change all occurances of "skip" to "/dev/null".
195
196         * README (about languages other than C): Update comments about
197         Pascal and FORTRAN.
198
199         * sparc-opcode.h (nop): Change lose from 0xae3fffff to 0xfe3fffff.
200
201         * values.c (value_virtual_fn_field): #if 0-out assignment to
202         VALUE_TYPE(vtbl).
203
204 Wed Sep  6 12:19:22 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
205
206         * utils.c (fatal_dump_core): New function.
207         Makefile.dist (MALLOC_FLAGS): use -Dbotch=fatal_dump_core
208
209 Tue Sep  5 15:47:18 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
210
211         * breakpoint.c (enable_command): With no arg, enable all bkpts.
212
213         * Makefile.dist (Makefile): Remove \"'s around $(MD).
214
215         * Makefile.dist: In "cd readline; make . . ." change first
216         SYSV_DEFINE to SYSV.
217
218         * m68k-pinsn.c (_initialize_pinsn): Use alternate assembler
219         syntax #ifdef HPUX_ASM
220
221 Sat Sep  2 23:24:43 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
222
223         * values.c (history_info): Don't check num_exp[0] if num_exp
224         is nil (just like recent editing_info change).
225
226 Fri Sep  1 19:19:01 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
227
228         * gdb.texinfo (inc-history, inc-readline): Copy in the inc-* files
229         because people might not have makeinfo.
230
231         * README (xgdb): Strengthen nasty comments.
232
233         * gdb.texinfo: Change @setfilename to "gdb.info".
234
235 Thu Aug 31 17:23:50 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
236
237         * main.c (editing_info): Don't check arg[0] if arg is null.
238
239         * m-vax.h: Add comment about known sigtramp bug.
240
241         * sun3-dep.c, sparc-dep.c (IS_OBJECT_FILE, exec_file_command):
242         Get right text & data addresses for .o files.
243
244 Wed Aug 30 13:54:19 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
245
246         * utils.c (tilde_expand): Remove function (it's in readline).
247
248         * sparc-opcode.h (call): Change "8" to "9" in first two
249         patterns (%g7->%o7).
250
251 Tue Aug 29 16:44:41 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
252
253         * printcmd.c (whatis_command): Change 4th arg to type_print
254         from 1 to -1.
255
256 Mon Aug 28 12:22:41 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
257
258         * dbxread.c (psymtab_to_symtab_1): In "and %s ..." change
259         pst->filename to pst->dependencies[i]->filename.
260
261         * blockframe.c (FRAMELESS_LOOK_FOR_PROLOGUE): New macro
262         made from FRAMELESS_FUNCTION_INVOCATION from m-sun3.h except
263         that it checks for zero return from get_pc_function_start.
264         m-hp9k320.h, m-hp300bsd.h, m-i386.h, m-isi.h, m-altos.h,
265         m-news.h, m-sparc.h, m-sun2.h, m-sun3.h, m-symmetry.h
266         (FRAMELESS_FUNCTION_INVOCATION): Use FRAMELESS_LOOK_FOR_PROLOGUE.
267
268         * dbxread.c (read_struct_type): Give warning and ignore field
269         if bitpos and bitsize are zero.
270
271 Sun Aug 27 04:55:20 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
272
273         * dbxread.c (psymtab_to_symtab{,_1}): Print message about
274         reading in symbols before reading stringtab, not after.
275
276 Sat Aug 26 02:01:53 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
277
278         * dbxread.c (IS_OBJECT_FILE, ADDR_OF_TEXT_SEGMENT): New macros.
279         (read_dbx_symtab): Use text_addr & text_size to set end_of_text_addr.
280         (symbol_file_command): pass text_addr & text_size to read_dbx_symtab.
281
282 Fri Aug 25 23:08:13 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
283
284         * valprint.c (value_print): Try to give the name of function
285         pointed to when printing a function pointer.
286
287 Thu Aug 24 23:18:40 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
288
289         * core.c (xfer_core_file): In cases where MEMADDR is above the
290         largest address that makes sense, set i to len.
291
292 Thu Aug 24 16:04:17 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
293
294         * valprint.c (print_string): New function to print a character
295         string, doing array-max limiting and repeat count processing.
296         (val_print, value_print): Use print_string.
297         (REPEAT_COUNT_THRESHOLD): New #define, the max number of elts to print
298         without using a repeat count.  Set to ten.
299         (value_print, val_print): Use REPEAT_COUNT_THRESHOLD.
300
301         * utils.c (printchar): Use {fputs,fprintf}_filtered.
302
303         * valprint.c (val_print): Pass the repeat count arg to the
304         fprintf_filtered call for "<repeats N times>" messages.
305
306 Wed Aug 23 22:53:47 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
307
308         * utils.c: Include <pwd.h>.
309
310         * main.c: Declare free.
311
312 Wed Aug 23 05:05:59 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
313
314         * utils.c, defs.h: Add tilde_expand.
315         source.c (directory_command),
316         main.c (cd_command),
317         main.c (set_history_filename),
318         dbxread.c (symbol_file_command),
319         coffread.c (symbol_file_command),
320         dbxread.c (add_file_command),
321         symmisc.c (print_symtabs),
322         *-dep.c (exec_file_command, core_file_command),
323         main.c (source_command): Use tilde_expand.
324
325         * dbxread.c (read_type): When we get a cross-reference, resolve
326         it immediately if possible, only calling add_undefined_type if
327         necessary.
328
329         * gdb.texinfo: Uncomment @includes and put comment at start
330         of file telling people to use makeinfo.
331
332         * valprint.c (type_print_base): Print the right thing for
333         bitfields.
334
335         * config.gdb (sun3os3): Set paramfile and depfile.
336
337 Tue Aug 22 05:38:36 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
338
339         * dbxread.c (symbol_file_command):  Pass string table size to
340         read_dbx_symtab().
341         (read_dbx_symtab): Before indexing into string table, check
342         string table index for reasonableness.
343         (psymtab_to_symtab{,_1}, read_ofile_symtab): Same.
344
345 Tue Aug 22 04:04:39 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
346
347         * m68k-pinsn.c: Replaced many calls to fprintf and fputs with
348         calls to fprintf_filtered and fputs_filtered.
349         (print_insn_arg): Use normal MIT 68k syntax for postincrement,
350         predecrement, and register indirect addressing modes.
351
352 Mon Aug 21 10:08:02 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
353
354         * main.c (initialize_signals): Set signal handler for SIGQUIT
355         and SIGHUP to do_nothing.
356
357         * ns32k-opcode.h (ord): Change 1D1D to 1D2D.
358
359         * ns32k-pinsn.c (print_insn_arg, print_insn): Handle index
360         bytes correctly.
361
362         * ns32k-opcode.h: Add comments.
363
364         * dbxread.c (read_type): Put enum fields in type.fields in order
365         that they were found in the debugging symbols (not reverse order).
366
367 Sun Aug 20 21:17:13 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
368
369         * main.c (source_command): Read .gdbinit if run without argument.
370
371         * source.c (directory_command): Only print "foo already in path"
372         if from_tty.
373
374         * version.c: Change version number to 3.2.xxx
375
376 Sat Aug 19 00:24:08 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
377
378         * m-news.h: Define HAVE_WAIT_STRUCT.
379
380         * m-isi.h, isi-dep.c: Replace with new version from Adam de Boor.
381         config.gdb: Remove isibsd43.
382
383         * main.c (catch_termination): Don't say we have written
384         .gdb_history until after we really have.
385
386         * convex-dep.c (attach): Add "sleep (1)".
387         (write_vector_register): Use "LL" with long long constant.
388         (wait): Close comment.
389         (wait): Change "unix 7.1 bug" to "unix 7.1 feature" & related
390         changes in comment.
391         (scan_stack): And fp with 0x80000000 in while loop test.
392         (core_file_command): Move code to set COREFILE.
393         (many places): Change printf to printf_filtered.
394         (psw_info): Allow argument giving value to print as a psw.
395         (_initialize_convex_dep): Update docstrings.
396
397         * m-convex.h (WORDS_BIG_ENDIAN): Correct typo ("WRODS")
398         define NO_SIGINTERRUPT.
399         define SET_STACK_LIMIT_HUGE.
400         add "undef BUILTIN_TYPE_LONGEST" before defining it.
401         Use "LL" after constants in CALL_DUMMY.
402
403         * dbxread.c: In the 3 places it says error "ridiculous string
404         table size"... delete extra parameter to error.
405
406         * dbxread.c (scan_file_globals): Check for FORTRAN common block.
407         Allow multiple references for the sake of common blocks.
408
409         * main.c (initialize_main): Set history_filename to include
410         current directory.
411
412         * valprint.c (decode_format): Don't return a defaulted size
413         field if osize is zero.
414
415         * gdb.texinfo (Compilation): Update information on -gg symbols.
416         Document problem with ar.
417
418 Fri Aug 18 19:45:20 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
419
420         * valprint.c (val_print, value_print): Add "<repeats %d times>" code.
421         Also put "..." outside quotes for strings.
422
423         * main.c (initialize_main): Add comment about history output file
424         being different from history input file.
425
426         * m-newsos3.h: Undefine NO_SIGINTERRUPT.  Rearrange a few comments.
427
428         * m-newsos3.h (REGISTER_U_ADDR): Use new version from Hikichi.
429
430         * sparc-opcode.h: Add comment clarifying meaning of the order of
431         the entries in sparc_opcodes.
432
433         * eval.c (evaluate_subexp, case UNOP_IND): Deal with deferencing
434         things that are not pointers.
435
436         * valops.c (value_ind): Make dereferencing an int give a LONGEST.
437
438         * expprint.c (print_subexp): Add (int) cast in OP_LAST case.
439
440         * dbxread.c (read_array_type): Set lower and upper if adjustable.
441
442         * symtab.c (lookup_symbol): Don't abort if symbol found in psymtab
443         but not in symtab.
444
445 Thu Aug 17 15:51:20 1989  Randy Smith  (randy at hobbes.ai.mit.edu)
446
447         * config.gdb: Changed "Makefile.c" to "Makefile.dist".
448
449 Thu Aug 17 01:58:04 1989  Roland McGrath  (roland at apple-gunkies.ai.mit.edu)
450
451         * sparc-opcode.h (or): Removed incorrect lose bit 0x08000000.
452         [many]: Changed many `lose' entries to have the 0x10 bit set, so
453         they don't think %l0 is %g0.
454
455 Wed Aug 16 00:30:44 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
456
457         * m-symmetry.h (STORE_STRUCT_RETURN): Also write reg 0.
458         (EXTRACT_RETURN_VALUE): Call symmetry_extract_return_value.
459         symmetry-dep.c (symmetry_extract_return_value): New fn.
460
461         * main.c (symbol_completion_function): Deal with changed
462         result_list from lookup_cmd_1 for ambiguous return.
463         command.c (lookup_cmd): Same.
464
465         * inflow.c [TIOCGETC]: Move #include "param.h" back before
466         system #includes.  Change all #ifdef TIOCGETC to
467         #if defined(TIOCGETC) && !defined(TIOCGETC_BROKEN)
468         m-i386-sysv3.2.h, m-i386gas-sysv3.2.h: Remove "#undef TIOCGETC"
469         and add "#define TIOCGETC_BROKEN".
470
471         * command.c (lookup_cmd_1): Give the correct result_list in the
472         case of an ambiguous return where there is a partial match
473         (e.g. "info a").  Add comment clarifying what is the correct
474         result_list.
475
476         * gdb.texinfo (GDB History): Document the two changes below.
477
478         * main.c (command_line_input): Make history expansion not
479         just occur at the beginning of a line.
480
481         * main.c (initialize_main): Make history expansion off by default.
482
483         * inflow.c: Move #include "param.h" after system #includes.
484
485         * i386-dep.c (i386_float_info): Use U_FPSTATE macro.
486
487         * m-i386-sysv3.2.h, m-i386gas-sysv3.2.h: New files.
488         Makefile.dist, config.gdb: Know about these new files.
489
490 Tue Aug 15 21:36:11 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
491
492         * symtab.c (lookup_struct_elt_type): Use type_print rather
493         than assuming type has a name.
494
495 Tue Aug 15 02:25:43 1989  Roland McGrath  (roland at apple-gunkies.ai.mit.edu)
496
497         * sparc-opcode.h (mov): Removed bogus "or i,0,d" pattern.
498
499         * sparc-opcode.h (mov, or): Fixed incorrect `lose' members.
500
501         * sparc-dep.c: Don't include "sparc-opcode.h".
502         (skip_prologue, isanulled): Declare special types to recognize
503         instructions, and use them.
504
505         * sparc-pinsn.c (print_insn): Sign-extend 13-bit immediate args.
506         If they are less than +9, print them in signed decimal instead
507         of unsigned hex.
508
509         * sparc-opcode.h, sparc-pinsn.c: Completely rewritten to share an
510         opcode table with gas, and thus produce disassembly that looks
511         like what the assembler accepts.
512
513 Tue Aug 15 16:20:52 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
514
515         * symtab.c (find_pc_psymbol): Move best_pc=psymtab->textlow-1
516         after test for psymtab null.
517
518         * main.c (editing_info): Remove variable retval.
519
520         * config.gdb (sun3, isi): Comment out obsolete message about telling
521         it whether you have an FPU (now that it detects it).
522
523         * config.gdb (sun3): Accept sun3os3.
524
525         * m68k-insn.h: Include <signal.h>.
526
527         * m68k-pinsn.h (convert_{to,from}_68881): Add have_fpu code
528
529         * m-newsos3.h: Undefine USE_PCB.  That code didn't seem to work.
530
531         * sparc-dep.c: Put in insn_fmt and other stuff from the old
532         sparc-opcode.h.
533
534         * sparc-opcode.h, sparc-pinsn.c: Correct copyright notice.
535
536         * sparc-opcode.h, sparc-pinsn.c: Replace the old ones with the new
537         ones by roland.
538
539 Tue Aug 15 02:25:43 1989  Roland McGrath  (roland at apple-gunkies.ai.mit.edu)
540
541         * Makefile.dist: Don't define CC at all.
542
543         * Makefile.dist (Makefile): Remove tmp.c after preprocessing.
544         Use $(MD) instead of M_MAKEDEFINE in the cc command.
545
546         * Makefile.dist: Don't define RL_LIB as
547         "${READLINE}/libreadline.a", since READLINE is a list of files.
548
549 Mon Aug 14 23:49:29 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
550
551         * main.c (print_version): Change 1988 to 1989.
552
553         * main.c (copying_info, initialize_main): Remove #if 0'd code.
554
555 Tue Aug  1 14:44:56 1989  Hikichi  (hikichi at sran203)
556
557         * m-newsos3.h
558             (NO_SIGINTERRUPT): have SIGINTERRUPT on NEWS os 3.
559
560         * m-news.h(FRAME_FIND_SAVED_REGS): use the sun3's instead of old
561         one.
562
563 Mon Aug 14 15:27:01 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
564
565         * m-news.h, m-newsos3.h, news-dep.c: Merge additional changes
566         by Hikichi (ChangeLog entries above).
567
568         * Makefile.dist (READLINE): List readline files individually
569         so we don't accidently get random files from the readline
570         directory.
571
572         * m-news.h (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE):
573         Expect floating point returns to be in fp0.
574
575         * gdb.texinfo (Format options): New node.
576
577         * gdb.texinfo: Comment out "@include"s until bfox fixes the
578         readline & history docs.
579
580         * dbxread.c (read_addl_syms): Set startup_file_* if necessary at
581         the end (as well as when we hit ".o").
582
583         * printcmd.c (decode_format): Set val.format & val.size to '?' at
584         start and set defaults at end.
585
586         * symtab.c (decode_line_1): Check for class_name null.
587
588         * valops.c: Each place where it compares against field names,
589         check for null field names.  (new t_field_name variables).
590
591         * utils.c (fputs_filtered): Check for linebuffer null before
592         checking whether to call fputs.  Remove later check for linebuffer
593         null.  
594
595 Sun Aug 13 15:56:50 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
596
597         * m-isi.h, m-sun3.h ({PUSH,POP}_FP_REGS):  New macros.
598         m-sun3.h (NUM_REGS): Conditionalize on FPU.
599         config.gdb (sun3, isi): Add message about support for machines
600         without FPU.
601
602         * main.c (catch_termination, initialize_signals): new functions.
603
604         * main.c (editing_info): Add "info editing n" and "info editing +".
605         Rewrite much of this function.
606         gdb.texinfo (GDB Readline): Document it.
607
608         * values.c (history_info): Add "info history +".  Also add code to
609         do "info history +" when command is repeated.
610         gdb.texinfo (Value History): Document "info history +".
611
612         * expprint.c (print_subexp): Add OP_THIS to case stmt.
613
614         * config.gdb (sun4os4): Put quotes around make define.
615
616         * config.gdb: Canonicalize machine name at beginning.
617
618 Sat Aug 12 00:50:59 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
619
620         * config.gdb: define M_MAKEDEFINE
621         Makefile (Makefile, MD): Be able to re-make Makefile.
622
623         * main.c (command_line_input): Add comments to
624         the command history.
625
626         * Makefile.dist (Makefile): Add /bin/false.
627
628 Fri Aug 11 14:35:33 1989  Jim Kingdon  (kingdon at spiff)
629
630         * Makefile.dist: Comment out .c.o rule and add TARGET_ARCH.
631
632         * m-altos.h: Include sys/page.h & sys/net.h
633
634         * m-altos.h (FRAME_CHAIN{,_VALID}):  Use outside_startup_file.
635
636         * config.gdb (altos, altosgas): Add M_SYSV & M_BSD_NM and remove
637         M_ALLOCA=alloca.o from makedefine.
638
639         * coffread.c (complete_symtab): Change a_entry to entry.
640
641         * m-altosgas.h: New file.
642
643         * m-symmetry (REGISTER_BYTE): Fix dumb mistake.
644
645 Fri Aug 11 06:39:49 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
646
647         * utils.c (set_screensize_command): Check for ARG being nil, since
648         that's what execute_command will pass if there's no argument.
649
650         * expread.y (yylex): Recognize "0x" or "0X" as the beginning of a
651         number.
652
653 Thu Aug 10 15:43:12 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
654
655         * config.gdb, Makefile.dist: Rename Makefile.c to Makefile.dist.
656
657         * m-altos.h: Add comment about porting to USGR2.
658
659         * config.gdb (sparc): Add -Usparc.
660
661 Wed Aug  9 14:20:39 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
662
663         * m-sun3os4.h: Define BROKEN_LARGE_ALLOCA.
664
665         * values.c (modify_field): Check for value too large to fit in
666         bitfield. 
667
668         * utils.c (fputs_filtered): Allow LINEBUFFER to be NULL.
669
670         * breakpoint.c (condition_command): Check for attempt to specify
671         non-numeric breakpoint number.
672
673         * config.gdb, Makefile, m-altos.h, altos-dep.c: Merge Altos
674         port.
675
676         * README: Change message about editing Makefile.
677
678         * config.gdb: Edit Makefile.
679         Copied Makefile to Makefile.c and changed to let config.gdb
680         run us through the C preprocessor.
681
682         * expread.y (yylex): Test correctly for definition of number.
683
684 Wed Aug  9 11:56:05 1989  Randy Smith  (randy at hobbes.ai.mit.edu)
685
686         * dbxread.c (read_dbx_symtab): Put bracketing of entry point in
687         test case for .o symbols so that it will be correct even without
688         debugging symbols.
689         (end_psymtab): Took bracketing out.
690
691         * blockframe.c (outside_startup_file): Reverse the sense of the
692         return value to make the functionality implied by the name
693         correct. 
694
695 Tue Aug  8 11:48:38 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
696
697         * coffread.c (symbol_file_command): Do  not assume presence of a.out
698         header. 
699
700         * blockframe.c: Replace first_object_file_end with
701         startup_file_{start,end}
702         (outside_startup_file): New function.
703         dbxread.c (read_addl_syms, read_dbx_symtab, end_psymbol): set
704         startup_file_*.  Delete first_object_file_end code.
705         Add entry_point and ENTRY_POINT
706         coffread.c (complete_symtab): Set startup_file_*.
707         (first_object_file_end): Add as static.
708         m-*.h (FRAME_CHAIN, FRAME_CHAIN_VALID): Call outside_startup_file
709         instead of comparing with first_object_file_end.
710
711         * breakpoint.c (breakpoint_1): Change -1 to (CORE_ADDR)-1.
712
713         * config.gdb (i386, i386gas): Add missing quotes at end of "echo"
714
715         * source.c (directory_command): Add dont_repeat ();
716
717 Mon Aug  7 18:03:51 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
718
719         * dbxread.c (read_addl_syms): Change strcmp to strncmp and put 3rd
720         arg back.
721
722         * command.h (struct cmd_list_element): Add comment clarifying
723         purpose of abbrev_flag.
724
725 Mon Aug  7 12:51:03 1989  Randy Smith  (randy at hobbes.ai.mit.edu)
726
727         * printcmd.c (_initialize_printcmd): Changed "undisplay" not to
728         have abbrev flag set; it isn't an abbreviation of "delete
729         display", it's an alias.
730
731 Mon Aug  7 00:25:15 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
732
733         * symtab.c (lookup_symtab_1): Remove filematch (never used).
734
735         * expread.y [type]: Add second argument to 2 calls to
736         lookup_member_type which were missing them.
737
738         * dbxread.c (symbol_file_command): Add from_tty arg.
739         Check it before calling query.
740
741         * infcmd.c (tty_command): Add from_tty arg.
742
743         * eval.c (evaluate_subexp): Remove 3rd argument from
744         calls to value_x_unop.
745
746         * dbxread.c (read_addl_syms): Remove 3rd argument from
747         call to strcmp.
748
749         * gdb.texinfo (Command editing): @include inc-readline.texinfo
750         and inc-history.texinfo and reorganize GDB-specific stuff.
751
752         * Makefile: Add line MAKE=make.
753
754         * README (second paragraph): Fix trivial errors.
755
756         * dbxread.c (read_struct_type): Make sure p is initialized.
757
758         * main.c (symbol_completion_function): Complete correctly
759         on the empty string.
760
761 Sun Aug  6 21:01:59 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
762
763         * symmetry-dep.c: Remove "long" from definition of i386_follow_jump.
764
765         * gdb.texinfo (Backtrace): Document "where" and "info stack".
766
767         * dbxread.c (cleanup_undefined_types): Strip off "struct "
768         or "union " from type names before doing comparison
769
770 Sat Aug  5 02:05:36 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
771
772         * config.gdb (i386, i386gas): Improve makefile editing instructions.
773
774         * Makefile: Fix typo in CLIBS for SYSV.
775
776         * dbxread.c (read_dbx_symtab): Deal with N_GSYM typedefs.
777
778         * dbxread.c (add_file_command): Do not free name.  We didn't
779         allocate it; it just points into arg_string.
780
781         * Makefile, m-*.h: Change LACK_VPRINTF to HAVE_VPRINTF.
782
783 Fri Jul 28 00:07:48 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
784
785         * valprint.c (val_print): Made sure that all returns returned a
786         value (usually 0, indicating no memory printed).
787
788         * core.c (read_memory): Changed "return" to "return 0".
789
790         * expread.y (parse_number): Handle scientific notation when the
791         string does not contain a '.'.
792
793 Thu Jul 27 15:14:03 1989  Randy Smith  (randy at hobbes.ai.mit.edu)
794
795         * infrun.c (signals_info): Error if signal number passed is out of
796         bounds. 
797
798         * defs.h: Define alloca to be __builtin_alloca if compiling with
799         gcc and localized inclusion of alloca.h on the sparc with the
800         other alloca stuff.
801         * command.c: Doesn't need to include alloca.h on the sparc; defs.h
802         does it for you.
803
804         * printcmd.c (print_frame_args): Changed test for call to
805         print_frame_nameless_args to check i to tell if any args had been
806         printed.
807
808 Thu Jul 27 04:40:56 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
809
810         * blockframe.c (find_pc_partial_function): Always check that NAME
811         and/or ADDRESS are not nil before storing into them.
812
813 Wed Jul 26 23:41:21 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)
814
815         * m-newsos3.h: Define BROKEN_LARGE_ALLOCA.
816         * dbxread.c (symbol_file_command, psymtab_to_symtab):
817         Use xmalloc #ifdef BROKEN_LARGE_ALLOCA.
818
819 Tue Jul 25 16:28:18 1989  Jay Fenlason  (hack at apple-gunkies.ai.mit.edu)
820
821         * m68k-opcode.h: moved some of the fmovem entries so they're
822         all consecutive.  This way the assembler doesn't bomb.
823
824 Mon Jul 24 22:45:54 1989  Randy Smith  (randy at hobbes.ai.mit.edu)
825
826         * symtab.c (lookup_symbol): Changed error to an informational (if
827         not very comforting) message about internal problems.  This will
828         get a null symbol returned to decode_line_1, which should force
829         things to be looked up in the misc function vector.
830
831 Wed Jul 19 13:47:34 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
832
833         * symtab.c (lookup_symbol): Changed "fatal" to "error" in
834         external symbol not found in symtab in which it was supposed to be
835         found.  This can be reached because of a bug in ar.
836
837 Tue Jul 18 22:57:43 1989  Randy Smith  (roland at hobbes.ai.mit.edu)
838
839         * m-news.h [REGISTER_U_ADDR]: Decreased the assumed offset of fp0
840         by 4 to bring it into (apparently) appropriate alignment with
841         reality. 
842
843 Tue Jul 18 18:14:42 1989  Randy Smith  (randy at hobbes.ai.mit.edu)
844
845         * Makefile: pinsn.o should depend on opcode.h
846
847         * m68k-opcode.h: Moved fmovemx with register lists to before other
848         fmovemx. 
849
850 Tue Jul 18 11:21:42 1989  Jim Kingdon  (kingdon at susie)
851
852         * Makefile, m*.h: Only #define vprintf (to _doprnt or printf,
853         depends on the system) if the library lacks it (controlled by
854         LACK_VPRINTF_DEFINE in makefile).  Unpleasant, but necessary to
855         make this work with the GNU C library.
856
857 Mon Jul 17 15:17:48 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
858
859         * breakpoint.c (breakpoint_1): Change addr-b->address to
860         b->address-addr.
861
862 Sun Jul 16 16:23:39 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
863
864         * eval.c (evaluate_subexp): Change error message printed when
865         right operand of '@' is not an integer to English.
866
867         * infcmd.c (registers_info): Fix call to print_spaces_filtered
868         to specify right # of arguments.
869
870         * gdb.texinfo (Command Editing): Document info editing command.
871
872         * coffread.c (read_file_hdr): Add MC68MAGIC.
873
874         * source.c (select_source_symtab): Change MAX to max.
875
876 Fri Jul 14 21:19:11 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
877
878         * infcmd.c (registers_info): Clean up display to look good with long
879         register names, to say "register" instead of "reg", and to put the
880         "relative to selected stack frame" bit at the top.
881
882 Fri Jul 14 18:23:09 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
883
884         * dbxread.c (record_misc_function): Put parens around | to force
885         correct evaluation.
886
887 Wed Jul 12 12:25:53 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
888
889         * m-newsos3, m-news, infrun.c, Makefile, config.gdb, news-dep.c:
890         Merge in Hikichi's changes for Sony/News-OS 3 support.
891
892 Tue Jul 11 21:41:32 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
893
894         * utils.c (fputs_filtered): Don't do any filtering if output is
895         not to stdout, or if stdout is not a tty.
896         (fprintf_filtered): Rely on fputs_filtered's check for whether to
897         do filtering.
898
899 Tue Jul 11 00:33:58 1989  Randy Smith  (randy at hobbes.ai.mit.edu)
900
901         * GDB 3.2 Released.
902
903         * valprint.h: Deleted.
904
905         * utils.c (fputs_filtered): Don't do any filtering if filtering is
906         disabled (lines_per_page == 0).
907
908 Mon Jul 10 22:27:53 1989  Randy Smith  (roland at hobbes.ai.mit.edu)
909
910         * expread.y [typebase]: Added "unsigned long int" and "unsigned
911         short int" to specs.
912
913 Mon Jul 10 21:44:55 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
914
915         * main.c (main): Make -cd use cd_command to avoid
916         current_directory with non-absolute pathname.
917
918 Mon Jul 10 00:34:29 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
919
920         * dbxread.c (symbol_file_command): Catch errors from stat (even
921         though they should never happen).
922
923         * source.c (openp): If the path is null, use the current
924         directory. 
925
926         * dbxread.c (read_dbx_symtab): Put N_SETV symbols into the misc
927         function vector ...
928         (record_misc_function): ... as data symbols.
929
930         * utils.c (fprintf_filtered): Return after printing if we aren't
931         going to do filtering.
932
933         * Makefile: Added several things for make clean to take care of.
934
935         * expread.y: Lowered "@" in precedence below +,-,*,/,%.
936
937         * eval.c (evaluate_subexp): Return an error if the rhs of "@"
938         isn't integral.
939
940         * Makefile: Added removal of core and gdb[0-9] files to clean
941         target. 
942
943         * Makefile: Made a new target "distclean", which cleans things up
944         correctly for making a distribution.
945
946 Sun Jul  9 23:21:27 1989  Randy Smith  (randy at hobbes.ai.mit.edu)
947
948         * dbxread.c: Surrounded define of gnu symbols with an #ifndef
949         NO_GNU_STABS in case you don't want them on some machines.
950         * m-npl.h, m-pn.h: Defined NO_GNU_STABS.
951
952 Sun Jul  9 19:25:22 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
953
954         * utils.c (fputs_filtered): New function.
955         (fprintf_filtered): Use fputs_filtered.
956         utils.c (print_spaces_filtered),
957         command.c (help_cmd,help_cmd_list),
958         printcmd.c (print_frame_args),
959         stack.c (print_block_frame_locals, print_frame_arg_vars),
960         valprint.c (many functions): Use fputs_filtered instead of
961         fprintf_filtered to avoid arbitrary limit.
962
963         * utils.c (fprintf_filtered): Fix incorrect comment.
964
965 Sat Jul  8 18:12:01 1989  Randy Smith  (randy at hobbes.ai.mit.edu)
966
967         * valprint.c (val_print): Changed assignment of pretty to use
968         prettyprint as a conditional rather than rely on values of the
969         enum. 
970
971         * Projects: Cleaned up a little for release.
972
973         * main.c (initialize_main): Initialize
974         rl_completion_entry_function instead of completion_entry_function. 
975
976         * Makefile: Modified to use the new readline library setup.
977
978         * breakpoint.c (break_command_1, delete_breakpoint,
979         enable_breakpoint, disable_breakpoint): Put in new printouts for
980         xgdb usage triggered off of xgdb_verbose.
981         * main.c (main): Added check for flag to set xgdb_verbose.
982         * stack.c (frame_command): Set frame_changed when frame command
983         used. 
984
985 Fri Jul  7 16:20:58 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
986
987         * Remove valprint.h and move contents to value.h (more logical).
988
989 Fri Jul  7 02:28:06 1989  Randall Smith  (randy at rice-chex)
990
991         * m68k-pinsn.c (print_insn): Included a check for register list;
992         if there is one, make sure to start p after it.
993
994         * breakpoint.c (break_command_1, delete_breakpoint,
995         enable_breakpoint, disable_breakpoint): #ifdef'd out changes
996         below; they produce unwanted output in gdb mode in gnu-emacs.
997
998         * gdb.texinfo: Spelled.  Also removed index references from
999         command editing section; the relevance/volume ratio was too low.
1000         Removed all references to the function index.
1001
1002         * ns32k-opcode.h, ns32k-pinsn.c: Backed out changes of June 24th;
1003         haven't yet received legal papers.
1004
1005         * .gdbinit: Included message telling the user what it is doing.
1006
1007         * symmetry-dep.c: Added static decls for i386_get_frame_setup,
1008         i386_follow_jump.
1009         * values.c (unpack_double): Added a return (double)0 at the end to
1010         silence a compiler warning.
1011
1012         * printcmd.c (containing_function_bounds, asdump_command): Created
1013         to dump the assembly code of a function (support for xgdb and a
1014         useful hack).
1015         (_initialize_printcmd): Added this to command list.
1016         * gdb.texinfo [Memory]: Added documentation for the asdump
1017         command.
1018         * breakpoint.c (break_command_1, delete_breakpoint,
1019         enable_breakpoint, disable_breakpoint): Added extra verbosity for
1020         xgdb conditionalized on the new external frame_full_file_name.
1021         * source.c (identify_source_line): Increase verbosity of fullname
1022         prointout to include pc value.
1023         * stack.c: Added a new variable; "frame_changed" to indicate when
1024         a frame has been changed so that gdb can print out a frame change
1025         message when the frame only changes implicitly.
1026         (print_frame_info): Check the new variable in determining when to
1027         print out a new message and set it to zero when done.
1028         (up_command): Increment it.
1029         (down_command): Decrement it.
1030
1031         * m68k-pinsn.c (print_insn_arg [lL]): Modified cases for register
1032         lists to reset the point to point to after the word from which the
1033         list is grabbed *if* that would cause point to point farther than
1034         it currently is.
1035
1036 Thu Jul  6 14:28:11 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
1037
1038         * valprint.c (val_print, value_print): Add parameter to control
1039         prettyprinting.
1040         valprint.h: New file containing constants used for passing
1041         prettyprinting parameter to val{,ue}_print.
1042         expprint.c, infcmd.c, printcmd.c, valprint.c, values.c:
1043         Change all calls to val{,ue}_print to use new parameter.
1044         
1045 Mon Jul  3 22:38:11 1989  Randy Smith  (randy at apple-gunkies.ai.mit.edu)
1046
1047         * dbxread.c (,process_one_symbol): Moved extern declaration for
1048         index out of function to beginning of file.
1049
1050 Mon Jul  3 18:40:14 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
1051
1052         * gdb.texinfo (Registers): Add "ps" to list of standard registers.
1053
1054 Sun Jul  2 23:13:03 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
1055
1056         * printcmd.c (enable_display): Change d->next to d = d->next so
1057         that "enable display" without args works.
1058
1059 Fri Jun 30 23:42:04 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
1060
1061         * source.c (list_command):  Made error message given when no
1062         symtab is loaded clearer.
1063
1064         * valops.c (value_assign): Make it so that when assigning to an
1065         internal variable, the type of the assignment exp is the type of
1066         the value being assigned.
1067
1068 Fri Jun 30 12:12:43 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1069
1070         * main.c (verbose_info): Created.
1071         (initialize_main): Put "info verbose" into command list.
1072
1073         * utils.c (screensize_info): Created.
1074         (_initialize_utils): Defined "info screensize" as a normal command.
1075
1076         * valprint.c (format_info): Added information about maximum number
1077         of array elements to function.
1078
1079         * blockframe.c (find_pc_partial_function): Again.
1080
1081         * blockframe.c (find_pc_partial_function): Replaced a "shouldn't
1082         happen" (which does) with a zero return.
1083
1084         * main.c (dont_repeat): Moved ahead of first use.
1085
1086 Thu Jun 29 19:15:08 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1087
1088         * vax-opcode.h: Made minor modifications (moved an instruction and
1089         removed a typo) to bring this into accord with gas' table; also
1090         changed copyright to reflect it being part of both gdb and gas.
1091
1092         * m68k-opcode.h: Added whole scads and bunches of new stuff for
1093         the m68851 and changed the coptyrightto recognize that the file
1094         was shared between gdb and gas.
1095
1096         * main.c (stop_sig): Use "dont_repeat ()" instead of *line = 0;
1097
1098         * core.c (read_memory): Don't do anything if length is 0.
1099
1100         * Makefile: Added readline.c to the list of files screwed by
1101         having the ansi ioctl.h compilation with gcc.
1102
1103         * config.gdb: Added sun4os3 & sun4-os3 as availible options.
1104
1105 Wed Jun 28 02:01:26 1989  Jim Kingdon  (kingdon at apple-gunkies.ai.mit.edu)
1106
1107         * command.c (lookup_cmd): Add ignore_help_classes argument.
1108         (lookup_cmd_1): Add ignore_help_classes argument.
1109         command.c, main.c: Change callers of lookup_cmd{,_1} to supply
1110         value for ignore_help_classes.
1111
1112 Tue Jun 27 18:01:31 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1113
1114         * utils.c (print_spaces_filtered): Made more efficient.
1115         * defs.h: Declaration.
1116         * valprint.c (val_print): Used in a couple of new places.
1117
1118 Mon Jun 26 18:27:28 1989  Randall Smith  (randy at gluteus.ai.mit.edu)
1119
1120         * m68k-pinsn.c (print_insn_arg ['#', '^']): Combined them into one
1121         case which always gets the argument from the word immediately
1122         following the instruction.
1123         (print_insn_arg ["[lL]w"]): Make sure to always get the register
1124         mask from the word immediately following the instruction.
1125
1126 Sun Jun 25 19:14:56 1989  Randall Smith  (randy at galapas.ai.mit.edu)
1127
1128         * Makefile: Added hp-include back in as something to distribute.
1129
1130         * stack.c (print_block_frame_locals): Return value changed from
1131         void to int; return 1 if values printed.  Use _filtered.
1132         (print_frame_local_vars): Use return value from
1133         print_block_frame_locals to mention if nothing printed; mention
1134         lack of symbol table, use _filtered.
1135         (print_frame_arg_vars): Tell the user if no symbol table
1136         or no values printed.  Use fprintf_filtered instead of fprintf.
1137         * blockframe.c (get_prev_frame_info): Check for no inferior or
1138         core file before crashing.
1139
1140         * inflow.c (inferior_died): Set current frame to zero to keep from
1141         looking like we're in start.
1142
1143 Sat Jun 24 15:50:53 1989  Randall Smith  (randy at gluteus.ai.mit.edu)
1144
1145         * stack.c (frame_command): Added a check to make sure that there
1146         was an inferior or a core file.
1147
1148         * expread.y (yylex): Allow floating point numbers of the form ".5"
1149         to be parsed.
1150
1151         Changes by David Taylor at TMC:
1152         * ns32k-pinsn.c: Added define for ?floating point coprocessor? and
1153         tables for register names to be used for each of the possibilities.
1154         (list_search): Created; searches a list of options for a specific
1155         value.
1156         (print_insn_arg): Added 'Q', 'b', 'M', 'P', 'g', and 'G' options
1157         to the value location switch.
1158         * ns32k-opcode.h: Added several new location flags.
1159         [addr, enter, exit, ext[bwd], exts[bwd], lmr, lpr[bwd], restore,
1160         rett, spr[bwd], smr]: Improved insn format output.
1161
1162         * symtab.c (list_symbols): Rearrange printing to produce readable
1163         output for "info types".
1164
1165         * eval.c (evaluate_subexp_for_address): Fixed typo.
1166
1167         * dbxread.c (read_type): Don't output an error message when
1168         there isn't a ',' after a cross-reference.
1169
1170         * dbxread.c (read_dbx_symtab): #if'd out N_FN case in
1171         read_dbx_symtab if it has the EXT bit set (otherwise multiple
1172         cases with the same value).
1173
1174 Fri Jun 23 13:12:08 1989  Randall Smith  (randy at plantaris.ai.mit.edu)
1175
1176         * symmisc.c: Changed decl of print_spaces from static to extern
1177         (since it's defined in utils.c).
1178
1179         * remote.c (remote_open): Close remote_desc if it's already been
1180         opened. 
1181
1182         * Remote_Makefile, remote_gutils.c, remote_inflow.c,
1183         remote_server.c, remote_utils.c: Combined into remote-multi.shar.
1184         * remote-multi.shar: Created (Vikram Koka's remote stub).
1185         * remote-sa.m68k.shar: Created (Glenn Engel's remcom.c).
1186         * README: Updated to reflect new organization of remote stubs.
1187
1188         * dbxread.c (read_dbx_symtab): Put an N_FN in with N_FN | N_EXT to
1189         account for those machines which don't use the external bit here.
1190         Sigh. 
1191
1192         * m-symmetry.h: Defined NO_SIGINTERRUPT.
1193
1194 Thu Jun 22 12:51:37 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1195
1196         * printcmd.c (decode_format): Make sure characters are printed
1197         using a byte size.
1198
1199         * utils.c (error): Added a terminal_ours here.
1200
1201         * stack.c (locals_info): Added check for selected frame.
1202
1203         * dbxread.c (read_type): Checked to make sure that a "," was
1204         actually found in the symbol to end a cross reference.
1205
1206 Wed Jun 21 10:30:01 1989  Randy Smith  (randy at tartarus.uchicago.edu)
1207
1208         * expread.y (parse_number, [exp]): Allowed for the return of a
1209         number marked as unsigned; this will allow inclusion of unsigned
1210         constants. 
1211
1212         * symtab.h: Put in default definitions for BUILTIN_TYPE_LONGEST
1213         and BUILTIN_TYPE_UNSIGNED_LONGEST.
1214
1215         * expread.y (parse_number): Will now accept integers suffixed with
1216         a 'u' (though does nothing special with it).
1217
1218         * valarith.c (value_binop): Added cases to deal with unsigned
1219         arithmetic correctly.
1220
1221 Tue Jun 20 14:25:54 1989  Randy Smith  (randy at tartarus.uchicago.edu)
1222
1223         * dbxread.c (psymtab_to_symtab_1): Changed reading in info message
1224         to go through printf_filtered.
1225
1226         * symtab.c (list_symbols): Placed header message after all calls
1227         to psymtab_to_symtab. 
1228
1229         * symtab.c (smash_to_{function, reference, pointer}_type): Carried
1230         attribute of permanence for the type being smashed over the bzero
1231         and allowed any type to point at this one if it is permanent.
1232
1233         * symtab.c (smash_to_{function, reference, pointer}_type): Fix
1234         typo: check flags of to_type instead of type.
1235
1236         * m-hp9k320.h: Changed check on __GNU__ predefine to __GNUC__.
1237
1238         * Makefile: Made MUNCH_DEFINE seperate and based on SYSV_DEFINE;
1239         they aren't the same on hp's.
1240
1241 Mon Jun 19 17:10:16 1989  Randy Smith  (randy at tartarus.uchicago.edu)
1242
1243         * Makefile: Fixed typo.
1244
1245         * valops.c (call_function): Error if the inferior has not been
1246         started. 
1247
1248         * ns32k-opcode.h [check[wc], cmpm[bwd], movm[bwd], skpsb]: Fixed
1249         typos. 
1250
1251 Fri Jun  9 16:23:04 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1252
1253         * m-news.h [NO_SIGINTERRUPT]: Defined.
1254
1255         * dbxread.c (read_type): Start copy of undefined structure name
1256         past [sue] defining type of cross ref.
1257
1258         * dbxread.c (process_one_symbol): Changed strchr to index.
1259
1260         * ns32k-opcode.h, ns32k-pinsn.c: More changes to number of
1261         operands, addition of all of the set condition opcodes, addition
1262         of several flag letters, all patterned after the gas code.
1263
1264         * ns32k-opcode.h [mov{su,us}[bwd], or[bwd]]: Changed number of
1265         operands from 1 to 2.
1266
1267 Wed Jun  7 15:04:24 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1268
1269         * symseg.h [TYPE_FLAG_STUB]: Created.
1270         * dbxread.c (read_type): Set flag bit if type is stub.
1271         (cleanup_undefined_types): Don't mark it as a stub if it's been
1272         defined since we first learned about it.
1273         * valprint.c (val_print): Print out a message to that effect if
1274         this type is encountered.
1275
1276         * symseg.h, symtab.h: Moved the definition of TYPE_FLAG_PERM over
1277         to symseg.h so that all such definitions would be in the same place.
1278
1279         * valprint.c (val_print): Print out <No data fields> for a
1280         structure if there aren't any.
1281
1282         * dbxread.c (read_type): Set type name of a cross reference type
1283         to "struct whatever" or something.
1284
1285 Tue Jun  6 19:40:52 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1286
1287         * breakpoint.c (breakpoint_1): Print out symbolic location of
1288         breakpoints for which there are no debugging symbols.
1289
1290 Mon Jun  5 15:14:51 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1291
1292         * command.c (help_cmd_list): Made line_size static.
1293
1294 Sat Jun  3 17:33:45 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1295
1296         * Makefile: Don't include the binutils hp-include directory in the
1297         distribution anymore; refer the users to the binutils distribution.
1298
1299 Thu Jun  1 16:33:07 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1300
1301         * printcmd.c (disable_display_command): Fixed loop iteration for
1302         no arg case.
1303
1304         * printcmd.c (disable_display_command): Added from_tty parameter
1305         to function.
1306
1307         * valops.c (value_of_variable): Call read_var_value with 0 cast to
1308         FRAME instead of CORE_ADDR.
1309
1310         * eval.c (evaluate_subexp): Corrected number of args passed to
1311         value_subscript (to 2).
1312
1313         * infrun.c (wait_for_inferior), symtab.c (decode_line_1),
1314         m-convex.h: Changed name of FIRSTLINE_DEBUG_BROKEN to
1315         PROLOGUE_FIRSTLINE_OVERLAP. 
1316
1317         * m-merlin.h: Fixed typo.
1318         * ns32k-opcode.h: Added ns32381 opcodes and "cinv" insn, and fixed
1319         errors in movm[wd], rett, and sfsr.
1320
1321         * eval.c (evaluate_subexp, evaluate_subexp_for_address), valops.c
1322         (value_zero): Change value_zero over to taking two arguments
1323         instead of three.
1324
1325         * eval.c (evaluate_subexp)
1326           [OP_VAR_VALUE]: Get correct lval type for AVOID_SIDE_EFFECTS for
1327           all types of symbols.
1328           [BINOP_DIV]: Don't divide if avoiding side effects; just return
1329           an object of the correct type.
1330           [BINOP_REPEAT]: Don't call value_repeat, just allocate a
1331           repeated value.
1332         (evaluete_subexp_for_address) [OP_VAR_VALUE]: Just return a thing
1333         of the right type (after checking to make sure that we are allowed
1334         to take the address of whatever variable has been passed).
1335
1336 Mon May 29 11:01:02 1989  Randall Smith  (randy at galapas.ai.mit.edu)
1337
1338         * breakpoint.c (until_break_command): Set the breakpoint with a
1339         frame specification so that it won't trip in inferior calls to the
1340         function.  Also set things up so that it works based on selected
1341         frame, not current one.
1342
1343 Sun May 28 15:05:33 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1344
1345         * eval.c (evalue_subexp): Change subscript case to use value_zero
1346         in EVAL_AVOID_SIDE_EFFECTS case.
1347
1348 Fri May 26 12:03:56 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1349
1350         * dbxread.c (read_addl_syms, psymtab_to_symtab): Removed
1351         cleanup_undefined_types; this needs to be done on a symtab basis.
1352         (end_symtab): Called cleanup_undefined_types from here.
1353         (cleanup_undefined_types): No longer uses lookup_symbol (brain
1354         dead idea; oh, well), now it searches through file_symbols.
1355
1356 Wed May 24 15:52:43 1989  Randall Smith  (randy at galapas)
1357
1358         * source.c (select_source_symtab): Only run through
1359         partial_symtab_list if it exists.
1360
1361         * coffread.c (read_coff_symtab): Don't unrecord a misc function
1362         when a function symbol is seen for it.
1363
1364         * expread.y [variable]: Make sure to write a type for memvals if
1365         you don't get a mft you recognize.
1366
1367 Tue May 23 12:15:57 1989  Randall Smith  (randy at plantaris.ai.mit.edu)
1368
1369         * dbxread.c (read_ofile_symtab, psymtab_to_symtab): Moved cleanup
1370         of undefined types to psymtab_to_symtab.  That way it will be
1371         called once for all readins (which will, among other things,
1372         help reduce infinite loops).
1373
1374         * symtab.h [misc_function_type]: Forced mf_unknown to 0.
1375         * dbxread.c (record_misc_function): Cast enum to unsigned char (to
1376         fit).
1377         * expread.y [variable]: Cast unsigned char back to enum to test.
1378
1379 Mon May 22 13:08:25 1989  Randall Smith  (randy at gluteus.ai.mit.edu)
1380
1381         Patches by John Gilmore for dealing well with floating point:
1382         * findvar.c (value_from_register, locate_var_value): Used
1383         BYTES_BIG_ENDIAN instead of an inline test.
1384         * m-sparc.h [IEEE_FLOAT]: Created to indicate that the sparc is
1385         IEEE compatible.
1386         * printcmd.c (print_scalar_formatted): Use BYTES_BIG_ENDIAN and
1387         the stream argument for printing; also modify default type for
1388         'f'.  Change handling of invalid floats; changed call syntax for
1389         is_nan.
1390         (print_command): Don't print out anything indicating that
1391         something was recorded on the history list if it wasn't.
1392         * valprint.c (val_print): Fixed to deal properley with new format
1393         of is_nan and unpacking doubles without errors occuring.
1394         (is_nan): Changed argument list and how it figures big endianness
1395         (uses macros).
1396         * values.c (record_latest_value): Return -1 and don't record if
1397         it's an invalid float.
1398         (value_as_double): Changed to use new unpack_double calling
1399         convention.
1400         (unpack_double): Changed not to call error if the float was
1401         invalid; simply to set invp and return.  Changed calling syntax.
1402         (unpack_field_as_long, modify_field): Changed to use
1403         BITS_BIG_ENDIAN to determine correct action.
1404
1405         * m-hp9k320.h [HP_OS_BUG]: Created; deals with problem where a
1406         trap happens after a continue.
1407         * infrun.c (wait_for_inferior): Used.
1408
1409         * m-convex.h [FIRSTLINE_DEBUG_BROKEN]: Defined a flag to indicate
1410         that the debugging symbols output by the compiler for the first
1411         line of a function were broken.
1412         * infrun.c (wait_for_inferior), symtab.c (decode_line_1): Used.
1413         
1414         * gdb.texinfo [Data, Memory]: Minor cleanups of phrasing.
1415
1416 Fri May 19 00:16:59 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1417
1418         * dbxread.c (add_undefined_type, cleanup_undefined_types): Created
1419         to keep a list of cross references to as yet undefined types.
1420         (read_type): Call add_undefined_type when we run into such a case.
1421         (read_addl_syms, read_ofile_symtab): Call cleanup_undefined_types
1422         when we're done.
1423
1424         * dbxread.c (psymtab_to_symtab, psymtab_to_symtab_1): Broke
1425         psymtab_to_symtab out into two routines; made sure the string
1426         table was only readin once and the globals were only scanned once,
1427         for any number of dependencies.
1428
1429 Thu May 18 19:59:18 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1430
1431         * m-*.h: Defined (or not, as appropriate per machine)
1432         BITS_BIG_ENDIAN, BYTES_BIG_ENDIAN, and WORDS_BIG_ENDIAN.
1433
1434 Wed May 17 13:37:45 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1435
1436         * main.c (symbol_completion_function): Always complete on result
1437         command list, even if exact match found.  If it's really an exact
1438         match, it'll find it again; if there's something longer than it,
1439         it'll get the right result.
1440
1441         * symtab.c (make_symbol_completion_function): Fixed typo; strcmp
1442         ==> strncmp.
1443
1444         * dbxread.c (read_dbx_symtab): Change 'G' case to mark symbols as
1445         LOC_EXTERNAL. 
1446
1447         * expread.y [variables]: Changed default type of text symbols to
1448         function returning int so that one can use, eg. strcmp.
1449
1450         * infrun.c (wait_for_inferior): Include a special flag indicating
1451         that one shouldn't insert the breakpoints on the next step for
1452         returning from a sigtramp and forcing at least one move forward. 
1453
1454         * infrun.c (wait_for_inferior): Change test for nexting into a
1455         function to check for current stack pointer inner than previous
1456         stack pointer.
1457
1458         * infrun.c (wait_for_inferior): Check for step resume break
1459         address before dealing with normal breakpoints.
1460
1461         * infrun.c (wait_for_inferior): Added a case to deal with taking
1462         and passing along a signal when single stepping past breakpoints
1463         before inserting breakpoints.
1464
1465         * infrun.c (wait_for_inferior): Inserted special case to keep
1466         going after taking a signal we are supposed to be taking.  
1467
1468 Tue May 16 12:49:55 1989  Randall Smith  (randy at gluteus.ai.mit.edu)
1469
1470         * inflow.c (terminal_ours_1): Cast result of signal to (int
1471         (*)()). 
1472
1473         * gdb.texinfo: Made sure that references to the program were in
1474         upper case.  Modify description of the "set prompt" command.
1475         [Running]: Cleaned up introduction.
1476         [Attach]: Cleaned up.
1477         [Stepping]: Change "Proceed" to "Continue running" or "Execute".
1478         Minor cleanup.
1479         [Source Path]: Cleaned up intro.  Cleared up distinction between
1480         the executable search path and the source path.  Restated effect
1481         of the "directory" command with no arguments.
1482         [Data]: Fixed typos and trivial details.
1483         [Stepping]: Fixed up explanation of "until".
1484
1485         * source.c (print_source_lines): Print through filter.
1486
1487         * printcmd.c (x_command): If the format with which to print is
1488         "i", use the address of anything that isn't a pointer instead of
1489         the value.  This is for, eg. "x/10i main".
1490
1491         * gdb.texinfo: Updated last modification date on manual.
1492
1493 Mon May 15 12:11:33 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1494
1495         * symtab.c (lookup_symtab): Fixed typo (name ==> copy) in call to
1496         lookup_symtab_1. 
1497
1498         * gdb.texinfo: Added documentation for "break [+-]n" and for new
1499         actions of "directory" command (taking multiple directory names at
1500         the same time).
1501
1502         * m68k-opcode.h: Replaced the version in gdb with an up-to-date
1503         version from the assembler directory.
1504         * m68k-pinsn.c (print_insn_arg): Added cases 'l' & 'L' to switch
1505         to print register lists for movem instructions.
1506
1507         * dbxread.c, m-convex.h: Moved convex dependent include files over
1508         from dbxread.c to m-convex.h.
1509
1510         * printcmd.c (disable_display, disable_display_command): Changed
1511         name of first to second, and created first which takes an int as
1512         arg rather than a char pointer.  Changed second to use first.
1513         (_initialize_printcmd): Changed to use second as command to call.
1514         (delete_current_display, disable_current_display): Changed name of
1515         first to second, and changed functionality to match.
1516         * infrun.c (normal_stop), main.c (return_to_top_level): Changed to 
1517         call disable_current_display.
1518
1519         * dbxread.c (process_one_symbol, read_dbx_symtab): Changed N_FN to
1520         be N_FN | N_EXT to deal with new Berkeley define; this works with
1521         either the old or the new.
1522
1523         * Remote_Makefile, remote_gutils.c, remote_inflow.c,
1524         remote_server.c, remote_utils.c: Created.
1525         * Makefile: Included in tag and tar files.
1526         * README: Included a note about them.
1527
1528         * printcmd.c (print_address): Use find_pc_partial_function to
1529         remove need to readin symtabs for symbolic addresses.  
1530
1531         * source.c (directory_command): Replaced function with new one
1532         that can accept lists of directories seperated by spaces or :'s.
1533
1534         * inflow.c (new_tty): Replaced calls to dup2 with calls to dup.
1535
1536 Sun May 14 12:33:16 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1537
1538         * stack.c (args_info): Make sure that you have an inferior or core
1539         file before taking action.
1540
1541         * ns32k-opcode.h [deiw, deid]: Fixed machine code values for these
1542         opcodes.
1543
1544         * dbxread.c (scan_file_globals): Modified to use misc function
1545         vector instead of file itself.  Killed all arguments to the
1546         funciton; no longer needed.
1547         (psymtab_to_symtab): Changed call for above to reflect new (void)
1548         argument list.
1549
1550         * dbxread.c (read_dbx_symtab, ): Moved HASH_OFFSET define out of
1551         read_dbx_symtab. 
1552
1553         * expread.y [variable]: Changed default type of misc function in
1554         text space to be (void ()).
1555
1556         * Makefile: Modified for proper number of s/r conflicts (order is
1557         confusing; the mod that necessitated this change was on May 12th,
1558         not today). 
1559
1560         * expread.y (yylex): Added SIGNED, LONG, SHORT, and INT keywords.
1561         [typename]: Created.
1562         [typebase]: Added rules for LONG, LONG INT, SHORT, SHORT INT,
1563         SIGNED name, and UNSIGNED name (a good approximation of ansi
1564         standard).      
1565
1566         * Makefile: Included .c.o rule to avoid sun's make from throwing
1567         any curves at us.
1568
1569         * blockframe.c: Included <obstack.h>
1570
1571         * command.c (lookup_cmd): Clear out trailing whitespace.
1572
1573         * command.c (lookup_cmd_1): Changed malloc to alloca.  
1574         
1575 Fri May 12 12:13:12 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1576
1577         * printcmd.c (print_frame_args): Only print nameless args when you
1578         know how many args there are supposed to be and when you've
1579         printed fewer than them.  Don't print nameless args between
1580         printed args.
1581
1582         * symtab.c (make_symbol_completion_function): Fixed typo (= ==>
1583         ==). 
1584
1585         * remote.c (remote_open): ifdef'd out siginterrupt call by #ifndef
1586         NO_SIGINTERRUPT.
1587         * m-umax.h: Defined NO_SIGINTERRUPT.
1588
1589         * expread.y [ptype, array_mod, func_mod, direct_abs_decl,
1590         abs_decl]:  Added rules for parsing and creating arbitrarily
1591         strange types for casts and sizeofs.
1592
1593         * symtab.c, symtab.h (create_array_type): Created.  Some minor
1594         misfeatures; see comments for details (main one being that you
1595         might end up creating two arrays when you only needed one).
1596
1597 Thu May 11 13:11:49 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1598
1599         * valops.c (value_zero): Add an argument for type of lval.
1600         * eval.c (evaluate_subexp_for_address): Take address properly in
1601         the avoid side affects case (ie. keep track of whether we have an
1602         lval in memory and we can take the address).
1603         (evaluate_subexp): Set the lval type of expressions created with
1604         value_zero properley.
1605
1606         * valops.c, value.h (value_zero): Created--will return a value of
1607         any type with contents filled with zero.
1608         * symtab.c, symtab.h (lookup_struct_elt_type): Created.
1609         * eval.c (evaluate_subexp): Modified to not read memory when
1610         called with EVAL_AVOID_SIDE_EFFECTS.
1611
1612         * Makefile: Moved dbxread.c ahead of coffread.c in the list of
1613         source files. 
1614
1615 Wed May 10 11:29:19 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1616
1617         * munch: Make sure that sysv version substitutes for the whole
1618         line. 
1619
1620         * symtab.h: Created an enum misc_function_type to hold the type of
1621         the misc function being recorded.
1622         * dbxread.c (record_misc_function): Branched on dbx symbols to
1623         decide which type to assign to a misc function.
1624         * coffread.c (record_misc_function): Always assign type unknown.
1625         * expread.y [variable]: Now tests based on new values.
1626
1627 Tue May  9 13:03:54 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1628
1629         * symtab.c: Changed inclusion of <strings.h> (doesn't work on
1630         SYSV) to declaration of index.
1631
1632         * Makefile: Changed last couple of READLINE_FLAGS SYSV_DEFINE
1633
1634         * source.c ({forward, reverse}_search_command): Made a default
1635         search file similar to for the list command.
1636
1637 Mon May  8 18:07:51 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1638
1639         * printcmd.c (print_frame_args): If we don't know how many
1640         arguments there are to this function, don't print the nameless
1641         arguments.  We don't know enough to find them.
1642
1643         * printcmd.c (print_frame_args): Call print_frame_nameless_args
1644         with proper arguments (start & end as offsets from addr).
1645
1646         * dbxread.c (read_addl_syms): Removed cases to deal with global
1647         symbols; this should all be done in scan_global_symbols.
1648
1649 Sun May  7 11:36:23 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1650
1651         * Makefile: Added copying.awk to ${OTHERS}.
1652
1653 Fri May  5 16:49:01 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1654
1655         * valprint.c (type_print_varspec_prefix): Don't pass
1656         passed_a_pointer onto children.
1657
1658         * valprint.c (type_print_varspec_suffix): Print "array of" with
1659         whatever the "of" is after tha array brackets.
1660
1661         * valprint.c (type_print_varspec_{prefix,suffix}): Arrange to
1662         parenthesisze pointers to arrays as well as pointers to other
1663         objects. 
1664
1665         * valprint.c (type_print_varspec_suffix): Make sure to print
1666         subscripts of multi-dimensional arrays in the right order.
1667
1668         * infcmd.c (run_command): Fixed improper usages of variables
1669         within remote debugging branch.
1670
1671         * Makefile: Added Convex.notes to the list of extra files to carry
1672         around. 
1673
1674         * dbxread.c (symbol_file_command): Made use of alloca or malloc
1675         dependent on macro define.
1676
1677 Thu May  4 15:47:04 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1678
1679         * Makefile: Changed READLINE_FLAGS to SYSV_DEFINE and called munch
1680         with it also.
1681         * munch: Check first argument for -DSYSV and be looser about
1682         picking up init routines if you find it.
1683
1684         * coffread.c: Made fclose be of type int.
1685
1686         * breakpoint.c (_initialize_breakpoint): Put "unset" into class
1687         alias. 
1688
1689 Wed May  3 14:09:12 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1690
1691         * m-sparc.h [STACK_END_ADDR]: Parameterized off of
1692         machine/vmparam.h (as per John Gilmore's suggestion).
1693
1694         * blockframe.c (get_prev_frame_info): Changed this function back
1695         to checking frameless invocation first before checking frame
1696         chain.  This means that a backtrace up from start will produce the
1697         wrong value, but that a backtrace from a frameless function called
1698         in main will show up correctly.
1699
1700         * breakpoint.c (_initialize_breakpoint): Added entry in help for
1701         delete that indicates that unset is an alias for it.
1702
1703         * main.c (symbol_completion_function): Modified recognition of
1704         being within a single command.
1705
1706 Tue May  2 15:13:45 1989  Randy Smith  (randy at gnu)
1707
1708         * expread.y [variable]: Add some parens to get checking of the
1709         misc function vector right.
1710
1711 Mon May  1 13:07:03 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1712
1713         * default-dep.c (core_file_command): Made reg_offset unsigned.
1714
1715         * default-dep.c (core_file_command): Improved error messages for
1716         reading in registers.
1717
1718         * expread.y: Allowed a BLOCKNAME to be ok for a variable name (as
1719         per C syntax). 
1720
1721         * dbxread.c (psymtab_to_symtab): Flushed stdout after printing
1722         starting message about reading in symbols.
1723
1724         * printcmd.c (print_frame_args): Switched starting place for
1725         printing of frameless args to be sizeof int above last real arg
1726         printed. 
1727
1728         * printcmd.c (print_frame_args): Modified final call to
1729         print_nameless_args to not use frame slots used array if none had
1730         been used. 
1731
1732         * infrun.c (wait_for_inferior):  Take FUNCTION_START_OFFSET into
1733         account when dealing with comparison of pc values to function
1734         addresses. 
1735
1736         * Makefile: Added note about compiling gdb on a Vax running 4.3.
1737
1738 Sun Apr 30 12:59:46 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1739
1740         * command.c (lookup_cmd): Got correct error message on bad
1741         command.  
1742
1743         * m-sun3.h [ABOUT_TO_RETURN]: Modified to allow any of the return
1744         instructions, including trapv and return from interupt.
1745
1746         * command.c (lookup_cmd): If a command is found, use it's values
1747         for error reporting and determination of needed subcommands.
1748
1749         * command.c (lookup_cmd): Use null string for error if cmdtype is
1750         null; pass *line to error instead of **.
1751
1752         * command.c (lookup_cmd_1): End of command marked by anything but
1753         alpha numeric or '-'.  Included ctype.h.
1754
1755 Fri Apr 28 18:30:49 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1756
1757         * source.c (select_source_symtab): Kept line number from ever
1758         being less than 1 in main decode.
1759
1760 Wed Apr 26 13:03:20 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1761
1762         * default-dep.c (core_file_command): Fixed typo.
1763
1764         * utils.c (fprintf_filtered): Don't use return value from
1765         numchars. 
1766
1767         * main.c, command.c (complete_on_cmdlist): Moved function to
1768         command.c. 
1769
1770         * command.c (lookup_cmd): Modified to use my new routine.  Old
1771         version is still there, ifdef'd out.
1772
1773         * command.c, command.h (lookup_cmd_1): Added a routine to do all
1774         of the work of lookup_cmd with no error reporting and full return
1775         of information garnered in search.
1776
1777 Tue Apr 25 12:37:54 1989  Randall Smith  (randy at gluteus.ai.mit.edu)
1778
1779         * breakpoint.c (_initialize_breakpoint): Change "delete
1780         breakpionts" to be in class alias and not have the abbrev flag
1781         set. 
1782
1783         * main.c (symbol_completion_function): Fix to correctly complete
1784         things that correspond to multiword aliases.
1785
1786         * main.c (complete_on_cmdlist): Don't complete on something if it
1787         isn't a command or prefix (ie. if it's just a help topic).
1788
1789         * main.c (symbol_completion_function): Set list index to be 0 if
1790         creating a list with just one element.
1791
1792         * main.c (complete_on_cmdlist): Don't allow things with
1793         abbrev_flag set to be completion values.
1794         (symbol_completion_function): Don't accept an exact match if the
1795         abbrev flag is set.
1796
1797         * dbxread.c (read_type): Fixed typo in comparision to check if
1798         type number existed.
1799
1800         * dbxread.c (read_type): Made sure to only call dbx_lookup_type on
1801         typenums if typenums were not -1.
1802
1803 Mon Apr 24 17:52:12 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1804
1805         * symtab.c: Added strings.h as an include file.
1806
1807 Fri Apr 21 15:28:38 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1808
1809         * symtab.c (lookup_partial_symtab): Changed to only return a match
1810         if the name match is exact (which is what I want in all cases in
1811         which this is currently used.
1812
1813 Thu Apr 20 11:12:34 1989  Randall Smith  (randy at gluteus.ai.mit.edu)
1814
1815         * m-isi.h [REGISTER_U_ADDR]: Installed new version from net.
1816         * default-dep.c: Deleted inclusion of fcntl.h; apparently not
1817         necessary.
1818         * Makefile: Added comment about compiling on isi under 4.3.
1819
1820         * breakpoint.c (break_command_1): Only give decode_line_1 the
1821         default_breakpoint_defaults if there's nothing better (ie. make
1822         the default be off of the current_source notes if at all
1823         possible). 
1824
1825         * blockframe.c (get_prev_frame_info): Clean up comments and
1826         delete code ifdefed out around FRAMELESS_FUNCTION_INVOCATION test. 
1827
1828         * remote.c: Added a "?" message to protocol.
1829         (remote_open): Used at startup.
1830         (putpkt): Read whatever garbage comes over the line until we see a
1831         '+' (ie. don't treat garbage as a timeout).
1832
1833         * valops.c (call_function): Eliminated no longer appropriate
1834         comment.
1835
1836         * infrun.c (wait_for_inferior): Changed several convex conditional
1837         compilations to be conditional on CANNOT_EXECUTE_STACK.
1838
1839 Wed Apr 19 10:18:17 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1840
1841         * printcmd.c (print_frame_args): Added code to attempt to deal
1842         with arguments that are bigger than an int.
1843
1844         Continuation of Convex/Fortran changes:
1845         * printcmd.c (print_scalar_formatted): Added leading zeros to
1846         printing of large integers.
1847         (address_info, print_frame_args): Added code to deal with
1848         LOC_REF_ARG.
1849         (print_nameless_args): Allow param file to specify a routine with
1850         which to print typeless integers.
1851         (printf_command): Deal with long long values well.
1852         * stack.c (print_frame_arg_vars): Change to deal with LOC_REF_ARG.
1853         * symmisc.c (print_symbol): Change to deal with LOC_REF_ARG.
1854         * symseg.h: Added LOC_REF_ARG to enum address_class.
1855         * symtab.c (lookup_block_symbol): Changed to deal with
1856         LOC_REF_ARG.
1857         * valarith.c (value_subscripted_rvalue): Created.
1858         (value_subscript): Used above when app.
1859         (value_less, value_equal): Change to cast to (char *) before doing
1860         comparison, for machines where that casting does something.
1861         * valops.c (call_function): Setup to deal with machines where you
1862         cannot execute code on the stack segment.
1863         * valprint.c (val_print): Make sure that array element size isn't
1864         zero before printing.  Set address of default array to address of
1865         first element.  Put in a couple of int cast.  Removed some convex
1866         specific code. Added check for endianness of machine in case of a
1867         packed structure.  Added code for printing typeless integers and
1868         for LONG LONG's.
1869         (set_maximum_command): Change to use parse_and_eval_address to get
1870         argument (so can use expressions there).
1871         * values.c (value_of_internalvar, set_internalvar_component,
1872         set_internalvar, convenience_info): Add in hooks for trapped
1873         internal vars.
1874         (unpack_long): Deal with LONG_LONG.
1875         (value_field): Remove LONGEST cast.
1876         (using_struct_return): Fixed typo ENUM ==> UNION.
1877         * xgdb.c (_initialize_xgdb): Make sure that specify_exec_file_hook
1878         is not called unless we are setting up a windowing environ.
1879
1880 Tue Apr 18 13:43:37 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1881
1882         Various changes involved in 1) getting gdb to work on the convex,
1883         and 2) Getting gdb to work with fortran (due to convex!csmith):
1884         * convex-dep.c, convex-opcode.h, m-convex.h, convex-pinsn.c:
1885         Created (or replaced with new files).
1886         * Makefile: Add convex dependent files.  Changed default flags to
1887         gnu malloc to be CFLAGS.
1888         * config.gdb: Added convex to list of machines.
1889         * core.c (files_info): Added a FILES_INFO_HOOK to be used if
1890         defined.
1891         (xfer_core_file): Conditionalized compilation of xfer_core_file on
1892         the macro XFER_CORE_FILE.
1893         * coffread.c (record_misc_function): Made sure it zerod type field
1894         (which is now being used; see next).
1895         * dbxread.c: Included some convex dependent include files.
1896         (copy_pending, fix_common_blocks): Created.
1897         [STAB_REG_REGNUM, BELIEVE_PCC_PROMOTION]: Created default values;
1898         may be overridden in m-*.h.
1899         Included data structures for keeping track of common blocks.
1900         (dbx_alloc_type): Modified; if called with negative 1's will
1901         create a type without putting it into the type vector.
1902         (read_dbx_symtab, read_addl_syms): Modified calls to
1903         record_misc_function to include the new information.
1904         (symbol_file_command, psymtab_to_symtab, add_file_command):
1905         Modified reading in of string table to adapt to machines which
1906         *don't* store the size of the string table in the first four bytes
1907         of the string table.
1908         (read_dbx_symtab, scan_file_globals, read_ofile_symtab,
1909         read_addl_syms): Modified assignment of namestring to accept null
1910         index into symtab as ok.
1911         (read_addl_syms): Modified readin of a new object file to fiddle
1912         with common blocks correctly.
1913         (process_one_symbol): Fixed incorrect comment about convex.  Get
1914         symbols local to a lexical context from correct spot on a per
1915         machine basis.  Catch a bug in pcc which occaisionally puts an SO
1916         where there should be an SOL.  Seperate sections for N_BCOMM &
1917         N_ECOMM.
1918         (define_symbol): Ignore symbols with no ":".  Use
1919         STAB_REG_TO_REGNUM.  Added support for function args calling by
1920         reference.
1921         (read_type): Only read type number if one is there.  Remove old
1922         (#if 0'd out) array code.
1923         (read_array_type): Added code for dealing with adjustable (by
1924         parameter) arrays half-heartedly.
1925         (read_enum_type): Allow a ',' to end a list of values.
1926         (read_range_type): Added code to check for long long.
1927         * expread.y: Modified to use LONGEST instead of long where
1928         necessary.  Modified to use a default type of int for objects that
1929         weren't in text space.
1930         * findvar.c (locate_var_value, read_var_value): Modified to deal
1931         with args passed by reference.
1932         * inflow.c (create_inferior): Used CREATE_INFERIOR_HOOK if it
1933         exists.
1934         * infrun.c (attach_program): Run terminal inferior when attaching.
1935         (wait_for_inferior): Removed several convex dependencies.
1936         * main.c (float_handler): Created.
1937         Made whatever signal indicates a stop configurable (via macro
1938         STOP_SIGNAL).
1939         (main): Setup use of above as a signal handler.  Added check for
1940         "-nw" in args already processed.
1941         (command_line_input): SIGTSTP ==>STOP_SIGNAL.
1942
1943         * expread.y: Added token BLOCKNAME to remove reduce/reduce
1944         conflict.
1945         * Makefile: Change message to reflect new grammar.
1946
1947 Mon Apr 17 13:24:59 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1948
1949         * printcmd.c (compare_ints): Created.
1950         (print_frame_args): Modified to always print arguments in the
1951         order in which they were found in the symbol table.  Figure out
1952         what apots are missing on the fly.
1953
1954         * stack.c (up_command): Error if no inferior or core file.
1955
1956         * m-i386.h, m-symmetry.h [FRAMELESS_FUNCTION_INVOCATION]: Created;
1957         same as m68k.
1958
1959         * dbxread.c (define_symbol): Changed "desc==0" test to
1960         "processing_gcc_compilation", which is the correct way to do it.
1961
1962 Sat Apr 15 17:18:38 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1963
1964         * expread.y: Added precedence rules for arglists, ?:, and sizeof
1965         to eliminate some shift-reduce conflicts.
1966         * Makefile: Modified "Expect" message to conform to new results.
1967
1968 Thu Apr 13 12:29:26 1989  Randall Smith  (randy at plantaris.ai.mit.edu)
1969
1970         * inflow.c (terminal_init_inferior): Fixed typo in recent diff
1971         installation; TIOGETC ==> TIOCGETC.
1972
1973         * m-vax.h, m-sun2.h, m-sun3.h, m-sparc.h, m-hp*.h, m-isi.h,
1974         m-news.h [FRAMELESS_FUNCTION_INVOCATION]: Created macro with
1975         appropriate definition.
1976
1977 Wed Apr 12 15:30:29 1989  Randall Smith  (randy at plantaris.ai.mit.edu)
1978
1979         * blockframe.c (get_prev_frame_info): Added in a macro to specify
1980         when a "frame" is called without a frame pointer being setup.
1981
1982         * Makefile [clean]: Made sure to delete gnu malloc if it was being
1983         used. 
1984
1985 Mon Apr 10 12:43:49 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
1986
1987         * dbxread.c (process_one_symbol): Reset within_function to 0 after
1988         last RBRAC of a function.
1989
1990         * dbxread.c (read_struct_type): Changed check for filling in of
1991         TYPE_MAIN_VARIANT of type.
1992
1993         * inflow.c (create_inferior): Conditionalized fork so that it
1994         would be used if USG was defined and HAVE_VFORK was not defined.
1995
1996         * defs.h: Added comment about enum command_class element
1997         class_alias. 
1998
1999         * dbxread.c (process_one_symbol): Fixed a typo with interesting
2000         implications for associative processing in the brain (':' ==> 'c').
2001
2002         * sparc-dep.c (isabranch): Changed name to isannulled, modified to
2003         deal with coprocessor branches, and improved comment.
2004         (single_step): Changed to trap at npc + 4 instead of pc +8 on
2005         annulled branches.  Changed name in call to isabranch as above.
2006
2007         * m-sun4os4.h (STACK_END_ADDRESS): Changed it to 0xf8000000 under
2008         os 4.0.
2009
2010 Sat Apr  8 17:04:07 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2011
2012         * dbxread.c (process_one_symbol): In the case N_FUN or N_FNAME the
2013         value being refered to is sometimes just a text segment variable.
2014         Catch this case.
2015
2016         * infrun.c (wait_for_inferior), breakpoint.c
2017         (breakpoint_stop_status): Move the selection of the frame to
2018         inside breakpoint_stop_status so that the frame only gets selected
2019         (and the symbols potentially read in) if the symbols are needed.
2020
2021         * symtab.c (find_pc_psymbol): Fixed minor misthough (pc >=
2022         fucntion start, not >).
2023
2024         * breakpoint.c (_initialize_breakpoint): Change "delete" internal
2025         help entry to simply refer to it being a prefix command (since the
2026         list of subcommands is right there on a "help delete").
2027
2028 Fri Apr  7 15:22:18 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2029
2030         * blockframe.c (find_pc_partial_function): Created; figures out
2031         what function pc is in (name and address) without reading in any
2032         new symbols.
2033         * symtab.h: Added decl for above.
2034         * infrun.c (wait_for_inferior): Used instead of
2035         find_pc_function_start.
2036         * stack.c (print_frame_info): Used instead of hand coding for same
2037         thing. 
2038
2039         * dbxread.c (psymtab_to_symtab): No longer patch readin pst's out
2040         of the partial_symtab_list; need them there for some checks.
2041         * blockframe.c (block_for_pc), source.c (select_source_symtab),
2042         symtab.c (lookup_symbol, find_pc_symtab, list_symbols): Made extra
2043         sure not to call psymtab_to_symtab with ->readin == 1, since these
2044         psymtab now stay on the list.
2045         * symtab.c (sources_info): Now distinguishes between psymtabs with
2046         readin set and those with it not set.
2047
2048         * symtab.c (lookup_symtab): Added check through partial symtabs
2049         for name with .c appended.
2050
2051         * source.c (select_source_symtab): Changed semantics a little so
2052         that the argument means something.
2053         * source.c (list_command), symtab.c (decode_line_1): Changed call
2054         to select_source_symtab to match new conventions.
2055
2056         * dbxread.c (add_file_command): This command no longer selects a
2057         symbol table to list from.
2058
2059         * infrun.c (wait_for_inferior): Only call find_pc_function (to
2060         find out if we have debugging symbols for a function and hence if
2061         we should step over or into it) if we are doing a "step".
2062
2063 Thu Apr  6 12:42:28 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2064
2065         * main.c (command_line_input): Added a local buffer and only
2066         copied information into the global main.c buffer when it is
2067         appropriate for it to be saved (and repeated).
2068         (dont_repeat): Only nail line when we are reading from stdin
2069         (otherwise null lines won't repeat and what's in line needs to be
2070         saved).
2071         (read_command_lines): Fixed typo; you don't what to repeat when
2072         reading command lines from the input stream unless it's standard
2073         input. 
2074
2075         John Gilmore's ([email protected]) mods for USG gdb:
2076         * inflow.c: Removed inclusion of sys/user.h; no longer necessary.
2077         (, terminal_init_inferior, terminal_inferior, terminal_ours_1,
2078         term_status_command, _initialize_inflow) Seperated out declaration
2079         and usage of terminal mode structures based on the existence of
2080         the individual ioctls.
2081         * utils.c (request_quit): Restore signal handler under USG.  If
2082         running under USG initialize sys_siglist at run time (too much
2083         variation between systems).
2084
2085 Wed Apr  5 13:47:24 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2086
2087         John Gilmore's ([email protected]) mods for USG gdb:
2088         * default-dep.c: Moved include of sys/user.h to after include of
2089         a.out.h.
2090         (store_inferior_registers): Fixed error message.
2091         (core_file_command): Improved error messages from reading in of
2092         u area in core file.  Changed calculation of offset of registers
2093         to account for some machines putting it in as an offset rather
2094         than an absolute address.  Changed error messages for reading of
2095         registers from core file.
2096
2097         * coffread.c (read_file_hdr): Added final check for BADMAG macro
2098         to use if couldn't recognize magic number.
2099         * Makefile: Added explicit directions for alloca addition.
2100         Included alloca.c in list of possible library files. Cleaned up
2101         possible library usage.  Included additional information on gcc
2102         and include files.  
2103
2104         * source.c, remote.c, inflow.c, dbxread.c, core.c, coffread.c:
2105         Changed include of sys/fcntl.h to an include of fcntl.h (as per
2106         posix; presumably this will break fewer machines.  I hopw).
2107         * README: Added a pointer to comments at top of Makefile.
2108         * Makefile: Added a comment about machines which need fcntl.h in
2109         sys. 
2110
2111 Tue Apr  4 11:29:04 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2112
2113         * valprint.c (set_prettyprint_command, set_unionprint_command,
2114         format_info): Created.
2115         (_initialize_valprint): Added to lists of commands.
2116
2117         * gdb.texinfo [Backtrace]: Added a section describing the format
2118         if symbols have not yet been read in.
2119
2120         * valprint.c (val_print): Added code to prettyprint structures if
2121         "prettyprint" is set and only to print unions below the top level
2122         if "unionprint" is set.
2123
2124         * infcmd.c (registers_info), valprint.c (value_print, val_print):
2125         Added argument to call to val_print indicating deptch of recursion.
2126
2127         * symtab.[ch] (find_pc_psymbol): Created; finds static function
2128         psymbol with value nearest to but under value passed.
2129         * stack.c (print_frame_info): Used above to make sure I have best
2130         fit to pc value.
2131
2132         * symseg.h (struct partial_symbol): Added value field.
2133         * dbxread.c (read_dbx_symtab): Set value field for partial symbols
2134         saved (so that we can lookup static symbols).
2135
2136         * symtab.[ch] (find_pc_symtab): Changed to external.
2137         * stack.c (select_frame): Call above to make sure that symbols for
2138         a selected frame is readin.
2139
2140 Mon Apr  3 12:48:16 1989  Randall Smith  (randy at plantaris.ai.mit.edu)
2141
2142         * stack.c (print_frame_info): Modified to only print out full
2143         stack frame info on symbols whose tables have been read in.
2144         * symtab.c, symtab.h (find_pc_psymtab): Made function external;
2145         above needed it.
2146
2147         * main.c (,set_verbose_command, initialize_main): Created a
2148         variable "info_verbose" which says to talk it up in various and
2149         sundry places.  Added command to set this variable.
2150         * gdb.texinfo (GDB Output): Added documentation on "set verbose"
2151         and changed the name of the "Screen Output" section to "GDB
2152         Output".
2153         * dbxread.c (psymtab_to_symtab): Added information message about
2154         symbol readin.  Conditionalized on above.
2155
2156         * dbxread.c (define_symbol): Made an "i" constant be of class
2157         LOC_CONST and an "r" constant be of class LOC_CONST_BYTES.
2158
2159         * README: Made a note about modifications which may be necessary
2160         to the manual for this version of gdb.
2161
2162         * blockframe.c (get_prev_frame_info): Now we get saved address and
2163         check for validity before we check for leafism.  This means that
2164         we will catch the fact that we are in start, but we will miss any
2165         fns that start calls without an fp.  This should be fine.
2166
2167         * m-*.h (FRAME_CHAIN): Modified to return 0 if we are in start.
2168         This is usually a test for within the first object file.
2169         * m-sparc.h (FRAME_CHAIN): The test here is simply if the fp saved
2170         off the the start sp is 0.
2171
2172         * blockframe.c (get_prev_frame_info): Removed check to see if we
2173         were in start.  Screws up sparc.  
2174
2175         * m-sparc.h (FRAME_FIND_SAVED_REGISTERS): Changed test for dummy
2176         frame to not need frame to be innermost.
2177
2178         * gdb.texinfo: Added section on frameless invocations of functions
2179         and when gdb can and can't deal with this.
2180
2181         * stack.c (frame_info): Disallowed call if no inferior or core
2182         file; fails gracefully if truely bad stack specfication has been
2183         given (ie. parse_frame_specification returns 0).
2184
2185 Fri Mar 31 13:59:33 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2186
2187         * infrun.c (normal_stop): Changed references to "unset-env" to
2188         "delete env".
2189
2190         * infcmd.c (_initialize_infcmd): Change reference to set-args in
2191         help run to "set args".
2192
2193         * remote.c (getpkt): Allow immediate quit when reading from
2194         device; it could be hung.
2195
2196         * coffread.c (process_coff_symbol): Modify handling of REG
2197         parameter symbols.
2198
2199 Thu Mar 30 15:27:23 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2200
2201         * dbxread.c (symbol_file_command): Use malloc to allocate the
2202         space for the string table in symbol_file_command (and setup a
2203         cleanup for this).  This allows a more graceful error failure if
2204         there isn't any memory availible (and probably allows more memory
2205         to be avail, depending on the machine).
2206
2207         Additional mods for handling GNU C++ (from Tiemann):
2208         * dbxread.c (read_type): Added case for '#' type (method type, I
2209         believe).
2210         (read_struct_type): If type code is undefined, make the main
2211         variant for the type be itself.  Allow recognition of bad format
2212         in reading of structure fields.
2213         * eval.c (evaluate_subexp): Modify evaluation of a member of a
2214         structure and pointer to same to make sure that the syntax is
2215         being used correctly and that the member is being accessed correctly.
2216         * symseg.h: Added TYPE_CODE_METHOD to enum type_code.  Add a
2217         pointer to an array of argument types to the type structure.
2218         * symtab.c (lookout_method_type, smash_to_method_type): Created.
2219         * symtab.h (TYPE_ARG_TYPES): Created.
2220         * valops.c (call_function): Modified handling of methods to be the
2221         same as handling of functions; no longer check for members.
2222         * valprint.c (val_print, type_print_varspec_{prefix,suffix},
2223         type_print_base): Added code to print method args correctly.
2224         * values.c (value_virtual_fn_field): Modify access to virtual
2225         function table.
2226
2227 Wed Mar 29 13:19:34 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2228
2229         * findvar.c: Special cases for REGISTER_WINDOWS: 1) Return 0 if we
2230         are the innermost frame, and 2) return the next frame in's value
2231         if the SP is being looked for.
2232
2233         * blockframe.c (get_next_frame): Created; returns the next (inner)
2234         frame of the called frame.
2235         * frame.h: Extern delcaration for above.
2236
2237         * main.c (command_line_input): Stick null at end before doing
2238         history expansion.
2239
2240 Tue Mar 28 17:35:50 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2241
2242         * dbxread.c (read_dbx_symtab): Added namestring assignment to
2243         N_DATA/BSS/ABS case.  Sigh.
2244
2245 Sat Mar 25 17:49:07 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2246
2247         * expread.y: Defined YYDEBUG.
2248
2249 Fri Mar 24 20:46:55 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2250
2251         * symtab.c (make_symbol_completion_list): Completely rewrote to
2252         never call psymtab_to_symtab, to do a correct search (no
2253         duplicates) through the visible symbols, and to include structure
2254         and union fields in the things that it can match.
2255
2256 Thu Mar 23 15:27:44 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2257
2258         * dbxread.c (dbx_create_type): Created; allocates and inits space
2259         for a type without putting it on the type vector lists.
2260         (dbx_alloc_type): Uses above.
2261
2262         * Makefile: xgdb.o now produced by default rules for .o.c.
2263
2264 Fri Mar 17 14:27:50 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2265
2266         * infrun.c: Fixed up inclusion of aouthdr.h on UMAX_PTRACE.
2267
2268         * Makefile, config.gdb: Added hp300bsd to potential
2269         configurations.
2270         * hp300bsd-dep.c, m-hp300bsd.h: Created.
2271
2272         * infrun.c (wait_for_inferior): Rewrote to do no access to
2273         inferior until we make sure it's still there.
2274
2275         * inflow.c (inferior_died): Added a select to force the selected
2276         frame to null when inferior dies.
2277
2278         * dbxread.c (symbol_file_command): free and zero symfile when
2279         discarding symbols.
2280
2281         * core.c (xfer_core_file): Extended and cleaned up logic in
2282         interpeting memory address.
2283
2284         * core.c (xfer_core_file): Extended opening comment.
2285
2286 Thu Mar 16 15:39:42 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2287
2288         * coffread.c (symbol_file_command): Free symfile name when freeing
2289         contents.
2290
2291         * blockframe.c (get_prev_frame_info): Added to fatal error message
2292         to indicate that it should never happen.
2293
2294         * stack.c (frame_info): Printed out value of "saved" sp seperately
2295         to call attention to the fact that it isn't stored in memory
2296         anywhere; the actual previous frames address is printed.
2297
2298         * m-sparc.h (FRAME_FIND_SAVED_REGS): Set address of sp saved in
2299         frame to value of fp (rather than value of sp in current frame).
2300
2301         * expread.y: Allow "unsigned" as a type itself, as well as a type
2302         modifier. 
2303
2304         * coffread.c: Added declaration for fclose
2305
2306 Fri Mar 10 17:22:31 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2307
2308         * main.c (command_line_input): Checked for -1 return from
2309         readline; indicates EOF.
2310
2311 Fri Mar  3 00:31:27 1989  Randall Smith  (randy at gluteus.ai.mit.edu)
2312
2313         * remote.c (remote_open): Cast return from signal to (void (*)) to
2314         avoid problems on machines where the return type of signal is (int
2315         (*)). 
2316
2317         * Makefile: Removed deletion of version control from it (users
2318         will need it for their changes).
2319
2320 Thu Mar  2 15:32:21 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2321
2322         * symmetry-dep.c (print_1167_regs): Print out effective doubles on
2323         even number regs.
2324         (fetch_inferior_registers): Get the floating point regs also.
2325
2326         * xgdb.c (do_command): Copied command before calling execute
2327         command (so that execute_command wouldn't write into text space).
2328
2329         * copying.awk: Created (will produce copying.c as output when
2330         given COPYING as input).
2331         * Makefile: Used above to create copying.c.
2332         * main.c: Took out info_warranty and info_copying.
2333
2334         * *.*: Changed copyright notice to use new GNU General Public
2335         License (includes necessary changes to manual).
2336
2337         * xgdb.c (create_text_widget): Created text_widget before I create
2338         the source and sink.
2339         (print_prompt): Added fflush (stdout).
2340
2341         * Makefile: Added -lXmu to the compilation line for xgdb.  Left
2342         the old one there incase people still had R2.
2343
2344         * README: Added note about -gg format.
2345
2346         * remote.c (getpkt): Fixed typo; && ==> &.
2347
2348         * Makefile: Added new variable READLINE_FLAGS so that I could
2349         force compilation of readline.c and history.c with -DSYSV on
2350         system V machines.  Mentioned in Makefile comments at top.
2351
2352 Wed Mar  1 17:01:01 1989  Randall Smith  (randy at gluteus.ai.mit.edu)
2353
2354         * hp9k320-dep.c (store_inferior_registers): Fixed typo.
2355
2356 Fri Feb 24 14:58:45 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2357
2358         * hp9k320-dep.c (store_inferior_registers,
2359         fetch_inferior_registers): Added support for remote debugging. 
2360
2361         * remote.c (remote_timer): Created.
2362         (remote_open, readchar): Setup to timeout reads if they take
2363         longer than "timeout".  This allows one to debug how long such
2364         things take.
2365         (putpkt): Modified to print a debugging message (if such things
2366         are enabled) each time it resends a packet.
2367         (getpkt): Modified to make the variable CSUM unsigned and read it
2368         CSUM with an & 0xff (presumably to deal with poor sign extension
2369         on some machines).  Also made c1 and c2 unsigned.
2370         (remote_wait): Changed buffer to unsigned status.
2371         (remote_store_registers, remote_write_bytes): Puts a null byte at
2372         the end of the control string.
2373
2374         * infcmd.c (attach_command, detach_command, _initialize_infcmd):
2375         Made attach_command and detach_command always availible, but
2376         modified them to only allow device file attaches if ATTACH_DETACH
2377         is not defined.
2378
2379         * gdb.texinfo: Added cross reference from attach command to remote
2380         debugging. 
2381
2382 Thu Feb 23 12:37:59 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2383
2384         * remote.c (remote_close): Created to close the remote connection
2385         and set the remote_debugging flag to 0.
2386         * infcmd.c (detach_command): Now calls the above when appropriate. 
2387
2388         * gdb.texinfo: Removed references to the ``Distribution'' section
2389         in the copyright.
2390
2391         * main.c, utils.c (ISATTY): Created default defintions of this
2392         macro which use isatty and fileno.
2393         * utils.c (fprintf_filtered, print_spaces_filtered), main.c
2394         (command_loop, command_line_input): Used this macro.
2395         * m-news.h: Created a definition to override this one.
2396
2397         * utils.c (fprintf_filtered): Made line_size static (clueless).
2398
2399         * utils.c (fprintf_filtered): Changed max length of line printed
2400         to be 255 chars or twice the format length.
2401
2402         * symmetry-dep.c, m-symmetry: Fixed typo (^L ==> \f).
2403
2404         * printcmd.c (do_examine): Fixed typo (\n ==> \t).
2405
2406 Wed Feb 22 16:00:33 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2407
2408         Contributed by Jay Vosburgh ([email protected])
2409         * m-symmetry.h, symmetry-dep.c: Created.
2410         * Makefile: Added above in appropriate lists.
2411         * config.gdb: Added "symmetry" target.
2412
2413         * utils.c (prompt_for_continue): Zero'd chars_printed also.
2414
2415         * utils.c (fprintf_filtered): Call prompt for continue instead of
2416         doing it yourself.
2417
2418         * dbxread.c (read_dbx_symtab): Added code to conditionalize what
2419         symbol type holds to "x.o" or "-lx" symbol that indicates the
2420         beginning of a new file.
2421
2422 Tue Feb 21 16:22:13 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2423
2424         * gdb.texinfo: Deleted @ignore block at end of file.
2425
2426         * findvar.c, stack.c: Changed comments that refered to "frame
2427         address" to "frame id".
2428
2429         * findvar.c (locate_var_value): Modified so that taking the
2430         address of an array generates an object whose type is a pointer to
2431         the elements of the array.
2432
2433 Sat Feb 18 16:35:14 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2434
2435         * gdb.texinfo: Removed reference to "!" as a shell escape
2436         character.  Added a section on controling screen output
2437         (pagination); changing "Input" section to "User Interface"
2438         section.  Changed many inappropriate subsubsection nodes into
2439         subsections nodes (in the readline and history expansion
2440         sections). 
2441
2442 Fri Feb 17 11:10:54 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2443
2444         * utils.c (set_screensize_command): Created.
2445         (_initialize_utils): Added above to setlist.
2446
2447         * main.c (main): Added check to see if ~/.gdbinit and .gdbinit
2448         were the same file; only one gets read if so.  Had to include
2449         sys/stat.h for this.
2450
2451         * valprint.c (type_print_base): Changed calls to print_spaces to
2452         print_spaces_filtered. 
2453
2454         * main.c (command_line_input): Chaned test for command line
2455         editing to check for stdin and isatty.
2456
2457         * main.c (command_loop): Call reinitialize_more_filter before each
2458         command (if reading from stdin and it's a tty).
2459         utils.c (initialize_more_filter): Changed name to
2460         reinitialize_more_filter; killed arguments.
2461         utils.c (_initialize_utils): Created; initialized lines_per_page
2462         and chars_per_line here.
2463
2464         * utils.c (fprintf_filtered): Removed printing of "\\\n" after
2465         printing linesize - 1 chars; assume that the screen display will
2466         take care of that.  Still watching that overflow.
2467
2468         * main.c: Created the global variables linesize and pagesize to
2469         describe the number of chars per line and lines per page.
2470
2471 Thu Feb 16 17:27:43 1989  Randall Smith  (randy at gluteus.ai.mit.edu)
2472
2473         * printcmd.c (do_examine, print_scalar_formatted, print_address,
2474         whatis_command, do_one_display, ptype_command), valprint.c
2475         (value_print, val_print, type_print_method_args, type_print_1,
2476         type_print_derivation_info, type_print_varspec_suffix,
2477         type_print_base), breakpoint.c (breakpoints_info, breakpoint_1),
2478         values.c (history_info), main.c (editing_info, warranty_info,
2479         copying_info), infcmd.c (registers_info), inflow.c
2480         (term_status_command), infrun.c (signals_info), stack.c
2481         (backtrace_command, print_frame_info), symtab.c (list_symbols,
2482         output_source_filename), command.c (help_cmd, help_list,
2483         help_command_list): Replaced calls to printf, fprintf, and putc
2484         with calls to [f]printf_filtered to handle more processing.
2485         Killed local more emulations where I noticed them.
2486
2487 Wed Feb 15 15:27:36 1989  Randall Smith  (randy at gluteus.ai.mit.edu)
2488
2489         * defs.h, utils.c (initialize_more_filter, fprintf_filtered,
2490         printf_filtered): Created a printf that will also act as a more
2491         filter, prompting the user for a <return> whenever the page length
2492         is overflowed.
2493
2494         * symtab.c (list_symbols): Elminated some code inside of an #if 0. 
2495
2496 Tue Feb 14 11:11:24 1989  Randall Smith  (randy at gluteus.ai.mit.edu)
2497
2498         * Makefile: Turned off backup versions for this file; it changes
2499         too often.
2500
2501         * command.c (lookup_cmd, _initialize_command): Changed '!' so that
2502         it was no longer a shell escape.  "sh" must be used.
2503
2504         * main.c (command_line_input, set_history_expansion,
2505         initialize_main): Turned history expansion on, made it the
2506         default, and only execute it if the first character in the line is
2507         a '!'.
2508
2509         * version.c, gdb.texinfo: Moved version to 3.2 (as usual, jumping
2510         the gun some time before release).
2511
2512         * gdb.texinfo: Added sections (adapted from Brian's notes) on
2513         command line editing and history expansion.
2514
2515         * main.c (set_command_editing, initialize_main): Modified name to
2516         set_editing and modified command to "set editing".
2517
2518         * Makefile: Put in dependencies for READLINEOBJS.
2519
2520         * main.c (history_info, command_info): Combined into new command
2521         info; deleted history_info.
2522         (initialize_main): Deleted "info history" command; it was
2523         interfering with the value history.
2524
2525         * coffread.c (enter_linenos): Modified to do bit copy instead of
2526         pointer dereference, since the clipper machine can't handle having
2527         longs on short boundaries.
2528         (read_file_hdr): Added code to get number of syms for clipper.
2529
2530         * stack.c (return_command): Fixed method for checking when all of
2531         the necessary frames had been popped.
2532
2533         * dbxread.c (read_dbx_symtab (ADD_PSYMBOL_TO_LIST)): Fixed typo in
2534         allocation length.
2535
2536 Mon Feb 13 10:03:27 1989  Randall Smith  (randy at gluteus.ai.mit.edu)
2537
2538         * dbxread.c (read_dbx_symtab): Split assignment to namestring into
2539         several different assignments (so that it wouldn't be done except
2540         when it had to be).  Shortened switches and duplicated code to
2541         produce the lowest possible execution time.  Commented (at top of
2542         switch) which code I duplicated.
2543
2544         * dbxread.c (read_dbx_symtab): Modified which variables were
2545         register and deleted several variables which weren't used.  Also
2546         eliminated 'F' choice from subswitch, broke out strcmp's, reversed
2547         compare on line 1986, and elminated test for !namestring[0]; it is
2548         caught by following test for null index of ':'.
2549
2550 Sun Feb 12 12:57:56 1989  Randall Smith  (randy at plantaris.ai.mit.edu)
2551
2552         * main.c (gdb_completer_word_break_characters): Turned \~ into ~.
2553
2554 Sat Feb 11 15:39:06 1989  Randall Smith  (randy at plantaris.ai.mit.edu)
2555
2556         * symtab.c (find_pc_psymtab): Created; checks all psymtab's till
2557         it finds pc.
2558         (find_pc_symtab): Used; fatal error if psymtab found is readin
2559         (should have been caught in symtab loop).
2560         (lookup_symbol): Added check before scan through partial symtab
2561         list for symbol name to be on the misc function vector (only if in
2562         VAR_NAMESPACE).  Also made sure that psymtab's weren't fooled with
2563         if they had already been read in.
2564         (list_symbols): Checked through misc_function_vector for matching
2565         names if we were looking for functions.
2566         (make_symbol_completion_list): Checked through
2567         misc_function_vector for matching names.
2568         * dbxread.c (read_dbx_symtab): Don't bother to do processing on
2569         global function types; this will be taken care of by the
2570         misc_function hack.
2571
2572         * symtab.h: Modified comment on misc_function structure.
2573
2574 Fri Feb 10 18:09:33 1989  Randall Smith  (randy at plantaris.ai.mit.edu)
2575
2576         * symseg.h, dbxread.c (read_dbx_symtab, init_psymbol_list,
2577         start_psymtab, end_psymtab), coffread.c (_initialize_coff),
2578         symtab.c (lookup_partial_symbol, list_symbols,
2579         make_symbol_completion_list): Changed separate variables for
2580         description of partial symbol allocation into a specific kind of
2581         structure.
2582
2583         (read_dbx_symtab, process_symbol_for_psymtab): Moved most of
2584         process_symbol_for_psymtab up into read_dbx_symtab, moved a couple
2585         of symbol types down to the ingore section, streamlined (I hope)
2586         code some, modularized access to psymbol lists.
2587
2588 Thu Feb  9 13:21:19 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2589
2590         * main.c (command_line_input): Made sure that it could recognize
2591         newlines as indications to repeat the last line.
2592
2593         * symtab.c (_initialize_symtab): Changed size of builtin_type_void
2594         to be 1 for compatibility with gcc.
2595
2596         * main.c (initialize_main): Made history_expansion the default
2597         when gdb is compiled with HISTORY_EXPANSION.
2598
2599         * readline.c, readline.h, history.c, history.h, general.h,
2600         emacs_keymap.c, vi_keymap.c, keymaps.c, funmap.c: Made all of
2601         these links to /gp/gnu/bash/* to keep them updated.
2602         * main.c (initialize_main): Made default be command editing on. 
2603
2604 Wed Feb  8 13:32:04 1989  & Smith  (randy at hobbes)
2605
2606         * dbxread.c (read_dbx_symtab): Ignore N_BSLINE on first
2607         readthrough. 
2608
2609         * Makefile: Removed convex-dep.c from list of distribution files.
2610
2611 Tue Feb  7 14:06:25 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2612
2613         * main.c: Added command lists sethistlist and unsethistlist to
2614         accesible command lists.
2615         (parse_binary_operation): Created to parse a on/1/yes vs. off/0/no
2616         spec.
2617         (set_command_edit, set_history, set_history_expansion,
2618         set_history_write, set_history_size, set_history_filename,
2619         command_info, history_info): Created to allow users to control
2620         various aspects of command line editing.
2621
2622         * main.c (symbol_creation_function): Created.
2623         (command_line_input, initialize_main): Added rest of stuff
2624         necessary for calling bfox' command editing routines under
2625         run-time control.
2626         * Makefile: Included readline and history source files for command
2627         editing; also made arrangements to make sure that the termcap
2628         library was available.
2629         * symtab.c (make_symbol_completion_list): Created.
2630
2631 Mon Feb  6 16:25:25 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2632
2633         * main.c: Invented variables to control command editing.
2634         command_editing_p, history_expansion_p, history_size,
2635         write_history_p, history_filename.  Initialized them to default
2636         values in initialize_main.
2637
2638         * infcmd.c (registers_info), infrun.c (signals_info), 
2639         * main.c (gdb_read_line): Changed name to command_line_input.
2640         (readline): Changed name to gdb_readline; added second argument
2641         indicating that the read value shouldn't be saved (via malloc).
2642         * infcmd.c (registers_info), infrun.c (signals_info), main.c
2643         (copying_info), symtab.c (output_source_filename, MORE,
2644         list_symbols): Converted to use gdb_readline in place of
2645         gdb_read_line. 
2646
2647
2648 Sun Feb  5 17:34:38 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2649
2650         * blockframe.c (get_frame_saved_regs): Removed macro expansion
2651         that had accidentally been left in the code.
2652
2653 Sat Feb  4 17:54:14 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2654
2655         * main.c (gdb_read_line, readline): Added function readline and
2656         converted gdb_read_line to use it.  This was a conversion to the
2657         line at a time style of input, in preparation for full command
2658         editing. 
2659
2660 Fri Feb  3 12:39:03 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2661
2662         * dbxread.c (read_dbx_symtab): Call end_psymtab at the end of
2663         read_dbx_symtab if any psymtab still needs to be completed.
2664
2665         * config.gdb, sun3-dep.c: Brought these into accord with the
2666         actual sun2 status (no floating point period; sun3-dep.c unless
2667         has os > 3.0).
2668         * m-sun2os2.h: Deleted; not needed.
2669
2670         * config.gdb: Added a couple of aliases for machines in the
2671         script. 
2672
2673         * infrun.c: Added inclusion of aouthdr.h inside of #ifdef UMAX
2674         because ptrace needs to know about the a.out header.
2675
2676         * Makefile: Made dep.o depend on dep.c and config.status only.
2677
2678         * expread.y: Added declarations of all of the new write_exp_elt
2679         functions at the include section in the top.
2680
2681         * Makefile: Added a YACC definition so that people can use bison
2682         if they wish.
2683
2684         * Makefile: Added rms' XGDB-README to the distribution.
2685
2686         * Makefile: Added removal of init.o on a "make clean".
2687
2688 Thu Feb  2 16:27:06 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2689
2690         * *-dep.c: Deleted definition of COFF_FORMAT if AOUTHDR was
2691         defined since 1) We *may* (recent mail message) want to define
2692         AOUTHDR under a basically BSD system, and 2) AOUTHDR is sometimes
2693         a typedef in coff encapsulation setups.  Also removed #define's of
2694         AOUTHDR if AOUTHDR is already defined (inside of coff format).  
2695         * core.c, dbxread.c: Removed #define's of AOUTHDR if AOUTHDR is
2696         already defined (inside of coff format).
2697
2698 Tue Jan 31 12:56:01 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2699
2700         * GDB 3.1 released.
2701
2702         * values.c (modify_field): Changed test for endianness to assign
2703         to integer and reference character (so that all bits would be
2704         defined). 
2705
2706 Mon Jan 30 11:41:21 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2707
2708         * news-dep.c: Deleted inclusion of fcntl.h; just duplicates stuff
2709         found in sys/file.h.
2710
2711         * i386-dep.c: Included default definition of N_SET_MAGIC for
2712         COFF_FORMAT.
2713
2714         * config.gdb: Added checks for several different operating
2715         systems. 
2716
2717         * coffread.c (read_struct_type): Put in a flag variable so that
2718         one could tell when you got to the end of a structure.
2719
2720         * sun3-dep.c (core_file_command): Changed #ifdef based on SUNOS4
2721         to ifdef based on FPU.
2722
2723         * infrun.c (restore_inferior_status): Changed error message to
2724         "unable to restore previously selected frame".
2725
2726         * dbxread.c (read_dbx_symtab): Used intermediate variable in error
2727         message reporting a bad symbol type.  (scan_file_globals,
2728         read_ofile_symtab, read_addl_syms): Data type of "type" changed to
2729         unsigned char (which is what it is).
2730         * i386-dep.c: Removed define of COFF_FORMAT if AOUTHDR is defined.
2731         Removed define of a_magic to magic (taken care of by N_MAGIC).
2732         (core_file_command): Zero'd core_aouthdr instead of setting magic
2733         to zero.
2734         * i386-pinsn.c: Changed jcxz == jCcxz in jump table.
2735         (putop): Added a case for 'C'.
2736         (OP_J): Added code to handle possible masking of PC value on
2737         certain kinds of data.
2738         m-i386gas.h: Moved COFF_ENCAPSULATE to before inclusion of
2739         m-i386.h and defined NAMES_HAVE_UNDERSCORE.
2740
2741         * coffread.c (unrecrod_misc_function, read_coff_symtab): Added
2742         symbol number on which error occured to error output.
2743
2744 Fri Jan 27 11:55:04 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2745
2746         * Makefile: Removed init.c in make clean.  Removed it without -f
2747         and with leading - in make ?gdb.
2748
2749 Thu Jan 26 15:08:03 1989  Randall Smith  (randy at gluteus.ai.mit.edu)
2750
2751         Changes to get it to work on gould NP1.
2752         * dbxread.c (read_dbx_symtab): Included cases for N_NBDATA and
2753         N_NBBSS.
2754         (psymtab_to_symtab): Changed declaration of hdr to
2755         DECLARE_FILE_HEADERS.  Changed access to use STRING_TABLE_SIZE and
2756         SYMBOL_TABLE_SIZE.
2757         * gld-pinsn.c (findframe): Added declaration of framechain() as
2758         FRAME_ADDR. 
2759
2760         * coffread.c (read_coff_symtab): Avoided treating typedefs as
2761         external symbol definitions.
2762
2763 Wed Jan 25 14:45:43 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2764
2765         * Makefile: Removed reference to alloca.c.  If they need it, they
2766         can pull alloca.o from the gnu-emacs directory.
2767
2768         * version.c, gdb.texinfo: Updated version to 3.1 (jumping the gun
2769         a bit so that I won't forget when I release).
2770
2771         * m-sun2.h, m-sun2os2.h, m-sun3os4.h, config.gdb: Modified code so
2772         that default includes new sun core, ptrace, and attach-detach.
2773         Added defaults for sun 2 os 2.
2774
2775         Modifications to reset stack limit back to what it used to be just
2776         before exec.  All mods inside of #ifdef SET_STACK_LIMIT_HUGE.
2777         * main.c: Added global variable original_stack_limit.
2778         (main): Set original_stack_limit to original stack limit.
2779         * inflow.c: Added inclusion of necessary files and external
2780         reference to original_stack_limit.
2781         (create_inferior): Reset stack limit to original_stack_limit.
2782
2783         * dbxread.c (read_dbx_symtab): Killed PROFILE_SYMBOLS ifdef.
2784
2785         * sparc-dep.c (isabranch): Multiplied offset by 4 before adding it
2786         to addr to get target.
2787
2788         * Makefile: Added definition of SHELL to Makefile.
2789
2790         * m-sun2os4.h: Added code to define NEW_SUN_PTRACE, NEW_SUN_CORE,
2791         and ATTACH_DETACH.
2792         * sun3-dep.c: Added code to avoid fp regs if we are on a sun2.
2793
2794 Tue Jan 24 17:59:14 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2795
2796         * dbxread.c (read_array_type): Added function.
2797         (read_type): Added call to above instead of inline code.
2798
2799         * Makefile: Added ${GNU_MALLOC} to the list of dependencies for
2800         the executables.
2801
2802 Mon Jan 23 15:08:51 1989  Randall Smith  (randy at plantaris.ai.mit.edu)
2803
2804         * gdb.texinfo: Added paragraph to summary describing languages
2805         with which gdb can be run.  Also added descriptions of the
2806         "info-methods" and "add-file" commands.
2807
2808         * symseg.h: Commented a range type as having TYPE_TARGET_TYPE
2809         pointing at the containing type for the range (often int).
2810         * dbxread.c (read_range_type): Added code to do actual range types
2811         if they are defined.  Assumed that the length of a range type is
2812         the length of the target type; this is a lie, but will do until
2813         somebody gets back to me as to what these silly dbx symbols mean.
2814         
2815         * dbxread.c (read_range_type): Added code to be more picky about
2816         recognizing builtins as range types, to treat types defined as
2817         subranges of themselves to be subranges of int, and to recognize
2818         the char type idiom from dbx as a special case.
2819
2820 Sun Jan 22 01:00:13 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2821
2822         * m-vax.h: Removed definition of FUNCTION_HAS_FRAME_POINTER.
2823         * blockframe.c (get_prev_frame_info): Removed default definition
2824         and use of above.  Instead conditionalized checking for leaf nodes
2825         on FUNCTION_START_OFFSET (see comment in code).
2826
2827 Sat Jan 21 16:59:19 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2828
2829         * dbxread.c (read_range_type): Fixed assumption that integer was
2830         always type 1.
2831
2832         * gdb.texinfo: Fixed spelling mistake and added a note in the
2833         running section making it clear that users may invoke subroutines
2834         directly from gdb.
2835
2836         * blockframe.c: Setup a default definition for the macro
2837         FUNCTION_HAS_FRAME_POINTER.
2838         (get_prev_frame_info): Used this macro instead of checking
2839         SKIP_PROLOGUE directly.
2840         * m-vax.h: Overroad definition; all functions on the vax have
2841         frame pointers.
2842
2843 Fri Jan 20 12:25:35 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2844
2845         * core.c: Added default definition of N_MAGIC for COFF_FORMAT.
2846
2847         * xgdb.c: Installed a fix to keep the thing from dying when there
2848         isn't any frame selected.
2849
2850         * core.c: Made a change for the UMAX system; needs a different
2851         file included if using that core format. 
2852
2853         * Makefile: Deleted duplicate obstack.h in dbxread.c dependency.
2854
2855         * munch: Modified (much simpler) to cover (I hope) all cases.
2856
2857         * utils.c (save_cleanups, restore_cleanups): Added functions to
2858         allow you to push and pop the chain of cleanups to be done.
2859         * defs.h: Declared the new functions.
2860         * main.c (catch_errors): Made sure that the only cleanups which
2861         would be done were the ones put on the chain *after* the current
2862         location. 
2863
2864         * m-*.h (FRAME_CHAIN_VALID): Removed check on pc in the current
2865         frame being valid.
2866         * blockframe.c (get_prev_frame_info): Made the assumption that if
2867         a frame's pc value was within the first object file (presumed to
2868         be /lib/crt0.o), that we shouldn't go any higher.
2869
2870         * infrun.c (wait_for_inferior): Do *not* execute check for stop pc
2871         at step_resume_break if we are proceeding over a breakpoint (ie.
2872         if trap_expected != 0).
2873
2874         * Makefile: Added -g to LDFLAGS.
2875
2876         * m-news.h (POP_FRAME) Fixed typo.
2877
2878         * printcmd.c (print_frame_args): Modified to print out register
2879         params in order by .stabs entry, not by register number.
2880
2881         * sparc-opcode.h: Changed declaration of (struct
2882         arith_imm_fmt).simm to be signed (as per architecture manual).
2883         * sparc-pinsn.c (fprint_addr1, print_insn): Forced a cast to an
2884         int, so that we really would get signed behaivior (default for sun
2885         cc is unsigned).
2886
2887         * i386-dep.c (i386_get_frame_setup): Replace function with new
2888         function provided by pace to fix bug in recognizing prologue.
2889
2890 Thu Jan 19 11:01:22 1989  Randall Smith  (randy at plantaris.ai.mit.edu)
2891
2892         * infcmd.c (run_command): Changed error message to "Program not
2893         restarted." 
2894
2895         * value.h: Changed "frame" field in value structure to be a
2896         FRAME_ADDR (actually CORE_ADDR) so that it could survive across
2897         calls. 
2898
2899         * m-sun.h (FRAME_FIND_SAVED_REGS): Fixed a typo.
2900
2901         * value.h: Added lval: "lval_reg_frame_relative" to indicate a
2902         register that must be interpeted relative to a frame.  Added
2903         single entry to value structure: "frame", used to indicate which
2904         frame a relative regnum is relative to.
2905         * findvar.c (value_from_register): Modified to correctly setup
2906         these fields when needed.  Deleted section to fiddle with last
2907         register copied on little endian machine; multi register
2908         structures will always occupy an integral number of registers.
2909         (find_saved_register): Made extern.
2910         * values.c (allocate_value, allocate_repeat_value): Zero frame
2911         field on creation.
2912         * valops.c (value_assign): Added case for lval_reg_frame_relative;
2913         copy value out, modify it, and copy it back.  Desclared
2914         find_saved_register as being external.
2915         * value.h: Removed addition of kludgy structure; thoroughly
2916         commented file.
2917         * values.c (free_value, free_all_values, clear_value_history,
2918         set_internalvar, clear_internavars): Killed free_value.
2919
2920 Wed Jan 18 20:09:39 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2921
2922         * value.h: Deleted struct partial_storage; left over from
2923         yesterday. 
2924
2925         * findvar.c (value_from_register): Added code to create a value of
2926         type lval_reg_partsaved if a value is in seperate registers and
2927         saved in different places.
2928
2929 Tue Jan 17 13:50:18 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2930
2931         * value.h: Added lval_reg_partsaved to enum lval_type and
2932         commented enum lval_type.  Commented value structure.
2933         Added "struct partial_register_saved" to value struct; added
2934         macros to deal with structure to value.h.
2935         * values.c (free_value): Created; special cases lval_reg_partsaved
2936         (which has a pointer to an array which also needs to be free).
2937         (free_all_values, clear_value_history, set_internalvar,
2938         clear_internalvars): Modified to use free_values.
2939
2940         * m-sunos4.h: Changed name to sun3os4.h.
2941         * m-sun2os4.h, m-sun4os4.h: Created.
2942         * config.gdb: Added configuration entries for each of the above.
2943         * Makefile: Added into correct lists.
2944
2945         * Makefile: Added dependencies on a.out.encap.h.  Made
2946         a.out.encap.h dependent on a.out.gnu.h and dbxread.c dependent on
2947         stab.gnu.h. 
2948
2949         * infrun.c, remote.c: Removed inclusion of any a.out.h files in
2950         these files; they aren't needed.
2951
2952         * README: Added comment about bug reporting and comment about
2953         xgdb. 
2954
2955         * Makefile: Added note to HPUX dependent section warning about
2956         problems if compiled with gcc and mentioning the need to add
2957         -Ihp-include to CFLAGS if you compile on those systems.  Added a
2958         note about needing the GNU nm with compilers *of gdb* that use the
2959         coff encapsulate feature also.  * hp-include: Made symbolic link
2960         over to /gp/gnu/binutils.
2961
2962         * Makefile: Added TSOBS NTSOBS OBSTACK and REGEX to list of things
2963         to delete in "make clean".  Also changed "squeakyclean" target as
2964         "realclean". 
2965
2966         * findvar.c (value_from_register): Added assignment of VALUE_LVAL
2967         to be lval_memory when that is appropriate (original code didn't
2968         bother because it assumed that it was working with a pre lval
2969         memoried value).
2970
2971         * expread.y (yylex): Changed to only return type THIS if the
2972         symbol "$this" is defined in some block superior or equal to the
2973         current expression context block.
2974
2975 Mon Jan 16 13:56:44 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
2976
2977         * m-*.h (FRAME_CHAIN_VALID): On machines which check the relation
2978         of FRAME_SAVED_PC (thisframe) to first_object_file_end (all except
2979         gould), make sure that the pc of the current frame also passes (in
2980         case someone stops in _start).
2981
2982         * findvar.c (value_of_register): Changed error message in case of
2983         no inferior or core file.
2984
2985         * infcmd.c (registers_info): Added a check for inferior or core
2986         file; error message if not.
2987
2988         * main.c (gdb_read_line): Modified to take prompt as argument and
2989         output it to stdout.
2990         * infcmd.c (registers_info, signals_info), main.c (command_loop,
2991         read_command_lines, copying_info), symtab.c (decode_line_2,
2992         output_source_filename, MORE, list_symbols): Changed calling
2993         convention used to call gdb_read_line.
2994
2995         * infcmd.c, infrun.c, main.c, symtab.c: Changed the name of the
2996         function "read_line" to "gdb_read_line".
2997         * breakpoint.c: Deleted external referenced to function
2998         "read_line" (not needed by code).
2999
3000 Fri Jan 13 12:22:05 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3001
3002         * i386-dep.c: Include a.out.encap.h if COFF_ENCAPSULATE.
3003         (N_SET_MAGIC): Defined if not defined by include file.
3004         (core_file_command): Used N_SET_MAGIC instead of assignment to
3005         a_magic.
3006         (exec_file_command): Stuck in a HEADER_SEEK_FD.
3007
3008         * config.gdb: Added i386-dep.c as depfile for i386gas choice.
3009
3010         * munch: Added -I. to cc to pick up things included by the param
3011         file. 
3012
3013         * stab.gnu.def: Changed name to stab.def (stab.gnu.h needs this name).
3014         * Makefile: Changed name here also.
3015         * dbxread.c: Changed name of gnu-stab.h to stab.gnu.h.
3016
3017         * gnu-stab.h: Changed name to stab.gnu.h.
3018         * stab.gnu.def: Added as link to binutils.
3019         * Makefile: Put both in in the distribution.
3020
3021 Thu Jan 12 11:33:49 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3022
3023         * dbxread.c: Made which stab.h is included dependent on
3024         COFF_ENCAPSULATE; either <stab.h> or "gnu-stab.h".
3025         * Makefile: Included gnu-stab.h in the list of files to include in
3026         the distribution.
3027         * gnu-stab.h: Made a link to /gp/gnu/binutils/stab.h
3028
3029         * Makefile: Included a.out.gnu.h and m-i386gas.h in list of
3030         distribution files.
3031         * m-i386gas.h: Changed to include m-i386.h and fiddle with it
3032         instead of being a whole new file.
3033         * a.out.gnu.h: Made a link to /gp/gnu/binutils/a.out.gnu.h.
3034
3035         Chris Hanson's changes to gdb for hp Unix.
3036         * Makefile: Modified comments on hpux.
3037         * hp9k320-dep.c: #define'd WOPR & moved inclusion of signal.h
3038         * inflow.c: Moved around declaratiosn of <sys/fcntl.h> and
3039         <sys/ioctl.h> inside of USG depends and deleted all SYSV ifdef's
3040         (use USG instead).
3041         * munch: Modified to accept any number of spaces between the T and
3042         the symbol name.
3043
3044         Pace's changes to gdb to work with COFF_ENCAPSULATE (robotussin):
3045         * config.gdb: Added i386gas to targets.
3046         * default-dep.c: Include a.out.encap.h if COFF_ENCAPSULATE.
3047         (N_SET_MAGIC): Defined if not defined by include file.
3048         (core_file_command): Used N_SET_MAGIC instead of assignment to a_magic.
3049         (exec_file_command): Stuck in a HEADER_SEEK_FD.
3050         * infrun.c, remote.c: Added an include of a.out.encap.h if
3051         COFF_ENCAPSULATE defined.  This is commented out in these two
3052         files, I presume because the definitions aren't used.
3053         * m-i386gas.h: Created.
3054         * dbxread.c: Included defintions for USG.
3055         (READ_FILE_HEADERS): Now uses HEADER_SEEK_FD if it exists.
3056         (symbol_file_command): Deleted use of HEADER_SEEK_FD.
3057         * core.c: Deleted extra definition of COFF_FORMAT.
3058         (N_MAGIC): Defined to be a_magic if not already defined.
3059         (validate_files): USed N_MAGIC instead of reading a_magic.
3060
3061 Wed Jan 11 12:51:00 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3062
3063         * remote.c: Upped PBUFSIZ.
3064         (getpkt): Added zeroing of c inside loop in case of error retry.
3065
3066         * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab): Removed
3067         code to not put stuff with debugging symbols in the misc function
3068         list.  Had been ifdef'd out.
3069
3070         * gdb.texinfo: Added the fact that the return value for a function
3071         is printed if you use return.
3072
3073         * infrun.c (wait_for_inferior): Removed test in "Have we hit
3074         step_resume_breakpoint" for sp values in proper orientation.  Was
3075         in there for recursive calls in functions without frame pointers
3076         and it was screwing up calls to alloca.  
3077
3078         * dbxread.c: Added #ifdef COFF_ENCAPSULATE to include
3079         a.out.encap.h.
3080         (symbol_file_command): Do HEADER_SEEK_FD when defined.
3081         * dbxread.c, core.c: Deleted #ifdef ROBOTUSSIN stuff.
3082         * robotussin.h: Deleted local copy (was symlink).
3083         * a.out.encap.h: Created symlink to
3084         /gp/gnu/binutils/a.out.encap.h.
3085         * Makefile: Removed robotussin.h and included a.out.encap.h in
3086         list of files.
3087
3088         * valprint.c (val_print, print_scalar_formatted): Changed default
3089         precision of printing float value; now 6 for a float and 16 for a
3090         double.
3091
3092         * findvar.c (value_from_register): Added code to deal with the
3093         case where a value is spread over several registers.  Still don't
3094         deal with the case when some registers are saved in memory and
3095         some aren't.
3096
3097 Tue Jan 10 17:04:04 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3098
3099         * xgdb.c (xgdb_create_window): Removed third arg (XtDepth) to
3100         frameArgs.  
3101
3102         * infrun.c (handle_command): Error if signal number is less or
3103         equal to 0 or greater or equal to NSIG or a signal number is not
3104         provided.
3105
3106         * command.c (lookup_cmd): Modified to not convert command section
3107         of command line to lower case in place (in case it isn't a
3108         subcommand, but an argument to a command).
3109
3110 Fri Jan  6 17:57:34 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3111
3112         * dbxread.c: Changed "text area" to "data area" in comments on
3113         N_SETV. 
3114
3115 Wed Jan  4 12:29:54 1989  Randall Smith  (randy at gluteus.ai.mit.edu)
3116
3117         * dbxread.c: Added definitions of gnu symbol types after inclusion
3118         of a.out.h and stab.h.
3119
3120 Mon Jan  2 20:38:31 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3121
3122         * eval.c (evaluate_subexp): Binary logical operations needed to
3123         know type to determine whether second value should be evaluated.
3124         Modified to discover type before binup_user_defined_p branch.
3125         Also commented "enum noside".
3126
3127         * Makefile: Changed invocations of munch to be "./munch".
3128
3129         * gdb.texinfo: Updated to refer to current version of gdb with
3130         January 1989 last update.
3131
3132         * coffread.c (end_symtab): Zero context stack when finishing
3133         lexical contexts.
3134         (read_coff_symtab): error if context stack 0 in ".ef" else case.
3135
3136         * m-*.h (FRAME_SAVED_PC): Changed name of argument from "frame" to
3137         "FRAME" to avoid problems with replacement of "->frame" part of
3138         macro. 
3139
3140         * i386-dep.c (i386_get_frame_setup): Added codestream_get() to
3141         move codestream pointer up to the correct location in "subl $X,
3142         %esp" case.
3143
3144 Sun Jan  1 14:24:35 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3145
3146         * valprint.c (val_print): Rewrote routine to print string pointed
3147         to by char pointer; was producing incorrect results when print_max
3148         was 0.
3149
3150 Fri Dec 30 12:13:35 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3151
3152         * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab): Put
3153         everything on the misc function list.
3154
3155         * Checkpointed distribution.
3156
3157         * Makefile: Added expread.tab.c to the list of things slated for
3158         distribution. 
3159
3160 Thu Dec 29 10:06:41 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3161
3162         * stack.c (set_backtrace_limit_command, backtrace_limit_info,
3163         bactrace_command, _initialize_stack): Removed modifications for
3164         limit on backtrace.  Piping the backtrace through an interuptable
3165         "more" emulation is a better way to do it.
3166
3167 Wed Dec 28 11:43:09 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3168
3169         * stack.c
3170         (set_backtrace_limit_command): Added command to set a limit to the
3171         number of frames for a backtrace to print by default.
3172         (backtrace_limit_info): To print the current limit.
3173         (backtrace_command): To use the limit.
3174         (_initialize_stack): To initialize the limit to its default value
3175         (30), and add the set and info commands onto the appropriate
3176         command lists.
3177
3178         * gdb.texinfo: Documented changes to "backtrace" and "commands"
3179         commands.
3180
3181         * stack.c (backtrace_command): Altered so that a negative argument
3182         would show the last few frames on the stack instead of the first
3183         few.
3184         (_initialize_stack): Modified help documentation.
3185
3186         * breakpoint.c (commands_command): Altered so that "commands" with
3187         no argument would refer to the last breakpoint set.
3188         (_initialize_breakpoint): Modified help documentation.
3189
3190         * infrun.c (wait_for_inferior): Removed ifdef on Sun4; now you can
3191         single step through compiler generated sub calls and will die if
3192         you next off of the end of a function.
3193
3194         * sparc-dep.c (single_step): Fixed typo; "break_insn" ==> "sizeof
3195         break_insn". 
3196
3197         * m-sparc.h (INIT_EXTRA_FRAME_INFO): Set the bottom of a stack
3198         frame to be the bottom of the stack frame inner from this, if that
3199         inner one is a leaf node.
3200
3201         * dbxread.c (read_dbx_symtab): Check to make sure we don't add a
3202         psymtab to it's own dependency list.
3203
3204         * dbxread.c (read_dbx_symtab): Modified check for duplicate
3205         dependencies to catch them correctly.
3206
3207 Tue Dec 27 17:02:09 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3208
3209         * m-*.h (FRAME_SAVED_PC): Modified macro to take frame info
3210         pointer as argument.
3211         * stack.c (frame_info), blockframe.c (get_prev_frame_info),
3212         gld-pinsn.c (findframe), m-*.h (SAVED_PC_AFTER_CALL,
3213         FRAME_CHAIN_VALID, FRAME_NUM_ARGS): Changed usage of macros to
3214         conform to above.
3215         * m-sparc.h (FRAME_SAVED_PC), sparc-dep.c (frame_saved_pc):
3216         Changed frame_saved_pc to have a frame info pointer as an
3217         argument. 
3218
3219         * m-vax.h, m-umax.h, m-npl.h, infrun.c (wait_for_inferior),
3220         blockframe.c (get_prev_frame_info): Modified SAVED_PC_AFTER_CALL
3221         to take a frame info pointer as an argument.
3222
3223         * blockframe.c (get_prev_frame_info): Altered the use of the
3224         macros FRAME_CHAIN, FRAME_CHAIN_VALID, and FRAME_CHAIN_COMBINE to
3225         use frame info pointers as arguments instead of frame addresses.
3226         * m-vax.h, m-umax.h, m-sun3.h, m-sun3.h, m-sparc.h, m-pn.h,
3227         m-npl.h, m-news.h, m-merlin.h, m-isi.h, m-hp9k320.h, m-i386.h:
3228         Modified definitions of the above macros to suit.
3229         * m-pn.h, m-npl.h, gould-dep.c (findframe): Modified findframe to
3230         use a frame info argument; also fixed internals (wouldn't work
3231         before).
3232
3233         * m-sparc.h: Cosmetic changes; reordered some macros and made sure
3234         that nothing went over 80 lines.
3235
3236 Thu Dec 22 11:49:15 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3237
3238         * Version 3.0 released.
3239
3240         * README: Deleted note about changing -lobstack to obstack.o.
3241
3242 Wed Dec 21 11:12:47 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3243
3244         * m-vax.h (SKIP_PROLOGUE): Now recognizes gcc prologue also.
3245
3246         * blockframe.c (get_prev_frame_info): Added FUNCTION_START_OFFSET
3247         to result of get_pc_function_start.
3248         * infrun.c (wait_for_inferior): Same.
3249
3250         * gdb.texinfo: Documented new "step" and "next" behavior in
3251         functions without line number information.
3252
3253 Tue Dec 20 18:00:45 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3254
3255         * infcmd.c (step_1): Changed behavior of "step" or "next" in a
3256         function witout line number information.  It now sets the step
3257         range around the function (to single step out of it) using the
3258         misc function vector, warns the user, and continues.
3259
3260         * symtab.c (find_pc_line): Zero "end" subsection of returned
3261         symtab_and_line if no symtab found.
3262
3263 Mon Dec 19 17:44:35 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3264
3265         * i386-pinsn.c (OP_REG): Added code from pace to streamline
3266         disassembly and corrected types.
3267         * i386-dep.c
3268         (i386_follow_jump): Code added to follow byte and word offset
3269         branches.
3270         (i386_get_frame_setup): Expanded to deal with more wide ranging
3271         function prologue.
3272         (i386_frame_find_saved_regs, i386_skip_prologue): Changed to use
3273         i386_get_frame_setup. 
3274         
3275
3276 Sun Dec 18 11:15:03 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3277
3278         * m-sparc.h: Deleted definition of SUN4_COMPILER_BUG; was designed
3279         to avoid something that I consider a bug in our code, not theirs,
3280         and which I fixed earlier.  Also deleted definition of
3281         CANNOT_USE_ARBITRARY_FRAME; no longer used anywhere.
3282         FRAME_SPECIFICATION_DYADIC used instead.
3283
3284         * infrun.c (wait_for_inferior): On the sun 4, if a function
3285         doesn't have a prologue, a next over it single steps into it.
3286         This gets around the problem of a "call .stret4" at the end of
3287         functions returning structures.
3288         * m-sparc.h: Defined SUN4_COMPILER_FEATURE.
3289
3290         * main.c (copying_info): Seperated the last printf into two
3291         printfs.  The 386 compiler will now handle it.
3292
3293         * i386-pinsn.c, i386-dep.c: Moved print_387_control_word,
3294         print_387_status_word, print_387_status, and i386_float_info to
3295         dep.c  Also included reg.h in dep.c.
3296
3297 Sat Dec 17 15:31:38 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
3298
3299         * main.c (source_command): Don't close instream if it's null
3300         (indicating execution of a user-defined command).
3301                  (execute_command): Set instream to null before executing
3302                  commands and setup clean stuff to put it back on error.
3303
3304         * inflow.c (terminal_inferior): Went back to not checking the
3305         ioctl returns; there are some systems when this will simply fail.
3306         It seems that, on most of these systems, nothing bad will happen
3307         by that failure.
3308
3309         * values.c (value_static_field): Fixed dereferencing of null
3310         pointer. 
3311
3312         * i386-dep.c (i386_follow_jump): Modified to deal with
3313         unconditional byte offsets also.
3314
3315         * dbxread.c (read_type): Fixed typo in function type case of switch.
3316
3317         * infcmd.c (run_command): Does not prompt to restart if command is
3318         not from a tty.
3319
3320 Fri Dec 16 15:21:58 1988  Randy Smith  (randy at calvin)
3321
3322         * gdb.texinfo: Added a third option under the "Cannot Insert
3323         Breakpoints" workarounds.
3324
3325         * printcmd.c (display_command): Don't do the display unless there
3326         is an active inferior; only set it.
3327
3328         * findvar.c (value_of_register): Added an error check for calling
3329         this when the inferior isn't active and a core file isn't being
3330         read. 
3331
3332         * config.gdb: Added reminder about modifying REGEX in the
3333         makefile for the 386.
3334
3335         * i386-pinsn.c, i386-dep.c: Moved m-i386.h helper functions over
3336         to i386-dep.c.b
3337
3338 Thu Dec 15 14:04:25 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3339
3340         * README: Added a couple of notes about compiling gdb with itself.
3341
3342         * breakpoint.c (set_momentary_breakpoint): Only takes FRAME_FP of
3343         frame if frame is non-zero.
3344
3345         * printcmd.c (print_scalar_formatted): Implemented /g size for
3346         hexadecimal format on machines without an 8 byte integer type.  It
3347         seems to be non-trivial to implement /g for other formats.
3348         (decode_format): Allowed hexadecimal format to make it through /g
3349         fileter. 
3350
3351 Wed Dec 14 13:27:04 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
3352
3353         * expread.y: Converted all calls to write_exp_elt from the parser
3354         to calls to one of write_exp_elt_{opcode, sym, longcst, dblcst,
3355         char, type, intern}.  Created all of these routines.  This gets
3356         around possible problems in passing one of these things in one ear
3357         and getting something different out the other.  Eliminated
3358         SUN4_COMPILER_BUG ifdef's; they are now superfluous.
3359
3360         * symmisc.c (free_all_psymtabs): Reinited partial_symtab_list to 0.
3361                     (_initialize_symmisc): Initialized both symtab_list and
3362                     partial_symtab_list.
3363
3364         * dbxread.c (start_psymtab): Didn't allocate anything on
3365         dependency list.
3366         (end_psymtab): Allocate dependency list on psymbol obstack from
3367         local list.
3368         (add_psymtab_dependency): Deleted.
3369         (read_dbx_symtab): Put dependency on local list if it isn't on it
3370         already.
3371
3372         * symtab.c: Added definition of psymbol_obstack.
3373         * symtab.h: Added declaration of psymbol_obstack.
3374         * symmisc.c (free_all_psymtabs): Added freeing and
3375         reinitionaliztion of psymbol_obstack.
3376         * dbxread.c (free_all_psymbols): Deleted.
3377                     (start_psymtab, end_psymtab,
3378                     process_symbol_for_psymtab):  Changed most allocation
3379                     of partial symbol stuff to be off of psymbol_obstack.
3380
3381         * symmisc.c (free_psymtab, free_all_psymtabs): Deleted
3382         free_psymtab subroutine.
3383
3384         * symtab.h: Removed num_includes and includes from partial_symtab
3385         structure; no longer needed now that all include files have their
3386         own psymtab.
3387         * dbxread.c (start_psymtab): Eliminated initialization of above.
3388                     (end_psymtab): Eliminated finalization of above; get
3389                     includes from seperate list.
3390                     (read_dbx_symtab): Moved includes from psymtab list to
3391                     their own list; included in call to end_psymtab.
3392         * symmisc.c (free_psymtab): Don't free includes.
3393
3394 Tue Dec 13 14:48:14 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3395
3396         * i386-pinsn.c: Reformatted entire file to correspond to gnu
3397         software indentation conventions.
3398
3399         * sparc-dep.c (skip_prologue): Added capability of recognizign
3400         stores of input register parameters into stack slots. 
3401
3402         * sparc-dep.c: Added an include of sparc-opcode.h.
3403         * sparc-pinsn.c, sparc-opcode.h: Moved insn_fmt structures and
3404         unions from pinsn.c to opcode.h.
3405         * sparc-pinsn.c, sparc-dep.c (isabranch, skip_prologue): Moved
3406         this function from pinsn.c to dep.c.
3407
3408         * Makefile: Put in warnings about compiling with gcc (non-ansi
3409         include files) and compiling with shared libs on Sunos 4.0 (can't
3410         debug something that's been compiled that way).
3411
3412         * sparc-pinsn.c: Put in a completely new file (provided by
3413         Tiemann) to handle floating point disassembly, load and store
3414         instructions, and etc. better.  Made the modifications this file
3415         (ChangeLog) list for sparc-pinsn.c again.
3416
3417         * symtab.c (output_source_filename): Included "more" emulation hack.
3418
3419         * symtab.c (output_source_filename): Initialized COLUMN to 0.
3420                    (sources_info): Modified to not print out a line for
3421                    all of the include files within a partial symtab (since
3422                    they have pst's of their own now).  Also modified to
3423                    make a distinction between those pst's read in and
3424                    those not.
3425
3426         * infrun.c: Included void declaration of single_step() if it's
3427         going to be used.
3428         * sparc-dep.c (single_step): Moved function previous to use of it.
3429
3430         * Makefile: Took removal of expread.tab.c out of make clean entry
3431         and put it into a new "squeakyclean" entry.
3432
3433 Mon Dec 12 13:21:02 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
3434
3435         * sparc-pinsn.c (skip_prologue): Changed a struct insn_fmt to a
3436         union insn_fmt.
3437
3438         * inflow.c (terminal_inferior): Checked *all* return codes from
3439         ioctl's and fcntl's in routine.
3440
3441         * inflow.c (terminal_inferior): Added check for sucess of
3442         TIOCSPGRP ioctl call.  Just notifies if bad.
3443
3444         * dbxread.c (symbol_file_command): Close was getting called twice;
3445         once directly and once through cleanup.  Killed the direct call.  
3446
3447 Sun Dec 11 19:40:40 1988  & Smith  (randy at hobbes.ai.mit.edu)
3448
3449         * valprint.c (val_print): Deleted spurious printing of "=" from
3450         TYPE_CODE_REF case.
3451
3452 Sat Dec 10 16:41:07 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
3453
3454         * dbxread.c: Changed allocation of psymbols from using malloc and
3455         realloc to using obstacks.  This means they aren't realloc'd out
3456         from under the pointers to them.
3457
3458 Fri Dec  9 10:33:24 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3459
3460         * sparc-dep.c inflow.c core.c expread.y command.c infrun.c
3461         infcmd.c dbxread.c symmisc.c symtab.c printcmd.c valprint.c
3462         values.c source.c stack.c findvar.c breakpoint.c blockframe.c
3463         main.c: Various cleanups inspired by "gcc -Wall" (without checking
3464         for implicit declarations).
3465
3466         * Makefile: Cleaned up some more.
3467
3468         * valops.c, m-*.h (FIX_CALL_DUMMY): Modified to take 5 arguments
3469         as per what sparc needs (programming for a superset of needed
3470         args).
3471
3472         * dbxread.c (process_symbol_for_psymtab): Modified to be slightly
3473         more picky about what it puts on the list of things *not* to be
3474         put on the misc function list.  When/if I shift everything over to
3475         being placed on the misc_function_list, this will go away.
3476
3477         * inferior.h, infrun.c: Added fields to save in inferior_status
3478         structure. 
3479
3480         * maketarfile: Deleted; functionality is in Makefile now.
3481
3482         * infrun.c (wait_for_inferior): Modified algorithm for determining
3483         whether or not a single-step was through a subroutine call.  See
3484         comments at top of file.
3485
3486         * dbxread.c (read_dbx_symtab): Made sure that the IGNORE_SYMBOL
3487         macro would be checked during initial readin.
3488
3489         * dbxread.c (read_ofile_symtab): Added macro GCC_COMPILED_FLAG_SYMBOL
3490         into dbxread.c to indicate what string in a local text symbol will
3491         indicate a file compiled with gcc.  Defaults to "gcc_compiled.".
3492
3493 Thu Dec  8 11:46:22 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3494
3495         * m-sparc.h (FRAME_FIND_SAVED_REGS): Cleaned up a little to take
3496         advantage of the new frame cache system.
3497
3498         * inferior.h, infrun.c, valops.c, valops.c, infcmd.c:  Changed
3499         mechanism to save inferior status over calls to inferior (eg.
3500         call_function); implemented save_inferior_info and
3501         restore_inferior_info.
3502
3503         * blockframe.c (get_prev_frame): Simplified this by a direct call
3504         to get_prev_frame_info.
3505
3506         * frame.h, stack.c, printcmd.c, m-sparc.h, sparc-dep.c: Removed
3507         all uses of frame_id_from_addr.  There are short routines like it
3508         still in frame_saved_pc (m-sparc.h) and parse_frame_spec
3509         (stack.c).  Eventually the one in frame_saved_pc will go away.
3510
3511         * infcmd.c, sparc-dep.c: Implemented a new mechanism for
3512         re-selecting the selected frame on return from a call.
3513
3514         * blockframe.c, stack.c, findvar.c, printcmd.c, m-*.h:  Changed
3515         all routines and macros that took a "struct frame_info" as an
3516         argument to take a "struct frame_info *".  Routines: findarg,
3517         framechain, print_frame_args, FRAME_ARGS_ADDRESS,
3518         FRAME_STRUCT_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS,
3519         FRAME_FIND_SAVED_REGS.
3520
3521         * frame.h, stack.c, printcmd.c, infcmd.c, findvar.c, breakpoint.c,
3522         blockframe.c, xgdb.c, i386-pinsn.c, gld-pinsn.c, m-umax.h,
3523         m-sun2.h, m-sun3.h, m-sparc.h, m-pn.h, m-npl.h, m-news.h,
3524         m-merlin.h, m-isi.h, m-i386.h, m-hp9k320.h:  Changed routines to
3525         use "struct frame_info *" internally.
3526
3527 Wed Dec  7 12:07:54 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3528
3529         * frame.h, blockframe.c, m-sparc.h, sparc-dep.c: Changed all calls
3530         to get_[prev_]frame_cache_item to get_[prev_]frame_info.
3531
3532         * blockframe.c: Elminated get_frame_cache_item and
3533         get_prev_frame_cache_item; functionality now taken care of by
3534         get_frame_info and get_prev_frame_info.
3535
3536         * blockframe.c: Put allocation on an obstack and eliminated fancy
3537         reallocation routines, several variables, and various nasty
3538         things. 
3539
3540         * frame.h, stack.c, infrun.c, blockframe.c, sparc-dep.c: Changed
3541         type FRAME to be a typedef to "struct frame_info *".  Had to also
3542         change routines that returned frame id's to return the pointer
3543         instead of the cache index.
3544
3545         * infcmd.c (finish_command): Used proper method of getting from
3546         function symbol to start of function.  Was treating a symbol as a
3547         value. 
3548
3549         * blockframe.c, breakpoint.c, findvar.c, infcmd.c, stack.c,
3550         xgdb.c, i386-pinsn.c, frame.h, m-hp9k320.h, m-i386.h, m-isi.h,
3551         m-merlin.h, m-news.h, m-npl.h, m-pn.h, m-sparc.h, m-sun2.h,
3552         m-sun3.h, m-umax.h: Changed get_frame_info and get_prev_frame_info
3553         to return pointers instead of structures.
3554
3555         * blockframe.c (get_pc_function_start): Modified to go to misc
3556         function table instead of bombing if pc was in a block without a
3557         containing function.
3558
3559         * coffread.c: Dup'd descriptor passed to read_coff_symtab and
3560         fdopen'd it so that there wouldn't be multiple closes on the same
3561         fd.  Also put (fclose, stream) on the cleanup list.
3562
3563         * printcmd.c, stack.c: Changed print_frame_args to take a
3564         frame_info struct as argument instead of the address of the args
3565         to the frame.
3566
3567         * m-i386.h (STORE_STRUCT_RETURN): Decremented sp by sizeof object
3568         to store (an address) rather than 1.
3569
3570         * dbxread.c (read_dbx_symtab): Set first_object_file_end in
3571         read_dbx_symtab (oops).
3572
3573         * coffread.c (fill_in_vptr_fieldno): Rewrote TYPE_BASECLASS as
3574         necessary. 
3575
3576 Tue Dec  6 13:03:43 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3577
3578         * coffread.c: Added fake support for partial_symtabs to allow
3579         compilation and execution without there use.
3580         * inflow.c: Added a couple of minor USG mods.
3581         * munch: Put in appropriate conditionals so that it would work on
3582         USG systems.
3583         * Makefile: Made regex.* handled same as obstack.*; made sure tar
3584         file included everything I wanted it to include (including
3585         malloc.c).
3586
3587         * dbxread.c (end_psymtab): Create an entry in the
3588         partial_symtab_list for each subfile of the .o file just read in.
3589         This allows a "list expread.y:10" to work when we haven't read in
3590         expread.o's symbol stuff yet.
3591
3592         * symtab.h, dbxread.c (psymtab_to_symtab): Recognize pst->ldsymlen
3593         == 0 as indicating a dummy psymtab, only in existence to cause the
3594         dependency list to be read in.
3595
3596         * dbxread.c (sort_symtab_syms): Elminated reversal of symbols to
3597         make sure that register debug symbol decls always come before
3598         parameter symbols.  After mod below, this is not needed.
3599
3600         * symtab.c (lookup_block_symbol): Take parameter type symbols
3601         (LOC_ARG or LOC_REGPARM) after any other symbols which match.
3602
3603         * dbxread.c (read_type): When defining a type in terms of some
3604         other type and the other type is supposed to have a pointer back
3605         to this specific kind of type (pointer, reference, or function),
3606         check to see if *that* type has been created yet.  If it has, use
3607         it and fill in the appropriate slot with a pointer to it.
3608
3609 Mon Dec  5 11:25:04 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3610
3611         * symmisc.c: Eliminated existence of free_inclink_symtabs and
3612         init_free_inclink_symtabs; they aren't called from anywhere, and
3613         if they were they could disrupt gdb's data structure badly
3614         (elimination of struct type's which values that stick around past
3615         elimination of inclink symtabs).
3616
3617         * dbxread.c (symbol_file_command): Fixed a return pathway out of
3618         the routine to do_cleanups before it left.
3619
3620         * infcmd.c (set_environment_command), gdb.texinfo: Added
3621         capability to set environmental variable values to null.
3622
3623         * gdb.texinfo: Modified doc on "break" without args slightly.
3624
3625 Sun Dec  4 17:03:16 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
3626
3627         * dbxread.c (symbol_file_command): Added check; if there weren't
3628         any debugging symbols in the file just read, the user is warned.
3629
3630         * infcmd.c: Commented set_environment_command (a little).
3631
3632         * createtags: Cleaned up and commented.
3633
3634         * Makefile: Updated depen_memory and write_inferior_memory in that errno is
3635         checked after each ptrace and returned to the caller.  Used in
3636         value_at to detect references to addresses which are out of
3637         bounds.  Also core.c (xfer_core_file): return 1 if invalid
3638         address, 0 otherwise.
3639
3640         * inflow.c, <machine>-infdep.c: removed all calls to ptrace from
3641         inflo, m-sun3.h:  Cleaned up dealings with
3642         functions returning structu0 19:19:36 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
3643
3644         * symmisc.c: (read_symsegs) Accept only format number 2.  Since
3645         the size of the type structure changed when C++ support was added,
3646         format 1 can no longer be used.
3647
3648         * core.c, m-sunos4.h: (core_file_command) support for SunOS 4.0.
3649         Slight change in the core structure.  #ifdef SUNOS4.  New file
3650         m-sunos4.h.  May want to change config.gdb also.
3651
3652 Fri Jul  8 19:59:49 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
3653
3654         * breakpoint.c: (break_command_1) Allow `break if condition'
3655         rather than parsing `if' as a function name and returning an
3656         error.
3657
3658 Thu Jul  7 22:22:47 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
3659
3660         * C++: valops.c, valprint.c, value.h, values.c: merged code to deal
3661         with C++ expressions.
3662
3663 Wed Jul  6 03:28:18 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
3664
3665         * C++: dbxread.c: (read_dbx_symtab, condense_misc_bunches,
3666         add_file_command)  Merged code to read symbol information from
3667         an incrementally linked file.  symmisc.c:
3668         (init_free_inclink_symtabs, free_inclink_symtabs) Cleanup
3669         routines.
3670
3671 Tue Jul  5 02:50:41 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
3672
3673         * C++: symtab.c, breakpoint.c, source.c:  Merged code to deal with
3674         ambiguous line specifications.  In C++ one can have overloaded
3675         function names, so that `list classname::overloadedfuncname'
3676         refers to several different lines, possibly  sure currently configured machine
3677         dependent files come first in e at corn-chex.ai.mit.edu)
3678
3679         * C++: symtab.c: replaced lookup_symtab_1 and lookup_symtab_2 with
3680         a modified lookup_symbol which checks for fields of the current
3681         implied argument `this'.  printcmd.c, source.c, symtab.c,
3682         valops.c: Need to change callers once callers are
3683         installed. 
3684
3685 Wed Jun 29 01:26:56 1988  Peter TerMaat  (pete at frosted-flakes.ai.mit.edu)
3686
3687         * C++: eval.c, expprint.c, expread.y, expression.h, valarith.c, 
3688         Merged code to deal with evaluation of user-defined operators,
3689         member functions, and virtual functions.
3690         binop_must_be_user_defined tests for user-defined binops, 
3691         value_x_binop calls the appropriate operator function. 
3692
3693 Tue Jun 28 02:56:42 1988  Peter TerMaat  (pete at frosted-flakes.ai.mit.edu)
3694
3695         * C++: Makefile: changed the echo: expect 101 shift/reduce conflicts 
3696         and 1 reduce/reduce conflict.
3697
3698 \f
3699 Local Variables:
3700 mode: indented-text
3701 eval: (auto-fill-mode 1)
3702 left-margin: 8
3703 fill-column: 74
3704 version-control: never
3705 End:
3706 \0ng destructors and
3707                 constructors, and flags being defined via public and via
3708                 virtual paths.  Added fields NEXT_VARIANT, N_BASECLASSES,
3709                 and BASECLASSES to this type (tr: Changed types from
3710                 having to be derived from a single baseclass to a multiple
3711                 base class).
3712         * symtab.h: Added macros to access new fields defined in symseg.h.
3713                 Added decl for lookup_basetype_type.
3714         * dbxread.c 
3715         (condense_addl_misc_bunches): Function added to condense the misc
3716                 function bunches added by reading in a new .o file.
3717         (read_addl_syms): Function added to read in symbols
3718                 from a new .o file (incremental linking).
3719         (add_file_command): Command interface function to indicate
3720                 incrmental linking of a new .o file; this now calls
3721                 read_addl_syms and condense_addl_misc_bunches.
3722         (define_symbol): Modified code to handle types defined from base
3723                 types which were not known when the derived class was
3724                 output.
3725         (read_struct_type): Modified to better handle description of
3726                 struct types as derived types.  Possibly derived from
3727                 several different base classes.  Also added new code to
3728                 mark definitions via virtual paths or via public paths.
3729                 Killed seperate code to handle classes with destructors
3730                 but without constructors and improved marking of classes
3731                 as having destructors and constructors.
3732         * infcmd.c: Modified call to val_print (one more argument).
3733         * symtab.c (lookup_member_type): Modified to deal with new
3734                 structure in symseg.h.
3735         (lookup_basetype_type): Function added to find or construct a type
3736                 ?derived? from the given type.
3737         (decode_line_1): Modified to deal with new type data structures.
3738                 Modified to deal with new number of args for
3739                 decode_line_2.
3740         (decode_line_2): Changed number of args (?why?).
3741         (init_type): Added inits for new C++ fields from
3742                 symseg.h.
3743         *valarith.c
3744         (value_x_binop, value_binop): Added cases for BINOP_MIN &
3745                 BINOP_MAX.
3746         * valops.c
3747         (value_struct_elt, check_field, value_struct_elt_for_address):
3748                 Changed to deal with multiple possible baseclasses.
3749         (value_of_this): Made SELECTED_FRAME an extern variable.
3750         * valprint.c
3751         (val_print): Added an argument DEREF_REF to dereference references
3752                 automatically, instead of printing them like pointers.
3753                 Changed number of arguments in recursive calls to itself.
3754                 Changed to deal with varibale numbers of base classes.
3755         (value_print): Changed number of arguments to val_print.  Print
3756                 type of value also if value is a reference.
3757         (type_print_derivation_info): Added function to print out
3758                 derivation info a a type.
3759         (type_print_base): Modified to use type_print_derivation_info and
3760                 to handle multiple baseclasses.
3761         
3762 Mon Nov 21 10:32:07 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3763
3764         * inflow.c (term_status_command): Add trailing newline to output. 
3765
3766         * sparc-dep.c (do_save_insn, do_restore_insn): Saved
3767         "stop_registers" over the call for the sake of normal_stop and
3768         run_stack_dummy.
3769
3770         * m-sparc.h (EXTRACT_RETURN_VALUE): Put in parenthesis to force
3771         addition of 8 to the int pointer, not the char pointer.
3772
3773         * sparc-pinsn.c (print_addr1): Believe that I have gotten the
3774         syntax right for loads and stores as adb does it.
3775
3776         * symtab.c (list_symbols): Turned search for match on rexegp into
3777         a single loop.
3778
3779         * dbxread.c (psymtab_to_symtab): Don't read it in if it's already
3780         been read in.
3781
3782         * dbxread.c (psymtab_to_symtab): Changed error to fatal in
3783         psymtab_to_symtab. 
3784
3785         * expread.y (parse_number): Fixed bug which treated 'l' at end of
3786         number as '0'.
3787
3788 Fri Nov 18 13:57:33 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
3789
3790         * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab): Was
3791         being foolish and using pointers into an array I could realloc.
3792         Converted these pointers into integers.
3793
3794 Wed Nov 16 11:43:10 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3795
3796         * m-sparc.h (POP_FRAME): Made the new frame be PC_ADJUST of the
3797         old frame.
3798
3799         * i386-pinsn.c, m-hp9k320.h, m-isi.h, m-merlin.h, m-news.h,
3800         m-npl.h, m-pn.h, m-sparc.h, m-sun2.h, m-sun3.h, m-umax.h, m-vax.h:
3801         Modified POP_FRAME to use the current frame instead of
3802         read_register (FP_REGNUM) and to flush_cached_frames before
3803         setting the current frame.  Also added a call to set the current
3804         frame in those POP_FRAMEs that didn't have it.
3805
3806         * infrun.c (wait_for_inferior): Moved call to set_current_frame up
3807         to guarrantee that the current frame will always be set when a
3808         POP_FRAME is done.  
3809
3810         * infrun.c (normal_stop): Added something to reset the pc of the
3811         current frame (was incorrect because of DECR_PC_AFTER_BREAK).
3812
3813         * valprint.c (val_print): Changed to check to see if a string was
3814         out of bounds when being printed and to indicate this if so.
3815
3816         * convex-dep.c (read_inferior_memory): Changed to return the value
3817         of errno if the call failed (which will be 0 if the call
3818         suceeded). 
3819
3820 Tue Nov 15 10:17:15 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3821
3822         * infrun.c (wait_for_inferior): Two changes: 1) Added code to
3823         not trigger the step breakpoint on recursive calls to functions
3824         without frame info, and 2) Added calls to distinguish recursive
3825         calls within a function without a frame (which next/nexti might
3826         wish to step over) from jumps to the beginning of a function
3827         (which it generally doesn't).
3828
3829         * m-sparc.h (INIT_EXTRA_FRAME_INFO): Bottom set correctly for leaf
3830         parents. 
3831
3832         * blockframe.c (get_prev_frame_cache_item): Put in mod to check
3833         for a leaf node (by presence or lack of function prologue).  If
3834         there is a leaf node, it is assumed that SAVED_PC_AFTER_CALL is
3835         valid.  Otherwise, FRAME_SAVED_PC or read_pc is used.
3836
3837         * blockframe.c, frame.h: Did final deletion of unused routines and
3838         commented problems with getting a pointer into the frame cache in
3839         the frame_info structure comment.
3840
3841         * blockframe.c, frame.h, stack.c: Killed use of
3842         frame_id_from_frame_info; used frame_id_from_addr instead.
3843
3844         * blockframe.c, frame.h, stack.c, others (oops): Combined stack
3845         cache and frame info structures.
3846
3847         * blockframe.c, sparc-dep.c, stack.c: Created the function
3848         create_new_frame and used it in place of bad calls to
3849         frame_id_from_addr. 
3850
3851         * blockframe.c, inflow.c, infrun.c, i386-pinsn.c, m-hp9k320.h,
3852         m-npl.h, m-pn.h, m-sparc.h, m-sun3.h, m-vax.h, default-dep.c,
3853         convex-dep.c, gould-dep.c, hp9k320-dep.c, news-dep.c, sparc-dep.c,
3854         sun3-dep.c, umax-dep.c: Killed use of
3855         set_current_Frame_by_address.  Used set_current_frame
3856         (create_new_frame...) instead.
3857
3858         * frame.h: Killed use of FRAME_FP_ID.
3859
3860         * infrun.c, blockframe.c: Killed select_frame_by_address.  Used
3861         select_frame (get_current_frame (), 0) (which was correct in all
3862         cases that we need to worry about.
3863
3864 Mon Nov 14 14:19:32 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3865
3866         * frame.h, blockframe.c, stack.c, m-sparc.h, sparc-dep.c: Added
3867         mechanisms to deal with possible specification of frames
3868         dyadically. 
3869
3870 Sun Nov 13 16:03:32 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
3871
3872         * ns32k-opcode.h: Add insns acbw, acbd.
3873
3874 Sun Nov 13 15:09:58 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3875
3876         * breakpoint.c: Changed breakpoint structure to use the address of
3877         a given frame (constant across inferior runs) as the criteria for
3878         stopping instead of the frame ident (which varies across inferior
3879         calls). 
3880
3881 Fri Nov 11 13:00:22 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3882
3883         * gld-pinsn.c (findframe): Modified to work with the new frame
3884         id's.  Actually, it looks as if this routine should be called with
3885         an address anyway.
3886
3887         * findvar.c (find_saved_register): Altered bactrace loop to work
3888         off of frames and not frame infos.
3889
3890         * frame.h, blockframe.c, stack.c, sparc-dep.c, m-sparc.h: Changed
3891         FRAME from being the address of the frame to being a simple ident
3892         which is an index into the frame_cache_item list.
3893         * convex-dep.c, default-dep.c, gould-dep.c, hp9k320-dep.c,
3894         i386-pinsn.c, inflow.c, infrun.c, news-dep.c, sparc-dep.c,
3895         sun3-dep.c, umax-dep.c, m-hp9k320.h, m-npl.h, m-pn.h, m-sparc.h,
3896         m-sun3.h, m-vax.h: Changed calls of the form set_current_frame
3897         (read_register (FP_REGNUM)) to set_current_frame_by_address (...). 
3898
3899 Thu Nov 10 16:57:57 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
3900
3901         * frame.h, blockframe.c, gld-pinsn.c, sparc-dep.c, stack.c,
3902         infrun.c, findvar.c, m-sparc.h: Changed the FRAME type to be
3903         purely an identifier, using FRAME_FP and FRAME_FP_ID to convert
3904         back and forth between the two.  The identifier is *currently*
3905         still the frame pointer value for that frame.
3906
3907 Wed Nov  9 17:28:14 1988  Chris Hanson  (cph at kleph)
3908
3909         * m-hp9k320.h (FP_REGISTER_ADDR): Redefine this to return
3910         difference between address of given FP register, and beginning of
3911         `struct user' that it occurs in.
3912
3913         * hp9k320-dep.c (core_file_command): Fix sign error in size
3914         argument to myread.  Change buffer argument to pointer; was
3915         copying entire structure.
3916         (fetch_inferior_registers, store_inferior_registers): Replace
3917         occurrences of `FP_REGISTER_ADDR_DIFF' with `FP_REGISTER_ADDR'.
3918         Flush former definition.
3919
3920 Wed Nov  9 12:11:37 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3921
3922         * xgdb.c: Killed include of initialize.h.
3923
3924         * Pulled in xgdb.c from the net.
3925
3926         * Checkpointed distribution (to provide to 3b2 guy).
3927
3928         * coffread.c, dbxread.c, symmisc.c, symtab.c, symseg.h: Changed
3929         format of table of line number--pc mapping information.  Can
3930         handle negative pc's now.
3931
3932         * command.c: Deleted local copy of savestring; code in utils.c is
3933         identical. 
3934
3935 Tue Nov  8 11:12:16 1988  Randall Smith  (randy at plantaris.ai.mit.edu)
3936
3937         * gdb.texinfo: Added documentation for shell escape.
3938
3939 Mon Nov  7 12:27:16 1988  Randall Smith  (randy at sugar-bombs.ai.mit.edu)
3940
3941         * command.c: Added commands for shell escape.
3942
3943         * core.c, dbxread.c: Added ROBOTUSSIN mods.
3944
3945         * Checkpointed distribution.
3946
3947         * printcmd.c (x_command): Yanked error if there is no memory to
3948         examine (could be looking at executable straight).
3949
3950         * sparc-pinsn.c (print_insn): Amount to leftshift sethi imm by is
3951         now 10 (matches adb in output).
3952
3953         * printcmd.c (x_command): Don't attempt to set $_ & $__ if there
3954         is no last_examine_value (can happen if you did an x/0).
3955
3956 Fri Nov  4 13:44:49 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
3957
3958         * printcmd.c (x_command): Error if there is no memory to examine.
3959
3960         * gdb.texinfo: Added "cont" to the command index.
3961
3962         * sparc-dep.c (do_save_insn): Fixed typo in shift amount.
3963
3964         * m68k-opcode.h: Fixed opcodes for 68881.
3965
3966         * breakpoint.c, infcmd.c, source.c: Changed defaults in several
3967         places for decode_line_1 to work off of the default_breakpoint_*
3968         values instead of current_source_* values (the current_source_*
3969         values are off by 5 or so because of listing defaults).
3970
3971         * stack.c (frame_info): ifdef'd out FRAME_SPECIFCATION_DYADIC in
3972         the stack.c module.  If I can't do this right, I don't want to do
3973         it at all.  Read the comment there for more info.
3974
3975 Mon Oct 31 16:23:06 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
3976
3977         * gdb.texinfo: Added documentation on the "until" command.
3978
3979 Sat Oct 29 17:47:10 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
3980
3981         * breakpoint.c, infcmd.c: Added UNTIL_COMMAND and subroutines of
3982         it. 
3983
3984         * breakpoint.c, infcmd.c, infrun.c: Added new field to breakpoint
3985         structure (silent, indicating a silent breakpoint), and modified
3986         breakpoint_stop_status and things that read it's return value to
3987         understand it.
3988
3989 Fri Oct 28 17:45:33 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
3990
3991         * dbxread.c, symmisc.c: Assorted speedups for readin, including
3992         special casing most common symbols, and doing buffering instead of
3993         calling malloc.  
3994
3995 Thu Oct 27 11:11:15 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
3996
3997         * stack.c, sparc-dep.c, m-sparc.h: Modified to allow "info frame"
3998         to take two arguments on the sparc and do the right thing with
3999         them. 
4000
4001         * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab): Put
4002         stuff to put only symbols that didn't have debugging info on the
4003         misc functions list back in.
4004
4005 Wed Oct 26 10:10:32 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
4006
4007         * valprint.c (type_print_varspec_suffix): Added check for
4008         TYPE_LENGTH(TYPE_TARGET_TYPE(type)) > 0 to prevent divide by 0.
4009
4010         * printcmd.c (print_formatted): Added check for VALUE_REPEATED;
4011         value_print needs to be called for that.
4012
4013         * infrun.c (wait_for_inferior): Added break when you decide to
4014         stop on a null function prologue rather than continue stepping.
4015
4016         * m-sun3.h: Added explanatory comment to REGISTER_RAW_SIZE.
4017
4018         * expread.y (parse_c_1): Initialized paren_depth for each parse.
4019
4020 Tue Oct 25 14:19:38 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
4021
4022         * valprint.c, coffread.c, dbxread.c: Enum constant values in enum
4023         type now accessed through TYPE_FIELD_BITPOS.
4024
4025         * dbxread.c (process_symbol_for_psymtab): Added code to deal with
4026         possible lack of a ":" in a debugging symbol (do nothing).
4027
4028         * symtab.c (decode_line_1): Added check in case of all numbers for
4029         complete lack of symbols.
4030
4031         * source.c (select_source_symtab): Made sure that this wouldn't
4032         bomb on complete lack of symbols.
4033
4034 Mon Oct 24 12:28:29 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
4035
4036         * m-sparc.h, findvar.c: Ditched REGISTER_SAVED_UNIQUELY and based
4037         code on REGISTER_IN_WINDOW_P and HAVE_REGISTER_WINDOWS.  This will
4038         break when we find a register window machine which saves the
4039         window registers within the context of an inferior frame.
4040
4041         * sparc-dep.c (frame_saved_pc): Put PC_ADJUST return back in for
4042         frame_saved_pc.  Seems correct.
4043
4044         * findvar.c, m-sparc.h: Created the macro REGISTER_SAVED_UNIQUELY
4045         to handle register window issues (ie. that find_saved_register
4046         wasn't checking the selected frame itself for shit). 
4047
4048         * sparc-dep.c (core_file_command): Offset target of o & g register
4049         bcopy by 1 to hit correct registers.
4050
4051         * m-sparc.h: Changed STACK_END_ADDR.
4052
4053 Sun Oct 23 19:41:51 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
4054
4055         * sparc-dep.c (core_file_command): Added in code to get the i & l
4056         registers from the stack in the corefile, and blew away some wrong
4057         code to get i & l from inferior.
4058
4059 Fri Oct 21 15:09:19 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
4060
4061         * m-sparc.h (PUSH_DUMMY_FRAME): Saved the value of the RP register
4062         in the location reserved for i7 (in the created frame); this way
4063         the rp value won't get lost.  The pc (what we put into the rp in
4064         this routine) gets saved seperately, so we loose no information.
4065
4066         * sparc-dep.c (do_save_insn & do_restore_insn): Added a wrapper to
4067         preserve the proceed status state variables around each call to
4068         proceed (the current frame was getting munged because this wasn't
4069         being done).
4070
4071         * m-sparc.h (FRAME_FIND_SAVED_REGS): Fix bug: saved registers
4072         addresses were being computed using absolute registers number,
4073         rather than numbers relative to each group of regs.
4074
4075         * m-sparc.h (POP_FRAME): Fixed a bug (I hope) in the context
4076         within which saved reg numbers were being interpetted.  The
4077         values to be restored were being gotten in the inferior frame, and
4078         the restoring was done in the superior frame.  This means that i
4079         registers must be restored into o registers.
4080
4081         * sparc-dep.c (do_restore_insn): Modified to take a pc as an
4082         argument, instead of a raw_buffer.  This matches (at least it
4083         appears to match) usage from POP_FRAME, which is the only place
4084         from which do_restore_insn is called.
4085
4086         * sparc-dep.c (do_save_insn and do_restore_insn): Added comments.
4087
4088         * m-sparc.h (FRAME_FIND_SAVED_REGS): Modified my code to find the
4089         save addresses of out registers to use the in regs off the stack
4090         pointer when the current frame is 1 from the innermost.
4091
4092 Thu Oct 20 13:56:15 1988  & Smith  (randy at hobbes.ai.mit.edu)
4093
4094         * blockframe.c, m-sparc.h: Removed code associated with
4095         GET_PREV_FRAME_FROM_CACHE_ITEM.  This code was not needed for the
4096         sparc; you can always find the previous frames fp from the fp of
4097         the current frame (which is the sp of the previous).  It's getting
4098         the information associated with a given frame (ie. saved
4099         registers) that's a bitch, because that stuff is saved relative to
4100         the stack pointer rather than the frame pointer.
4101
4102         * m-sparc.h (GET_PREV_FRAME_FROM_CACHE_ITEM): Modified to return
4103         the frame pointer of the previous frame instead of the stack
4104         pointer of same.
4105
4106         * blockframe.c (flush_cached_frames): Modified call to
4107         obstack_free to free back to frame_cache instead of back to zero.
4108         This leaves the obstack control structure in finite state (and
4109         still frees the entry allocated at frame_cache).
4110
4111 Sat Oct 15 16:30:47 1988  & Smith  (randy at tartarus.uchicago.edu)
4112
4113         * valops.c (call_function): Suicide material here.  Fixed a typo;
4114         CALL_DUMMY_STACK_ADJUST was spelled CAll_DUMMY_STACK_ADJUST on
4115         line 530 of the file.  This cost me three days.  I'm giving up
4116         typing for lent.
4117
4118 Fri Oct 14 15:10:43 1988  & Smith  (randy at tartarus.uchicago.edu)
4119
4120         * m-sparc.h: Corrected a minor mistake in the dummy frame code
4121         that was getting the 5th argument and the first argument from the
4122         same place.
4123
4124 Tue Oct 11 11:49:33 1988  & Smith  (randy at tartarus.uchicago.edu)
4125
4126         * infrun.c: Made stop_after_trap and stop_after_attach extern
4127         instead of static so that code which used proceed from machine
4128         dependent files could fiddle with them.
4129
4130         * blockframe.c, frame.h, sparc-dep.c, m-sparc.h: Changed sense of
4131         ->prev and ->next in struct frame_cache_item to fit usage in rest
4132         of gdb (oops).
4133
4134 Mon Oct 10 15:32:42 1988  Randy Smith  (randy at gargoyle.uchicago.edu)
4135
4136         * m-sparc.h, sparc-dep.c, blockframe.c, frame.h: Wrote
4137         get_frame_cache_item.  Modified FRAME_SAVED_PC and frame_saved_pc
4138         to take only one argument and do the correct thing with it.  Added
4139         the two macros I recently defined in blockframe.c to m-sparc.h.
4140         Have yet to compile this thing on a sparc, but I've now merged in
4141         everything that I received from tiemann, either exactly, or simply
4142         effectively. 
4143
4144         * source.c: Added code to allocated space to sals.sals in the case
4145         where no line was specified.
4146
4147         * blockframe.c, infrun.c: Modified to cache stack frames requested
4148         to minimize accesses to subprocess.
4149
4150 Tue Oct  4 15:10:39 1988  Randall Smith  (randy at cream-of-wheat.ai.mit.edu)
4151
4152         * config.gdb: Added sparc.
4153
4154 Mon Oct  3 23:01:22 1988  Randall Smith  (randy at cream-of-wheat.ai.mit.edu)
4155
4156         * Makefile, blockframe.c, command.c, core.c, dbxread.c, defs.h,
4157         expread.y, findvar.c, infcmd.c, inflow.c, infrun.c, sparc-pinsn.c,
4158         m-sparc.h, sparc-def.c, printcmd.c, stack.c, symmisc.c, symseg.h,
4159         valops.c, values.c: Did initial merge of sparc port.  This will
4160         not compile; have to do stack frame caching and finish port.
4161
4162         * inflow.c, gdb.texinfo: `tty' now resets the controling terminal. 
4163
4164 Fri Sep 30 11:31:16 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
4165
4166         * inferior.h, infcmd.c, infrun.c: Changed the variable
4167         stop_random_signal to stopped_by_random signal to fit in better
4168         with name conventions (variable is not a direction to the
4169         proceed/resume set; it is information from it).
4170
4171 Thu Sep 29 13:30:46 1988  Randall Smith  (randy at cream-of-wheat.ai.mit.edu)
4172
4173         * infcmd.c (finish_command): Value type of return value is now
4174         whatever the function returns, not the type of the function (fixed
4175         a bug in printing said value).
4176
4177         * dbxread.c (read_dbx_symtab, process_symbol_for_psymtab):
4178         Put *all* global symbols into misc_functions.  This is what was
4179         happening anyway, and we need it for find_pc_misc_function.
4180
4181         ** This was eventually taken out, but I didn't mark it in the
4182         ChangeLog.  Oops.
4183
4184         * dbxread.c (process_symbol_for_psymtab): Put every debugger
4185         symbol which survives the top case except for constants on the
4186         symchain.  This means that all of these *won't* show up in misc
4187         functions (this will be fixed once I make sure it's broken the way
4188         it's supposed to be).
4189
4190         * dbxread.c: Modified placement of debugger globals onto the hash
4191         list; now we exclude the stuff after the colon and don't skip the
4192         first character (debugger symbols don't have underscores).
4193
4194         * dbxread.c: Killed debuginfo stuff with ifdef's.
4195
4196 Wed Sep 28 14:31:51 1988  Randall Smith  (randy at cream-of-wheat.ai.mit.edu)
4197
4198         * symtab.h, dbxread.c: Modified to deal with BINCL, EINCL, and
4199         EXCL symbols produced by the sun loader by adding a list of
4200         pre-requisite partial_symtabs that each partial symtab needs.
4201
4202         * symtab.h, dbxread.c, symtab.c, symmisc.c: Modified to avoid
4203         doing a qsort on the local (static) psymbols for each file to
4204         speed startup.  This feature is not completely debugged, but it's
4205         inclusion has forced the inclusion of another feature (dealing
4206         with EINCL's, BINCL's and EXCL's) and so I'm going to go in and
4207         deal with them.
4208
4209         * dbxread.c (process_symbol_for_psymtab): Made sure that the class
4210         of the symbol made it into the partial_symbol entry.
4211
4212 Tue Sep 27 15:10:26 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
4213
4214         * dbxread.c: Fixed bug; init_psymbol_list was not being called
4215         with the right number of arguments (1).
4216
4217         * dbxread.c: Put ifdef's around N_MAIN, N_M2C, and N_SCOPE to
4218         allow compilation on a microvax.
4219
4220         * config.gdb: Modified so that "config.gdb vax" would work.
4221
4222         * dbxread.c, symtab.h, symmisc.h, symtab.c, source.c: Put in many
4223         and varied hacks to speed up gdb startup including: A complete
4224         rewrite of read_dbx_symtab, a modification of the partial_symtab
4225         data type, deletion of select_source_symtab from
4226         symbol_file_command, and optimiztion of the call to strcmp in
4227         compare_psymbols. 
4228
4229 Thu Sep 22 11:08:54 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
4230
4231         * dbxread.c (psymtab_to_symtab): Removed call to
4232         init_misc_functions. 
4233
4234         * dbxread.c: Fixed enumeration type clash (used enum instead of
4235         integer constant).
4236
4237         * breakpoint.c: Fixed typo; lack of \ at end of line in middle of
4238         string constant. 
4239
4240         * symseg.h: Fixed typo; lack of semicolon after structure
4241         definition. 
4242
4243         * command.c, breakpoint.c, printcmd.c: Added cmdlist editing
4244         functions to add commands with the abbrev flag set.  Changed
4245         help_cmd_list to recognize this flag and modified unset,
4246         undisplay, and enable, disable, and delete breakpoints to have
4247         this flag set.
4248
4249 Wed Sep 21 13:34:19 1988  Randall Smith  (randy at plantaris.ai.mit.edu)
4250
4251         * breakpoint.c, infcmd.c, gdb.texinfo: Created "unset" as an alias
4252         for delete, and changed "unset-environment" to be the
4253         "environment" subcommand of "delete".
4254
4255         * gdb.texinfo, valprint.c: Added documentation in the manual for
4256         breaking the set-* commands into subcommands of set.  Changed "set
4257         maximum" to "set array-max".
4258
4259         * main.c, printcmd.c, breakpoint.c: Moved the declaration of
4260         command lists into main and setup a function in main initializing
4261         them to guarrantee that they would be initialized before calling
4262         any of the individual files initialize routines.
4263
4264         * command.c (lookup_cmd): A null string subcommand is treated as
4265         an unknown subcommand rather than an ambiguous one (eg. "set $x =
4266         1" will now work).
4267
4268         * infrun.c (wait_for_inferior): Put in ifdef for Sony News in
4269         check for trap by INNER_THAN macro.
4270
4271         * eval.c (evaluate_subexp): Put in catch to keep the user from
4272         attempting to call a non function as a function.
4273
4274 Tue Sep 20 10:35:53 1988  Randall Smith  (randy at oatmeal.ai.mit.edu)
4275
4276         * dbxread.c (read_dbx_symtab): Installed code to keep track of
4277         which global symbols did not have debugger symbols refering to
4278         them, and recording these via record_misc_function.
4279
4280         * dbxread.c: Killed code to check for extra global symbols in the
4281         debugger symbol table.
4282
4283         * printcmd.c, breakpoint.c: Modified help entries for several
4284         commands to make sure that abbreviations were clearly marked and
4285         that the right commands showed up in the help listings.
4286
4287         * main.c, command.c, breakpoint.c, infcmd.c, printcmd.c,
4288         valprint.c, defs.h: Modified help system to allow help on a class
4289         name to show subcommands as well as commands and help on a command
4290         to show *all* subcommands of that command.
4291
4292 Fri Sep 16 16:51:19 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
4293
4294         * breakpoint.c (_initialize_breakpoint): Made "breakpoints"
4295         subcommands of enable, disable, and delete use class 0 (ie. they
4296         show up when you do a help xxx now).
4297
4298         * infcmd.c,printcmd,c,main.c,valprint.c: Changed the set-*
4299         commands into subcommands of set.  Created "set variable" for use
4300         with variables whose names might conflict with other subcommands.
4301
4302         * blockframe.c, dbxread.c, coffread.c, expread.y, source.c:
4303         Fixed mostly minor (and one major one in block_for_pc) bugs
4304         involving checking the partial_symtab_list when a scan through the
4305         symtab_list fails.
4306
4307 Wed Sep 14 12:02:05 1988  Randall Smith  (randy at sugar-smacks.ai.mit.edu)
4308
4309         * breakpoint.c, gdb.texinfo: Added enable breakpoints, disable
4310         breakpoints and delete breakpoints as synonyms for enable,
4311         disable, and delete.  This seemed reasonable because of the
4312         immeninent arrival of watchpoints & etc.
4313
4314         * gdb.texinfo: Added enable display, disable display, and delete
4315         display to manual.
4316
4317 Tue Sep 13 16:53:56 1988  Randall Smith  (randy at sugar-smacks.ai.mit.edu)
4318
4319         * inferior.h, infrun.c, infcmd.c: Added variable
4320         stop_random_signal to indicate when a proceed had been stopped by
4321         an unexpected signal.  Used this to determine (in normal_stop)
4322         whether the current display point should be deleted.
4323
4324         * valops.c: Fix to value_ind to check for reference before doing a
4325         COERCE_ARRAY.
4326
4327 Sun Jul 31 11:42:36 1988  Richard Stallman  (rms at frosted-flakes.ai.mit.edu)
4328
4329         * breakpoint.c (_initialize_breakpoint): Clean up doc for commands
4330         that can now apply also to auto-displays.
4331
4332         * coffread.c (record_line): Corrected a spazz in editing.
4333         Also removed the two lines that assume line-numbers appear
4334         only in increasing order.
4335
4336 Tue Jul 26 22:19:06 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
4337
4338         * expression.h, eval.c, expprint.c, printcmd.c, valarith.c,
4339         valops.c, valprint.c, values.c, m-*.h: Changes for evaluating and
4340         displaying 64-bit `long long' integers.  Each machine must define
4341         a LONGEST type, and a BUILTIN_TYPE_LONGEST.
4342
4343         * symmisc.c: (print_symtab) check the status of the fopen and call
4344         perror_with_name if needed.
4345
4346 Thu Jul 21 00:56:11 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
4347
4348         * Convex: core.c: changes required by Convex's SOFF format were
4349         isolated in convex-dep.c.
4350
4351 Wed Jul 20 21:26:10 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
4352
4353         * coffread.c, core.c, expread.y, i386-pinsn.c, infcmd.c, inflow.c,
4354         infrun.c, m-i386.h, main.c, remote.c, source.c, valops.c:
4355         Improvements for the handling of the i386 and other machines
4356         running USG.  (Several of these files just needed extra header files
4357         such as types.h.) utils.c: added bcopy, bcmp, bzero, getwd, list
4358         of signals, and queue routines for USG systems.  Added vfork macro
4359         to i386
4360
4361         * printcmd.c, breakpoint.c: New commands to enable/disable
4362         auto-displays.  Also `delete display displaynumber' works like
4363         `undisplay displaynumber'.
4364
4365 Tue Jul 19 02:17:18 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
4366
4367         * coffread.c: (coff_lookup_type)  Wrong portion of type_vector was
4368         being bzero'd after type_vector was reallocated.
4369
4370         * printcmd.c: (delete_display) Check for a display chain before
4371         attempting to delete a display.
4372
4373         * core.c, *-dep.c (*-infdep moved to *-dep): machine-dependent
4374         parts of core.c (core_file_command, exec_file_command) moved to
4375         *-dep.c. 
4376
4377 Mon Jul 18 19:45:51 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
4378
4379         * dbxread.c: typo in read_struct_type (missing '=') was causing a
4380         C struct to be parsed as a C++ struct, resulting in a `invalid
4381         character' message.
4382
4383 Sun Jul 17 22:27:32 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
4384
4385         * printcmd.c, symtab.c, valops.c, expread.y: When an expression is
4386         read, the innermost block required to evaluate the expression is
4387         saved in the global variable `innermost_block'.  This information
4388         is saved in the `block' field of an auto-display so that
4389         expressions with inactive variables can be skipped.  `info display'
4390         tells the user which displays are active and which are not.  New
4391         fn `contained_in' returns nonzero if one block is contained within
4392         another. 
4393
4394 Fri Jul 15 01:53:14 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
4395
4396         * infrun.c, m-i386.h: Use macro TRAPS_EXPECTED to set number of
4397         traps to skip when sh execs the program.  Default is 2, m-i386.h
4398         overrides this and sets to 4.
4399
4400         * coffread.c, infrun.c: minor changes for the i386.  May be able
4401         to eliminate them with more general code.
4402
4403         * default-infdep.c: #ifdef SYSTEMV, include header file types.h.
4404         Also switched the order of signal.h and user.h, since System 5
4405         requires signal.h to come first.
4406
4407         * core.c main.c, remote,c, source.c, inflow.c: #ifdef SYSTEMV,
4408         include various header files.  Usually types.h and fcntl.h.
4409
4410         * utils.c: added queue routines needed by the i386 (and other sys
4411         5 machines).
4412
4413         * sys5.c, regex.c, regex.h: new files for sys 5 systems.  (The
4414         regex files are simply links to /gp/gnu/lib.)
4415
4416 Thu Jul 14 01:47:14 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
4417
4418         * config.gdb, README: Provide a list of known machines when user
4419         enters an invalid machine.  New second arg is operating system,
4420         currently only used with `sunos4' or `os4'. Entry for i386 added.
4421
4422         * news-infdep.c: new file.
4423
4424         * m-news.h: new version which deals with new bugs in news800's OS.
4425
4426 Tue Jul 12 19:52:16 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
4427
4428         * Makefile, *.c, munch, config.gdb, README: New initialization
4429         scheme uses nm to find functions whose names begin with
4430         `_initialize_'.  Files `initialize.h', `firstfile.c',
4431         `lastfile.c', `m-*init.h' no longer needed. 
4432
4433         * eval.c, symtab.c, valarith.c, valops.c, value.h, values.c: Bug
4434         fixes from gdb+ 2.5.4.  evaluate_subexp takes a new arg, type
4435         expected. New fn value_virtual_fn_field.
4436
4437 Mon Jul 11 00:48:49 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
4438
4439         * core.c (read_memory): xfer_core_file was being called with an
4440         extra argument (0) by read_memory.
4441
4442         * core.c (read_memory), *-infdep.c (read_inferior_memory),
4443         valops.c (value_at): read_memory and read_inferior_memory now work
4444         like write_memory and write_inferior_memory in that errno is
4445         checked after each ptrace and returned to the caller.  Used in
4446         value_at to detect references to addresses which are out of
4447         bounds.  Also core.c (xfer_core_file): return 1 if invalid
4448         address, 0 otherwise.
4449
4450         * inflow.c, <machine>-infdep.c: removed all calls to ptrace from
4451         inflow.c and put them in machine-dependent files *-infdep.c.
4452
4453 Sun Jul 10 19:19:36 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
4454
4455         * symmisc.c: (read_symsegs) Accept only format number 2.  Since
4456         the size of the type structure changed when C++ support was added,
4457         format 1 can no longer be used.
4458
4459         * core.c, m-sunos4.h: (core_file_command) support for SunOS 4.0.
4460         Slight change in the core structure.  #ifdef SUNOS4.  New file
4461         m-sunos4.h.  May want to change config.gdb also.
4462
4463 Fri Jul  8 19:59:49 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
4464
4465         * breakpoint.c: (break_command_1) Allow `break if condition'
4466         rather than parsing `if' as a function name and returning an
4467         error.
4468
4469 Thu Jul  7 22:22:47 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
4470
4471         * C++: valops.c, valprint.c, value.h, values.c: merged code to deal
4472         with C++ expressions.
4473
4474 Wed Jul  6 03:28:18 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
4475
4476         * C++: dbxread.c: (read_dbx_symtab, condense_misc_bunches,
4477         add_file_command)  Merged code to read symbol information from
4478         an incrementally linked file.  symmisc.c:
4479         (init_free_inclink_symtabs, free_inclink_symtabs) Cleanup
4480         routines.
4481
4482 Tue Jul  5 02:50:41 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
4483
4484         * C++: symtab.c, breakpoint.c, source.c:  Merged code to deal with
4485         ambiguous line specifications.  In C++ one can have overloaded
4486         function names, so that `list classname::overloadedfuncname'
4487         refers to several different lines, possibly in different files.
4488
4489 Fri Jul  1 02:44:20 1988  Peter TerMaat  (pete at corn-chex.ai.mit.edu)
4490
4491         * C++: symtab.c: replaced lookup_symtab_1 and lookup_symtab_2 with
4492         a modified lookup_symbol which checks for fields of the current
4493         implied argument `this'.  printcmd.c, source.c, symtab.c,
4494         valops.c: Need to change callers once callers are
4495         installed. 
4496
4497 Wed Jun 29 01:26:56 1988  Peter TerMaat  (pete at frosted-flakes.ai.mit.edu)
4498
4499         * C++: eval.c, expprint.c, expread.y, expression.h, valarith.c, 
4500         Merged code to deal with evaluation of user-defined operators,
4501         member functions, and virtual functions.
4502         binop_must_be_user_defined tests for user-defined binops, 
4503         value_x_binop calls the appropriate operator function. 
4504
4505 Tue Jun 28 02:56:42 1988  Peter TerMaat  (pete at frosted-flakes.ai.mit.edu)
4506
4507         * C++: Makefile: changed the echo: expect 101 shift/reduce conflicts 
4508         and 1 reduce/reduce conflict.
4509 \f
4510 Local Variables:
4511 mode: indented-text
4512 left-margin: 8
4513 fill-column: 74
4514 version-control: never
4515 End:
This page took 0.282945 seconds and 4 git commands to generate.