forked from gbenson/binutils-gdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog-1994
5705 lines (4281 loc) · 227 KB
/
ChangeLog-1994
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
Fri Dec 30 17:58:55 1994 Steve Chamberlain ([email protected])
* config/m68k/tm-est.h: Remove cruft.
Thu Dec 29 22:40:00 1994 Jeff Law ([email protected])
* Allow up to 10 whitespace separated arguments to user defined
commands.
* top.c (struct user_args): Structure for holding arguments to
user defined commands.
(print_command_line): Delete unused "tmp_chain" variable. Clean
up flow control by having cases exit in the same manner.
Before executing a command or evaluating an expression, substitute
the current $arg0..$arg9 values if the command/expression uses them.
(arg_cleanup): New function.
(setup_user_args, locate_arg, insert_args): Likewise.
(execute_user_command): Allow arguments to user defined commands.
* Allow if/while commands to be used within a breakpoint command
list.
* breakpoint.c (bpstat_do_actions): Call execute_control_command
rather than execute_command (passes entire command structure rather
than just the command line text).
(breakpoint_1): Use "print_command_line" to print a breakpoint
command line (including control structures).
* gdbcmd.h (execute_control_command): Provide extern decl.
(print_command_line): Likewise.
* top.c (execute_control_command): No longer static.
(print_command_line): New function to recursively print a command
line, including control structures.
Thu Dec 29 18:18:31 1994 Rob Savoye <[email protected]>
* hppa-tdep.c (pa_print_registers): Extract register values stored
in big endian format on big and little endian hosts.
* array-rom.c: Support for Array Tech LSI33k based RAID disk
controller board.
* configure.in: Recognize "mips*-*-ecoff*" rather than
"mips*-idt-ecoff*" so it'll work for the LSI33k.
* monitor.[ch], op50-rom.c, rom68k-rom.c, w89k-rom.c: Add support
to monitor config structure for supported baud rates for a target
and variable stop bits.
* monitor.c (monitor_fetch_register): Store register values in big
endian format on any host.
Wed Dec 28 19:27:22 1994 Jeff Law ([email protected])
* hppa-tdep.c (hppa_fix_call_dummy): Prefer import stubs over
export stubs and actual shared library functions so that lazy
binding works correctly. Try both __d_plt_call and __gcc_plt_call
trampolines for calling import stubs.
Wed Dec 28 15:29:02 1994 Stan Shebs <[email protected]>
* a29k-tdep.c (pop_frame): Fix a variable name.
Wed Dec 28 12:21:39 1994 Jeff Law ([email protected])
* hppa-tdep.c (push_dummy_frame): Refine code to determine what
space ID to place in the stack & inf_status structure.
(hppa_pop_frame): Don't walk through trampoline code if popping a
call dummy frame.
(hppa_fix_call_dummy): Call the stack dummy directly if the
current PC is in a shared library.
* hppa-tdep.c (push_dummy_frame): Return type is void. Clear
in_syscall bit in flags. Don't depend on the PC queue registers
when in_syscall is set, they're not valid.
* config/pa/tm-hppa.h (PUSH_DUMMY_FRAME): Pass inf_status down to
push_dummy_frame.
(SR4_REGNUM): Define.
* hppa-tdep.c: Misc. lint changes.
Tue Dec 27 12:32:43 1994 Jeff Law ([email protected])
* breakpoint.c (watchpoint_check): Don't bother restoring the
"selected" frame anymore, it's not necessary. Initialize the
frame cache before trying to find the current frame in the frame
chain.
* somsolib.c (som_solib_add): Return without loading any shared
libraries if symfile_objfile is NULL.
(som_solib_create_inferior_hook): Likewise.
Fri Dec 23 17:03:13 1994 Steve Chamberlain ([email protected])
* remote-est.c: New file supports EST-300 CPU32 background
mode ICE.
* remote-utils.c (sr_com): Call registers_changed.
* configure.in (m68*-*-est*): New configuration.
* config/m68k/tm-est.h: New file.
Fri Dec 23 16:18:50 1994 Stu Grossman ([email protected])
* Makefile.in (CLIBS): Put LIBIBERTY last.
Thu Dec 22 09:27:16 1994 Jim Kingdon <[email protected]>
* ser-tcp.c (tcp_open): Cast to struct sockaddr when passing to
function which expects that.
Thu Dec 22 13:25:33 1994 J.T. Conklin ([email protected])
* nlm/gdbserve.c, nlm/ppc.c, nlm/ppc.h: Don't try to use
ALTERNATE_MEM_FUNCS.
Wed Dec 21 14:00:26 1994 Rob Savoye <[email protected]>
* monitor.c: Now supports xmodem as a remoteloadprotocol.
Tue Dec 20 23:01:17 1994 Stu Grossman ([email protected])
* config/mips/xm-irix4.h, config/mips/xm-irix5.h: #define
_BSD_COMPAT to get reliable signal handling.
Tue Dec 20 11:44:28 1994 Jim Kingdon ([email protected])
* sparc-tdep.c, a29k-tdep.c, findvar.c (get_saved_register):
if !target_has_registers, call error().
* value.h: Remove obsolete comments about FRAME vs struct
frame_info *.
Sun Dec 18 11:52:58 1994 Peter Schauer ([email protected])
* sparc-tdep.c (sparc_pop_frame): Remove erroneous extra argument
to write_register.
Sat Dec 17 13:23:21 1994 Jim Kingdon ([email protected])
* tm-sparc.c (EXTRA_FRAME_INFO): New field sp_offset.
* sparc-tdep.c (sparc_init_extra_frame_info): Set it.
(examine_prologue, sparc_init_extra_frame_info): Use ->frame plus
->sp_offset to compute the address something is saved at, not
->bottom.
* sparc-tdep.c (get_saved_register): New function.
* tm-sparc.h: Define GET_SAVED_REGISTER; don't define
FRAME_FIND_SAVED_REGS, HAVE_REGISTER_WINDOWS or REGISTER_IN_WINDOW_P.
* stack.c (frame_info): Add comment about what to do if
FRAME_FIND_SAVED_REGS is not defined.
* sparc-tdep.c (sparc_init_extra_frame_info): Set ->frame field
here. Get it right for flat frames.
* sparc-tdep.c (sparc_frame_chain): Instead of returning
meaningful value for ->frame field, just return dummy value.
This change is needed because the old code didn't deal with mixed
flat and non-flat frames.
* sparc-tdep.c (sparc_pop_frame): Write SP_REGNUM from
frame->frame, don't go through saved regs for this.
* sparc-tdep.c: Move guts of skip_prologue to new function
examine_prologue. Check for flat prologue and set is_flat.
Provide the caller with the information about what is saved where
if desired.
(skip_prologue, sparc_frame_find_saved_regs): Call examine_prologue.
* sparc-tdep.c: Replace union sparc_insn_layout and anonymous
union in isannulled, which won't work on a little-endian host,
with X_* macros.
* sparc-tdep.c (sparc_frame_saved_pc): If addr == 0, the saved PC
is still in %o7.
* config/sparc/tm-sparc.h: Define INIT_FRAME_PC and
INIT_FRAME_PC_FIRST.
* blockframe.c (get_prev_frame_info): Modify comments regarding
INIT_FRAME_PC_FIRST and the sparc.
* sparc-tdep.c (single_step): Use 4 not sizeof (long) for size of
instruction.
Sat Dec 17 02:33:37 1994 Peter Schauer ([email protected])
* c-typeprint.c (c_type_print_base): Use `show' of -1 to print
the return type of methods to avoid infinite loops with anonymous
types.
* valops.c (search_struct_field): Handle anonymous unions.
* sparc-tdep.c (sunos4_skip_trampoline_code): New function
to correctly handle steps into -g compiled PIC objects in the
main executable.
* config/sparc/tm-sun4os4.h (SKIP_TRAMPOLINE_CODE):
Redefine to use sunos4_skip_trampoline_code.
* dwarfread.c (DWARF_REG_TO_REGNUM): Provide a default mapping
from DWARF to GDB register numbering.
* dwarfread.c (locval): Use DWARF_REG_TO_REGNUM to map the
register value.
* config/mips/tm-mipsv4.h (DWARF_REG_TO_REGNUM): Define.
Fri Dec 16 10:56:29 1994 J.T. Conklin <[email protected]>
* Makefile.in (uninstall): transform file names.
Thu Dec 15 16:55:35 1994 Stan Shebs <[email protected]>
* defs.h: Include progress.h.
(QUIT): Call PROGRESS.
* main.c (main): Call START_PROGRESS and END_PROGRESS, break
usage message into shorter strings.
* source.c: Change long command help strings into concats of
shorter ones, for picky ANSI compilers.
* top.c (command_loop): For space usage display, show both
absolute size and the change from before command execution.
Thu Dec 15 16:40:10 1994 Stu Grossman ([email protected])
* defs.h, main.c (gdb_fputs), top.c: Add stream arg to
fputs_unfiltered_hook.
* defs.h, top.c, utils.c (error): Add error_hook.
Tue Dec 13 15:15:33 1994 Stan Shebs <[email protected]>
* breakpoint.c, infrun.c, printcmd.c: Change long command help
strings into concats of shorter ones, for picky ANSI compilers.
Mon Dec 12 17:08:02 1994 Stan Shebs <[email protected]>
Sparc flat register window support.
* sparc-tdep.c (sparc_insn_layout): New union, defines layout of
instructions symbolically (used to be local to skip_prologue).
(sparc_init_extra_frame_info): New function.
(sparc_frame_chain): Add flat cases throughout.
(skip_prologue): Add recognition of flat prologues.
(sparc_frame_find_saved_regs): Add flat cases.
(sparc_pop_frame): Ditto.
* config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): New slots.
(INIT_EXTRA_FRAME_INFO): Call sparc_init_extra_frame_info.
(PRINT_EXTRA_FRAME_INFO): Define.
Mon Dec 12 13:06:59 1994 Jim Kingdon <[email protected]>
* f-lang.c: Remove duplicate declaration of
builtin_type_f_integer, and only include it in the f_builtin_types
once.
* somread.c (som_symfile_read): Just assign to objfile->obj_private,
not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which
the HP compiler doesn't like.
Fri Dec 9 15:50:05 1994 Stan Shebs <[email protected]>
* remote.c (remote_wait): Pass string instead of char to strcpy.
Fri Dec 9 04:43:17 1994 Jim Kingdon ([email protected])
* gdbserver/low-lynx.c (mywait): Remove debugging printf.
Thu Dec 8 15:07:29 1994 Jim Kingdon <[email protected]>
* frame.h: Restore pre-Nov 3 comments about FRAME_FP with minor
changes. They are correct, unlike the post-Nov 3 comment
(FRAME_FP doesn't have any machine-independent relationship with
FP_REGNUM or any other such notion of a "frame pointer").
Wed Dec 7 14:50:54 1994 Jim Kingdon <[email protected]>
* gdbserver/remote-utils.c (write_ok): Write "OK", not "Ok", to
match stubs and protocol spec.
* gdbserver/remote-utils.c (remote_open): Cast to struct sockaddr
when passing to function which expects that.
The following changes aren't quite enough to make things work with
LynxOS (apprently kernel problems).
* infrun.c (wait_for_inferior): When resuming new thread, pass pid
not -1 for remote case.
* thread.c (info_threads_command): Give error if !target_has_stack.
* infrun.c (start_remote): Call init_thread_list.
* thread.c (info_threads_command): Don't call kill for remote
debugging target.
* target.c (normal_pid_to_str): Print "thread" not "process" for
remote.
* remote.c, gdbserver/*: Add 'H', 'S', and 'C' requests, 'X'
response, and `thread' part of 'T' response.
* gdbserver/*: If program exits, send packet to GDB before
exiting. Handle termination with a signal the same as exiting
with an exitstatus.
* remote.c: Don't try to kill program after getting an 'X'
response.
* infrun.c (wait_for_inferior): Add comment about kill versus mourn.
Thu Dec 8 12:37:38 1994 Rob Savoye <[email protected]>
* config/pa/tm-pro.h tm-hppap.h, hppapro.mt: Rename tm-hppap.h to
tm-pro.h.
Wed Dec 7 18:22:59 1994 Stan Shebs <[email protected]>
* source.c: Various cosmetic changes.
(forward_search_command): Handle very long source lines correctly.
Wed Dec 7 13:21:47 1994 Rob Savoye <[email protected]>
* hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support will
stop being linked in.
* config/pa/tm-hppap.h: New file. Set GDB_TARGET_IS_PA_ELF,
otherwise it looks like BSD-ELF.
Mon Dec 5 21:43:52 1994 Stu Grossman ([email protected])
* inftarg.c: include <sys/types.h> to get def of pid_t.
Fri Dec 2 15:03:07 1994 Stan Shebs <[email protected]>
* solib.c (auto_solib_add_at_startup): New global.
(solib_create_inferior_hook): Call solib_add only if
auto_solib_add_at_startup is nonzero.
(_initialize_solib): New command "set auto-solib-add".
Fri Dec 2 12:52:04 1994 Peter Schauer ([email protected])
* parse.c (msymbol_addr_type): Replaced by
lookup_pointer_type (builtin_type_void).
* printcmd.c (_initialize_printcmd): Give examine_*_type
a name for `ptype $_'.
Fri Dec 2 12:52:04 1994 Jim Kingdon ([email protected])
* printcmd.c (print_formatted): Call val_print_string directly,
rather than via value_print.
Wed Nov 30 22:27:27 1994 Jeff Law ([email protected])
* somsolib.c (som_solib_get_got_by_pc): New function.
* somsolib.h (som_solib_get_got_by_pc): Add extern decl.
* hppa-tdep.c (hppa_fix_call_dummy): Handle case where FUN is the
function's export stub or real address in a shared library.
Tue Nov 29 13:40:25 1994 J.T. Conklin ([email protected])
* config/i386/nbsd.mh (REGEX, REGEX1): No longer define.
* configure.in (i[345]86-*-freebsd*): New configuration.
* config/i386/{fbsd.mh,fbsd.mt,nm-fbsd.h}: New files.
Tue Nov 29 12:23:25 1994 Stan Shebs ([email protected])
* top.c (read_next_line): Pass annotation suffix "commands"
instead of "command", matches documentation.
Mon Nov 28 14:53:21 1994 Stan Shebs ([email protected])
* config/a29k/tm-a29k.h (setup_arbitrary_frame): Replace
FRAME_ADDR with CORE_ADDR in prototype.
* top.c (command_line_input): If annotation suffix is NULL,
replace it with an empty string.
(read_next_line): Pass "command" as annotation suffix to
command_line_input.
Mon Nov 28 11:03:14 1994 J.T. Conklin ([email protected])
* config/rs6000/tm-rs6000.h (setpgrp): move defn from here...
* config/rs6000/xm-rs6000.h: ...to here.
Fri Nov 25 21:26:02 1994 Jeff Law ([email protected])
* tm-hppa.h (skip_trampoline_code): Add extern decl.
* hppa-tdep.c (hppa_pop_frame): Silently restart the inferior and
allow it to execute any return path trampoline code. Stop the
inferior and give the user control when the trampoline has
finished executing.
(in_solib_call_trampoline): Handle export stubs which also perform
parameter relocations.
(in_solib_return_trampoline): Likewise.
Fri Nov 25 13:37:10 1994 Peter Schauer ([email protected])
* coffread.c, symfile.h (coff_getfilename): Make it static again.
* xcoffread.c (coff_getfilename): Use a static copy from
coffread.c, modified for accessing the static xcoff strtbl.
Fri Nov 25 00:51:05 1994 Jeff Law ([email protected])
* hppa-tdep.c (in_solib_call_trampoline): Recognize calls through
_sr4export and $$dyncall as trampolines. Likewise for long-call
stubs and parameter relocation stubs.
(in_solib_return_trampoline): Recognize a return trampoline for
return value relocation stubs.
* hpread.c: Include hp-symtab.h instead of hpux-symtab.h.
Various name changes to match those used by hp-symtab.h.
Thu Nov 24 00:39:27 1994 Jeff Law ([email protected])
* blockframe.c (find_pc_partial_function): Inhibit mst_trampoline
symbol special handling when INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK
is defined.
* infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Renamed from
IN_SOLIB_TRAMPOLINE. All callers changed.
(IN_SOLIB_RETURN_TRAMPOLINE): Provide default definition.
(wait_for_inferior): Handle single stepping through trampolines on
return paths from shared libraries.
* config/pa/tm-hppa.h (IN_SOLIB_CALL_TRAMPOLINE): Use
in_solib_call_trampoline.
(IN_SOLIB_RETURN_TRAMPOLINE): Use in_solib_return_trampoline.
(INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK): Define.
* hppa-tdep.c (in_solib_call_trampoline): New function.
(in_solib_return_trampoline): New function.
Wed Nov 23 21:43:03 1994 Steve Chamberlain ([email protected])
* tm-h8300.h (REMOTE_BREAKPOINT): Define.
* h8300-tdep.c (h8300_pop_frame): Remove redundant call.
* remote-e7000.c (HARD_BREAKPOINTS): Reenable.
(BC_BREAKPOINTS): Disable.
* sh-tdep.c (print_insn): Cope with big and little endian machines.
* sh/sh.mt: Use libsim.a
* sh/tm-sh.h (TARGET_BYTE_ORDER_SELECTABLE): New
(BREAKPOINT): Changed to be byteorder independent.
Tue Nov 22 19:13:39 1994 Stan Shebs ([email protected])
Maintenance commands to report time and space usage.
* main.c (display_time, display_space): New globals.
(main): Add argument --statistics to enable reporting, display
time and space after startup is done.
* maint.c (maintenance_time_display, maintenance_space_display):
New commands.
* top.c (command_loop): Display time and space after command
execution.
* top.c (pre_init_ui_hook): New global.
(gdb_init): If pre_init_ui_hook set, call before all other init.
Tue Nov 22 10:25:59 1994 Kung Hsu ([email protected])
* a29k-tdep.c (examine_tag): Fix a bug in stack frame size.
Sat Nov 19 03:10:51 1994 Peter Schauer ([email protected])
* config/i386/i386sol2.mh: Reenable core file support.
* symfile.c (deduce_language_from_filename): Treat .c++ as a
C++ extension.
* valops.c (destructor_name_p): Do not compare the template
part for template classes.
Fri Nov 18 14:55:59 1994 Stan Shebs ([email protected])
* defs.h, infcmd.c (reg_names): Don't declare as constant.
* remote-mips.c (mips_open): Read and set the processor type.
* mips-tdep.c (mips_set_processor_type): Always return an int.
Fri Nov 18 10:38:12 1994 J.T. Conklin <[email protected]>
* nlm/alpha.c (strtol): Remove, it is provided by NetWare C library.
* nlm/gdbserve.def (strtol): Add to import list.
* nlm/fake_aio.c: Remove file, no longer used.
* Makefile.in (LD_FOR_TARGET, NLMCONV_FOR_TARGET): Remove.
* nlm/Makefile.in (gdbserve.O): Link with ${CC_FOR_TARGET}.
(LD_FOR_TARGET): Remove.
Thu Nov 17 22:09:50 1994 Rob Savoye <[email protected]>
* monitor.h, monitor.c, w89k-rom.c, op50n-rom.c, idp-rom.c: Add
support for two variables used to control the load protocol and
conversion type.
Thu Nov 17 17:51:12 1994 Stan Shebs ([email protected])
Support for different MIPS IDT processor models.
* mips-tdep.c (mips_processor_type, tmp_mips_processor_type,
mips_generic_reg_names, mips_r3041_reg_names,
mips_r3051_reg_names, mips_r3081_reg_names,
mips_processor_type_table): New globals.
(mips_do_registers_info): Don't display register if name is empty.
(mips_set_processor_type_command): New command.
(mips_show_processor_type_command): New command.
(mips_set_processor_type): New function.
(mips_read_processor_type): New function.
* config/mips/tm-idt.h (DEFAULT_MIPS_TYPE): New macro.
* config/mips/tm-mips.h (DEFAULT_MIPS_TYPE): New macro.
(NUM_REGS): Increase to account for all CP0 registers.
(REGISTER_NAMES): Add empty names for CP0 registers.
(FIRST_EMBED_REGNUM, LAST_EMBED_REGNUM): Adjust.
(PRID_REGNUM): New macro.
Wed Nov 16 16:41:52 1994 Stan Shebs ([email protected])
* README: Add warning about termcap in Ultrix and OSF/1.
Wed Nov 16 15:28:29 1994 Rob Savoye ([email protected])
* hppa-tdep.c: Remove including sys/dir.h from a target file.
Wed Nov 16 10:31:27 1994 J.T. Conklin ([email protected])
* config/powerpc/gdbserve.mt (TDEPFILES): Remove fake_aio.o.
* nlm/gdbserve.c: Include <nwtypes.h> before other NetWare headers.
* nlm/ppc.c: Likewise.
* nlm/ppc.c (strtol): Remove, it is provided by NetWare C Library.
(StopBell): New function (stubbed out).
Wed Nov 16 00:12:21 1994 Jeff Law ([email protected])
* hppa-tdep.c (skip_trampoline_code): Handle shared library import
trampolines.
Tue Nov 15 16:18:52 1994 Kung Hsu ([email protected])
* c-exp.y (yylex): Fix a bug in template scanning.
Tue Nov 15 14:25:47 1994 Stan Shebs ([email protected])
* i386-stub.c, m68k-stub.c, sparc-stub.c, sparcl-stub.c: Mask out
the top bit returned by getDebugChar.
Tue Nov 15 01:03:56 1994 Rob Savoye ([email protected])
* op50-rom.c, w89k-rom.c, monitor.c: Modify to usr two variables
to set remote load type and protocol.
* rom68k-rom.c: Add to_stop in target_ops.
Sat Nov 12 21:55:47 1994 Jeff Law ([email protected])
* somsolib.c: Add TODO list.
(som_solib_add): Immediately return if $SHLIB_INFO$ sections does
not exist or has size zero. Slightly simplify error handling.
Keep an internal list of all the loaded shared libraries and
various tidbits of information about the loaded shared libraries.
Build section tables for each loaded shared library and add those
tables to the core target if necessary.
(som_solib_create_inferior_hook): Force re-reading of shared
libraries at exec time.
(som_sharedlibrary_info_command): New function for dumping
information about the currently loaded shared libraries.
(_initialize_som_solib): New function.
Sat Nov 12 02:26:50 1994 Peter Schauer ([email protected])
* Makefile.in (copying.o, f-exp.tab.o, dpx2-nat.o, dstread.o,
i386aix-nat.o, i386m3-nat.o, irix5-nat.o, lynx-nat.o, m3-nat.o,
mipsm3-nat.o, ns32km3-nat.o, remote-e7000.o, remote-os9k.o):
Add dependencies.
(copying.o, os9kread.o, remote.o): Update dependencies.
* valarith.c (value_sub): When subtracting pointers, only
check for a match of the pointed to element lengths.
Cast element length to LONGEST to obtain a signed result for
pointer subtractions.
Fri Nov 11 10:51:07 1994 Jeff Law ([email protected])
* ch-exp.y (yylex): Fix off-by-one error when converting string to
lowercase. Null terminate new string.
* hppa-tdep.c (rp_saved): Handle IMPORT stubs too.
* somsolib.c (som_solib_add): Check the value of __dld_flags, if
it indicates __dld_list is not valid return an error. If it
indicates that libraries were not mapped privately, issue a
warning.
Thu Nov 10 23:17:45 1994 Peter Schauer ([email protected])
* symfile.c (syms_from_objfile): Only call find_lowest_section if
no ".text" section exists.
Thu Nov 10 15:16:21 1994 Rob Savoye <[email protected]>
* rom68k-rom.c: New file. Replaces the old remote-mon.c and uses
the new generic ROM interface in monitor.c.
* config/m68k/monitor.mt: Use new ROM support.
* monitor.c: Add support for xmodem download protocol.
Wed Nov 9 18:46:24 1994 Stan Shebs ([email protected])
* findvar.c (find_saved_register): Fix a frame variable name.
* infcmd.c (finish_command): Ditto.
Tue Nov 8 13:20:14 1994 Jim Kingdon ([email protected])
* TODO: Remove "Watchpoints seem not entirely reliable, though
they haven't failed me recently." item--this old (4.6 at least)
item is too vague to be useful (some watchpoint bugs have been
fixed since then).
* TODO: Add explanation of "RPC interface" item.
Mon Nov 7 22:25:21 1994 Jeff Law ([email protected])
* hppa-tdep.c (read_unwind_info): Use "text_offset" for linker
stub unwind descriptors too.
* Enable backtracing from inside a SOM shared library back into
user code.
* hppa-tdep.c (internalize_unwinds): Accept and use new
"text_offset" argument for dynamic relocation of
region_{start,end} fields in the unwind descriptor.
(read_unwind_info): Pass text_offset to internalize unwinds.
Mon Nov 7 14:34:42 1994 Jim Kingdon ([email protected])
* m3-nat.c: Remove comments about arbitrary limit in
printf_filtered; that limit is gone.
Mon Nov 7 00:27:16 1994 Jeff Law ([email protected])
* Beginnings of SOM shared library support. Breakpoints and
single frame backtracing within the library only. Only works when
using the HPUX 9 dynamic linker. More functionality to be added
soon.
* somsolib.c, somsolib.h: New files.
* Makefile.in (HFILES_NO_SRCDIR): Add somsolib.h
(ALLDEPFILES): Add somsolib.c.
(somsolib.o): Add some dependencies.
* somread.c (som_symtab_read): Accept multiple section offsets.
All callers changed. Adjust all text symbols with the first
section offset.
* symfile.c (find_lowest_section): Enable this function. Add some
tie-breaking logic when sections have the same vma.
(syms_from_objfile): Use find_lowest_section rather than looking
for ".text" by name. Relax warning to only warn if the lowest
section is not a code section.
* config/pa/{hppabsd.mh, hppahpux.mh} (NATDEPFILES): Add somsolib.o
* config/pa/{nm-hppab.h, nm-hppah.h}: Include somsolib.h.
Sun Nov 6 12:54:54 1994 Jeff Law ([email protected])
* partial-stab.h (N_TEXT): Put back GDB_TARGET_IS_HPPA kludge,
it is still needed for GCC-2.6 compiled code.
* TODO (GDB_TARGET_IS_HPPA): Note this kludge can be nuked
sometime after GCC-2.7 has been released.
* hppa-tdep.c (frame_saved_pc): Mask off low two bits when
retrieving the PC from a signal handler caller. Fix thinko
in Stan's last change ("frame", should have been "frame->next").
If the next frame is a signal handler caller and it's a system
call which has entered the kernel ((PSW & 0x2) != 0), then the
saved pc is in %r2 instead of %r31.
Fri Nov 4 23:47:07 1994 Jeff Law ([email protected])
* hppa-tdep.c (hppa_frame_find_saved_regs): Change "frame" to
"frame_info" throughout.
Fri Nov 4 16:26:59 1994 Kung Hsu ([email protected])
* sparcl-stub.c: get rid of defs.h.
Fri Nov 4 13:11:54 1994 Jim Kingdon <[email protected]>
* gdbserver/Makefile.in (MMALLOC_CFLAGS): Add -I${MMALLOC_DIR}.
Correct definition of MMALLOC_DIR to reflect fact this is
gdb/gdbserver/Makefile.in, not gdb/Makefile.in.
* gdbserver/server.c (main): After we kill the inferior in
response to a 'k' request, exit.
* remote.c (remote_kill): Use catch_errors when calling putpkt.
(putpkt): Return int, not void, to match catch_errors calling
convention.
Fri Nov 4 10:52:38 1994 Stan Shebs ([email protected])
* rs6000-tdep.c (pop_frame): Correct a variable name.
Fri Nov 4 05:43:35 1994 Jim Kingdon ([email protected])
* TODO: Re-write item about SIGINT handling to reflect the fact
that target_stop now exists.
Thu Nov 3 15:19:17 1994 Stan Shebs ([email protected])
Replace useless FRAME, FRAME_ADDR types with struct frame_info *
and CORE_ADDR, respectively.
* frame.h (FRAME, FRAME_INFO_ID, FRAME_ADDR): Remove.
* blockframe.c (get_frame_info): Remove.
* a29k-tdep.c, alpha-tdep.c, blockframe.c, breakpoint.c,
breakpoint.h, energize.c, findvar.c, gould-pinsn.c,
h8300-tdep.c, h8500-tdep.c, hppa-tdep.c, i386-tdep.c, i960-tdep.c,
infcmd.c, inferior.h, infrun.c, m68k-tdep.c, m88k-tdep.c,
mips-tdep.c, nindy-tdep.c, printcmd.c, pyr-tdep.c, rs6000-tdep.c,
sh-tdep.c, sparc-tdep.c, stack.c, valops.c, z8k-tdep.c,
config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
config/gould/tm-pn.h, config/h8300/tm-h8300.h,
config/h8500/tm-h8500.h, config/mips/tm-mips.h,
config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h,
config/pyr/tm-pyr.h, config/sparc/tm-sparc.h): Replace FRAME with
struct frame_info * everywhere, replace FRAME_ADDR with CORE_ADDR,
rename variables consistently (using `frame' or `fi'), remove
calls to get_frame_info and FRAME_INFO_ID, remove comments about
FRAME and FRAME_ADDR cruftiness.
Thu Nov 3 14:25:24 1994 Stu Grossman ([email protected])
* corelow.c, exec.c, inftarg.c, m3-nat.c, op50-rom.c, procfs.c,
remote-adapt.c, remote-e7000.c, remote-eb.c, remote-es.c,
remote-hms.c, remote-mips.c, remote-mm.c, remote-mon.c,
remote-nindy.c, remote-os9k.c, remote-pa.c, remote-sim.c,
remote-st.c, remote-udi.c, remote-vx.c, remote-z8k.c, remote.c,
w89k-rom.c, target.c, target.h: Add support for target_stop().
Thu Nov 3 01:23:45 1994 Peter Schauer ([email protected])
* osfsolib.c (solib_map_sections, first_link_map_member,
next_link_map_member, xfer_link_map_member): Retrieve and use
shared library relocation offset from runtime loader structures.
Use libxproc.a routines to get a working version if
USE_LDR_ROUTINES is defined.
* README: Remove item about shared library relocation for
Alpha OSF/1.
Wed Nov 2 15:05:39 1994 Kung Hsu ([email protected])
* c-exp.y (yylex): scan template names, and scan nested class
names.
Wed Nov 2 11:01:55 1994 J.T. Conklin ([email protected])
* nlm/Makefile.in: install gdbserve.nlm.
Tue Nov 1 13:00:46 1994 Peter Schauer ([email protected])
* c-valprint.c (c_value_print): Check for plain literal `char'
target type when suppressing `(char *)' output for strings.
Mon Oct 31 19:19:51 1994 Stan Shebs ([email protected])
* coffread.c (coff_symfile_init): Remove unused local abfd.
* utils.c [NO_MMALLOC] (mmalloc, mrealloc): Define and use size_t
instead of long, for compatibility with mmalloc.h.
Sat Oct 29 02:40:40 1994 Peter Schauer ([email protected])
* top.c (line_completion_function): Renamed from
symbol_completion_function, takes the line buffer and the
point in the line buffer as additional arguments.
(readline_line_completion_function): New function, interface
between readline and line_completion_function.
(init_main): Use it.
(complete_command): Use line_completion_function instead of
abusing rl_line_buffer. Free completion strings after printing
them.
* symtab.c (completion_list_add_name): Recheck for duplicates
if we intend to add a modified symbol.
* gdbtypes.h (cplus_struct_type): nfn_fields_total no longer
includes the number of methods from the baseclasses.
* stabsread.c (attach_fn_fields_to_type): No longer add the
number of methods from the baseclasses to TYPE_NFN_FIELDS_TOTAL,
the baseclass type might not have been completely filled in yet.
* symtab.c (total_number_of_methods): New function to compute
the total number of methods for a type, including the methods
from baseclasses.
(decode_line_1): Use it instead of TYPE_NFN_FIELDS_TOTAL to
allocate the symbol array for find_methods.
* stabsread.c (scan_file_globals): Add default case to minimal
symbol type switch, to avoid gcc -Wall warnings.
* config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO):
Don't test for zero backchain pointer to recognize a signal
handler frame, if read() gets interrupted by a signal, the
backchain will be non zero.
(SIG_FRAME_FP_OFFSET): Move to here from rs6000-tdep.c,
improve comment.
(SIG_FRAME_PC_OFFSET): New definition.
(FRAME_SAVED_PC): Return saved pc from sigcontext if this
is a signal handler frame.
* rs6000-tdep.c (function_frame_info): Do not error out
if we can't access the instructions.
* config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR):
New definition to get the function address from a function pointer.
* valops.c (find_function_addr): Use it when calling a user
function through a function pointer.
Fri Oct 28 16:16:52 1994 Stan Shebs ([email protected])
* Makefile.in (MMALLOC_DIR): New definition.
(MMALLOC): Use MMALLOC_DIR.
(MMALLOC_CFLAGS): Look in MMALLOC_DIR for mmalloc.h.
(OPCODES): Remove gratuitous "./".
* defs.h (mmalloc.h): Include.
(mmalloc, mrealloc, etc): Remove decls.
(cplus_demangle, cplus_demangle_opname): Remove decls.
Wed Oct 26 15:41:07 1994 Stu Grossman ([email protected])
* defs.h, main.c, top.c: Change sense and name of
no_windows variable. Now called use_windows, and defaults to off
(for compatibility).
Wed Oct 26 12:20:53 1994 Jim Kingdon <[email protected]>
* coffread.c (coff_symtab_read): If we get the address from
target_lookup_symbol, set the section to -2 not SECT_OFF_BSS.
(coff_symtab_read): Set value and section of symbol that
process_coff_symbol returns.
Tue Oct 25 09:53:04 1994 J.T. Conklin ([email protected])
* config/i386/tm-nbsd.h: Enable longjmp support.
Sat Oct 22 03:41:13 1994 Peter Schauer ([email protected])
* valarith.c (value_binop): Take care of ANSI `value preserving'
rule, which was not addressed by the previous change.
* rs6000-tdep.c (skip_prologue): Handle `mr r31,r1', which is
generated by gcc-2.6, as a synonym for `oril r31,r1,0'.
* TODO: Remove item about RS/6000 shared libraries.
Thu Oct 20 17:35:45 1994 Stu Grossman ([email protected])
* defs.h, infrun.c (wait_for_inferior), top.c: Call
target_wait_hook to allow GUI to handle blocking for inferior. Call
call_command_hook in execute_command to provide means for wrapping
commands with GUI state change updates.
* infrun.c (wait_for_inferior): Make sure
through_sigtramp_breakpoint is non-null before deleting.
Thu Oct 20 10:26:43 1994 J.T. Conklin ([email protected])
* config/powerpc/ppc-nw.mt (TDEPFILES): Removed exec.o.
Thu Oct 20 06:56:07 1994 Jim Kingdon ([email protected])
* Makefile.in (coffread.o): Depend on target.h.
(remote-vx.o): Depend on gdb-stabs.h objfiles.h symfile.h $(bfd_h).
Wed Oct 19 22:49:31 1994 Jim Kingdon ([email protected])
* TODO: Fix typo.
Wed Oct 19 11:32:15 1994 Jim Kingdon <[email protected]>
* objfiles.c (objfile_relocate): When relocating ->sections, use
objfile not symfile_objfile.
* symtab.h, minsyms.c (minsyms_sort): New function.
* objfiles.c (objfile_relocate): Call it.
* remote-vx.c (vx_add_symbols): Call breakpoint_re_set.
* objfiles.c, objfiles.h (objfile_to_front): New function.
* remote-vx.c (vx_add_symbols): Call it.
* coffread.c (coff_symtab_read): Handle common symbols the same
way that partial-stab.h does.
Wed Oct 19 21:06:12 1994 Rob Savoye ([email protected])
* hppa-tdep.c: Remove include files a.out.h, ioctl.h, and
machine/psl.h. These are host files.
Wed Oct 19 15:13:51 1994 Jim Kingdon ([email protected])
* objfiles.h (struct objfile): Fix comment--minimal_symbol_count
does *not* include the terminating NULL msymbol.
Tue Oct 18 20:53:29 1994 Rob Savoye <[email protected]>
* monitor.c (monitor_load_srec,monitor_make_srec): Add an asrecord
loader that reads files using BFD and converts it on the fly.
Mon Oct 17 18:52:06 1994 Rob Savoye <[email protected]>
* monitor.c (set_loadtype_command): Fixed so it doesn't core dump.
* monitor.c (monitor_load): check the load type and load the file
accordingly. Default to gr_load_image().
* monitor.c (monitor_load_ascii_srec): Load an ascii file in
srecord format by downloading to the monitor.
* w89k-rom.c, op50n-rom.c: set supported load types.
Mon Oct 17 10:29:08 1994 Jim Kingdon ([email protected])
* Makefile.in (ALLDEPFILES): Remove xcoffexec.c.
* Makefile.in: Remove xcoffexec.o rule.
* exec.c (exec_file_command): Add comment.
Fix data and bss relocation for VxWorks 5.1:
* remote-vx.c (vx_add_symbols): New function.
(vx_load_command, add_symbol_stub): Call it instead of
symbol_file_add.
(vx_wait): Remove comment which was wrong to useless.
* remote-vx.c: Reindent much of file.
* coffread.c (cs_to_section, find_targ_sec): New functions.
(process_coff_symbol): Set SYMBOL_SECTION to result
from cs_to_section.
(coff_symtab_read): Call cs_to_section and deal with result
rather than assuming sections are in a certain order. Deal with
BSS.
* coffread.c: Remove text_bfd_scnum variable.
Sat Oct 15 16:55:48 1994 Stan Shebs ([email protected])
* corelow.c: Format to standard.
(core_close): Use name instead of bfd_filename.
Fri Oct 14 10:29:08 1994 Jim Kingdon ([email protected])
* exec.c (map_vmap): Cast return from xmalloc to its proper type,
not to PTR.
* symfile.c (reread_symbols): Include bfd_errmsg string in error
message if bfd_close fails.
* exec.c (exec_close), solib.c (clear_solib), corelow.c
(core_close), objfiles.c (free_objfile), irix5-nat.c
(clear_solib), osfsolib.c (clear_solib), remote-utils.c
(gr_load_image): Check for errors from bfd_close.
* solib.c (look_for_base), remote-utils.c (gr_load_image),
remote-udi.c (download), corelow.c (core_open), symfile.c
(symfile_bfd_open), symfile.c (generic_load): Add comment
regarding error from bfd_close.
* remote-udi.c (download), remote-utils.c (gr_load_image): Add
comment about bogus handling of errors from bfd_openr.
* exec.c (exec_close): Add comment regarding memory leak and
dangling reference to vp->name.
Sat Oct 15 03:43:00 1994 Peter Schauer ([email protected])
* eval.c (evaluate_subexp): Make fnptr a LONGEST instead
of using longest_to_int.
* infcmd.c (run_stack_dummy): Reinstate set_current_frame call,
mips and alpha targets need the real breakpoint pc for
creating the breakpoint frame.
* stack.c (return_command): Cast return value to the return
type of the function from which we return.
* values.c (set_return_value): Pass VALUE_CONTENTS unmodified
to STORE_RETURN_VALUE.
* symtab.c (lookup_symbol): Remove search for `static mangled
symbols', the search for `static symbols' already looks for
mangled and demangled symbols via lookup_block_symbol.
* valarith.c (value_binop): Use ANSI C arithmetic conversions
when performing integral evaluations, implement BINOP_EQUAL and
BINOP_LESS.
(value_equal, value_less): Use value_binop to perform the
comparison if both operands have TYPE_CODE_INT.
* rs6000-tdep.c (pop_frame): Make sure all registers are valid,
as they are written back later. Handle sp restore for frameless
functions. Use fdata.nosavedpc instead of fdata.frameless to
determine if the pc has been saved.
(function_frame_info): Handle `mr r31,r1', which is generated by
gcc-2.6, as a synonym for `oril r31,r1,0'.
(skip_trampoline_code): Handle shared library trampolines.
* xcoffread.c (read_xcoff_symtabs): Record XMC_GL symbols with
their real name. Enables setting of breakpoints in shared libraries
before the executable is run.
Fri Oct 14 19:39:47 1994 Rob Savoye <[email protected]>
* monitor.h, remote-mon.c: Hack up to so the old ROM monitor
interface code still works with the new ROM monitor
structures. Fake out a couple of fields.
Fri Oct 14 14:54:37 1994 Stan Shebs ([email protected])
* h8500-tdep.c (target_read_sp, target_write_sp, target_read_pc,
target_write_pc, target_read_fp, target_write_fp): Rename to
h8500_read_sp, etc.
(h8500_read_pc, h8500_write_pc): Add pid argument.
* config/h8500/tm-h8500.h (TARGET_READ_SP, TARGET_WRITE_SP,
TARGET_READ_PC, TARGET_WRITE_PC, TARGET_READ_FP, TARGET_WRITE_FP):
Change to match functions above.
Thu Oct 13 13:24:29 1994 Jim Kingdon ([email protected])
* NEWS: Add item about if and while.
* .gdbinit: Restore `end'; it was not excess. Reindent
list-objfiles to make this clear. Comment out all of
list-objfiles because old gdb's choke on it.
Wed Oct 12 23:19:08 1994 Ian Lance Taylor <[email protected]>
* config/mips/tm-bigmips64.h: Just define TARGET_BYTE_ORDER and
include tm-mips64.h.