-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog-2001
9895 lines (7707 loc) · 356 KB
/
ChangeLog-2001
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
2001-12-30 Michael Snyder <[email protected]>
* sparc-tdep.c (sparc-store-return-value): Whitespace fix-up.
2001-12-29 Elena Zannoni <[email protected]>
* Makefile.in (rs6000-tdep.o): Add dependency on parser-defs.h.
* rs6000-tdep.c: Include parser-defs.h.
(rs6000_register_virtual_type): Rewrite, including handling of
AltiVec regs type.
(altivec_register_p): New function.
(rs6000_do_altivec_registers): New function.
(rs6000_altivec_registers_info): New function.
(rs6000_do_registers_info): New function.
(R16): Define.
(PPC_ALTIVEC_REGS): Define.
(registers_powerpc): Add AltiVec registers.
(registers_7400): Define.
(variants): Add 7400 machine.
(rs6000_gdbarch_init): Set the numbers of AltiVec registers.
Initialize gdbarch_do)_registers_info.
(rs6000_info_power_command): New function.
(info_power_cmdlist): New static variable.
(_initialize_rs6000_tdep): Add new 'info powerpc altivec' command.
* ppc-tdep.h (struct gdbarch_tdep): Add altivec regnum fields.
(altivec_register_p): Export.
2001-12-29 Mark Kettenis <[email protected]>
* i386bsd-nat.c (reg_offset): Fix typo.
* i386-tdep.c (i386_push_dummy_frame): Don't write back the
modified frame pointer until the old frame pointer has been saved.
2001-12-30 Andrew Cagney <[email protected]>
* arch-utils.c (initialize_current_architecture): Test byte_order
against BFD_ENDIAN_UNKNOWN.
(gdbarch_info_init): Initialize byte_order to BFD_ENDIAN_UNKNOWN.
* gdbarch.sh: Update comments on default value of byte_order.
(verify_gdbarch, gdbarch_update_p): Test byte_order against
BFD_ENDIAN_UNKNOWN.
* gdbarch.h, gdbarch.c: Re-generate.
2001-12-27 Michael Snyder <[email protected]>
* i386-linux-nat.c: Include i386-tdep.h.
* maint.c (match_substring): GNU coding standards fixes.
(print_bfd_section_info): Ditto.
(print_objfile_section_info): Ditto.
2001-12-27 Mark Kettenis <[email protected]>
* maint.c (match_substring): Make parameters `string' and `substr'
const. Make local variable `tok' const.
2001-12-27 Mark Kettenis <[email protected]>
* config/i386/tm-i386.h (FP7_REGNUM, FIRST_FPU_CTRL_REGNUM,
FCTRL_REGNUM, FPC_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FCS_REGNUM,
FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM, FOP_REGNUM,
LAST_FPU_CTRL_REGNUM, XMM0_REGNUM, XMM7_REGNUM, MXCSR_REGNUM,
IS_FP_REGNUM, IS_SSE_REGNUM): Removed.
(FP0_REGNUM): Define conditionally depending on HAVE_I387_REGS.
(SIZEOF_FPU_CTRL_REGS): Hardcode value.
* i386-tdep.h (struct gdbarch_tdep): Change such that it contains
a single member `num_xmm_regs'.
(FPC_REGNUM): New macro.
(FIRST_FPU_REGNUM, LAST_FPU_REGNUM, FISRT_XMM_REGNUM,
LAST_XMM_REGNUM, MXCSR_REGNUM, FIRST_FPU_CTRL_REGNUM,
LAST_FPU_CTRL_REGNUM): Removed.
(FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FOP_REGNUM, XMM0_REGNUM,
MXCSR_REGNUM): Define unconditionally. Change macros to match the
comment describing the register layout.
(FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM): New macros.
(FP_REGNUM_P, FPC_REGNUM_P, SSE_REGNUM_P): New macros.
(IS_FP_REGNUM, IS_FPU_CTRL_REGNUM, IS_SSE_REGNUM): Make obsolete,
unconditionally define in terms of FP_REGNUM_P, FPC_REGNUM_P and
SSE_REGNUM_P).
(FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM): Make
obsolete, unconditionally define in terms of FISEG_REGNUM,
FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM.
* i386-tdep.c (i386_gdbarch_init): Initialize `num_xmm_regs'
member of `struct gdbarch_tdep'.
* x86-64-tdep.c (i386_gdbarch_init): Change initialization of
`struct gdbarch_tdep'.
* i387-nat.c (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM):
Replace with FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM and
FOOFF_REGNUM. Use FPC_REGNUM instead of FIRST_FPU_CTRL_REGNUM.
Use XMM0_REGNUM instead of LAST_FPU_CTRL_REGNUM.
2001-12-25 Andrew Cagney <[email protected]>
* cli/cli-script.c (execute_control_command): Replace value_ptr
with a struct value pointer.
* ch-lang.c (evaluate_subexp_chill): Ditto.
* printcmd.c (printf_command): Ditto.
* tracepoint.c (set_traceframe_context): Ditto.
(encode_actions): Ditto.
* eval.c (evaluate_subexp_standard): Ditto.
2001-12-25 Andrew Cagney <[email protected]>
* gdbarch.sh: When an int variable, print value using %d instead
of %ld.
* gdbarch.c: Re-generate.
2001-12-24 Tom Rix <[email protected]>
* config/powerpc/aix.mt (TDEPFILES): Add xcoffread.o to fix a build
failure.
2001-12-21 Michael Snyder <[email protected]>
* procfs.c (info_proc_cmd): Add the 'mappings' sub-command that
was dropped a few years ago, when procfs.c was rewritten.
(info_proc_mappings): New function, implement 'info proc mappings'.
(mappingflags): New function.
(_initialize_procfs): Document new option to 'info proc' command.
2001-12-21 Tom Tromey <[email protected]>
* configure, config.in: Rebuilt.
* configure.in: Check for realpath.
* defs.h (gdb_realpath): Declare.
* symtab.h (partial_symtab): Added fullname field.
* source.c (openp): Use gdb_realpath.
(forget_cached_source_info): Clear full name of each partial
symtab.
* utils.c (gdb_realpath): New function.
* symtab.c (lookup_symtab): Removed.
(lookup_symtab_1): Renamed to lookup_symtab.
(lookup_symtab): Look for real path.
(lookup_partial_symtab): Likewise.
2001-12-21 Michael Snyder <[email protected]>
* maint.c (match_substring): New function. Tokenizer for
maint info sections command arguments.
(match_bfd_flag): Use match_substring.
(print_bfd_section_info): Use match_substring.
(print_objfile_section_info): Use match_substring.
(maintenance_info_sections): Use match_substring.
2001-12-21 Orjan Friberg <[email protected]>
* configure.tgt: Delete CRIS from multi-arch targets.
* config/cris/tm-cris.h: New file.
* config/cris/cris.mt (TDEPFILES): Add corelow.o solib.o solib-svr4.o.
(TM_FILE): New macro.
* cris-tdep.c (cris_examine): Correct check for srp register.
(supply_gregset, fetch_core_registers,
cris_linux_svr4_fetch_link_map_offsets, cris_fpless_backtrace):
New functions.
(_initialize_cris_tdep): Add core functions and new command.
(cris_gdbarch_init): Define link map offsets.
Thu Dec 20 16:42:30 2001 Jeffrey A Law ([email protected])
* somsolib.c (som_solib_add): Ignore the solib limit threshhold
if AUTO_SOLIB_LIMIT is not greater than zero.
* somsolib.c (som_solib_create_inferior_hook): No longer warn
about missing __d_pid symbol.
2001-12-20 Elena Zannoni <[email protected]>
* ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register):
New function.
(fetch_register): New function.
(fetch_ppc_registers): New function.
(fetch_inferior_registers): New function.
(store_register): New function.
(store_ppc_registers): New function.
(store_inferior_registers): New function.
(ppc_register_u_addr): Eliminate ustart parameter and its
uses. Make static.
(PT_READ_U, PT_WRITE_U, PTRACE_XFER_TYPE): Define if needed.
Include sys/ptrace.h.
* config/powerpc/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
(U_REGS_OFFSET, REGISTER_U_ADDR): Delete.
* config/powerpc/linux.mh (NATDEPFILES): Delete core-aout.o.
2001-12-20 Elena Zannoni <[email protected]>
* rs6000-nat.c (fetch_register): Don't error out unless the
register number is really bogus.
2001-12-20 Michael Snyder <[email protected]>
* maint.c (maintenance_info_sections): Accept new argument
'ALLOBJ', iterate over all object files.
(print_section_table): Delete. Replaced by:
(print_section_info): New function.
(print_bfd_section_info): New function.
(print_objfile_section_info): New function.
(_initialize_maint_commands): Add help for new features.
2001-12-20 Kevin Buettner <[email protected]>
* arm-tdep.c (arm_init_extra_frame_info): Add special case for
call dummies.
(arm_frame_saved_pc): Likewise.
(arm_push_dummy_frame): Make sure all of the GPRs are saved.
(arm_pop_frame): Eliminate special case for call dummies. It
is no longer needed now that the frame info is being properly
initialized.
* arm-tdep.c (arm_scan_prologue): Don't require "mov ip, sp"
to be the first instruction in the prologue. Also, revise
the way the frame offset is computed for frameless functions.
2001-12-20 Michael Snyder <[email protected]>
* maint.c (maintenance_info_sections): Pass string argument to
print_section_table, so that it can be used to select sections.
(print_section_table): Change PTR to void *. Look at string arg
to select sections by name and by flag attributes.
(match_bfd_flags): New function.
(print_bfd_flags): New function.
Thu Dec 20 11:37:50 2001 Jeffrey A Law ([email protected])
* cli/cli-decode.c (add_cmd): Initialize pre_show_hook in
the new command.
2001-12-20 Andrew Cagney <[email protected]>
* remote.c (struct packet_reg): Add field in_g_packet.
(struct remote_state): Rename field g_packet to regs;
(free_remote_state): Update.
(init_remote_state): Add pseudo-registers to table. Initialize
in_g_packet. Drop sentinal from table.
(packet_reg_from_regnum, packet_reg_from_pnum): Update.
(remote_fetch_registers): Handle registers not in the g-packet.
(remote_store_registers): Ditto.
2001-12-20 Andrew Cagney <[email protected]>
* gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the print
format.
2001-12-19 Jim Blandy <[email protected]>
* s390-tdep.c (s390_pop_frame_regular): Make sure the saved_regs
array is actually set before we try to use it.
* s390-tdep.c (s390_frame_saved_pc_nofix): If we get the saved PC
out of the return address register, cache that in the frame's
extra info, just as if we'd gotten it from the saved regs array;
that way, it's not a lie to set the saved_pc_valid flag.
* s390-tdep.c (s390_get_frame_info): Give orig_sp a reasonable
value, even when fextra_info->stack_bought can't be trusted,
* s390-tdep.c (s390_readinstruction): Don't call
info->read_memory_func to read zero bytes. Some targets'
xfer_memory functions can't cope with that.
* gdbarch.sh (TARGET_CHAR_SIGNED): New macro.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbtypes.c (build_gdbtypes): If TARGET_CHAR_SIGNED is zero,
set the TYPE_FLAG_UNSIGNED bit on the type.
* s390-tdep.c (s390_gdbarch_init): On the S/390, characters
are unsigned by default.
* rs6000-tdep.c (rs6000_gdbarch_init): Same for PowerPC and
RS6000.
2001-12-19 Elena Zannoni <[email protected]>
* corefile.c (do_captured_read_memory_integer,
safe_read_memory_integer): New functions.
* gdbcore.h (safe_read_memory_integer): Export.
* arm-tdep.c (arm_scan_prologue): Use safe_read_memory_integer,
to read the frame value, to capture calls to error().
2001-12-19 Jim Blandy <[email protected]>
* s390-tdep.c (s390_register_name): S390_LAST_REGNUM is, in fact,
the last register number, not one greater than the last register
number.
* s390-tdep.c (s390_register_virtual_type): Replace clever but
incorrect range comparison with correct, legible equivalent.
* s390-tdep.c (s390_register_raw_size): Replace unnecessarily
obscure range comparison with legible equivalent.
Wed Dec 19 12:18:57 2001 Jeffrey A Law ([email protected])
* config/pa/tm-hppa.h (STORE_RETURN_VALUE): Use hppa_store_return_value.
(EXTRACT_RETURN_VALUE): Similarly.
* hppa-tdep.c (hppa_store_return_value): New function.
(hppa_extract_return_value): New function.
* infttrace.c (child_acknowledge_created_inferior): Pass
correct argument to add_thread.
(update_thread_state_after_attach): Likewise.
2001-12-19 Fernando Nasser <[email protected]>
* config/arm/tm-arm.h: Properly define SOFTWARE_SINGLE_STEP_P.
Always define SOFTWARE_SINGLE_STEP.
* config/arm/tm-embed.h: Properly define SOFTWARE_SINGLE_STEP_P.
* arm-tdep.c (arm_get_next_pc, thumb_get_next_pc, bitcount,
shifted_reg_val): Always compile these functions.
(arm_software_single_step): Fix second argument in function calls.
2001-12-19 Andrew Cagney <[email protected]>
* arch-utils.h (gdbarch_info_init): Declare.
* arch-utils.c: Include "arch-utils.h".
(gdbarch_info_init): Define.
(set_endian, set_architecture, set_gdbarch_from_file)
(initialize_current_architecture): Use gdbarch_info_init.
* rs6000-nat.c (set_host_arch): Ditto.
* cris-tdep.c (cris_version_update, cris_mode_update)
(cris_abi_update): Ditto.
2001-12-19 Jim Blandy <[email protected]>
* c-lang.c (c_emit_char): Print ASCII 11 as '\v', to match
ISO C, and our parser. Print ASCII 0 as '\0', since that's what
people are used to seeing.
2001-12-18 Jim Blandy <[email protected]>
* c-lang.c (c_printstr, c_builtin_types, cplus_builtin_types):
Fix indentation.
* Makefile.in (c-exp.tab.o): Delete duplicate build rule. Fix
dependency list on remaining build rule.
2001-12-18 Martin M. Hunt <[email protected]>
* ser-tcp.c (tcp_open): Disable Nagle algorithm which
improves performance in some cases.
2001-12-17 Ben Harris <[email protected]>
* armbsd-nat.c: Remove file, renamed to armnbsd-nat.c.
* armnbsd-nat.c: New file, renamed from armbsd-nat.c.
* Makefile.in: Rename armbsd-nat.c to armnbsd-nat.c.
* config/arm/nbsd.mh: Likewise.
2001-12-17 Corinna Vinschen <[email protected]>
* NEWS: Note new target XStormy16.
* MAINTAINERS: Add -Werror to XStormy16.
2001-12-17 Fernando Nasser <[email protected]>
From Richard Earnshaw <[email protected]>:
* arm-tdep.c (arm_software_single_step): New function. Implements
software single-stepping for ARM targets.
(arm_get_next_pc, thumb_get_next_pc, bitcount, shifted_reg_val): Only
needed for software single-stepping.
* config/arm/tm-arm.h: Activate SOFTWARE_SINGLE_STEP_P.
2001-12-17 Fernando Nasser <[email protected]>
From Richard Earnshaw <[email protected]>:
* config/arm/nbsd.mh, config/arm/nbsd.mt, config/arm/tm-nbsd.h,
config/arm/nm-nbsd.h, config/arm/xm-nbsd.h: New files.
* armbsd-nat.c: New file.
* Makefile.in: Build it.
* configure.host, configure.tgt: Support NetBSD/arm.
2001-12-17 Corinna Vinschen <[email protected]>
* MAINTAINERS: Add myself as XStormy16 maintainer.
2001-12-15 Kevin Buettner <[email protected]>
* config/rs6000/tm-rs6000.h (solib.h): Conditionally include.
2001-12-15 Andrew Cagney <[email protected]>
* gdbarch.c: Re-generate.
2001-12-15 Andrew Cagney <[email protected]>
* MAINTAINERS: Remove powerpcle-eabi and rs6000-ibm-aix3.2 from
target list.
2001-12-15 Andrew Cagney <[email protected]>
* defs.h (LITTLE_ENDIAN): Delete definition.
* arch-utils.c, cris-tdep.c, d10v-tdep.c, defs.h, gdbarch.c,
gdbarch.sh, remote-rdp.c, remote-sim.c, sh-tdep.c, sparc-tdep.c,
config/alpha/tm-alpha.h, config/arm/tm-arm.h,
config/i386/tm-i386.h, config/i960/tm-i960.h,
config/ia64/tm-ia64.h, config/mcore/tm-mcore.h,
config/mips/tm-wince.h, config/mn10200/tm-mn10200.h,
config/ns32k/tm-umax.h, config/powerpc/tm-ppcle-eabi.h,
config/sh/tm-wince.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
doc/gdbint.texinfo: Replace LITTLE_ENDIAN with BFD_ENDIAN_LITTLE.
2001-12-15 Andrew Cagney <[email protected]>
* ui-out.c (struct ui_out_table): Add field entry_level.
(verify_field): New function.
(verify_field_proper_position): Delete function.
(verify_field_alignment): Delete function.
(ui_out_field_int): Update to use verify_field.
(ui_out_field_skip): Ditto.
(ui_out_field_string): Ditto.
(ui_out_field_fmt): Ditto.
(ui_out_table_begin): Initialize table.entry_level.
(ui_out_table_end): Clear table.entry_level.
(ui_out_begin): Call verify_field before pushing the new tuple or
list onto the stack. Use table.entry_level.
2001-12-14 Corinna Vinschen <[email protected]>
* config/djgpp/fnchange.lst: Add entries for opcodes/xstormy16-* files.
2001-12-13 Andrew Cagney <[email protected]>
* arch-utils.c (generic_register_virtual_size): Return TYPE_LENGTH
of register's type.
2001-12-13 Jackie Smith Cashion <[email protected]>
* cli/cli-script.c (print_command_lines): Remove extra
"if", "else", "while", and "end" from show user output.
2001-12-13 Kevin Buettner <[email protected]>
* i387-nat.c (i387_fill_fxsave): Change type of ``val'' from char
to short so that we don't memcpy() beyond the end of this buffer.
Also, change shift value used in computing val to account for the
fact that only eight bits are used.
2001-12-13 Corinna Vinschen <[email protected]>
* Makefile.in: Add support for xstormy16.
* configure.tgt: Ditto.
* xstormy16-tdep.c: New file.
* config/xstormy16/xstormy16.mt: New file.
2001-12-13 Andreas Schwab <[email protected]>
* MAINTAINERS (write-after-approval): Add myself.
2001-12-12 Jim Blandy <[email protected]>
* Makefile.in (c-exp.tab.o): Add missing dependencies.
* Makefile.in (c_lang_h): New variable. Use it in dependency
lists, instead of `c-lang.h' itself.
2001-12-11 Fred Fish <[email protected]>
* c-typeprint.c (c_type_print_base): Use type flags access macros
to test bits.
* ch-typeprint.c (chill_type_print_base): Ditto.
* ch-valprint.c (chill_val_print): Ditto.
* d10v-tdep.c (d10v_pointer_to_address): Ditto.
* dwarf2read.c (dwarf2_add_member_fn): Ditto.
* dwarfread.c (read_structure_scope): Ditto.
* gdbtypes.c (create_range_type): Dittol
(create_set_type): Ditto.
(check_typedef): Ditto.
* jv-typeprint.c (java_type_print_base): Ditto.
* p-typeprint.c (pascal_type_print_base): Ditto
* p-valprint.c (pascal_val_print): Ditto.
* stabsread.c (read_cfront_member_functions): Ditto.
(read_member_functions): Ditto.
(cleanup_undefined_types): Ditto.
* valprint.c (val_print): Ditto.
* valops.c (hand_function_call): Remove is_prototyped
variable and just use type flag test macro directly.
2001-12-11 Fred Fish <[email protected]>
* gdbtypes.c (print_bound_type): New function.
(recursive_dump_type): Print type struct code values
TYPE_CODE_BITSTRING, TYPE_CODE_COMPLEX, TYPE_CODE_TEMPLATE,
and TYPE_CODE_TEMPLATE_ARG.
(recursive_dump_type): Print type struct members
upper_bound_type, lower_bound_type, cv_type, and as_type.
Also always print the tagname member, even when it is NULL.
2001-12-11 Michael Snyder <[email protected]>
* d10v-tdep.c (d10v_register_virtual_size): Delete.
(d10v_gdbarch_init): Use generic_register_virtual_size.
* rs6000-tdep.c (rs6000_register_virtual_size): Delete.
(rs6000_gdbarch_init): Use generic_register_virtual_size.
* x86-64-tdep.c (x86_64_register_virtual_size): Delete.
(i386_gdbarch_init): Use generic_register_virtual_size.
2001-12-11 Andrew Cagney <[email protected]>
* values.c: Include "gdb_assert.h".
(value_fn_field): Rearange to avoid -Wuninitialized warning.
2001-12-10 Fred Fish <[email protected]>
* values.c (value_fn_field): Add physname variable. Use a minimal
symbol if we don't find a full symbol. Remove setting of the new
value's type since that was already done by allocate_value().
Remove obsolete commented out error call since callees need to
handle a NULL return, which is possible result not an error.
* eval.c (evaluate_subexp_standard): Move check for inlined
functions to precede attempt to dereference a NULL argvec[0].
2001-12-10 Fred Fish <[email protected]>
* arm-linux-tdep.c (skip_hurd_resolver): Use NULL rather than
zero in args to lookup_minimal_symbol.
* linespec.c (decode_line_1): Ditto.
* i386-linux-tdep.c (skip_hurd_resolver): Ditto.
* minsyms.c (find_stab_function_addr): Ditto.
* symfile.c (simple_read_overlay_table): Ditto.
(simple_read_overlay_region_table): Ditto.
2001-12-10 Michael Snyder <[email protected]>
* arch-utils.c (generic_register_virtual_size): New function.
* arch-utils.h: Export generic version of register_virtual_size.
* gdbarch.sh (REGISTER_VIRTUAL_SIZE): Use new function as default.
* gdbarch.c: Regenerate.
2001-12-09 Fred Fish <[email protected]>
* gdbtypes.c (TYPE_FLAG_UNSIGNED, TYPE_FLAG_STUB): Use
TYPE_UNSIGNED and TYPE_NOSIGN to determine when to print these
rather than testing the bits directly.
(TYPE_FLAG_NOSIGN, TYPE_FLAG_TARGET_STUB, TYPE_FLAG_STATIC,
TYPE_FLAG_CONST, TYPE_FLAG_VOLATILE, TYPE_FLAG_PROTOTYPED,
TYPE_FLAG_INCOMPLETE, TYPE_FLAG_CODE_SPACE, TYPE_FLAG_DATA_SPACE,
TYPE_FLAG_VARARGS): Test for and print these bits as well.
2001-12-09 Fred Fish <[email protected]>
* gdbtypes.c (build_gdbtypes): For builtin_type_char, pass
TYPE_FLAG_NOSIGN to init_type() rather than setting it after the
type is created.
2001-12-09 Fred Fish <[email protected]>
* gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_CONST,
TYPE_VOLATILE, TYPE_INCOMPLETE): Move macros that test the
bits to location in file where the bits are defined.
(TYPE_STUB, TYPE_TARGET_STUB, TYPE_STATIC, TYPE_PROTOTYPED,
TYPE_CODE_SPACE, TYPE_DATA_SPACE): New test macros.
2001-12-09 Fred Fish <[email protected]>
* gdbtypes.c (allocate_stub_method): Replace hand crafted type
initialization with call to the init_type() function.
2001-12-09 Andrew Cagney <[email protected]>
* arch-utils.c (generic_register_raw_size): New function.
* gdbarch.sh (REGISTER_RAW_SIZE): Use generic_register_raw_size as
the static default.
* gdbarch.c: Regenerate.
* arch-utils.h (generic_register_raw_size): Declare.
* config/mips/tm-mips.h (REGISTER_RAW_SIZE): Delete macro.
* mips-tdep.c (mips_register_raw_size): Make function static.
(mips_gdbarch_init): Initialize register_raw_size.
2001-12-08 Fred Fish <[email protected]>
* dwarf2read.c (read_typedef): Replace hand crafted type
initialization with a call to the init_type() function, which
is how the rest of gdb creates types.
2001-12-09 Fred Fish <[email protected]>
* mdebugread.c (cross_ref): Pass TYPE_FLAG_STUB to init_type()
rather than setting it after the type is created.
2001-12-09 Elena Zannoni <[email protected]>
* config/rs6000/tm-rs6000.h (STAB_REG_TO_REGNUM): Remove
definition, it is now multiarched.
* ppc-tdep.h (struct gdbarch_tdep): Move from rs6000-tdep.c. Add
fields for special register numbers.
* rs6000-tdep.c (rs6000_gdbarch_init): Initialize new tdep special
regnum fields.
(rs6000_saved_pc_after_call): Use gdbarch_tdep registers fields
instead of hardcoded macros.
(branch_dest, rs6000_pop_frame, rs6000_fix_call_dummy,
ppc_push_return_address, rs6000_frame_saved_pc,
frame_get_saved_regs, rs6000_frame_chain,
rs6000_store_return_value): Ditto.
(rs6000_stab_reg_to_regnum): New function.
* ppcnbsd-nat.c (fetch_inferior_registers,
store_inferior_registers, fetch_core_registers): Ditto.
* ppc-linux-tdep.c (ppc_linux_in_sigtramp,
ppc_linux_frame_init_saved_regs): Ditto.
* ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
fill_gregset): Ditto.
* ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
Ditto.
2001-12-08 Fred Fish <[email protected]>
* c-lang.c (c_create_fundamental_type): For FT_CHAR, pass
TYPE_FLAG_NOSIGN to init_type() rather than setting it after the
type is created.
2001-12-08 Fred Fish <[email protected]>
* dwarf2read.c (TYPE_FLAG_VARARGS): Remove from here.
* gdbtypes.h (TYPE_FLAG_VARARGS): Add here and change value to
not collide with other flag bits.
2001-12-08 Fred Fish <[email protected]>
* dwarf2read.c (read_base_type): Rename is_unsigned to type_flags.
For unsigned types set TYPE_FLAG_UNSIGNED and pass it to
init_type().
2001-12-08 Daniel Jacobowitz <[email protected]>
* Makefile.in (cp-valprint.o): Add dependency on $(cp_abi_h).
2001-12-08 Jim Blandy <[email protected]>
* config/s390/s390.mh: Don't use the linux-thread.o module;
thread-db.o, lin-lwp.o, and proc-service.o should work just fine.
2001-12-07 Andrew Cagney <[email protected]>
* PROBLEMS: New file.
* README: Move known problems to PROBLEMS file.
2001-12-07 Daniel Jacobowitz <[email protected]>
* stabsread.c (read_member_functions): Skip member functions which
are duplicates of the callable constructor/destructor.
2001-12-07 Jim Blandy <[email protected]>
* s390-tdep.c (s390_store_return_value): Don't convert float
values to double format when returning them; just return them in
the first half of the FP register, as the ABI specifies.
2001-12-07 Daniel Jacobowitz <[email protected]>
* valops.c (hand_function_call): Check for method arguments in
TYPE_ARG_TYPES(), not in TYPE_FIELD ().
2001-12-07 Daniel Jacobowitz <[email protected]>
* cp-valprint.c (cp_print_value): Preserve offset if
the virtual base is outside of this object.
2001-12-07 Daniel Jacobowitz <[email protected]>
* gdbtypes.c (finish_cv_type): New function.
(check_typedef): Remove ``register'' keyword from argument.
Preserve const and volatile attributes across filling in
opaque types.
* gdbtypes.h (finish_cv_type): Add prototype.
* hp-symtab-read.c (hpread_read_struct_type): Call finish_cv_type.
* stabsread.c (read_struct_type): Likewise.
* dwarf2read.c (read_structure_scope): Likewise. Remove redundant
assignment to die->type.
2001-12-07 Jim Blandy <[email protected]>
* printcmd.c (print_scalar_formatted): Compare the length of the
value against the lengths of the target's floating-point types,
not the host's. Add support for `long double'.
2001-12-07 Martin M. Hunt <[email protected]>
* configure.in: Check for sys/filio.h
* configure: Rebuild.
* config.in: Add HAVE_SYS_FILIO_H
* ser-tcp.c: Conditionally include sys/filio.h.
2001-12-07 Andrew Cagney <[email protected]>
* ui-out.c (ui_out_table_begin): Initialize body_flag.
(struct ui_out_table): New structure. Move table fields to here.
Rename headercurr to headernext.
(struct ui_out): Remove table specific fields. Add field table.
(ui_out_table_begin, ui_out_table_body, ui_out_table_end): Update.
(ui_out_table_header, ui_out_begin): Update.
(verify_field_proper_position, verify_field_alignment): Update.
(ui_out_new, clear_header_list, append_header_to_list): Update.
(get_next_header): Rename get_curr_header. Update comments and
code.
2001-12-06 Andrew Cagney <[email protected]>
* regcache.c (XCALLOC): Delete macro that should not have been
added.
2001-12-07 Jiri Smid <[email protected]>
* dwarf2cfi.c: New file.
* dwarf2cfi.h: New file.
* dwarf2read.c (dwarf_frame_offset, dwarf_frame_size): New variables.
(dwarf_eh_frame_offset, dwarf_eh_frame_size): New variables.
(dwarf2_read_section): Change to non static.
(dwarf2_locate_sections): Add .debug_frame and .eh_frame section
recognition.
(FRAME_SECTION, EH_FRAME_SECTION): New define.
* elfread.c (elf_symfile_read): Add call of frame informations build.
* frame.h (frame_info): Add pointer to unwind_context.
* symfile.h (dwarf2_build_frame_info): Add declaration.
* gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Add.
* gdbarch.h, gdbarch.c: Regenerate.
* Makefile.in: Add dwarf2cfi_h, dwarf2cfi.o
* x86-64-tdep.c (i386_gdbarch_init): Initialize target vector to
use debug frame info.
2001-12-06 Andrew Cagney <[email protected]>
* defs.h: Do not include "mmalloc.h".
(mcalloc, mmalloc, mrealloc, mfree): Delete declaration.
* objfiles.c: Include "mmalloc.h".
* utils.c: Include "mmalloc.h".
(mmalloc, mfree, mrealloc, mmalloc): Make static, change PTR to
void pointer.
2001-12-06 Andrew Cagney <[email protected]>
* regcache.c (store_register, fetch_register): Only use
fetch/store pseudo-register when function is present. Assume
target can handle all registers.
(registers_changed): Simplify invalidate loop.
(registers_fetched): Add comments.
(register_buffer): Add regnum range assertion. Remove code
handling -ve regnum.
(build_regcache): Make space for pseudo-registers when computing
sizeof_registers. Initialize register_offset.
* gdbarch.sh (FETCH_PSEUDO_REGISTER): Change to a function with
predicate.
(STORE_PSEUDO_REGISTER): Ditto.
* gdbarch.h, gdbarch.c: Re-generate.
2001-12-06 Jim Blandy <[email protected]>
* config/s390/nm-linux.h: Watchpoints are either continuable or
steppable, not both. The S/390 has continuable watchpoints, so
delete the #definition of HAVE_STEPPABLE_WATCHPOINT.
2001-12-04 Pierre Muller <[email protected]>
* go32-nat.c (go32_fetch_registers): Remove call to register_buffer
(which is now a static function in regcache.c)
and use regcache_collect instead.
2001-12-05 Andrew Cagney <[email protected]>
* target.c (cleanup_target): Do not initialize to_query to
return_zero.
2001-12-05 Jim Blandy <[email protected]>
* s390-tdep.c (s390_get_frame_info): Recognize argument register
spills that use the `stm' instruction.
(is_arg_reg): New function.
2001-12-03 Keith Walker <[email protected]>
* gdbserver/low-linux.c (arm_register_u_addr): Added.
(initialize_arch): Added for ARM target.
* config/arm/nm-linux.h (U_REGS_OFFSET): Defined.
(REGISTER_U_ADDR): Defined.
* config/arm/tm-linux.h (ARM_GNULINUX_TARGET): Defined.
2001-12-04 Corinna Vinschen <[email protected]>
* arm-tdep.c (arm_skip_prologue): Always skip prologue by scanning
the prologue if source is assembler.
2001-12-04 Jackie Smith Cashion <[email protected]>
* MAINTAINERS (write-after-approval): Add self.
* d10v-tdep.c (d10v_gdbarch_init): Change size of long long to 8 bytes.
From Andrew Cagney <[email protected]>:
* d10v-tdep.c (d10v_frame_chain_valid): Check if the caller's PC
is in the entry function.
(d10v_use_struct_convention): Store multi-field struct and union
return values on the stack.
2001-12-04 Jim Blandy <[email protected]>
* s390-tdep.c (s390_get_frame_info): Recognize spills of reg
arguments into their stack slots.
* s390-tdep.c (s390_get_frame_info): More doc fixes.
* s390-tdep.c (s390_get_frame_info): Doc fixes.
2001-12-04 Orjan Friberg <[email protected]>
* cris-tdep.c (cris_regnums): Add DCCR_REGNUM for completeness.
(cris_examine): Add comment about solib prologue parsing.
(bdap_prefix): Read offset with correct signedness and size.
(move_to_preg_op): Don't rely on register numbering for register size.
(none_reg_mode_move_from_preg_op): Ditto.
2001-12-04 Orjan Friberg <[email protected]>
* solib.c (solib_open): Make path relative if search for absolute path
failed. If search for relative path in solib_search_path failed, fall
back to search for basename only.
2001-12-03 Martin M. Hunt <[email protected]>
* serial.h: Add a note to serial_open.
* ser-tcp.c (tcp_open): Rewrite to use a non-blocking connect.
Allow UI and CLI to abort connect. Instead of trying 15 times
with very long timeouts, just try one connect with a maximum timeout
of 15 seconds.
2001-12-03 Kevin Buettner <[email protected]>
* config/powerpc/tm-macos.h (solib.h): Include.
* config/powerpc/tm-ppc-eabi.h (solib.h): Include.
2001-12-03 Michael Snyder <[email protected]>
* symtab.c (search_symbols): Make sure alloca size is big enough.
2001-12-03 Andrew Cagney <[email protected]>
* MAINTAINERS: Prune m68k targets down to just m68k-elf.
2001-12-03 Jim Blandy <[email protected]>
* s390-tdep.c (s390_get_frame_info): Don't used fextra_info to set
orig_sp if it's not initialized.
2001-11-30 Pierre Muller <[email protected]>
* findvar.c (locate_var_value): Specify in which register a register
variable is stored.
2001-11-30 Pierre Muller <[email protected]>
* win32-nat.c (mappings): Correct position of XMM registers,
based on FXSAVE instruction structure.
2001-12-02 Andrew Cagney <[email protected]>
* jv-lang.c (get_java_class_symtab): Use xmmalloc instead of
mmalloc.
* coffread.c, dbxread.c, elfread.c, hp-psymtab-read.c, hpread.c,
nlmread.c, objfiles.c, os9kread.c, somread.c, source.c, symfile.c,
symmisc.c, xcoffread.c: Use xmfree instead of mfree.
* jv-lang.c (add_class_symtab_symbol): Use xmrealloc instead of
mrealloc.
2001-12-02 Andrew Cagney <[email protected]>
* i386-tdep.c (i386go32_frame_saved_pc): New function.
* config/i386/tm-go32.h (i386go32_frame_saved_pc): Declare.
(FRAME_SAVED_PC): Redefine to i386go32_frame_saved_pc.
2001-12-01 Andrew Cagney <[email protected]>
* defs.h: Update comment on HOST_BYTE_ORDER.
* config/xm-aix4.h: Delete definition of HOST_BYTE_ORDER.
* config/xm-nbsd.h, config/alpha/xm-alphalinux.h: Ditto.
* config/alpha/xm-alphaosf.h, config/alpha/xm-fbsd.h: Ditto.
* config/arm/xm-linux.h, config/i386/xm-cygwin.h: Ditto.
* config/i386/xm-i386bsd.h, config/i386/xm-i386gnu.h: Ditto.
* config/i386/xm-i386lynx.h, config/i386/xm-i386m3.h: Ditto.
* config/i386/xm-i386mach.h, config/i386/xm-i386v.h: Ditto.
* config/i386/xm-ptx.h, config/i386/xm-symmetry.h: Ditto.
* config/ia64/xm-aix.h, config/ia64/xm-linux.h: Ditto.
* config/m68k/xm-3b1.h, config/m68k/xm-apollo68b.h: Ditto.
* config/m68k/xm-apollo68v.h, config/m68k/xm-delta68.h: Ditto.
* config/m68k/xm-dpx2.h, config/m68k/xm-hp300bsd.h: Ditto.
* config/m68k/xm-hp300hpux.h, config/m68k/xm-m68k.h: Ditto.
* config/m68k/xm-m68klynx.h, config/m68k/xm-sun2.h: Ditto.
* config/m68k/xm-sun3.h, config/m88k/xm-dgux.h: Ditto.
* config/m88k/xm-m88k.h, config/mips/xm-irix3.h: Ditto.
* config/mips/xm-irix5.h, config/mips/xm-linux.h: Ditto.
* config/mips/xm-mips.h, config/mips/xm-mipsm3.h: Ditto.
* config/mips/xm-mipsv4.h, config/mips/xm-news-mips.h: Ditto.
* config/mips/xm-riscos.h, config/pa/xm-hppab.h: Ditto.
* config/pa/xm-hppah.h, config/powerpc/xm-linux.h: Ditto.
* config/romp/xm-rtbsd.h, config/rs6000/xm-rs6000.h: Ditto.
* config/rs6000/xm-rs6000ly.h, config/s390/xm-linux.h: Ditto.
* config/sparc/xm-sparc.h, config/sparc/xm-sparclynx.h: Ditto.
* config/vax/xm-vax.h: Ditto.
* config/a29k/tm-vx29k.h: Add #error as file depends on
HOST_BYTE_ORDER.
* config/a29k/tm-a29k.h: Ditto.
* MAINTAINERS (a29k-amd-udi): Document as broken.
2001-12-01 Andrew Cagney <[email protected]>
* Makefile.in (tm-news.h, tm-isi.h, xm-news1000.h): Delete.
(ALLDEPFILES): Delete news-xdep.c.
(news-xdep.o): Delete.
(isi-xdep.o): Delete.
* configure.tgt: Delete m68*-isi-*, m68*-sony-*, m68*-rom68k-*,
m68*-*bug-*, m68*-monitor-* and m68*-est-* targets.
* configure.host: Delete m68030-sony-*, m68*-isi-* and m68*-sony-*
Hosts.
* m68k-tdep.c (isi_skip_prologue): Delete function.
* news-xdep.c: Delete file.
* isi-xdep.c: Delete file.
* config/m68k/isi.mh: Delete file.
* config/m68k/isi.mt: Delete file.
* config/m68k/news.mh: Delete file.
* config/m68k/news.mt: Delete file.
* config/m68k/news1000.mh: Delete file.
* config/m68k/nm-news.h: Delete file.
* config/m68k/tm-isi.h: Delete file.
* config/m68k/tm-news.h: Delete file.
* config/m68k/xm-isi.h: Delete file.
* config/m68k/xm-news.h: Delete file.
* config/m68k/xm-news1000.h: Delete file.
* kdb-start.c: Delete file.
* stuff.c: Delete file.
* NEWS: Note that a29k-nyu-sym1 and a29k-*-kern* were deleted.
* configure.host: Delete a29k-*-* host.
* configure.tgt: Delete a29k-*-kern* and a29k-*-sym1* targets.
* config/a29k/a29k-kern.mt: Delete file.
* config/a29k/nm-ultra3.h: Delete file.
* config/a29k/tm-ultra3.h: Delete file.
* config/a29k/ultra3.mh: Delete file.
* config/a29k/ultra3.mt: Delete file.
* config/a29k/xm-ultra3.h: Delete file.
* NEWS: Note that i[3456]86-*-sunos* was deleted.
* Makefile.in (sun386-nat.o): Delete.
* configure.tgt: Delete i[3456]86-*-sunos* target.
* configure.host: Delete i[3456]86-*-sunos* host.
* sun386-nat.c: Delete.file.
* config/i386/nm-sun386.h: Delete file.
* config/i386/sun386.mh: Delete file.
* config/i386/sun386.mt: Delete file.
* config/i386/tm-sun386.h: Delete file.
* config/i386/xm-sun386.h: Delete file.
* NEWS: Note that ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv*
and ns32k-utek-* were deleted.
* Makefile.in (ultra3-nat.o, ultra3-xdep.o): Delete.
(umax-xdep.o, ns32km3-nat.o): Delete.
* configure.tgt: Delete ns32k-*-mach3*, ns32k-utek-sysv* and
ns32k-utek-* targets.
* configure.host: Delete ns32k-*-mach3*, ns32k-umax-* and
ns32k-utek-sysv* hosts.
* ultra3-nat.c: Delete file.
* ultra3-xdep.c: Delete file.
* umax-xdep.o: Delete file.
* ns32km3-nat: Delete file.
* config/ns32k/merlin.mh: Delete file.
* config/ns32k/merlin.mt: Delete file.
* config/ns32k/nm-umax.h: Delete file.
* config/ns32k/ns32km3.mh: Delete file.
* config/ns32k/ns32km3.mt: Delete file.
* config/ns32k/tm-merlin.h: Delete file.
* config/ns32k/tm-ns32km3.h: Delete file.
* config/ns32k/umax.mh: Delete file.
* config/ns32k/umax.mt: Delete file.
* config/ns32k/xm-merlin.h: Delete file.
* config/ns32k/xm-ns32km3.h: Delete file.
* config/ns32k/xm-umax.h: Delete file.
* NEWS: Note that m88*-harris-cxux* was deleted.
* configure.host: Delete m88*-harris-cxux* host.
* configure.tgt: Delete m88*-harris-cxux* target.
* config/m88k/cxux.mh: Delete file.
* config/m88k/cxux.mt: Delete file.
* config/m88k/nm-cxux.h: Delete file.
* config/m88k/tm-cxux.h: Delete file.
* config/m88k/xm-cxux.h: Delete file.
* NEWS: Note that powerpc-*-netware*, powerpcle-*-cygwin* and
powerpcle-*-solaris* were deleted.
* configure.host: Delete powerpcle-*-cygwin* and
powerpcle-*-solaris* hosts.
* configure.tgt: Delete powerpc-*-netware*, powerpcle-*-cygwin*