forked from gbenson/binutils-gdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog-1997
2909 lines (2210 loc) · 115 KB
/
ChangeLog-1997
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
Wed Dec 31 11:43:53 1997 Mark Alexander <[email protected]>
* dsrec.c (load_srec): Check remotedebug flag when printing
debug info.
Wed Dec 31 10:33:15 1997 David Taylor <[email protected]>
* breakpoint.c (breakpoint_re_set): add _siglongjmp to list of
longjmp breakpoints.
Mon Dec 29 21:25:34 1997 Mark Alexander <[email protected]>
* dve3900-rom.c: New file to support Densan DVE-R3900/20 board.
* monitor.c (monitor_debug): Move to utils.c, rename to puts_debug.
(monitor_write_memory, monitor_read_memory, monitor_insert_breakpoint,
monitor_remove_breakpoint): Remove useless address bits if current
monitor has MO_ADDR_BITS_REMOVE flag.
* monitor.h (MO_ADDR_BITS_REMOVE): Define.
* utils.c (puts_debug): Formerly monitor_debug from monitor.c;
move here and make public. Add better support for carriage returns.
* defs.h (puts_debug): Declare.
* dsrec.c (load_srec): Use puts_debug to print remotedebug information.
Output header record correctly.
(make_srec): Output a header record instead of a termination record
if sect is non-NULL (value is ignored), but abfd is NULL.
* config/mips/tm-tx39.h (DEFAULT_MIPS_TYPE): Remove definition.
(REGISTER_NAMES): Define to add R3900-specific registers.
* config/mips/tm-tx39l.h: Ditto.
* config/mips/tx39.mt (TDEPFILES): Add dve3900-rom.o and support files.
* config/mips/tx39l.mt: Ditto.
Wed Dec 24 12:48:48 1997 Stan Shebs <[email protected]>
* dsrec.c: Cosmetic improvements.
(make-srec): Change indexing of format and code tables to
remove confusing empty entries.
Mon Dec 22 21:51:53 1997 Mark Alexander <[email protected]>
* remote-mips.c (_initialize_remote_mips): Fix DDB doc string.
Sun Dec 21 17:00:06 1997 David Taylor <[email protected]>
* d30v-tdep.c (d30v_frame_find_saved_regs): split most of
function off into d30v_frame_find_saved_regs_offsets;
(d30v_frame_find_saved_regs_offsets): new function. Got
backtrace working when calling from framefull (unoptimized)
routines (.e.g, main) into frameless (optimized) routines
(e.g., printf).
Fri Dec 19 09:49:49 1997 David Taylor <[email protected]>
* d30v-tdep.c (d30v_frame_chain): test end_of_stack
(d30v_frame_find_saved_regs): set it.
* config/d30v/tm-d30v.h: improved FRAME_CHAIN_VALID
Thu Dec 18 12:34:28 1997 Andrew Cagney <[email protected]>
From Gavin Koch <[email protected]>: mips-tdep.c
* (mips_push_arguments): For big-endian shorts and char's store at
* the correct location.
Thu Dec 18 00:26:46 1997 Andrew Cagney <[email protected]>
* mdebugread.c (parse_partial_symbols): Delete check that symbols
for file not already loaded. Did not work when an include file
was involved.
Wed Dec 17 10:43:04 1997 Andrew Cagney <[email protected]>
* elfread.c (elf_symfile_read): Since the partial symbol table is
searched last in first, insert mdebug or XCOFF info into the
partial symbol table before any DWARF2 info.
Thu Dec 18 00:00:48 1997 Andrew Cagney <[email protected]>
* symfile.c (init_psymbol_list): Handle init with zero elements.
* elfread.c (elf_symfile_read): If `mainline', clear psymbol table
using init_psymbol_list 0. For build_psymtabs functions, pass
mainline==0 so that psymbol_list isn't re-initialized.
* symfile.c (discard_psymtab): New function, correctly unlink an
empty psymtab from an object file.
* dbxread.c (end_psymtab): Call discard_psymtab.
* xcoffread.c (xcoff_end_psymtab): Ditto.
* hpread.c (hpread_end_psymtab): Ditto.
* os9kread.c (os9k_end_psymtab): Ditto.
Wed Dec 17 10:47:05 1997 Michael Snyder ([email protected])
* tracepoint.c (set_raw_tracepoint): initialize addr_string
to NULL; (trace_actions_command): call readline_begin_hook only
if from_tty is true.
Tue Dec 16 20:05:48 1997 Mark Alexander <[email protected]>
* configure.tgt: Change little-endian tx39 target name to tx39l.
Tue Dec 16 11:24:30 1997 Jeffrey A Law ([email protected])
* remote-sim.c (gdbsim_open): Use "--architecture" instead of
ambigious short form.
Tue Dec 16 10:29:16 1997 David Taylor <[email protected]>
* d30v-tdep.c (d30v_frame_chain): don't or in DMEM_START to
FP_REGNUM value before return; (prologue_find_regs): two sets
of offsets -- frame pointer and stack pointer, not just one that
tries to do double duty; (d30v_frame_find_saved_regs): stop once
we hit pc (in case we're stopped in the middle of the prologue)
and improve handling of frameless prologues; (d30v_push_arguments):
*ALL* arguments go on the stack until we run out of args registers,
force sp to be 8 byte aligned.
* config/tm-d30v.h (EXTRACT_STRUCT_VALUE_ADDRESS): fix, it's r2,
not r0; (FRAME_CHAIN_VALID): handle use of external memory;
(STACK_ALIGN): define.
Mon Dec 15 15:13:57 1997 Andrew Cagney <[email protected]>
* remote-sim.c (gdbsim_wait): When HAVE_SIGACTION and SA_RESTART
intall cntrl-c handler with SA_RESTART clear. On BSD systems this
stops read syscalls's being restarted.
* configure.in (configdirs): Check for sigaction.
* configure: Re-generate.
Mon Dec 15 11:38:52 1997 Andrew Cagney <[email protected]>
* dwarf2read.c: From change proposed by Gavin Koch.
(address_significant_size): New static variable.
(dwarf2_build_psymtabs_hard): Check consistency between
`address_size' and `address_significant_size'.
(read_address): MASK out all but the significant bits, as
determined by `address_significant_size', of any addresses.
(elf-bfd.h): Include.
(dwarf2_build_psymtabs_hard): Set `address_significant_size'
according to the arch_size of the elf object file.
Thu Dec 11 13:40:46 1997 Andrew Cagney <[email protected]>
* dwarf2read.c (dwarf_decode_lines): Change type of address to
CORE_ADDR.
Thu Dec 11 22:39:02 1997 Mark Alexander <[email protected]>
From change made to branch by Bob Manson <[email protected]>:
* tic80-tdep.c (tic80_push_arguments): The compiler always
passes structs by reference.
Thu Dec 11 14:28:01 1997 Michael Snyder ([email protected])
* tracepoint.c (trace_find_command): don't error if going
backwards thru the trace buffer in a loop.
* (struct tracepoint): delete unused field.
Wed Dec 10 17:57:00 1997 David Taylor <[email protected]>
* d30v-tdep.c : don't bury lots of magic numbers in the code
instead use defines for the opcodes and opcode masks; update
to use actual d30v patterns; fix register sizes to be 4 bytes
not 2 bytes; improve prologue testing now that we have a C
compiler; fix stack frame handling enough to get backtraces
working; initial changes to push and pop frames (so that gdb
can call functions in the inferior).
* config/d30v/tm-d30v.h: update DMEM_START, IMEM_START, and
STACK_START; change FR_REGNUM to 61 (was 11). Reformat comment
about DUMMY FRAMES so that it is readable. Fix SAVED_PC_AFTER_FRAME
macro.
Wed Dec 10 17:41:07 1997 Jim Blandy <[email protected]>
* ch-valprint.c (chill_val_print): To avoid segfaults, don't print
a string whose dynamic length is longer than its static length.
Wed Dec 10 15:54:00 1997 Andrew Cagney <[email protected]>
* dwarf2read.c (dwarf2_build_psymtabs_hard): Check
cu_header.length is within dwarf_info_buffer not
dwarf_abbrev_buffer.
Mon Dec 8 14:28:49 1997 Michael Snyder ([email protected])
* tracepoint.c (memrange_sortmerge): allow for memranges
that overlap. (collect_pseudocommand etc.) cleanup decls.
Fri Dec 5 09:22:35 1997 Nick Clifton <[email protected]>
* config/v850/tm-v850.h (BREAKPOINT): Reverted back to old value...
Thu Dec 4 09:30:22 1997 Nick Clifton <[email protected]>
* config/v850/tm-v850.h (BREAKPOINT): Changed to match new value.
Wed Dec 3 12:44:15 1997 Keith Seitz <[email protected]>
* tracepoint.c: Add declaration for x_command.
* printcmd.c (x_command): Remove static declaration.
Wed Dec 3 12:00:42 1997 Michael Snyder ([email protected])
* tracepoint.c (finish_tfind_command): call do_display so that
auto-displays are updated by tfind. Also, keep track of frame
and current-function so that tfind behaves like stepping (only
show the stack frame if we step into a new function or return).
Wed Dec 3 14:14:58 1997 David Taylor <[email protected]>
* sol-thread.c: additional support for debugging threaded core
files on solaris; previously only kernel threads were found --
user threads generated errors.
* corelow.c: don't register core_ops as a target if
coreops_suppress_target is true (set by sol-thread.c).
Tue Dec 2 14:53:09 1997 Michael Snyder ([email protected])
* tracepoint.c: make "tdump" command handle literal memranges.
Tue Dec 2 11:34:48 1997 Michael Snyder ([email protected])
* tracepoint.c: use "lookup_cmd" to parse actions commands
(thus allowing unambiguous prefixes and aliases).
Tue Dec 2 10:15:57 1997 Nick Clifton <[email protected]>
* configure.tgt: Add support for Thumb target.
Tue Dec 2 10:14:15 1997 Michael Snyder ([email protected])
* tracepoint.c: move prototype of validate_actionline(), and
make it consistent with the function declaration.
Thu Nov 27 09:07:18 1997 Michael Meissner <[email protected]>
* Makefile.in (tracepoint_h): New macro for tracepoint.h
includes.
(tracepoint.o): Add rule to build.
Wed Nov 26 22:59:04 1997 Jeffrey A Law ([email protected])
* remote-sim.c (gdbsim_cntrl_c): Lose ANSI prototype.
* tracepoint.c (set_raw_tracepoint): fix typo
Wed Nov 26 11:33:09 1997 Keith Seitz <[email protected]>
* tracepoint.c (set_raw_tracepoint): Make sure there's a trailing
slash on the directory name.
* top.c (get_prompt): New function.
* top.h: Declare it.
Wed Nov 26 09:59:47 1997 Andrew Cagney <[email protected]>
* dwarf2read.c (struct comp_unit_head): Change length and
abbrev_offset fields to unsigned int.
(dwarf2_build_psymtabs_hard): Verify length and offset read from
.debug_info section.
Mon Nov 24 19:36:34 1997 Michael Snyder ([email protected])
* tracepoint.c, tracepoint.h: new module, implements tracing,
which is a new functionality somewhat like breakpoints except
that a tracepoint stops the inferior only long enough to collect
and cache selected buffers and memory locations, then allows
the inferior to continue; the cached trace data can then be
examined later.
Mon Nov 24 14:17:02 1997 Michael Snyder ([email protected])
* infcmd.c: export registers_info, for use by other modules.
* printcmd.c: export output_command, for use by other modules.
* stack.c: export locals_info and args_info, for use by other modules.
* remote.c: export getpkt, putpkt, and fromhex for external use.
Make fromhex case-insensative. New function "remote_console_output"
abstracts the acceptance of "O" packets from target.
Make all "remotedebug" output go to stdout, not stderr.
Mon Nov 24 08:59:28 1997 Andrew Cagney <[email protected]>
* valprint.c (print_longest): When CC has long long but printf
doesn't, print decimal value as three parts.
* config/i386/tm-fbsd.h: New file.
* config/i386/fbsd.mt (TM_FILE): Change to tm-fbsd.h.
* config/i386/nm-fbsd.h (FLOAT_INFO): Move definition from here.
* config/i386/tm-fbsd.h (FLOAT_INFO): To here.
* configure.in (PRINTF_HAS_LONG_LONG): Check full functionality of
%ll format specifier.
(SCANF_HAS_LONG_DOUBLE): Check the scanf family for support of
long double using %Lg.
* acconfig.h: Provide default undef for SCANF_HAS_LONG_DOUBLE.
* configure: Re-generate.
* c-exp.y (parse_number): Use sscanf %Lg when host has
SCANF_HAS_LONG_DOUBLE not PRINTF_HAS_LONG_DOUBLE
Sun Nov 23 17:12:58 1997 Andrew Cagney <[email protected]>
* printcmd.c (print_insn): Set the machine type if known.
* i386-tdep.c (_initialize_i386_tdep): Delete "set
assembly-language" command. Replaced by generic "set
architecture". Set initial machine using bfd_lookup_arch.
Fri Nov 21 19:43:23 1997 Jim Blandy <[email protected]>
* valops.c (call_function_by_hand): If the function has a
prototype, convert its arguments as if by assignment. Otherwise,
do the usual promotions.
* stabsread.c (define_symbol): Set the TYPE_FLAG_PROTOTYPED flag
on functions' types when we can; all C++ functions should get it,
and if the Sun-style prototype notation is in the stabs, we can
notice that.
Fri Nov 21 12:20:16 1997 Ian Lance Taylor <[email protected]>
* aclocal.m4 (AM_CYGWIN32, AM_EXEEXT): Remove. They are already
defined by the inclusion of ../bfd/aclocal.m4.
* configure: Rebuild.
Fri Nov 21 10:52:39 1997 Michael Meissner <[email protected]>
* Makefile.in (SHELL): Really do the change.
Fri Nov 21 02:19:57 1997 Geoffrey Noer <[email protected]>
* Makefile.in: also revert SHELL change until configury
changes work
Thu Nov 20 16:35:13 1997 Doug Evans <[email protected]>
* sparc-tdep.c (sparc_pc_adjust): Don't assume sizeof (long) == 4.
Thu Nov 20 04:11:27 1997 Geoffrey Noer <[email protected]>
* aclocal.m4: add EXEEXT setting rule
* configure.in: call it
* configure: regenerate
* Makefile.in: pepper with EXEEXTs in appropriate places,
set SHELL = @SHELL@ for those lame hosts that don't have a /bin/sh
For some reason, EXEEXT isn't getting substututed in correctly
so for now, set EXEEXT to empty string
Mon Nov 17 15:35:06 1997 Doug Evans <[email protected]>
* Makefile.in (remote-sim.o): Depend on $(INCLUDE_DIR)/callback.h.
Fri Nov 14 13:04:34 1997 Jeffrey A Law ([email protected])
* jv-exp.y (copy_exp, insert_exp): Avoid ANSI prototypes.
Thu Nov 13 09:47:35 1997 Michael Meissner <[email protected]>
* d30v-tdep.c (d30v_print_flags): Function to print the d30v flags
in a human readable format.
(print_flags_command): Command wrapper to call d30v_print_flags.
(d30v_do_registers_info): When printing out all of the registers,
print out the flag values in a human readable fashion.
(_initialize_d30v_tdep): Add info flags command to print the
flags.
* config/d30v/tm-d30v.h (PSW_*): Add macros for each of the PSW
bits that are defined.
Wed Nov 12 14:58:39 1997 Jeff Holcomb <[email protected]>
* symfile.c (generic_load): Handle cancel from the
ui_load_progress_hook routine.
* dsrec.c (load_srec): Handle cancel from the
ui_load_progress_hook routine.
Mon Nov 10 15:13:13 1997 Ian Lance Taylor <[email protected]>
* valprint.c (print_longest): The b, h, w, and g format specifiers
print unsigned values.
Mon Nov 10 02:02:49 1997 Martin M. Hunt <[email protected]>
* top.c (quit_confirm): Change exit message.
Tue Nov 4 16:52:50 1997 Geoffrey Noer <[email protected]>
* config/i386/cygwin32.mh: because cygwin.dll calls malloc/realloc
to allocate memory for environ space, gdb cannot use memory
checks -- set -DNO_MMCHECK
Tue Nov 4 13:50:59 1997 Jim Blandy <[email protected]>
* jv-exp.y (ArrayAccess): Implement Name [ Expression ]; check the
code to see why this is not trivial.
(copy_exp, insert_exp): New functions.
Fri Oct 24 17:24:00 1997 Dawn Perchik <[email protected]>
* dwarf2read.c (dwarf2_build_psymtabs_hard): Handle the case
where a compilation unit die has no children (DW_TAG_compile_unit
has DW_children_no).
(scan_partial_symbols): Add comment for nesting_level.
Wed Oct 29 15:53:24 1997 David Taylor <[email protected]>
* solib.c (solib_break_names): add entry for Solaris 2.6 run
time linker. From Casper Dik via Peter Schauer.
Tue Oct 28 17:31:47 1997 Martin M. Hunt <[email protected]>
* configure.in (configdir): Add -lcomdlg32 and -ladvapi32
to WIN32LIBS.
* configure: Rebuild
Fri Oct 24 16:48:21 1997 David Taylor <[email protected]>
* sol-thread.c (sol_find_new_threads_callback,
sol_find_new_threads): New functions.
* config/sparc/nm-sun4sol2.h (FIND_NEW_THREADS): New macro, invoke
sol_find_new_threads.
* thread.c (info_threads_command): invoke FIND_NEW_THREADS if it
is defined.
Thu Oct 23 16:16:04 1997 Jeff Law ([email protected])
* dbxread.c (process_one_symbol): Put back initialization
of a variable lost during last change. Don't perform
assignment inside conditionals.
* stabsread.c (symbol_reference_defined): Return -1 for error/not
found. All callers changed appropriately.
(define_symbol): Don't perform assignment inside conditionals.
Wed Oct 22 13:04:52 1997 Jeffrey A Law ([email protected])
* mdebugread.c (psymtab_to_symtab_1): Handle new live range stabs
entries.
* dbxread.c: More comment cleanups.
* stabsread.c: Fix various violations of the GNU coding and
formatting standards. Update/add comments to make code clearer.
(resolve_reference): Delete unused function.
(ref_search_val): Remove function. It didn't belong in stabsread.c
(resolve_live_range): No longer returns a value. Do not add it
to the live range list until the entire range stab has been parsed.
(get_substring): Remove duplicate declaration.
(resolve_symbol_reference): Now static. Remove unnecessary code
to deal with cleanups.
(ref_add): Use xrealloc instea of realloc.
(process_reference): Reorganize slightly to make clearer.
* stabsread.h (resolve_symbol_reference): Remove declaration.
(resolve_reference): Likewise.
* symtab.c (find_active_alias): New function.
(lookup_block_symbol): Use find_active_alias.
* symtab.h (struct range_list): Fix dangling struct live_range
reference.
(ref_search_val): Remove decl.
* symtab.h (struct range_list): Renamed from struct live_range.
(struct symbol): Remove struct live_range_info substruct.
Bring the alias list and range list fields up to the toplevel
as "aliases" and "ranges".
(SYMBOL_ALIASES, SYMBOL_RANGES): Corresponding changes.
(SYMBOL_RANGE_START, SYMBOL_RANGE_END, SYMBOL_RANGE_NEXT): Delete.
* stabsread.c: Corresponding changes.
* dbxread.c: Fix various violations of the GNU coding and
formatting standards. Update/add comments to make code
clearer.
(process_later): Use xrealloc instead of realloc.
* symtab.c: Include inferior.h.
Tue Oct 21 14:15:26 1997 Per Bothner <[email protected]>
* ch-exp.c: Rename FIELD_NAME to DOT_FIELD_NAME (to avoid conflict).
Fri Oct 17 13:22:02 1997 Stan Shebs <[email protected]>
* infcmd.c: Improve grammar of "set args" help.
Thu Oct 16 15:03:58 1997 Michael Meissner <[email protected]>
* remote-sds.c (sds_load): Properly declare as static.
Wed Oct 15 10:27:14 1997 Doug Evans <[email protected]>
* config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Mask off displacement
to 30 bits in call insn to handle --enable-64-bit-bfd.
(STORE_STRUCT_RETURN): Change to handle --enable-64-bit-bfd.
Tue Oct 14 22:13:27 1997 Dawn Perchik <[email protected]>
* stabsread.c: Make ref_map entries dynamically allocated.
Thu Oct 9 12:37:57 1997 Frank Ch. Eigler <[email protected]>
* printcmd.c (print_address_symbolic, address_info): Mask
target-specific flag bits from PC, for more aesthetic disassembly.
* config/mips/tm-mips.h: Added PC masking for MIPS family
(especially the MIPS16).
Sat Oct 4 18:45:44 1997 Mark Alexander <[email protected]>
* remote-mips.c (mips-initialize): Work around flakiness in
some versions of PMON after loading a program.
Fri Oct 3 15:49:18 1997 Per Bothner <[email protected]>
* c-lang.h, cp-valprint.c (static_field_print): Make non-static.
* parse.c, parser-defs.h (length_of_subexp): Make non-static.
* jv-exp.y (FieldAccess): Handle dollar-VARIABLE as primary.
(ArrayAccess): Likewise. Also remove warnings.
(CastExpression): Implement (typename) UnaryExpression.
(push_qualified_expression_name): Fix small bug.
* jv-lang.c: Use TYPE_TAG_NAME, not TYPE_NAME for class names.
(_initialize_jave_language): Fix typo (jave -> java).
(java_language): Java does *not* have C-style arrays.
(java_class_from_object): Make more general (and complicated).
(java_link_class_type): Fix typo "super" -> "class". Handle arrays.
(java_emit_char, java_printchar): New function.
(evaluate_subexp_java case BINOP_SUBSCRIPT): Handle Java arrays.
* jv-valprint.c (java_value_print): Implement printing of Java arrays.
(java_print_value_fields): New function.
(java_val_print): Better printing of TYPE_CODE_CHAR, TYPE_CODE_STRUCT.
Fri Oct 3 09:52:26 1997 Mark Alexander <[email protected]>
* config/mips/tm-mips.h (MAKE_MSYMBOL_SPECIAL): Force MIPS16
addresses to be odd.
(MIPS_FPU_SINGLE_REGSIZE, MIPS_FPU_DOUBLE_REGSIZE): Define.
* mips-tdep.c (mips_extract_return_value): Doubles aren't
returned in FP0 if FP registers are single-precision only.
Mon Sep 29 23:03:03 1997 Mark Alexander <[email protected]>
* mips-tdep.c (set_reg_offset): New function.
(mips16_heuristic_proc_desc): Calculate offsets of registers
saved by entry pseudo-op after rest of prologue has been read.
Use set_reg_offset to ignore all but the first save of a given
register.
(mips32_heuristic_proc_desc): Initialize frame adjustment value.
* remote-sim.c (gdbsim_store_register): Don't update registers
that have a null or empty name.
* findvar.c (read_register_bytes): Don't fetch registers
that have a null or empty name.
Tue Sep 30 13:35:54 1997 Andrew Cagney <[email protected]>
* config/mips/tm-mips.h (NUM_REGS): Define conditionally.
(REGISTER_NAMES): Ditto.
Fri Sep 26 21:08:22 1997 Keith Seitz <[email protected]>
* dsrec.c (load_srec): add ui_load_progress_hook to
display some feedback to user
* symfile.c (generic_load): add ui_load_progress_hook to
display some feedback to user
Fri Sep 26 17:32:22 1997 Jason Molenda ([email protected])
* command.c (add_cmd, add_show_from_set): Insert new commands in
alphabetical order.
Fri Sep 26 12:22:00 1997 Mark Alexander <[email protected]>
* config/mips-tm-mips.h (mips_extra_func_info): New frame_adjust
member for storing offset of MIPS16 frame pointer from SP.
* mips-tdep.c: Use RA_REGNUM instead of hardcoded 31 throughout.
(PROC_FRAME_ADJUST): Define.
(mips16_heuristic_proc_desc): Store frame pointer adjustment value.
(get_frame_pointer): Use frame pointer adjustment value when
calculating frame address.
* remote-sim.c (gdbsim_fetch_register): Don't fetch registers
that have a null or empty name.
Fri Sep 26 12:40:51 1997 Jeffrey A Law ([email protected])
* mips-tdep.c (_initialize_mips_tdep): Allow target files to
override default FPU type.
Fri Sep 26 10:33:54 1997 Felix Lee <[email protected]>
* configure.tgt (v850-*-*): necmsg.lib instead of v850.lib.
Wed Sep 24 14:02:09 1997 Andrew Cagney <[email protected]>
* config/v850/tm-v850.h (BREAKPOINT): Use 1 word DIVH insn with
RRRRR=0 for simulator breakpoint. Previous breakpoint insn was two
words.
Thu Sep 18 15:07:46 1997 Andrew Cagney <[email protected]>
* ser-e7kpc.c (get_ds_base): Only use under Windows.
(windows.h): Include when any _WIN32 host.
Wed Sep 24 18:12:47 1997 Stu Grossman <[email protected]>
* The following block of changes add support for debugging assembly
source files.
* breakpoint.c (resolve_sal_pc): Prevent crash when pc isn't
associated with a function.
* buildsym.c (record_line start_symtab end_symtab): Don't delete
symtabs which only have line numbers (but no other debug symbols).
* dbxread.c (read_dbx_symtab end_psymtab): Ditto.
* remote-sim.c: New functions gdbsim_insert/remove_breakpoint. Use
intrinsic simulator breakpoints if available, otherwise do it the
hard way.
* configure.tgt: Add d30v.
* d30v-tdep.c: New file.
* config/d30v/d30v.mt, config/d30v/tm-d30v.h: New files.
Tue Sep 23 11:24:13 1997 Stan Shebs <[email protected]>
* Makefile.in (ALLCONFIG): Remove, inaccurate and never used.
Tue Sep 23 00:08:18 1997 Peter Schauer ([email protected])
* mips-tdep.c (mips_push_arguments): Tweak alignment of register
value if the remaining length of a non-integral argument is smaller
than the register size for big-endian non-EABI mode.
* rs6000-tdep.c (branch_dest): Handle return from signal
handler function via sigreturn kernel call.
Mon Sep 22 15:32:06 1997 Dawn Perchik <[email protected]>
* stabsread.h, symtab.h, dbxread.c, symtab.c, stabsread.c:
Fix prototypes. Remove function scoped function declarations.
Fri Sep 19 18:51:26 1997 Felix Lee <[email protected]>
* config/i386/windows.mh (XDEPFILES): need to list some files
explicitly, for odd reasons.
Tue Sep 16 20:00:05 1997 Per Bothner <[email protected]>
* jv-exp.y (push_fieldnames): New, to handle EXP.FIELD1....FIELDN.
(push_expression_name): New, to handle expression names.
(push_qualified_expression_name): New, for qualified expression names.
(parse_number): Fix bugs in parsing of non-decimal integers.
* jv-lang.h, jv-lang.c (java_demangle_type_signature): New.
* jv-lang.c (type_from_class): Just use name with java_lookup_class.
(java_link_class_type): Add dummy "class" field.
(java_lookup_type): New.
(evaluate_subexp_java case STRUCTOP_STRUCT): Force to address.
* jv-typeprint.c (java_type_print_base): Don't print "class" field.
Use java_demangle_type_signature to print array class types.
* jv-valprint.c (java_value_print): Preliminary array support.
Print pointer as TYPE@HEXADDR, instead of (TYPE)0xHEXADDR.
(java_val_print): Move check for object type to java_value_print.
Check for null. Print pointer as @HEXADDR, not 0xHEXADDR.
* valops.c (search_struct_field): Search basesclasses in
ascending, not descending order. Hack to avoid virtual baseclass
botch for Java interfaces.
Tue Sep 16 19:56:23 1997 Per Bothner <[email protected]>
* util.c (run_cleanup_chain, make_run_cleanup, do_run_cleanups):
New cleanup clean for cleanups to be run when at each 'run' command.
* infcmd.c (run_command): Call do_run_cleanups.
* solib.c (find_solib): Register cleanup to call clear_solib
on a new 'run' command.
(symbol_add_stub): First look for existing objfile with same name.
Tue Sep 16 16:00:01 1997 Stan Shebs <[email protected]>
* remote-sds.c (sds_load): New function.
(sds_ops): Use it.
(sds_open): Don't set inferior_pid yet.
(sds_kill): Remove contents.
(sds_create_inferior): Rewrite to work more like monitor
interfaces.
(sds_restart): Remove, no longer used.
* monitor.h (MO_SREC_ACK_PLUS, MO_SREC_ACK_ROTATE): New flags.
* monitor.c (monitor_wait_srec_ack): Add DINK32-specific ack code.
* dsrec.c (load_srec): Always write a header S-record.
* dink32-rom.c (dink32_regnames): Fix the names of float registers.
(dink32_cmds): Set to use S-record downloading with acks.
* remote-est.c (est_cmds): Add MO_SREC_ACK_PLUS flag.
Tue Sep 16 10:08:27 1997 Andrew Cagney <[email protected]>
* config/v850/tm-v850.h (BREAKPOINT): Set to a truely illegal
instruction.
* exec.c (exec_file_command): Call set_architecture_from_file.
Mon Sep 15 13:01:22 1997 Mark Alexander <[email protected]>
* dbxread.c (MSYMBOL_SIZE): New macro.
(end_psymtab): Use MSYMBOL_SIZE to extract size from minimal symbol.
* elfread.c (elf_symtab_read): If ELF symbol is "special",
such as a MIPS16 function, mark minimal symbol as special too.
* mips-tdep.c (pc_is_mips16): New function to check whether
a function is MIPS16 by looking at the minimal symbol. Use
pc_is_mips16 throughout instead of IS_MIPS16_ADDR macro.
* config/mips/tm-mips.h (SYMBOL_IS_SPECIAL, MAKE_MSYMBOL_SPECIAL,
MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): New functions for setting/testing
"special" MIPS16 bit in ELF and minimal symbols.
* mdebugread.c (parse_partial_symbols): Don't construct a partial
symbol table for a file that already has one.
Sat Sep 13 08:32:13 1997 Peter Schauer ([email protected])
* mdebugread.c (parse_symbol, handle_psymbol_enumerators): Handle
yet another variant of enumerator debugging info, used by DU 4.0
native cc.
Tue Sep 9 20:47:23 1997 Felix Lee <[email protected]>
* config/i386/windows.mh (XDEPFILES): reduce to libwingdb.a.
otherwise link command line is too long.
Tue Sep 9 17:41:41 1997 Jeffrey A Law ([email protected])
* symtab.c, dbxread.c, stabsread.c: Fix up ANSI-C isms. Fix
some formatting problems.
Mon Sep 8 16:45:51 1997 Stu Grossman <[email protected]>
* ser-e7kpc.c: Don't include w32sut.h. We no longer use the UT
mechanism. Remove prototypes for dos_async_* functions. They don't
exist anymore.
Mon Sep 8 12:48:50 1997 Ian Lance Taylor <[email protected]>
* top.c (quit_confirm, quit_force): New functions, broken out of
quit_command.
(quit_command): Just call quit_confirm and quit_force.
* top.h (quit_confirm, quit_force): Declare.
Sun Sep 7 17:26:30 1997 Dawn Perchik <[email protected]>
* dbxread.c, buildsym.c, symtab.c, stabsread.c: Add support for
reading stabs extensions for live range information.
* stabsread.h, partial-stab.h: Add prototypes for new functions.
* symtab.h: Add structure for storing live range information.
Wed Sep 3 16:39:39 1997 Andrew Cagney <[email protected]>
* top.c (set_arch): New function, update target_architecture.
* defs.h, top.c (set_architecture_from_arch_mach): Replace
set_architecture, takes the arch and machine as arguments.
* sh3-rom.c (sh3e_open): Update.
(sh3_open): Ditto.
Tue Sep 2 12:00:46 1997 Andrew Cagney <[email protected]>
* remote-e7000.c (e7000_fetch_registers): Fix typo, stray paren.
(e7000_wait): Ditto.
Mon Sep 1 11:21:03 1997 Andrew Cagney <[email protected]>
* top.c (init_main): Add ``set processor'' as an alias for ``set
architecture''.
Sat Aug 30 13:44:48 1997 Bob Manson <[email protected]>
* config/sparc/sparclite.mt: Removed simulator references (erc32
has been disabled).
Thu Aug 28 10:20:04 1997 Andrew Cagney <[email protected]>
* remote-e7000.c (e7000_fetch_registers): Check
target_architecture instead of sh_processor_type.
(e7000_wait): Ditto.
* config/sh/tm-sh.h (sh_set_processor_type): Delete prototype.
* sh3-rom.c (sh3_open): Call set_architecture not
sh_set_processor_type.
(sh3e_open): Ditto.
* sh-tdep.c (sh_show_processor_type_command): Delete.
(sh_set_processor_type_command): Delete.
(sh_target_architecture_hook): Rename from sh_set_processor_type,
use AP to determine architecture.
(sh_show_regs): Use bfd_mach_sh* types.
* remote-sim.c (gdbsim_open): Pass --arch=XXX to simulator when
architecture was specified explicitly.
* defs.h (target_architecture, target_architecture_auto,
set_architecture, set_architecture_from_file): Declare.
(target_architecture_hook): Allow targets to be notified of set
arch commands.
* top.c (init_main): Add set/show/info architecture commands.
(set_architecture, show_architecture, info_architecture): New
functions, parse same.
(set_architecture_from_file): New function, determine arch from
BFD.
Tue Aug 26 17:13:43 1997 Andrew Cagney <[email protected]>
* remote-sim.c (gdbsim_open): Only pass endianness to sim_open
when set explicitly. Prepend endianness arg so that it can be
overridden.
* defs.h, top.c (target_byte_order_auto): Make global when
byteorder is selectable.
Tue Aug 26 15:19:56 1997 Andrew Cagney <[email protected]>
* remote-sim.c (gdbsim_create_inferior): Pass exec_bfd into
sim_create_inferior.
(gdbsim_create_inferior): Pass -1 to proceed, sim_create_inferior
has already set the PC.
(gdbsim_create_inferior): Allow exec_file to be NULL, make "No
exec file" a warning. Ditto for "No program loaded".
Mon Aug 25 17:08:01 1997 Geoffrey Noer <[email protected]>
* ocd.c: revert Sun change -- enable log file handling
Mon Aug 25 12:21:46 1997 Andrew Cagney <[email protected]>
* remote-sim.c (gdbsim_open): Pass exec_bfd to sim_open call.
Sun Aug 24 21:16:59 1997 Geoffrey Noer <[email protected]>
* ocd.c: comment out sections that create and flush wigglers.log
log file when using the wiggler.
Thu Aug 21 16:18:08 1997 Geoffrey Noer <[email protected]>
* config/powerpc/ppc-eabi.mt:
* config/powerpc/ppc-sim.mt:
* config/powerpc/ppcle-eabi.mt:
* config/powerpc/ppcle-sim.mt: ser-ocd.c needs to be before
other ocd-related files in TDEPFILES
Thu Aug 21 14:56:04 1997 Geoffrey Noer <[email protected]>
* ppc-bdm.c (bdm_ppc_wait): stop printfing ecr, der
* ocd.c: initialize remote_timeout
(ocd_wait): while looping, call ocd_do_command with OCD_AYT
(ocd_get_packet): remove find_packet goto. If there isn't
an 0x55 at the start, something is quite wrong so error out
instead of advancing in the packet and trying again. If checksum
is invalid, print error message instead of trying again.
* ser-ocd.c (ocd_readchar): error if we attempt to read past
the end of the from_wiggler_buffer.
Wed Aug 20 14:08:39 1997 Stan Shebs <[email protected]>
* dink32-rom.c: Don't use "mf" command to fill, is too picky
about alignment.
Tue Aug 19 08:41:36 1997 Fred Fish <[email protected]>
* objfiles.c (objfile_relocate): Add call to breakpoint_re_set
after relocations are complete.
* remote-vx.c (vx_add_symbols): Remove call to breakpoint_re_set,
this is now done in objfile_relocate.
Mon Aug 18 17:29:54 1997 Ian Lance Taylor <[email protected]>
* win32-nat.c (handle_exception): Return a value indicating
whether the exception was handled. Don't handle random exceptions
the first time around, so that structured exception handling
works.
(child_wait): Check the return value of handle_exception. Set the
continue_status argument to ContinueDebugEvent accordingly.
Mon Aug 18 11:14:15 1997 Nick Clifton <[email protected]>
* configure.tgt: Add support for v850ea target.
Sun Aug 17 20:31:57 1997 Michael Snyder ([email protected])
* m32r-stub.c: fix typo
Sun Aug 17 17:33:34 1997 Stan Shebs <[email protected]>
* remote-sds.c: Remove unused remnants of remote.c.
(tob64): Return the result length.
(sds_interrupt): Send a stop message.
(sds_wait): Add debug output for signal interpretation, flag
that signal was due to a trap.
(sds_fetch_registers): Fill the registers array correctly for
PowerPC.
(sds_store_registers): Get the right values from registers array.
(putmessage): Tweak length handling so checksum comes out right.
(sds_insert_breakpoint, sds_remove_breakpoint): Do correctly.
Fri Aug 15 20:53:13 1997 Ian Lance Taylor <[email protected]>
* Makefile.in (init.c): Don't use xargs.
Fri Aug 15 13:59:37 1997 Peter Schauer ([email protected])
* infrun.c (wait_for_inferior): Add the symbols for any
newly loaded objects upon a TARGET_WAITKIND_LOADED event.
Rewrite code which determines the TOC address for calling functions
in the inferior under AIX.
* rs6000-nat.c (find_toc_address): New function to determine
the required TOC address from a function address.
(_initialize_core_rs6000): Set up find_toc_address_hook to point
to find_toc_address.
(xcoff_relocate_symtab, xcoff_relocate_core): Remove
add_text_to_loadinfo calls.
(exec_one_dummy_insn): Change pid and status to int to get rid of
compiler warnings.
(xcoff_relocate_symtab): Cast ldi to `int *' when passing it to
ptrace to get rid of compiler warnings.
* rs6000-tdep.c: Add definition for find_toc_address_hook.
(rs6000_fix_call_dummy): If find_toc_address_hook is non zero,
patch TOC address load code in the call dummy with the value
returned from find_toc_address_hook.
(struct loadinfo, loadinfo, loadinfolen,
loadinfotextindex, xcoff_init_loadinfo, free_loadinfo,
xcoff_add_toc_to_loadinfo, add_text_to_loadinfo, find_toc_address):
Remove.
(_initialize_rs6000_tdep): Remove initialization of
coff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook.
* xcoffread.c (coff_add_toc_to_loadinfo_hook,
xcoff_init_loadinfo_hook): Remove.
(struct coff_symfile_info): Add toc_offset field.
(scan_xcoff_symtab): Record toc_offset value in toc_offset field
instead of calling xcoff_add_toc_to_loadinfo_hook.
(get_toc_offset): New function to return the value of the
toc_offset field for an object file.
(xcoff_initial_scan): Remove call of xcoff_init_loadinfo_hook.
* xcoffsolib.h (add_text_to_loadinfo): Remove declaration.
* config/rs6000/tm-rs6000.h: Add declarations for
find_toc_address_hook and get_toc_offset.
Wed Aug 13 19:31:28 1997 Stan Shebs <[email protected]>
* remote-sds.c: New file, interface to SDS-compatible monitors.
* Makefile.in (remote-sds.o): Add build rule.
* config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt
(TDEPFILES): Add remote-sds.o.
Tue Aug 12 14:37:18 1997 Geoffrey Noer <[email protected]>
* ocd.c (ocd_wait): loop until we're in BDM mode instead of
assuming control has returned to GDB.
Mon Aug 11 19:16:04 1997 Stan Shebs <[email protected]>
* dink32-rom.c: New file, support for DINK32 monitor.
* Makefile.in (dink32-rom.o): Add build rule.
* config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt
(TDEPFILES): Add dink32-rom.o.
* monitor.h (MO_32_REGS_PAIRED, MO_SETREG_INTERACTIVE,
MO_SETMEM_INTERACTIVE, MO_GETMEM_16_BOUNDARY,
MO_CLR_BREAK_1_BASED): New monitor interface flags.
* monitor.c: Use them.
(monitor_store_register): Use setreg.term if defined.
(monitor_insert_breakpoint, monitor_remove_breakpoint): Notice
if set_break and clr_break fields are empty.
Mon Aug 11 16:22:36 1997 Geoffrey Noer <[email protected]>
* ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): Macro
BDM_BREAKPOINT already has braces around it, remove erroneous ones.
* ser-ocd.c (ocd_write): Conditionalize on _WIN32 instead of
__CYGWIN32__.
* config/powerpc/tm-ppc-eabi.h: Remove BDM_NUM_REGS, BDM_REGMAP
* ppc-bdm.c: move BDM_NUM_REGS, BDM_REGMAP here from tm.h file,
fill in doc fields of bdm_ppc_ops.
(bdm_ppc_fetch_registers): Don't ask for invalid registers such
as the MQ or floating point regs not present on ppc 8xx boards.
(bdm_ppc_store_registers): Don't write those same invalid registers.
* config/i386/cygwin32.mh: Stop including ocd.o ser-ocd.o.
* config/powerpc/ppc-eabi.mt:
* config/powerpc/ppcle-eabi.mt:
* config/powerpc/ppc-sim.mt:
* config/powerpc/ppcle-sim.mt: Include ser-ocd.o.
Mon Aug 11 16:08:52 1997 Fred Fish <[email protected]>
* frame.h (enum lval_type): Conditionalize on __GNUC__
instead of __STDC__.
Sun Aug 10 19:08:26 1997 Jeffrey A Law ([email protected])
* utils.c (error): Fix return type for !ANSI_PROTOTYPES.
Sun Aug 10 16:49:09 1997 Geoffrey Noer <[email protected]>
* ocd.c: move ocd_write_bytes proto to ocd.h since it is used
by ppc-bdm.c, use OCD_LOG_FILE to help debugging, define
BDM_BREAKPOINT if not defined in tm.h