X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=315e42a0020cb961f567ef62b71132301b8ca38b;hb=cb74cc240dfca14768005cd4ba34dc06283c2a7c;hp=9b708c0dd096809a71f76b8f15af940038e914be;hpb=6687c9531dd9abe1aafb2c1e9425119dd51d5bbc;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9b708c0dd0..315e42a002 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,1038 @@ +Tue Jul 30 17:57:46 1996 Stan Shebs + + * stabsread.c (get_substring): Declare second arg as int. + + * remote-es.c: Include gdb_string.h after defs.h. + +Mon Jul 29 21:13:20 1996 Fred Fish + + * rs6000-tdep.c (push_arguments): Remove unused variable "pc". + (branch_dest): Remove unused variable "offset". + (pop_dummy_frame): Add prototype and make static. + (push_arguments): Guard against using len uninitialized. + (push_arguments): Guard against using arg uninitialized. + (frame_saved_pc): Remove unused variable "frameless". + (free_loadinfo): Ifdef out unused function. + + * xcoffread.c (compare_lte): Change prototype and function to + be correct type for passing to qsort. + (add_stab_to_list): Ifdef out unused function and prototype. + (compare_lte): Add prototype + (arrange_linetable): Ditto. + (record_include_begin): Ditto. + (record_include_end): Ditto. + (process_linenos): Ditto. + (xcoff_next_symbol_text): Ditto. + (scan_xcoff_symtab): Ditto. + (xcoff_initial_scan): Ditto. + + * mips-tdep.c (mips_read_processor_type): Add parens around + bitwise-and operands in comparison; previous expression always + evaluated to 0 because of equality comparison of two constants. + + * rs6000-tdep.c (skip_prologue): Add missing parens around + operands of logical-or so that first operand does not bind + to previous logical-and. + + * configure.in: Expand "long long" test to include code that triggers + known problem on HPUX with native compiler. + (configure): Regenerated. + +Mon Jul 29 18:12:27 1996 Jeffrey A Law (law@cygnus.com) + + * somsolib.c (som_solib_create_inferior_hook): Don't + warn if __d_pid can't be found. + +Sun Jul 28 10:46:39 1996 Fred Fish + + * config/mips/tm-mips.h (struct frame_info): Forward decl. + (struct type): Ditto. + (struct value): Ditto. + + * config/mips/tm-mips.h (sigtramp_address): Move extern decl + from mips-tdep.c to here. + (sigtramp_end): Ditto. + (fixup_sigtramp): Ditto. + + * config/mips/tm-mips.h (init_extra_frame_info): Add prototype. + (mips_frame_chain): Ditto. + (mips_step_skips_delay): Ditto. + (mips_frame_saved_pc): Ditto. + (mips_find_saved_regs): Ditto. + (mips_frame_num_args): Ditto. + (mips_pop_frame): Ditto. + (mips_extract_return_value): Ditto. + (mips_store_return_value): Ditto. + (mips_push_dummy_frame): Ditto. + (mips_push_arguments): Ditto. + (mips_do_registers_info): Ditto. + (ecoff_relocate_efi): Ditto. + (ecoff_relocate_efi): Ditto. + * irix4-nat.c (fetch_core_registers): Add prototype. + * mips-tdep.c (read_next_frame_reg): Add prototype + (heuristic_proc_start): Ditto. + (heuristic_proc_desc): Ditto. + (mips_print_register): Ditto. + * config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype. + (procfs_stopped_by_watchpoint): Ditto. + * config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype. + (procfs_stopped_by_watchpoint): Ditto. + * config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype. + (struct symbol): Add forward decl for prototype. + + * breakpoint.c (internal_breakpoint_number): Only needed if + GET_LONGJMP_TARGET or SOLIB_ADD is defined. + + * objfiles.c (ecoff_relocate_efi): Remove prototype. + +Sat Jul 27 17:47:35 1996 Fred Fish + + * configure.in: Add test for "long long" support. + * configure: Regenerate with autoconf. + * acconfig.h: Add CC_HAS_LONG_LONG + * config.in: Regenerate with autoheader. + * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove + * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove. + * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove. + * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove. + * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove + (PRINTF_HAS_LONG_LONG): Remove. + (FORCE_LONG_LONG): Remove. + * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version. + * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove + (PRINTF_HAS_LONG_LONG): Remove. + * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove. + (PRINTF_HAS_LONG_LONG): Remove. + * config/pa/tm-hppa.h (GET_FIELD): Put parens around + subtraction inside shift. Put parens around subtraction + in operand of bitwise and. + (struct frame_info): Forward declare + if __STDC__ defined. + (frame_saved_regs): Ditto. + (struct value): Ditto. + (struct type): Ditto. + (struct inferior_status): Ditto. + (init_extra_frame_info): Add prototype. + (skip_prologue): Ditto. + (frameless_function_invocation): Ditto. + (frame_chain): Ditto. + (frame_chain_valid): Ditto. + (saved_pc_after_call): Ditto. + (hppa_fix_call_dummy): Ditto. + (hppa_push_arguments): Ditto. + (pa_do_registers_info): Ditto. + (in_solib_call_trampoline): Ditto. + (in_solib_return_trampoline): Ditto. + (push_dummy_frame): Ditto. + * convex-tdep.c (decout): Use print_longest rather than + fprintf_filtered. + * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set + CC_HAS_LONG_LONG. + (INT_MIN): Fix so it works correctly when assigned to a long long. + * valprint.c (longest_to_int): Rewrite to remove dependence + on INT_MIN and INT_MAX. + (print_longest): Rewrite the code that falls back to synthesized + hex output when LONGEST value is not representable as in a long and + printf doesn't support printing long longs. + * ch-valprint.c (chill_val_print): Cast 2nd arg of + chill_print_type_scalar to LONGEST. + chill_print_type_scalar): Make static and add prototype. + * hppa-tdep.c (get_field): Ifdef out unused function. + (set_field): Ditto. + (extract_3): Ditto. + (extract_5_store): Ditto. + (extract_11): Ditto. + (extract_12): Ditto. + (deposit_17): Ditto. + (extract_14): Convert to static and add prototype. + (deposit_14): Ditto. + (extract_21): Ditto. + (deposit_21): Ditto. + (extract_17): Ditto. + (extract_5r_store): Ditto. + (extract_5R_store): Ditto. + (extract_5_load): Ditto. + (find_proc_framesize): Ditto. + (find_dummy_frame_regs): Ditto. + (sign_extend): Ditto. + (find_unwind_entry): Add prototype. + (find_return_regnum): Ditto. + (unwind_command): Ditto. + (find_dummy_frame_regs): Add parens around subtraction in operand + of bitwise-and. + (skip_prologue): Add parens around operands of logical-and inside + operand of logical-or. + (sign_extend): Add parens around operands of subtraction inside + operand of shift. + (low_sign_extend): Ditto. + * top.c (filename_completer): Convert old style decl of + filename_completion_function into prototype. + * f-lang.c (patch_common_entries): Ifdef out unused function. + * stabsread.c (read_cfront_baseclasses): Remove unused local + variable "msg_noterm". + (resolve_cfront_continuation): Remove unused local variable "fip". + (read_type): Remove unused variable xtypenums. + (read_cfront_static_fields): Remove unused variable "i". + (read_cfront_static_fields): Remove unused variable "nfields". + (read_cfront_member_functions): Add missing comment terminator. + (read_cfront_static_fields): Return 1 rather than random value. + (read_cfront_baseclasses): Ditto. + (read_cfront_baseclasses): Ditto. + (read_cfront_baseclasses): Ditto. + * somsolib.c (som_solib_create_inferior_hook): Remove unused + variable "u". + (som_solib_create_inferior_hook): Remove unused variable + shadow_contents. + (language.h): Add for needed prototypes. + (som_solib_sharedlibrary_command): Add prototype. + * hpread.c: (hpread_read_array_type): Add prototype. + * somread.c (hpread_build_pysmtabs): Add prototype. + (hpread_symfile_finish): Ditto. + (hpread_symfile_init): Ditto. + * hppah-nat.c (fetch_register): Convert old style decl + to prototype. + (gdbcore.h): Include for needed prototypes. + (fetch_register): Remove unused variable "mess". + * remote-pa.c (get_offsets): Ifdef out unused function. + (remote_start_remote): Remove unused variable "timeout". + (boot_board): Add prototype. + (reaad_frame): Add prototype. + (getpkt): Remove unused variable "bp". + (remote_kill): Add prototype. + (remote_mourn): Add prototype. + (remote_insert_breakpoint): Add prototype. + (remote_remove_breakpoint): Add prototype. + * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined. + * infcmd.c (do_registers_info): Only need prototype if + DO_REGISTERS_INFO is not defined. + (breakpoint_auto_delete_contents): Only need if + CALL_DUMMY_BREAKPOINT_OFFSET is defined. + +Sat Jul 27 08:49:49 1996 Fred Fish + + * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter. + (END_PSYMTAB): Ditto. + (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set. + +Fri Jul 26 14:07:37 1996 Ian Lance Taylor + + * printcmd.c (_initialize_printcmd): Initialize + tm_print_insn_info.flavour. +start-sanitize-gdbtk + * gdbtk.c (gdb_disassemble): Initialize di.flavour. +end-sanitize-gdbtk + +Thu Jul 25 19:41:31 1996 Fred Fish + + * Makefile.in (scm-valprint.o): Depends upon gdbcore_h. + (arm-tdep.o): Ditto. + (dcache.o): Ditto. + (i386ly-tdep.o): Ditto. + (i960-tdep.o): Ditto. + (m68k-tdep.o): Ditto. + (nindy-tdep.o): Ditto. + (scm-lang.o): Ditto. + (w65-tdep.o): Ditto. + (z8k-tdep.o): Ditto. + (m68k-tdep.o): Depends upon value_h and gdb_string.h + (m2-valprint.o): Depends upon m2-lang.h. + (sparc-tdep.o): Depends upon gdb_string.h + (valprint.o): Depends upon valprint.h + + * remote-e7000.c (notice_quit): Remove prototype. + * top.c (initialize_targets): Remove prototype, now in target.h. + * stabsread.c (resolve_cfront_continuation): Remove prototype. + * dbxread.c (resolve_cfront_continuation): Remove prototype. + * symfile.h (set_demangling_style): Remove prototype. + * config/tm-sysv4.h (in_plt_section): Remove prototype, in objfiles.h. + * config/sparc/tm-sparc.h (single_step): Remove extern decl, now in + target.h. + * config/arc/tm-arc.h (one_stepped, single_step): Remove extern decls, + now in target.h. + * ser-unix.c (hardwire_restore): Remove obsolete prototype. + * sparc-tdep.c (single_step): Remove forward decl of isbranch. + * scm-lang.c (find_function_in_inferior): Remove prototype. + (value_allocate_space_in_inferior): Ditto. + * infrun.c (write_pc_pid): Remove prototype, now in inferior.h. + * defs.h (strchr): Remove declarations, they are declared in + gdb_string.h also. + (strrchr): Ditto. + (strstr): Ditto. + (strtok): Ditto. + (strerror): Ditto. + * f-valprint.c (f77_print_array_1): Remove extra arg that was being + passed to f77_print_array_1. + * gdbtypes.c (add_name): Remove unused variables lenstrlen and lenstr. + * scm-exp.c (scm_istr2int): Remove unused variable "j". + (scm_parse): Remove unused variable "str". + * hp300ux-nat.c (store_inferior_register): Remove unused variable + "buf". + (store_inferior_registers): Remove unnecessary decl "registers". + * m68k-tdep.c (m68k_pop_frame): Remove unused variable "fi". + * scm-lang.c (scm_get_field): Remove unused variable "val". + (scm_lookup_name): Remove unused variable "symval". + * objfiles.c (map_to_file): Remove unused local variable "tempfd". + * procfs.c (do_attach, do_detach): Remove unused variable "result". + (last_resume_pid): Remove unused static variable. + * alpha-tdep.c (alpha_linux_sigtramp_offset): Remove unused variable + "res". + * objfiles.c (map_to_address): Remove unused function. + * f-valprint.c (print_max): Remove extraneous extern decl, + in valprint.h. + (calc_f77_array_dims): Remove extraneous prototype, in f-lang.h. + * ch-exp.c (write_lower_upper_value): Remove prototype for + type_lower_upper. + + * gdbtypes.c (cfront_mangle_name): #ifdef out unused function. + * ch-exp.c (parse_mode_call): Ditto. + * f-valprint.c (there_is_a_visible_common_named): Ditto. + * f-lang.c (clear_function_list): Ditto. + (get_bf_for_fcn): Ditto. + (clear_bf_list): Ditto. + (add_common_block): Ditto. + (patch_all_commons_by_name): Ditto. + (find_first_common_named): Ditto. + (add_common_entry): Ditto. + (allocate_saved_function_node): Ditto. + (allocate_saved_bf_node): Ditto. + (allocate_common_entry_node): Ditto. + (allocate_saved_f77_common_node): Ditto. + + * arm-tdep.c (gdbcore.h): Include for necessary prototypes. + * dcache.c (gdbcore.h): Ditto. + * i386ly-tdep.c (gdbcore.h): Ditto. + * i960-tdep.c (gdbcore.h): Ditto. + * m2-valprint.c (m2-lang.h): Ditto. + * m68k-tdep.c (gdbcore.h): Ditto. + (value.h): Ditto. + (gdb_string.h): Ditto. + * nindy-tdep.c (gdbcore.h): Ditto. + * scm-lang.c (gdbcore.h): Ditto. + * scm-valprint.c (gdbcore.h): Ditto. + * w65-tdep.c (gdbcore.h): Ditto. + * z8k-tdep.c (gdbcore.h): Ditto. + * sparc-tdep.c (gdb_string.h): Include. + * valprint.c (valprint.h): Include. + + * config/xm-lynx.h: Remove part of comment about INT_MIN + redefined warnings from defs.h, since INT_MIN define in + defs.h is now protected by #ifndef INT_MIN. + * config/i386/xm-i386bsd.h: Ditto. + * config/m68k/xm-hp300bsd.h: Ditto. + * config/m68k/xm-news.h: Ditto. + + * config/pa/xm-hppah.h (INT_MIN): Remove bogus INT_MIN + definition as 0x80000000. The macro in defs.h is better. + * config/i386/xm-i386m3.h (INT_MIN): Ditto. + * config/i386/xm-i386mach.h (INT_MIN): Ditto. + * config/ns32k/xm-ns32km3.h (INT_MIN): Ditto. + * config/pa/xm-hppab.h: Ditto. + + * core-aout.c (fetch_core_registers): Add prototype. + * hp300ux-nat.c (fetch_inferior_register): Ditto. + (store_inferior_register_1): Ditto. + (store_inferior_register): Ditto. + * config/m68k/tm-m68k.h (find_saved_regs): Ditto. + *scm-valprint.c (c_val_print): Ditto. + * procfs.c (add_fd): Ditto. + (remove_fd): Ditto. + (wait_fd): Ditto. + (sigcodename): Ditto. + (sigcodedesc): Ditto. + (procfs_kill_inferior): Ditto. + (procfs_xfer_memory): Ditto. + (procfs_store_registers): Ditto. + (create_procinfo): Ditto. + (procfs_init_inferior): Ditto. + (proc_set_exec_trap): Ditto. + (procfs_attach): Ditto. + (procfs_detach): Ditto. + (procfs_prepare_to_store): Ditto. + (procfs_files_info): Ditto. + (procfs_open): Ditto. + (procfs_wait): Ditto. + (procfs_fetch_registers): Ditto. + (procfs_mourn_inferior): Ditto. + (procfs_can_run): Ditto. + (procfs_thread_alive): Ditto. + (procfs_stop): Ditto. + * alpha-nat.c (fetch_core_registers): Ditto. + * config/alpha/tm-alpha.h (alpha_osf_skip_sigtramp_frame): Ditto. + * objfiles.c (ecoff_relocate_efi): Ditto. + * inflow.c (pass_signal): Ditto. + (handle_sigio): Ditto. + * annotate.c (breakpoint_changed): Ditto. + * callback.c (wrap): Ditto. + (fdbad): Ditto. + (fdmap): Ditto. + * utils.c (malloc_botch): Ditto. + (fputs_maybe_filtered): Ditto. + (vfprintf_maybe_filtered): Ditto. + * defs.h (notice_quit): Ditto. + * defs.h (xmalloc, xrealloc): Ditto. + * top.c (stop_sig): Ditto. + (init_signals): Ditto. + (user_defined_command): Ditto. + (source_cleanup_lines): Ditto. + (dont_repeat_command): Ditto. + (serial_log_command): Ditto. + (disconnect): Ditto. + * target.h (initialize_targets): Ditto. + * os9kread.c (read_minimal_symbols): Ditto. + * mdebugread.c (mdebug_psymtab_to_symtab): Ditto. + (fdr_name): Ditto. + (push_parse_stack): Ditto. + (pop_parse_stack): Ditto. + (is_pending_symbol): Ditto. + (add_pending): Ditto. + * serial.c (serial_logchar): Ditto. + (serial_interface_lookup): Ditto. + * serial.h (serial_log_command): Ditto. + * f-valprint.c (info_common_command): Ditto. + * gdbtypes.h (print_type_scalar): Ditto. + * scm-valprint.c (scm_scmlist_print): Ditto. + (scm_ipruk): Ditto. + * scm-lang.c (scm_printstr): Ditto. + (in_eval_c): Ditto. + (evaluate_subexp_scm): Ditto. + * scm-exp.c (scm_read_token): Ditto. + (scm_skip_ws): Ditto. + (scm_lreadparen): Ditto. + * m2-lang.c (emit_char): Ditto. + (m2_printchar): Ditto. + (m2_printstr): Ditto. + (m2_create_fundamental_type): Ditto. + * f-lang.c (emit_char): Ditto. + (f_printchar): Ditto. + (f_printstr): Ditto. + (f_create_fundamental_type): Ditto. + * ch-lang.c (chill_printchar): Ditto. + (chill_printstr): Ditto. + (chill_create_fundamental_type): Ditto. + (value_chill_length): Ditto. + (value_chill_card): Ditto. + (value_chill_max_min): Ditto. + (evaluate_subexp_chill): Ditto. + * ch-exp.c (PEEK_TOKEN): Ditto. + (peek_token_): Ditto. + (forward_token_): Ditto. + (parse_case_label): Ditto. + (parse_opt_untyped_expr): Ditto. + (parse_unary_call): Ditto. + (parse_call): Ditto. + (parse_named_record_element): Ditto. + (parse_tuple_element): Ditto. + (parse_opt_element_list): Ditto. + (parse_tuple): Ditto. + (parse_primval): Ditto. + (parse_operand6): Ditto. + (parse_operand5): Ditto. + (parse_operand4): Ditto. + (parse_operand3): Ditto. + (parse_operand2): Ditto. + (parse_operand1): Ditto. + (parse_operand0): Ditto. + (parse_expr): Ditto. + (parse_then_alternative): Ditto. + (parse_else_alternative): Ditto. + (parse_if_expression): Ditto. + (parse_untyped_expr): Ditto. + (growbuf_by_size): Ditto. + (match_simple_name_string): Ditto. + (decode_integer_value): Ditto. + (decode_integer_literal): Ditto. + (match_float_literal): Ditto. + (match_float_literal): Ditto. + (match_string_literal): Ditto. + (match_character_literal): Ditto. + (match_integer_literal): Ditto. + (match_bitstring_literal): Ditto. + (write_lower_upper_value): Ditto. + * ch-lang.h (type_lower_upper): Ditto. + * c-lang.c (emit_char): Ditto. + * dwarfread.c (free_utypes): Ditto. + * stabsread.h (resolve_cfront_continuation): Ditto. + * stabsread.c (get_substring): Ditto. + (read_one_struct_field): Ditto. + * stabsread.h (process_later): Ditto. + * demangle.c (set_demangling_command): Ditto. + * defs.h (set_demangling_style): Ditto. + * maint.c (maintenance_info_command): Ditto. + (print_section_table): Ditto. + (maintenance_info_sections): Ditto. + (maintenance_print_command): Ditto. + * symtab.h (maintenance_print_statistics): Ditto. + * objfiles.h (in_plt_section): Ditto. + * objfiles.c (add_to_objfile_sections): Ditto. + * bcache.c (hash): Ditto. + (lookup_cache): Ditto. + * exec.c (bfdsec_to_vmap): Ditto. + (ignore): Ditto. + * f-exp.y (growbuf_by_size, match_string_literal): Ditto. + * language.c (unk_lang_printchar): Ditto. + (unk_lang_printstr): Ditto. + (unk_lang_create_fundamental_type): Ditto. + (unk_lang_print_type): Ditto. + (unk_lang_val_print): Ditto. + (unk_lang_value_print): Ditto. + * target.c (update_current_target): Ditto. + (debug_to_open): Ditto. + (debug_to_close): Ditto. + (debug_to_attach): Ditto. + (debug_to_detach): Ditto. + (debug_to_resume): Ditto. + (debug_to_wait): Ditto. + (debug_to_fetch_registers): Ditto. + (debug_to_store_registers): Ditto. + (debug_to_prepare_to_store): Ditto. + (debug_to_xfer_memory): Ditto. + (debug_to_files_info): Ditto. + (debug_to_insert_breakpoint): Ditto. + (debug_to_remove_breakpoint): Ditto. + (debug_to_terminal_init): Ditto. + (debug_to_terminal_inferior): Ditto. + (debug_to_terminal_ours_for_output): Ditto. + (debug_to_terminal_ours): Ditto. + (debug_to_terminal_info): Ditto. + (debug_to_kill): Ditto. + (debug_to_load): Ditto. + (debug_to_lookup_symbol): Ditto. + (debug_to_create_inferior): Ditto. + (debug_to_mourn_inferior): Ditto. + (debug_to_can_run): Ditto. + (debug_to_notice_signals): Ditto. + (debug_to_thread_alive): Ditto. + (debug_to_stop): Ditto. +start-sanitize-gdbtk + * gdbtk.c (null_routine): Ditto. + (gdbtk_flush): Ditto. + (gdbtk_fputs): Ditto. + (gdbtk_query): Ditto. + (gdbtk_readline): Ditto. + (gdbtk_readline_end): Ditto. + (gdb_get_breakpoint_list): Ditto. + (gdb_get_breakpoint_info): Ditto. + (breakpoint_notify): Ditto. + (gdbtk_create_breakpoint): Ditto. + (gdbtk_delete_breakpoint): Ditto. + (gdbtk_modify_breakpoint): Ditto. + (gdb_loc): Ditto. + (gdb_eval): Ditto. + (gdb_sourcelines): Ditto. + (map_arg_registers): Ditto. + (get_register_name): Ditto. + (gdb_regnames): Ditto. + (get_register): Ditto. + (gdb_fetch_registers): Ditto. + (register_changed_p): Ditto. + (gdb_changed_register_list): Ditto. + (gdb_cmd): Ditto. + (call_wrapper): Ditto. + (gdb_listfiles): Ditto. + (gdb_stop): Ditto. + (gdbtk_dis_asm_read_memory): Ditto. + (compare_lines): Ditto. + (gdb_disassemble): Ditto. + (tk_command): Ditto. + (cleanup_init): Ditto. + (gdbtk_interactive): Ditto. + (x_event): Ditto. + (gdbtk_wait): Ditto. + (gdbtk_call_command): Ditto. + (tk_command_loop): Ditto. + (gdbtk_init): Ditto. +end-sanitize-gdbtk + * breakpoint.h (set_breakpoint_sal): Ditto. + * remote-utils.c (usage): Ditto. + * remote.c (set_thread): Ditto. + (remote_thread_alive): Ditto. + (get_offsets): Ditto. + (read_frame): Ditto. + (remote_insert_breakpoint): Ditto. + (remote_remove_breakpoint): Ditto. + * sparc-nat.c (fetch_core_registers): Ditto. + * corelow.c (add_to_thread_list): Ditto. + (ignore): Ditto. + * inftarg.c (proc_wait): Ditto. + * infptrace.c (udot_info): Ditto. + (fetch_register): Ditto. + * ser-unix.c (hardwire_noflush_set_tty_state): Ditto. + (hardwire_print_tty_state): Ditto. + (hardwire_flush_output): Ditto. + (hardwire_flush_input): Ditto. + (hardwire_send_break): Ditto. + (hardwire_setstopbits): Ditto. + * ser-tcp.c (tcp_return_0): Ditto. + (tcp_noflush_set_tty_state): Ditto. + (tcp_print_tty_state): Ditto. + * solib.c (match_main): Ditto. + * gdbtypes.c (print_bit_vector): Ditto. + (print_arg_types): Ditto. + (dump_fn_fieldlists): Ditto. + (print_cplus_stuff): Ditto. + * symfile.h (entry_point_address): Ditto. + * symfile.c (decrement_reading_symtab): Ditto. + * valops.c (value_arg_coerce): Ditto. + * value.h (find_function_in_inferior): Ditto. + (value_allocate_space_in_inferior): Ditto. + * values.c (vb_match): Ditto. + * thread.c (info_thread_command): Ditto. + (restore_current_thread): Ditto. + (thread_apply_all_command): Ditto. + (thread_apply_command): Ditto. + * inferior.h (write_pc_pid): Ditto. + * infrun.c (delete_breakpoint_current_contents): Ditto. + * breakpoint.c (print_it_normal): Ditto. + (watchpoint_check): Ditto. + (print_it_done): Ditto. + (print_it_noop): Ditto. + (maintenance_info_breakpoints): Ditto. + (create_longjmp_breakpoint): Ditto. + (hbreak_command): Ditto. + (thbreak_command): Ditto. + (watch_commnd_1): Ditto. + (rwatch_command): Ditto. + (awatch_command): Ditto. + (do_enable_breakpoint): Ditto. + * ch-valprint.c (chill_val_print_array_elements): Ditto. + * eval.c (evaluate_subexp): Ditto. + (get_label): Ditto. + (evaluate_struct_tuple): Ditto. + * eval.c (init_array_element): Ditto. + + * alpha-tdep.c (push_sigtramp_desc): Add prototype and make static. + * breakpoint.c (hw_breakpoint_used_count): Ditto. + (hw_watchpoint_used_count): Ditto. + * findvar.c (write_register_gen): Ditto. + (read_register_pid): Ditto. + * symtab.c (cplusplus_hint): Ditto. + * infcmd.c (breakpoint_auto_delete_contents): Ditto. + * ch-valprint.c (chill_print_type_scalar): Ditto. + * gdbtypes.c (add_name): Ditto. + (add_mangled_type): Ditto. + (cfront_mangle_name): Ditto. + * sparc-tdep.c (isbranch): Ditto. + * inftarg.c (child_stop): Ditto. + * win32-nat.c (child_stop): Ditto. + * mac-nat.c (child_stop): Ditto. + * remote-utils.c (sr_com): Ditto. + * dbxread.c (process_now): Ditto. + * ch-exp.c (require): Ditto. + (check_token): Ditto. + (expect): Ditto. + (parse_mode_call): Ditto. + (parse_mode_or_normal_call): Ditto. + * scm-lang.c (scm_lookup_name): Ditto + * f-lang.c (allocate_saved_bf_node): Ditto. + (allocate_saved_function_node): Ditto. + (allocate_saved_f77_common_node): Ditto. + (allocate_common_entry_node): Ditto. + (add_common_block): Ditto. + (add_common_entry): Ditto. + (find_first_common_named): Ditto. + (patch_common_entries): Ditto. + (patch_all_commons_by_name): Ditto. + (clear_bf_list): Ditto. + (get_bf_for_fcn): Ditto. + (clear_function_list): Ditto. + * scm-exp.c (scm_istr2int): Ditto. + (scm_istring2number): Ditto. + * scm-valprint.c (scm_inferior_print): Ditto. + * f-typeprint.c (print_equivalent_f77_float_type): Ditto. + * f-valprint.c (f77_get_dynamic_length_of_aggregate): Ditto. + (f77_create_arrayprint_offset_tbl): Ditto. + (f77_print_array_1): Ditto. + (f77_print_array): Ditto. + (list_all_visible_commons): Ditto. + (there_is_a_visible_common_named): Ditto. + * mdebugread.c (ecoff_relocate_efi): Ditto. + * callback.c (os_close): Ditto. + (os_get_errno): Ditto. + (os_isatty): Ditto. + (os_lseek): Ditto. + (os_open): Ditto. + (os_read): Ditto. + (os_read_stdin): Ditto. + (os_write): Ditto. + (os_write_stdout): Ditto. + (os_rename): Ditto. + (os_system): Ditto. + (os_time): Ditto. + (os_unlink): Ditto. + (os_shutdown): Ditto. + (os_init): Ditto. + (os_printf_filtered): Ditto. + + * scm-lang.h (scm_parse): Change old style decl to prototype. + * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset): Ditto. + * top.c (init_proc): Ditto. + (query_hook): Ditto. + (error_hook): Ditto. + * f-lang.c (c_value_print): Ditto. + * ch-exp.c (parse_expression): Ditto. + (parse_primval): Ditto. + (parse_untyped_expr): Ditto. + (parse_opt_untyped_expr): Ditto. + (ch_lex): Ditto. + * config/sparc/tm-sparc.h (sparc_init_extra_frame_info): Ditto. + (sparc_frame_saved_pc): Ditto. + (sparc_push_dummy_frame): Ditto. + (sparc_pop_frame): Ditto. + * defs.h (fclose): Ditto. + (atof): Ditto. + (error_hook): Ditto. + + * arc-tdep.c (single_step): Change arg to type "enum target_signal". + * rs6000-tdep.c (single_step): Ditto. + * sparc-tdep.c (single_step): Ditto. + + * breakpoint.c (cleanup_executing_breakpoints): Change unused arg type + to PTR which is what make_cleanup expects. + * utils.c (null_cleanup): Change arg type to PTR. + * defs.h (null_cleanup): Change prototype to match actual function. + * config/sparc/tm-sparc.h (struct frame_info): Move forward decl. + * ch-valprint.c (chill_val_print): Cast 2nd arg of + chill_print_type_scalar to LONGEST. + * infrun.c (wait_for_inferior): Have empty switch case for + BPSTAT_WHAT_CHECK_SHLIBS when SOLIB_ADD is not defined. + (stop_on_solib_events): Only needed if SOLIB_ADD is defined. + * infcmd.c (attach_command): Only need auto_solib_add if SOLIB_ADD + is defined. + * symfile.c (generic_load): Scan long int using a long int spec, + not an int spec. + * infptrace.c (udot_info): Only need local variables if KERNEL_U_SIZE + is defined. + (fetch_register): Only need function if FETCH_INFERIOR_REGISTERS is + not defined. + * inflow.c (handle_sigio): Only need prototype when the actual + function is compiled in. + * valprint.c (longest_to_int): Expand error message to be + separate messages for args larger than largest signed int + and args smaller than smallest signed int. + * valprint.c (print_longest): Fix problems with support for case + where compiler supports type "long long" but the runtime doesn't + support printing them with "%ll". + * scm-valprint.c (scm_scmlist_print, scm_scmval_print): Change + return types to void since we don't actually return anything + meaningful and callees ignore the values anyway. + * procfs.c (modify_inherit_on_fork_flag): Enclose pr_flags in PIOCSET + ifdef. + (modify_run_on_last_close_flag): Ditto. + (wait_fd): Enclose local variables "num_fds" and "i" LOSING_POLL + ifdef + * alpha-tdep.c (push_sigtramp_desc): Return proc_desc rather than + random value. + * infrun.c (wait_for_inferior): Ensure random_signal is not used + uninitialized. + * valops.c (call_function_by_hand): Ensure struct_addr is not used + uninitialized. + * breakpoint.c (watch_command_1): Ensure prev_frame is not used + uninitialized. + * utils.c (vfprintf_maybe_filtered): Change second arg from "char *" + to "const char *". +start-sanitize-gdbtk + * gdbtk.c (gdb_fetch_registers): Cast fourth arg to map_arg_registers + to proper pointer type, from int. + (gdbtk_query): Change first arg to "const char *" from "char *". +end-sanitize-gdbtk + * infptrace.c (udot_info): Add two dummy args so that the type is + correct for passing to add_info. + * f-lang.c (saved_fcn): Move decl to head of file so it can be used + in prototypes. + (saved_bf_symnum): Ditto. + (SAVED_FUNCTION): Ditto. + (SAVED_FUNCTION_PTR): Ditto. + (SAVED_BF): Ditto. + (SAVED_BF_PTR): Ditto. + * ch-exp.c (parse_named_record_element): Build error message in + temporary buffer before passing it to expect, rather than passing + wrong number of args to expect. + * demangle.c (set_demangling_style): Call set_demangling_command with + correct number of arguments. + * inferior.h (terminal_init_inferior_with_pgrp): Change arg type to + int to match actual function. + (os_isatty): Call fdmap with right number of arguments, was missing + the host_callback* arg. + * target.c (cleanup_target): Prototype all functions casts. + * target.h (one_stepped, single_step): Declare here and convert + single_step to prototype. + * infrun.c (one_stepped, single_step): Don't declare externs + here, they have moved to target.h. + * eval.c (init_array_element): Declare previously undeclared + last two args as LONGEST. + * dcache.c (dcache_xfer_memory): Change xfunc decls to prototype form. +start-sanitize-gdbtk + * gdbtk.c (register_changed_p): Remove unused local variable "buf". +end-sanitize-gdbtk + +Thu Jul 25 16:11:54 1996 Doug Evans + + * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS. + +Mon Jul 22 18:13:27 1996 Stu Grossman (grossman@critters.cygnus.com) + + * Makefile.in (os9kread.o): Remove dependency on partial-stab.h. + * dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h: Don't + use partial_symtab->textlow==0 as a flag, as 0 is a legitimate + text address. Use a seperate flag (textlow_not_set) instead. + This makes stabs in ELF .o files work a lot better. + * mdebugread.c xcoffread.c: Define textlow_not_set for + partial-stab.h. + * stabsread.h (end_psymtab): Add textlow_not_set arg to prototype. + +start-sanitize-gdbtk +Sat Jul 20 17:46:40 1996 Fred Fish + + * gdbtk.tcl (files_command): Reorder the binding tags for + the listbox widget to avoid referencing the listbox after + the containing widget has been destroyed by the action of + a previous binding. +end-sanitize-gdbtk + +Sat Jul 20 10:41:06 1996 Fred Fish + + * dwarf2read.c (struct filenames): Change internal "struct file" + to "struct fileinfo" to avoid conflict with "struct file" in + on HPUX and Solaris. + +start-sanitize-gdbtk +Sat Jul 20 10:09:28 1996 Fred Fish + + * gdbtk.tcl (delete_expr): Unset corresponding element of + expr_update_list when destroying an expression. + (create_expr_window): Initialize expr_num, delete_expr_num, + and expr_update_list here when each new expression window + is created, rather than once at startup. +end-sanitize-gdbtk + +Fri Jul 19 14:05:57 1996 Stan Shebs + + * dwarf2read.c: New file, DWARF 2 reader originally contributed by + Brent Benson, with additions by Gary Funck and Jerry Kreuscher. + * Makefile.in (COMMON_OBS): Add dwarf2read.o. + (SFILES): Add dwarf2read.c. + (dwarf2read.o): Add build rule. + * symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare + exported functions. + * elfread.c (elf_symfile_read): Call them. + (elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols. + +Thu Jul 18 01:22:01 1996 Geoffrey Noer + + * symfile.c (symfile_bfd_open): + * exec.c (exec_file_command): for __GO32__ and __WIN32__ systems, + free the user from having to type the .exe extension. + +Wed Jul 17 06:54:50 1996 Mark Alexander + + * mon960-rom.c: Shorten the mon960_inits string to a single + carriage return; this prevents a hang on connecting immediately + after powerup, when MON960 is attempting autobaud detection. + +Tue Jul 16 23:47:04 1996 Mark Alexander + + * a29k-tdep.c (get_saved_register): Allow PC to be modified + when innermost frame is selected, but not in outer frames. + +Tue Jul 16 23:37:25 1996 Stu Grossman (grossman@critters.cygnus.com) + + * command.c (do_setshow_command): Don't segfault when showing + var_string and var_string_noescape vars that are NULL. + +Mon Jul 15 16:55:48 1996 Doug Evans + + * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed to + cygwin32_conv_to_posix_path. + (child_create_inferior): unix_path_to_dos_path renamed to + cygwin32_conv_to_win32_path. Rewrite code to translate PATH. + +Mon Jul 15 16:44:05 1996 Stu Grossman (grossman@critters.cygnus.com) + + * defs.h printcmd.c: Create global disassemble_info structure + tm_print_insn_info. +start-sanitize-gdbtk + * gdbtk.c (gdb_disassemble): Setup di.mach from + tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER. +end-sanitize-gdbtk + * i386-tdep.c (set_assembly_language_command): set + tm_print_insn_info.mach to the appropriate value for 386 or 8086 + disassembly. + * printcmd.c (print_insn): Move init of disassembler_info to + _initialize_printcmd. Set endian for disassembler here. + * sparc-tdep.c: Set tm_print_insn_info.mach as appropriate to + select sparc/sparclite. + * config/sparc/{tm-sparc.h tm-sparclite.h}: Get rid of + TM_PRINT_INSN. Set TM_PRINT_INSN_MACH to + bfd_mach_sparc/bfd_mach_sparc_sparclite. + +Fri Jul 12 19:04:32 1996 Fred Fish + + * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc rather + than xmalloc/xrealloc. + +Fri Jul 12 17:59:47 1996 Fred Fish + + * objfiles.c (map_to_file): Error return from mmalloc_findbase is + a NULL pointer, not a -1. + +Fri Jul 12 10:16:24 1996 Stu Grossman (grossman@critters.cygnus.com) + + * i386-tdep.c (set_assembly_language_command): New routine to + select between i386 and i8086 instruction sets for disassembly. + New command `set assembly-language {i386 i8086}'. + +Thu Jul 11 21:13:21 1996 Mark Alexander + + * monitor.c (monitor_write_memory, monitor_read_memory_single): + Disable use of "long long" memory read/write commands; can't + use them because we hold the values to read/write in an int + variable, and because strtoul fails on values that exceed the + size of a long. This fixes breakpoint problems on MON960. + +Thu Jul 11 11:39:31 1996 Fred Fish + + * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition. + * config/pa/xm-hppah.h (HAVE_MMAP): Ditto. + +Wed Jul 10 16:54:41 1996 Fred Fish + + * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLE + and MMALLOC_CHECK macros, and add comment indicating how host dependent + makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or + to use it but to not do heap corruption checking. + * gdbserver/Makefile.in: Ditto. + * utils.c (init_malloc): Replace warning() use with direct call of + fprintf_unfiltered, since current_target has not yet been set and thus + we cannot use warning(). If we try to use mmcheck and it fails, + suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE + defined. Other small mmalloc related cleanups. + * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1. + * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK. + + * config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): + * config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): + * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): + * config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): + * config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT); + * config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): + * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): + * config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): + Remove obsolete defines. + + * config/alpha/alpha-linux.mh (MMALLOC_DISABLE): + * config/alpha/alpha-osf1.mh (MMALLOC_DISABLE): + * config/rs6000/rs6000.mh (MMALLOC_DISABLE): + * config/rs6000/aix4.mh (MMALLOC_DISABLE): + * config/powerpc/aix4.mh (MMALLOC_DISABLE): + * config/powerpc/aix.mh (MMALLOC_DISABLE): + * config/ns32k/ns32km3.mh (MMALLOC_DISABLE): + * config/mips/mipsm3.mh (MMALLOC_DISABLE): + * config/mips/decstation.mh (MMALLOC_DISABLE): + * config/m88k/cxux.mh (MMALLOC_DISABLE): + * config/i386/i386mk.mh (MMALLOC_DISABLE): + * config/i386/i386m3.mh (MMALLOC_DISABLE): + * config/i386/i386gnu.mh (MMALLOC_DISABLE): + Use MMALLOC_CFLAGS instead. + +Tue Jul 9 22:41:12 1996 Jeffrey A Law (law@cygnus.com) + + * h8300-tdep.c: Remove some outdated comments. + (h8300_skip_prologue): Rework to be more correct for the H8/300H. + Handle stm.l insns for the H8/S. + (examine_prologue): Likewise. + +Tue Jul 9 16:48:55 1996 Raymond Jou + + * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf. + +Mon Jul 08 08:50:39 1996 Mark Alexander + + * mon960-rom.c (mon960_open): Add floating point detection to + prevent hang on non-FPU processors (PR 9775). + (mon960_cmds): Swap setmem.cmdw and setmem.cmdl to fix problem + setting breakpoints and improve loading speed. + +Sun Jul 7 14:57:34 1996 Fred Fish + + * coffread.c (record_minimal_symbol): Don't presave name string + on symbol_obstack before passing to prim_record_minimal_symbol. + It now handles saving the string itself. + * dbxread.c (read_dbx_dynamic_symtab): Ditto. + * mipsread.c (read_alphacoff_dynamic_symtab): Ditto. + * os9kread.c (record_minimal_symbol): Ditto. + * solib.c (solib_add_common_symbols): Ditto. + + * coffread.c (coff_symtab_read): Don't presave name string on + symbol_obstack before passing to prim_record_minimal_symbol_and_info. + It now handles saving the string itself. + * dbxread.c (record_minimal_symbol): Ditto. + * elfread.c (record_minimal_symbol_and_info): Ditto. + + * dstread.c (record_minimal_symbol): Remove static function that just + called prim_record_minimal_symbol with the same args (after change to + prim_record_minimal_symbol to do it's own name string saves). + * nlmread.c (record_minimal_symbol): Ditto. + * somread.c (record_minimal_symbol): Ditto. + + * hpread.c (hpread_read_enum_type): Save symbol name on symbol obstack. + (hpread_read_function_type): Ditto. + (hpread_process_one_debug_symbol): Ditto. + * mdebugread.c (parse_symbol): Ditto. + (new_symbol): Ditto. + * minsyms.c (prim_record_minimal_symbol_and_info): Ditto. + + * coffread.c (process_coff_symbol): Use obsavestring to save + SYMBOL_NAME, rather than obstack_copy0. + * dstread.c (create_new_symbol): Ditto + * symfile.c (obconcat): Ditto. + * stabsread.c (patch_block_stabs): Ditto. + * xcoffread.c (SYMNAME_ALLOC): Ditto. + + * symfile.c (obsavestring): Update comments + * solib.c (solib_add_common_symbols): Remove local var origname. + +Wed Jul 3 15:56:08 1996 Stu Grossman (grossman@critters.cygnus.com) + + * configure: Re-build with autoconf-2.10. + + * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h, + config/sparc/tm-sparclite.h: Initialize tm_print_insn from + TM_PRINT_INSN, which comes from the tm file. + +Tue Jul 02 21:41:20 1996 Mark Alexander + + * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, + os9kread.c: Replace identical sym_offsets functions with + default_symfile_offsets. + * somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS + macro to allocate section_offsets. + * symfile.c (default_symfile_offsets): New function. + * symfile.h: Declare default_symfile_offsets. + * symtab.h: Define SIZEOF_SECTION_OFFSETS macro to + simplify allocation of section_offsets. + +Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com) + + * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure. + * configure configure.in: Only make sol-thread.o for native. + Also, switch to dlopened libthread_db.so.1. + * sol-thread.c: Switch to using dlopen to get the thread_db + library. + +Thu Jun 13 16:53:25 1996 Stu Grossman (grossman@critters.cygnus.com) + + * configure, configure.in: Change test for libthread_db to only + work for configs where build/host/target are the same. + +Tue Jul 2 15:04:20 1996 Michael Meissner + + * config/powerpc/{linux.mh,xm-linux.h}: New files, for Linux on + PowerPC. + + * configure.in (powerpc-*-linux): Add Linux, System V, and ELF + support. + * configure: Regenerate. + Mon Jul 1 13:00:43 1996 Stan Shebs From Raymond Jou : @@ -141,7 +1176,6 @@ Wed Jun 19 17:23:38 1996 Geoffrey Noer * configure: regenerated with autoconf 2.8 end-sanitize-gdbtk -start-sanitize-h8s Tue Jun 18 16:25:54 1996 Jeffrey A. Law * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S. @@ -152,7 +1186,6 @@ Tue Jun 18 16:25:54 1996 Jeffrey A. Law * config/h8300/tm-h8300.h (h8300smode): Declare. -end-sanitize-h8s Sun Jun 16 15:21:51 1996 Jeffrey A. Law * somsolib.c (som_solib_create_inferior_hook): Handle tracking @@ -231,6 +1264,12 @@ Tue May 28 11:14:58 1996 Tom Tromey * aclocal.m4 (CY_AC_PATH_TCLH): Don't use AC_TRY_RUN. (CY_AC_PATH_TKH): Don't use AC_TRY_RUN. +Sun May 26 16:56:35 1996 Miles Bader + + * solib.c (solib_absolute_prefix, solib_search_path): New variables. + (_initialize_solib): Add set/show commands for those variables. + (solib_map_sections): Implement searching using them. + Sun May 26 14:14:49 1996 Fred Fish Changes from: David Mosberger-Tang @@ -308,6 +1347,24 @@ Sun May 26 14:14:49 1996 Fred Fish * alpha-nat.c: When compiling under Linux, include and instead of +Tue Jul 2 13:58:10 1996 Miles Bader + + * gnu-nat.c (inf_validate_task_sc): + Give terminal to gdb while asking question. + (inf_resume): Don't validate the task suspend-count while execing. + +Thu Jun 13 11:04:52 1996 Miles Bader + + * gnu-nat.c (inf_validate_task_sc): Query user before clearing any + additional suspend count. + (S_proc_wait_reply, gnu_attach): Don't call inf_validate_task_sc. + (inf_resume): Call inf_validate_task_sc here. + (gnu_resume): Call inf_update_procs to ensure noticing new threads. + +Fri Jun 7 17:00:43 1996 Miles Bader + + * gnu-nat.c (gnu_create_inferior: attach_to_child): Return PID. + Thu May 23 15:13:56 1996 Jeffrey A Law (law@cygnus.com) * h8300-tdep.c (IS_PUSH): Refine. @@ -1489,6 +2546,163 @@ Wed Feb 28 22:32:18 1996 Stan Shebs * remote.c (remote_detach): Send a command 'D' to the target when detaching, update the function's comments. +Thu Jun 6 16:11:38 1996 Miles Bader + + * gnu-nat.c (thread_cmd_list): New declaration. + (parse_int_arg): New function. + +Wed Jun 5 17:28:04 1996 Miles Bader + + * gnu-nat.h (struct proc): Add DETACH_SC field. + * gnu-nat.c (make_proc): Set DETACH_SC. + (struct inf): Add DETACH_SC & DEFAULT_THREAD_DETACH_SC fields. + (make_inf): Set DETACH_SC & DEFAULT_THREAD_DETACH_SC fields. + (add_thread_commands): Add set/show for detach-suspend-count. + Add takeover-suspend-count cmd. + (inf_detach): Set suspend counts to the detach SC, not 0. + (set_thread_detach_sc_cmd, show_thread_detach_sc_cmd, + set_task_detach_sc_cmd, show_task_detach_sc_cmd, + set_thread_default_thread_detach_sc_cmd, + show_thread_default_thread_detach_sc_cmd): New functions. + (show_task_cmd): Also show detach-suspend-count values. + (thread_takeover_sc_cmd): New function. + +Fri May 31 16:49:24 1996 Miles Bader + + * gnu-nat.c (show_thread_run_cmd): Actually print state. + +Thu May 30 10:47:56 1996 Miles Bader + + * gnu-nat.c (inf_signal): Make unforwardable exceptions an error. + +Tue May 28 17:06:36 1996 Miles Bader + + * gnu-nat.c (inf_validate_stopped): proc_getprocinfo takes a + pointer to the flags now, not the flags themselves. + +Mon May 27 13:31:17 1996 Miles Bader + + * gnu-nat.c (gnu_wait): Print debugging msgs for pending execs. + (gnu_create_inferior): Check return from ptrace. + +Sun May 26 16:56:35 1996 Miles Bader + + * gnu-nat.h (struct proc): Add DEAD field. + * gnu-nat.c (make_proc): Initialize DEAD. + (inf_set_traced, inf_validate_task_sc, inf_validate_procs: Frob it. + (gnu_wait): Only abort for 0 threads if the task isn't dead. + +Sat May 25 17:06:05 1996 Miles Bader + + * gnu-nat.c (inf_signal): Pass SIGCODE when posting a signal. + +Wed May 22 18:44:28 1996 Miles Bader + + * gnu-nat.c (S_proc_wait_reply): Add SIGCODE argument. + (inf_set_traced): Only give no-signal-thread error message if + turning *on* tracing. + +Wed May 15 13:03:16 1996 Miles Bader + + * gnu-nat.c (inf_validate_procs): If INF has no threads, always + set inf->threads_up_to_date to 0. + (inf_signal): Pass in new SIGCODE argument to msg_sig_post_untraced. + (gnu_wait): Pass in new TIMEOUT arg to interrupt_operation. + (proc_update_sc): Cast thread state arg to thread_set_state. + (proc_get_state): Cast thread state arg to thread_get_state. + (inf_validate_task_sc): Cast task_basic_info arg to task_info. + * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Call + inf_update_procs before we lookup the thread. + * config/i386/i386gnu.mh (MH_CFLAGS): New variable. + +Tue May 7 17:52:33 1996 Miles Bader + + * gnu-nat.c (gnu_kill_inferior): Use inf_set_task to clear the task. + +Mon May 6 19:06:49 1996 Miles Bader + + * gnu-nat.c (inf_set_traced): Use msg_set_init_int with + INIT_TRACEMASK instead of setting the exec flags. + +Fri May 3 19:10:57 1996 Miles Bader + + * gnu-nat.c (inf_validate_procs): Don't clear INF->task if we find + the task's died, so others have a chance at it. + (gnu_resume): When single-stepping a single thread, given an error + if there is no such thread. When single-stepping one but running + the others, just given a warning and still run all the threads. + (gnu_wait): If there seem to be no threads, look harder, and + signal an error if there really aren't any. + (gnu_attach): Reset thread numbering to 0. + + * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Give + thread name in warning messages. + + * gnu-nat.c (active_inf): New function. + (show_sig_thread_cmd, show_stopped_cmd): Use it. + (info_port_rights, info_send_rights_cmd, info_port_sets_cmd, + info_recv_rights_cmd, info_port_rights_cmd, info_port_rights_cmd): + New functions. + (add_task_commands): Add new port-right info commands. + +Fri Apr 26 20:42:16 1996 Miles Bader + + * gnu-nat.c (gnu_wait): Instead of _hurd_intr_rpc_mach_msg, just + use mach_msg with MACH_RCV_INTERRUPT. + (set_noninvasive_cmd): New function. + (add_task_commands): Add command entry for `set noninvasive'. + +Mon Mar 4 14:12:02 1996 Miles Bader + + * gnu-nat.c (gnu_read_inferior): Use hurd_safe_memmove, not safe_bcopy. + (safe_bcopy): Function removed. + +Mon Dec 4 14:18:26 1995 Miles Bader + + * gnu-nat.c (proc_update_sc): Assert only threads can have state. + (make_proc): Initialize state_valid & state_changed fields. + +Tue Nov 28 17:51:21 1995 Miles Bader + + * reply_mig_hack.awk: New file. + +Tue Nov 14 14:31:03 1995 Miles Bader + + * breakpoint.c (breakpoint_1): Print breakpoint thread field. + + * lynx-nat.c (child_wait): Return TARGET_WAITKIND_SPURIOUS for new + threads. + +Mon Nov 13 18:30:53 1995 Miles Bader + + * target.c (debug_to_check_threads): New function. + + * inflow.c (terminal_init_inferior_with_pgrp): New function. + (terminal_init_inferior): Call terminal_init_inferior_with_pgrp. + * inferior.h (terminal_init_inferior_with_pgrp): New declaration, + but only if PROCESS_GROUP_TYPE is defined. + +Mon Nov 6 16:42:09 1995 Miles Bader + + * target.c (debug_to_thread_alive): Pass through the return value. + +Thu Nov 2 18:05:00 1995 Miles Bader + + * target.c (signals, target_signal_from_host, target_signal_to_host): + Add mach exceptions. + * target.h (enum target_signal): Add mach exceptions. + +Mon Oct 30 16:41:04 1995 Miles Bader + + * gnu-nat.c: New file: gnu native backend. + * i386gnu-nat.c: New file: i386-specific part of gnu native backend. + * gnu-nat.h: New file. + * config/nm-gnu.h: New file. + * config/tm-i386gnu.h: New file. + * config/xm-i386gnu.h: New file. + * config/i386/i386gnu.mh: New file. + * config/i386/i386gnu.mt: New file. + Wed Feb 28 15:50:12 1996 Fred Fish * Makefile.in (VERSION): Bump version to 4.15.2 to establish