-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog-3.x
4838 lines (3403 loc) · 180 KB
/
ChangeLog-3.x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Tue Jan 23 15:49:47 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)
* dbxread.c (define_symbol): Deal with deftype 'X'.
* convex-dep.c (wait): Make it pid_t.
* convex-dep.c (comm_registers_info): accept decimal comm register
specification, as "i comm 32768".
* dbxread.c (process_one_symbol): Make VARIABLES_INSIDE_BLOCK
macro say by itself where variables are. Pass it desc.
m-convex.h (VARIABLES_INSIDE_BLOCK): Nonzero for native compiler.
* m-convex.h (SET_STACK_LIMIT_HUGE): Define.
(IGNORE_SYMBOL): Take out #ifdef N_MONPT and put in 0xc4.
Fri Jan 19 20:04:15 1990 Jim Kingdon (kingdon at albert.ai.mit.edu)
* printcmd.c (print_frame_args): Always set highest_offset to
current_offset when former is -1.
* dbxread.c (read_struct_type): Print nice error message
when encountering multiple inheritance.
Thu Jan 18 13:43:30 1990 Jim Kingdon (kingdon at mole.ai.mit.edu)
* dbxread.c (read_dbx_symtab): Always treat N_FN as a potential
source for a x.o or -lx symbol, ignoring OFILE_FN_FLAGGED.
* printcmd.c (print_frame_args): Cast -1 to (CORE_ADDR).
* hp300bsd-dep.c (_initialize_hp300_dep): Get kernel_u_addr.
m-hp300bsd.h (KERNEL_U_ADDR): Use kernel_u_addr.
* infcmd.c (run_command): #if 0 out call to
breakpoint_clear_ignore_counts.
Thu Jan 11 12:58:12 1990 Jim Kingdon (kingdon at mole)
* printcmd.c (print_frame_args) [STRUCT_ARG_SYM_GARBAGE]:
Try looking up name of var before giving up & printing '?'.
Wed Jan 10 14:00:14 1990 Jim Kingdon (kingdon at pogo)
* many files: Move stdio.h before param.h.
* sun3-dep.c (store_inferior_registers): Only try to write FP
regs #ifdef FP0_REGNUM.
Mon Jan 8 17:56:15 1990 Jim Kingdon (kingdon at pogo)
* symtab.c: #if 0 out "info methods" code.
Sat Jan 6 12:33:04 1990 Jim Kingdon (kingdon at pogo)
* dbxread.c (read_struct_type): Set TYPE_NFN_FIELDS_TOTAL
from all baseclasses; remove vestigial variable baseclass.
* findvar.c (read_var_value): Check REG_STRUCT_HAS_ADDR.
printcmd.c (print_frame_args): Check STRUCT_ARG_SYM_GARBAGE.
m-sparc.h: Define REG_STRUCT_HAS_ADDR and STRUCT_ARG_SYM_GARBAGE.
* blockframe.c (get_frame_block): Subtract one from pc if not
innermost frame.
Fri Dec 29 15:26:33 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* printcmd.c (print_frame_args): check highest_offset != -1, not i.
Thu Dec 28 16:21:02 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* valops.c (value_struct_elt): Clean up error msg.
* breakpoint.c (describe_other_breakpoints):
Delete extra space before "also set at" and add period at end.
Tue Dec 19 10:28:42 1989 Jim Kingdon (kingdon at pogo)
* source.c (print_source_lines): Tell user which line number
was out of range when printing error message.
Sun Dec 17 14:14:09 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* blockframe.c (find_pc_partial_function): Use
BLOCK_START (SYMBOL_BLOCK_VALUE (f)) instead of
SYMBOL_VALUE (f) to get start of function.
* dbxread.c: Make xxmalloc just a #define for xmalloc.
Thu Dec 14 16:13:16 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* m68k-opcode.h (fseq & following fp instructions):
Change @ to $.
Fri Dec 8 19:06:44 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* breakpoint.c (breakpoint_clear_ignore_counts): New function.
infcmd.c (run_command): Call it.
Wed Dec 6 15:03:38 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* valprint.c: Change it so "array-max 0" means there is
no limit.
* expread.y (yylex): Change error message "invalid token in
expression" to "invalid character '%c' in expression".
Mon Dec 4 16:12:54 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* blockframe.c (find_pc_partial_function): Always return 1
for success, 0 for failure, and set *NAME and *ADDRESS to
match the return value.
* dbxread.c (symbol_file_command): Use perror_with_name on
error from stat.
(psymtab_to_symtab, add_file_command),
core.c (validate_files), source.c (find_source_lines),
default-dep.c (exec_file_command): Check for errors from stat,
fstat, and myread.
Fri Dec 1 05:16:42 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* valops.c (check_field): When following pointers, just get
their types; don't call value_ind.
Thu Nov 30 14:45:29 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* config.gdb (pyr): New machine.
core.c [REG_STACK_SEGMENT]: New code.
dbxread.c (process_one_symbol): Cast return from copy_pending
to long before casting to enum namespace.
infrun.c: Split registers_info into DO_REGISTERS_INFO
and registers_info.
m-pyr.h, pyr-{dep.c,opcode.h,pinsn.c}: New files.
* hp300bsd-dep.c: Stay in sync with default-dep.c.
* m-hp300bsd.h (IN_SIGTRAMP): Define.
Mon Nov 27 23:48:21 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
* m-sparc.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE):
Return floating point values in %f0.
Tue Nov 21 00:34:46 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* dbxread.c (read_type): #if 0 out code which skips to
comma following x-ref.
Sat Nov 18 20:10:54 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* valprint.c (val_print): Undo changes of Nov 11 & 16.
(print_string): Add parameter force_ellipses.
(val_print): Pass force_ellipses true when we stop fetching string
before we get to the end, else pass false.
Thu Nov 16 11:59:50 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* infrun.c (restore_inferior_status): Don't try to restore
selected frame if the inferior no longer exists.
* valprint.c (val_print): Rewrite string printing code not to
call print_string.
* Makefile.dist (clean): Remove xgdb and xgdb.o.
Tue Nov 14 12:41:47 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* Makefile.dist (XGDB, bindir, xbindir, install, all): New stuff.
Sat Nov 11 15:29:38 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* valprint.c (val_print): chars_to_get: New variable.
Thu Nov 9 12:31:47 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* main.c (main): Process "-help" as a switch that doesn't
take an argument.
Wed Nov 8 13:07:02 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* Makefile.dist (gdb.tar.Z): Add "else true".
Tue Nov 7 12:25:14 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* infrun.c (restore_inferior_status): Don't dereference fid if NULL.
* config.gdb (sun3, sun4): Accept "sun3" and "sun4".
Mon Nov 6 09:49:23 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* Makefile.dist (Makefile): Move comments after commands.
* *-dep.c [READ_COFF_SYMTAB]: Pass optional header size to
read_section_hdr().
* inflow.c: Include <fcntl.h> regardless of USG.
* coffread.c (read_section_hdr): Add optional_header_size.
(symbol_file_command): Pass optional header size to
read_section_hdr().
(read_coff_symtab): Initialize filestring.
* version.c: Change version to 3.4.xxx.
* GDB 3.4 released.
Sun Nov 5 11:39:01 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* version.c: Change version to 3.4.
* symtab.c (decode_line_1): Only skip past "struct" if it
is there.
* valops.c (value_ind), eval.c (evaluate_subexp, case UNOP_IND):
Have "*" <int-valued-exp> return an int, not a LONGEST.
* utils.c (fprintf_filtered): Pass arg{4,5,6} to sprintf.
* printcmd.c (x_command): Use variable itself rather
than treating it as a pointer only if it is a function.
(See comment "this makes x/i main work").
* coffread.c (symbol_file_command): Use error for
"%s does not have a symbol-table.\n".
Wed Nov 1 19:56:18 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* dbxread.c [BELIEVE_PCC_PROMOTION_TYPE]: New code.
m-sparc.h: Define BELIEVE_PCC_PROMOTION_TYPE.
Thu Oct 26 12:45:00 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* infrun.c: Include <sys/dir.h>.
* dbxread.c (read_dbx_symtab, case N_LSYM, case 'T'):
Check for enum types and put constants in psymtab.
Mon Oct 23 15:02:25 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* dbxread.c (define_symbol, read_dbx_symtab): Handle enum
constants (e.g. "b:c=e6,0").
Thu Oct 19 14:57:26 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* stack.c (frame_info): Use FRAME_ARGS_ADDRESS_CORRECT
m-vax.h (FRAME_ARGS_ADDRESS_CORRECT): New macro.
(FRAME_ARGS_ADDRESS): Restore old meaning.
* frame.h (Frame_unknown): New macro.
stack.c (frame_info): Check for Frame_unknown return from
FRAME_ARGS_ADDRESS.
m-vax.h (FRAME_ARGS_ADDRESS): Sometimes return Frame_unknown.
* utils.c (fatal_dump_core): Add "internal error" to message.
* infrun.c (IN_SIGTRAMP): New macro.
(wait_for_inferior): Use IN_SIGTRAMP.
m-vax.h (IN_SIGTRAMP): New macro.
Wed Oct 18 15:09:22 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* config.gdb, Makefile.dist: Shorten m-i386-sv32.h.
* coffread.c (symbol_file_command): Pass 0 to select_source_symtab.
Tue Oct 17 12:24:41 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* i386-dep.c (i386_frame_num_args): Take function from m-i386.h
file. Check for pfi null.
m-i386.h (FRAME_NUM_ARGS): Use i386_frame_num_args.
* infrun.c (wait_for_inferior): set stop_func_name to 0
before calling find_pc_partial_function.
Thu Oct 12 01:08:50 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* breakpoint.c (_initialize_breakpoint): Add "disa".
* Makefile.dist: Add GLOBAL_CFLAGS and pass to readline.
* config.gdb (various): "$machine =" -> "machine =".
Wed Oct 11 11:54:31 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* inflow.c (try_writing_regs): #if 0 out this function.
* main.c (main): Add "-help" option.
* dbxread.c (read_dbx_symtab): Merge code for N_FUN with
N_STSYM, etc.
Mon Oct 9 14:21:55 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* inflow.c (try_writing_regs_command): Don't write past end
of struct user.
* dbxread.c (read_struct_type): #if 0 out code which checks for
bitpos and bitsize 0.
* config.gdb: Accept sequent-i386 (not seq386).
(symmetry): Set depfile and paramfile.
* m-convex.h (IGNORE_SYMBOL): Check for N_MONPT if defined.
Thu Oct 5 10:14:26 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* default-dep.c (read_inferior_memory): Put #if 0'd out comment
within /* */.
Wed Oct 4 18:44:41 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
* config.gdb: Change /dev/null to m-i386.h for various
386 machine "opcodefile" entries.
* config.gdb: Accept seq386 for sequent symmetry.
Mon Oct 2 09:59:50 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* hp300bsd-dep.c: Fix copyright notice.
Sun Oct 1 16:25:30 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* Makefile.dist (DEPFILES): Add isi-dep.c.
* default-dep.c (read_inferior_memory): Move #endif after else.
Sat Sep 30 12:50:16 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* version.c: Change version number to 3.3.xxx.
* GDB 3.3 released.
* version.c: Change version number to 3.3.
* Makefile.dist (READLINE): Add vi_mode.c
* config.gdb (i386): Change /dev/null to m-i386.h
* config.gdb: Add ';;' before 'esac'.
* Makefile.dist (gdb.tar.Z): Move comment above dependency.
* dbxread.c (read_ofile_symtab): Check symbol before start
of source file for GCC_COMPILED_FLAG_SYMBOL.
(start_symtab): Don't clear processing_gcc_compilation.
Thu Sep 28 22:30:23 1989 Roland McGrath (roland at hobbes.ai.mit.edu)
* valprint.c (print_string): If LENGTH is zero, print "".
Wed Sep 27 10:15:10 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
* config.gdb: "rm tmp.c" -> "rm -f tmp.c".
Tue Sep 26 13:02:10 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* utils.c (_initialize_utils): Use termcap to set lines_per_page
and chars_per_line.
Mon Sep 25 10:06:43 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* dbxread.c (read_dbx_symtab, N_SOL): Do not add the same file
more than once.
Thu Sep 21 12:43:18 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* infcmd.c (unset_environment_command): Delete all variables
if called with no arg.
* remote.c, inferior.h (remote_{read,write}_inferior_memory):
New functions.
core.c ({read,write}_memory): Use remote_{read,write}_inferior_memory.
* valops.c (call_function): When reserving stack space for
arguments, call value_arg_coerce.
* m-hp9k320.h: define BROKEN_LARGE_ALLOCA.
* breakpoint.c (delete_command): Ask for confirmation only
when there are breakpoints.
* dbxread.c (read_struct_type): If lookup_basetype_type has
copied a stub type, call add_undefined_type.
* sparc_pinsn.c (compare_opcodes): Check for "1+i" anywhere
in args.
* val_print.c (type_print_base): Print stub types as
"<incomplete type>".
Wed Sep 20 07:32:00 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* sparc-opcode.h (swapa): Remove i bit from match.
(all alternate space instructions): Delete surplus "foo rs1+0"
patterns.
* Makefile.dist (LDFLAGS): Set to $(CFLAGS).
* remote-multi.shar (remote_utils.c, putpkt): Change csum to unsigned.
Tue Sep 19 14:15:16 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
* sparc-opcode.h: Set i bit in lose for many instructions which
aren't immediate.
* stack.c (print_frame_info): add "func = 0".
Mon Sep 18 16:19:48 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* sparc-opcode.h (mov): Add mov to/from %tbr, %psr, %wim.
* sparc-opcode.h (rett): Fix notation to use suggested assembler
syntax from architecture manual.
* symmetry-dep.c (I386_REGNO_TO_SYMMETRY): New macro.
(i386_frame_find_saved_regs): Use I386_REGNO_TO_SYMMETRY.
Sat Sep 16 22:21:17 1989 Jim Kingdon (kingdon at spiff)
* remote.c (remote_close): Set remote_desc to -1.
* gdb.texinfo (Output): Fix description of echo to match
reality and ANSI C.
Fri Sep 15 14:28:59 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
* symtab.c (lookup_symbol): Add comment about "asm".
* sparc-pinsn.c: Use NUMOPCODES.
* sparc-opcode.h (NUMOPCODES): Use sparc_opcodes[0] not *sparc_opcodes.
Thu Sep 14 15:25:20 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
* dbxread.c (xxmalloc): Print error message before calling abort().
* infrun.c (wait_for_inferior): Check for {stop,prev}_func_name
null before passing to strcmp.
Wed Sep 13 12:34:15 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* sparc-opcode.h: New field delayed.
sparc-pinsn.c (is_delayed_branch): New function.
(print_insn): Check for delayed branches.
* stack.c (print_frame_info): Use misc_function_vector in
case where ar truncates file names.
Tue Sep 12 00:16:14 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* convex-dep.c (psw_info): Move "struct pswbit *p" with declarations.
Mon Sep 11 14:59:57 1989 Jim Kingdon (kingdon at spiff)
* convex-dep.c (core_file_command): Delete redundant printing
of "Program %s".
* m-convex.h (ENTRY_POINT): New macro.
* m-convex.h (FRAME_CHAIN_VALID): Change outside_first_object_file
to outside_startup_file
* main.c: #if 0 out catch_termination and related code.
* command.c (lookup_cmd_1): Consider underscores part of
command names.
Sun Sep 10 09:20:12 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* printcmd.c: Change asdump_command to disassemble_command
(_initialize_printcmd): Change asdump to diassemble.
* main.c (main): Exit with code 0 if we hit the end of a batch
file.
* Makefile.dist (libreadline.a): Fix syntax of "CC=${CC}".
Sat Sep 9 01:07:18 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
* values.c (history_info): Renamed to value_history_info.
Command renamed to "info value" (with "info history" still
accepted).
* sparc-pinsn.c (print_insn): Extend symbolic address printing
to cover "sethi" following by an insn which uses 1+i.
Fri Sep 8 14:24:01 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* m-hp9k320.h, m-hp300bsd.h, m-altos.h, m-sparc.h, m-sun3.h
(READ_GDB_SYMSEGS): Remove.
dbxread.c [READ_GDB_SYMSEGS]: Remove code to read symsegs.
* sparc-pinsn.c (print_insn): Detect "sethi-or" pairs and
print symbolic address.
* sparc-opcode.h (sethi, set): Change lose from 0xc0000000 to
0xc0c00000000.
* remote.c (remote_desc): Initialize to -1.
* Makefile.dist (libreadline.a): Pass CC='${CC}' to readline makefile.
Thu Sep 7 00:07:17 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
* dbxread.c (read_struct_type): Check for static member functions.
values.c, eval.c, valarith.c, valprint.c, valops.c: Merge changes
from Tiemann for static member functions.
* sparc-opcode.h (tst): Fix all 3 patterns.
* Makefile.dist (gdb1): New rule.
* sparc-opcode.h: Change comment about what the disassembler
does with the order of the opcodes.
* sparc-pinsn.c (compare_opcodes): Put 1+i before i+1.
Also fix mistaken comment about preserving order of original table.
* sparc-opcode.h (clr, mov): Fix incorrect lose entries.
* m-symmetry.h (FRAME_NUM_ARGS): Add check to deal with code that
GCC sometimes generates.
* config.gdb: Change all occurances of "skip" to "/dev/null".
* README (about languages other than C): Update comments about
Pascal and FORTRAN.
* sparc-opcode.h (nop): Change lose from 0xae3fffff to 0xfe3fffff.
* values.c (value_virtual_fn_field): #if 0-out assignment to
VALUE_TYPE(vtbl).
Wed Sep 6 12:19:22 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* utils.c (fatal_dump_core): New function.
Makefile.dist (MALLOC_FLAGS): use -Dbotch=fatal_dump_core
Tue Sep 5 15:47:18 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* breakpoint.c (enable_command): With no arg, enable all bkpts.
* Makefile.dist (Makefile): Remove \"'s around $(MD).
* Makefile.dist: In "cd readline; make . . ." change first
SYSV_DEFINE to SYSV.
* m68k-pinsn.c (_initialize_pinsn): Use alternate assembler
syntax #ifdef HPUX_ASM
Sat Sep 2 23:24:43 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
* values.c (history_info): Don't check num_exp[0] if num_exp
is nil (just like recent editing_info change).
Fri Sep 1 19:19:01 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
* gdb.texinfo (inc-history, inc-readline): Copy in the inc-* files
because people might not have makeinfo.
* README (xgdb): Strengthen nasty comments.
* gdb.texinfo: Change @setfilename to "gdb.info".
Thu Aug 31 17:23:50 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
* main.c (editing_info): Don't check arg[0] if arg is null.
* m-vax.h: Add comment about known sigtramp bug.
* sun3-dep.c, sparc-dep.c (IS_OBJECT_FILE, exec_file_command):
Get right text & data addresses for .o files.
Wed Aug 30 13:54:19 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* utils.c (tilde_expand): Remove function (it's in readline).
* sparc-opcode.h (call): Change "8" to "9" in first two
patterns (%g7->%o7).
Tue Aug 29 16:44:41 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* printcmd.c (whatis_command): Change 4th arg to type_print
from 1 to -1.
Mon Aug 28 12:22:41 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* dbxread.c (psymtab_to_symtab_1): In "and %s ..." change
pst->filename to pst->dependencies[i]->filename.
* blockframe.c (FRAMELESS_LOOK_FOR_PROLOGUE): New macro
made from FRAMELESS_FUNCTION_INVOCATION from m-sun3.h except
that it checks for zero return from get_pc_function_start.
m-hp9k320.h, m-hp300bsd.h, m-i386.h, m-isi.h, m-altos.h,
m-news.h, m-sparc.h, m-sun2.h, m-sun3.h, m-symmetry.h
(FRAMELESS_FUNCTION_INVOCATION): Use FRAMELESS_LOOK_FOR_PROLOGUE.
* dbxread.c (read_struct_type): Give warning and ignore field
if bitpos and bitsize are zero.
Sun Aug 27 04:55:20 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
* dbxread.c (psymtab_to_symtab{,_1}): Print message about
reading in symbols before reading stringtab, not after.
Sat Aug 26 02:01:53 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* dbxread.c (IS_OBJECT_FILE, ADDR_OF_TEXT_SEGMENT): New macros.
(read_dbx_symtab): Use text_addr & text_size to set end_of_text_addr.
(symbol_file_command): pass text_addr & text_size to read_dbx_symtab.
Fri Aug 25 23:08:13 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* valprint.c (value_print): Try to give the name of function
pointed to when printing a function pointer.
Thu Aug 24 23:18:40 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* core.c (xfer_core_file): In cases where MEMADDR is above the
largest address that makes sense, set i to len.
Thu Aug 24 16:04:17 1989 Roland McGrath (roland at hobbes.ai.mit.edu)
* valprint.c (print_string): New function to print a character
string, doing array-max limiting and repeat count processing.
(val_print, value_print): Use print_string.
(REPEAT_COUNT_THRESHOLD): New #define, the max number of elts to print
without using a repeat count. Set to ten.
(value_print, val_print): Use REPEAT_COUNT_THRESHOLD.
* utils.c (printchar): Use {fputs,fprintf}_filtered.
* valprint.c (val_print): Pass the repeat count arg to the
fprintf_filtered call for "<repeats N times>" messages.
Wed Aug 23 22:53:47 1989 Roland McGrath (roland at hobbes.ai.mit.edu)
* utils.c: Include <pwd.h>.
* main.c: Declare free.
Wed Aug 23 05:05:59 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
* utils.c, defs.h: Add tilde_expand.
source.c (directory_command),
main.c (cd_command),
main.c (set_history_filename),
dbxread.c (symbol_file_command),
coffread.c (symbol_file_command),
dbxread.c (add_file_command),
symmisc.c (print_symtabs),
*-dep.c (exec_file_command, core_file_command),
main.c (source_command): Use tilde_expand.
* dbxread.c (read_type): When we get a cross-reference, resolve
it immediately if possible, only calling add_undefined_type if
necessary.
* gdb.texinfo: Uncomment @includes and put comment at start
of file telling people to use makeinfo.
* valprint.c (type_print_base): Print the right thing for
bitfields.
* config.gdb (sun3os3): Set paramfile and depfile.
Tue Aug 22 05:38:36 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* dbxread.c (symbol_file_command): Pass string table size to
read_dbx_symtab().
(read_dbx_symtab): Before indexing into string table, check
string table index for reasonableness.
(psymtab_to_symtab{,_1}, read_ofile_symtab): Same.
Tue Aug 22 04:04:39 1989 Roland McGrath (roland at hobbes.ai.mit.edu)
* m68k-pinsn.c: Replaced many calls to fprintf and fputs with
calls to fprintf_filtered and fputs_filtered.
(print_insn_arg): Use normal MIT 68k syntax for postincrement,
predecrement, and register indirect addressing modes.
Mon Aug 21 10:08:02 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* main.c (initialize_signals): Set signal handler for SIGQUIT
and SIGHUP to do_nothing.
* ns32k-opcode.h (ord): Change 1D1D to 1D2D.
* ns32k-pinsn.c (print_insn_arg, print_insn): Handle index
bytes correctly.
* ns32k-opcode.h: Add comments.
* dbxread.c (read_type): Put enum fields in type.fields in order
that they were found in the debugging symbols (not reverse order).
Sun Aug 20 21:17:13 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* main.c (source_command): Read .gdbinit if run without argument.
* source.c (directory_command): Only print "foo already in path"
if from_tty.
* version.c: Change version number to 3.2.xxx
Sat Aug 19 00:24:08 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
* m-news.h: Define HAVE_WAIT_STRUCT.
* m-isi.h, isi-dep.c: Replace with new version from Adam de Boor.
config.gdb: Remove isibsd43.
* main.c (catch_termination): Don't say we have written
.gdb_history until after we really have.
* convex-dep.c (attach): Add "sleep (1)".
(write_vector_register): Use "LL" with long long constant.
(wait): Close comment.
(wait): Change "unix 7.1 bug" to "unix 7.1 feature" & related
changes in comment.
(scan_stack): And fp with 0x80000000 in while loop test.
(core_file_command): Move code to set COREFILE.
(many places): Change printf to printf_filtered.
(psw_info): Allow argument giving value to print as a psw.
(_initialize_convex_dep): Update docstrings.
* m-convex.h (WORDS_BIG_ENDIAN): Correct typo ("WRODS")
define NO_SIGINTERRUPT.
define SET_STACK_LIMIT_HUGE.
add "undef BUILTIN_TYPE_LONGEST" before defining it.
Use "LL" after constants in CALL_DUMMY.
* dbxread.c: In the 3 places it says error "ridiculous string
table size"... delete extra parameter to error.
* dbxread.c (scan_file_globals): Check for FORTRAN common block.
Allow multiple references for the sake of common blocks.
* main.c (initialize_main): Set history_filename to include
current directory.
* valprint.c (decode_format): Don't return a defaulted size
field if osize is zero.
* gdb.texinfo (Compilation): Update information on -gg symbols.
Document problem with ar.
Fri Aug 18 19:45:20 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
* valprint.c (val_print, value_print): Add "<repeats %d times>" code.
Also put "..." outside quotes for strings.
* main.c (initialize_main): Add comment about history output file
being different from history input file.
* m-newsos3.h: Undefine NO_SIGINTERRUPT. Rearrange a few comments.
* m-newsos3.h (REGISTER_U_ADDR): Use new version from Hikichi.
* sparc-opcode.h: Add comment clarifying meaning of the order of
the entries in sparc_opcodes.
* eval.c (evaluate_subexp, case UNOP_IND): Deal with deferencing
things that are not pointers.
* valops.c (value_ind): Make dereferencing an int give a LONGEST.
* expprint.c (print_subexp): Add (int) cast in OP_LAST case.
* dbxread.c (read_array_type): Set lower and upper if adjustable.
* symtab.c (lookup_symbol): Don't abort if symbol found in psymtab
but not in symtab.
Thu Aug 17 15:51:20 1989 Randy Smith (randy at hobbes.ai.mit.edu)
* config.gdb: Changed "Makefile.c" to "Makefile.dist".
Thu Aug 17 01:58:04 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu)
* sparc-opcode.h (or): Removed incorrect lose bit 0x08000000.
[many]: Changed many `lose' entries to have the 0x10 bit set, so
they don't think %l0 is %g0.
Wed Aug 16 00:30:44 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* m-symmetry.h (STORE_STRUCT_RETURN): Also write reg 0.
(EXTRACT_RETURN_VALUE): Call symmetry_extract_return_value.
symmetry-dep.c (symmetry_extract_return_value): New fn.
* main.c (symbol_completion_function): Deal with changed
result_list from lookup_cmd_1 for ambiguous return.
command.c (lookup_cmd): Same.
* inflow.c [TIOCGETC]: Move #include "param.h" back before
system #includes. Change all #ifdef TIOCGETC to
#if defined(TIOCGETC) && !defined(TIOCGETC_BROKEN)
m-i386-sysv3.2.h, m-i386gas-sysv3.2.h: Remove "#undef TIOCGETC"
and add "#define TIOCGETC_BROKEN".
* command.c (lookup_cmd_1): Give the correct result_list in the
case of an ambiguous return where there is a partial match
(e.g. "info a"). Add comment clarifying what is the correct
result_list.
* gdb.texinfo (GDB History): Document the two changes below.
* main.c (command_line_input): Make history expansion not
just occur at the beginning of a line.
* main.c (initialize_main): Make history expansion off by default.
* inflow.c: Move #include "param.h" after system #includes.
* i386-dep.c (i386_float_info): Use U_FPSTATE macro.
* m-i386-sysv3.2.h, m-i386gas-sysv3.2.h: New files.
Makefile.dist, config.gdb: Know about these new files.
Tue Aug 15 21:36:11 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* symtab.c (lookup_struct_elt_type): Use type_print rather
than assuming type has a name.
Tue Aug 15 02:25:43 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu)
* sparc-opcode.h (mov): Removed bogus "or i,0,d" pattern.
* sparc-opcode.h (mov, or): Fixed incorrect `lose' members.
* sparc-dep.c: Don't include "sparc-opcode.h".
(skip_prologue, isanulled): Declare special types to recognize
instructions, and use them.
* sparc-pinsn.c (print_insn): Sign-extend 13-bit immediate args.
If they are less than +9, print them in signed decimal instead
of unsigned hex.
* sparc-opcode.h, sparc-pinsn.c: Completely rewritten to share an
opcode table with gas, and thus produce disassembly that looks
like what the assembler accepts.
Tue Aug 15 16:20:52 1989 Jim Kingdon (kingdon at apple-gunkies.ai.mit.edu)
* symtab.c (find_pc_psymbol): Move best_pc=psymtab->textlow-1
after test for psymtab null.
* main.c (editing_info): Remove variable retval.
* config.gdb (sun3, isi): Comment out obsolete message about telling
it whether you have an FPU (now that it detects it).
* config.gdb (sun3): Accept sun3os3.
* m68k-insn.h: Include <signal.h>.
* m68k-pinsn.h (convert_{to,from}_68881): Add have_fpu code
* m-newsos3.h: Undefine USE_PCB. That code didn't seem to work.
* sparc-dep.c: Put in insn_fmt and other stuff from the old
sparc-opcode.h.
* sparc-opcode.h, sparc-pinsn.c: Correct copyright notice.
* sparc-opcode.h, sparc-pinsn.c: Replace the old ones with the new
ones by roland.
Tue Aug 15 02:25:43 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu)
* Makefile.dist: Don't define CC at all.
* Makefile.dist (Makefile): Remove tmp.c after preprocessing.
Use $(MD) instead of M_MAKEDEFINE in the cc command.
* Makefile.dist: Don't define RL_LIB as
"${READLINE}/libreadline.a", since READLINE is a list of files.
Mon Aug 14 23:49:29 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* main.c (print_version): Change 1988 to 1989.
* main.c (copying_info, initialize_main): Remove #if 0'd code.
Tue Aug 1 14:44:56 1989 Hikichi (hikichi at sran203)
* m-newsos3.h
(NO_SIGINTERRUPT): have SIGINTERRUPT on NEWS os 3.
* m-news.h(FRAME_FIND_SAVED_REGS): use the sun3's instead of old
one.
Mon Aug 14 15:27:01 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* m-news.h, m-newsos3.h, news-dep.c: Merge additional changes
by Hikichi (ChangeLog entries above).
* Makefile.dist (READLINE): List readline files individually
so we don't accidently get random files from the readline
directory.
* m-news.h (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE):
Expect floating point returns to be in fp0.
* gdb.texinfo (Format options): New node.
* gdb.texinfo: Comment out "@include"s until bfox fixes the
readline & history docs.
* dbxread.c (read_addl_syms): Set startup_file_* if necessary at
the end (as well as when we hit ".o").
* printcmd.c (decode_format): Set val.format & val.size to '?' at
start and set defaults at end.
* symtab.c (decode_line_1): Check for class_name null.
* valops.c: Each place where it compares against field names,
check for null field names. (new t_field_name variables).
* utils.c (fputs_filtered): Check for linebuffer null before
checking whether to call fputs. Remove later check for linebuffer
null.
Sun Aug 13 15:56:50 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* m-isi.h, m-sun3.h ({PUSH,POP}_FP_REGS): New macros.
m-sun3.h (NUM_REGS): Conditionalize on FPU.
config.gdb (sun3, isi): Add message about support for machines
without FPU.
* main.c (catch_termination, initialize_signals): new functions.
* main.c (editing_info): Add "info editing n" and "info editing +".
Rewrite much of this function.
gdb.texinfo (GDB Readline): Document it.
* values.c (history_info): Add "info history +". Also add code to
do "info history +" when command is repeated.
gdb.texinfo (Value History): Document "info history +".
* expprint.c (print_subexp): Add OP_THIS to case stmt.
* config.gdb (sun4os4): Put quotes around make define.
* config.gdb: Canonicalize machine name at beginning.
Sat Aug 12 00:50:59 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* config.gdb: define M_MAKEDEFINE
Makefile (Makefile, MD): Be able to re-make Makefile.
* main.c (command_line_input): Add comments to
the command history.
* Makefile.dist (Makefile): Add /bin/false.
Fri Aug 11 14:35:33 1989 Jim Kingdon (kingdon at spiff)
* Makefile.dist: Comment out .c.o rule and add TARGET_ARCH.
* m-altos.h: Include sys/page.h & sys/net.h
* m-altos.h (FRAME_CHAIN{,_VALID}): Use outside_startup_file.
* config.gdb (altos, altosgas): Add M_SYSV & M_BSD_NM and remove
M_ALLOCA=alloca.o from makedefine.
* coffread.c (complete_symtab): Change a_entry to entry.
* m-altosgas.h: New file.
* m-symmetry (REGISTER_BYTE): Fix dumb mistake.
Fri Aug 11 06:39:49 1989 Roland McGrath (roland at hobbes.ai.mit.edu)
* utils.c (set_screensize_command): Check for ARG being nil, since
that's what execute_command will pass if there's no argument.
* expread.y (yylex): Recognize "0x" or "0X" as the beginning of a
number.
Thu Aug 10 15:43:12 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* config.gdb, Makefile.dist: Rename Makefile.c to Makefile.dist.
* m-altos.h: Add comment about porting to USGR2.
* config.gdb (sparc): Add -Usparc.
Wed Aug 9 14:20:39 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
* m-sun3os4.h: Define BROKEN_LARGE_ALLOCA.
* values.c (modify_field): Check for value too large to fit in
bitfield.
* utils.c (fputs_filtered): Allow LINEBUFFER to be NULL.