-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog-1996
5116 lines (4038 loc) · 199 KB
/
ChangeLog-1996
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 Dec 31 15:19:32 1996 Geoffrey Noer <[email protected]>
* config/mn10300/tm-mn10300.h: more small register fixes
Tue Dec 31 06:51:43 1996 Mark Alexander <[email protected]>
* config/i386/xm-windows.h: Undo previous change to SIGTRAP
and SIGQUIT values; it messed up non-MIPS targets.
* config/mips/tm-mips.h: Undefine BREAKPOINT, replace
with separate LITTLE_BREAKPOINT and BIG_BREAKPOINT definitions;
this fixes problem with setting breakpoints in little-endian
programs in the simulator.
Mon Dec 30 00:14:06 1996 Doug Evans <[email protected]>
* remote-sim.c (gdbsim_open_p): New static local.
(gdbsim_open): Call unpush_target if sim open. Set gdbsim_open_p.
(gdbsim_close): Only call sim_close if sim open. Reset gdbsim_open_p.
Sun Dec 29 09:15:03 1996 Mark Alexander <[email protected]>
* config/i386/xm-windows.h: Make SIGTRAP and SIGQUIT consistent
with sim/mips/support.h.
Fri Dec 27 14:53:40 1996 Michael Meissner <[email protected]>
* v850-tdep.c (struct pifsr): Add cur_frameoffset field.
(v850_scan_prologue): Add debug code #ifdef'ed DEBUG. Support new
compiler prologues using register save functions and short store
instructions. Add support for functions with large stack frames.
* config/v850/tm-vm850.h ({R0,R1,R12,EP}_REGNUMS): New register
number defintiions for r0, r1, r12, ep.
(SAVE{1,2,3}_{START,END}_REGNUM): Register number definitions for
the 3 sets of saved registers.
Thu Dec 26 19:56:55 1996 Mark Alexander <[email protected]>
* valprint.c (print_longest): Don't lose upper bits
of 64-bit values on Windows.
* config/i386/xm-windows.h: Leave CC_HAS_LONG_LONG defined,
undefine PRINTF_HAS_LONG_LONG, so that 64-bit values will
be printed without loss of upper bits.
Thu Dec 26 15:15:21 1996 Michael Snyder <[email protected]>
* config/sparc/tm-sparclet.h: make registers ASR15, ASR19 invisible
(they're not useful, you can't change, write or even read them)
Thu Dec 26 15:20:48 1996 Fred Fish <[email protected]>
* config/pa/hppahpux.mh (TERMCAP): Always link to libc before
libcurses, to avoid picking up broken select() from libcurses
on some versions of HPUX.
Thu Dec 26 15:14:41 1996 Michael Snyder <[email protected]>
* sparclet-rom.c: Remove includes of Unix system files.
Add function "sparclet_supply_register" so that parse_register_dump
will not seg-fault by calling a null function pointer.
Remove XMODEM support (unfinished work?).
Remove flag "MO_HANDLE_NL", so monitor's output can be read by humans.
Add fill command.
Remove colon from getreg.resp_delim so PSR register will work.
Remove pointer to sparclet_load (downloading SREC's doesn't work).
Null out local register names for %g0, all %cc and all %asr regs,
since the monitor can't report them. Will return zero instead.
* sparclet-stub.c: New -- remote protocol support for sparclet CPU.
* config/sparc/tm-sparclet.h: Re-arrange REGISTER_NAMES:
Add back %g0 and %psr, add %cc coprocessor regs, add %asr regs.
Adjust NUM_REGS and REGISTER_BYTES accordingly
Tue Dec 24 10:27:37 1996 Jeffrey A Law ([email protected])
* remote-e7000.c (want_h8300h, want_nopc_h8300h): Renamed
from want and want_nopc.
(want_h8300s, want_nopc_h8300s): New variables for H8/S register
lists.
(e7000_fetch_registers): Use H8/300H or H8/S register list string
as needed.
(e7000_wait): Likewise.
Mon Dec 23 02:25:58 1996 Peter Schauer ([email protected])
* mips-tdep.c (mips_find_saved_regs): If a frame has been
interrupted by a signal, figure out whether the registers that
the proc_desc claims are saved have been saved yet.
(mips_push_dummy_frame): Write dummy frame register after all
registers have been saved in the dummy frame. Update comments
to reflect the fact that we are now using an AT_ENTRY_POINT
call dummy.
Sun Dec 22 15:52:25 1996 Martin M. Hunt <[email protected]>
* d10v-tdep.c (d10v_skip_prologue): PR11287. Fix problem where
some breakpoints weren't being set.
Sat Dec 21 12:57:59 1996 Peter Schauer ([email protected])
* config/mips/tm-mips.h (PC_IN_CALL_DUMMY): Removed, the default
definition in inferior.h is sufficient.
* mips-tdep.c (mips_pc_in_call_dummy): Ditto.
(mips_push_arguments): Make sure that the stack is aligned to a
multiple of 8 after the arguments are pushed.
Structures are always passed by value in the old ABI.
Adjust argument register value on big endian targets when passing
a value whose length is less than the register size.
Write stack arguments with a single write_memory call.
(mips_pop_frame): Use frame_saved_regs instead of proc_desc to
decide which registers have to be restored.
* irix5-nat.c (fill_gregset): Sign extend registers before
filling in the gregset structure.
Fri Dec 20 11:06:03 1996 Stu Grossman ([email protected])
* mswin/genmakes: Don't define _DEBUG. This breaks wingdb.
Thu Dec 19 19:42:44 1996 Michael Meissner <[email protected]>
* v850-tdep.c (v850_scan_prologue): Deal with -mep shorting
register saves by using the ep register.
Thu Dec 19 15:57:16 1996 Doug Evans <[email protected]>
* m32r-tdep.c (m32r_frame_find_saved_regs): Fix thinko in arg def.
Thu Dec 19 09:38:56 1996 Mark Alexander <[email protected]>
* values.c (unpack_double): Make it compile with MSVC++ 2.x.
* remote-mips.c (S_IROTH): Define if not defined by stat.h, e.g.
when using MSVC++.
(common_open): Fix help string.
Wed Dec 18 23:01:32 1996 Stan Shebs <[email protected]>
* mpw-make.sed: Use NewFolderRecursive for installation.
Sat Dec 14 20:50:01 1996 Mark Alexander <[email protected]>
* mips-tdep.c (mips_push_arguments): Handle floating point args.
* config/mips/tm-mips.h (FIX_CALL_DUMMY): Define to set up $25
correctly for PIC on Irix 5.
Sat Dec 14 09:52:30 1996 Peter Schauer ([email protected])
* i386-tdep.c (i386_frame_find_saved_regs): Handle zero return
from get_pc_function_start gracefully.
Sat Dec 14 00:43:57 1996 Peter Schauer ([email protected])
* c-exp.y (qualified_name): Replace explicit check for valid
destructor name with call to destructor_name_p.
* c-lang.h, c-typeprint.c (cp_type_print_method_args): Removed,
no longer needed.
* c-typeprint.c (c_type_print_varspec_prefix, c_type_print_base):
Replace remaining fprintf_unfiltered calls with their filtered variant.
(c_type_print_base): Do not print return type for destructors from
template classes.
Replace cp_type_print_method_args with cplus_demangle call to get
consistent type output for stubbed and unstubbed methods.
* cp-valprint.c (cp_print_class_method): Replace
cp_type_print_method_args with cplus_demangle call to get consistent
type output for stubbed and unstubbed methods.
* gdbtypes.c, gdbtypes.h (get_destructor_fn_field): New function
to find the destructor field indices for a type.
* gdbtypes.h (struct type): Clarify comments for vptr_basetype
and arg_types fields.
(struct fn_field): Remove args field, no longer used.
* symtab.c (decode_line_1), valops.c (value_struct_elt,
check_field_in): Use get_destructor_fn_field to find the destructor
field indices instead of assuming that the compiler passes the member
function fields in a specific order.
* symtab.c (find_methods): Pass NULL instead of SYMBOL_BLOCK_VALUE
to lookup_symbol.
(list_symbol): Replace cp_type_print_method_args with cplus_demangle
call in zapped out code and explain why this code is zapped out.
Thu Dec 12 13:29:14 1996 Michael Meissner <[email protected]>
* config/powerpc/ppc{,le}-sim.mt (SIM): Add the simulator common
library ../sim/common/libcommon.a.
Wed Dec 11 11:15:08 1996 Doug Evans <[email protected]>
* monitor.c (monitor_load): Add support for load address argument.
* dsrec.c: #include <time.h>.
(load_srec): New argument load_offset. Print download stats.
* srec.h (load_srec): Update prototype.
* sh3-rom.c (sh3_load): Update call to load_srec.
Mon Dec 9 17:34:05 1996 Geoffrey Noer <[email protected]>
* config/mn10300/tm-mn10300.h: more small register fixes
* mn10300-tdep.c: filled in from another target
Mon Dec 9 17:12:19 1996 Doug Evans <[email protected]>
* monitor.c (monitor_insert_breakpoint): Handle bi-endian machines.
Mon Dec 9 15:58:51 1996 Mark Alexander <[email protected]>
* config/mips/tm-mips.h: Get rid of call-dummy code.
Minor changes to make pre-ANSI compilers happy.
* mips-tdep.c: Minor changes to make pre-ANSI compilers happy.
(mips_push_arguments): Rewrite to partially support EABI.
(mips_pc_in_call_dummy): New function.
* infcmd.c: Include symfile.h to get prototype of entry_point_address,
which fixes 64-bit sign extension bug on MIPS.
Mon Dec 9 00:14:49 1996 Geoffrey Noer <[email protected]>
* config/mn10300/tm-mn10300.h: fix register names
* mn10300-tdep.c: new skeleton tdep for mn10300
Sun Dec 8 18:02:57 1996 Doug Evans <[email protected]>
* remote-sim.h: Update some comments.
* remote-sim.c (gdb_os_error): New function.
(init_callbacks): Fix initializing of gdb_callback. Add gdb_os_error.
(gdb_os_printf_filtered): Use gdb_stdout, not stdout.
Sun Dec 8 00:36:31 1996 Peter Schauer ([email protected])
* irix5-nat.c (supply_gregset, fill_gregset): Handle gregsets
from O32 and N32 ABI.
(xfer_link_map_member): Work around problem with alignments
in struct obj when compiling GDB under N32 ABI.
Thu Dec 5 23:30:44 1996 Stan Shebs <[email protected]>
* d10v-tdep.c: Add support for examination and interpretation
of instruction trace buffer.
(trace, untrace, info trace, tdisassemble): New commands.
Thu Dec 5 14:06:23 1996 Doug Evans <[email protected]>
* config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER): Undef.
(TARGET_BYTE_ORDER_SELECTABLE): Define.
(BREAKPOINT): Undef.
({BIG,LITTLE}_BREAKPOINT): Define.
(TM_PRINT_INSN_MACH): Redefine for sparclet.
Wed Dec 4 16:34:05 1996 Geoffrey Noer <[email protected]>
* config/mn10300/mn10300.mt, config/mn10300/tm-mn10300.h: New.
Tue Dec 3 13:02:08 1996 Fred Fish <[email protected]>
* infptrace.c (store_inferior_registers): Move some common code out
to store_register, like fetch_inferior_registers & fetch_register.
(store_register): New function, from store_inferior_registers.
(fetch_inferior_registers, fetch_register): Minor code tweaks to
make {fetch,store}_inferior_registers and {fetch,store}_register
routines as similar in structure as possible.
(fetch_inferior_registers, store_inferior_registers): Eliminate
local variable numregs and just use ARCH_NUM_REGS directly.
Tue Dec 3 11:38:14 1996 Michael Snyder <[email protected]>
* blockframe.c: add macro USE_GENERIC_DUMMY_FRAMES to enable/disable
code for generic call_dummy frames.
* config/h8300/tm-h8300.h: turn on USE_GENERIC_DUMMY_FRAMES
* config/m32r/tm-m32r.h: Ditto.
* config/sh/tm-sh.h: Ditto.
* config/v850/tm-v850.h: Ditto.
Sun Dec 1 00:41:47 1996 Peter Schauer ([email protected])
* vax-tdep.c (vax_print_insn, print_insn_arg): Use info functions
for printing. From Valeriy Ushakov <[email protected]>.
Sun Dec 1 00:40:46 1996 Geoffrey Noer <[email protected]>
* configure.tgt: Add new mn10300 entry.
Sun Dec 1 00:18:59 1996 Peter Schauer ([email protected])
Add support for Irix 6.2 native O32 and N32 ABI.
* config.in, configure.in, configure: Check for <objlist.h>.
* configure.tgt: Handle mips*-sgi-irix6* like irix5 for now.
* cp-valprint.c (cp_print_value_fields): Use SYMBOL_VALUE_ADDRESS
instead of SYMBOL_BLOCK_VALUE to get the address of a static member.
* dwarf2read.c: Turn warnings and recoverable errors into complaints,
add new complaints where appropriate.
gcc -Wall cleanup.
(struct line_head): Change line_base from char to int to avoid
problems with compilers whose plain char is represented by an
unsigned char.
(struct partial_die_info): Add is_declaration field.
(dwarf2_tmp_obstack): New obstack for allocating temporary storage
used during symbol reading.
(cu_header_offset): New variable for resolving relative reference
dies.
(optimized_out, basereg, islocal, frame_base_reg, frame_base_offset):
New interface variables for decode_locdesc.
(struct dwarf2_pinfo): New structure for communication between
psymtab and symtab reading, passed via pst->read_symtab_private.
(dwarf2_has_info, dwarf2_build_psymtabs): Accept objects files
without line number sections.
(dwarf2_build_psymtabs_hard): Initialize temporary obstack
for symbol reading.
Allocate and initialize pst->read_symtab_private.
Relocate pst->textlow and pst->texthigh with baseaddr.
(scan_partial_symbols): Do not add DW_AT_declaration symbols
to the partial symbol table.
Add file scope enumerator symbols to the partial symbol table.
Fix typo in highpc computation.
If we didn't find a lowpc, set it to highpc to avoid complaints
from `maint check.
(add_partial_symbol): Relocate symbol values with baseaddr.
Add static DW_TAG_subprogram and DW_TAG_variable symbols to the
minimal symbol table.
Obtain symbol values for DW_TAG_variable symbols from the location
descriptor, skip symbols with missing location desciptors.
Skip symbols for aggregate types without children.
Handle enumerator symbols.
(dwarf2_psymtab_to_symtab): Issue symbol reading message if verbose.
(psymtab_to_symtab_1): Set local variables from
pst->read_symtab_private, set cu_header_offset and baseaddr.
Initialize temporary obstack for symbol reading, initialize
buildsym and add a cleanup to really_free_pendings.
Relocate highpc with baseaddr when calling end_symtab.
If the compilation is from a C file generated by language
preprocessors, do not set the symtab language if it was already
deduced by start_subfile.
Removed verbose sorting symbol table message.
(process_die): Handle DW_TAG_ptr_to_member_type and
DW_TAG_reference_type.
Use read_subroutine_type to get the function type for
DW_TAG_subprogram before calling read_func_scope.
(read_file_scope): Initialize file name to <unknown>, start_subfile
expects a non-NULL name.
If we didn't find a lowpc, set it to highpc to avoid complaints
from finish_symbol.
Relocate lowpc and highpc with baseaddr.
Get rid of Irix6.2 native cc compile machine prefix in comp_dir.
Zero out ftypes for each new compilation unit (may be different
language or different objfile).
Accept compilation units without line number information, pass
comp_dir to decode_lines.
(read_func_scope): Initialize function name to <unknown> to avoid
core dumps when DW_AT_name is missing.
Relocate lowpc and highpc with baseaddr.
Handle DW_AT_frame_base, keep result for DW_OP_fbreg operations.
Pass function type to new_symbol.
(read_lexical_block_scope): Relocate lowpc and highpc with baseaddr.
(read_structure_scope): Set TYPE_TAG_NAME, not TYPE_NAME.
Handle DW_TAG_class_type.
Copy fields to type_obstack, release temporary storage for fields.
Don't add symbol if die is a stub die and has no children.
Handle C++ static member fields.
(read_enumeration): Set TYPE_TAG_NAME, not TYPE_NAME.
Copy fields to type_obstack, release temporary storage for fields.
Let new_symbol handle the symbol creation for enumerators
instead of handcrafting a symbol.
Determine signedness of enum type from enumerators.
(dwarf_read_array_type): Handle variable length arrays.
Use lookup_pointer_type instead of handcrafting a type.
Create array type only if a DW_TAG_subrange_type was found.
(read_tag_pointer_type, read_tag_reference_type):
Use lookup_pointer_type and lookup_reference_type instead
of handcrafting a type.
(read_tag_ptr_to_member_type): New function to handle
DW_TAG_ptr_to_member_type.
(read_subroutine_type): Handle parameter dies.
Use lookup_function_type instead of handcrafting a type.
(read_typedef): Allocate a TYPE_CODE_TYPEDEF type for the typedef.
(read_base_type): If the type has a name, use init_type to create
a new type instead of second guessing a fundamental type.
(read_comp_unit): Reset die reference table before building
a new one.
(dwarf2_read_section): Read section contents into psymbol_obstack.
(dwarf2_read_abbrevs): Handle unterminated abbreviations
for a compile unit gracefully.
(read_partial_die): Zero partial die before reading its info.
Handle DW_AT_declaration.
Fix typo in handling of DW_FORM_block4.
(read_full_die): Fix typo in handling of DW_FORM_block4.
(read_1_signed_byte, read_2_signed_bytes, read_4_signed_bytes):
New routines to get signed values from a buffer.
(read_n_bytes, read_string): Allocate storage from the temporary
obstack. If the host char size permits it, return pointer
to buffer instead of allocating storage.
(set_cu_language): Handle DW_LANG_Mips_Assembler.
(dwarf_attr): Return NULL if reference die for DW_AT_specification
or DW_AT_abstract_origin die is not found.
(record_minimal_symbol): Removed, replaced with a direct call to
prim_record_minimal_symbol, it now handles saving the string itself.
(convert_locdesc): Removed, partial symtab reading now uses
decode_locdesc.
(dwarf_attr): Use dwarf2_get_ref_die_offset to get the absolute
offset for the die reference.
(dwarf_decode_lines): Complain if the line section info is missing.
Use read_1_signed_byte to extract lh.line_base to avoid
problems with compilers whose plain char is represented by an
unsigned char.
Add cleanups for allocated temporary storage.
Start a subfile for the first file in the state machine.
Fix off by one problem with dirs.dirs access.
Use comp_dir when directory index is 0.
Support multiple sequences (from Jason Merrill <[email protected]>).
(dwarf2_start_subfile): Try to keep line numbers from identical
absolute and relative file names in a common subfile.
(new_symbol): Allocate symbol and symbol name on the symbol_obstack.
Set SYMBOL_LINE from DW_AT_decl_line if present.
Set SYMBOL_TYPE from passed type if not NULL.
Change DW_TAG_variable symbol types with missing type entries
to a sensible type.
Handle optimized_out, offreg and islocal storage classes.
Add external symbols with type information whose address isn't
known as LOC_UNRESOLVED symbols.
Synthesize typedefs for C++ classes, structs, unions and enumerations.
Handle DW_TAG_enumerator symbols, complain for unrecognized
symbol tags.
(die_type): A missing DW_AT_type represents a void type.
Use dwarf2_get_ref_die_offset to get the absolute offset for
the die reference.
(die_containing_type): New function to build type from
DW_AT_containing_type attribut.
(read_type_die): Handle DW_TAG_ptr_to_member_type.
Treat DW_TAG_subprogram like DW_TAG_subroutine_type.
(dwarf_base_type): Fix typo with creation of FT_UNSIGNED_SHORT
fundamental type.
(create_name): Removed, symbol name allocation is now done
in new_symbol.
(dump_die): Use print_address_numeric to print a CORE_ADDR.
(dwarf2_empty_die_ref_table): New function to clear the die
reference table.
(dwarf2_get_ref_die_offset): New function to get the absolute
die offset from a die reference attribute.
(decode_locdesc): Complete rewrite using a stack, code mostly
borrowed from dwarfread.c:locval.
(dwarf_alloc_type): Removed, replaced by direct calls to alloc_type.
(dwarf_alloc_block): Allocate block on temporary obstack.
* elfread.c (elf_symtab_read): When handling Irix dynamic symbols,
skip section name symbols and relocate all others.
(elf_symfile_read): Build dwarf2 psymtab even if offset is non-zero.
* irix5-nat.c (fetch_core_registers): Handle core_reg_sect
from N32 executables. Call registers_fetched after extracting
the registers.
(obj_list_variant, struct link_map, LM_OFFSET, LM_ADDR): New
definitions to enable support of O32 and N32 format objlists.
(struct so_list): New members offset, so_name and lmstart to
eliminate dependencies from the objlist format used.
(solib_map_sections, symbol_add_stub, solib_add,
info_sharedlibrary_command, solib_address, clear_solib): Use
so_name and LM_OFFSET.
(first_link_map_member): Rewrite to enable support of O32 and N32
format objlists.
(next_link_map_member, xfer_link_map_member): New functions to
support O32 and N32 format objlists.
(find_solib): Use first_link_map_member, next_link_map_member and
xfer_link_map_member.
(solib_create_inferior_hook): Use TARGET_SIGNAL_* instead of
host signal numbers.
* mdebugread.c (parse_partial_symbols, handle_psymbol_enumerators):
Pass CORE_ADDR variant to add_psymbol_to_list.
* mips-tdep.c (heuristic_proc_desc): Stop examining the prologue
if we encounter a positive stack adjustment. Handle `move $30,$sp'.
Handle `sd reg,offset($sp)' for 32 bit ABIs.
* symmisc.c (dump_msymbols, print_partial_symbols): Use
print_address_numeric to print a SYMBOL_VALUE_ADDRESS.
(dump_symtab): Print compilation directory if it is not NULL.
* valops.c (search_struct_field, value_struct_elt_for_reference):
Use SYMBOL_VALUE_ADDRESS instead of SYMBOL_BLOCK_VALUE to get the
address of a static member.
Thu Nov 28 00:46:24 1996 Peter Schauer ([email protected])
* vax-tdep.c (vax_print_insn): Made static, modified to take
disassemble_info as parameter.
(_initialize_vax_tdep): New function to initialize tm_print_insn
to vax_print_insn.
Wed Nov 27 11:29:06 1996 Michael Snyder <[email protected]>
* blockframe.c: Remove old-style CALL_DUMMY code.
* h8300-tdep.c, config/h8300/tm-h8300.h: Ditto.
* m32r-tdep.c, config/m32r/tm-m32r.h: Ditto.
* sh-tdep.c, config/sh/tm-sh.h: Ditto.
* v850-tdep.c, config/v850/tm-v850.h: Ditto.
Wed Nov 27 10:32:14 1996 Michael Snyder <[email protected]>
* breakpoint.c: DELETE command will not delete CALL_DUMMY breakpoint.
* blockframe.c: Add target-independant support for managing
CALL_DUMMY frames on the host side.
* frame.h: Declarations for generic CALL_DUMMY frame support.
* h8300-tdep.c: Add target function calls using generic frame support.
* config/h8300/tm-h8300.h: config for generic target function calls.
* m32r-tdep.c: Add target function calls using generic frame support.
* config/m32r/tm-m32r.h: config for generic target function calls.
* sh-tdep.c: Add target function calls using generic frame support.
* config/sh/tm-sh.h: config for generic target function calls.
* v850-tdep.c: Add target function calls using generic frame support.
* config/v850/tm-v850.h: config for generic target function calls.
* valops.c: ADD PUSH_RETURN_ADDRESS so that it doesn't have to be
done by PUSH_ARGUMENTS when there's no CALL_DUMMY.
Tue Nov 26 19:21:35 1996 Mark Alexander <[email protected]>
* config/mips/tm-mips.h (ADDR_BITS_REMOVE, TARGET_READ_SP): Define.
(mips_addr_bits_remove): Declare.
* mips-tdep.c (mips_push_dummy_frame): Fix heuristic-fence-post
errors when hitting breakpoints during inferior function calls
in 64-bit programs.
(fix_sign_extension): Make public, rename to mips_addr_bits_remove.
* utils.c (paddr_nz, preg_nz): New functions, similar to
paddr and preg but don't print leading zeroes.
* defs.h (paddr_nz, preg_nz): Declare.
* remote-mips.c: Use paddr_nz instead of paddr throughout
to reduce packet size.
(pmon_end_download): Improve timeout error handling.
Tue Nov 26 17:21:37 1996 Ian Lance Taylor <[email protected]>
* configure: Rebuild with autoconf 2.12.
Mon Nov 25 13:17:16 1996 Fred Fish <[email protected]>
From: Paul Eggert <[email protected]>
* remote-bug.c (wait_strings): Avoid creating a trigraph.
Fri Nov 22 15:55:22 1996 Martin M. Hunt <[email protected]>
* valops.c (value_at, value_fetch_lazy): Put in D10V call
to fix up address pointers.
* values.c (value_from_longest): Removed previous d10v changes.
* config/d10v/tm-d10v.h (TARGET_PTR_BIT): Change to 4 bytes.
Fri Nov 22 10:06:19 1996 Peter Schauer ([email protected])
* config/i386/nm-i386v4.h (LOSING_POLL): Define, needed for
Unixware 1.1.2.
Thu Nov 21 19:13:58 1996 Mark Alexander <[email protected]>
* mips-tdep.c: Replace hard-coded constants with MIPS_INSTLEN.
(common_breakpoint): Use paddr instead of %x to print 64-bit values.
(heuristic_proc_desc): Add tests for 64-bit instructions.
(init_extra_frame_info, mips_push_arguments): Recognize additional
registers for EABI.
* remote-mips.c: Extend DDB target to allow TFTP downloads.
* config/mips/tm-mips.h (MIPS_LAST_ARG_REGNUM, MIPS_NUM_ARG_REGS):
Define.
Wed Nov 20 19:09:16 1996 Martin M. Hunt <[email protected]>
* infcmd.c (do_registers_info): Call val_print with the
virtual buf instead of the raw buf. Needed for REGISTER_CONVERT
to work with non-floating point regs.
* d10v-tdep.c (d10v_skip_prologue): If we have line debugging
information, then the end of the prologue should the first
assembly instruction of the first source line.
* values.c (value_from_longest): Put in D10V call to
fix up address pointers.
* config/d10v/tm-d10v.h (REGISTER_VIRTUAL_SIZE): Modified.
(REGISTER_VIRTUAL_TYPE): Modified for PC_REGNUM and SP_REGNUM.
(REGISTER_CONVERTIBLE): Make PC and SP convertible.
(REGISTER_CONVERT_TO_VIRTUAL): Define.
(REGISTER_CONVERT_TO_RAW): Define.
(D10V_MAKE_DADDR): Define.
(D10V_MAKE_IADDR): Define.
Wed Nov 20 16:15:15 1996 Geoffrey Noer <[email protected]>
* config/i386/cygwin32.mh: add MMALLOC_CFLAGS = -I$(MMALLOC_SRC)
-DMMCHECK_FORCE=1 so memory checks are loaded for cygwin32 gdb
Wed Nov 20 00:43:09 1996 Doug Evans <[email protected]>
* callback.h: Delete, moved to ../include.
* callback.c: Delete, moved to ../sim/common.
* Makefile.in (SFILES,COMMON_OBJS): Delete callback.[co].
(callback.o): Delete rule.
* remote-sim.h: No longer include callback.h.
(sim_callback_write_stdout): Delete prototype.
* remote-sim.c (init_callbacks,end_callbacks): New functions.
(gdb_os_write_stdout, gdb_os_printf_filtered): New functions.
(gdb_callback, callbacks_initialized): New static globals.
(gdbsim_open): Call init_callbacks.
(gdbsim_close): Call end_callbacks.
(simulator_command): Call init_callbacks.
* config/h8300/h8300.mt (SIM): Change to ../sim/h8300/libsim.a.
* config/h8500/h8500.mt (SIM): Change to ../sim/h8500/libsim.a.
Mon Nov 18 15:58:05 1996 Jim Wilson <[email protected]>
* config/mips/tm-mips.h (FIX_CALL_DUMMY): Change unsigned LONGEST
to ULONGEST.
Fri Nov 15 15:34:18 1996 Fred Fish <[email protected]>
From Peter Schauer <[email protected]>
* procfs.c (wait_fd): Handle EINTR error return from poll
by restarting the poll.
* defs.h (PIDGET): Define a default version that just
returns its argument unchanged.
* inflow.c (terminal_init_inferior): Eliminate #ifdef
of PIDGET and fold both alternatives into common code.
(pass_signal): Use PIDGET for pid passed to kill().
Thu Nov 14 15:54:20 1996 Michael Meissner <[email protected]>
* utils.c (paddr,preg): Use a static variable initialized to 32
instead of doing addr>>32 to eliminate a warning produced by GCC
on 32-bit systems.
* config/d10v/tm-d10v.h (ULONGEST): Define.
Tue Nov 12 12:25:27 1996 Jim Wilson <[email protected]>
* c-typeprint.c (cp_type_print_method_args): Pass -1 for show in
recursive call to type_print.
Tue Nov 12 12:18:29 1996 Jim Wilson <[email protected]>
* defs.h (ULONGEST): New macro.
* alpha-tdep.c, breakpoint.c, c-exp.y, ch-exp.c, convex-xdep.c,
corefile.c, defs.h, f-exp.y, findvar.c, gdbcore.h, m2-exp.y,
m88k-tdep.c, printcmd.c, remote-hms.c, remote-mips.c, sparc-tdep.c,
valarith.c, valops.c, values.c, config/gould/tm-np1.h,
config/mips/tm-mips.h, mswin/prebuilt/gdb/cexptab.c,
mswin/prebuilt/gdb/fexptab.c, mswin/prebuilt/gdb/m2exptab.c:
Change all occurances of unsigned LONGEST to ULONGEST.
* configure.host (mips-sgi-irix6): Add.
Tue Nov 12 12:16:40 1996 Michael Snyder <[email protected]>
* sh-tdep.c: Add functionality for target function calls.
* config/sh/tm-sh.h: Add support for target function calls.
Tue Nov 12 12:06:58 1996 Michael Snyder <[email protected]>
* m32r-tdep.c: Add functionality for target function calls.
* valops.c: Small change to support target function calls.
* config/m32r/tm-m32r.h: Add support for target function calls.
Mon Nov 11 17:15:59 1996 Geoffrey Noer <[email protected]>
* defs.h: Modify Nov 11 12:59:00 change so _MSC_VER is checked
instead of _WIN32.
* win32-nat.c: Fix Nov 11 12:59:00 change (windows.h should
be included instead of windefs.h for compilers other than
VC++).
* mswin/windefs.h: Remove ^Ms and change C++ style comments
to C style comments.
Mon Nov 11 14:32:38 1996 Mark Alexander <[email protected]>
* utils.c (get_cell): Fix off-by-one bug.
* mips-tdep.c (get_frame_pointer, fix_sign_extension):
New functions to consolidate common code.
(mips_frame_chain, init_extra_frame_info): Use new functions
to fix problems with backtrace and finish commands on ddb board.
Mon Nov 11 12:59:00 1996 Dawn Perchik <[email protected]>
* mips-tdep.c, remote-mips.c, values.c, mdebugread.c,
config/mips/tm-mips.h: Add/fix bugs for 64-bit mips support.
* defs.h: Cleanup; add prototypes.
* corefile.c: Change FIXME #ifdef
* win32-nat.c: Include windefs instead of windows.h.
* utils.c: Add routines for printing addresses and registers
based on type size.
Sat Nov 9 01:05:10 1996 Peter Schauer ([email protected])
* alpha-tdep.c (heuristic_proc_desc): Stop examining the prologue
if we encounter a positive stack adjustment.
(find_proc_desc): If heuristic_fence_post is non-zero, use
heuristic_proc_start to determine the start of a function before
calling heuristic_proc_desc.
* coffread.c (coff_symtab_read): Change minimal symbol types
for C_LABEL symbols from mst_* to mst_file_*.
* config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.
* configure.in: Handle error message from sun3 native ld when
configuring HLDFLAGS.
* configure: Regenerated with autoconf.
* c-valprint.c (c_value_print): Adjust value address by VALUE_OFFSET.
* cp-valprint.c (cp_print_value): Prevent gdb crashes by making sure
that the virtual base pointer from an user object still points to
accessible memory.
* dbxread.c (dbx_symfile_init): Initialize sym_stab_info to
clear the recently added header_files fields.
(dbx_symfile_finish): Free hfiles[i].vector to avoid storage leak.
Fri Nov 8 14:30:23 1996 Michael Snyder <[email protected]>
* config/tm-sh.h: Added a missing comma in middle of
REGISTER_NAMES list.
Fri Nov 8 12:29:51 1996 Stan Shebs <[email protected]>
* monitor.c: Fix some formatting and comments.
* remote-sim.c (simulator_command): Set up callbacks before
entering the simulator.
Thu Nov 7 15:19:08 1996 Martin M. Hunt <[email protected]>
* d10v-tdep.c: Fix some problems with inferior function calls.
* config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Change dummy to be
a pointer to the dummy's stack instead of just a flag.
Tue Nov 5 10:21:02 1996 Michael Snyder <[email protected]>
* m32r-tdep.c: Improved frame_chain and fn prologue analysis.
* config/tm-m32r.h: Add framesize and register to extra_frame_info.
Tue Nov 5 10:08:07 1996 Stu Grossman ([email protected])
* mswin/gdbwin.h: Remove bogus definition of CORE_ADDR.
* mswin/srcwin.cpp (CSrcScroll1::CSrcScroll1): Initialize depth
to fix divide-by-zero problem with clicking on source window.
Mon Nov 4 00:48:37 1996 Stu Grossman ([email protected])
* mswin/recordit: Fix problem with absolute paths.
* mswin/recordit: Fix problem with relative paths.
Sun Nov 3 18:06:42 1996 Stu Grossman ([email protected])
* mswin/{Makefile.in configure configure.in}: New files for
configuring wingdb under Unix.
Sat Nov 2 03:54:13 1996 Peter Schauer ([email protected])
* irix5-nat.c, osfsolib.c, solib.c (symbol_add_stub): Handle
missing or zero-sized .text sections properly.
* mdebugread.c: Handle scRConst and scSUndefined storage classes.
* stabsread.c (scan_file_globals): Try to resolve symbols
for shared libraries from the minimal symbol table of the main
executable first.
Fri Nov 1 13:59:28 1996 Martin M. Hunt <[email protected]>
* d10v-tdep.c, config/d10v/tm-d10v.h: Major fixes to support
inferior function calls and proper stack backtracing on D10V-EVA
board.
Fri Nov 1 10:50:51 1996 Michael Meissner <[email protected]>
* config/powerpc/linux.mh (NATDEPFILES): Fix up things so that it
links.
(GDBSERVER_DEPFILES,TERMCAP): Ditto.
* monitor.c (dev_name,targ_ops): Move static variables before
first use, to avoid compiler warnings.
Thu Oct 31 16:37:17 1996 Michael Snyder <[email protected]>
* m32r-tdep.c: Improved frame_chain and fn prologue analysis.
* configure.tgt: Add entry for m32r target.
* monitor.h: Add a flag to tell monitor_store_register to use
(val, regno) instead of (regno, val).
* monitor.c: Make monitor_store_register honor the above flag.
Make monitor_exp ignore DC1/DC3 for m32r.
Increase buf size in monitor_dump_regs.
Wed Oct 30 18:14:14 1996 Michael Snyder <[email protected]>
* m32r-tdep.c, m32r-rom.c: New files.
* config/m32r/m32r.mt: New file.
* config/m32r/tm-m32r.h: New file.
Tue Oct 29 16:56:01 1996 Geoffrey Noer <[email protected]>
* config/i386/xm-cygwin32.h:
* config/powerpc/xm-cygwin32.h:
add #define LSEEK_NOT_LINEAR so source lines aren't unexpectedly
truncated.
Tue Oct 29 18:36:43 1996 Michael Meissner <[email protected]>
* config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE):
Define.
Tue Oct 29 14:59:20 1996 Stan Shebs <[email protected]>
* TODO: Add item suggesting an "info bfd" command.
Tue Oct 29 12:48:04 1996 Martin M. Hunt <[email protected]>
* d10v-tdep.c: Snapshot that supports D10V-EVA board.
* config/d10v/tm-d10v.h (REGISTER_NAMES): Add imap0,imap1,dmap.
(TARGET_READ_FP,TARGET_WRITE_FP): Define.
Mon Oct 28 17:34:24 1996 Stu Grossman ([email protected])
* mswin/genmakes mswin/recordit: New scripts to generate make
files for MSVC.
Sun Oct 27 20:18:04 1996 Mark Alexander <[email protected]>
* config/mips/{tm-vr5000.h,tm-vr5000el.h,vr5000.mt,vr5000el.mt}:
New files.
* configure.tgt: Modify cases for vr5000 to use new files.
Sat Oct 26 07:15:14 1996 Peter Schauer ([email protected])
* config/alpha/alpha-osf3.mh (XM_CLIBS): Add -lm for OSF/1-4.0.
* procfs.c (proc_set_exec_trap): Under Alpha OSF/1-4.0, tracing
the entry to the exit system call to detect termination of the
inferior stopped working. Trace termination of the inferior via
PRFS_STOPTERM instead.
(procfs_init_inferior): Do not trace entry to exit system call
if PIOCSSPCACT is defined.
(procfs_wait): Handle PR_DEAD event, which signals the termination
of the inferior if PRFS_STOPTERM is set.
* mdebugread.c (parse_partial_symbols): Ignore stNil section
start address symbols.
* sparc-tdep.c (get_saved_register): Get saved PC from the
frame info if not in innermost frame.
Thu Oct 24 10:51:45 1996 Mark Alexander <[email protected]>
* dbxread.c (process_one_symbol): Interpret end-of-function
markers correctly; this fixes problem on Vr5000 where all
functions in a module had the same address.
* configure.in, configure.tgt, configure.host, gdbserver/configure.in:
Correct for pc-linux-gnu problem in config.guess.
* configure: Regenerate.
Thu Oct 24 10:06:58 1996 Stu Grossman ([email protected])
* dbxread.c: Don't swap symbols in place, since internal and
external forms may have different sizes. Don't assume that an
internal_nlist has the same layout as an external_nlist. Create
symbol for n_strx element so to hide specifics of nlist from
partial-stab.h.
* partial-stab.h: Don't reference dbxread symbols directly. Use
CUR_SYMBOL_STRX instead.
* config/i386/xm-windows.h: Define SIGQUIT and SIGTRAP.
* config/v850/tm-v850.h: Define PS_REGNUM and TARGET_V850 for
MSVC builds.
* mswin/gdbwin.c (reg_order): Define register order for V850.
* mswin/gui.cpp (CGuiApp::InitInstance): Define target name for
V850.
* mswin/regdoc.h: Define MAXREGS for V850.
Tue Oct 22 16:28:20 1996 Stu Grossman ([email protected])
* v850-tdep.c (scan_prologue): Changes to deal with scheduled
prologues correctly. First, prologue end is now defined by
presence of a branch, jump or call insn. Second, can no longer
fix frame offsets because we may not know the offset until after a
register has been saved.
* (v850_init_extra_frame_info): Fixup frame offsets here because
we have all the info at this time.
* (v850_frame_chain): Use new calling convention for scan_prologue.
Tue Oct 22 10:25:29 1996 Martin M. Hunt <[email protected]>
* d10v-tdep.c, config/d10v/tm-d10v.h: Changes to allow stack
backtraces and inferior function calls.
Tue Oct 22 10:32:46 1996 Stan Shebs <[email protected]>
* mpw-make.sed: Update init.c editing to work with Oct 8 change.
(@HLDFLAGS@): Always edit out.
Mon Oct 21 18:17:08 1996 Mark Alexander <[email protected]>
* mdebugread.c (parse_partial_symbols): Fix 64-bit
sign-extension problems in calculating psymtab addresses.
* buildsym.c (end_symtab): Use macro to pop context.
Mon Oct 21 14:40:50 1996 Stu Grossman ([email protected])
* v850-tdep.c: Cleanup lots of things. Add many comments.
* v850-tdep.c (v850_init_extra_frame_info v850_frame_chain): Fix
sign bugs with scanning prologues. Get a little smarter about
calculating the length of uninteresting instructions.
Mon Oct 21 14:01:38 1996 Michael Snyder <[email protected]>
* top.c: Add new commands "set annotate" and "show annotate".
Sun Oct 20 04:38:39 1996 Peter Schauer ([email protected])
* corelow.c (core_close): Clear inferior_pid only if there is
an open core_bfd.
* cp-valprint.c (cp_print_value_fields): Pass correct address
to val_print, not 0.
From Andreas Schwab ([email protected]):
* eval.c (evaluate_subexp_standard) [case BINOP_REPEAT]: Chase
typedefs before checking for integral type of right operand.
Fri Oct 18 17:26:22 1996 Mark Alexander <[email protected]>
* mdebugread.c (parse_symbol): Fix crash when malloc has
no type info and void type has no associated pointer type.
Thu Oct 17 18:18:20 1996 Stan Shebs <[email protected]>
* configure.host: New file, host configuration mapping.
* configure.tgt: New file, target configuration mapping.
* configure.in: Remove host and target mapping.
* configure: Rebuild.
Wed Oct 16 17:46:03 1996 Stan Shebs <[email protected]>
* breakpoint.c (must_shift_inst_regs): New global.
(bpstat_stop_status): Change #if uses of DECR_PC_AFTER_BREAK into
equivalent expression uses.
* infrun.c (wait_for_inferior): Ditto.
Wed Oct 16 01:53:43 1996 Stu Grossman ([email protected])
* v850-tdep.c (v850_push_arguments): Use symbolic names for arg
registers.
* config/v850/tm-v850.h: Change FP to 29. Define arg regs.
Tue Oct 15 16:30:07 1996 Stu Grossman ([email protected])
* Makefile.in (init.c): Don't use -s option with grep. It means
something different under Digital Unix.
* buildsym.c (finish_block): Treat LOC_BASEREG_ARG and
LOC_LOCAL_ARG as arguments so that GDB will know about function
args declared this way. Mostly affects dwarf.
* dwarfread.c (decode_die_type): Change default type from int to
void. This allows GDB to recognize void functions.
* (new_symbol): If AT_PROTOTYPED is present, set a flag in the
type structure.
* findvar.c (extract_floating store_floating): Clean up comments
to reflect reality.
* gdbtypes.h: Add TYPE_FLAG_PROTOTYPED so that we can tell if a
function has a prototype. Currently, only dwarf supports this.
* utils.c (floatformat_from_doublest): Fix logic error with
converting from double to float. (It wasn't shifting mant_long if
it had a hidden bit.)
* v850-tdep.c: Add support for function calling. Fix some
problems with debugging code w/o debug symbols.
* config/v850/tm-v850.h: Ditto.
Tue Oct 15 18:19:42 1996 Ian Lance Taylor <[email protected]>
* utils.c: Always ensure that size_t is defined. Check
HAVE_STDDEF_H rather than __STDC__
(xmalloc, xrealloc): Use size_t rather than long.
Tue Oct 15 14:24:19 1996 Martin M. Hunt <[email protected]>
* config/powerpc/tm-ppc-eabi.h: Undefine NO_SINGLE_STEP so targets
can use single-step commands.
Sun Oct 13 11:38:25 1996 Peter Schauer ([email protected])
* stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR is non-zero,
follow typedefs before checking TYPE_CODE for structures and unions.
Fri Oct 11 15:43:54 1996 Stu Grossman ([email protected])
* frame.h: Move definition of struct frame_saved_regs to before
struct frame to make it possible to use frame_saved_regs in
EXTRA_FRAME_INFO macro.
* v850-tdep.c config/v850/tm-v850.h: Lotsa new functions and
macros to make frame operations (such as backtrace) work.
Fri Oct 11 14:23:50 1996 Fred Fish <[email protected]>
* dbxread.c (process_one_symbol): Check for null string directly