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