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 start-sanitize-carp start-sanitize-vr4xxx * mips-tdep.c (mips_gdbarch_init): fix stream arg in fprintf_unfiltered calls. end-sanitize-carp end-sanitize-vr4xxx * 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: