-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog-1991
5175 lines (3986 loc) · 214 KB
/
ChangeLog-1991
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
Mon Dec 30 10:57:02 1991 Per Bothner (bothner at cygnus.com)
Mainly stuff to improve handling of TYPE_CODE_REF values.
* valops.c (value_addr): If taking the addres of a
TYPE_CODE_REF, just cast the object to the corresponding
TYPE_CODE_PTR. This yields correct C++ semantics, and
preserves the location information, which has the nice effect
that &(&R) given the location containing R.
* values.c (value_copy): Make non-static (used by value_addr).
* eval.c (evaluate_subexp_for_address): Use the default
scheme (with value_addr) for a variable if it has TYPE_CODE_REF.
* valops.c (value_addr), eval.c (evaluate_subexp_for_address,
evaluate_subexp_with_coercion): Factor out some common
expressions into variables, for easier reading.
* findvar.c (locate_var_value): Remove code to handle
TYPE_CODE_REF - it should no longer be needed.
* valops.c (value_assign): Do a COERCE_REF on the
destination operand, for correct C++ semantics.
* valarith.c (value_x_binop): Ditto: De-reference C++
references in the arguments.
* valops.c: ANSI-fy: bcopy->memcpy, bzero->memset.
Sat Dec 28 11:30:26 1991 Per Bothner (bothner at cygnus.com)
* dwarfread.c, coffread.c: Use INIT_CPLUS_SPECIFIC.
* symtab.c (gdb_mangle_name): Recognize and handle
constructors specially.
* symtab.c (check_stub_method): Test for failure from
cplus-demangle by calling error() instead of seg-faulting ...
Fri Dec 27 22:21:30 1991 Fred Fish (fnf at cygnus.com)
* defs.h: Add definition of null_cleanup()
* procfs.c: Many small changes to add base support for a new
"info proc" command (currently only printing of the address
space mapping is implemented) and allow iteration over the
address space mapping, calling an arbitrary function for each
mapping (used for shared library support).
* solib.c: Change all ifdefs that checked for "sun" to check
for "!SVR4_SHARED_LIBS" instead. Rewrite lookup_base() to
handle locating the debug base address even when not currently
stopped at the dynamic linker entry point.
* utils.c: Add null_cleanup() as a known function that does
nothing to serve as a base for possibly long cleanup chains
with no specific "first cleanup" to serve as an anchor.
* xm-sysv4.h: Add define of SVR4_SHARED_LIBS
Fri Dec 27 10:11:33 1991 Per Bothner (bothner at cygnus.com)
* arm-opcode.h, m88k-opcode.h, pn-opcode.h, np1-opcode.h,
pyr-opcode.h, tahoe-opcode, vax-opcode.h: Removed -
these are all essentially the same as the versions
in ../include/opcode. The remaining *-opcode.h here
are not quite so obviously the same, and need study.
* arm-pinsn.c, gould-pinsn.c, m88k-pinsn.c, pyr-pinsn.c,
tahoe-pinsn.c, vax-pinsn.c: Change so these include
opcode/FOO.h (actually ../include/opcode/FOO.h)
instead of the recenntly departed opcode-FOO.h files.
* sparc-pinsn.c: Now that we're using the much tighter
opcode table in ../include/opcode/sparc.h, we shouldn't
need to sort the opcodes before dis-assembly.
* symtab.h, symmisc.c: Make cplus_struct_default be const.
* symtab.h, buildsym.c: Add and use INIT_CPLUS_SPECIFIC macro.
* symmisc.c: Remove unused 'nfields' variable.
* buildsym.h: Add extern decl of unknown_symtype_complaint,
since it used used by partial-stab.h (included two places).
* partial-stab.h: Re-arrange DBXREAD_ONLY #ifdefs so that
we should never hit the default case (until new stab codes
are added). Hence, we can leave the complaint in the
default case in even when DBXREAD_ONLY is off.
* partial_stab.h: Recognize a pair of N_SO stabs (one for the
directory, one for the filename proper) without peeking ahead.
* dbxread.c, mipsread.c: Because of previous change, don't need
ugly CHECK_SECOND_N_SO macro.
* buildsym.h, dbxread.c, mipsread.c: Make next_symbol_text a
macro that invokes a function pointer in next_symbol_text_func.
* mipsread.c: Added comments various places to
explain what is going on.
* mipsread.c (parse_symbol): Support the new (SGI-specific?)
symbol types stStruct, stUnion, and stEnum.
Also, some fixes in the code for dealing with tags.
* mipsread.c: Change handling of startup_file_start and _end
- now just use the textlow and texhigh of a psymtab
to check if we've found the startup-file.
* mipsread.c: Replace s_idx by global cur_sdx in many places.
This is so mips_next_symbol_text can get at it.
Thu Dec 26 19:52:01 1991 Fred Fish (fnf at cygnus.com)
* dbxread.c, symmisc.c: Move add_psymbol_to_plist() from
dbxread.c to symmisc and change name to add_psymbol_to_list.
Ditto for add_psymbol_addr_to_plist(). Also expand their
body to not use ADD_PSYMBOL_VT_TO_LIST.
* dwarfread.c: Remove add_psymbol_to_list() and convert usages
to the ADD_PSYMBOL_TO_LIST macro.
* ieee-float.c: Change "#ifdef DEBUG" to "#ifdef IEEE_DEBUG"
to avoid collision with the DEBUG for ADD_PSYMBOL_VT_TO_LIST.
* partial-stab.h, symfile.h: Move definitions of the macros
ADD_PSYMBOL_TO_LIST and ADD_PSYMBOL_ADDR_TO_LIST from
partial-stab.h to symfile.h. They aren't stab specific.
Change ADD_PSYMBOL_VT_TO_LIST to use memcpy rather than strncpy.
Tue Dec 24 11:38:08 1991 John Gilmore (gnu at cygnus.com)
* Makefile.in: Roll VERSION to 4.3.2.
Mon Dec 23 13:54:35 1991 Per Bothner (bothner at cygnus.com)
* m68k-opcode.h, mips-opcode.h, sparc-opcode.h: Deleted.
* m68k-pinsn.c, mips-pinsn.c, sparc-pinsn.c:
Include <opcode/FOO.h> instead of <FOO-opcode.h>.
* symtab.h, symtab.c, coffread.c, dwarfread.c, symmisc.c,
dbxread.c: The TYPE_CPLUS_SPECIFIC structure is now only
allocated when it is needed. Until it is needed, it points
to a shared statically allocated structure.
* buildsym.h, buildsym.c, dbxread.c: Remove the kludgy code
in read_ofile_symtab to recognize two initial N_SO stabs,
and let process_on_symbol handle it. This is cleaner, more
efficient, and lets mipsread.c share the same code.
* symfile.h, partial-stab.h: Move ADD_PSYMBOL_VT_TO_LIST
and related macros to here ...
* dbxread.c: ... from here.
* symmisc.c: Move the "overflow" handling from
ADD_PSYMBOL_VT_TO_LIST macro into new function extend_psymbol_list.
* dwarfread.c: Re-write add_psymbol_to_list to use
ADD_PSYMBOL_VT_TO_LIST macro.
* mipsread.c: Extend mipsread.c to handle stabs-style symbols
encapsulated in ecoff symbols. This enable full g++ debugging.
* partial-stab.h: Move the code for pre-scanning symbols
and building psymtabs to an include file, out from dbxread.c.
This way, the same code can also be used by mipsread.c.
* dbxread.c, buildsym.h: Various changes to allow some functions
to be used by mipsread.c (also some arguable stylistic changes).
* tm-mips.h: Define BLOCK_ADDRESS_ABSOLUTE, at least for now,
since mips-tfile puts relocatable addresses into LBRAC/RBRAC
stabs.
* mipsread.c: Replace code to handle ambiguous tag blocks.
Instead of allocating a TYPE_CODE_UNDEF, guess (by looking
at types and offsets) if a tag is a struct, union, or enum.
Still patch it later if we find out for sure.
* mipsread.c: In various ways, replace Forin's
ideo-syncratic code by code that fits better with the
rest of gdb, for both stabs-based and ecoff-based symtabs.
E.g. use end_psymtab; don't do extra passes over FDR table to
pre-partition global data; don't use external symbols to
create static/global symbols (just put them in the
misc_vector); use ADD_PSYMBOL_TO_LIST macro; don't
sort psymtabs or symtabs; use obstacks more.
* symtab.c, mipsread.c, dbxread.c, buildsym.c:
ANSIfy: Replace bcopy by memcpy, bzero by memset.
Sun Dec 22 19:31:04 1991 Fred Fish (fnf at cygnus.com)
* solib.c (locate_base): Fix uninitialized variable that was
causing return of random value to callee.
* config/mh-amix, config/mh-i386v4: Change to find alloca by
compiling and linking alloca.c, even when it is not strictly
required. Also arrange to link with -ltermlib rather than
-ltermcap.
* Makefile.in: Move TERMCAP definition to prior to inclusion
of host makefile fragments so it can be overridden.
Fri Dec 20 16:33:39 1991 John Gilmore (gnu at cygnus.com)
* xcoffread.c (read_symbol_lineno): Logic error in incrementing
symbol table entry number. (From Metin Ozisik.)
Fri Dec 20 11:36:38 1991 Fred Fish (fnf at cygnus.com)
* config/mh-i386v4: Change XM_CLIBS to "-lc /usr/ucblib/libucb.a"
so compiles with native compilers (without builtin alloca) can
pick up the version from the bsd emulation library. However, we
search the standard C library first so we don't pick up lots of
other broken stuff from libucb.a, that we *don't* want.
* configure.in, tm-amix.h, tm-i386v4.h, xm-amix.h, xm-i386v4.h:
Change svr4 references to sysv4.
* source.c: Move declaration of external function index to
front of file so it is in scope for all references.
* utils.c (error, fatal): Make definitions consistent with
defs.h declarations (declared as "volatile void").
Fri Dec 20 10:55:36 1991 John Gilmore (gnu at cygnus.com)
* rs6k-opcode.h: Bugfix sfe and stbrx. By Al Kossow.
Wed Dec 18 17:09:06 1991 Stu Grossman (grossman at cygnus.com)
* command.h, defs.h, eval.h, expression.h, remote-sa.sparc.c,
sparc-tdep.c, symtab.h, target.h, value.h, vx-share/ptrace.h,
vx-share/xdr_ptrace.h, vx-share/xdr_rdb.h: ANSIfy enums.
Mon Dec 16 12:31:46 1991 Fred Fish (fnf at cygnus.com)
* config/mt-amix, config/mt-i386v4: Add solib.o to TDEPFILES
for these SVR4 systems.
* symfile.c (symbol_file_add): When verbose is set, print
the names of files from which symbols are being loaded, as
when from_tty is true.
* solib.c: Completely reorganized (rewritten) to support
SVR4 shared libraries in a manner very close to the original
SunOS implementation. This support is expected to change and
become more general at some future time. The SVR4 version
does not yet work for attached processes, for example.
* dwarfread.c: Arrange in dwarf_build_psymtabs() for the
relocation address to be valid whether or not symbols are
being read from a shared library or an executable. Use the
relocation address recorded in the psymtab when reading
full symbol tables (in read_ofile_symtab). Ensure that the
relocated address ranges are recorded in partial symtabs.
* elfread.c: Add new function elf_interpreter() to return the
string from the ELF ".interp" section. This is the interpreter
that the kernel tries to run and feed the executable to.
Expand arguments to record_misc_function to include a type arg.
Modify elf_symtab_read() to supply the type arg, and to do symbol
relocations for symbols read in from shared libraries.
* procfs.c: Add new functions proc_base_address() and
proc_address_to_fd(), used by shared library support.
* tm-svr4.h: Add macros to support SVR4 shared libraries.
Definitions for SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK,
CLEAR_SOLIB, and DISABLE_UNSETTABLE_BREAK.
Fri Dec 13 20:11:26 1991 John Gilmore (gnu at cygnus.com)
* infrun.c, remote-eb.c, remote-nindy.c, remote-vx.c: Remove
unused START_INFERIOR_HOOK.
* remote-eb.c: Change timeout to 24 seconds (*10 fits in byte)
to account for slow loading from floppies.
(eb_create_inferior): New fn, from eb_start and
nindy_create_inferior.
(eb_close): Only use log_file if nonzero.
(eb_xfer_inferior_memory): If not writing, then read!
(eb_read_inferior_memory, eb_write_inferior_memory): Return length.
(eb_kill): A new no-op.
(eb_mourn_inferior): Remove breakpoints, then generically weep.
Fri Dec 13 16:09:23 1991 Fred Fish (fnf at cygnus.com)
* breakpoint.c, findvar.c, infrun.c, putenv.c, stack.c: Fix
miscellaneous comparisons of integer with NULL that elicit
compiler warnings about comparison of integer with pointer, when
NULL is ((void *) 0) rather than just a bare 0.
Wed Dec 11 13:02:58 1991 John Gilmore (gnu at cygnus.com)
* breakpoint.c (breakpoint_re_set_one): Disable each breakpoint
while we reset it, in case of problems. Print breakpoint number
in error messages.
* buildsym.c (read_struct_type): Avoid sun3 compiler bug with
foo[--n].
* source.c (find_source_lines): If getting file mod time fails,
don't warn.
* target.c (target_xfer_memory): If errno is set, return it,
rather than EIO.
Tue Dec 10 04:07:22 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: infodir belongs in datadir.
Sun Dec 8 21:13:33 1991 Michael Tiemann (tiemann at sphagnum.cygnus.com)
* symtab.h (struct fn_field): Add new fields `is_private',
`is_protected', `is_stub', making room by reducing the size of
`voffset'.
(struct fn_fieldlist): Delete the fields `private_fn_field_bits'
and `protected_fn_field_bits'.
(TYPE_FN_{PRIVATE,PROTECTED}_BITS): Deleted.
(SET_TYPE_FN_{PRIVATE,PROTECTED}): Deleted.
(TYPE_FN_{PRIVATE,PROTECTED}): Deleted.
(TYPE_FN_FIELD_{STUB,PRIVATE,PROTECTED}): New macros.
* valops.c, valprint.c, symtab.c: All callers updated.
* buildsym.c (read_struct_type): Delete the `visibility' field
from `struct next_fnfield', and rework code so that visibility
info is stored into the fn_field directly. Also, hacked to set
TYPE_FN_FIELD_STUB for both static and normal member functions.
Sat Dec 7 18:13:11 1991 Fred Fish (fnf at cygnus.com)
* i386-tdep.c: Fix a problem on i386 systems where buffered code
stream access was failing to take into account the minimum size
granularity of the code section. For now, the buffering is simply
disabled. There is a similar problem in the i386 disassember code
that has not yet been fixed (FIXME).
* gmalloc.c: Use macros to hide some of the ugly casting required
in the previously applied fix for pointers with high bits set.
Sat Dec 7 16:49:35 1991 John Gilmore (gnu at cygnus.com)
* Makefile.in: Roll VERSION to 4.3.1.
Sat Dec 7 04:12:35 1991 John Gilmore (gnu at cygnus.com)
GDB-4.3 release!
* Makefile.in: Roll VERSION to 4.3
* README, TODO, WHATS.NEW, depend: Update.
* inflow.c (terminal_inferior): Avoid error msg if attached.
* gmalloc.c: Fix bug that causes malloc & free to
fail on systems where pointers have the high bit set (0x800efcf0
for example). The problem is that the difference between two
pointers is a signed integer, so the computation
(char *) 0x800efcf0 - (char *) 0
yields a negative value. The sign of the result of the modulus
operator is machine dependent for negative operands, thus it is
possible for it to end up negative. From Fred Fish.
Sat Dec 7 00:00:15 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: install using INSTALL_PROGRAM and INSTALL_DATA.
added clean-info. added some standards.text support and made it
look like our other Makefiles.
* configure.in: mark this directory target dependent. configure
now runs entirely in objdir so make existence tests and
references against ${srcdir}.
Fri Dec 6 08:30:36 1991 Fred Fish (fnf at cygnus.com)
* dwarfread.c (enum_type, struct_type): Fixes for opaque and
anonymous enumerations, structures, and unions. Now passes all
the current gdb test suite tests.
Thu Dec 5 22:46:13 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: idestdir and ddestdir go away. Added copyrights
and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
and mandir now keyed off datadir by default.
Thu Dec 5 21:53:21 1991 John Gilmore (gnu at cygnus.com)
* symtab.c (decode_line_1): If SKIP_PROLOGUE leaves us in
mid-line, be more careful about possibly advancing to the next line.
Thu Dec 5 18:59:51 1991 Michael Tiemann (tiemann at cygnus.com)
* cplus-dem.c (cplus_demangle): Call `string_need' when
null-terminating a partially-computed string.
Thu Dec 5 18:19:43 1991 Fred Fish (fnf at cygnus.com)
* dwarfread.c (enum_type): Build a correct TYPE_NAME, add a
symbol to the symbol table for each member of the enum.
* dwarfread.c (struct_type): Build a correct TYPE_NAME.
* dwarfread.c (add_enum_psymbol): New function to extract enum
member names and add them to the partial symbol table while
building partial symbol tables.
Thu Dec 5 17:31:05 1991 John Gilmore (gnu at cygnus.com)
* symtab.c (check_stub_method): Must allocate two extra argument
slots (one for `this', one for arglist terminator).
Thu Dec 5 10:51:05 1991 Fred Fish (fnf at cygnus.com)
* inflow.c (child_terminal_info): Supply missing '"' character.
* buildsym.c (define_symbol): Supply missing parenthesis.
Thu Dec 5 03:34:21 1991 John Gilmore (gnu at cygnus.com)
* coredep.c (fetch_core_registers): Fencepost error. Fixed by
Jay Lepreau <[email protected]>.
* inflow.c: Remember whether GDB has a terminal. Avoid switching
terminals back and forth if we don't have one.
* c-exp.y (parse_number): Zero is not an unsigned int constant!
* dbxread.c (read_dbx_symtab): Enum type numbers can be in (1,2) form.
Improve type parsing.
* buildsym.c (define_symbol, read_range_type): Add
long_kludge_name that passes the names of range types being
defined, down to where we must choose between 'int' and 'long'
variants. This fails on Sun C anyway since the compiler itself is
confused between int and long.
(read_array_type, cleanup_undefined_types): Correct the size of
array type whose element-type size isn't immediately known.
Early preparation to blow away many builtin types, building them
on the fly as needed. Don't compare types to builtin types with
==; examine the relevant fields instead.
* coffread.c (process_coff_symbol: C_ARG, C_REGPARM): Avoid ==.
* buildsym.c (define_symbol, case 'p'): Avoid ==.
* valops.c (value_arg_coerce): Avoid ==. Don't assume host and
target types are the same.
* valprint.c (val_print): I finally understand arrays, remove FIXME.
* symmisc.c (printpsyms_command): Reduce redundancy, and put all
addresses in GDB itself into parens for easy cleanup and diffing.
Wed Dec 4 21:05:30 1991 Fred Fish (fnf at cygnus.com)
* dwarfread (enum_type): Arrange for the order of enumeration
members to match the source code order; not the order in the
Dwarf information, which is explicitly reverse order.
Wed Dec 4 18:24:39 1991 John Gilmore (gnu at cygnus.com)
* main.c (input_from_terminal_p): Check whether GDB has a
terminal at all.
(initialize_main): Revise doc for `set editing'.
Wed Dec 4 15:36:39 1991 Fred Fish (fnf at cygnus.com)
* dwarfread.c (struct_type): Handle structures and unions which
contain DIE's other than just member dies.
Wed Dec 4 01:59:05 1991 John Gilmore (gnu at cygnus.com)
* symfile.c (reread_symbols): Avoid kludging mtime_set, now that
BFD is fixed.
Tue Dec 3 17:24:57 1991 John Gilmore (gnu at cygnus.com)
* Makefile.in: VERSION 4.2.96.
* main.c (initialize_main): Revise command descriptions.
* command.c (show_user): `info user' -> `show user'.
* symtab.c (_initialize_symtab): Typo in `info types' desc.
* coffread.c (coff_symfile_read): Avoid select_source_symtab,
since it is not needed and can cause errors when examining ".o"s.
(read_coff_symtab, decode_base_type): Use complain, not printf.
Print symbol name, not its number.
Remove "#if defined(clipper) #define BELIEVE_PCC_PROMOTION", which
someday should go in a clipper target config file.
* symfile.c (compact_misc_function_vector): Handle empty vector.
(complain, clear_complaints, syms_from_objfile): Fix complaint
formatting.
* xcoffexec.c: Change syms_from_objfile caller.
* sparc-xdep.c: Force tm-file as tm-sparc.h, to make it compile
when configured for cross debugging. FIXME, this needs a more
general solution.
Mon Dec 2 11:04:05 1991 Per Bothner (bothner at cygnus.com)
* mips-tdep.c (init_extra_frame_info): Float register
'i' has gdb-internal number 'FP0+i', not '32+i'.
* mipsread.c (new_symbol): Translate g++ special
symbol "$t" to "this".
Sat Nov 30 21:29:55 1991 Steve Chamberlain (sac at cygnus.com)
Changes due to include file renaming:
* xcoffread.c: internalcoff.h ->coff/internal.c,
coff-rs6000.h ->coff/rs6000.h
* mipsread.c: coff-mips.h ->coff/mips.h
* elfread.c: elf-common.h ->elf/common.h
elf-external.h ->elf/external.h,
elf-internal.h ->elf/internal.h
* dwarfread.c dwarf.h ->elf/dwarf.h
* dbxread.c: aout64.h ->aout/aout64.h
stab.gnu.h ->aout/stab_gnu.h
* coffread.c: internalcoff.h ->coff/internal.h
* buildsym.c: stab.gnu.h ->aout/stab_gnu.h
* depend Updated to take the above into account.
Fri Nov 29 16:59:25 1991 Fred Fish (fnf at cygnus.com)
* configure.in: Add SVR4 i386 configurations.
* config/mh-i386v4, config/mt-i386v4, tm-i386v4.h, xm-i386v4.h:
New files for i386/SVR4.
* tm-i386v.h: Allow START_INFERIOR_TRAPS_EXPECTED and
DECR_PC_AFTER_BREAK to be predefined by files including
tm-i386v.h.
* i386-tdep.c: Add supply_gregset(), fill_gregset(),
supply_fpregset(), and fill_fpregset() functions, which are
target dependent support functions for the SVR4 /proc register
interface.
* dwarfread.c (enum_type, struct_type): Expand recognized
compiler generated tags to include symbols beginning with '.' as
well as '~'.
* symtab.c (sources_info): Change simple printf of error message
to call to error().
Fri Nov 29 16:04:21 1991 Roland H. Pesch (pesch at cygnus.com)
* doc/gdb.texinfo: remove leading comments that survived M4 but
described its role in the doc; add one more font to colophon;
strengthen disclaimer about unsupported configs.
Wed Nov 27 01:23:41 1991 John Gilmore (gnu at cygnus.com)
Fix bugs in C++ debugging.
* symtab.h: target_type is not used in record types.
Eliminate TYPE_MAIN_VARIANT and TYPE_NEXT_VARIANT. Eliminate
lookup_method_type. Add TYPE_TYPE_SPECIFIC macro.
* symtab.c (lookup_member_type): Don't chain them up, just
allocate one in symbol_obstack when we need one.
(allocate_stub_method): Build stub in symbol_obstack.
(check_stub_method): Move here from values.c. Don't deallocate
stub; overwrite it.
(lookup_method_type): Gone now.
* buildsym.c: Handle g++ v1 stabs a little bit better.
Change some C++ parsing error()s to complain()ts.
* buildsym.c, findvar.c, printcmd.c, symtab.c: Make unions and
structs have the same representation and work the same as far as
C++ is concerned.
* buildsym.c, symtab.c, values.c: Remove all references to
TYPE_MAIN_VARIANT and TYPE_NEXT_VARIANT.
* valops.c: Improve comments and indentation. Only call
check_stub_method when the stub flag is on.
* valprint.c: Fix or mark minor bugs and unportabilities.
* coffread.c (anonymous unions): Allocate a cplus structure.
* mipsread.c: Eliminate "template" types. Build new, real
types whenever we need them. Allocate cplus structures as needed.
Bulletproof the type parsing a bit more. Mark storage leaks.
(parse_type): Copy TYPE_TYPE_SPECIFIC when copying a real type
on top of a partial type.
Fri Nov 22 16:39:57 1991 John Gilmore (gnu at cygnus.com)
* inflow.c (terminal_inferior): Check the results of ioctl's, and
print a message if any of them fail.
(terminal_ours_1): Store result of ioctl's for debugging, but
don't print (the terminal isn't ours...).
* tm-tahoe.h (FRAME_ARGS_ADDRESS): No need to offset from frame
pointer.
* m2-exp.y (MAX, MIN): Rename to MAX_FUNC, MIN_FUNC to avoid
conflicts with system header files.
Fri Nov 22 08:27:40 1991 John Gilmore (gnu at cygnus.com)
* Roll VERSION to 4.2.95.
* buildsym.c, coredep.c, mem-break.c, xcoffread.c: Put <stdio.h>
first, before defs.h.
* config/mh-i386sco: Override compiler to gcc, print warning.
* configure.in: Handle i386-none-aout rather than i386-aout-none.
* infptrace.c, language.h, utils.c: Lint.
* m2-exp.y: #undef MAX and MIN in case system includes set them.
* xm-tahoe.h: Set HOST_BYTE_ORDER. Include system versions of
{BIG,LITTLE}_ENDIAN and the INT_MAX family first, to avoid
redefinition warnings.
* defs.h: Reorder things so that the xm-file gets first crack
at #define's, followed by defs.h and then the tm-file.
* Makefile.in: Remove spaces after 'ignore exit code' - flags.
Late-model BSD 'make's don't cope with them.
Thu Nov 21 23:48:56 1991 John Gilmore (gnu at cygnus.com)
* Makefile.in: Roll new files into various lists.
Thu Nov 21 18:26:11 1991 Fred Fish (fnf at cygnus.com)
* dwarfread.c (struct_type): Must initialize the c++ specific
portion of union types as well as struct types, since gdb attempts
to reference the c++ specific info for both types.
Thu Nov 21 10:23:52 1991 John Gilmore (gnu at cygnus.com)
* Makefile.in: Roll VERSION to 4.2.90.
* defs.h: Incorporate param.h into defs.h. All users changed.
* param-no-tm.h: Change users to define TM_FILE_OVERRIDE instead.
* param.h, param-no-tm.h: Removed.
* Update copyrights in all changed files.
* dbxread.c, dwarfread.c, inflow.c, infrun.c, m2-exp.y, putenv.c,
solib.c, symtab.h, tm-umax.h, valprint.c: Lint.
* tm-convex.h, tm-hp300hpux.h, tm-merlin.h, tm-sparc.h,
xm-merlin.h: Avoid host include files in target descriptions.
* getpagesize.h: Removed, libiberty copes now.
* Makefile.in: Remove getpagesize.h, param.h, param-no-tm.h.
* exec.c (exec_files_info): If `verbose' is set, show file offset
as well.
* main.c: Use getcwd rather than getwd.
* standalone.c: Fake getcwd rather than getwd.
* xm-*.h: Remove fake values of MAXPATHLEN.
* xcoffexec.c: Add /* */ to #if 0'd thing to help ANSI.
Wed Nov 20 18:35:56 1991 John Gilmore (gnu at cygnus.com)
* Remove gdb/hp-include. Support for HP a.out oddities should be
in BFD, not in GDB. Move gdb/hp-include/a.out.h to include/a.out.hp.h.
* infptrace.c, tm-sun386.h: Cashier <a.out.gnu.h>, remove refs.
* configure.in, xconfig, tconfig, Makefile.in, doc/gdbint.texinfo:
Makefile fragments for various hosts and targets now come from
gdb/config/mh-* and gdb/config/mt-*. This is for consistency with
other config setups.
* rs6000-pinsn.c, rs6k-opcode.h: Clean up.
* rs6k-opcode.def: Delete.
Wed Nov 20 05:04:40 1991 Fred Fish (fnf at cygnus.com)
* dwarfread.c: Recognize obsolete form of AT_element_list
attribute still used by at least one AT&T compiler, and possibly
more.
Tue Nov 19 07:53:55 1991 Fred Fish (fnf at cygnus.com)
* dwarfread.c (enum_type, struct_type): Ignore names invented by
helpful compilers for anonymous structs, unions, and enums.
* c-exp.y, m2-exp.y: Add defines for yymaxdepth, yy_yys, and
yy_yyv, so multiple parsers produced by SVR4 versions of yacc
can coexist in the same executable without collision.
* symtab.h: Add declaration for lookup_template_type() to kill
compiler warnings about conversions from int to pointer.
Mon Nov 18 17:45:18 1991 Fred Fish (fnf at cygnus.com)
* procfs.c: Move inclusion of defs.h to before param.h, as in
all the other source files that include both. This is required
to supply some typedefs that are used in files included by param.h.
* m68k-tdep.c (m68k_skip_prologue): Add generic m68k support for
skipping function prologues, ala the other cpu families (i386,
mips, m88k, etc). Add the ability to skip movm and fmovm
instructions in the prologues. Still needs support for profile
(-p compiled) prologue sequences (FIXME).
* tm-68k.h: Change SKIP_PROLOGUE macro to use the new generic
m68k prologue skipping function by default.
* tm-altos.h, tm-isi.h: Continue to use the old definition of
SKIP_PROLOGUE.
Mon Nov 18 15:12:45 1991 John Gilmore (gnu at cygnus.com)
* Makefile.in: Remove tdesc stuff, and extra blanks before colons.
* blockframe.c: Remove tdesc-related code. Default
FRAME_CHAIN_COMBINE.
* infrun.c: Remove tdesc-related code.
* m88k-tdep.c (frame_chain_combine, init_frame_pc): Remove copies
of defaultable things.
* tm-m88k.h: New file, common to all Moto 88k target configs.
Derived from tm-delta88.h.
* tm-delta88.h: Use it.
* xm-m88k.h: Common file for 88K hosts. Remove obsolete stuff.
* xm-delta88.h: Use it.
* tm-*.h: Remove FRAME_CHAIN_COMBINE macros, since all are
default.
* coffread.c: Remove tdesc stuff.
* tconfig/delta88, tconfig/m88k: Remove tdesc stuff.
* xconfig/m88k: Rename tm-88k.h to tm-m88k.h.
Mon Nov 18 13:51:37 1991 Per Bothner (bothner at cygnus.com)
* source.c (open_source_file): If openp fails, try again
using just the base (non-directory) part of the filename.
This solves various annoying problems, such as when the
source was compiled with an absolute pathname - and the
source files have moved. Or if the source was compiled
using a relative pathname, it can be more convenient
to just specific the source directory to the dir command.
Mon Nov 18 00:04:41 1991 Fred Fish (fnf at cygnus.com)
* cplus-dem.c (munge_function_name): Add missing third arg to
instance of call to do_type().
* dwarfread.c: Changes to match new dwarf.h. Remove
AT_deriv_list, AT_loclist, AT_incomplete, AT_const_data,
and AT_is_external.
Sun Nov 17 16:20:53 1991 Michael Tiemann (tiemann at rtl.cygnus.com)
* symtab.h (struct type): Moved C++-specific fields into new type
`struct cplus_struct_type'. Now takes 10% less memory. Many
macros changed.
* symtab.c (init_type): Don't set fields belonging to
TYPE_CPLUS_SPECIFIC unless TYPE is TYPE_CODE_STRUCT.
* buildsym.c (read_type): Allocate TYPE_CPLUS_SPECIFIC for
TYPE_CODE_STRUCT.
(read_struct_type): Ditto. Also, add comments about how we can
deduce TYPE_VPTR_FIELDNO from inheritance info and fieldname info.
* coffread.c (decode_base_type): Allocate TYPE_CPLUS_SPECIFIC for
TYPE_CODE_STRUCT.
(read_struct_type): Ditto.
* dwarfread.c (struct_type): Ditto.
* symtab.c (read_range_type): Don't set TYPE_MAIN_VARIANT.
(lookup_pointer_type): Don't use or set TYPE_MAIN_VARIANT.
(lookup_reference_type): Ditto.
* cplus-dem.c: Many changes made to handle decoding of
ANSI-mangled names.
* symtab.c (gdb_mangle_name): Mangle/demangle ANSI-mangled names
as well.
Fri Nov 15 17:57:59 1991 Stu Grossman (grossman at cygnus.com)
* mipsread.c (parse_partial_symbols): patch to keep DEC C
compiler from making gdb bomb out. Thanks to Ed Santiago!
Thu Nov 14 19:27:30 1991 Fred Fish (fnf at cygnus.com)
* symfile.c: Add function compact_misc_function_vector() to
remove duplicate misc function vector entries. See comments
in source for why this is necessary/desirable.
* dwarfread.c: Add misc function type parameter to internal
record_misc_function(). Remove calls to init_misc_bunches()
and condense_misc_bunches(), these are now done in elfread.c.
* elfread.c: Add support for reading bfd canonical symbol tables
and generating misc function vector entries for global and
absolute symbols. Do calls to init_misc_bunches() and
condense_misc_bunches() where they will enclose all calls to
record_misc_function(), including those in dwarfread.c.
Thu Nov 14 17:02:11 1991 Roland H. Pesch (pesch at cygnus.com)
* doc/Makefile.in: new targets gdb.me, gdb.ms, gdb.mm
(roffable documentation).
* doc/gdb.texinfo: embedded hints (as comments) for better
texi2roff conversion.
Thu Nov 14 13:18:25 1991 John Gilmore (gnu at cygnus.com)
* m88k-tdep.c (examine_prologue): Deal with OR instructions
that shuffle parameters into other regs.
* symtab.c (decode_line_1): Fix bug introduced in Per's change
of Nov 12th.
Wed Nov 13 19:51:11 1991 Steve Chamberlain (sac at cygnus.com)
* Makefile.in, xconfig/delta88 made it install a sysV manual page;
gdb.z into the right place.
Wed Nov 13 16:45:13 1991 John Gilmore (gnu at cygnus.com)
Motorola 88000 port without tears, I mean without tdescs.
* m88k-tdep.c: Blow away all tdesc stuff.
Provide functions for all the frame-related macros in
tm-delta88.h. Adopt i960-style EXTRA_FRAME_INFO.
(examine_prologue, frame_find_saved_regs, skip_prologue): borrow
from i960-tdep.c and adapt to the function prologues on the 88k.
(read_next_frame_reg): Borrow from mips-tdep.c.
FIXME: frame_locals_address should go away.
* tm-delta88.h: Dump all the tdesc stuff.
Macros for all frame-related stuff call fns of same name.
Remove duplicated definitions. FP_REGNUM becomes same as
SP_REGNUM.
* xm-88k.h: Eliminate lots of library dependencies, now handled
in libiberty. Eliminate KDB nonsupport.
* doc/gdbint.texinfo: Add rudiments on frames. FIXME, add more.
* stack.c (frame_info): Mark frameless functions.
Print locals address (FIXME, remove if same).
* blockframe.c: Comment changes, FIXME after.
* coffread.c: Even without TDESC, need to zap "@" symbols.
Don't register for wierd format names; change the names in BFD.
* alloca.c, language.c, tdesc.c: Lint.
* tdesc.c, tdesc-lib: FIXME: remove these.
Tue Nov 12 19:30:22 1991 John Gilmore (gnu at cygnus.com)
* Makefile.in: Add tdesc library support. Fixups to lint,
copying.c rules.
Tue Nov 12 13:43:26 1991 Per Bothner (bothner at cygnus.com)
* symtab.c (decode_line_1): Remove spurious call to operator_chars.
Allow setting breakpoints on C++ destructors.
* valops.c (destructor_name_p): Don't check TYPE_HAS_DESTRUCTOR,
since it lies. Rely on callers to catch missing destructors.
* symtab.c (decode_line_1): For example (see above), here.
* buildsym.c, symtab.h: Remove TYPE_FLAGS_HAS{CON,DE}STRUCTOR
flags since they are no longer used.
Fixes to support C++ methods with functional parameters.
* c-exp.y (func_mod rule): Allow (and ignore) list of parameter
types in a function type.
* eval.c (parse_and_eval_type), value.h: New function,
parse_and_eval_type, is based on old code from check_stub_method.
But don't actually evaluate the cast, since that calls
value_cast(), whcih may fail. Just extract the type
from the parsed expression.
* values.c (check_stub_method): While looping through the
arguments, adjust depth *after* parameter has been handled.
Replace call and setup of parse_and_eval with new function
parse_and_eval_type.
Tue Nov 12 09:40:07 1991 Fred Fish (fnf at cygnus.com)
* utils.c, rem-multi.shar: Remove fixed arg count version of
concat().
* altos-xdep.c, arm-xdep.c, coffread.c, command.c, convex-xdep.c,
core.c, dwarfread.c, gould-xdep.c, infcmd.c, language.c,
m88k-xdep.c, main.c, printcmd.c, pyr-xdep.c, source.c,
sun386-xdep.c, symm-xdep.c, umax-xdep.c, values.c, xcoffread.c:
Change all instances of use of fixed args concat() to variable
args concat() now located in libiberty.
Tue Nov 12 07:23:46 1991 John Gilmore (gnu at cygnus.com)
* Makefile.in: Add xcoffread.c, xcoffexec.c.
* xcoffread.c: New file for handling AIX mangled-coff files.
* xconfig/rs6000, tconfig/rs6000: New files.
* buildsym.c: Add hooks for xcoffread.c.
* rs6000-pinsn.c, rs6000-tdep.c, rs6000-xdep.c, tm-rs6000.h,
xm-rs6000.h, rs6k-opcode.def, rs6k-opcode.h: New files.
* xcoffexec.c: New file for handling AIX shared libraries.
Mon Nov 11 19:14:31 1991 Fred Fish (fnf at cygnus.com)
* core.c: Minor rewording of message to user containing name of
(and possibly arguments to) the program that generated a core
file.
* elfread.c: Remove the register_addr() stub now that it is no
longer needed.
* procfs.c: Move misplaced #endif for ATTACH_DETACH. Add new
fetch_core_registers() function for core file support.
Sat Nov 9 13:37:57 1991 Fred Fish (fnf at cygnus.com)
* dwarfread.c (dwarf_psymtab_to_symtab): Remove leftover call
to do_cleanups() which resulted from a previous change.
* elfread.c: Re-enable compilation of register_addr() stub
whenever it is not supplied by coredep.c
Sat Nov 9 00:40:32 1991 John Gilmore (gnu at cygnus.com)
Add tracking of object files (that contain symbols) to gdb.
This includes a "struct objfile" that owns symtabs and psymtabs
that were read in from that binary file.
* symfile.h: Add struct objfile. Add pointer to the objfile
into the struct sym_fns.
Replace global `symfile' and `symfile_mtime' with
`symfile_objfile'. Add global object_files chain.
* symfile.c: Move param.h above symtab.h.
(sort_misc_function_vector): Add.
(syms_from_objfile): Was syms_from_bfd.
(symfile_open): Now returns objfile.
(allocate_objfile): New.
(free_objfile): New, replacing free_all_.*symtabs.
(symfile_init): Takes objfile arg, puts it in sym_fns result.
(reread_symbols): Searches whole chain of objfiles.
(allocate_symtab): Takes objfile as new parameter, chains them.
Handle INIT_EXTRA_SYMTAB_INFO.
(free_all_psymtabs, free_all_symtabs): Move here from symmisc.c.
* dbxread.c: Make more errors into complaints.
(push_subfile, pop_subfile): Move to buildsym.c.
(dbx_symfile_read, dbx_symfile_init, fill_symbuf, read_dbx_symtab,
start_psymtab, psymtab_to_symtab_1, read_ofile_symtab,
dbx_psymtab_to_symtab, ): Use bfd ops, don't use file descriptor.
Pass objfile. Change callers.
(fill_symbuf, SWAP_SYMBOL): Take bfd as arg.
(read_dbx_symtab): Just wipe out new symbols, not all, on error.
(end_psymtab): Blow away psymtab if empty.
(process_symbol_pair): Swallow into read_ofile_symtab.
(process_one_symbol): Use push_context and pop_context.
(virtual_context): Delete #if 0'd obsolete stuff.
* buildsym.c (end_symtab): Pass objfile.
(dbx_lookup_type): Handle null typevector.
(dbx_alloc_type): Check file number, not sym number, for -1.
(find_symbol_in_list): Add for xcoffread.
(start_symtab): Default typevector is empty. Keep reusing same
context_stack.
(end_symtab): Take objfile argument and pass it to
allocate_symtab. Don't make a symtab if no blocks or symbols.
Handle empty typevector.
(push_context): New function for context stack nesting.
(read_type): Mark FIXME where we need to reintroduce type smashing.
* buildsym.h (pop_context): Macro, paired with push_context.
(subfile_stack): Move here from dbxread.c.
* coffread.c (end_symtab, read_coff_symtab): Take and use objfile arg.
(read_coff_symtab): Cleanup by freeing objfile, not all symtabs.
* mipsread.c (read_mips_symtab, parse_partial_symbols, parse_fdr,
new_psymtab, new_symtab): Take and use objfile arg.
* dwarfread.c (scan_compilation_units, start_psymtab,
process_dies, end_symtab, dwarf_build_psymtabs,
read_lexical_block_scope, read_func_scope, read_file_scope): Take
and use objfile argument.
(psymtab_to_symtab_1, read_ofile_symtab): Don't take or use file
descriptor. Use BFD internal functions instead.
(end_symtab): Call global allocate_symtab.
* elfread.c, target.c: Minor changes to accommodate objfiles.
* symtab.h: partial_symbol_table has no symfile_name member now.
(fn_fieldlists voffset): avoid non-int bitfield.
(struct symtab): Add objfile * and objfile_chain * of symtabs.
(struct partial_symtab): Add objfile * and objfile_chain * of
psymtabs. Remove symfile_name.
* symmisc.c: Lose free_all_symtabs, free_all_psymtabs.
(printsyms_command): Rename from print_symtabs. Add selective
listing if 2nd argument given. Print objfile info.
(printpsyms_command): Rename from print_partial_symtabs. Ditto all.
(printobjfiles_command): New; prints objfiles lists, and checks
for consistency of symtab, psymtab, and objfile lists.
* symfile.h, symfile.c, symtab.h: Lint
Fri Nov 8 23:38:48 1991 John Gilmore (gnu at cygnus.com)
* command.c: Include param.h.
* defs.h (warning_setup, warning): Declare.
* expprint.c (print_subexp, UNOP_MEMVAL case): Lint.
* inflow.c (new_tty): Use USE_O_NOCTTY #define.
* language.c, printcmd.c (print_scalar_formatted), signame.c,
stack.c: lint.
Thu Nov 7 18:26:15 1991 Steve Chamberlain (sac at rtl.cygnus.com)
* Makefile.in: link with libiberty after libreadline, since
readline might want something in libiberty.
* m88k-xdep.c: Fixed the register offsets in the ptrace_user
struct for BCS 88k machines.
* xm-m88k.h: don't define USIZE if already defined.
* configure.in: Added delta88 target.
Thu Nov 7 04:51:19 1991 John Gilmore (gnu at cygnus.com)
* am29k-pinsn.c, am29k-opcode.h: Fix decoding of mtacc, dmac, fmac.
* tm-*.h: Remove READ_DBX_FORMAT, COFF_FORMAT, and
READ_MIPS_FORMAT, which have been unused since BFD. Still
remaining is COFF_NO_LONG_FILE_NAMES.
* tm-sun3.h, tm-altos.h: Remove detritus accidentally left from
function calling code moved to m68k-tdep.c.
Wed Nov 6 17:21:59 1991 John Gilmore (gnu at cygnus.com)
* coffread.c: Eliminate c_nsyms in favor of c_naux.
Complain if no auxents on .bf and .ef FCN symbols, and assume
lots of line numbers.
(init_linenos, enter_linenos): Use a sentinel at the end of the
read-in linenos, to make for a fast, safe loop-end test.