]> Git Repo - binutils.git/blob - gdb/ChangeLog
* symfile.c (symfile_bfd_open): Change ifdef from __WIN32__ to
[binutils.git] / gdb / ChangeLog
1 Thu Aug  8 10:12:36 1996  Stu Grossman  ([email protected])
2
3         * symfile.c (symfile_bfd_open):  Change ifdef from __WIN32__ to
4         _WIN32.
5
6         * somread.c:  Rearrange order of includes to fix warnings under
7         hpux-10.10.  Also don't include sys/file.h.
8
9 Wed Aug  7 21:45:52 1996  Stu Grossman  ([email protected])
10
11         * dbxread.c:  Don't include param.h or sys/file.h.
12         * (dbx_symfile_read):  Determine symfile_relocatable from bfd
13         flags instead of file extension.  Also clean up a little bit.
14
15 Wed Aug  7 17:18:37 1996  Stu Grossman  ([email protected])
16
17         * dwarf2read.c dwarfread.c exec.c infcmd.c infrun.c main.c
18         mdebugread.c os9kread.c source.c top.c utils.c:  Don't
19         include param.h or sys/file.h (or unistd.h in some cases).
20         * defs.h exec.c inflow.c remote-array.c remote-e7000.c
21         sparcl-tdep.c terminal.h utils.c:  Replace all occurances of
22         __WIN32__, WINGDB, WIN32, etc... with _WIN32.
23         * main.c:  Remove #ifndef WINGDB around option processing.  Fix
24         bug with passing argc==0 and argv==NULL to getopt.
25         * (main) Remove calls to access() before source_command.  Let
26         soure_command handle access errors.
27         * maint.c (maintenance_dump_me):  #ifdef out for _WIN32.
28         * symtab.c (operator_chars):  Make this global for wingdb.
29         * top.c (disconnect):  #ifdef out for _WIN32.
30         * (source_command):  If got an error and from_tty, then call print
31         error, else just return quietly.
32         * utils.c (fatal_dump_core):  Can't kill ourselves under windows.
33         Just exit.
34         * (pollquit notice_quit):  #ifdef out stuff that doesn't exist
35         under windows. 
36
37 Wed Aug  7 09:59:19 1996  Jeffrey A Law  ([email protected])
38
39         * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for
40         structures > 4 bytes in size.
41
42         * valops.c (call_function_by_hand): Handle aligning stacks that
43         grow up correctly.
44         * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define.
45         (STACK_ALIGN): Define.
46         * hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte
47         alignment on structs/unions.
48         
49 Sun Aug  4 16:22:42 1996  Fred Fish  <[email protected]>
50
51         * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Define to "int *",
52         which is the documented type under at least AIX 3 and AIX 4.
53         
54 Sat Aug  3 04:02:46 1996  Fred Fish  <[email protected]>
55
56         * config/alpha/alpha-osf3.mh (XM_FILE): Change from xm-alpha.h to
57         xm-alphaosf.h.
58         (MMALLOC_CFLAGS): Define NO_MMCHECK to not install consistency
59         checks.
60
61 start-sanitize-gdbtk
62 Thu Aug  1 20:35:01 1996  Tom Tromey  <[email protected]>
63
64         * gdbtk.c (mainWindow): Deleted.
65         (cleanup_init): Don't destroy main window.
66         (gdbtk_init): Main window now created by Tk_Init.
67
68         * configure.in: Most X checks now handled automatically by Tk.
69         Use new macros to find Tcl/Tk.
70         * aclocal.m4: New version for new Tcl/Tk; from Don Libes.
71         * config.in, configure: Regenerated.
72
73         * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS,
74         X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk.
75
76 end-sanitize-gdbtk
77 Thu Aug  1 10:11:34 1996  Fred Fish  <[email protected]>
78
79         * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in
80         this, define when contents are included.
81         (mips_read_processor_type): Add prototype.
82         * config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h
83         * mdebugread.c (ecoff_relocate_efi): Add prototype.
84         (fixup_sigtramp): Only needed when TM_MIPS_H is defined.
85
86 start-sanitize-gdbtk 
87 Thu Aug  1 16:12:05 1996  Jason Molenda  ([email protected])
88
89         * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir).
90
91 end-sanitize-gdbtk
92 Wed Jul 31 20:21:24 1996  Fred Fish  <[email protected]>
93
94         * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value.
95         (vmap_ldinfo): Ensure got_exec_file is not used uninitialized.
96         (fetch_core_registers): Add prototype.
97         (vmap_symtab): Ditto.
98         (objfile_symbol_add): Ditto.
99         (add_vmap): Ditto.
100         (vmap_ldinfo): Ditto.
101         (vmap_exec): Ditto.
102
103 Tue Jul 30 17:57:46 1996  Stan Shebs  <[email protected]>
104
105         * stabsread.c (get_substring): Declare second arg as int.
106
107         * remote-es.c: Include gdb_string.h after defs.h.
108
109 Mon Jul 29 21:13:20 1996  Fred Fish  <[email protected]>
110
111         * rs6000-tdep.c (push_arguments): Remove unused variable "pc".
112         (branch_dest): Remove unused variable "offset".
113         (pop_dummy_frame): Add prototype and make static.
114         (push_arguments): Guard against using len uninitialized.
115         (push_arguments): Guard against using arg uninitialized.
116         (frame_saved_pc): Remove unused variable "frameless".
117         (free_loadinfo): Ifdef out unused function.
118
119         * xcoffread.c (compare_lte): Change prototype and function to
120         be correct type for passing to qsort.
121         (add_stab_to_list): Ifdef out unused function and prototype.
122         (compare_lte): Add prototype
123         (arrange_linetable): Ditto.
124         (record_include_begin): Ditto.
125         (record_include_end): Ditto.
126         (process_linenos): Ditto.
127         (xcoff_next_symbol_text): Ditto.
128         (scan_xcoff_symtab): Ditto.
129         (xcoff_initial_scan): Ditto.
130
131         * mips-tdep.c (mips_read_processor_type): Add parens around
132         bitwise-and operands in comparison; previous expression always
133         evaluated to 0 because of equality comparison of two constants.
134
135         * rs6000-tdep.c (skip_prologue): Add missing parens around
136         operands of logical-or so that first operand does not bind
137         to previous logical-and.
138
139         * configure.in: Expand "long long" test to include code that triggers
140         known problem on HPUX with native compiler.
141         (configure): Regenerated.
142
143 Mon Jul 29 18:12:27 1996  Jeffrey A Law  ([email protected])
144
145         * somsolib.c (som_solib_create_inferior_hook): Don't
146         warn if __d_pid can't be found.
147
148 Sun Jul 28 10:46:39 1996  Fred Fish  <[email protected]>
149
150         * config/mips/tm-mips.h (struct frame_info): Forward decl.
151         (struct type): Ditto.
152         (struct value): Ditto.
153
154         * config/mips/tm-mips.h (sigtramp_address): Move extern decl
155         from mips-tdep.c to here.
156         (sigtramp_end): Ditto.
157         (fixup_sigtramp): Ditto.
158
159         * config/mips/tm-mips.h (init_extra_frame_info): Add prototype.
160         (mips_frame_chain): Ditto.
161         (mips_step_skips_delay): Ditto.
162         (mips_frame_saved_pc): Ditto.
163         (mips_find_saved_regs): Ditto.
164         (mips_frame_num_args): Ditto.
165         (mips_pop_frame): Ditto.
166         (mips_extract_return_value): Ditto.
167         (mips_store_return_value): Ditto.
168         (mips_push_dummy_frame): Ditto.
169         (mips_push_arguments): Ditto.
170         (mips_do_registers_info): Ditto.
171         (ecoff_relocate_efi): Ditto.
172         (ecoff_relocate_efi): Ditto.
173         * irix4-nat.c (fetch_core_registers): Add prototype.
174         * mips-tdep.c (read_next_frame_reg): Add prototype
175         (heuristic_proc_start): Ditto.
176         (heuristic_proc_desc): Ditto.
177         (mips_print_register): Ditto.
178         * config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype.
179         (procfs_stopped_by_watchpoint): Ditto.
180         * config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype.
181         (procfs_stopped_by_watchpoint): Ditto.
182         * config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype.
183         (struct symbol): Add forward decl for prototype.
184
185         * breakpoint.c (internal_breakpoint_number): Only needed if
186         GET_LONGJMP_TARGET or SOLIB_ADD is defined.
187
188         * objfiles.c (ecoff_relocate_efi): Remove prototype.
189
190 Sat Jul 27 17:47:35 1996  Fred Fish  <[email protected]>
191
192         * configure.in: Add test for "long long" support.
193         * configure: Regenerate with autoconf.
194         * acconfig.h: Add CC_HAS_LONG_LONG
195         * config.in: Regenerate with autoheader.
196         * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove
197         * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove.
198         * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove.
199         * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove.
200         * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove
201         (PRINTF_HAS_LONG_LONG): Remove.
202         (FORCE_LONG_LONG): Remove.
203         * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version.
204         * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove
205         (PRINTF_HAS_LONG_LONG): Remove.
206         * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove.
207         (PRINTF_HAS_LONG_LONG): Remove.
208         * config/pa/tm-hppa.h (GET_FIELD): Put parens around
209         subtraction inside shift.  Put parens around subtraction
210         in operand of bitwise and.
211         (struct frame_info): Forward declare
212         if __STDC__ defined.
213         (frame_saved_regs): Ditto.
214         (struct value): Ditto.
215         (struct type): Ditto.
216         (struct inferior_status): Ditto.        
217         (init_extra_frame_info): Add prototype.
218         (skip_prologue): Ditto.
219         (frameless_function_invocation): Ditto.
220         (frame_chain): Ditto.
221         (frame_chain_valid): Ditto.
222         (saved_pc_after_call): Ditto.
223         (hppa_fix_call_dummy): Ditto.   
224         (hppa_push_arguments): Ditto.
225         (pa_do_registers_info): Ditto.
226         (in_solib_call_trampoline): Ditto.
227         (in_solib_return_trampoline): Ditto.
228         (push_dummy_frame): Ditto.
229         * convex-tdep.c (decout): Use print_longest rather than
230         fprintf_filtered.
231         * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set
232         CC_HAS_LONG_LONG.
233         (INT_MIN): Fix so it works correctly when assigned to a long long.
234         * valprint.c (longest_to_int): Rewrite to remove dependence
235         on INT_MIN and INT_MAX.
236         (print_longest): Rewrite the code that falls back to synthesized
237         hex output when LONGEST value is not representable as in a long and
238         printf doesn't support printing long longs.
239         * ch-valprint.c (chill_val_print): Cast 2nd arg of
240         chill_print_type_scalar to LONGEST.
241         chill_print_type_scalar): Make static and add prototype.
242         * hppa-tdep.c (get_field): Ifdef out unused function.
243         (set_field): Ditto.
244         (extract_3): Ditto.
245         (extract_5_store): Ditto.
246         (extract_11): Ditto.
247         (extract_12): Ditto.
248         (deposit_17): Ditto.
249         (extract_14): Convert to static and add prototype.
250         (deposit_14): Ditto.
251         (extract_21): Ditto.
252         (deposit_21): Ditto.
253         (extract_17): Ditto.
254         (extract_5r_store): Ditto.
255         (extract_5R_store): Ditto.
256         (extract_5_load): Ditto.
257         (find_proc_framesize): Ditto.
258         (find_dummy_frame_regs): Ditto.
259         (sign_extend): Ditto.
260         (find_unwind_entry): Add prototype.
261         (find_return_regnum): Ditto.
262         (unwind_command): Ditto.
263         (find_dummy_frame_regs): Add parens around subtraction in operand
264         of bitwise-and.
265         (skip_prologue): Add parens around operands of logical-and inside
266         operand of logical-or.
267         (sign_extend): Add parens around operands of subtraction inside
268         operand of shift.
269         (low_sign_extend): Ditto.
270         * top.c (filename_completer): Convert old style decl of
271         filename_completion_function into prototype.
272         * f-lang.c (patch_common_entries): Ifdef out unused function.
273         * stabsread.c (read_cfront_baseclasses): Remove unused local
274         variable "msg_noterm".
275         (resolve_cfront_continuation): Remove unused local variable "fip".
276         (read_type): Remove unused variable xtypenums.
277         (read_cfront_static_fields): Remove unused variable "i".
278         (read_cfront_static_fields): Remove unused variable "nfields".
279         (read_cfront_member_functions): Add missing comment terminator.
280         (read_cfront_static_fields): Return 1 rather than random value.
281         (read_cfront_baseclasses): Ditto.
282         (read_cfront_baseclasses): Ditto.
283         (read_cfront_baseclasses): Ditto.
284         * somsolib.c (som_solib_create_inferior_hook): Remove unused
285         variable "u".
286         (som_solib_create_inferior_hook): Remove unused variable
287         shadow_contents.
288         (language.h): Add for needed prototypes.
289         (som_solib_sharedlibrary_command): Add prototype.
290         * hpread.c: (hpread_read_array_type): Add prototype.
291         * somread.c (hpread_build_pysmtabs): Add prototype.
292         (hpread_symfile_finish): Ditto.
293         (hpread_symfile_init): Ditto.
294         * hppah-nat.c (fetch_register): Convert old style decl
295         to prototype.
296         (gdbcore.h): Include for needed prototypes.
297         (fetch_register): Remove unused variable "mess".
298         * remote-pa.c (get_offsets): Ifdef out unused function.
299         (remote_start_remote): Remove unused variable "timeout".
300         (boot_board): Add prototype.
301         (reaad_frame): Add prototype.
302         (getpkt): Remove unused variable "bp".
303         (remote_kill): Add prototype.
304         (remote_mourn): Add prototype.
305         (remote_insert_breakpoint): Add prototype.
306         (remote_remove_breakpoint): Add prototype.
307         * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined.
308         * infcmd.c (do_registers_info): Only need prototype if
309         DO_REGISTERS_INFO is not defined.
310         (breakpoint_auto_delete_contents): Only need if
311         CALL_DUMMY_BREAKPOINT_OFFSET is defined.
312
313 Sat Jul 27 08:49:49 1996  Fred Fish  <[email protected]>
314
315         * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.
316         (END_PSYMTAB): Ditto.
317         (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
318
319 Fri Jul 26 14:07:37 1996  Ian Lance Taylor  <[email protected]>
320
321         * printcmd.c (_initialize_printcmd): Initialize
322         tm_print_insn_info.flavour.
323 start-sanitize-gdbtk
324         * gdbtk.c (gdb_disassemble): Initialize di.flavour.
325 end-sanitize-gdbtk
326
327 Thu Jul 25 19:41:31 1996  Fred Fish  <[email protected]>
328
329         * Makefile.in (scm-valprint.o): Depends upon gdbcore_h.
330         (arm-tdep.o): Ditto.
331         (dcache.o): Ditto.
332         (i386ly-tdep.o): Ditto.
333         (i960-tdep.o): Ditto.
334         (m68k-tdep.o): Ditto.
335         (nindy-tdep.o): Ditto.
336         (scm-lang.o): Ditto.
337         (w65-tdep.o): Ditto.
338         (z8k-tdep.o): Ditto.
339         (m68k-tdep.o): Depends upon value_h and gdb_string.h
340         (m2-valprint.o): Depends upon m2-lang.h.
341         (sparc-tdep.o): Depends upon gdb_string.h
342         (valprint.o): Depends upon valprint.h
343         
344         * remote-e7000.c (notice_quit): Remove prototype.
345         * top.c (initialize_targets): Remove prototype, now in target.h.
346         * stabsread.c (resolve_cfront_continuation): Remove prototype.
347         * dbxread.c (resolve_cfront_continuation): Remove prototype.
348         * symfile.h (set_demangling_style): Remove prototype.
349         * config/tm-sysv4.h (in_plt_section): Remove prototype, in objfiles.h.
350         * config/sparc/tm-sparc.h (single_step): Remove extern decl, now in
351         target.h.
352         * config/arc/tm-arc.h (one_stepped, single_step): Remove extern decls,
353         now in target.h.
354         * ser-unix.c (hardwire_restore): Remove obsolete prototype.
355         * sparc-tdep.c (single_step): Remove forward decl of isbranch.
356         * scm-lang.c (find_function_in_inferior): Remove prototype.
357         (value_allocate_space_in_inferior): Ditto.
358         * infrun.c (write_pc_pid): Remove prototype, now in inferior.h.
359         * defs.h (strchr): Remove declarations, they are declared in
360         gdb_string.h also.
361         (strrchr): Ditto.
362         (strstr): Ditto.
363         (strtok): Ditto.
364         (strerror): Ditto.
365         * f-valprint.c (f77_print_array_1): Remove extra arg that was being
366         passed to f77_print_array_1.
367         * gdbtypes.c (add_name): Remove unused variables lenstrlen and lenstr.
368         * scm-exp.c (scm_istr2int): Remove unused variable "j".
369         (scm_parse): Remove unused variable "str".
370         * hp300ux-nat.c (store_inferior_register): Remove unused variable
371         "buf".
372         (store_inferior_registers): Remove unnecessary decl "registers".
373         * m68k-tdep.c (m68k_pop_frame): Remove unused variable "fi".
374         * scm-lang.c (scm_get_field): Remove unused variable "val".
375         (scm_lookup_name): Remove unused variable "symval".
376         * objfiles.c (map_to_file): Remove unused local variable "tempfd".
377         * procfs.c (do_attach, do_detach): Remove unused variable "result".
378         (last_resume_pid): Remove unused static variable.
379         * alpha-tdep.c (alpha_linux_sigtramp_offset): Remove unused variable
380         "res".
381         * objfiles.c (map_to_address): Remove unused function.
382         * f-valprint.c (print_max): Remove extraneous extern decl,
383         in valprint.h.
384         (calc_f77_array_dims): Remove extraneous prototype, in f-lang.h.
385         * ch-exp.c (write_lower_upper_value): Remove prototype for
386         type_lower_upper.
387
388         * gdbtypes.c (cfront_mangle_name): #ifdef out unused function.
389         * ch-exp.c (parse_mode_call): Ditto.
390         * f-valprint.c (there_is_a_visible_common_named): Ditto.
391         * f-lang.c (clear_function_list): Ditto.
392         (get_bf_for_fcn): Ditto.
393         (clear_bf_list): Ditto.
394         (add_common_block): Ditto.
395         (patch_all_commons_by_name): Ditto.
396         (find_first_common_named): Ditto.
397         (add_common_entry): Ditto.
398         (allocate_saved_function_node): Ditto.
399         (allocate_saved_bf_node): Ditto.
400         (allocate_common_entry_node): Ditto.
401         (allocate_saved_f77_common_node): Ditto.
402         
403         * arm-tdep.c (gdbcore.h): Include for necessary prototypes.
404         * dcache.c (gdbcore.h): Ditto.
405         * i386ly-tdep.c (gdbcore.h): Ditto.
406         * i960-tdep.c (gdbcore.h): Ditto.
407         * m2-valprint.c (m2-lang.h): Ditto.
408         * m68k-tdep.c (gdbcore.h): Ditto.
409         (value.h): Ditto.
410         (gdb_string.h): Ditto.
411         * nindy-tdep.c (gdbcore.h): Ditto.
412         * scm-lang.c (gdbcore.h): Ditto.
413         * scm-valprint.c (gdbcore.h): Ditto.
414         * w65-tdep.c (gdbcore.h): Ditto.
415         * z8k-tdep.c (gdbcore.h): Ditto.
416         * sparc-tdep.c (gdb_string.h): Include.
417         * valprint.c (valprint.h): Include.
418
419         * config/xm-lynx.h: Remove part of comment about INT_MIN
420         redefined warnings from defs.h, since INT_MIN define in
421         defs.h is now protected by #ifndef INT_MIN.
422         * config/i386/xm-i386bsd.h: Ditto.
423         * config/m68k/xm-hp300bsd.h: Ditto.
424         * config/m68k/xm-news.h: Ditto.
425
426         * config/pa/xm-hppah.h (INT_MIN): Remove bogus INT_MIN
427         definition as 0x80000000.  The macro in defs.h is better.
428         * config/i386/xm-i386m3.h (INT_MIN): Ditto.
429         * config/i386/xm-i386mach.h (INT_MIN): Ditto.
430         * config/ns32k/xm-ns32km3.h (INT_MIN): Ditto.
431         * config/pa/xm-hppab.h: Ditto.
432
433         * core-aout.c (fetch_core_registers): Add prototype.
434         * hp300ux-nat.c (fetch_inferior_register): Ditto.
435         (store_inferior_register_1): Ditto.
436         (store_inferior_register): Ditto.
437         * config/m68k/tm-m68k.h (find_saved_regs): Ditto.
438         *scm-valprint.c (c_val_print): Ditto.
439         * procfs.c (add_fd): Ditto.
440         (remove_fd): Ditto.
441         (wait_fd): Ditto.
442         (sigcodename): Ditto.
443         (sigcodedesc): Ditto.
444         (procfs_kill_inferior): Ditto.
445         (procfs_xfer_memory): Ditto.
446         (procfs_store_registers): Ditto.
447         (create_procinfo): Ditto.
448         (procfs_init_inferior): Ditto.
449         (proc_set_exec_trap): Ditto.
450         (procfs_attach): Ditto.
451         (procfs_detach): Ditto.
452         (procfs_prepare_to_store): Ditto.
453         (procfs_files_info): Ditto.
454         (procfs_open): Ditto.
455         (procfs_wait): Ditto.
456         (procfs_fetch_registers): Ditto.
457         (procfs_mourn_inferior): Ditto.
458         (procfs_can_run): Ditto.
459         (procfs_thread_alive): Ditto.
460         (procfs_stop): Ditto.
461         * alpha-nat.c (fetch_core_registers): Ditto.
462         * config/alpha/tm-alpha.h (alpha_osf_skip_sigtramp_frame): Ditto.
463         * objfiles.c (ecoff_relocate_efi): Ditto.
464         * inflow.c (pass_signal): Ditto.
465         (handle_sigio): Ditto.
466         * annotate.c (breakpoint_changed): Ditto.
467         * callback.c (wrap): Ditto.
468         (fdbad): Ditto.
469         (fdmap): Ditto.
470         * utils.c (malloc_botch): Ditto.
471         (fputs_maybe_filtered): Ditto.
472         (vfprintf_maybe_filtered): Ditto.
473         * defs.h (notice_quit): Ditto.
474         * defs.h (xmalloc, xrealloc): Ditto.
475         * top.c (stop_sig): Ditto.
476         (init_signals): Ditto.
477         (user_defined_command): Ditto.
478         (source_cleanup_lines): Ditto.
479         (dont_repeat_command): Ditto.
480         (serial_log_command): Ditto.
481         (disconnect): Ditto.
482         * target.h (initialize_targets): Ditto.
483         * os9kread.c (read_minimal_symbols): Ditto.
484         * mdebugread.c (mdebug_psymtab_to_symtab): Ditto.
485         (fdr_name): Ditto.
486         (push_parse_stack): Ditto.
487         (pop_parse_stack): Ditto.
488         (is_pending_symbol): Ditto.
489         (add_pending): Ditto.
490         * serial.c (serial_logchar): Ditto.
491         (serial_interface_lookup): Ditto.
492         * serial.h (serial_log_command): Ditto.
493         * f-valprint.c (info_common_command): Ditto.
494         * gdbtypes.h (print_type_scalar): Ditto.
495         * scm-valprint.c (scm_scmlist_print): Ditto.
496         (scm_ipruk): Ditto.
497         * scm-lang.c (scm_printstr): Ditto.
498         (in_eval_c): Ditto.
499         (evaluate_subexp_scm): Ditto.
500         * scm-exp.c (scm_read_token): Ditto.
501         (scm_skip_ws): Ditto.
502         (scm_lreadparen): Ditto.
503         * m2-lang.c (emit_char): Ditto.
504         (m2_printchar): Ditto.
505         (m2_printstr): Ditto.
506         (m2_create_fundamental_type): Ditto.
507         * f-lang.c (emit_char): Ditto.
508         (f_printchar): Ditto.
509         (f_printstr): Ditto.
510         (f_create_fundamental_type): Ditto.
511         * ch-lang.c (chill_printchar): Ditto.
512         (chill_printstr): Ditto.
513         (chill_create_fundamental_type): Ditto.
514         (value_chill_length): Ditto.
515         (value_chill_card): Ditto.
516         (value_chill_max_min): Ditto.
517         (evaluate_subexp_chill): Ditto.
518         * ch-exp.c (PEEK_TOKEN): Ditto.
519         (peek_token_): Ditto.
520         (forward_token_): Ditto.
521         (parse_case_label): Ditto.
522         (parse_opt_untyped_expr): Ditto.
523         (parse_unary_call): Ditto.
524         (parse_call): Ditto.
525         (parse_named_record_element): Ditto.
526         (parse_tuple_element): Ditto.
527         (parse_opt_element_list): Ditto.
528         (parse_tuple): Ditto.
529         (parse_primval): Ditto.
530         (parse_operand6): Ditto.
531         (parse_operand5): Ditto.
532         (parse_operand4): Ditto.
533         (parse_operand3): Ditto.
534         (parse_operand2): Ditto.
535         (parse_operand1): Ditto.
536         (parse_operand0): Ditto.
537         (parse_expr): Ditto.
538         (parse_then_alternative): Ditto.
539         (parse_else_alternative): Ditto.
540         (parse_if_expression): Ditto.
541         (parse_untyped_expr): Ditto.
542         (growbuf_by_size): Ditto.
543         (match_simple_name_string): Ditto.
544         (decode_integer_value): Ditto.
545         (decode_integer_literal): Ditto.
546         (match_float_literal): Ditto.
547         (match_float_literal): Ditto.
548         (match_string_literal): Ditto.
549         (match_character_literal): Ditto.
550         (match_integer_literal): Ditto.
551         (match_bitstring_literal): Ditto.
552         (write_lower_upper_value): Ditto.
553         * ch-lang.h (type_lower_upper): Ditto.
554         * c-lang.c (emit_char): Ditto.
555         * dwarfread.c (free_utypes): Ditto.
556         * stabsread.h (resolve_cfront_continuation): Ditto.
557         * stabsread.c (get_substring): Ditto.
558         (read_one_struct_field): Ditto.
559         * stabsread.h (process_later): Ditto.
560         * demangle.c (set_demangling_command): Ditto.
561         * defs.h (set_demangling_style): Ditto.
562         * maint.c (maintenance_info_command): Ditto.
563         (print_section_table): Ditto.
564         (maintenance_info_sections): Ditto.
565         (maintenance_print_command): Ditto.
566         * symtab.h (maintenance_print_statistics): Ditto.
567         * objfiles.h (in_plt_section): Ditto.
568         * objfiles.c (add_to_objfile_sections): Ditto.
569         * bcache.c (hash): Ditto.
570         (lookup_cache): Ditto.
571         * exec.c (bfdsec_to_vmap): Ditto.
572         (ignore): Ditto.
573         * f-exp.y (growbuf_by_size, match_string_literal): Ditto.
574         * language.c (unk_lang_printchar): Ditto.
575         (unk_lang_printstr): Ditto.
576         (unk_lang_create_fundamental_type): Ditto.
577         (unk_lang_print_type): Ditto.
578         (unk_lang_val_print): Ditto.
579         (unk_lang_value_print): Ditto.
580         * target.c (update_current_target): Ditto.
581         (debug_to_open): Ditto.
582         (debug_to_close): Ditto.
583         (debug_to_attach): Ditto.
584         (debug_to_detach): Ditto.
585         (debug_to_resume): Ditto.
586         (debug_to_wait): Ditto.
587         (debug_to_fetch_registers): Ditto.
588         (debug_to_store_registers): Ditto.
589         (debug_to_prepare_to_store): Ditto.
590         (debug_to_xfer_memory): Ditto.
591         (debug_to_files_info): Ditto.
592         (debug_to_insert_breakpoint): Ditto.
593         (debug_to_remove_breakpoint): Ditto.
594         (debug_to_terminal_init): Ditto.
595         (debug_to_terminal_inferior): Ditto.
596         (debug_to_terminal_ours_for_output): Ditto.
597         (debug_to_terminal_ours): Ditto.
598         (debug_to_terminal_info): Ditto.
599         (debug_to_kill): Ditto.
600         (debug_to_load): Ditto.
601         (debug_to_lookup_symbol): Ditto.
602         (debug_to_create_inferior): Ditto.
603         (debug_to_mourn_inferior): Ditto.
604         (debug_to_can_run): Ditto.
605         (debug_to_notice_signals): Ditto.
606         (debug_to_thread_alive): Ditto.
607         (debug_to_stop): Ditto.
608 start-sanitize-gdbtk
609         * gdbtk.c (null_routine): Ditto.
610         (gdbtk_flush): Ditto.
611         (gdbtk_fputs): Ditto.
612         (gdbtk_query): Ditto.
613         (gdbtk_readline): Ditto.
614         (gdbtk_readline_end): Ditto.
615         (gdb_get_breakpoint_list): Ditto.
616         (gdb_get_breakpoint_info): Ditto.
617         (breakpoint_notify): Ditto.
618         (gdbtk_create_breakpoint): Ditto.
619         (gdbtk_delete_breakpoint): Ditto.
620         (gdbtk_modify_breakpoint): Ditto.
621         (gdb_loc): Ditto.
622         (gdb_eval): Ditto.
623         (gdb_sourcelines): Ditto.
624         (map_arg_registers): Ditto.
625         (get_register_name): Ditto.
626         (gdb_regnames): Ditto.
627         (get_register): Ditto.
628         (gdb_fetch_registers): Ditto.
629         (register_changed_p): Ditto.
630         (gdb_changed_register_list): Ditto.
631         (gdb_cmd): Ditto.
632         (call_wrapper): Ditto.
633         (gdb_listfiles): Ditto.
634         (gdb_stop): Ditto.
635         (gdbtk_dis_asm_read_memory): Ditto.
636         (compare_lines): Ditto.
637         (gdb_disassemble): Ditto.
638         (tk_command): Ditto.
639         (cleanup_init): Ditto.
640         (gdbtk_interactive): Ditto.
641         (x_event): Ditto.
642         (gdbtk_wait): Ditto.
643         (gdbtk_call_command): Ditto.
644         (tk_command_loop): Ditto.
645         (gdbtk_init): Ditto.
646 end-sanitize-gdbtk
647         * breakpoint.h (set_breakpoint_sal): Ditto.
648         * remote-utils.c (usage): Ditto.
649         * remote.c (set_thread): Ditto.
650         (remote_thread_alive): Ditto.
651         (get_offsets): Ditto.
652         (read_frame): Ditto.
653         (remote_insert_breakpoint): Ditto.
654         (remote_remove_breakpoint): Ditto.
655         * sparc-nat.c (fetch_core_registers): Ditto.
656         * corelow.c (add_to_thread_list): Ditto.
657         (ignore): Ditto.
658         * inftarg.c (proc_wait): Ditto.
659         * infptrace.c (udot_info): Ditto.
660         (fetch_register): Ditto.
661         * ser-unix.c (hardwire_noflush_set_tty_state): Ditto.
662         (hardwire_print_tty_state): Ditto.
663         (hardwire_flush_output): Ditto.
664         (hardwire_flush_input): Ditto.
665         (hardwire_send_break): Ditto.
666         (hardwire_setstopbits): Ditto.
667         * ser-tcp.c (tcp_return_0): Ditto.
668         (tcp_noflush_set_tty_state): Ditto.
669         (tcp_print_tty_state): Ditto.
670         * solib.c (match_main): Ditto.
671         * gdbtypes.c (print_bit_vector): Ditto.
672         (print_arg_types): Ditto.
673         (dump_fn_fieldlists): Ditto.
674         (print_cplus_stuff): Ditto.
675         * symfile.h (entry_point_address): Ditto.
676         * symfile.c (decrement_reading_symtab): Ditto.
677         * valops.c (value_arg_coerce): Ditto.
678         * value.h (find_function_in_inferior): Ditto.
679         (value_allocate_space_in_inferior): Ditto.
680         * values.c (vb_match): Ditto.
681         * thread.c (info_thread_command): Ditto.
682         (restore_current_thread): Ditto.
683         (thread_apply_all_command): Ditto.
684         (thread_apply_command): Ditto.
685         * inferior.h (write_pc_pid): Ditto.
686         * infrun.c (delete_breakpoint_current_contents): Ditto.
687         * breakpoint.c (print_it_normal): Ditto.
688         (watchpoint_check): Ditto.
689         (print_it_done): Ditto.
690         (print_it_noop): Ditto.
691         (maintenance_info_breakpoints): Ditto.
692         (create_longjmp_breakpoint): Ditto.
693         (hbreak_command): Ditto.
694         (thbreak_command): Ditto.
695         (watch_commnd_1): Ditto.
696         (rwatch_command): Ditto.
697         (awatch_command): Ditto.
698         (do_enable_breakpoint): Ditto.
699         * ch-valprint.c (chill_val_print_array_elements): Ditto.
700         * eval.c (evaluate_subexp): Ditto.
701         (get_label): Ditto.
702         (evaluate_struct_tuple): Ditto.
703         * eval.c (init_array_element): Ditto.
704
705         * alpha-tdep.c (push_sigtramp_desc): Add prototype and make static.
706         * breakpoint.c (hw_breakpoint_used_count): Ditto.
707         (hw_watchpoint_used_count): Ditto.
708         * findvar.c (write_register_gen): Ditto.
709         (read_register_pid): Ditto.
710         * symtab.c (cplusplus_hint): Ditto.
711         * infcmd.c (breakpoint_auto_delete_contents): Ditto.
712         * ch-valprint.c (chill_print_type_scalar): Ditto.
713         * gdbtypes.c (add_name): Ditto.
714         (add_mangled_type): Ditto.
715         (cfront_mangle_name): Ditto.
716         * sparc-tdep.c (isbranch): Ditto.
717         * inftarg.c (child_stop): Ditto.
718         * win32-nat.c (child_stop): Ditto.
719         * mac-nat.c (child_stop): Ditto.
720         * remote-utils.c (sr_com): Ditto.
721         * dbxread.c (process_now): Ditto.
722         * ch-exp.c (require): Ditto.
723         (check_token): Ditto.
724         (expect): Ditto.
725         (parse_mode_call): Ditto.
726         (parse_mode_or_normal_call): Ditto.
727         * scm-lang.c (scm_lookup_name): Ditto
728         * f-lang.c (allocate_saved_bf_node): Ditto.
729         (allocate_saved_function_node): Ditto.
730         (allocate_saved_f77_common_node): Ditto.
731         (allocate_common_entry_node): Ditto.
732         (add_common_block): Ditto.
733         (add_common_entry): Ditto.
734         (find_first_common_named): Ditto.
735         (patch_common_entries): Ditto.
736         (patch_all_commons_by_name): Ditto.
737         (clear_bf_list): Ditto.
738         (get_bf_for_fcn): Ditto.
739         (clear_function_list):  Ditto.
740         * scm-exp.c (scm_istr2int): Ditto.
741         (scm_istring2number): Ditto.
742         * scm-valprint.c (scm_inferior_print): Ditto.
743         * f-typeprint.c (print_equivalent_f77_float_type): Ditto.
744         * f-valprint.c (f77_get_dynamic_length_of_aggregate): Ditto.
745         (f77_create_arrayprint_offset_tbl): Ditto.
746         (f77_print_array_1): Ditto.
747         (f77_print_array): Ditto.
748         (list_all_visible_commons): Ditto.
749         (there_is_a_visible_common_named): Ditto.
750         * mdebugread.c (ecoff_relocate_efi): Ditto.
751         * callback.c (os_close): Ditto.
752         (os_get_errno): Ditto.
753         (os_isatty): Ditto.
754         (os_lseek): Ditto.
755         (os_open): Ditto.
756         (os_read): Ditto.
757         (os_read_stdin): Ditto.
758         (os_write): Ditto.
759         (os_write_stdout): Ditto.
760         (os_rename): Ditto.
761         (os_system): Ditto.
762         (os_time): Ditto.
763         (os_unlink): Ditto.
764         (os_shutdown): Ditto.
765         (os_init): Ditto.
766         (os_printf_filtered): Ditto.
767
768         * scm-lang.h (scm_parse): Change old style decl to prototype.
769         * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset): Ditto.
770         * top.c (init_proc): Ditto.
771         (query_hook): Ditto.
772         (error_hook): Ditto.
773         * f-lang.c (c_value_print): Ditto.
774         * ch-exp.c (parse_expression): Ditto.
775         (parse_primval): Ditto.
776         (parse_untyped_expr): Ditto.
777         (parse_opt_untyped_expr): Ditto.
778         (ch_lex): Ditto.
779         * config/sparc/tm-sparc.h (sparc_init_extra_frame_info): Ditto.
780         (sparc_frame_saved_pc): Ditto.
781         (sparc_push_dummy_frame): Ditto.
782         (sparc_pop_frame): Ditto.
783         * defs.h (fclose): Ditto.
784         (atof): Ditto.
785         (error_hook): Ditto.
786
787         * arc-tdep.c (single_step): Change arg to type "enum target_signal".
788         * rs6000-tdep.c (single_step): Ditto.
789         * sparc-tdep.c (single_step): Ditto.
790
791         * breakpoint.c (cleanup_executing_breakpoints): Change unused arg type
792         to PTR which is what make_cleanup expects.
793         * utils.c (null_cleanup): Change arg type to PTR.
794         * defs.h (null_cleanup): Change prototype to match actual function.
795         * config/sparc/tm-sparc.h (struct frame_info): Move forward decl.
796         * ch-valprint.c (chill_val_print): Cast 2nd arg of
797         chill_print_type_scalar to LONGEST.
798         * infrun.c (wait_for_inferior): Have empty switch case for
799         BPSTAT_WHAT_CHECK_SHLIBS when SOLIB_ADD is not defined.
800         (stop_on_solib_events): Only needed if SOLIB_ADD is defined.
801         * infcmd.c (attach_command): Only need auto_solib_add if SOLIB_ADD
802         is defined.
803         * symfile.c (generic_load): Scan long int using a long int spec,
804         not an int spec.
805         * infptrace.c (udot_info): Only need local variables if KERNEL_U_SIZE
806         is defined.
807         (fetch_register): Only need function if FETCH_INFERIOR_REGISTERS is
808         not defined.
809         * inflow.c (handle_sigio): Only need prototype when the actual
810         function is compiled in.
811         * valprint.c (longest_to_int): Expand error message to be
812         separate messages for args larger than largest signed int
813         and args smaller than smallest signed int.
814         * valprint.c (print_longest): Fix problems with support for case
815         where compiler supports type "long long" but the runtime doesn't
816         support printing them with "%ll".
817         * scm-valprint.c (scm_scmlist_print, scm_scmval_print): Change
818         return types to void since we don't actually return anything
819         meaningful and callees ignore the values anyway.
820         * procfs.c (modify_inherit_on_fork_flag): Enclose pr_flags in PIOCSET
821         ifdef.
822         (modify_run_on_last_close_flag): Ditto.
823         (wait_fd): Enclose local variables "num_fds" and "i" LOSING_POLL
824         ifdef
825         * alpha-tdep.c (push_sigtramp_desc): Return proc_desc rather than
826         random value.
827         * infrun.c (wait_for_inferior): Ensure random_signal is not used
828         uninitialized.
829         * valops.c (call_function_by_hand): Ensure struct_addr is not used
830         uninitialized.
831         * breakpoint.c (watch_command_1): Ensure prev_frame is not used
832         uninitialized.
833         * utils.c (vfprintf_maybe_filtered): Change second arg from "char *"
834         to "const char *".
835 start-sanitize-gdbtk
836         * gdbtk.c (gdb_fetch_registers): Cast fourth arg to map_arg_registers
837         to proper pointer type, from int.
838         (gdbtk_query): Change first arg to "const char *" from "char *".
839 end-sanitize-gdbtk
840         * infptrace.c (udot_info): Add two dummy args so that the type is
841         correct for passing to add_info.
842         * f-lang.c (saved_fcn): Move decl to head of file so it can be used
843         in prototypes.
844         (saved_bf_symnum): Ditto.
845         (SAVED_FUNCTION): Ditto.
846         (SAVED_FUNCTION_PTR): Ditto.
847         (SAVED_BF): Ditto.
848         (SAVED_BF_PTR): Ditto.
849         * ch-exp.c (parse_named_record_element): Build error message in
850         temporary buffer before passing it to expect, rather than passing
851         wrong number of args to expect.
852         * demangle.c (set_demangling_style): Call set_demangling_command with
853         correct number of arguments.
854         * inferior.h (terminal_init_inferior_with_pgrp): Change arg type to
855         int to match actual function.
856         (os_isatty): Call fdmap with right number of arguments, was missing
857         the host_callback* arg.
858         * target.c (cleanup_target): Prototype all functions casts.
859         * target.h (one_stepped, single_step): Declare here and convert
860         single_step to prototype.
861         * infrun.c (one_stepped, single_step): Don't declare externs
862         here, they have moved to target.h.
863         * eval.c (init_array_element): Declare previously undeclared
864         last two args as LONGEST.
865         * dcache.c (dcache_xfer_memory):  Change xfunc decls to prototype form.
866 start-sanitize-gdbtk
867         * gdbtk.c (register_changed_p): Remove unused local variable "buf".
868 end-sanitize-gdbtk
869
870 Thu Jul 25 16:11:54 1996  Doug Evans  <[email protected]>
871
872         * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS.
873
874 Mon Jul 22 18:13:27 1996  Stu Grossman  ([email protected])
875
876         * Makefile.in (os9kread.o):  Remove dependency on partial-stab.h.
877         * dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h:  Don't
878         use partial_symtab->textlow==0 as a flag, as 0 is a legitimate
879         text address.  Use a seperate flag (textlow_not_set) instead.
880         This makes stabs in ELF .o files work a lot better.
881         * mdebugread.c xcoffread.c:  Define textlow_not_set for
882         partial-stab.h.
883         * stabsread.h (end_psymtab):  Add textlow_not_set arg to prototype.
884
885 start-sanitize-gdbtk
886 Sat Jul 20 17:46:40 1996  Fred Fish  <[email protected]>
887
888         * gdbtk.tcl (files_command): Reorder the binding tags for
889         the listbox widget to avoid referencing the listbox after
890         the containing widget has been destroyed by the action of
891         a previous binding.
892 end-sanitize-gdbtk
893
894 Sat Jul 20 10:41:06 1996  Fred Fish  <[email protected]>
895
896         * dwarf2read.c (struct filenames): Change internal "struct file"
897         to "struct fileinfo" to avoid conflict with "struct file" in
898         <sys/file.h> on HPUX and Solaris.
899
900 start-sanitize-gdbtk
901 Sat Jul 20 10:09:28 1996  Fred Fish  <[email protected]>
902
903         * gdbtk.tcl (delete_expr): Unset corresponding element of
904         expr_update_list when destroying an expression.
905         (create_expr_window): Initialize expr_num, delete_expr_num,
906         and expr_update_list here when each new expression window
907         is created, rather than once at startup.
908 end-sanitize-gdbtk
909
910 Fri Jul 19 14:05:57 1996  Stan Shebs  <[email protected]>
911
912         * dwarf2read.c: New file, DWARF 2 reader originally contributed by
913         Brent Benson, with additions by Gary Funck and Jerry Kreuscher.
914         * Makefile.in (COMMON_OBS): Add dwarf2read.o.
915         (SFILES): Add dwarf2read.c.
916         (dwarf2read.o): Add build rule.
917         * symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare
918         exported functions.
919         * elfread.c (elf_symfile_read): Call them.
920         (elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols.
921
922 Thu Jul 18 01:22:01 1996  Geoffrey Noer  <[email protected]>
923
924         * symfile.c (symfile_bfd_open): 
925         * exec.c (exec_file_command): for __GO32__ and __WIN32__ systems,
926         free the user from having to type the .exe extension.
927
928 Wed Jul 17 06:54:50 1996  Mark Alexander  <[email protected]>
929
930         * mon960-rom.c: Shorten the mon960_inits string to a single
931         carriage return; this prevents a hang on connecting immediately
932         after powerup, when MON960 is attempting autobaud detection.
933
934 Tue Jul 16 23:47:04 1996  Mark Alexander  <[email protected]>
935
936         * a29k-tdep.c (get_saved_register): Allow PC to be modified
937         when innermost frame is selected, but not in outer frames.
938
939 Tue Jul 16 23:37:25 1996  Stu Grossman  ([email protected])
940
941         * command.c (do_setshow_command):  Don't segfault when showing
942         var_string and var_string_noescape vars that are NULL.
943
944 Mon Jul 15 16:55:48 1996  Doug Evans  <[email protected]>
945
946         * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed to
947         cygwin32_conv_to_posix_path.
948         (child_create_inferior): unix_path_to_dos_path renamed to
949         cygwin32_conv_to_win32_path.  Rewrite code to translate PATH.
950
951 Mon Jul 15 16:44:05 1996  Stu Grossman  ([email protected])
952
953         * defs.h printcmd.c:  Create global disassemble_info structure
954         tm_print_insn_info.
955 start-sanitize-gdbtk
956         * gdbtk.c (gdb_disassemble):  Setup di.mach from
957         tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER.
958 end-sanitize-gdbtk
959         * i386-tdep.c (set_assembly_language_command):  set
960         tm_print_insn_info.mach to the appropriate value for 386 or 8086
961         disassembly.
962         * printcmd.c (print_insn):  Move init of disassembler_info to
963         _initialize_printcmd.  Set endian for disassembler here.
964         * sparc-tdep.c:  Set tm_print_insn_info.mach as appropriate to
965         select sparc/sparclite.
966         * config/sparc/{tm-sparc.h tm-sparclite.h}:  Get rid of
967         TM_PRINT_INSN.  Set TM_PRINT_INSN_MACH to
968         bfd_mach_sparc/bfd_mach_sparc_sparclite.
969
970 Fri Jul 12 19:04:32 1996  Fred Fish  <[email protected]>
971
972         * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc rather
973         than xmalloc/xrealloc.
974
975 Fri Jul 12 17:59:47 1996  Fred Fish  <[email protected]>
976
977         * objfiles.c (map_to_file): Error return from mmalloc_findbase is
978         a NULL pointer, not a -1.
979
980 Fri Jul 12 10:16:24 1996  Stu Grossman  ([email protected])
981
982         * i386-tdep.c (set_assembly_language_command):  New routine to
983         select between i386 and i8086 instruction sets for disassembly.
984         New command `set assembly-language {i386 i8086}'.
985
986 Thu Jul 11 21:13:21 1996  Mark Alexander  <[email protected]>
987
988         * monitor.c (monitor_write_memory, monitor_read_memory_single):
989         Disable use of "long long" memory read/write commands; can't
990         use them because we hold the values to read/write in an int
991         variable, and because strtoul fails on values that exceed the
992         size of a long.  This fixes breakpoint problems on MON960.
993
994 Thu Jul 11 11:39:31 1996  Fred Fish  <[email protected]>
995
996         * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition.
997         * config/pa/xm-hppah.h (HAVE_MMAP): Ditto.
998
999 Wed Jul 10 16:54:41 1996  Fred Fish  <[email protected]>
1000
1001         * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLE
1002         and MMALLOC_CHECK macros, and add comment indicating how host dependent
1003         makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or
1004         to use it but to not do heap corruption checking.
1005         * gdbserver/Makefile.in: Ditto.
1006         * utils.c (init_malloc): Replace warning() use with direct call of
1007         fprintf_unfiltered, since current_target has not yet been set and thus
1008         we cannot use warning().  If we try to use mmcheck and it fails,
1009         suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE
1010         defined.  Other small mmalloc related cleanups.
1011         * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.
1012         * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK.
1013
1014         * config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1015         * config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): 
1016         * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1017         * config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1018         * config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT);
1019         * config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1020         * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1021         * config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1022         Remove obsolete defines.
1023
1024         * config/alpha/alpha-linux.mh (MMALLOC_DISABLE):
1025         * config/alpha/alpha-osf1.mh (MMALLOC_DISABLE):
1026         * config/rs6000/rs6000.mh (MMALLOC_DISABLE):
1027         * config/rs6000/aix4.mh (MMALLOC_DISABLE):
1028         * config/powerpc/aix4.mh (MMALLOC_DISABLE):
1029         * config/powerpc/aix.mh (MMALLOC_DISABLE):
1030         * config/ns32k/ns32km3.mh (MMALLOC_DISABLE):
1031         * config/mips/mipsm3.mh (MMALLOC_DISABLE):
1032         * config/mips/decstation.mh (MMALLOC_DISABLE):
1033         * config/m88k/cxux.mh (MMALLOC_DISABLE):
1034         * config/i386/i386mk.mh (MMALLOC_DISABLE):
1035         * config/i386/i386m3.mh (MMALLOC_DISABLE):
1036         * config/i386/i386gnu.mh (MMALLOC_DISABLE):
1037         Use MMALLOC_CFLAGS instead.
1038
1039 Tue Jul  9 22:41:12 1996  Jeffrey A Law  ([email protected])
1040
1041         * h8300-tdep.c: Remove some outdated comments.
1042         (h8300_skip_prologue): Rework to be more correct for the H8/300H.
1043         Handle stm.l insns for the H8/S.
1044         (examine_prologue): Likewise.
1045
1046 Tue Jul  9 16:48:55 1996  Raymond Jou  <[email protected]>
1047
1048         * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf.
1049
1050 Mon Jul 08 08:50:39 1996  Mark Alexander  <[email protected]>
1051
1052         * mon960-rom.c (mon960_open): Add floating point detection to
1053         prevent hang on non-FPU processors (PR 9775).
1054         (mon960_cmds): Swap setmem.cmdw and setmem.cmdl to fix problem
1055         setting breakpoints and improve loading speed.
1056
1057 Sun Jul  7 14:57:34 1996  Fred Fish  <[email protected]>
1058
1059         * coffread.c (record_minimal_symbol): Don't presave name string
1060         on symbol_obstack before passing to prim_record_minimal_symbol.
1061         It now handles saving the string itself.
1062         * dbxread.c (read_dbx_dynamic_symtab): Ditto.
1063         * mipsread.c (read_alphacoff_dynamic_symtab): Ditto.
1064         * os9kread.c (record_minimal_symbol): Ditto.
1065         * solib.c (solib_add_common_symbols): Ditto.
1066
1067         * coffread.c (coff_symtab_read): Don't presave name string on
1068         symbol_obstack before passing to prim_record_minimal_symbol_and_info.
1069         It now handles saving the string itself.
1070         * dbxread.c (record_minimal_symbol): Ditto.
1071         * elfread.c (record_minimal_symbol_and_info): Ditto.
1072         
1073         * dstread.c (record_minimal_symbol): Remove static function that just
1074         called prim_record_minimal_symbol with the same args (after change to
1075         prim_record_minimal_symbol to do it's own name string saves).
1076         * nlmread.c (record_minimal_symbol): Ditto.
1077         * somread.c (record_minimal_symbol): Ditto.
1078
1079         * hpread.c (hpread_read_enum_type): Save symbol name on symbol obstack.
1080         (hpread_read_function_type): Ditto.
1081         (hpread_process_one_debug_symbol): Ditto.
1082         * mdebugread.c (parse_symbol): Ditto.
1083         (new_symbol): Ditto.
1084         * minsyms.c (prim_record_minimal_symbol_and_info): Ditto.
1085
1086         * coffread.c (process_coff_symbol): Use obsavestring to save
1087         SYMBOL_NAME, rather than obstack_copy0.
1088         * dstread.c (create_new_symbol): Ditto
1089         * symfile.c (obconcat): Ditto.
1090         * stabsread.c (patch_block_stabs): Ditto.
1091         * xcoffread.c (SYMNAME_ALLOC): Ditto.
1092
1093         * symfile.c (obsavestring): Update comments
1094         * solib.c (solib_add_common_symbols): Remove local var origname.
1095
1096 Wed Jul  3 15:56:08 1996  Stu Grossman  ([email protected])
1097
1098         * configure:  Re-build with autoconf-2.10.
1099
1100         * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
1101         config/sparc/tm-sparclite.h:  Initialize tm_print_insn from
1102         TM_PRINT_INSN, which comes from the tm file.
1103
1104 Tue Jul 02 21:41:20 1996  Mark Alexander  <[email protected]>
1105
1106         * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, 
1107         os9kread.c: Replace identical sym_offsets functions with
1108         default_symfile_offsets.
1109         * somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS
1110         macro to allocate section_offsets.
1111         * symfile.c (default_symfile_offsets): New function.
1112         * symfile.h: Declare default_symfile_offsets.
1113         * symtab.h: Define SIZEOF_SECTION_OFFSETS macro to
1114         simplify allocation of section_offsets.
1115
1116 Tue Jun 11 12:02:55 1996  Stu Grossman  ([email protected])
1117
1118         * Makefile.in (INTERNAL_LDFLAGS):  Add in flags from configure.
1119         * configure configure.in:  Only make sol-thread.o for native.
1120         Also, switch to dlopened libthread_db.so.1.
1121         * sol-thread.c:  Switch to using dlopen to get the thread_db
1122         library.
1123
1124 Thu Jun 13 16:53:25 1996  Stu Grossman  ([email protected])
1125
1126         * configure, configure.in:  Change test for libthread_db to only
1127         work for configs where build/host/target are the same.
1128
1129 Tue Jul  2 15:04:20 1996  Michael Meissner  <[email protected]>
1130
1131         * config/powerpc/{linux.mh,xm-linux.h}: New files, for Linux on
1132         PowerPC.
1133
1134         * configure.in (powerpc-*-linux): Add Linux, System V, and ELF
1135         support.
1136         * configure: Regenerate.
1137
1138 Mon Jul  1 13:00:43 1996  Stan Shebs  <[email protected]>
1139
1140         From Raymond Jou  <[email protected]>:
1141         * mpw-make.sed: Add lines to whack out autoconf hook
1142         @CONFIG_LDFLAGS@.
1143
1144 Mon Jul 01 11:07:15 1996  Mark Alexander  <[email protected]>
1145
1146         * remote-e7000.c (e7000_stop): New function.
1147
1148 Fri Jun 28 06:34:19 1996  Dawn Perchik  <[email protected]>
1149
1150         * configure, configure.in: Add target sparclet.
1151         * monitor.h, monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM
1152         (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if
1153         command to start process running on target is different from one
1154         to continue execution), MO_HEX_PREFIX (if addresses from monitor
1155         have a "0x" prefix).
1156         * monitor.c, parse.c, sparc-tdep.c: Don't require strings in the
1157         registers array.  This is to allow NULLs to be place holders in
1158         the tm-*.h file so that only minor changes are needed when a new
1159         processor is introduced (eg, one without floating point).
1160         * sparc-tdep.c: Conditionally remove dependancies on floating
1161         point.
1162         * sparclet-rom.c, config/sparc/sparclet.mt,
1163         config/sparc/tm-sparclet.h: New files for target sparclet.
1164         * symfile.c (load_command): Add option for 2nd parameter; a load
1165         offset added to the vma of each section.
1166
1167 Fri Jun 28 05:39:19 1996  Dawn Perchik  <[email protected]>
1168
1169         * main.c (main): Add option "l" for setting remote_timeout.
1170
1171 Fri Jun 28 05:25:18 1996  Dawn Perchik  <[email protected]>
1172
1173         * remote-e7000.c, remote.c, target.h, top.c: Add set option
1174         "remote_timeout" for setting remote_timeout.  Add set option
1175         "use_hard_breakpoints" for setting hardware .vs. memory
1176         breakpoints.
1177
1178 Fri Jun 28 04:32:18 1996  Dawn Perchik  <[email protected]>
1179
1180         * remote-e7000.c (e7000_parse_device): New function.
1181         Add option "tcp_remote" to target command if using 
1182         tcp to connect to a remote host which is then connected 
1183         via serial port to the e7000 (for exampole, a port master).
1184         (e7000_open): Change to call e7000_parse_device.
1185
1186 Fri Jun 28 03:47:17 1996  Dawn Perchik  <[email protected]>
1187
1188         * monitor.c (monitor_debug): Fix remotedebug buffering.
1189
1190 Thu Jun 27 18:24:17 1996  Stan Shebs  <[email protected]>
1191
1192         * config/i386/cygwin32.mh, config/powerpc/cygwin32.mh
1193         (NATDEPFILES): Add a space.
1194
1195 Wed Jun 26 06:05:39 1996  Wilfried Moser (Alcatel)  <[email protected]>
1196
1197         * gdbtypes.c (create_array_type): If TYPE_LENGTH (result_type)
1198         is zero, set TYPE_FLAG_TARGET_STUB to force reevaluation of the type.
1199
1200         * ch-exp.c (calculate_array_length): Function removed.
1201
1202 Tue Jun 25 17:41:06 1996  Martin M. Hunt  <[email protected]>
1203
1204         * remote-e7000.c (e7000_read_inferior_memory_large): New function.
1205         (e7000_xfer_inferior_memory): Call it.
1206
1207 Tue Jun 25 23:14:07 1996  Jason Molenda  ([email protected])
1208
1209         * gdb/gdbserver/Makefile.in (docdir): Removed.
1210
1211 Tue Jun 25 22:05:38 1996  Jason Molenda  ([email protected])
1212
1213         * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
1214         Use autoconf set values.
1215         (docdir): Removed.
1216         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1217         * nlm/Makefile.in (bindir, libdir, datadir, mandir, infodir, 
1218         includedir): Use autoconf set values.
1219         (docdir): Removed.
1220         * nlm/configure.in (AC_PREREQ): autoconf 2.5 or higher.
1221         * nlm/configure: Rebuilt.
1222         * gdb/gdbserver/Makefile.in (datadir): Set to $(prefix)/share.
1223
1224 Mon Jun 24 09:56:14 1996  Angela Marie Thomas ([email protected])
1225
1226         * stabsread.c (read_cfront_member_functions): add type
1227
1228 Sun Jun 23 23:40:48 1996  Doug Evans  <[email protected]>
1229
1230         * win32-nat.c: #include <unistd.h>.
1231         (unix_paths_to_dos_paths, dos_paths_to_unix_paths): Delete.
1232         (child_create_inferior): Convert only env var PATH to win32 style.
1233         (set_pathstyle_dos): Delete.
1234         (_initialize_inftarg): Delete dos-path-style command.
1235
1236 start-sanitize-gdbtk
1237 Fri Jun 21 11:04:47 1996  Fred Fish  <[email protected]>
1238
1239         * gdbtk.tcl (create_register_windows): Include missing '$'s.
1240         Add global declarations for various reg_format_* variables.
1241         * gdbtk.tcl (populate_register_window): Make initial window one
1242         line taller to account for new column header line.
1243
1244 Fri Jun 21 09:46:47 1996  Fred Fish  <[email protected]>
1245
1246         * gdbtk.c (get_register): Support for printing raw formats.
1247         * gdbtk.tcl: Add hint for using debug_interface.
1248         (center_window, add_breakpoint_frame, delete_breakpoint_frame):
1249         Enclose arg in braces for consistency.
1250         (create_registers_window, populate_reg_window, update_registers):
1251         Major rewrite to support displaying multiple formats in the register
1252         window.
1253         (init_reg_info): New function.
1254         (recompute_reg_display_list):  Reset reg_display_list, start
1255         register display lines at line 2.
1256
1257 end-sanitize-gdbtk
1258 Thu Jun 20 13:42:23 1996  Doug Evans  <[email protected]>
1259
1260         * configure.in: Revise sol-thread.o test.
1261         * configure: Regenerated.
1262
1263         * source.c (find_source_lines): Reassign size to result of read.
1264
1265 start-sanitize-gdbtk
1266 Thu Jun 20 08:18:59 1996  Fred Fish  <[email protected]>
1267
1268         * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to
1269         avoid backing up over prompt.  At every input, make sure insert
1270         point is at least after command start, handle control-u to delete
1271         current input line.
1272         (tclsh): Handle backspace to avoid backing up over prompt.  Handle
1273         control-u to delete current input line.
1274
1275 Wed Jun 19 17:23:38 1996  Geoffrey Noer  <[email protected]>
1276
1277         * configure.in: disable gdbtk for *cygwin32* hosted compiles
1278         * configure: regenerated with autoconf 2.8
1279
1280 end-sanitize-gdbtk
1281 Tue Jun 18 16:25:54 1996  Jeffrey A. Law  <[email protected]>
1282
1283         * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.
1284         (h8300_command): Likewise.
1285         (set_machine): Likewise.
1286         (set_machine_hook): Likewise.
1287         (_initialize_h8300m): Likewise.
1288
1289         * config/h8300/tm-h8300.h (h8300smode): Declare.
1290
1291 Sun Jun 16 15:21:51 1996  Jeffrey A. Law  <[email protected]>
1292
1293         * somsolib.c (som_solib_create_inferior_hook): Handle tracking
1294         of shl_load calls for hpux10.
1295
1296 Thu Jun 13 11:16:10 1996  Tom Tromey  <[email protected]>
1297
1298         * config.in: Regenerated.
1299         * acconfig.h (HAVE_THREAD_DB_LIB): Added entry.
1300
1301         * configure: Regenerated.
1302         * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
1303         avoid name clashes with SunOS headers.
1304
1305 Tue Jun 11 19:52:50 1996  Fred Fish  <[email protected]>
1306
1307         From Michael Snyder <[email protected]>:
1308         * bcache.c (print_bcache_statistics): Avoid divide-by-zero
1309         exception if one or more objfile has no symbols, such as when
1310         a dynamic library has been stripped.
1311
1312 Tue Jun 11 12:02:55 1996  Stu Grossman  ([email protected])
1313
1314         * Makefile.in (INTERNAL_LDFLAGS):  Add in flags from configure.
1315         * configure configure.in:  Only make sol-thread.o for native.
1316         Also, switch to dlopened libthread_db.so.1.
1317         * sol-thread.c:  Switch to using dlopen to get the thread_db
1318         library.
1319
1320 Mon Jun 10 14:17:19 1996  Fred Fish  <[email protected]>
1321
1322         * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS):
1323         Change from 0xE0000000 to 0xC0000000.
1324
1325 Thu Jun  6 17:10:32 1996  Michael Meissner  <[email protected]>
1326
1327         * config/powerpc/xm-solaris.h: Initial version of support for
1328         Solaris on PowerPC.
1329
1330 Wed Jun  5 01:52:57 1996  James G. Smith  <[email protected]>
1331
1332         * configure.in (configdirs): Force 4100 builds to use 4300 GDB
1333         target.
1334         * configure: Rebuild.
1335
1336         * config/mips/vr4300el.mt (SIM_OBS): Include simulator in
1337         little-endian builds.
1338         
1339 Mon Jun  3 11:48:29 1996  Jeffrey A Law  ([email protected])
1340
1341         * inftarg.c (child_thread_alive): Protect declaration with
1342         #ifndef CHILD_THREAD_ALIVE.
1343
1344         * source.c (find_source_lines): Check the time on the symtab's bfd if
1345         it exists, else check the time on the exec_bfd.
1346
1347 Thu May 30 09:43:17 1996  Mark Alexander <[email protected]>
1348
1349         * dsrec.c (make_srec):  Fix calculation of address size
1350         to allow addresses less than 0x100.
1351
1352 Thu May 30 04:24:09 1996  Wilfried Moser (Alcatel)  <[email protected]>
1353
1354         * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.
1355
1356 Tue May 28 16:15:47 1996  Geoffrey Noer  <[email protected]>
1357
1358         * remote-mips.c: cannot use EINVAL for breakpoint test since
1359         its value varies for different hosts (e.g. go32's is 19, while
1360         sunos is 22).  Changed to hardcoded 22 since that is what the
1361         mips boards return.
1362
1363 Tue May 28 11:14:58 1996  Tom Tromey  <[email protected]>
1364
1365         * configure: Regenerated.
1366         * aclocal.m4 (CY_AC_PATH_TCLH): Don't use AC_TRY_RUN.
1367         (CY_AC_PATH_TKH): Don't use AC_TRY_RUN.
1368
1369 Sun May 26 16:56:35 1996  Miles Bader  <[email protected]>
1370
1371         * solib.c (solib_absolute_prefix, solib_search_path): New variables.
1372         (_initialize_solib): Add set/show commands for those variables.
1373         (solib_map_sections): Implement searching using them.
1374
1375 Sun May 26 14:14:49 1996  Fred Fish  <[email protected]>
1376
1377         Changes from: David Mosberger-Tang  <[email protected]>
1378
1379         * NEWS:  Add Alpha Linux as a new native configuration.
1380
1381         * mdebugread.c (parse_symbol): When we find a malloc() symbol with
1382         return type VOID, assume no debugging info is available for that
1383         object file and patch the return value into VOID *.  Otherwise,
1384         operations requiring an implicit call to malloc() will fail.
1385
1386         * infrun.c (wait_for_inferior): The criterion to detect entering a
1387         sigtramp handler is now: (a) the current pc is inside a sigtramp
1388         handler, (b) the previous pc is not in a sigtramp handler, and (c)
1389         the current stack pointer is "inner" than the old one.  Condition
1390         (c) is new to avoid mistaking a return from a signal handler into
1391         sigtramp as a new sigtramp invocation.
1392
1393         * dcache.c (struct dcache_block): Declare addr as CORE_ADDR.  An
1394         int may not be big enough to hold an address.
1395         (dcache_hit): Ditto.
1396         (dcache_peek_byte): Fix indentation.
1397
1398         * configure.in (alpha-*-linux*): Add target.
1399         * configure: Rebuild
1400
1401         * config/alpha/tm-alpha.h (PROC_DESC_IS_DYN_SIGTRAMP): New macro.
1402         (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
1403         (DYNAMIC_SIGTRAMP_OFFSET): Ditto.
1404         (SIGCONTEXT_ADDR): Ditto.
1405         (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
1406
1407         * config/alpha/alpha-linux.mh: New file.
1408         * config/alpha/alpha-linux.mt: Ditto.
1409         * config/alpha/nm-linux.h: Ditto.
1410         * config/alpha/tm-alphalinux.h: Ditto.
1411         * config/alpha/xm-alphalinux.h: Ditto.
1412         * config/alpha/xm-alphaosf.h: Renamed from xm-alpha.h.
1413         * config/alpha/alpha-osf1.mh (XM_FILE): Change from xm-alpha.h to
1414         xm-alphaosf.h.
1415         * config/alpha/alpha-osf2.mh: Ditto.
1416
1417         * blockframe.c (find_pc_partial_function): Pass PC to
1418         SIGTRAMP_START and SIGTRAMP_END macros for the benefit of systems
1419         that detect sigtramp code via designated code sequences (as is the
1420         case for Linux/Alpha, for example).
1421         
1422         * config/i386/tm-i386bsd.h: Change SIGTRAMP_START and SIGTRAMP_END
1423         to ignore new PC argument.
1424         * config/m68k/tm-hp300bsd.h: Ditto.
1425         * config/vax/tm-vax.h: Ditto.
1426
1427         * alpha-tdep.c (alpha_linux_sigtramp_offset): New function.
1428         (alpha_osf_skip_sigtramp_frame): Ditto.
1429         (push_sigtramp_desc): Ditto.
1430         (alpha_find_saved_regs): Use SIGCONTEXT_ADDR macro to extract
1431         sigcontext address from frame.
1432         (alpha_saved_pc_after_call): When in sigtramp, use
1433         alpha_frame_saved_pc() instead of read-register().
1434         (after_prologue): When inside a dynamically generated sigtramp
1435         function, there is no prologue, so return address of first
1436         instruction.
1437         (alpha_in_prologue): Fix typo in comment.
1438         (find_proc_desc): Use macro DYNAMIC_SIGTRAMP_OFFSET to determine
1439         whether we're inside a dynamicaly generated sigtramp function.  If
1440         so, create and push and appropriate procedure descriptor.
1441         (alpha_frame_chain): Use macro FRAME_PAST_SIGTRAMP_FRAME to obtain
1442         the frame past a sigtramp frame (if the current frame is indeed a
1443         sigtramp function).
1444         (init_extra_frame_info): Don't read next frame register off of
1445         stack-pointer when inside a dynamiccaly generated sigtramp.
1446         (alpha_pop_frame): Also unlink and destroy procedure descriptors
1447         created for dynamically generated sigtramp functions.
1448
1449         * alpha-nat.c: When compiling under Linux, include <asm/reg.h> and
1450         <alpha/ptrace.h> instead of <machine/reg.h>
1451
1452 Tue Jul  2 13:58:10 1996  Miles Bader  <[email protected]>
1453
1454         * gnu-nat.c (inf_validate_task_sc):
1455         Give terminal to gdb while asking question.
1456         (inf_resume): Don't validate the task suspend-count while execing.
1457
1458 Thu Jun 13 11:04:52 1996  Miles Bader  <[email protected]>
1459
1460         * gnu-nat.c (inf_validate_task_sc): Query user before clearing any
1461         additional suspend count.
1462         (S_proc_wait_reply, gnu_attach): Don't call inf_validate_task_sc.
1463         (inf_resume): Call inf_validate_task_sc here.
1464         (gnu_resume): Call inf_update_procs to ensure noticing new threads.
1465
1466 Fri Jun  7 17:00:43 1996  Miles Bader  <[email protected]>
1467
1468         * gnu-nat.c (gnu_create_inferior: attach_to_child): Return PID.
1469
1470 Thu May 23 15:13:56 1996  Jeffrey A Law  ([email protected])
1471
1472         * h8300-tdep.c (IS_PUSH): Refine.
1473         (IS_MOVE_FP, IS_MOV_SP_FP): Accept H8/300H varaints.
1474         (IS_SUB4_SP, IS_SUBL_SP): New macros.
1475         (h8300_skip_prologue): Handle H8/300H prologue code sequences.
1476         (examine_prologue): Handle addresses from 0x010000 to 0xffffff
1477         when in H8/300H mode.  Get the return pointer's address correctly
1478         for the H8/300H.  Handle H8/300H prolouge code sequences.
1479
1480         * symfile.c (generic_load): Print the starting address
1481         of the file just loaded.
1482
1483 Thu May 23 12:09:52 1996  Stan Shebs  <[email protected]>
1484
1485         * mpw-make.sed: Edit @THREAD_DB_OBS@ out of makefile.
1486
1487 Tue May 21 11:53:56 1996  Peter Schauer  ([email protected])
1488
1489         * breakpoint.c (bpstat_do_actions):  Avoid endless recursion
1490         if a `source' command is contained in bs->commands.
1491
1492         * infrun.c (wait_for_inferior):  Update step_frame_address when
1493         stepping into a new line.
1494
1495         From [email protected] (Andreas Schwab):
1496         * breakpoint.c (breakpoint_1):  Add shlib_disabled case to
1497         bpenables array.
1498
1499 Mon May 20 22:52:00 1996  Mark Alexander  <[email protected]>
1500
1501         * dsrec.c (load_srec): Add WAITACK parameter, for machines
1502         like EST visionICE that send back an ACK after each S-record.
1503         * monitor.c (monitor_wait_srec_ack): New function.
1504         (monitor_load): Pass monitor_wait_srec_ack to load_srec
1505         if the monitor's MO_SREC_ACK flag is set.
1506         * monitor.h: Define MO_SREC_ACK flag.
1507         * remote-est.c (est_cmds): Add MO_SREC_ACK flag.
1508         * sh3-rom.c (sh3_load): Accomodate change in load_srec prototype.
1509         * srec.h: Add WAITACK parameter to load_srec prototype.
1510
1511 Sun May 19 21:22:00 1996  Rob Savoye  <rob@chinadoll>
1512
1513         * config/sparc/sparclite.mt: Add the sparc simulator.
1514
1515 Sun May 19 16:49:37 1996  Fred Fish  <[email protected]>
1516
1517         * defs.h (read_command_lines, query_hook): Update prototypes.
1518         (readline_begin_hook, readline_hook, readline_end_hook): Declare.
1519         * breakpoint.c (commands_command): Build message in temporary buffer
1520         and pass that, as well as tty control flag, to read_command_lines.
1521         * top.c (readline_begin_hook, readline_hook, readline_end_hook):
1522         Define here.
1523         (command_loop): Check for non-NULL instream before looping.
1524         (command_line_input): Use readline_hook when appropriate, to get
1525         user input from a GUI window.
1526         (read_next_line): Also build prompt if getting user input from a GUI.
1527         (recurse_read_control_structure): Fix typo in comment.
1528         (read_command_lines): Use passed in prompt and tty flag to decide how
1529         to build message.  Use readline_begin_hook when appropriate, to set
1530         up a GUI interaction window.  Just return head, whether NULL or not,
1531         after using readline_end_hook to complete GUI interaction.
1532         (define_command, document_command): Build message in a temporary
1533         buffer and pass it to read_command_lines, along with tty flag.
1534
1535 start-sanitize-gdbtk
1536         * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end):
1537         New functions.
1538         (tk_command_loop): Set instream to NULL to enable Tk user interaction.
1539         (gdbtk_init): Set readline_begin_hook, readline_hook,
1540         and readline_end_hook.
1541         * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline,
1542         gdbtk_tcl_readline_end): New functions.
1543         (tclsh): Pack scroll bar on right side of window, not left.
1544 end-sanitize-gdbtk
1545
1546 Sat May 18 02:43:58 1996  Peter Schauer  ([email protected])
1547
1548         * blockframe.c (frameless_look_for_prologue):
1549         Add FUNCTION_START_OFFSET only if func_start is non-zero.
1550         * minsyms.c (lookup_minimal_symbol_by_pc):  Return NULL if
1551         pc is not in a known section.
1552         * stack.c (print_frame_info):  Remove check for fi->pc in known
1553         section, now handled by lookup_minimal_symbol_by_pc.
1554
1555 start-sanitize-gdbtk
1556 Fri May 17 13:54:34 1996  Fred Fish  <[email protected]>
1557
1558         * gdbtk.tcl (create_command_window): Change a misspelled "get"
1559         to the intended "cget".
1560         (delete_line): Fix so it deletes the current line at the
1561         insertion cursor.
1562 end-sanitize-gdbtk
1563
1564 Fri May 17 13:31:04 1996  Stan Shebs  <[email protected]>
1565
1566         * sh-stub.c: New file, was config/sh/stub.c.
1567
1568 start-sanitize-gdbtk
1569 Thu May 16 19:20:29 1996  Fred Fish  <[email protected]>
1570
1571         * gdbtk.tcl (gdb_prompt): Set this early on.
1572         (create_command_window): Use gdb_prompt rather than "(gdb) ".
1573         (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop.
1574         (tclsh): If an evaluation window already exists, just bring it
1575         to the front instead of trying to create another.
1576         * gdbtk.c (tk_command_loop): New function.
1577         (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop.
1578
1579 Thu May 16 16:16:35 1996  Fred Fish  <[email protected]>
1580
1581         * gdbtk.tcl (evaluate_tcl_command, tclsh):  New functions that
1582         implement a tcl evaluation window for gdbtk maintainers to use.
1583
1584 Thu May 16 11:42:58 1996  Tom Tromey  <[email protected]>
1585
1586         * gdbtk.tcl (files_command): Correctly insert list of files into
1587         listbox widget.
1588
1589         * gdbtk.tcl (files_command): listbox command no longer accepts
1590         -geometry.
1591
1592 Wed May 15 16:04:09 1996  Stan Shebs  <[email protected]>
1593
1594         * gdbtk.tcl (create_command_window): If command window's buffer
1595         is disabled, don't execute any of the key bindings.
1596 end-sanitize-gdbtk
1597
1598 Wed May 15 08:25:12 1996  Jeffrey A Law  ([email protected])
1599
1600         * top.c (read_next_line): Fix thinkos.  From Donn Seeley.
1601
1602         * coffread.c (coff_symtab_read): Handle C_LABEL symbols like
1603         C_STAT symbols.
1604         * h8300-tdep.c (h8300_pop_frame): Reset $sp and $pc correctly.
1605         Flush cached frames just before exiting.
1606         * remote-sim.c (gdbsim_resume): Complain if the program isn't
1607         being run.
1608         * config/h8300/tm-h8300.h (BELIEVE_PCC_PROMOTION): Define.
1609
1610 Tue May 14 18:05:16 1996  Stu Grossman  ([email protected])
1611
1612         * procfs.c (procfs_thread_alive procfs_stop):  Make static.
1613         (procfs_pid_to_str):  New routine to print out thread id's in an
1614         intelligible manner.
1615         * sol-thread.c (sol_thread_fetch_registers):  Re-order manner in
1616         which supply_register is called to fix bug with writing
1617         individual regs.
1618         * config/sparc/tm-sun4sol2.h:  Define default for
1619         target_pid_to_str in case host lacks libthread_db.
1620
1621 Mon May 13 23:53:30 1996  Stu Grossman  ([email protected])
1622
1623         * Makefile.in config.in configure configure.in
1624         config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh
1625         config/sparc/tm-sun4sol2.h:  Use autoconf to config Solaris thread
1626         and pthread support, since pre-2.5 systems don't come with
1627         libthread_db.so.1.
1628
1629         * procfs.c (info_proc):  Use int instead of id_t.  Old versions of
1630         Irix don't seem to define this.
1631
1632 start-sanitize-gdbtk
1633 Mon May 13 13:43:25 1996  Fred Fish  <[email protected]>
1634
1635         * gdbtk.c (tk_command): Catch case where no argument is given
1636         since this will cause the tcl interpreter to dump core.
1637 end-sanitize-gdbtk
1638
1639 Mon May 13 17:40:58 1996  Jeffrey A Law  ([email protected])
1640
1641         * top.c (execute_control_command, case while_control): Allow
1642         a while command to be interrupted.
1643
1644 Mon May 13 16:17:36 1996  Stu Grossman  ([email protected])
1645
1646         * sol-thread.c:  More cleanup, add comments.
1647         (sol_thread_resume):  Prevent people from trying to step
1648         inactive threads.
1649         (sol_thread_wait sol_thread_fetch_registers
1650         sol_thread_store_registers):  Remove unnecessary check for
1651         sol_thread_active.  These routines won't get called unless threads
1652         are active.
1653
1654 Mon May 13 11:29:37 1996  Stan Shebs  <[email protected]>
1655
1656         SH3-E support from Allan Tajii <[email protected]>:
1657         * sh-tdep.c (sh_reg_names, sh3_reg_names): Add empty names for
1658         float registers.
1659         (sh3e_reg_names): New register name array.
1660         (sh_processor_type_table): Add sh3e processor type.
1661         * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Fix test.
1662         (REGISTER_NAMES, NUM_REGS, NUM_REALREGS, etc): Adjust for
1663         full set of registers.
1664         * remote-e7000.c (want_sh3, want_sh3_nopc): New globals.
1665         (e7000_fetch_registers, e7000_wait): Use them.
1666         * sh3-rom.c (sh3_regnames): Add float registers.
1667         (sh3e_cmds, sh3e_ops): New globals.
1668         (sh3e_open): New function.
1669         (_initialize_sh3_rom): Rename from _initialize_sh3, set up
1670         sh3e target vector.
1671
1672 Fri May 10 15:53:38 1996  Stu Grossman  ([email protected])
1673
1674         * sol-thread.c:  Cleanup.  gcc -Wall fixes.  Add prototypes.
1675         Print out messages instead of codes for thread_db errors.  Make
1676         access macros for thread and lwp manipulation.  Make cleanups to
1677         fixup inferior_pid in case of errors.
1678
1679 Thu May  9 19:06:02 1996  Fred Fish  <[email protected]>
1680
1681         * aclocal.m4: Remove unused definition of AC_C_CROSS.
1682         * configure.in: Add powerpcle-*-solaris* host and target config
1683         so April 30th change does not get lost next time configure is
1684         rebuilt.
1685
1686 Thu May  9 14:13:08 1996  Stu Grossman  ([email protected])
1687
1688         * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c,
1689         infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c,
1690         win32-nat.c, config/nm-lynx.h:  Rename thread.h to gdbthread.h to
1691         avoid conflict with Solaris /usr/include/thread.h.
1692
1693 Thu May  9 12:33:32 1996  Rob Savoye  <[email protected]>
1694
1695         * abug-rom.c: Config file for the older style ABug monitor that
1696         runs on the mvme13x boards.
1697         * config/m68k/monitor.mt: Add abug support for m68k cross
1698         debugging.
1699
1700 Wed May  8 20:33:24 1996  Fred Fish  <[email protected]>
1701
1702         * infcmd.c (do_registers_info):  Always print the raw floating
1703         point value's bytes in big endian order, so the the leftmost bit
1704         is the most significant.
1705         * breakpoint.c (clear_momentary_breakpoints): Remove dead code
1706         that is referenced nowhere else.
1707         (set_breakpoint): Ditto.
1708         (do_enable_breakpoint): Created from enable_once_breakpoint
1709         with a couple of changes.
1710         (enable_breakpoint): Call do_enable_breakpoint with an appropriate
1711         bpdisp enum value to set disposition of breakpoint.
1712         (enable_once_breakpoint): Ditto.
1713         (enable_delete_breakpoint): Ditto.
1714         * breakpoint.h (clear_momentary_breakpoints): Remove prototype.
1715         * symtab.c (find_pc_line): Improve comments.
1716 start-sanitize-gdbtk
1717         * gdbtk.c: Fix a couple of misspellings.
1718 end-sanitize-gdbtk
1719         * xcoffread.c: Ditto.
1720
1721 Tue May  7 18:37:06 1996  Stan Shebs  <[email protected]>
1722
1723         * target.c (debug_to_xfer_memory): Insert line breaks when
1724         dumping the memory block.
1725
1726 Mon May  6 13:52:52 1996  Stu Grossman  ([email protected])
1727
1728         * fork-child.c (fork_inferior), inferior.h:  init_trace_fun now
1729         returns a possibly modified pid.
1730         * inftarg.c (ptrace_him):  Now returns pid;
1731         * m3-nat.c (m3_trace_him):  Now returns pid;
1732         * infcmd.c (run_command):  Minor cleanup.
1733         * infrun.c (wait_for_inferior):  Add another check for one_stepped
1734         near where we read the pc to avoid erroneously setting
1735         random_signal for multi-threaded support.
1736         * procfs.c:  Add support for Solaris LWPs.  Remove def of
1737         LOSING_POLL.  Many cleanups...  Several workarounds for Solaris
1738         lossage.  System call entry and exit are now handled by
1739         dynamically registered handlers.
1740         * (syscallname):  Don't barf when handed an unknown syscall
1741         number.
1742         * (info_proc_syscalls):  Ditto.
1743         * sol-thread.c:  New file.  Implements Solaris thread support.
1744         * symfile.c (symbol_file_add):  Add call to target_new_objfile to
1745         notify target-dependent code about new symbol tables.
1746         * (clear_symtab_users):  Call target_new_objfile to notify it of
1747         the removal of all symbol tables.
1748         * target.c (push_target):  Make sure that to_close is non-zero
1749         before calling it.
1750         * target.h (target_new_objfile):  Provide default.      
1751         * config/alpha/nm-osf2.h:  Define LOSING_POLL because this version
1752         of OSF can't hack using poll with /proc.
1753         * config/sparc/nm-sun4sol2.h (target_new_objfile):  Define to be
1754         sol-thread-new-objfile.
1755         * config/sparc/sun4sol2.mh:  Add sol-thread.o to NATDEFFILES, and
1756         add libthread_db.so.1 to NAT_CLIBS.
1757         * config/sparc/tm-sun4sol2.h:  Define PIDGET, TIDGET, and
1758         target_pid_to_str.
1759
1760 Sat May  4 02:13:34 1996  N Srin Kumar  <[email protected]>
1761
1762         * procfs.c (remove_fd):  Fix copy of fds to fill hole left after
1763         removal of the requested fd.
1764
1765 Mon May  6 07:52:48 1996  Michael Meissner  <[email protected]>
1766
1767         * rs6000-tdep.c (_initialize_rs6000_tdep): Don't do XCOFF specific
1768         hooks under ELF.
1769
1770         * config/powerpc/tm-ppc-eabi.h: Define ELF_OBJECT_FORMAT.
1771
1772 start-sanitize-gdbtk
1773 Thu May  2 19:17:49 1996  Stan Shebs  <[email protected]>
1774
1775         * gdbtk.tcl (debug_interface): New global, use to aid debugging.
1776         (insert_breakpoint_tag, delete_breakpoint_tag): Fix range.
1777         (file_popup_menu): Delete, never used.
1778         (listing_window_popup): Rename from listing_window_button_1,
1779         remove breakpoint toggling code.
1780         (toggle_breakpoint): New procedure.
1781         (create_file_win): Bind popup menu to button 2, toggle breakpoints
1782         with button 1 in breakpoint area, add display of tagged areas if
1783         debugging on.
1784 end-sanitize-gdbtk
1785
1786 Thu May  2 12:46:14 1996  Jeffrey A Law  ([email protected])
1787
1788         From Peter Schauer:
1789         * breakpoint.h (enum bpdisp):  Add del_at_next_stop.
1790         * breakpoint.c (insert_breakpoints, watchpoint_check,
1791         bpstat_stop_status):  Avoid bad references to memory freed via
1792         delete_breakpoint on watchpoints going out of scope.
1793         Do not delete these watchpoints, disable them and change their
1794         disposition to del_at_next_stop instead.
1795         (breakpoint_auto_delete):  Delete all breakpoints whose disposition
1796         is del_at_next_stop.
1797         (breakpoint_init_inferior):  Use switch to avoid reference to
1798         already deleted breakpoint.
1799
1800 Wed May  1 17:29:18 1996  Fred Fish  <[email protected]>
1801
1802         * Makefile.in (rs6000-nat.o): Depend on xcoffsolib.h.
1803         * config/rs6000/rs6000.mh (NATDEPFILES): Move xcoffread.o ...
1804         * config/rs6000/rs6000.mt (TDEPFILES): ... to here.
1805         * xcoffsolib.c (xcoff_relocate_symtab_hook): Define and initialize.
1806         (solib_info): Call xcoff_relocate_symtab via the hook.
1807         (sharedlibrary_command): Ditto.
1808         * xcoffread.c: Remove all FAKING_RS6000 comments and defines.
1809         (xcoff_add_toc_to_loadinfo_hook): Define and initialize here.
1810         (xcoff_init_loadinfo_hook): Define and initialize here.
1811         (scan_xcoff_symtab): Call xcoff_add_toc_to_loadinfo via the hook.
1812         (xcoff_initial_scan): Call xcoff_init_loadinfo via the hook.
1813         * xcoffsolib.h (xcoff_relocate_symtab_hook): Declare extern func.
1814         * rs6000-tdep.c (_initialize_rs6000_tdep): Add initializations
1815         of xcoff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook.
1816         * rs6000-nat.c (_initialize_core_rs6000): Add initialization
1817         of xcoff_relocate_symtab_hook.
1818
1819 Tue Apr 30 13:22:02 1996  Michael Meissner  <[email protected]>
1820
1821         * configure (powerpcle-*-solaris*): Add Solaris support.
1822
1823         * config/powerpc/{solaris.m[ht],tm-solaris.h}: New files for
1824         Solaris support.
1825
1826 Mon Apr 29 16:17:31 1996  Dawn Perchik <[email protected]>
1827
1828         * c-valprint.c (c_val_print): Fix printing for arrays defined 
1829         with 0 length.
1830
1831 Sun Apr 28 15:08:05 1996  Stan Shebs  <[email protected]>
1832
1833         Support for bi-endian remote breakpoints.
1834         * remote.c (big_break_insn, little_break_insn): New globals.
1835         (break_insn): Remove.
1836         (remote_insert_breakpoint, remote_remove_breakpoint): Use own
1837         code if REMOTE_BREAKPOINT defined, otherwise call memory
1838         breakpoint functions.
1839         * config/sh/tm-sh.h (REMOTE_BREAKPOINT): Remove.
1840         (BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT): Define.
1841
1842         * mon960-rom.c (mon960_cmds): Remove forward decl.
1843         (mon960_load): Use current_monitor instead of mon960_cmds.
1844         (mon960_regnames): Remove backslashes from line ends.
1845         (_initialize_mon960): Fix documentation string.
1846
1847 Sun Apr 28 12:10:35 1996  Fred Fish  <[email protected]>
1848
1849         * symfile.h (psymbol_allocation_list):  Expand comments which
1850         describe the psymbol allocation list and how each field is
1851         used.
1852
1853 Sun Apr 28 03:44:30 1996  Peter Schauer  ([email protected])
1854
1855         * breakpoint.c (delete_breakpoint):  Fix bpt->val, bpt->exp
1856         storage leaks.
1857         (breakpoint_re_set_one):  Fix b->exp, b->val, b->cond storage leaks.
1858
1859         * infcmd.c (run_command), solib.c (locate_base):  Check for
1860         target_has_execution in addition to inferior_pid, a core file
1861         from a threaded program is yielding a non-zero inferior_pid.
1862
1863         * sparc-tdep.c (get_saved_register):  Handle window registers
1864         in a dummy frame correctly.
1865
1866 Sat Apr 27 20:38:32 1996  Fred Fish  <[email protected]>
1867
1868         * Makefile.in (CLIBS): Move $(MMALLOC) past all other libs,
1869         so that anything that wants an allocation function not yet pulled
1870         in, will get it from mmalloc rather than a system library.
1871         * Makefile.in (INSTALLED_LIBS): Reorder to match order of CLIBS,
1872         to avoid surprising results when used.
1873
1874 Sat Apr 27 00:12:05 1996  Dawn Perchik  ([email protected])
1875
1876         * stabsread.c: Changes and bug fixes for cfront support.
1877         Fix bug for class data members.
1878         Fix parsing bug when no base classes exist.
1879         Fix memory bug - allocate space for cplusplus specific info.
1880         Add support for static data.
1881         Add prototypes for static functions.
1882         Enhance comments to show what each function expects to parse.
1883         Cleanup code.
1884         * stabsread.c(resolve_cont),dbxread.c(resolve_cont): Rename 
1885         function to resolve_cfront_continuation.
1886
1887 Fri Apr 26 23:58:26 1996  Jeffrey A Law  ([email protected])
1888
1889         * infrun.c (wait_for_inferior): Call registers_changed when
1890         restarting the inferior to get over a nullified instruction.
1891         
1892 Tue Apr 24 12:12:55 1996  Dawn Perchik ([email protected])
1893
1894         * dbxread.c,stabsread.c,gdbtypes.c,partial-stab.h,valops.c: 
1895         Add new support for parsing cfront stabs.
1896
1897 Wed Apr 24 00:32:55 1996  Jeffrey A Law  ([email protected])
1898
1899         * infrun.c (wait_for_inferior): Move "have_waited" label
1900         outside of #ifdef conditionals.  Don't trash the wait status
1901         if we get a signal and the current instruction is nullified.
1902
1903 Mon Apr 22 20:17:01 1996  Fred Fish  <[email protected]>
1904
1905         * Makefile.in (VERSION): Bump version number to 4.16.1.
1906         * NEWS: Update for 4.16 release.
1907
1908 Mon Apr 22 16:32:29 1996  Stan Shebs  <[email protected]>
1909
1910         * monitor.h: Clean up comment formatting.
1911         (current_monitor): Remove decl.
1912         (LOADTYPES, LOADPROTOS, INIT_CMD, etc): Remove definitions.
1913         (push_monitor, SREC_SIZE): Remove.
1914         * monitor.c: Expand old macro into current_monitor derefs
1915         everywhere.
1916         * remote-os9k.c (current_monitor): Remove definition.
1917
1918 Mon Apr 22 14:54:45 1996  Mark Alexander  <[email protected]>
1919
1920         * corefile.c (specify_exec_file_hook): Allow arbitrary number of
1921         hooks.
1922         (call_extra_exec_file_hooks): New function.
1923         * h8300-tdep.c: Lint; add .h files to provide missing declarations,
1924         remove unused variables.
1925         (set_machine_hook): New function.
1926         (_initialize_h8300m): Initialize it.
1927
1928 Fri Apr 19 15:03:49 1996  Ian Lance Taylor  <[email protected]>
1929
1930         * remote-mips.c (encoding): Don't specify size, to avoid bug in
1931         SunOS native compiler.
1932
1933 Thu Apr 18 18:46:57 1996  Stan Shebs  <[email protected]>
1934
1935         * monitor.c: Use int rather than LONGEST for values, since
1936         the formatting strings are not prepared to accept long longs.
1937
1938 Wed Apr 17 20:17:27 1996  Doug Evans  <[email protected]>
1939
1940         * arm-tdep.c (initialize_arm_tdep): Make apcs32 a `zinteger'.
1941
1942 Tue Apr 16 17:38:23 1996  Stu Grossman  ([email protected])
1943
1944         * corelow.c (add_to_thread_list):  Make sure reg_sect is non-null
1945         before de-referencing it.  Prevents deref of NULL pointer if core
1946         file lacks .reg section.
1947         * defs.h:  Rename floatformat_{to from}_long_double to
1948         floatformat_{to from}_doublest.  Get rid of FLOATFORMAT_{TO
1949         FROM}... macros.
1950         * findvar.c (extract_floating store_floating):  Change all refs to
1951         FLOATFORMAT_{FROM TO}... to floatformat_{from to}_doublest.
1952         * utils.c:  Change floatformat_{to from}_long_double to
1953         floatformat_{to from}_doublest cuz the new routines will use
1954         whatever size (double or long double) is appropriate.
1955         * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
1956         REGISTER_CONVERT_TO_RAW):  Change FLOATFORMAT... macros to
1957         floatformat... routine calls.
1958
1959 Mon Apr 15 16:34:11 1996  Per Bothner  <[email protected]>
1960
1961         * stabsread.c (read_type):  Move handling of '@' from type
1962         number handling to handling of types proper (as emitted by gcc!).
1963         For typedefs, allocate the typedef type before reading its
1964         definition, to properly handling recursive types.
1965
1966 Mon Apr 15 11:19:26 1996  Jeffrey A Law  ([email protected])
1967
1968         * ch-exp.c (calculate_array_length): Fix prototype.
1969
1970 Sat Apr 13 14:21:16 1996  Stu Grossman  ([email protected])
1971
1972         * remote-nindy.c (nindy_open):  Acquire more target state so that
1973         user can attach to a previously running program.
1974         * (nindy_fetch_registers nindy_store_registers):  Get rid of fp
1975         conversion code.  That's all handled in {extract store}_floating
1976         now.
1977         * utils.c (floatformat_to_double):  Don't bias exponent when
1978         handling zero's, denorms or NaNs.
1979         * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
1980         REGISTER_CONVERT_TO_RAW):  Change to using DOUBLST and
1981         FLOATFORMAT_TO/FROM_DOUBLEST macros.
1982         * config/i960/tm-nindy960.h:  Undefine
1983         REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, and
1984         REGISTER_CONVERTIBLE.  These are no longer necessary now that all
1985         the magic happens in extract/store_floating.
1986
1987 Sat Apr 13 02:58:02 1996  Peter Schauer  ([email protected])
1988
1989         * eval.c (evaluate_subexp_standard):  Report error when attempting to
1990         evaluate subscripts for types which cannot be subscripted.
1991
1992         * valarith.c (value_x_binop, value_x_unop):  Add noside parameter.
1993         Return a zero value with the return type of the member function
1994         if noside is EVAL_AVOID_SIDE_EFFECTS instead of calling the member
1995         function.
1996         * values.h (value_x_binop, value_x_unop):  Update prototypes
1997         accordingly.
1998         * eval.c (evaluate_subexp_standard):  Update all callers of
1999         value_x_binop, value_x_unop accordingly.
2000
2001         * valarith.c (value_neg, value_complement):  Perform ANSI C/C++
2002         integral promotion on operands.
2003
2004 Fri Apr 12 13:19:27 1996  Fred Fish  <[email protected]>
2005
2006         * README: Update for 4.16 release.
2007         * configure.in (AC_CHECK_FUNCS): Also check for sbrk.
2008         * configure: Regenerate with autoconf.
2009         * config.in: Regenerate with autoheader.
2010         * main.c (main): Only use sbrk() when HAVE_SBRK is defined.
2011         * top.c (command_loop): Ditto.
2012
2013 Fri Apr 12 09:45:29 1996  Stu Grossman  ([email protected])
2014
2015         * defs.h:  Define TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
2016         defaults for bi-endian targets.  Replace function pointers for
2017         floatformat routines with macros.  No need for these to be runtime
2018         selectable.
2019         * findvar.c:  Get rid of floatformat function pointers.  Use
2020         macros in extract_floating and store_floating.
2021         * remote-nindy.c (nindy_fetch_registers nindy_store_registers):
2022         Use floatformat macros.
2023
2024 Thu Apr 11 21:28:02 1996  Fred Fish  <[email protected]>
2025
2026         From: Miles Bader  <[email protected]>
2027         * configure.in (AC_CHECK_HEADERS): check for endian.h.
2028         Use AC_CHECK_TOOL to find AR & RANLIB.  Add AC_PROG_AWK.
2029         Add host & target cases for i[345]86-*-gnu*.
2030         * config.in: Regenerate with autoheader.
2031         * configure: Regenerate with autoconf.
2032         * Makefile.in (AR, AWK): Set from corresponding autoconf substs.
2033         (init.c): Don't scan mig-generated files.
2034         * defs.h (endian.h): Include if HAVE_ENDIAN_H defined.
2035         * config/nm-m3.h (ATTACH_NO_WAIT): Define.
2036         * infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT"
2037         rather than "#ifndef MACH".
2038
2039 Thu Apr 11 18:49:42 1996  Stan Shebs  <[email protected]>
2040
2041         * remote.c (remotewritesize): New GDB variable, controls size
2042         of memory packets sent to the target.
2043
2044 Thu Apr 11 13:47:52 1996  Stu Grossman  ([email protected])
2045
2046         * dcache.c:  Add prototypes.  Make many functions static.
2047         * (dcache_peek dcache_fetch dcache_poke):  Make dcache_fetch and
2048         dcache_poke call dcache_xfer_memory directly in order to fix
2049         problems with turning off dcache.  dcache_peek is now unnecessary,
2050         so it goes away.
2051
2052         * defs.h:  Define new macros HOST_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT 
2053         and TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT to specify a pointer
2054         to a struct floatformat.  This allows for better handling of
2055         targets whose floating point formats differ from the host by more
2056         than just byte order.
2057         * (floatformat_to_long_double floatformat_from_long_double):
2058         Prototypes for new functions in utils.c.
2059         * (floatformat_to_doublest floatformat_from_doublest):  Prototypes
2060         for pointers to floating point conversion functions.  The actual
2061         function uses either double or long double if the host supports it.
2062         * findvar.c (floatformat_to_doublest floatformat_from_doublest):
2063         Initialize to point at correct function depending on HAVE_LONG_DOUBLE.
2064         * (extract_floating store_floating):  Rewrite.  Now, if host fp
2065         format is the same as the target, we just do a copy.  Otherwise,
2066         we call floatformat_{to from}_doublest.
2067         * remote-nindy.c (nindy_xfer_inferior_memory):  Change param
2068         `write' to `should_write'.
2069         * utils.c (floatformat_to_long_double
2070         floatformat_from_long_double):  New routines that implement long
2071         double versions of functions in libiberty/floatformat.c.
2072         * config/i960/tm-i960.h (TARGET_LONG_DOUBLE_FORMAT):  Define this for
2073         i960 extended real (80 bit) numbers.
2074         * nindy-share/nindy.c (ninMemGet ninMemPut):  Return number of bytes
2075         actually read or written.
2076
2077 Wed Apr 10 02:56:06 1996  Wilfried Moser (Alcatel)  <[email protected]>
2078
2079         * ch-valprint.c (chill_val_print): Remove call to calculate_array_length.
2080         (calculate_array_length): Move function from here ...
2081
2082         * ch-exp.c (calculate_array_length): ... to here.
2083         (parse_primval): If we have a symbol with an array type
2084         and the length is 0, call calculate_array_length.
2085
2086 Tue Apr  9 01:23:05 1996  Wilfried Moser (Alcatel)  <[email protected]>
2087
2088         * eval.c (evaluate_subexp_standard): In case of TYPE_CODE_SET:
2089         Add some checks for powerset compatibility.
2090
2091         * valops.c (value_slice): Use lowbound instead of lowerbound for
2092         call to slice_range_type to get correct bounds.
2093
2094 Mon Apr  8 12:53:56 1996  Fred Fish  <[email protected]>
2095
2096         * Makefile.in (scm-exp.o, scm-lang.o, scm-valprint.o): Add targets and
2097         dependencies.
2098         * scm-lang.c (gdb_string.h): Include.
2099         * objfiles.c (add_to_objfile_sections): Cast second arg of obstack_grow
2100         call to correct type (char *).
2101         * cp-valprint.c (cp_print_static_field): Ditto.
2102         * somsolib.c (som_solib_create_inferior_hook): Add a declaration
2103         for external find_unwind_entry function (from hppa-tdep.c).
2104         * remote-pa.c (remote_write_bytes, remote_read_bytes): Change
2105         type of second arg to "char *" to be type compatible with
2106         dcache.
2107         (remote_wait): Cast second arg to strtol to correct type.
2108         * hppa-tdep.c (compare_unwind_entries): Change argument types to
2109         "const void *" to be type compatible with qsort, and then
2110         assign to local args prior to use.
2111
2112 Mon Apr  8 15:35:52 1996  Jeffrey A Law  ([email protected])
2113
2114         * infptrace.c (kill_inferior): Remove call to "kill"; update
2115         comments.
2116
2117 Mon Apr  8 14:05:07 1996  Geoffrey Noer  <[email protected]>
2118
2119         * remote-e7000.c: don't append :23 to target port if __WIN32__
2120         is defined (it's WinGDB).
2121
2122 Sun Apr  7 22:34:29 1996  Fred Fish  <[email protected]>
2123
2124         From: Miles Bader  <[email protected]>
2125         * gnu-nat.c, gnu-nat.h, msg.defs, exc_request.defs, i386gnu-nat.c,
2126         msg_reply.defs, notify.defs, process_reply.defs, reply_mig_hack.awk,
2127         config/nm-gnu.h, config/i386/{i386gnu.mh, i386gnu.mt, nm-gnu.h,
2128         m-i386gnu.h, xm-i386gnu.h}: New files for GNU hurd.
2129
2130 Sun Apr  7 13:32:41 1996  Fred Fish  <[email protected]>
2131
2132         * configure.in (case host): Add i386sco5 host.
2133         * configure: Regenerate.
2134         
2135         From: Robert Lipe <[email protected]>
2136         Add support for SCO OpenServer 5 (a.k.a. 3.2v5*)  This
2137         target is an SVR3.2 with COFF, ELF, and shared libes, but
2138         no /proc.
2139         * config/i386/i386sco5.mh:  New file.
2140         * config/i386/nm-i386sco5.h:  New file.
2141
2142 Sat Apr  6 08:55:22 1996  Fred Fish  <[email protected]>
2143
2144         * bcache.c (bcache): When size of chunk to cache is exactly equal to
2145         BCACHE_MAXLENGTH, stash chunk as unique copy.
2146
2147 Sat Apr  6 00:46:26 1996  Fred Fish  <[email protected]>
2148
2149         * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef.
2150         (add_psymbol_to_list): Add an arg for passing CORE_ADDR values and
2151         use it, rather than calling add_psymbol_addr_to_list.
2152         (add_psymbol_addr_to_list): Delete.
2153         (add_psymbol_to_list): Make psymbol static to avoid random data in
2154         gaps due to alignment of structure members.
2155         * symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST,
2156         ADD_PSYMBOL_ADDR_TO_LIST): Remove.  Real world tests show no
2157         performance improvements by inlining via complicated macros and
2158         they just make gdb larger and harder to maintain.
2159         * dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST
2160         and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to
2161         add_psymbol_to_list with appropriate long or CORE_ADDR args.
2162         (add_partial_symbol): Ditto.
2163         * partial-stab.h: Ditto.
2164         * os9kread.c (read_os9k_psymtab): Ditto
2165         * mdebugread.c (parse_partial_symbols): Ditto.
2166         (handle_psymbol_enumerators): Ditto.
2167         (demangle.h): Include.
2168         * hpread.c (hpread_build_psymtabs): Ditto.
2169         (hpread_build_psymtabs): Ditto.
2170         (demangle.h): Include
2171
2172 start-sanitize-gdbtk
2173 Fri Apr  5 13:44:40 1996  Stan Shebs  <[email protected]>
2174
2175         * gdbtk.c (running_now): New global variable.
2176         (gdb_cmd): Test it before executing any command.
2177         (gdbtk_call_command): Set it when inferior is running.
2178         * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and
2179         disable interaction with command window's text appropriately.
2180
2181 Fri Apr  5 13:25:42 1996  Michael Meissner  <[email protected]>
2182
2183         * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since
2184         some versions of the kernel don't support it.
2185 end-sanitize-gdbtk
2186
2187 Thu Apr  4 20:16:55 1996  Fred Fish  <[email protected]>
2188
2189         * configure.in: Check for setpgid function.
2190         * config.in: Regenerate with autoheader.
2191         * configure: Regenerate with autoconf.
2192         * inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL
2193         if it is actually defined.
2194         (gdb_setpgid): Use HAVE_SETPGID.
2195         * ch-exp.c: Change include of <string.h> to "gdb_string.h".
2196         * c-exp.y, f-exp.y, m2-exp.y: Ditto.
2197         * c-exp.y, serial.c: Include <ctype.h>.
2198         * config/m68k/nm-news.h: Add typedef for pid_t which is
2199         apparently missing from <sys/types.h>.  Enclose entire
2200         file in NM_NEWS_H ifndef and define when included.
2201         * config/mips/nm-news-mips.h: Ditto.
2202         * config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL,
2203         REGISTER_CONVERT_TO_RAW): Change name of temporary variable.
2204
2205 Thu Apr  4 19:04:18 1996  Stan Shebs  <[email protected]>
2206
2207         * arm-xdep.c: Move native-specific code to here from arm-tdep.c.
2208         * arm-tdep.c (arm_apcs_32): New global.
2209         (arm_addr_bits_remove, arm_saved_pc_after_call,
2210         arm_push_dummy_frame, arm_pop_frame): New functions.
2211         (arm_skip_prologue): Updated version from Richard Earnshaw.
2212         (_initialize_arm_tdep): Add set/show "apcs32".
2213         * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call
2214         arm_addr_bits_remove.
2215         (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call.
2216         (frame_find_saved_regs): Declare properly.
2217         (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame.
2218         (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of
2219         explicit mask.
2220         * config/arm/nm-arm.h: New file.
2221         * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS):
2222         Move definitions to nm-arm.h.
2223         * config/arm/arm.mh (NAT_FILE): Define.
2224
2225         * symfile.c (generic_load): Initialize data_count properly.
2226
2227 Thu Apr  4 17:17:53 1996  Fred Fish  <[email protected]>
2228
2229         * symmisc.c (print_objfile_statistics): Print memory used by
2230         psymbol cache obstack.
2231
2232 Thu Apr  4 15:43:07 1996  Stan Shebs  <[email protected]>
2233
2234         * symfile.c (report_transfer_performance): New function.
2235         (generic_load): Call it to report transfer rate.
2236         * remote-e7000.c (e7000_load): Ditto.
2237
2238 Mon Apr  1 16:31:00 1996  Stan Shebs  <[email protected]>
2239
2240         * mpw-make.sed: Change references to config.h to be in objdir,
2241         edit out rules to rebuild config.h.
2242
2243 Mon Apr  1 08:32:23 1996  Fred Fish  <[email protected]>
2244
2245         * hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status before
2246         proceeding.
2247
2248 Sun Mar 31 16:15:43 1996  Fred Fish  <[email protected]>
2249
2250         * hppah-nat.c (store_inferior_registers, store_inferior_registers,
2251         fetch_register, child_xfer_memory): Use call_ptrace function supplied
2252         by infptrace.c rather than calling ptrace directly.
2253
2254 Sun Mar 31 15:39:00 1996  Stan Shebs  <[email protected]>
2255
2256         * mon960-rom.c: Cleanups and elimination of unused code,
2257         clarify documentation string.
2258         (mon960_serial, mon960_ttyname): Remove.
2259         * config/i960/tm-mon960.h (ADDITIONAL_OPTIONS,
2260         ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove.
2261
2262 Sat Mar 30 11:00:22 1996  Fred Fish  <[email protected]>
2263
2264         * configure.in: Check whether printf family supports printing
2265         long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so.
2266         * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE.
2267         * configure: Regenerate.
2268         * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE.
2269         * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE.
2270         * configure.in: Fix have_gregset and have_fpregset autoconf
2271         variable names so that they match the pattern required to
2272         cache them.
2273
2274 Fri Mar 29 21:39:56 1996  Fred Fish  <[email protected]>
2275
2276         * core-aout.c (fetch_core_registers): Cast core_reg_size to int
2277         before testing against reg_ptr.
2278         * eval.c (evaluate_subexp_standard): Cast type of
2279         TYPE_FN_FIELD_VOFFSET to int.
2280         * findvar.c (extract_signed_integer, extract_unsigned_integer,
2281         extract_long_unsigned_integer): Cast type of sizeof to int.
2282         * values.c (unpack_field_as_long, modify_field): Ditto.
2283         * valops.c (value_assign, call_function_by_hand): Ditto.
2284         * infcmd.c (do_registers_info): Ditto.
2285         * ser-tcp.c (tcp_open): Ditto.
2286         * remote.c (putpkt): Ditto.
2287         * dcache.c (dcache_peek): Ditto.
2288         * dcache.c (dcache_poke): Ditto.
2289         * m2-exp.y (yylex): Ditto.
2290         * gnu-regex.c (re_match_2): Ditto.
2291         * f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef
2292         out unused macro definition and variables.
2293         * inftarg.c (proc_wait): Move from main.c to here, and make static.
2294         * valprint.c (val_print_string): Change bufsize from int to unsigned.
2295         * main.c (wait.h): Include.
2296         * top.c (command_line_input): Remove unused variable "c".
2297         * f-typeprint.c (f_type_print_varspec_prefix): Add missing enum
2298         value TYPE_CODE_TYPEDEF to switch statement.
2299         (f_type_print_varspec_suffix): Add missing enum value
2300         TYPE_CODE_TYPEDEF to switch statement.
2301         * ch-exp.c (parse_primval): Add remaining enumeration values to
2302         switch statement, with no specific action.
2303         (ch_lex): Add LOC_UNRESOLVED in switch statement.
2304         (pushback_token): Ifdef out, since code using it is ifdef'd out.
2305         * stabsread.c (cleanup_undefined_types): Remove unused label
2306         "badtype".
2307         * objfiles.h (print_symbol_bcache_statistics): Add prototype.
2308         * maint.c (objfiles.h): Include.
2309         (maintenance_print_statistics): Remove unused variable "temp".
2310         * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
2311         unused variable "found_file_symbol".
2312         * m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch.
2313         * language.c (lang_bool_type): Use existing function local type
2314         variable rather than create block local variables.
2315         * solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS.
2316         * infptrace.c (wait.h, command.h): Include.
2317         * ser-tcp.c (gdb_string.h): Include
2318         * i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR.
2319         (i386_get_frame_setup): Change "pc" from int to CORE_ADDR.
2320         * command.c (complete_on_enum): Make assignment used as truth value
2321         explictly check against NULL.
2322         (wait.h): Include.
2323         * infrun.c (wait_for_inferior): Ifdef out prologue_pc since code
2324         that uses it is ifdef'd out.
2325         * parser-defs.h: Add prototype for write_dollar_variable.
2326         * infrun.c: Add prototype for write_pc_pid.
2327         * breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs.
2328         * symmisc.c (bcache.h): Include.
2329         * bcache.h: Add prototype for print_bcache_statistics.
2330         * symfile.c: Include <time.h>.
2331         * printcmd.c (print_scalar_formatted): Change len to unsigned int.
2332         * valarith.c (value_equal): Cast result of TYPE_LENGTH to int.
2333         * valarith.c (value_binop): Change result_len, promoted_len1,
2334         and promoted_len2 to unsigned int.
2335         * valarith.c (value_subscripted_rvalue): Change elt_offs and
2336         elt_size to unsigned int.
2337         * valops.c (value_array): Change typelength to unsigned int.
2338         (destructor_name_p): Change len to unsigned int.
2339         * scm-lang.h (scm_parse): Add prototype for scm_unpack.
2340         * symfile.c (decrement_reading_symtab): Change return type to void.
2341         * valarith.c (value_subscript): Remove unused variable "word".
2342         (value_subscript): Remove unused variable "tint".
2343         * valops.c (auto_abandon): Ifdef out, since code using it is also
2344         ifdef'd out.
2345         * eval.c (init_array_element): Remove unused variable "val".
2346         * Makefile.in (values.o): Depends on scm-lang.h.
2347         (command.o): Depends upon wait_h.
2348         (ser-tcp.o): Depends upon gdb_string.h.
2349         (infptrace.o): Depends upon wait_h and command_h.
2350         (maint.o): Depends on objfiles.h and symfile.h.
2351         * values.c (allocate_repeat_value): Remove unused variable
2352         "element_type".
2353         (scm-lang.h): Include.
2354         * breakpoint.c (create_longjmp_breakpoint): Enclose in
2355         GET_LONGJMP_TARGET define, unused otherwise.
2356         * config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint,
2357         i386_remove_watchpoint and i386_stopped_by_watchpoint.
2358         
2359 Thu Mar 28 12:53:19 1996  Doug Evans  <[email protected]>
2360
2361         * configure.in (sparc64-*-solaris2*): Delete.
2362         Stick with sparc-*-solaris2*.
2363         * configure: Regenerated.
2364
2365 Thu Mar 28 06:51:26 1996  Fred Fish  <[email protected]>
2366
2367         * valops.c (value_assign): Make copy of internal variable value
2368         before returning it as a new value, since it is owned by the 
2369         internal variable and will be freed along with it.
2370
2371 Wed Mar 27 08:36:17 1996  Jeffrey A Law  ([email protected])
2372
2373         * From Peter Schauer.
2374         * breakpoint.c (breakpoint_re_set_one):  Keep temporary
2375         breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy
2376         and bp_step_resume in case breakpoint_re_set_one is called due
2377         to a step over a dlopen call.
2378         * infrun.c (wait_for_inferior):  Always remove breakpoints from
2379         inferior in BPSTAT_WHAT_CHECK_SHLIBS case.
2380
2381 Tue Mar 26 13:15:32 1996  Fred Fish  <[email protected]>
2382
2383         * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
2384         non-prototyped case over prototyped case for C.
2385         * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE):  Ditto.
2386
2387 Sat Mar 23 17:24:28 1996  Fred Fish  <[email protected]>
2388
2389         * os9kread.c (os9k_process_one_symbol): Note nonportable
2390         assumption that an int can hold a char *.
2391
2392         * bcache.h (struct hashlink): Wrap data[] inside union with
2393         double to force longest alignment.
2394         (BCACHE_DATA): New macro to access data[].
2395         (BCACHE_ALIGNMENT): New macro to get offset to data[].
2396         * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get
2397         address of cached data.  Use BCACHE_ALIGNMENT to compute
2398         amount of space to allocate for each hashlink struct.
2399
2400 Sat Mar 23 12:14:02 1996  Fred Fish  <[email protected]>
2401
2402         * ch-lang.c (evaluate_subexp_chill): Fix typo.
2403
2404 Thu Mar 21 08:27:19 1996  Fred Fish  <[email protected]>
2405
2406         * Makefile.in (VERSION): Bump version to 4.15.3
2407
2408 Thu Mar 21 10:56:41 1996  Ian Lance Taylor  <[email protected]>
2409
2410         * config.in: Rename from config.h.in.
2411         * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
2412         Change CONFIG_HEADERS test in AC_OUTPUT accordingly.
2413         * configure: Rebuild.
2414         * Makefile.in (stamp-h): Depend upon config.in, not config.h.in.
2415         Set CONFIG_HEADERS to config.h:config.in.
2416
2417 Tue Mar 19 12:47:51 1996  Peter Schauer  ([email protected])
2418
2419         * partial-stab.h (case N_ENDM):  Finish current partial symbol
2420         table for Solaris 2 cc.
2421
2422 Tue Mar 19 10:39:15 1996  Jeffrey A Law  ([email protected])
2423
2424         * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
2425         PC in the registers array.  From Peter Schauer.
2426
2427 Mon Mar 18 13:47:09 1996  Fred Fish  <[email protected]>
2428
2429         * symfile.c (reread_symbols): Reinitialize bcache struct
2430         members to zero using memset.  Also use memset to reinit
2431         global_psymbols and static_psymbols, rather than explicitly
2432         resetting each structure member.
2433
2434 Sat Mar 16 19:47:36 1996  Fred Fish  <[email protected]>
2435
2436         * configure.in: Add fragment to create stamp-h.
2437         
2438         From Peter Schauer <[email protected]>
2439         * configure.in (AC_CHECK_HEADERS):  Check for link.h.
2440         * configure:  Regenerate with autoconf.
2441         * config.h.in:  Regenerate with autoheader.
2442         * config/i386/nm-linux.h:  Include solib.h only if HAVE_LINK_H
2443         is defined.
2444         * solib.c:  Exclude most of the code if HAVE_LINK_H is not defined.
2445         * config/i386/linux.mh:  Reinstate XM_CLIBS, it is needed for
2446         older a.out based systems.
2447
2448 Sat Mar 16 16:45:43 1996  Fred Fish  <[email protected]>
2449
2450         * config.h.in: New file.
2451         * acconfig.h: New file, for autoheader.
2452         * configure.in (AC_CONFIG_HEADER): Add, generate config.h.
2453         * configure: Regenerate.
2454         * Makefile.in (defs_h): Add config.h
2455         (distclean): Remove config.h and stamp-h during distclean.
2456         (config.h, stamp-h): New targets to remake config.h when necessary.
2457         * defs.h (config.h): Include before any other includes or defines.
2458         * i386-tdep.c (gdb_string.h): Move include after include of defs.h.
2459         * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
2460
2461 Sat Mar 16 14:55:27 1996  Fred Fish  <[email protected]>
2462
2463         From Peter Schauer <[email protected]>
2464         * Makefile.in (INSTALLED_LIBS):  Make sure that @LIBS@ will not
2465         result in an empty line, to work around a bug in native Ultrix 4.4
2466         and OSF/1-3.2C make.
2467
2468 Sat Mar 16 13:33:17 1996  Fred Fish  <[email protected]>
2469
2470         * configure.in: Add gdbserver to configdirs under linux.
2471         * configure: Regenerate.
2472         
2473 Fri Mar 15 12:06:58 1996  J.T. Conklin  <[email protected]>
2474
2475         * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
2476         * config/i386/tm-nbsd.h (NUM_REGS): Define.
2477
2478 Thu Mar 14 10:31:18 1996  Jeffrey A Law  ([email protected])
2479
2480         * solib.c (solib_break_names): Add _r_debug_state for
2481         vanilla SVR4 implementations.  From Peter Schauer.
2482
2483 Mon Mar 11 14:24:57 1996  Dawn Perchik  <[email protected]>
2484
2485         * mon960-rom.c: New file; support mon960 rom monitor on i960.
2486         * monitor.c (monitor_debug): Change remotedebug to buffer strings.
2487         * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before
2488         epecting prompt and echo during open.
2489         * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to 
2490         determine if break should be sent as stop command.
2491         * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN.
2492         * i960-tdep.c (mon960_frame_chain_valid): New function for getting 
2493         stack frame on mon960.
2494         * Makefile.in: Add mon960 files.
2495         * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960;
2496         added i960-nindy-coff* and i960-nindy-elf* for target nindy.
2497         * configure: Regenerated.
2498         * config/i960/mon960.mt, config/i960/tm-mon960.h: New files; 
2499         support mon960 rom monitor on i960.
2500
2501 Mon Mar 11 11:02:47 1996  Steve Chamberlain  <[email protected]>
2502
2503         With Michael Snyder:
2504         * i386-tdep.c (skip_trampoline_code): Fix strncmp length.
2505         * win32-nat.c (CHECK, DEBUG*, debug_*): New.
2506         (handle_load_dll): Don't reload symbols.
2507         (handle_exception):  Use the DEBUG_* names.
2508         (child_wait): Add DEBUG_* code.
2509         (_initialize_inftarg): Add new commands to set debug_ names.
2510
2511 Mon Mar 11 09:19:58 1996  Jeffrey A Law  ([email protected])
2512
2513         * From Peter Schauer:
2514         * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE.
2515         (bpstat_stop_status): Likewise.
2516         (remove_solib_event_breakpoints): Likewise.
2517         (clear_momentary_breakpoints): Likewise.
2518         (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint
2519         if we still can't read the memory for that breakpoint.
2520         (mention): Add bp_shlib_event case to keep gcc quiet.
2521         
2522 Fri Mar  8 12:08:12 1996  Jeffrey A Law  ([email protected])
2523
2524         * breakpoint.h (enum enable): New enum shlib_disabled for
2525         shared library breakpoints that have been temporarily disabled.
2526         * breakpoint.c: Handle temporarily disabled shared library
2527         breakpoints like disabled breakpoints in most places.
2528         (insert_breakpoints): Use shlib_disabled to indicate
2529         that an unsettable breakpoint is only temporarily disabled.
2530         (re_enable_breakpoints_in_shlibs): New function.
2531         * corelow.c (solib_add_stub): After adding shared libraries,
2532         try to reenable any temporarily disabled breakpoints.
2533         * infcmd.c (attach_command): Likewise.
2534         * infrun.c (wait_for_inferior): Likewise.
2535
2536 Fri Mar  8 11:41:25 1996  Ian Lance Taylor  <[email protected]>
2537
2538         * defs.h (extract_long_unsigned_integer): Declare.
2539         * findvar.c (extract_long_unsigned_integer): New function.
2540         * printcmd.c (print_scalar_formatted): Use it.
2541         * valprint.c (val_print_type_code_int): Likewise.
2542
2543 Thu Mar  7 17:40:50 1996  Stan Shebs  <[email protected]>
2544
2545         * infcmd.c (do_registers_info): Ignore anonymous registers.
2546         * sh-tdep.c (set processor): New command to set specific
2547         processor type.
2548         (sh_reg_names, sh3_reg_names): Arrays of register names for
2549         SH and SH3 processors.
2550         (sh_set_processor_type): New function.
2551         * sh3-rom.c (sh3_open): Call it.
2552         (sh3_regname): Add names of all the bank registers.
2553         (sh3_supply_register): Clean up formatting.
2554         * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include
2555         bank registers.
2556         (REGISTER_NAMES): Add names of bank registers.
2557         (FP15_REGNUM): Define.
2558         (REGISTER_VIRTUAL_TYPE): Use it.
2559         * monitor.c: Clean up some comments.
2560
2561 Thu Mar  7 12:09:51 1996  J.T. Conklin  <[email protected]>
2562
2563         * i386b-nat.c: Revert part of Mar 5 change.  FreeBSD collapsed the
2564         s* and t* symbols too.
2565
2566 Thu Mar  7 15:18:51 1996  James G. Smith  <[email protected]>
2567
2568         * symfile.c (generic_load): Avoid division by zero.
2569
2570 Wed Mar  6 17:57:59 1996  Jeffrey A Law  ([email protected])
2571
2572         * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
2573         not just those with HANDLE_SVR4_EXEC_EMULATORS.
2574
2575         From Peter Schauer:
2576         * breakpoint.c (internal_breakpoint_number): Move to file scope.
2577         (create_solib_event_breakpoint): Use an internal breakpoint number.
2578
2579 Wed Mar  6 00:32:44 1996  Wilfried Moser (Alcatel)  <[email protected]>
2580
2581         * valarith.c (value_in): Change builtin_type_chill_bool to
2582         LA_BOOL_TYPE.
2583
2584 Tue Mar  5 23:48:36 1996  Wilfried Moser (Alcatel)  <[email protected]>
2585
2586         * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
2587         (match_string_literal): Handle control sequence.
2588         (match_character_literal): Deto.
2589
2590         * ch-lang.c (chill_printchar): Change formating of nonprintable
2591         characters from C'xx' to ^(num).
2592         (chill_printstr): Deto.
2593         (value_chill_card, value_chill_max_min): New functions to process
2594         Chill's CARD, MAX, MIN.
2595         (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN.
2596
2597         * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN
2598         for Chill's CARD, MAX, MIN.
2599
2600         * valarith.c (value_in): Add processing of TYPE_CODE_RANGE
2601         and change return type from builtin_type_int to
2602         builtin_type_chill_bool.
2603
2604 Tue Mar  5 18:54:04 1996  Stan Shebs  <[email protected]>
2605
2606         * config/nm-nbsd.h (link_object, lo_name, etc): Move to here
2607         from config/nm-nbsd.h.
2608         * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here
2609         from config/sparc/tm-nbsd.h.
2610
2611         * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
2612         instead of in config/m68k/xm-hp300hpux.h.
2613
2614 Tue Mar  5 12:05:35 1996  J.T. Conklin  <[email protected]>
2615
2616         * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
2617         implementation for NetBSD systems.
2618
2619 Mon Mar  4 23:44:16 1996  Per Bothner  <[email protected]>
2620
2621         * valarith.c (binop_user_defined_p):  Return 0 for BINOP_CONCAT.
2622         (value_concat):  Handle varying strings (add COERCE_VARYING_ARRAY).
2623
2624         * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT):  Error
2625         if "function" is pointer to non-function.
2626
2627 Mon Mar  4 17:47:03 1996  Stan Shebs  <[email protected]>
2628
2629         * top.c (print_gdb_version): Update copyright year.
2630
2631 Mon Mar  4 14:44:54 1996  Jeffrey A Law  ([email protected])
2632
2633         From Peter Schauer:
2634         * infrun.c (wait_for_inferior): Remove breakpoints and
2635         switch terminal settings before calling SOLIB_ADD.
2636         * solib.c (enable_break, SVR4 variant): Don't map in symbols
2637         for the dynamic linker, the namespace pollution causes real
2638         problems.
2639
2640 Sun Mar  3 17:18:57 1996  James G. Smith  <[email protected]>
2641
2642         * remote-mips.c (common_breakpoint): Explicitly terminate the
2643         returned buffer.
2644
2645 Wed Feb 28 22:32:18 1996  Stan Shebs  <[email protected]>
2646
2647         From Wilfried Moser <[email protected]>:
2648         * remote.c (remote_detach): Send a command 'D' to the target
2649         when detaching, update the function's comments.
2650
2651 Thu Jun  6 16:11:38 1996  Miles Bader  <[email protected]>
2652
2653         * gnu-nat.c (thread_cmd_list): New declaration.
2654         (parse_int_arg): New function.
2655
2656 Wed Jun  5 17:28:04 1996  Miles Bader  <[email protected]>
2657
2658         * gnu-nat.h (struct proc): Add DETACH_SC field.
2659         * gnu-nat.c (make_proc): Set DETACH_SC.
2660         (struct inf): Add DETACH_SC & DEFAULT_THREAD_DETACH_SC fields.
2661         (make_inf): Set DETACH_SC & DEFAULT_THREAD_DETACH_SC fields.
2662         (add_thread_commands): Add set/show for detach-suspend-count.
2663         Add takeover-suspend-count cmd.
2664         (inf_detach): Set suspend counts to the detach SC, not 0.
2665         (set_thread_detach_sc_cmd, show_thread_detach_sc_cmd,
2666         set_task_detach_sc_cmd, show_task_detach_sc_cmd,
2667         set_thread_default_thread_detach_sc_cmd,
2668         show_thread_default_thread_detach_sc_cmd): New functions.
2669         (show_task_cmd): Also show detach-suspend-count values.
2670         (thread_takeover_sc_cmd): New function.
2671
2672 Fri May 31 16:49:24 1996  Miles Bader  <[email protected]>
2673
2674         * gnu-nat.c (show_thread_run_cmd): Actually print state.
2675
2676 Thu May 30 10:47:56 1996  Miles Bader  <[email protected]>
2677
2678         * gnu-nat.c (inf_signal): Make unforwardable exceptions an error.
2679
2680 Tue May 28 17:06:36 1996  Miles Bader  <[email protected]>
2681
2682         * gnu-nat.c (inf_validate_stopped): proc_getprocinfo takes a
2683         pointer to the flags now, not the flags themselves.
2684
2685 Mon May 27 13:31:17 1996  Miles Bader  <[email protected]>
2686
2687         * gnu-nat.c (gnu_wait): Print debugging msgs for pending execs.
2688         (gnu_create_inferior): Check return from ptrace.
2689
2690 Sun May 26 16:56:35 1996  Miles Bader  <[email protected]>
2691
2692         * gnu-nat.h (struct proc): Add DEAD field.
2693         * gnu-nat.c (make_proc): Initialize DEAD.
2694         (inf_set_traced, inf_validate_task_sc, inf_validate_procs: Frob it.
2695         (gnu_wait): Only abort for 0 threads if the task isn't dead.
2696
2697 Sat May 25 17:06:05 1996  Miles Bader  <[email protected]>
2698
2699         * gnu-nat.c (inf_signal): Pass SIGCODE when posting a signal.
2700
2701 Wed May 22 18:44:28 1996  Miles Bader  <[email protected]>
2702
2703         * gnu-nat.c (S_proc_wait_reply): Add SIGCODE argument.
2704         (inf_set_traced): Only give no-signal-thread error message if
2705         turning *on* tracing.
2706
2707 Wed May 15 13:03:16 1996  Miles Bader  <[email protected]>
2708
2709         * gnu-nat.c (inf_validate_procs): If INF has no threads, always
2710         set inf->threads_up_to_date to 0.
2711         (inf_signal): Pass in new SIGCODE argument to msg_sig_post_untraced.
2712         (gnu_wait): Pass in new TIMEOUT arg to interrupt_operation.
2713         (proc_update_sc): Cast thread state arg to thread_set_state.
2714         (proc_get_state): Cast thread state arg to thread_get_state.
2715         (inf_validate_task_sc): Cast task_basic_info arg to task_info.
2716         * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Call
2717         inf_update_procs before we lookup the thread.
2718         * config/i386/i386gnu.mh (MH_CFLAGS): New variable.
2719
2720 Tue May  7 17:52:33 1996  Miles Bader  <[email protected]>
2721
2722         * gnu-nat.c (gnu_kill_inferior): Use inf_set_task to clear the task.
2723
2724 Mon May  6 19:06:49 1996  Miles Bader  <[email protected]>
2725
2726         * gnu-nat.c (inf_set_traced): Use msg_set_init_int with
2727         INIT_TRACEMASK instead of setting the exec flags.
2728
2729 Fri May  3 19:10:57 1996  Miles Bader  <[email protected]>
2730
2731         * gnu-nat.c (inf_validate_procs): Don't clear INF->task if we find
2732         the task's died, so others have a chance at it.
2733         (gnu_resume): When single-stepping a single thread, given an error
2734         if there is no such thread.  When single-stepping one but running
2735         the others, just given a warning and still run all the threads.
2736         (gnu_wait): If there seem to be no threads, look harder, and
2737         signal an error if there really aren't any.
2738         (gnu_attach): Reset thread numbering to 0.
2739
2740         * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Give
2741         thread name in warning messages.
2742
2743         * gnu-nat.c (active_inf): New function.
2744         (show_sig_thread_cmd, show_stopped_cmd): Use it.
2745         (info_port_rights, info_send_rights_cmd, info_port_sets_cmd,
2746         info_recv_rights_cmd, info_port_rights_cmd, info_port_rights_cmd):
2747         New functions.
2748         (add_task_commands): Add new port-right info commands.
2749
2750 Fri Apr 26 20:42:16 1996  Miles Bader  <[email protected]>
2751
2752         * gnu-nat.c (gnu_wait): Instead of _hurd_intr_rpc_mach_msg, just
2753         use mach_msg with MACH_RCV_INTERRUPT.
2754         (set_noninvasive_cmd): New function.
2755         (add_task_commands): Add command entry for `set noninvasive'.
2756
2757 Mon Mar  4 14:12:02 1996  Miles Bader  <[email protected]>
2758
2759         * gnu-nat.c (gnu_read_inferior): Use hurd_safe_memmove, not safe_bcopy.
2760         (safe_bcopy): Function removed.
2761
2762 Mon Dec  4 14:18:26 1995  Miles Bader  <[email protected]>
2763
2764         * gnu-nat.c (proc_update_sc): Assert only threads can have state.
2765         (make_proc): Initialize state_valid & state_changed fields.
2766
2767 Tue Nov 28 17:51:21 1995  Miles Bader  <[email protected]>
2768
2769         * reply_mig_hack.awk: New file.
2770
2771 Tue Nov 14 14:31:03 1995  Miles Bader  <[email protected]>
2772
2773         * breakpoint.c (breakpoint_1): Print breakpoint thread field.
2774
2775         * lynx-nat.c (child_wait): Return TARGET_WAITKIND_SPURIOUS for new
2776         threads.
2777
2778 Mon Nov 13 18:30:53 1995  Miles Bader  <[email protected]>
2779
2780         * target.c (debug_to_check_threads): New function.
2781
2782         * inflow.c (terminal_init_inferior_with_pgrp): New function.
2783         (terminal_init_inferior): Call terminal_init_inferior_with_pgrp.
2784         * inferior.h (terminal_init_inferior_with_pgrp): New declaration,
2785         but only if PROCESS_GROUP_TYPE is defined.
2786
2787 Mon Nov  6 16:42:09 1995  Miles Bader  <[email protected]>
2788
2789         * target.c (debug_to_thread_alive): Pass through the return value.
2790
2791 Thu Nov  2 18:05:00 1995  Miles Bader  <[email protected]>
2792
2793         * target.c (signals, target_signal_from_host, target_signal_to_host): 
2794         Add mach exceptions.
2795         * target.h (enum target_signal): Add mach exceptions.
2796
2797 Mon Oct 30 16:41:04 1995  Miles Bader  <[email protected]>
2798
2799         * gnu-nat.c: New file: gnu native backend.
2800         * i386gnu-nat.c: New file: i386-specific part of gnu native backend.
2801         * gnu-nat.h: New file.
2802         * config/nm-gnu.h: New file.
2803         * config/tm-i386gnu.h: New file.
2804         * config/xm-i386gnu.h: New file.
2805         * config/i386/i386gnu.mh: New file.
2806         * config/i386/i386gnu.mt: New file.
2807
2808 Wed Feb 28 15:50:12 1996  Fred Fish  <[email protected]>
2809
2810         * Makefile.in (VERSION): Bump version to 4.15.2 to establish
2811         baseline for gdb 4.16 rerelease testing.
2812
2813 Wed Feb 28 13:32:05 1996  Jeffrey A Law  ([email protected])
2814
2815         * somsolib.c (som_solib_create_inferior_hook): Before returning
2816         call clear_symtab_users.
2817
2818 Tue Feb 27 00:04:46 1996  Stu Grossman  ([email protected])
2819
2820         * remote-e7000.c (e7000_open):  Delete all breakpoints when
2821         connecting to e7000.  Change connect message to allow use of
2822         monitor.exp in test suite.
2823         * (e7000_load):  Print transfer rate of download.
2824         * symfile.c (generic_load):  Print transfer rate of download.
2825
2826 Sun Feb 25 13:58:33 1996  Stan Shebs  <[email protected]>
2827
2828         * configure.in (mips*-*-vxworks*): New config.
2829         * configure: Regenerated.
2830
2831         * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files.
2832         * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual):
2833         Remove, never used.
2834
2835 Sat Feb 24 12:30:28 1996  Peter Schauer  ([email protected])
2836
2837         * partial-stab.h (case N_FUN):  Function symbols generated
2838         by SPARCworks cc have a meaningless zero value, do not update
2839         pst->textlow if the function symbol value is zero. 
2840
2841         * stabsread.c (define_symbol):  Initialize SYMBOL_TYPE field
2842         for function prototype declaration symbols.
2843
2844 Fri Feb 23 22:33:04 1996  Stu Grossman  ([email protected])
2845
2846         * remote-e7000.c (e7000_load):  New routine to download via the
2847         network.
2848         * (e7000_wait):  Don't backup PC when we hit a breakpoint.
2849         Apparantly new sh2 pods get this right...
2850         * (e7000_ops):  Add call to e7000_load.
2851
2852 Thu Feb 22 00:52:42 1996  J.T. Conklin  <[email protected]>
2853
2854         * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},
2855         m68knbsd-nat.c: New files, support for NetBSD/m68k.
2856
2857         * configure.in (m68k-*-netbsd*): New config.
2858         * configure: Regenerated.
2859
2860 Wed Feb 21 19:00:21 1996  Fred Fish  <[email protected]>
2861
2862         * standalone.c (open, _initialize_standalone): Fix obvious typos
2863         reported by Martin Pool <[email protected]>.
2864
2865 Wed Feb 21 14:24:04 1996  Jeffrey A Law  ([email protected])
2866
2867         * solib.c (solib_create_inferior_hook): Fix thinko.
2868
2869 Tue Feb 20 23:59:19 1996  Jeffrey A Law  ([email protected])
2870
2871         * solib.c (solib_break_names): Define for Solaris and Linux.
2872         (enable_break): For SVR4 systems, first try to use the debugger
2873         interfaces in the dynamic linker to track shared library events
2874         as they happen, then fall back to BKPT_AT_SYMBOL code.  Convert
2875         BKPT_AT_SYMBOL code to use shared library event breakpoints.
2876         (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code,
2877         it no longer needs to restart/wait on the inferior.
2878         * symfile.c (find_lowest_section): No longer static.
2879         * symfile.h (find_lowest_section): Corresponding changes.
2880
2881 Tue Feb 20 18:54:08 1996  Fred Fish  <[email protected]>
2882
2883         * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value.
2884         (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE.
2885         * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.
2886         * config/mips/tm-mips.h: Ditto.
2887         * config/pa/tm-hppa.h: Ditto.
2888         * config/rs6000/tm-rs6000.h: Ditto.
2889         * config/sparc/tm-sparc.h: Ditto.
2890         
2891 Tue Feb 20 17:32:05 1996  J.T. Conklin  <[email protected]>
2892
2893         * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o.
2894
2895         * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined.
2896         * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
2897         #ifdef'd out definitions ---  Causes serious gdb failures on 
2898         the i386.  Need to investigate further before enabling.
2899
2900         * i386b-nat.c (fetch_inferior_registers, store_inferior_registers,
2901         fetch_core_registers): New functions.  These functions are defined
2902         if FETCH_INFERIOR_REGISTERS is set.  Registers are fetched/stored
2903         with ptrace PT_GETREGS/PT_SETREGS.
2904
2905 Tue Feb 20 16:55:06 1996  Stu Grossman  ([email protected])
2906
2907         * findvar.c (extract_floating store_floating):  Replace `long
2908         double' with `DOUBLEST'.
2909
2910 Mon Feb 19 15:25:51 1996  J.T. Conklin  <[email protected]>
2911
2912         * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
2913         Define.
2914
2915 Mon Feb 19 10:32:05 1996  Jeffrey A Law  ([email protected])
2916
2917         * symtab.h (looup_minimal_symbol_solib_trampoline): Declare.
2918
2919         * breakpoint.h (remove_solib_event_breakpoints): Declare.
2920         * breakpoint.c (remove_solib_event_breakpoints): New function.
2921         * somsolib.c (solib_create_inferior_hook): Remove all solib event
2922         breakpoints before inserting any new ones.  Use a solib event
2923         breakpoint for the breakpoint at "_start".
2924         Remove extraneous "\n" from calls to warning.  
2925         
2926         * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes
2927         name array.
2928         
2929 Mon Feb 19 01:09:32 1996  Doug Evans  <[email protected]>
2930
2931         * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST
2932         for CORE_ADDR values.
2933         (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values.
2934         * symfile.h (add_psymbol_{,addr}to_list): Add prototypes.
2935
2936 Sun Feb 18 14:37:13 1996  Peter Schauer  ([email protected])
2937
2938         * mipsread.c (mipscoff_symfile_read):  Unconditionally add
2939         alpha coff dynamic symbols for all symbol files.  Makes skipping
2940         over the trampoline code work when stepping from a function in a
2941         shared library into a function in a different shared library.
2942
2943 Sun Feb 18 09:27:10 1996  Stu Grossman  ([email protected])
2944
2945         * config/sparc/tm-sparc.h:  Define PS_FLAG_CARRY.  Define
2946         RETURN_VALUE_ON_STACK to return long doubles on the stack.
2947
2948 Sat Feb 17 16:33:11 1996  Fred Fish  <[email protected]>
2949
2950         * Makefile.in (ch-exp.o): Add dependencies.
2951         (various): Add gdb_string.h to dependencies that need it.
2952
2953 Sat Feb 17 08:57:50 1996  Fred Fish  <[email protected]>
2954
2955         * symmisc.c (print_symbol_bcache_statistics): Update description for
2956         printing byte cache statistics.
2957
2958 Thu Feb 16 16:02:03 1996  Stu Grossman  ([email protected])
2959
2960         * Add native support for long double data type.
2961         * c-exp.y (%union):  Change dval to typed_val_float.  Use DOUBLEST
2962         to store actual data.  Change types of INT and FLOAT tokens to
2963         typed_val_int and typed_val_float respectively.  Create new token
2964         DOUBLE_KEYWORD to specify the string `double'.  Make production
2965         for FLOAT use type determined by parse_number.  Add production for
2966         "long double" data type.
2967         * (parse_number):  Use sscanf to parse numbers as float, double or
2968         long double depending upon the type of typed_val_float.dval.  Also
2969         allow user to specify `f' or `l' suffix to explicitly specify
2970         float or long double constants.  Change typed_val to
2971         typed_val_int.
2972         * (yylex):  Change typed_val to typed_val_int.  Also, scan for
2973         "double" keyword.
2974         * coffread.c (decode_base_type):  Add support for T_LNGDBL basic
2975         type.
2976         * configure, configure.in:  Add check for long double support in
2977         the host compiler.
2978         * defs.h:  Define DOUBLEST appropriatly depending on whether
2979         HAVE_LONG_DOUBLE (from autoconf) is defined.  Also, fix prototypes
2980         for functions that handle this type.
2981         * expression.h (union exp_element):  doubleconst is now type
2982         DOUBLEST.
2983         * m2-exp.y f-exp.y (%union):  dval becomes type DOUBLEST.
2984         * findvar.c (extract_floating):  Make return value be DOUBLEST.
2985         Also, add support for numbers with size of long double.
2986         * (store_floating):  Arg `val' is now type DOUBLEST.  Handle all
2987         floating types.
2988         * parser-defs.h parse.c (write_exp_elt_dblcst):  Arg expelt is now
2989         DOUBLEST.
2990         * valarith.c (value_binop):  Change temp variables v1, v2 and v to
2991         type DOUBLEST.  Coerce type of result to long double if either op
2992         was of that type.
2993         * valops.c (value_arg_coerce):  If argument type is bigger than
2994         double, coerce to long double.
2995         * (call_function_by_hand):  If REG_STRUCT_HAS_ADDR is defined, and
2996         arg type is float and > 8 bytes, then use pointer-to-object
2997         calling conventions.
2998         * valprint.c (print_floating):  Arg doub is now type DOUBLEST.
2999         Use appropriate format and precision to print out floating point
3000         values.
3001         * value.h:  Fixup prototypes for value_as_double,
3002         value_from_double, and unpack_double to use DOUBLEST.
3003         * values.c (record_latest_value):  Remove check for invalid
3004         floats.  Allow history to store them so that people may examine
3005         them in hex if they want.
3006         * (value_as_double unpack_double):  Change return value to DOUBLEST.
3007         * (value_from_double):  Arg `num' is now DOUBLEST.
3008         * (using_struct_return):  Use RETURN_VALUE_ON_STACK macro (target
3009         specific) to expect certain types to always be returned on the stack.
3010
3011 Fri Feb 16 14:00:54 1996  Fred Fish  <[email protected]>
3012
3013         * bcache.c, bcache.h: New files to implement a byte cache.
3014         * Makefile.in (SFILES): Add bcache.c.
3015         (symtab_h): Add bcache.h.
3016         (HFILES_NO_SRCDIR): add bcache.h
3017         (COMMON_OBJS): Add bcache.o
3018         (bcache.o): New target.
3019         * dbxread.c (start_psymtab): Make global_syms & static_syms
3020         type "partial_symbol **".
3021         * hpread.c (hpread_start_symtab):  Ditto.
3022         * os9kread.c (os9k_start_psymtab):  Ditto.
3023         * stabsread.h (start_psymtab):  Ditto.
3024         * {symfile.c, symfile.h} (start_psymtab_common):  Ditto.
3025         * maint.c (maintenance_print_statistics): Call
3026         print_symbol_bcache_statistics.
3027         * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc
3028         and free pointers.
3029         * solib.c (allocate_rt_common_objfile): Ditto.
3030         * symfile.c (reread_symbols):  Ditto.
3031         (free_objfile): Free psymbol bcache when objfile is freed.      
3032         (objfile_relocate): Use new indirect psymbol pointers.
3033         * objfiles.h (struct objfile): Add psymbol cache.
3034         * symfile.c (compare_psymbols): Now passed pointers to pointers to
3035         psymbols.
3036         (reread_symbols): Free psymbol bcache when freeing other objfile
3037         resources.
3038         (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new
3039         psymbol using the psymbol bcache.
3040         (init_psymbol_list): Psymbol lists now contain pointers rather than
3041         the actual psymbols.
3042         * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically
3043         grown arrays of pointers.
3044         (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol
3045         bcache.
3046         * symmisc.c (print_partial_symbols): Now takes pointer to pointer
3047         to partial symbol.
3048         (print_symbol_bcache_statistics): New function to print per objfile
3049         bcache statistics.
3050         (print_partial_symbol, print_partial_symbols,
3051         maintenance_check_symtabs, extend_psymbol_list):
3052         Account for change to pointer to pointer to partial symbol.
3053         * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2,
3054         make_symbol_completion_list): 
3055         Account for change to pointer to pointer to partial symbol.
3056         * symtab.h (bcache.h): Include.
3057         * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms
3058         type "partial_symbol **".
3059
3060 Fri Feb 16 10:02:34 1996  Fred Fish  <[email protected]>
3061
3062         * dwarfread.c (free_utypes): New function.
3063         (read_file_scope): Call free_utypes as cleanup, rather than just
3064         freeing the utypes pointer.
3065
3066 Thu Feb 15 21:40:52 1996  Peter Schauer  ([email protected])
3067
3068         * demangle.c (is_cplus_marker):  New function, checks if a
3069         character is one of the commonly used C++ marker characters.
3070         * defs.h (is_cplus_marker):  Add prototype.
3071         * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle),
3072         cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol),
3073         stabsread.c (define_symbol, read_member_functions, read_struct_fields),
3074         symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P),
3075         values.c (vb_match):  Use is_cplus_marker instead of comparison
3076         with CPLUS_MARKER.
3077
3078 Thu Feb 15 18:08:13 1996  Fred Fish  <[email protected]>
3079
3080         * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly
3081         delete entirely someday.
3082
3083 Thu Feb 15 15:25:34 1996  Stan Shebs  <[email protected]>
3084
3085         * mpw-make.sed: Edit out makefile rebuild rule.
3086         (host_alias, target_alias): Comment out instead of deleting.
3087         (@LIBS@): Edit out references.
3088
3089 Tue Feb 13 22:56:46 1996  Fred Fish  <[email protected]>
3090
3091         * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
3092         Use n_psyms in OBJSTAT, not psyms.
3093
3094 Mon Feb 12 15:59:31 1996  Doug Evans  <[email protected]>
3095
3096         * configure.in (sparclet-*-aout*): New config.
3097         * configure: Regenerated.
3098
3099 Mon Feb 12 14:17:52 1996  Fred Fish  <[email protected]>
3100
3101         * somsolib.c (som_solib_add): Use xmalloc rather than bare
3102         unchecked call to malloc.
3103         * remote-mips.c (pmon_load_fast): ditto.
3104         * remote-mm.c (mm_open): ditto.
3105         * hpread.c (hpread_lookup_type): ditto.
3106         * remote-adapt.c (adapt_open): ditto.
3107
3108 Mon Feb 12 13:11:32 1996  Fred Fish  <[email protected]>
3109
3110         * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
3111         allocate_saved_f77_common_node, allocate_common_entry_node,
3112         add_common_block): Use xmalloc rather than malloc, some of which
3113         were unchecked.
3114         * gnu-regex.c: At same point as other gdb specific changes
3115         #undef malloc and then #define it to xmalloc.
3116         * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than
3117         bare unchecked calls to malloc/realloc.
3118         * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare
3119         unchecked call to malloc.
3120
3121 Wed Feb  7 11:31:26 1996  Stu Grossman  ([email protected])
3122
3123         * symtab.c (gdb_mangle_name):  Change opname var to be const to
3124         match return val of cplus_mangle_name.
3125         * i960-tdep.c:  Change arg types of next_insn to match callers.
3126
3127 Wed Feb  7 07:34:24 1996  Fred Fish  <[email protected]>
3128
3129         * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS):  Remove.  These
3130         apparently aren't needed in any reasonably recent version of
3131         linux.
3132
3133 Tue Feb  6 21:37:03 1996  Per Bothner  <[email protected]>
3134
3135         * stabsread.c (read_range_type):  If !self-subrange and language
3136         is Chill, assume a true range.  If a true_range is a sub_subrange,
3137         use builtin_type_int for index_type.
3138
3139 Tue Feb  6 18:38:51 1996  J.T. Conklin  <[email protected]>
3140
3141         * nindy-share/nindy.c (say): Use stdarg.h macros when compiling
3142         with an ANSI compiler.
3143
3144 start-sanitize-gdbtk
3145 Tue Feb  6 16:31:25 1996  Tom Tromey  <[email protected]>
3146
3147         * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
3148         double-clicking will work again.
3149         (create_asm_win): Put "break" at end of all B1 bindings.
3150         (create_file_win): Lower "sel" tag, don't raise it.
3151         (ensure_line_visible): New proc.
3152         (update_listing, update_assembly): Use it.
3153         (create_copyright_window): Destroy window on Leave event.
3154         (create_command_window): Put "break" at end of all B2 bindings.
3155
3156 end-sanitize-gdbtk      
3157 Mon Feb  5 18:24:28 1996  Steve Chamberlain  <[email protected]>
3158
3159         From [email protected] (Michael Snyder):
3160         * valops.c (value_arg_coerce): Coerce float to double, unless the
3161         function prototype specifies float.
3162         
3163 Mon Feb  5 09:51:55 1996  Tom Tromey  <[email protected]>
3164
3165         * language.c (set_language_command): Use languages table when
3166         printing available languages.
3167
3168 Sat Feb  3 12:22:05 1996  Fred Fish  <[email protected]>
3169
3170         Fix problems reported by Hans Verkuil ([email protected]):
3171         * command.c (add_cmd):  Add missing initialization for enums member.
3172         Reorder members to match structure declaration to make it easier to
3173         tell when one is missing.
3174         * exec.c (exec_file_command): Fix problem where filename in malloc'd
3175         memory is referenced after being freed.
3176
3177 Sat Feb  3 03:26:21 1996  Peter Schauer  ([email protected])
3178
3179         * dwarfread.c (read_func_scope):  Avoid GDB core dumps if
3180         AT_name tag is missing.
3181
3182         * procfs.c (procfs_stopped_by_watchpoint):  Fix logic when
3183         FLTWATCH and FLTKWATCH are defined.
3184
3185         * remote.c (remote_read_bytes):  Advance memaddr for transfers,
3186         return number of bytes transferred for partial reads.
3187
3188         * top.c (init_signals):  Reset SIGTRAP to SIG_DFL.
3189
3190 Fri Feb  2 13:40:50 1996  Steve Chamberlain  <[email protected]>
3191
3192         * win32-nat.c (mappings): Add ppc registers.
3193         (child_resume): Turn off step for ppc.
3194
3195 Thu Feb  1 10:29:31 1996  Steve Chamberlain  <[email protected]>
3196
3197         * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
3198         xm-cygwin32.h): New.
3199         * config/i386/(*win32*): Becomes *cygwin32*.
3200         * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32.
3201         (powerpcle-*-cygwin32): New.
3202         * configure: Regenerate.
3203         * win32-nat.c  (child_create_inferior): Call CreateProcess
3204         with the right program arg.
3205
3206 Thu Feb  1 11:01:10 1996  Jeffrey A Law  ([email protected])
3207
3208         * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.
3209
3210 Wed Jan 31 19:01:28 1996  Fred Fish  <[email protected]>
3211
3212         * serial.c: Change fputc/fputs/fprintf to _unfiltered forms.
3213
3214 Wed Jan 31 18:36:27 1996  Stan Shebs  <[email protected]>
3215
3216         * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
3217
3218         * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
3219
3220         * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to
3221         here from config/i386/xm-i386mach.h, fix name.
3222         * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h.
3223         * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to
3224         here from config/i386/xm-ptx4.h.
3225         * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h.
3226         * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h.
3227         * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h.
3228         * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h.
3229         * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h.
3230
3231         * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
3232         (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
3233         * config/sparc/sun4sol2.mh (NAT_FILE): Update.
3234
3235 Wed Jan 31 17:20:26 1996  Jeffrey A Law  ([email protected])
3236
3237         * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software
3238         floating point correctly.
3239         (STORE_RETURN_VALUE): Likewise.
3240         * config/pa/tm-pro.h (SOFT_FLOAT): define.
3241
3242 Wed Jan 31 13:34:52 1996  Fred Fish  <[email protected]>
3243
3244         * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): 
3245         Define to what should be reasonable values.  However, apparently
3246         a bug in linux mmap prevents mapped symbol tables from working.
3247
3248 Tue Jan 30 18:26:19 1996  Fred Fish  <[email protected]>
3249
3250         * defs.h (errno.h>:  Move #include closer to head of file to solve
3251         obscure problem with systems that declare perror with const arg, in
3252         both errno.h and stdio.h, and const is defined away by intervening
3253         local include.
3254
3255 Tue Jan 30 15:41:10 1996  Fred Fish  <[email protected]>
3256
3257         From Jon Reeves <[email protected]>:
3258         * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr.
3259         (mem_fault_routine): Fix misplaced volatile type qualifier in decl.
3260
3261 Mon Jan 29 19:05:58 1996  Fred Fish  <[email protected]>
3262
3263         * Makefile.in (diststuff): Make all-doc; diststuff target does not
3264         exist in doc/Makefile.in.
3265
3266 Mon Jan 29 18:44:57 1996  Stan Shebs  <[email protected]>
3267
3268         * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.
3269
3270 Mon Jan 29 00:10:35 1996  Wilfried Moser (Alcatel)  <[email protected]>
3271
3272         * ch-valprint.c (calculate_array_length): New function to
3273         determine the length of an array type.
3274         (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
3275         array type is zero, call calculate_array_length.
3276
3277         * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The
3278         values may not be sorted. Scan all entries and set the real lower
3279         and upper bound.
3280
3281 Sun Jan 28 15:50:42 1996  Fred Fish  <[email protected]>
3282
3283         * config/xm-linux.h: Move include of solib.h and #define of
3284         SVR4_SHARED_LIBS from here ...
3285         * config/nm-linux.h: ...to here.
3286
3287 Sat Jan 27 10:34:05 1996  Fred Fish  <[email protected]>
3288
3289         * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
3290         Also check for gregset_t and fpregset_t types.
3291         * configure: Regenerate.
3292         * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H
3293         is defined.
3294         (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T
3295         and HAVE_FPREGSET_T are defined.  These changes allow systems
3296         like linux that are migrating to /proc support to use a single
3297         configuration for both new and old versions.
3298
3299         * config/i386/linux.mt: Note that this is now for both a.out and
3300         ELF systems.
3301         * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o,
3302         i386v4-nat.o
3303         * config/i386/tm-linux.h (tm-sysv4.h): Include.
3304         * config/i386/xm-linux.h (solib.h): Include
3305         (SVR4_SHARED_LIBS): Define.
3306         * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined.
3307         (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined.
3308         (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T
3309         defined.
3310
3311 Fri Jan 26 13:48:14 1996  Stan Shebs  <[email protected]>
3312
3313         * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
3314         * config/i386/xm-sun386.h: Ditto.
3315         * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto.
3316
3317 Thu Jan 25 16:05:53 1996  Tom Tromey  <[email protected]>
3318
3319         * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@.
3320
3321 Thu Jan 25 09:22:15 1996  Steve Chamberlain  <[email protected]>
3322
3323         From Greg McGary  <[email protected]>:
3324         * dcache.c (dcache_peek, dcache_poke): Advance addr for
3325         multi-byte I/O.
3326
3327 Thu Jan 25 13:08:51 1996  Doug Evans ([email protected])
3328
3329         * infrun.c (normal_stop): Fix test for shared library event.
3330
3331 Thu Jan 25 03:26:38 1996  Doug Evans  <[email protected]>
3332
3333         * configure.in (sparc64-*-*): Add default host configuration.
3334 start-sanitize-gdbtk
3335         (sparc64-*-solaris2* host): Link statically if GCC used.
3336 end-sanitize-gdbtk
3337         (sparc64-*-solaris2*): Add target configuration.
3338         * configure: Regenerated.
3339         * sparc/sp64sol2.mt: New file.
3340
3341 Wed Jan 24 22:31:37 1996  Doug Evans  <[email protected]>
3342
3343         * Makefile.in (RUNTEST): srcdir renamed to rootsrc.
3344
3345 Wed Jan 24 15:42:24 1996  Tom Tromey  <[email protected]>
3346
3347         * Makefile.in (lint): Close backquotes.
3348
3349 start-sanitize-gdbtk
3350 Wed Jan 24 15:28:41 1996  Tom Tromey  <[email protected]>
3351
3352         * gdbtk.tcl, gdbtk.c: Updated copyrights.
3353
3354         * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or
3355         greater.
3356         * configure: Rebuilt.
3357
3358 end-sanitize-gdbtk      
3359 Wed Jan 24 13:19:10 1996  Fred Fish  <[email protected]>
3360
3361         * NEWS: Make note of new record and replay feature for
3362         remote debug sessions.
3363         * serial.c (gdbcmd.h): Include.
3364         (serial_logfile, serial_logfp, serial_reading, serial_writing):
3365         Define here, for remote debug session logging.
3366         (serial_log_command, serial_logchar, serial_write, serial_readchar):
3367         New functions for remote debug session logging.
3368         (serial_open): Open remote debug session log file when needed.
3369         (serial_close): Close remote debug session log file when needed.
3370         (_initialize_serial): Add set/show commands for name of remote
3371         debug session log file.
3372         * serial.h (serial_readchar): Declare
3373         (SERIAL_READCHAR): Call serial_readchar().
3374         (SERIAL_WRITE): Call serial_write().
3375         (serial_close): Declare as extern.
3376         (serial_logfile, serial_logfp): Declare.
3377         * top.c (execute_command): Declare serial_logfp.  Log user command
3378         in remote debug session log if log file is open.
3379         * remote-array.c (array_wait): #ifdef out echo to gdb_stdout.
3380         (array_read_inferior_memory): Rewrite to fix memory overwrite bug.
3381         * remote-array.c (SREC_SIZE): Remove, duplicates define in
3382         monitor.h.
3383         * remote-array.c (hexchars, hex2mem):  Remove, unused.
3384         * gdbserver/low-linux.c (store_inferior_registers): Remove
3385         unnecessary extern declaration of registers[].
3386         * gdbserver/Makefile.in (all): Add gdbreplay.
3387         * gdbserver/gdbreplay.c: New file.
3388         * gdbserver/README: Give example of recording a remote
3389         debug session with gdb and then replaying it with gdbreplay.
3390         
3391 Tue Jan 23 18:02:35 1996  Per Bothner  <[email protected]>
3392
3393         * stabsread.c (rs6000_builtin_type):  Make bool type unsigned.
3394         (read_one_struct_field):  Support boolean bitfields.
3395         * c-valprint.c (c_val_print): Print booleans properly.
3396
3397 Tue Jan 23 18:54:09 1996  Stan Shebs  <[email protected]>
3398
3399         * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
3400         Remove, never used.
3401         * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
3402
3403 Tue Jan 23 14:36:05 1996  Per Bothner  <[email protected]>
3404
3405         * ch-exp.c (parse_tuple):  Error if invalid mode.
3406
3407         * value.h (COERCE_ARRAY):  Don't coerce enums.
3408         (COERCE_ENUM):  Don't COERCE_REF.
3409         (COERCE_NUMBER):  New macro (same as COERCE_ARRAY then COERCE_ENUM).
3410         * valops.c (value_assign):  Only do COERCE_ARRAY if internalvar (let
3411         value_cast handle it otherwise); do *not* COERCE_ENUM either way.
3412         * valarith.c:  Use COERCE_NUMBER instead od COEREC_ARRAY.
3413         Add COERCE_REF before COERCE_ENUM.
3414         * values.c (value_as_long):  Simplify.
3415
3416         * valops.c (value_array):  Create internalvar if !c_style_arrays.
3417
3418         * language.c (lang_bool_type):  Add Fortran support.
3419         * eval.c (OP_BOOL):  Use LA_BOOL_TYPE.
3420
3421 Tue Jan 23 13:08:26 1996  Jeffrey A Law  ([email protected])
3422
3423         * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.
3424         All references changed.
3425         * breakpoint.c (bpstat_what): Add shlib_event to the class types.
3426         Update state table.  Reformat so that it's still readable.
3427         When we hit the shlib_event breakpoint, set the calss of shlib_event.
3428         (breakpoint_1): Add "shlib events" as a breakpoint type.
3429         Print the shlib_event breakpoint like other breakpoints.
3430         (create_solib_event_breakpoint): New function.
3431         (breakpoint_re_set_one): Handle solib_event breakpoints.
3432         * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type.
3433         (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS
3434         action.
3435         (create_solib_event_breakpoint): Declare.
3436         * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat.
3437         (normal_stop): Inform the user when the inferior stoped due
3438         to a shared library event.
3439         (_initialize_infrun): Add new set/show variable "stop-on-solib-events"
3440         to control whether or not gdb continues the inferior or stops it when
3441         a shared library event occurs.
3442         * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function.
3443         * somsolib.c (TODO list): Update.
3444         (som_solib_create_inferior_hook): Arrange for gdb to be notified
3445         when significant shared library events occur.
3446         * hppa-tdep.c (find_unwind_entry): No longer static.
3447
3448 Tue Jan 23 09:00:48 1996  Doug Evans  <[email protected]>
3449
3450         * printcmd.c (print_insn): Pass fprintf_unfiltered to
3451         INIT_DISASSEMBLE_INFO.
3452 start-sanitize-gdbtk
3453         * gdbtk.c (gdb_disassemble): Likewise.
3454 end-sanitize-gdbtk
3455
3456 Mon Jan 22 16:59:40 1996  Stan Shebs  <[email protected]>
3457
3458         * remote.c (remotebreak): New GDB variable.
3459         (remote_break): New global.
3460         (remote_interrupt): Send a break instead of ^C if remote_break.
3461         * NEWS: Describe the new variable.
3462
3463 Mon Jan 22 16:24:11 1996  Doug Evans  <[email protected]>
3464
3465         * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.
3466
3467 Fri Jan 19 07:19:38 1996  Fred Fish  <[email protected]>
3468
3469         * hp300ux-nat.c (getpagesize): Remove unused function
3470         fetch_core_registers.
3471         (hp300ux_core_fns):  Remove, is unused.
3472         (_initialize_core_hp300ux):  Remove, is unused.
3473         (gdbcore.h):  Remove #include, no longer needed.
3474         
3475 Fri Jan 19 00:59:53 1996  Jeffrey A Law  ([email protected])
3476
3477         * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
3478         ptrace bug in aix4.1.3 on the rs6000.
3479
3480 Wed Jan 17 13:22:27 1996  Stan Shebs  <[email protected]>
3481
3482         * remote-hms.c (hms_ops): Add value for to_thread_alive.
3483         * remote-nindy.c (nindy_ops): Ditto.
3484         * remote-udi.c (udi_ops): Ditto.
3485
3486 Tue Jan 16 18:00:35 1996  James G. Smith  <[email protected]>
3487
3488         * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
3489         pmon_checkset, pmon_make_fastrec, pmon_check_ack,
3490         pmon_load_fast): New functions. Support for the PMON monitor world.
3491         (common_open): New function to merge support for different monitors.
3492         (mips_open): Use common_open().
3493         (mips_send_command): New function.
3494         (mips_send_packet): Scan out-of-sequence packets.
3495         (mips_enter_debug, mips_exit_debug): New functions.
3496         (pmon_ops): New target definition structure.
3497         
3498 Tue Jan 16 11:22:58 1996  Stu Grossman  ([email protected])
3499
3500         * Makefile.in (CLIBS):  Add LIBS to allow libraries to be
3501         specified on the make command line (via make LIBS=xxx).
3502 start-sanitize-gm
3503         * configure.in (enable-gm):  magic.o -> gmagic.o.
3504 end-sanitize-gm
3505
3506 start-sanitize-gdbtk
3507 Mon Jan 15 09:58:41 1996  Tom Tromey  <[email protected]>
3508
3509         * gdbtk.tcl (create_expr_window): Many changes to update GUI.
3510         (add_expr): Changes from create_expr_window.
3511         (create_command_window): Set focus.
3512         (delete_expr): Rewrote.
3513         (expr_update_button): New proc.
3514         (add_expr): Put bindings on FocusIn, FocusOut.
3515         Don't allow .file_popup to be torn off.
3516 end-sanitize-gdbtk
3517
3518 Fri Jan 12 21:41:58 1996  Jeffrey A Law  ([email protected])
3519
3520         * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
3521         is set but there are no psymtabs.
3522
3523 Fri Jan 12 15:56:12 1996  Steve Chamberlain  <[email protected]>
3524
3525         * dsrec.c (load_srec): Remove unused variable.
3526         * monitor.c (monitor_expect): Don't expect a ^C to echo.
3527         * serial.c (serial_open): Add parallel interface.
3528         * sh3-rom.c (parallel, parallel_in_use): New.
3529         (sh3_load): If parallel_in_use, download though the
3530         parallel port.
3531         (sh3_open): Open parallel port if specified.
3532         (sh3_close): New function.
3533         (_inititalize_sh3): Add sh3_close hook and documentation.
3534         * monitor.c (monitor_close): Export.
3535         * monitor.h (monitor_close): Add prototype.
3536
3537 Fri Jan 12 13:11:42 1996  Stan Shebs  <[email protected]>
3538
3539         From Wilfried Moser <[email protected]>:
3540         * remote.c (remotetimeout): New GDB variable, use to set the
3541         remote timeout for reading.
3542
3543 start-sanitize-gdbtk
3544 Fri Jan 12 09:36:17 1996  Tom Tromey  <[email protected]>
3545
3546         * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
3547         (update_listing): Use lassign.  Use "see" to scroll.  Don't need
3548         screen_top, screen_bot, screen_height.
3549         (update_assembly): Use "see" to scroll.
3550         (textscrollproc): Removed.
3551         (create_file_win): Don't use textscrollproc.
3552         (asmscrollproc): Removed.
3553         (create_asm_window): Don't use asmscrollproc.
3554         (create_asm_win): Ditto.
3555         (screen_height, screen_top, screen_bot): Removed.
3556         (run_editor): New proc.
3557         (build_framework): Use it.
3558         (create_file_win, create_source_window): Don't use textscrollproc.
3559         (create_breakpoints_window): Set -xscrollcommand on canvas.
3560         (not_implemented_yet): Default button is 0.
3561         (delete_char): Don't use tk_textBackspace.
3562         (create_command_window): Allow Tk bindings to fire after deleting
3563         character.
3564         (create_command_window): Make Delete delete left, not right.
3565 end-sanitize-gdbtk
3566
3567 Fri Jan 12 07:14:27 1996  Fred Fish  <[email protected]>
3568
3569         * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
3570         to get "struct core_fns" defined.
3571         * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
3572         Are dependent upon gdbcore_h.
3573
3574 Thu Jan 11 23:13:24 1996  Per Bothner  <[email protected]>
3575
3576         * symfile.c (decrement_reading_symtab):  New function.
3577         * symfile.c, symtab.h (currently_reading_symtab):  New variable.
3578         * symfile.c (psymtab_to_symtab):  Adjust currently_reading_symtab.
3579         * gdbtypes.c (check_typedef):  Don't call lookup_symbol if
3580         currently_reading_symtab (since that could infinitely recurse).
3581
3582 Thu Jan 11 17:21:25 1996  Per Bothner  <[email protected]>
3583
3584         * stabsread.c (read_struct_type):  Trivial simplification.
3585
3586         * stabsread.c (define-symbol):  Use invisible references
3587         for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
3588         * valops.c (call_function_by_hand):  Likewise.
3589         * eval.c (evaluate_subexp_standard):  When known, use the formal
3590         parameter type as the expected type when evaluating arg expressions.
3591         * ch-lang.c (evaluate_subexp_chill):  Likewise (for MULTI_SUBSCRIPT).
3592
3593 start-sanitize-gdbtk
3594 Thu Jan 11 10:08:14 1996  Tom Tromey  <[email protected]>
3595
3596         * main.c (main): Disable window interface if --help or --version
3597         specified.
3598
3599         * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
3600
3601         Changes in sync with expect:
3602         * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
3603         CY_AC_PATH_TK.
3604         * aclocal.m4: Replaced with version from expect.
3605         * configure: Regenerated.
3606 end-sanitize-gdbtk
3607
3608 Wed Jan 10 16:08:49 1996  Brendan Kehoe  <[email protected]>
3609
3610         * configure.in, configure: Recognize rs6000-*-aix4*.
3611         * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
3612         * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
3613         * config/rs6000/xm-aix4.h: New file.
3614         * config/xm-aix4.h: New file.
3615
3616 Wed Jan 10 11:25:37 1996  Fred Fish  <[email protected]>
3617
3618         From Wilfried Moser <[email protected]>:
3619         * gdbserver/low-linux.c: New file.
3620         * remote.c (remote_read_bytes): Fix aborts on larger packets.
3621
3622         * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
3623         Define.
3624         * stabsread.c (define_symbol): If register value is too large,
3625         tell what it is and what max is.
3626
3627 start-sanitize-gdbtk
3628 Wed Jan 10 09:07:22 1996  Tom Tromey  <[email protected]>
3629
3630         * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
3631         gdbtk_tcl_flush): Use "see", not "yview".
3632         (gdbtk_tcl_query): Use questhead bitmap.
3633         various: Always wrap condition of 'if' in {...}.
3634         (add_breakpoint_frame): Set -value on radiobuttons.
3635         (lassign): New proc.
3636         (add_breakpoint_frame): Use lassign, not series of assignments.
3637         (decr): Made faster.
3638         (interactive_cmd): Use "see", not "yview".
3639         (not_implemented_yet): Use warning bitmap.
3640         (update_expr): Don't allow $expr to be evalled by Tcl.
3641         (create_expr_window): Don't use "focus".
3642         (delete_char, delete_line): Define globally.
3643         (delete_line, delete_char, create_command_window, update_autocmd,
3644         build_framework, create_asm_win, create_file_win): Use "see", not
3645         "yview".
3646         (create_copyright_window, center_window, bind_widget_after_class):
3647         New procs.
3648         (FSBox,create_command_window, create_autocmd_window): Binding
3649         changes for Tk4.
3650         (textscrollproc): Define globally.
3651         (build_framework): tk_menuBar no longer needed.  Keys Prior, Next,
3652         Home, End, Up, and Down are all defined by Tk.
3653         (apply_filespec): Use error bitmap in dialog.
3654         (files_command): Don't use tk_listboxSingleSelect.
3655         (files_command): Don't use "uniq" to remove duplicates from a
3656         list.
3657         (update_assembly): Use lassign.
3658         (create_asm_win): Removed redundant bindings.
3659         (listing_window_button_1, file_popup_menu): Use tk_popup.
3660         (ButtonRelease-1 binding): Just remove tag from window; rest
3661         handled by Tk.
3662
3663         * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
3664         (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
3665         (gdbtk_call_command): Ditto.
3666 end-sanitize-gdbtk
3667
3668 Tue Jan  9 09:33:53 1996  Jeffrey A Law  ([email protected])
3669
3670         * hpread.c (hpread_build_psymtabs): Finish Jan 4th 
3671         enum namespace -> enum_namespace change.
3672
3673 Tue Jan  9 04:44:47 1996  Wilfried Moser (Alcatel)  <[email protected]>
3674
3675         * ch-exp.c (parse_primval): In case ARRAY, add missing
3676         FORWARD_TOKEN ().
3677
3678 Mon Jan  8 13:29:34 1996  Stan Shebs  <[email protected]>
3679
3680         * remote-mips.c (mips_receive_header): Recognize \012 instead
3681         of \n, but write \n when program sends a \012.
3682         * ser-mac.c (mac_input_buffer): Increase size of buffer.
3683
3684 Mon Jan  8 12:00:40 1996  Jeffrey A Law  ([email protected])
3685
3686         * infptrace.c (initialize_infptrace): Move function out of
3687         #ifdef conditional; put code within the function inside an
3688         #ifdef conditional.
3689
3690         * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
3691         arguments.  Sorting is now dependent on OBJF_REORDERED.  All
3692         callers/references changed.
3693         * dbxread.c (read_ofile_symtab): Correctly determine value for
3694         last_source_start_addr for reordered executables.
3695         (process_one_symbol): Handle N_FUN with no name as an end of
3696         function marker.
3697         * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
3698         is the high text address for a psymtab.
3699         (case N_SO): Likewise.
3700         (case N_FUN): Handle N_FUN with no name as an end of function
3701         marker.
3702         * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
3703         at the same address rather than a random subset of them.
3704         * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
3705         * elfread.c (elf_symfile_init): Similarly.
3706         * somread.c (som_symfile_init): Similarly.
3707         * xcoffread.c (xcoff_symfile_init): Similarly.
3708
3709 Fri Jan  5 17:46:01 1996  Stu Grossman  ([email protected])
3710
3711         * stack.c (print_stack_frame print_frame_info) symmisc.c
3712         (dump_symtab):  Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
3713         that catch_errors doesn't get blindsided by QUIT and lose the
3714         cleanup chain.  This fixes a problem where ^C while in a
3715         user-defined command sometimes leaves instream NULL and causes a
3716         segfault in command_loop.
3717
3718 Fri Jan  5 13:59:16 1996  Brendan Kehoe  <[email protected]>
3719
3720         * configure.in, configure: Add `-ldl -lw' for Solaris linking.
3721
3722 Fri Jan  5 12:02:00 1996  Steve Chamberlain  <[email protected]>
3723
3724         * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
3725         config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
3726         srec.o renamed to dsrec.o.
3727
3728 Thu Jan  4 16:04:54 1996  Stu Grossman  ([email protected])
3729
3730         * breakpoint.c (remove_breakpoint):  Change error to warning so
3731         that hardware watchpoint removal problems won't leave breakpoint
3732         traps in the target.
3733 start-sanitize-gdbtk
3734         * configure configure.in:  Make --enable-gdbtk be the default.
3735 end-sanitize-gdbtk
3736         * remote-e7000.c (e7000_insert_breakpoint,
3737         e7000_remove_breakpoint):  Use e7000 based breakpoints, not memory
3738         breakpoints.
3739         * (e7000_wait):  Adjust PC back by two when we see a breakpoint to
3740         compensate for e7000 maladjustment.
3741         * sparcl-tdep.c (sparclite_check_watch_resources):  Fix logic bug
3742         which prevented hardware watchpoints from working.
3743
3744 Thu Jan  4 10:44:17 1996  Fred Fish  <[email protected]>
3745
3746         * infptrace.c (udot_info): New function.
3747         (PT_*): Define each individually if that one is not defined.
3748         * rs6000-nat.c (kernel_u_size): New function
3749         Include <sys/user.h> for "struct user"
3750         * alpha-nat.c (kernel_u_size): New function.
3751         Include <sys/user.h> for "struct user"
3752         * sparc-nat.c (kernel_u_size): New function.
3753         Include <sys/user.h> for "struct user"
3754         * i386b-nat.c (kernel_u_size): New function.
3755         * i386v-nat.c (kernel_u_size): New function.
3756         * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
3757         (kernel_u_size): Declare.
3758         * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
3759         (kernel_u_size): Declare.
3760         * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
3761         (kernel_u_size): Declare.
3762         * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
3763         (kernel_u_size): Declare.
3764         * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
3765         (kernel_u_size): Declare.
3766
3767 Thu Jan  4 11:00:01 1996  steve chamberlain  <[email protected]>
3768
3769         * mdebugread.c (mylookup_symbol): enum namespace becomes
3770         enum_namespace  type.
3771         * symfile.c (add_psymbol_to_list)
3772         (add_psymbol_addr_to_list): Ditto.
3773         * symtab.c (lookup_partial_symbol): Ditto.
3774         (lookup_symbol): Ditto.
3775         (lookup_block_symbol): Ditto.   
3776         * win32-nat.c (handle_load_dll): Use incoming dll base.
3777         (child_wait): Catch DLL load errors.
3778         (create_child_inferior): Translated between paths correctly.
3779
3780 Wed Jan  3 23:13:53 1996  Fred Fish  <[email protected]>
3781
3782         * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
3783         from NUM_REGS to get number of general registers that we care about.
3784         * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
3785         of number of general regs and number of floating point regs.
3786
3787 Wed Jan  3 19:49:54 1996  steve chamberlain  <[email protected]>
3788
3789         * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
3790         (SKIP_TRAMPOLINE_CODE): New.
3791         * config/i386/xm-win32.h (CANT_FORK): Deleted.
3792         (SLASH*) Changed to use unix style slash.
3793         * symtab.h (namespace enum): becomes typedef to avoid namespace
3794         collision in C++. 
3795         * infcmd.c (path_command): Use empty string if PATH name not set.
3796         * i386-tdep.c (skip_trampoline_code): New function.
3797         * srec.c: Renamed dsrec.c to avoid filename collision.
3798         * Makefile.in: Cope with renaming.
3799         
3800 Wed Jan  3 13:09:04 1996  Fred Fish  <[email protected]>
3801
3802         * symmisc.c (print_objfile_statistics): Print memory use statistics
3803         for objfile psymbol, symbol, and type obstacks.
3804
3805 Tue Jan  2 13:41:14 1996  Stan Shebs  <[email protected]>
3806
3807         * config/mips/nm-irix5.h: Restore.
3808         (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
3809         from Lee Iverson <[email protected]>.
3810         * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
3811         * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
3812
3813 For older changes see ChangeLog-95
3814 \f
3815 Local Variables:
3816 mode: indented-text
3817 left-margin: 8
3818 fill-column: 74
3819 version-control: never
3820 End:
This page took 0.233518 seconds and 4 git commands to generate.