OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [gdb/] [ChangeLog-3.x] - Blame information for rev 356

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.