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