1999-04-07 Jim Blandy * GDB 4.18 released. 1999-04-06 Jim Blandy * README: Change revision numbers in text to "4.18". * Makefile.in (VERSION): Set to 4.18. 1999-04-06 Stan Shebs * solib.c (clear_solib): Don't call disable_breakpoints_in_shlibs, this breaks rerunning on sun4 native. 1999-04-05 Stan Shebs * NEWS: Incorporate suggestions from David Taylor and Jason Molenda. 1999-04-02 Jim Blandy * README: Note that GDB requires an ANSI C compiler, and explain how to get GCC. * README: Update. It says we provide HTML documentation, but we don't. The instructions for building the .info files were wrong. It didn't mention that texinfo.tex was provided with GDB. It didn't mention the intl, texinfo, etc, or util directories. (Perhaps util would be best left unmentioned.) It didn't mention the --enable-build-warnings flag, or the --host flag. It didn't mention remote-array.c or remote-d10v.c. It had an old address for reporting bugs. It's now gdb@gnu.org. It mentioned xxgdb, which is obsolete, but didn't mention DDD. * config/sparc/nm-linux.h: Don't redefine PT_ATTACH to use the deprecated PTRACE_SUNATTACH compatibility commands. The definitions from are fine. 1999-04-01 Stan Shebs * NEWS: Add more notes about user-visible changes. 1999-04-01 Jim Blandy Fix for cross-debugging on an AIX host from Johanna Svenningsson: * ax-gdb.h (enum axs_lvalue_kind): Remove trailing comma from enum. * ax.h (enum agent_op, enum agent_flaws): Same. * tracepoint.h (enum actionline_type): Same. * config/xm-aix4.h: Add declaration for termdef. 1999-03-31 Stan Shebs * jv-lang.h (dynamics_objfile): Remove decl, conflicts with static decl in jv-lang.c. 1999-03-31 Jim Blandy Mon Mar 29 14:40:44 1999 David Taylor * valops.c (search_struct_field): revert HP merge change to this function -- it causes messages to be printed about member class ambiguity when the compiler is happy. (search_struct_field_aux): delete -- added as part of HP merge change; with aforementioned change it is no longer called. 1999-03-26 Jim Blandy Merged change from Keith Seitz: 1999-03-16 Keith Seitz * remote.c (reomte_binary_checked): New file global. (check_binary_download): New function to check if stub supports binary downloading that works with stubs that are not eight bit clean. (remote_write_bytes): Check for binary download capability and use it if available. Remove references to global remote_binary_length. What a hack. (putpkt_binary): New function. (putpkt): Call putpkt_binary. Use xor to escape trouble characters. * m32r-stub.c (bin2mem): Follow escape char convention change. Applied patch from Stu Grossman: Mon Feb 22 12:32:19 1999 Per Bothner * jv-valprint.c (java_val_print): Restore line that somehow got lost. 1999-03-24 Stan Shebs * Makefile (VERSION): Bump to 4.17.87. Attempt to sort out SCO-related configs. * configure.host (i[3456]86-*-sysv4.2*): Use instead of i[3456]86-*-sysv4.2MP and i[3456]86-*-sysv4.2uw2*. (i[3456]86-*-sysv5*): Recognize. * configure.tgt (i[3456]86-*-sco3.2v5*, i[3456]86-*-sco3.2v4*): Recognize. Wed Mar 24 01:01:27 1999 Andrew Cagney * rs6000-tdep.c (rs6000_software_single_step): Change SIGNAL to unsigned int. From Rodney Brown : * target.h (enum thread_control_capabilities), breakpoint.h (enum bptype), breakpoint.c (enum insertion_state_t): Strict ISO-C doesn't allow trailing comma in enum definition. 1999-03-23 Jason Molenda (jsm@bugshack.cygnus.com) * hppa-tdep.c (pa_register_look_aside): Remove CPU_HPPA_RISC_20 check, test for presence of struct save_state_t and the ss_wide member directly. * configure.in: Remove CPU_HPPA_RISC_20 test. Add tests for HAVE_STRUCT_SAVE_STATE_T and HAVE_STRUCT_MEMBER_SS_WIDE. * acconfig.h: Add HAVE_STRUCT_SAVE_STATE_T HAVE_STRUCT_MEMBER_SS_WIDE. * configure, config.in: Regenerated. Tue Mar 23 17:22:57 1999 Philippe De Muyter * remote.c, parse.c: Include ctype.h. Mon Mar 22 13:25:13 1999 Michael Snyder * infttrace.c (proc_wait): rename to ptrace_wait. 1999-03-17 Jason Molenda (jsm@bugshack.cygnus.com) * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define for Solaris hosts--gdb doesn't support this yet. * configure: Regenerated. Tue Mar 16 01:11:33 1999 Andrew Cagney * target.h (struct target_ops), target.c (debug_to_query), remote.c (pack_hex_byte, remote_query): Promote char parameters to int. Stops compile problems with pedantic ISO-C compilers. Tue Mar 16 15:29:04 1999 Stan Shebs * jv-lang.c, jv-lang.h (java_primitive_type): Declare argument as int instead of char. 1999-03-15 Jim Blandy Merged changes for binary downloads from Michael Snyder: Fri Mar 12 13:11:48 1999 Michael Snyder * remote.c (remote_write_bytes): fix 'X' packet protocol so that it can't overwrite the end of its buffer with escaped characters. 1999-03-12 Jim Blandy Merged changes for HP/UX 9 from Jason Molenda: 1999-03-08 Jason Molenda (jsm@bugshack.cygnus.com) * infttrace.c (hppa_get_process_events): Removed. Function only usable on HPUX 10 and above. It is not called by any other part of GDB. * hppah-nat.c (hppa_get_process_events): Ditto. (child_pid_to_exec_file): Only call ptrace with PT_GET_PROCESS_PATHNAME if that symbol has been defined. * config/pa/nm-hppah.h: Don't set up prototypes et al for hppa_get_process_events. * config/pa/hppahpux.mh (TERM_LIB): Do not initialize, let autoconf determine best library automatically. * config/pa/hpux1020.mh: Ditto. * config/pa/hpux1100.mh: Ditto. * configure.in (TERM_LIB): Also check for libHcurses. * configure: Regenerated. Merged changes to accomodate the Hurd: Thu Mar 11 18:05:11 1999 Michael Snyder * infptrace.c (proc_wait): Rename to ptrace_wait. * inftarg.c (child_wait): call ptrace_wait instead of proc_wait. * inferior.h: Declare ptrace_wait instead of proc_wait. 1999-03-11 Jim Blandy * Makefile.in (VERSION): click to 4.17.86, for next snapshot. 1999-03-09 Rodney Brown Get working on UnixWare 2.1.1. * acconfig.h: Update for defines for procfs.c. * configure.in: Identify defines for procfs.c. * configure.host: i386-*-sysv4.2uw2* => i386v42mp * configure.tgt: i386-*-sysv4.2uw2* => i386v42mp * configure, config.in: Regenerate. * procfs.c: Rename HAVE_NO_PRRUN_T to HAVE_PRRUN_T (autoconf standard), wrap UNIXWARE difference in THE_PR_LWP macro for legibility. * config/i386/tm-i386v42mp.h: Remove HAVE_PSTATUS_T, HAVE_NO_PRRUN_T; now set by configure. 1999-03-04 Jim Blandy Merged changes from Jason Molenda: 1999-02-24 Jason Molenda (jsm@bugshack.cygnus.com) * configure.in: Set CPU_HPPA_RISC_20 if the host CPU is a PA 2.0 processor. * acconfig.h: Add CPU_HPPA_RISC_20 * config.in, configure: Regenerated. * hppa-tdep.c (pa_register_look_aside): Only refer to new structure elements if we are on a PA2.0 system. * defs.h: Include limits.h. Merged changes from Stu Grossman: Wed Feb 17 10:10:27 1999 Stu Grossman * gdbtypes.h (get_discrete_bounds): Remove duplicate decl. * jv-typeprint.c (java_type_print_base): Change fputs => fputs_filtered. Mon Jan 25 18:30:57 1999 Per Bothner * jv-lang.h (JAVA_OBJECT_SIZE): Change from hard-wired constant. (java_primitive_type_from_name, get_java_object_header_size): Declare. * jv-lang.c (java_class_from_object): Use get_java_object_type. * jv-lang.c: Update Class field names: dtable->vtable, msize->method_count, nfields->field_count, bfsize->size_in_bytes, nmethods->method_count. (type_from_class): Demangle array type names. (java_link_class_type): Array type names are now demangled. (get_java_object_type): If not defined yet, try looking it up. (get_java_object_header_size): New function. (java_primitive_type_from_name): New function. (java_demangled_signature_length, java_demangled_signature_copy): New. (java_demangle_type_signature): Re-implement using above functions. (evaluate_subexp_java): For UNOP_IND, call evaluate_subexp_java to evaluate subexp (not evaluate_subexp_standard). For BINOP_SUBSCRIPT update for new array type naming scheme. * jv-valprint.c (java_value_print): Use java_class_from_object. Update array printing to new array type naming convention. (java_val_print): Doing check_typedef when printing a pointer is is a waste of effort. Also, handle TYPE_CODE_INT, to make sure Java bytes as not printed as C chars. Fri Jan 8 16:58:22 1999 Stu Grossman * blockframe.c (find_pc_sect_partial_function): Search full symtabs as a last ditch effort (after the partial & minimal symtabs). * defs.h utils.c: Fixup prototypes for vprintf_filtered, vfprintf_filtered, vfprintf_unfiltered and vprintf_unfiltered to return ints to match their standard equivalents. * defs.h symtab.c top.c: Create skip_prologue_hook to allow Java to control the prologue skipping process. * jv-typeprint.c (java_type_print_base): Remove extern for jv_class_demangle, add new arg for objfile (NULL). * symtab.h: Remove struct sourcevector and struct source. Definately not needed. * values.c (value_virtual_fn_field): Fixes code to handle new vtable debug info format. Patch from marka. Wed Dec 16 23:11:25 1998 Stu Grossman * jv-lang.c (java_class_from_object java_class_is_primitive is_object_type): Change dtable to vtable. * (java_primitive_type): Change arg to type char. * (_initialize_java_language): Make java_char_type be unsigned. * jv-lang.h: Fixup prototypes. Mon Dec 7 19:02:15 1998 Stu Grossman * jv-valprint.c (java_value_print): Fix printing of values where run time type != compile time type. Fri Dec 4 15:23:38 1998 Stu Grossman * Makefile.in: Whack out m2-typeprint.c. * c-typeprint.c (c_type_print_varspec_suffix) typeprint.h: Make this global. It's needed by Java. * (c_type_print_base): Whack prefix off of qualified method names (names with name spaces). * gdbtypes.h (struct cplus_struct_type): Add bits for Java attributes. Shrink voffset to 16 bits to compensate for added bits above (hopefully this is still enough). * Add new accessor macros (TYPE_FND_FIELD_PUBLIC, ...) for all new attribute bits. * jv-typeprint.c (java_type_print_base): Fix printing of method attributes. Handle JVM style manglings. * (java_print_type): Enable code type print varspec_suffix to allow array indices to print out. * jv-valprint.c (java_val_print): Minor formatting. * m2-lang.c (m2_language_d): Change m2_print_type to c_print_type. * stabsread.c (read_member_functions): Save public and static attributes. 1999-03-02 Stan Shebs From Gary Thomas : * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT, THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Use illegal instruction instead of SWI 24. * config/arm/tm-arm.h (CALL_DUMMY): Ditto. (IN_SIGTRAMP): Define. 1999-03-01 Jim Blandy * configure.in (TERM_LIB): Move the code which sets this to a better place. 1999-02-25 Stan Shebs * breakpoint.c (SOLIB_LOADED_LIBRARY_PATHNAME, SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_CREATE_CATCH_LOAD_HOOK, SOLIB_CREATE_CATCH_UNLOAD_HOOK): Supply default definitions. * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Ditto. 1999-02-23 Jim Blandy Patch from Jason Molenda (jsm@bugshack.cygnus.com) * configure.in (TERM_LIB): Move checking for TERM_LIB, substituting. * configure, aclocal.m4, config.in: Regenerated. 1999-02-22 Jim Blandy * Makefile.in (VERSION): Bump to 4.17.85, for the release process. Patch from Elena Zannoni * breakpoint.c (watch_command_1): Reformat comment. Patch from Elena Zannoni * c-typeprint.c (c_type_print_base): Reformat comments. Patch from Edith Epstein : * config/pa/nm-hppah.h: Added prototype declarations for hppa_enable_page_protection_events and hppa_disable_page_protection_events. Patch from Edith Epstein : * infttrace.c (hppa_insert_hw_watchpoint): Make sure that function always returns a value. (hppa_remove_hw_watchpoint): Make sure that function always returns a value. Patch from Edith Epstein : * inftarg.c (child_wait): Fixed code that checks whether or not the target program has done a fork/vfork. related_pid does not have a value unless the target program has forked/vforked. 1999-02-22 Jim Blandy * tm-h8500.h, i386lynx-nat.c: Removed. These files are long dead; it seems that they only appeared due to some CVS weirdness. If they appear again, we may need to distribute garlic and holy water. 1999-02-16 Jim Blandy * Makefile.in (VERSION): Bump to 4.17.2. Sun Feb 14 18:21:08 1999 Mark Alexander * config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that coffread.c will correctly handle char or short function parameters. 1999-02-11 Jason Molenda (jsm@bugshack.cygnus.com) * configure, aclocal.m4: Regenerate with correct version of aclocal. 1999-02-10 Syd Polk * acinclude.m4: Fix for new location of itclConfig.sh and itkConfig.sh. * aclocal.m4: Regnerate. * configure: Regenerate. 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com) * demangle.c: Fix comments to mention "set demangle-style" instead of "set demangle". Run through indent to fix minor indenting problems. Wed Feb 10 17:53:09 1999 Bob Manson * i386-tdep.c (gdb_print_insn_i386): Add missing returns. Wed Feb 10 13:17:21 1999 Stan Shebs Declare Gould configuration obsolete: * configure.host, configure.tgt: Comment out Gould configs. * Makefile.in: Comment out Gould-related actions. * gould-xdep.c, gould-tdep.c, config/gould/*: Comment out. * NEWS: Mention obsolete status. 1999-02-09 DJ Delorie * sparcl-tdep.c: UDP download works in cygwin 1999-02-08 Jason Molenda (jsm@bugshack.cygnus.com) * gnu-regex.c: Check ENABLE_NLS instead of HAVE_LIBINTL_H. * configure.in: Don't check for libintl.h. * configure, config.in: Regenerated. Mon Feb 8 18:10:50 1999 Stan Shebs * NEWS: Mention new X packet and PowerPC variant support. 1999-02-08 Nick Clifton * configure.host: Add support for StrongARM host. * configure.tgt: Add support for StrongARM target. Mon Feb 8 12:05:05 1999 David Taylor * dsrec.c (make_srec): Cast targ_addr to int in call to sprintf otherwise on big endian machine with a bfd_vma of 64 bits, *everything* gets loaded at location 0. Mon Feb 7 10:05:43 1999 Frank Ch. Eigler * infrun.c (wait_for_inferior): Allow SIGTRAP to be "pass"ed to target program. Fri Feb 5 16:46:14 1999 Stan Shebs * NEWS: Add mentions of various new things. Thu Feb 4 00:19:14 1999 Christopher Faylor * configure.in: Move termcap determination later in the file to catch setting of cygwin flag. * configure: Regenerate. Wed Feb 3 14:16:38 1999 Christopher Faylor * config/i386/cygwin.mh: Move TERMCAP test code to configure.in. * configure.in: Treat libtermcap.a detection as a special case when hosting on cygwin. * configure: Regenerate. 1999-02-03 Keith Seitz * remote.c (remote_binary_download, remote_binary_length): New static globals for dealing with binary transmissions. (remote_write_bytes): Add support for binary downloads by shadowing the "M" packet with a new "X" packet. This defaults to ON; if the stub does not understand this, it will fall back to using "M". (putpkt): Add support for binary downloading. * monitor.c (monitor_expect): The mon2000 monitor on the MSA2000 will also emit random DC1/DC3 chars. * m32r-stub.c: Change all char's to unsigned char's to support binary downloading. (handle_exception): Add support for binary downloading via a new "X" packet. (getpacket): Do NOT strip eighth bit of incoming chars. Watch out for escaped characters in the incoming stream. (putpacket): Do NOT strip eighth bit of incoming chars. (bin2mem): New function to write binary data directly to memory. * m32r-rom.c: Add new "mon2000" target. Tue Feb 2 18:40:29 1999 Elena Zannoni * hp-psymtab-read.c (hpread_build_psymtabs): Coerce first arg passed to make_cleanup to the correct type. (hpread_quick_traverse): Change fifth arg to call to hpread_end_psymtab to be 0. Compare CURR_MODULE_END to 0 rather than NULL. Get rid of ifdef'ed out code. (scan_procs): Get rid of ifdef'ed out code. * somread.c (som_symfile_read): Coerce first argument passed to make_cleanup to the correct type. Tue Feb 2 17:36:29 1999 Elena Zannoni * hp-psymtab-read.c (do_pxdb): New function. Check whether the file needs to be processed by pxdb (an HP debug info massaging tool), if so call it. (hpread_build_psymtabs): Initialize scan_start to 0 and simplify flow of control. * somread.c (som_symfile_read): Add call to do_pxdb (), in hp-psymtab-read.c. * symfile.c (symbol_file_add): Remove ifdef'ed out HPUX specific code. (symfile_bfd_open): Remove HPUXHPPA ifdef'ed code. Code is now in hp-psymtab-read.c. 1999-02-02 Martin Hunt * printcmd.c (print_scalar_formatted): Use strcat to concat all the output together before calling fprintf_filtered(). 1999-02-01 Jason Molenda (jsm@bugshack.cygnus.com) * configure.in: Require autoconf 2.13. (AM_EXEEXT): Replace with new AC_EXEEXT. * acinclude.m4: Move itcl header macros from aclocal.m4 to here. * aclocal.m4: Regenerated. * configure: Regenerated. 1999-02-01 Jim Blandy Allow PPC users to select which PPC/RS6000 variant they're debugging at run-time. At the moment, the only thing this affects is the set of registers visible. * config/rs6000/tm-rs6000.h (REGISTER_NAME): Define this as a call to the function rs6000_register_name. (rs6000_register_name): Include extern decl. (NUM_REGS): Bump to 183. What's the right way to do this? (FIRST_UISA_SP_REGNUM, LAST_UISA_SP_REGNUM): Renamed from FIRST_SP_REGNUM, LAST_SP_REGNUM. (REGISTER_BYTES): Recompute this. * rs6000-tdep.c: Renamed all uses of FIRST_SP_REGNUM and LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with some concomitant formatting changes. #include "gdbcmd.h", so we can define commands here. (struct variant): New structure. (COMMON_UISA_REG_NAMES, PPC_UISA_SPR_NAMES, PPC_SEGMENT_REG_NAMES, PPC_32_OEA_SPR_NAMES, num_registers): New macros. (register_names_rs6000, register_names_uisa, register_names_403, register_names_403GC, register_names_505, register_names_860, register_names_601, register_names_602, register_names_603, register_names_604, register_names_750, variants): New variables. (rs6000_register_name, install_variant, find_variant_by_name, install_variant_by_name, list_variants, show_current_variant, set_processor, show_processor): New functions. (_initialize_rs6000_tdep): Define new commands `set processor' and `show processor', and call install_variant_by_name to set the default variant. * rs6000-nat.c: Renamed all uses of FIRST_SP_REGNUM and LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with some concomitant formatting changes. * configure.in: Accept the `--with-cpu' flag, to specify a default processor variant. * acconfig.h: Provide a blurb for TARGET_CPU_DEFAULT, which is set by configure's `--with-cpu' flag. * config.in, configure: Regenerated. Sun Jan 31 15:24:24 1999 Stan Shebs * buildsym.h, buildsym.c: Convert to ANSI-only. * buildsym.h, buildsym.c: Reformat to standard. * buildsym.c (merge_symbol_lists): Remove unused variable. (_initialize_buildsym): Remove, does nothing. 1999-01-31 J.T. Conklin * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c, sparcl-stub, sparclet-stub.c: Change declaration of putDebugChar to include explicit void return type as per documentation. Fix up occasions where stubs erroneously checked return type. Sun Jan 31 13:18:33 1999 Stan Shebs From J.T. Conklin : * remote.c (remote_query): Fix tipo. Fri Jan 29 15:25:09 1999 Stan Shebs * configure.tgt (v850): Add wildcard to match. Fri Jan 29 16:44:01 1999 Edith Epstein * inferior.h: Ran indent. * fork-child.c: Ran indent. * infrun.c : Ran indent. Fri Jan 29 12:57:34 1999 Elena Zannoni * infrun.c (_initialize_infrun): Do not stop or print anything when a SIGWINCH is received. * Makefile.in (m2-exp.tab.c): Use YACC not BISON. (f-exp.tab.c): Ditto. (jv-exp.tab.c): Ditto. (c-exp.tab.c): Ditto. (YACC): Define as @YACC@. 1999-01-29 Martin Hunt Changes from Keith Seitz * valops.c (value_assign): Add calls to register_changed_hook and memory_changed_hook to inform UIs that the user has changed the target's registers/memory. * findvar.c (write_register_gen): Remove call to pc_changed_hook. * defs.h: Remove declaration for pc_changed_hook and add declarations for register_changed_hook and memory_changed_hook. * top.c: Ditto. 1999-01-29 Mark Alexander * procfs.c (wait_fd): Handle deleted threads correctly. 1999-01-28 Jason Molenda (jsm@bugshack.cygnus.com) * utils.c (init_page_info): Force window size if running under emacs. 1999-01-27 James Ingham * typeprint.c (whatis_exp): Remove static declaration. Wed Jan 27 16:50:25 1999 Elena Zannoni * hp-psymtab-read.c: Reformat using indent. Wed Jan 27 13:20:25 1999 Elena Zannoni * hp-psymtab-read.c: Reformat comments, update copyright. Tue Jan 26 16:02:47 1999 Mark Alexander * v850-tdep.c (v850_generic_reg_names, v850e_reg_names, v850_register_names, v850_processor_type_table): Declare tables and structures for handling differences in register names for v850 and v850e. (struct reg_list): Define new structure for creating tables of register bit masks in v850e instrutions. (handle_prepare, handle_pushm): New helpers for v850_scan_prologue. (v850_scan_prologue): Recognize v850e instructions: callt, prepare, and pushm. (v850_target_architecture_hook): New function to set register names based on current machine. (_initialize_v850_tdep): Set up target_architecture_hook. * config/v850/tm-v850.h (v850_register_names): Declare. (REGISTER_NAME): Define to refer to v850_register_names. (SR0_REGNUM, CTBP_REGNUM): Define. (PS_REGNUM): Redefine in terms of SR0_REGNUM. Tue Jan 26 18:27:26 1999 Elena Zannoni * Makefile.in (c-exp.tab.c): Use BISON instead of YACC, to pick the correct value from configure output. (jv-exp.tab.c): Ditto. (f-exp.tab.c): Ditto. (m2-exp.tab.c): Ditto. 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com) * breakpoint.h (ep_is_exception_catchpoint): Add prototype. * frame.h (select_and_print_frame): Add prototype. * stack.c (func_command): Call select_and_print_frame with correct number of arguments. Reformat whitespace. Tue Jan 26 16:53:54 1999 Fernando Nasser * remote.c (remote_query): fix maximum packet size to account for remote_debug use. (putpkt): add comment to alert about extra byte need. Mon Jan 25 19:55:30 1999 Mark Alexander * sh-tdep.c (sh_target_architecture_hook): Return immediately when a matching machine is found. Fri Jan 22 09:10:35 1999 Mark Alexander * remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint. (common_breakpoint): Restore support for instruction breakpoints on non-LSI targets. Thu Jan 21 17:16:19 1999 Andrew Cagney * stack.c: Close open comment. * symtab.c (find_pc_sect_line): Ditto. Thu Jan 21 17:51:51 1999 Stan Shebs * procfs.c (init_procfs_ops): New function, fills in procfs_ops, init only nonzero fields, leave to_require_attach and to_require_detach empty, not needed for /proc systems yet. (_initialize_procfs): Call init_procfs_ops. From J.T. Conklin : * top.c (init_main): Fix tipo in description of the remotetimeout variable. * breakpoint.c (bpstat_stop_status): Handle systems where DECR_PC_AFTER_BREAK != DECR_PC_AFTER_HW_BREAK. Thu Jan 21 17:25:46 1999 Mark Alexander * mon960-rom.c (_initialize_mon960): Call init_mon960_cmds to fill in mon960_cmds structure properly. Wed Jan 20 17:53:22 1999 Stan Shebs * remote-sds.c (sds_ops): Define only once. (init_sds_ops, sds_command, _initialize_remote_sds): Declare. (init_sds_ops): Init only non-zero fields. Wed Jan 20 15:45:15 1999 Mark Alexander * h8300-tdep.c (original_register_names, h8300h_register_names, h8300_register_names): Define new variables. (set_register_names): New function to set register names based on current CPU type. (h8300_command, h8300h_command, h8300s_command): Call set_register_names. * config/h8300/tm-h8300.h (h8300_register_names): Declare. (REGISTER_NAME): Define to refer to h8300_register_names. 1999-01-19 Fernando Nasser * sol-thread.c abug-rom.c cpu32bug-rom.c dbug-rom.c m32r-rom.c mac-nat.c mon960-rom.c op50-rom.c ppc-bdm.c remote-adapt.c remote-array.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c remote-est.c remote-hms.c remote-mm.c remote-nindy.c remote-nrom.c remote-os9k.c remote-rdp.c remote-sds.c remote-sim.c remote-st.c remote-udi.c rom68k-rom.c sh3-rom.c sparcl-tdep.c sparclet-rom.c v850ice.c win32-nat.c: cosmetic changes to conform to coding standards. 1999-01-19 Jim Blandy Use aclocal to generate GDB's aclocal.m4 script. * acinclude.m4: New file, containing the hand-written local macro definitions that used to be in aclocal.m4. Don't sinclude ../bfd/aclocal.m4 any more; running aclocal in this directory will get us the definitions we need. HOWEVER: Do sinclude ../bfd/acinclude.m4, because we need the definition of BFD_NEED_DECLARATION. * aclocal.m4: Regenerated by aclocal. * configure: Regenerated by autoconf. Tue Jan 19 10:27:23 1999 David Taylor * breakpoint.c (disable_breakpoints_in_shlibs): new parameter, silent, controls whether to print message about removal of shared library breakpoints. * breakpoint.h (disable_breakpoints_in_shlibs): decl updated. * irix5-nat.c (clear_solib): call disable_breakpoints_in_shlibs. * osfsolib.c (clear_solib): ditto. * solib.c (clear_solib): ditto. * somsolib.c (som_solib_restart): update call to disable_breakpoints_in_shlibs. * target.h (child_post_attach): only declare if CHILD_POST_ATTACH is define. Tue Jan 19 18:07:11 1999 Andrew Cagney * corelow.c (solib_add_stub): Ditto. (core_file_to_sym_file): Cast make_cleanup parameter. * solib.c (symbol_add_stub, solib_map_sections): Change argument to PTR insted of a char*. Matches catch_errors interface. Mon Jan 18 14:01:24 1999 Andrew Cagney * remote-array.c (array_open): Don't use fprintf_filtered to send data to the log file. * remote-array.c (handle_load_dll): Change argument type to PTR so that it is compatible with catch_errors. * ocd.c (ocd_start_remote): Ditto. * remote-sds.c (sds_start_remote): Ditto. * win32-nat.c (win32_child_thread_alive): Namespace proof child_thread_alive. (init_child_ops): Update. Mon Jan 18 12:03:47 1999 Andrew Cagney * remote-rdi.c (arm_rdi_open): Set gdb_hostif.hostosarg and gdb_hostif.dbgarg to NULL instead of stdout. (voiddummy, myprint, mywritec): Use gdb_stdout instead of stdout. Mon Jan 18 16:40:50 1999 Stan Shebs * ser-ocd.c (ocd_open): Handle Unix case gracefully. * target.c (dummy_target): Don't initialize statically. (init_dummy_target): New function, fills in dummy_target. (initialize_targets): Use it. * hpux-thread.c (hpux_thread_ops): Don't initialize statically. (init_hpux_thread_ops): New function, fills in hpux_thread_ops. (_initialize_hpux_thread): Use it. * m3-nat.c (m3_ops): Don't initialize statically. (init_m3_ops): New function, fills in m3_ops. (_initialize_m3): Use it. 1999-01-18 Fernando Nasser * sol-thread.c: delete compile time initialization of target_ops (_initialize_sol_thread): initialize target_ops at run time. * hpux-thread.c: added target_ops entry. * m3-nat.c: ditto. Mon Jan 18 15:19:13 1999 David Taylor * procfs.c (procfs_ops): delete compile time initialization. (_initialize_procfs): initialize procfs_ops at run time. Mon Jan 18 12:51:44 1999 Christopher Faylor * configure.in: Ensure that -luser32 is always linked in for cygwin build. * configure: Regenerated. Mon Jan 18 08:38:05 1999 Mark Alexander * values.c (value_virtual_fn_field): Clear the pointed-to offset when casting to the base class. Mon Jan 18 10:30:51 1999 David Taylor * remote-udi.c (init_udi_ops): change non-existant udi_run_ops to udi_ops; delete NULL initializers. Mon Jan 18 12:03:47 1999 Andrew Cagney * serial.c (serial_close): gdb_fclose tages gdb_file** arg, not gdb_file*. * f-valprint.c, target.c, gdbarch.c: Pass gdb_stderr not stderr. Mon Jan 18 10:46:12 1999 Andrew Cagney * stack.c (print_frame_info_base): Don't cast call to catch_errors. (print_args_stub): Change char* arg to PTR. * symmisc.c (print_symbol): Ditto. * top.c (quit_cover): Ditto. * remote.c (remote_open_1, remote_start_remote): Ditto. * infrun.c (normal_stop, hook_stop_stub, restore_selected_frame): Ditto. * stack.c (backtrace_command): Cast first arg of make_cleanup to make_cleanup_func. * remote.c (remote_kill): Cast putpkt arg to catch_errors_ftype. Mon Jan 18 08:47:02 1999 Andrew Cagney * defs.h (catch_errors_ftype): Define. (catch_errors): Replace char* arg with PTR arg. * top.c (catch_errors): Update * breakpoint.c (bpstat_stop_status, bpstat_stop_status, delete_breakpoint, breakpoint_re_set): Delete all casts in call to catch_errors. (breakpoint_cond_eval, watchpoint_check, cover_target_enable_exception_callback, breakpoint_re_set_one): Arg is PTR not char*. * breakpoint.c (cover_target_enable_exception_callback): Change type to int. Check for cast values of 0 and -1. Return a result! (insert_breakpoints): Move declaration of SAL and ARGS to where they are used. 1999-01-16 Fernando Nasser * remote.c (remote_query): new function - creates proper interface to the remote protocol "q" command. Fri Jan 15 17:11:48 EST 1999 Zdenek Radouch (radouch@cygnus.com) * config/fr30/tm-fr30.h: Changed ABI to match GCC change (always use pointer for structs passed by value). 1999-01-15 Fernando Nasser * target.h: added entry for target queries (to_query) target.c: ditto. Thu Jan 14 18:29:17 1999 David Taylor * remote-mm.c (mm_wait): fix stream arg to gdb_flush. * remote-udi.c (udi_wait): fix stream arg to fwrite. * symmisc.c (maintenance_check_symtabs): fix stream argument to print_address_numeric. Wed Jan 13 19:33:16 1999 David Taylor * breakpoint.c (insert_breakpoints): insert cast to eliminate warning. Wed Jan 13 14:59:02 1999 Michael Snyder * infrun.c (set/show scheduler-locking) New command. Set a mode bit that will control how GDB attempts to control thread scheduling for step, continue, etc. (resume): make use of the schedule-locking mode. * target.h (struct target_ops): new field to_has_thread_control. * sol-thread.c: initialize target_ops to_has_thread_control. * procfs.c: ditto. * target.c: ditto. * m3-nat.c: ditto. * remote.c: ditto. * hpux-thread.c: ditto. * thread.c: cull duplicate prototypes. Move prototypes to top. * serial.c: indentation cleanup. * breakpoint.c: add casts to eliminate compiler warnings. Tue Jan 12 17:00:00 1999 Edith Epstein * inftarg.c (child_create_inferior): fixed HPUXHPPA specific call to fork_inferior. The shell param is now NULL. 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com) * monitor.c (init_base_monitor_ops): Whitespace cleanup. (_initialize_remote_monitors): Same. 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com) * monitor.c (init_monitor_ops): Initialize the monitor_ops structure if it hasn't already been done. Tue Jan 12 14:50:10 1999 Stan Shebs * inftarg.c (child_ops): Don't initialize statically. (init_child_ops): New function, fills in child_ops. (_initialize_inftarg): Use it. (child_post_attach): Declare extern. (child_wait): Fix ambiguous parens. (child_attach_to_process): Remove unused local wstatus. (child_insert_fork_catchpoint, child_remove_fork_catchpoint, child_insert_vfork_catchpoint, child_remove_vfork_catchpoint, child_has_forked, child_insert_exec_catchpoint, child_remove_exec_catchpoint): Return a value. Mon Jan 11 16:43:44 1999 Michael Snyder * remote.c (remote_wait): Add inferior_pid to thread list only if it is not already there. 1999-01-11 Jason Molenda (jsm@bugshack.cygnus.com) * scm-tags.h: Update FSF's address on copyright notice. * ser-e7kpc.c: Same. * gnu-nat.h: Same. Mon Jan 11 13:45:57 1999 Stu Grossman * dwarf2read.c (dump_die): Change stderr to gdb_stderr. * expprint.c (print_subexp): fprintf => fprintf_unfiltered. * jv-typeprint.c (java_type_print_base): fputs => fputs_filtered. * stack.c (struct function_bounds): Remove superfluous `typedef'. * symfile.c (list_overlays_command): stdout => gdb_stdout. * symmisc.c (maintenance_check_symtabs): stdout => gdb_stdout. * utils.c (print_spaces): Make more efficient. Mon Jan 11 13:55:51 1999 David Taylor * utils (print_spaces): fix arg to strcat; fix formatting. Fri Jan 8 11:57:24 1999 Stan Shebs * exec.c (exec_ops): Don't initialize statically. (init_exec_ops): New function, fills in exec_ops. (_initialize_exec): Use it. Thu Jan 7 17:50:15 EST 1999 Zdenek Radouch (radouch@cygnus.com) Beta FR30 port. * fr30-tdep.c * config/fr30/tm-fr30.h Wed Jan 6 12:28:35 1999 David Taylor * configure.in: Add an --enable-tui argument. Construct tui/Makefile from tui/Makefile.in. Use AM_PROG_CC_STDC. If we have the GUI, then we need this to process libgui.h. (ENABLE_CFLAGS): define and export BUILD_TUI. (AC_CHECK_HEADERS): Add check for term.h. * configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs. * config.in, configure : regenerated. * Makefile.in: Allow the TUI code to be conditionally enabled. (TUI_LIBRARY): New variable, value are set by the configuration script. Set to the empty string when the TUI isn't enabled. (gdb$(GDBEXT)): Use those, instead of referring to all-tui and tui/libtui.a directly. (BUILD_TUI): build the tui -- only when configured with --enable-tui. (YLWRAP): use ylwrap to avoid problems on systems w/o bison. (gdb$(EXEEXT)): make it dependent on BUILD_TUI. (all-tui): remove dependency from phony target. (c-exp.tab.c): use ylwrap instead of bison. (jv-exp.tab.c): ditto. (f-exp.tab.c): ditto. (m2-exp.tab.c): ditto. (ALLDEPFILES): add somread.c, hp-psymtab-read.c, hp-symtab-read.c. (SFILES): remove the above files (COMMON_OBS): remove somread.o (SFILES): Add the tui files to this, so they get included in etags tables. (gdb$(EXEEXT)): Add all-tui to the list of dependencies, and add tui/libtui.a to the link list. (all-tui): New rule, which does a recursive make in the tui subdir. (tui/libtui.a): When recursing, pass down ${FLAGS_TO_PASS}. And don't echo the make command. This is closer to what the other recursions do. (HFILES_NO_SRCDIR): add hpread.h (COMMON_OBS): add hp-psymtab-read.o, hp-symtab-read.o (SFILES): add hp-psymtab-read.c, hp-symtab-read.c add rules for the new files. Remove hpread.c, hpread.o (gdb$(EXEEXT)): Depend on the actual tui library, not on a fictitious target. Since the fictitious target never existed, make would always relink. (tui/libtui.a): Always recurse to make sure the library is up to date. Wed Jan 6 12:05:12 1999 Stan Shebs * remote.c: Pacify --enable-build-warnings, reformat code to conform to standards, fix spelling errors. (ishex, stubhex, record_currthread, etc): Declare. (ishex, stubhex): Declare char arg as int. (pack_string): Comment out, never used but possibly useful. (threadref_to_int, remote_get_threadinfo, etc): Make static. Wed Jan 6 11:43:32 1999 David Taylor The following changes were made by Elena Zannoni and Edith Epstein as part of a project to merge in changes made by HP. * c-exp.y: use external flag hp_som_som_object_present to decide whether code was compiled by HP's compilers. Add two new C++ tokens for true and false. (yylex): check for template name is done differently for the HP/aCC compiler case. Change some of the template processing code for handling HP aCC templates. Handle true and false tokens. Tue Jan 5 11:13:36 1999 Michael Snyder * remote.c (record_curthread): Must not modify inferior_pid when called from wait_for_inferior. Instead, if a new thread-id is detected, call add_thread. (MAGIC_NULL_PID): new macro, use instead of the magic number "42000". (remote_find_new_threads): if inferior_pid is unknown, get and use the current thread id. (remote_start_remote): on connecting, attempt to get the current thread id for inferior_pid. (remote_resume): If pid == -1, then resume any-thread (not the current thread specifically). Also some cosmetic fixups. * thread.c (info_threads_command): don't initialize current_pid until after call to FIND_NEW_THREADS (which may change inferior_pid). Also some cosmetic fixups. * infrun.c: cosmetic fixups and casts to avoid warnings. * infcmd.c: cosmetic fixups, mainly long lines. Tue Jan 5 11:55:57 1999 David Taylor * target.c (noprocess): terminate sentence with a period. * breakpoint.c (catch_command_1): ditto. * c-valprint.c (c_value_print): remove hack^2 from HP; it causes testsuite losses with no real gain. * inferior.h (START_INFERIOR_TRAPS_EXPECTED): restore, but only if tm-*.h hasn't overridden default value. 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) * configure.in: Fix whitespace indentation for --help. * configure: Regenerated. 1999-01-04 Manuel Bouyer * main.c: Add --write command line option, document -w. * gdb.1: Document --write. 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) * configure.in: Require autoconf 2.12.1 or higher. * doc/configure.in: Ditto. * nlm/configure.in: Ditto. * rdi-share/configure.in: Ditto. * testsuite/configure.in: Ditto. * doc/Makefile.in: Don't hardcode $(SHELL). * nlm/Makefile.in: Ditto. * rdi-share/Makefile.in: Ditto. * testsuite/Makefile.in: Ditto. Mon Jan 4 12:53:03 1999 Stan Shebs * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded inits of new fields, including ref to bogus field. (vx_ops, vx_run_ops): Make static. Mon Jan 4 15:05:29 1999 David Taylor * inferior.h (START_INFERIOR_TRAPS_EXPECTED): delete, already defined in tm.h. * inftarg.c: change to and conditionalize its inclusion. * infttrace.c: ditto. For older changes see ChangeLog-98 Local Variables: mode: change-log left-margin: 8 fill-column: 74 version-control: never End: