1 Fri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3 * Makefile.in (m2-exp.tab.c): use YACC not BISON.
7 (YACC): define as @YACC@
9 1999-01-29 Martin Hunt <hunt@cygnus.com>
10 Changes from Keith Seitz <keiths@cygnus.com>
12 * valops.c (value_assign): Add calls to register_changed_hook and
13 memory_changed_hook to inform UIs that the user has changed
14 the target's registers/memory.
15 * findvar.c (write_register_gen): Remove call to pc_changed_hook.
16 * defs.h: Remove declaration for pc_changed_hook and
17 add declarations for register_changed_hook and
21 Thu Jan 28 18:16:07 1999 Mark Alexander <marka@cygnus.com>
23 * procfs.c (wait_fd): Handle deleted threads correctly.
25 1999-01-28 Jason Molenda (jsm@bugshack.cygnus.com)
27 * utils.c (init_page_info): Force window size if running under emacs.
29 1999-01-27 James Ingham <jingham@cygnus.com>
31 * typeprint.c (whatis_exp): Remove static declaration.
33 Wed Jan 27 16:50:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
35 * hp-psymtab-read.c: reformatted using indent.
37 Wed Jan 27 13:20:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
39 * hp-psymtab-read.c: reformatted comments, updated copyright.
41 start-sanitize-carp start-sanitize-vr4xxx
42 Wed Jan 27 15:09:22 1999 Andrew Cagney <cagney@chook.cygnus.com>
44 * mips-tdep.c (mips_gdbarch_init): Trace e_flags from BFD
47 end-sanitize-carp end-sanitize-vr4xxx
48 Tue Jan 26 16:02:47 1999 Mark Alexander <marka@cygnus.com>
50 * v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
51 v850_register_names, v850_processor_type_table): Declare tables
52 and structures for handling differences in register names for
54 (struct reg_list): Define new structure for creating tables
55 of register bit masks in v850e instrutions.
56 (handle_prepare, handle_pushm): New helpers for v850_scan_prologue.
57 (v850_scan_prologue): Recognize v850e instructions: callt, prepare,
59 (v850_target_architecture_hook): New function to set register
60 names based on current machine.
61 (_initialize_v850_tdep): Set up target_architecture_hook.
62 * config/v850/tm-v850.h (v850_register_names): Declare.
63 (REGISTER_NAME): Define to refer to v850_register_names.
64 (SR0_REGNUM, CTBP_REGNUM): Define.
65 (PS_REGNUM): Redefine in terms of SR0_REGNUM.
67 Tue Jan 26 18:27:26 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
69 * Makefile.in (c-exp.tab.c): use BISON instead of YACC, to pick
70 the correct value from configure output.
71 (jv-exp.tab.c): ditto.
73 (m2-exp.tab.c): ditto.
75 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
77 * breakpoint.h (ep_is_exception_catchpoint): Add prototype.
78 * frame.h (select_and_print_frame): Add prototype.
79 * stack.c (func_command): Call select_and_print_frame with correct
80 number of arguments. Reformat whitespace.
82 Tue Jan 26 16:53:54 1999 Fernando Nasser <fnasser@cygnus.com>
84 * remote.c (remote_query): fix maximum packet size to account for
86 (putpkt): add comment to alert about extra byte need.
88 Mon Jan 25 19:55:30 1999 Mark Alexander <marka@cygnus.com>
90 * sh-tdep.c (sh_target_architecture_hook): Return immediately
91 when a matching machine is found.
93 Fri Jan 22 09:10:35 1999 Mark Alexander <marka@cygnus.com>
95 * remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint.
96 (common_breakpoint): Restore support for instruction breakpoints
99 Thu Jan 21 17:16:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
101 * stack.c: Close open comment.
102 * symtab.c (find_pc_sect_line): Ditto.
104 Thu Jan 21 17:51:51 1999 Stan Shebs <shebs@andros.cygnus.com>
106 * procfs.c (init_procfs_ops): New function, fills in procfs_ops,
107 init only nonzero fields, leave to_require_attach and
108 to_require_detach empty, not needed for /proc systems yet.
109 (_initialize_procfs): Call init_procfs_ops.
111 From J.T. Conklin <jtc@redbacknetworks.com>:
112 * top.c (init_main): Fix tipo in description of the remotetimeout
114 * breakpoint.c (bpstat_stop_status): Handle systems where
115 DECR_PC_AFTER_BREAK != DECR_PC_AFTER_HW_BREAK.
117 Thu Jan 21 17:25:46 1999 Mark Alexander <marka@cygnus.com>
119 * mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
120 to fill in mon960_cmds structure properly.
122 Wed Jan 20 17:53:22 1999 Stan Shebs <shebs@andros.cygnus.com>
124 * remote-sds.c (sds_ops): Define only once.
125 (init_sds_ops, sds_command, _initialize_remote_sds): Declare.
126 (init_sds_ops): Init only non-zero fields.
128 Wed Jan 20 15:45:15 1999 Mark Alexander <marka@cygnus.com>
130 * h8300-tdep.c (original_register_names, h8300h_register_names,
131 h8300_register_names): Define new variables.
132 (set_register_names): New function to set register names based on
134 (h8300_command, h8300h_command, h8300s_command): Call
136 * config/h8300/tm-h8300.h (h8300_register_names): Declare.
137 (REGISTER_NAME): Define to refer to h8300_register_names.
139 1999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>
141 * sol-thread.c abug-rom.c cpu32bug-rom.c dbug-rom.c m32r-rom.c
142 mac-nat.c mon960-rom.c op50-rom.c ppc-bdm.c remote-adapt.c
143 remote-array.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c
144 remote-est.c remote-hms.c remote-mm.c remote-nindy.c remote-nrom.c
145 remote-os9k.c remote-rdp.c remote-sds.c remote-sim.c remote-st.c
146 remote-udi.c rom68k-rom.c sh3-rom.c sparcl-tdep.c sparclet-rom.c
147 v850ice.c win32-nat.c: cosmetic changes to conform to coding
150 1999-01-19 Jim Blandy <jimb@zwingli.cygnus.com>
152 Use aclocal to generate GDB's aclocal.m4 script.
153 * acinclude.m4: New file, containing the hand-written local macro
154 definitions that used to be in aclocal.m4. Don't sinclude
155 ../bfd/aclocal.m4 any more; running aclocal in this directory will
156 get us the definitions we need. HOWEVER: Do sinclude
157 ../bfd/acinclude.m4, because we need the definition of
158 BFD_NEED_DECLARATION.
159 * aclocal.m4: Regenerated by aclocal.
160 * configure: Regenerated by autoconf.
162 Tue Jan 19 10:27:23 1999 David Taylor <taylor@texas.cygnus.com>
164 * breakpoint.c (disable_breakpoints_in_shlibs): new parameter,
165 silent, controls whether to print message about removal of shared
167 * breakpoint.h (disable_breakpoints_in_shlibs): decl updated.
168 * irix5-nat.c (clear_solib): call disable_breakpoints_in_shlibs.
169 * osfsolib.c (clear_solib): ditto.
170 * solib.c (clear_solib): ditto.
171 * somsolib.c (som_solib_restart): update call to
172 disable_breakpoints_in_shlibs.
174 * target.h (child_post_attach): only declare if CHILD_POST_ATTACH
177 Tue Jan 19 18:07:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
179 * corelow.c (solib_add_stub): Ditto.
180 (core_file_to_sym_file): Cast make_cleanup parameter.
182 * solib.c (symbol_add_stub, solib_map_sections): Change argument
183 to PTR insted of a char*. Matches catch_errors interface.
185 Mon Jan 18 14:01:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
187 * remote-array.c (array_open): Don't use fprintf_filtered to send
188 data to the log file.
190 * remote-array.c (handle_load_dll): Change argument type to PTR so
191 that it is compatible with catch_errors.
192 * ocd.c (ocd_start_remote): Ditto.
193 * remote-sds.c (sds_start_remote): Ditto.
195 * win32-nat.c (win32_child_thread_alive): Namespace proof
197 (init_child_ops): Update.
199 Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
201 * remote-rdi.c (arm_rdi_open): Set gdb_hostif.hostosarg and
202 gdb_hostif.dbgarg to NULL instead of stdout.
203 (voiddummy, myprint, mywritec): Use gdb_stdout instead of stdout.
205 Mon Jan 18 16:40:50 1999 Stan Shebs <shebs@andros.cygnus.com>
207 * ser-ocd.c (ocd_open): Handle Unix case gracefully.
209 * target.c (dummy_target): Don't initialize statically.
210 (init_dummy_target): New function, fills in dummy_target.
211 (initialize_targets): Use it.
212 * hpux-thread.c (hpux_thread_ops): Don't initialize statically.
213 (init_hpux_thread_ops): New function, fills in hpux_thread_ops.
214 (_initialize_hpux_thread): Use it.
215 * m3-nat.c (m3_ops): Don't initialize statically.
216 (init_m3_ops): New function, fills in m3_ops.
217 (_initialize_m3): Use it.
219 1999-01-18 Fernando Nasser <fnasser@totem.to.cygnus.com>
221 * sol-thread.c: delete compile time initialization of target_ops
222 (_initialize_sol_thread): initialize target_ops at run time.
223 * hpux-thread.c: added target_ops entry.
226 Mon Jan 18 15:19:13 1999 David Taylor <taylor@texas.cygnus.com>
228 * procfs.c (procfs_ops): delete compile time initialization.
229 (_initialize_procfs): initialize procfs_ops at run time.
231 Mon Jan 18 12:51:44 1999 Christopher Faylor <cgf@cygnus.com>
233 * configure.in: Ensure that -luser32 is always linked in
235 * configure: Regenerated.
237 Mon Jan 18 08:38:05 1999 Mark Alexander <marka@cygnus.com>
239 * values.c (value_virtual_fn_field): Clear the pointed-to
240 offset when casting to the base class.
242 Mon Jan 18 10:30:51 1999 David Taylor <taylor@texas.cygnus.com>
244 * remote-udi.c (init_udi_ops): change non-existant udi_run_ops to
245 udi_ops; delete NULL initializers.
247 Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
249 * serial.c (serial_close): gdb_fclose tages gdb_file** arg, not
252 * f-valprint.c, target.c, gdbarch.c: Pass gdb_stderr not stderr.
254 Mon Jan 18 10:46:12 1999 Andrew Cagney <cagney@b1.cygnus.com>
256 * stack.c (print_frame_info_base): Don't cast call to
258 (print_args_stub): Change char* arg to PTR.
259 * symmisc.c (print_symbol): Ditto.
260 * top.c (quit_cover): Ditto.
261 * remote.c (remote_open_1, remote_start_remote): Ditto.
262 * infrun.c (normal_stop, hook_stop_stub, restore_selected_frame):
265 * stack.c (backtrace_command): Cast first arg of make_cleanup to
267 * remote.c (remote_kill): Cast putpkt arg to catch_errors_ftype.
269 Mon Jan 18 08:47:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
271 * defs.h (catch_errors_ftype): Define.
272 (catch_errors): Replace char* arg with PTR arg.
273 * top.c (catch_errors): Update
275 * breakpoint.c (bpstat_stop_status, bpstat_stop_status,
276 delete_breakpoint, breakpoint_re_set): Delete all casts in call to
278 (breakpoint_cond_eval, watchpoint_check,
279 cover_target_enable_exception_callback, breakpoint_re_set_one):
280 Arg is PTR not char*.
282 * breakpoint.c (cover_target_enable_exception_callback): Change
283 type to int. Check for cast values of 0 and -1. Return a result!
284 (insert_breakpoints): Move declaration of SAL and ARGS to where
287 1999-01-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
289 * remote.c (remote_query): new function - creates proper interface
290 to the remote protocol "q" command.
292 Fri Jan 15 17:11:48 EST 1999 Zdenek Radouch (radouch@cygnus.com)
294 * config/fr30/tm-fr30.h: Changed ABI to match GCC change
295 (always use pointer for structs passed by value).
297 1999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
299 * target.h: added entry for target queries (to_query)
302 Thu Jan 14 18:29:17 1999 David Taylor <taylor@texas.cygnus.com>
304 start-sanitize-carp start-sanitize-vr4xxx
305 * mips-tdep.c (mips_gdbarch_init): fix stream arg in
306 fprintf_unfiltered calls.
307 end-sanitize-carp end-sanitize-vr4xxx
308 * remote-mm.c (mm_wait): fix stream arg to gdb_flush.
309 * remote-udi.c (udi_wait): fix stream arg to fwrite.
310 * symmisc.c (maintenance_check_symtabs): fix stream argument to
311 print_address_numeric.
313 Wed Jan 13 19:33:16 1999 David Taylor <taylor@texas.cygnus.com>
315 * breakpoint.c (insert_breakpoints): insert cast to eliminate
318 Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
320 * infrun.c (set/show scheduler-locking) New command. Set a
321 mode bit that will control how GDB attempts to control thread
322 scheduling for step, continue, etc. (resume): make use of
323 the schedule-locking mode.
324 * target.h (struct target_ops): new field to_has_thread_control.
325 * sol-thread.c: initialize target_ops to_has_thread_control.
330 * hpux-thread.c: ditto.
331 * thread.c: cull duplicate prototypes. Move prototypes to top.
332 * serial.c: indentation cleanup.
333 * breakpoint.c: add casts to eliminate compiler warnings.
335 Tue Jan 12 17:00:00 1999 Edith Epstein <eepstein@sophia.cygnus.com>
337 * inftarg.c (child_create_inferior): fixed HPUXHPPA specific
338 call to fork_inferior. The shell param is now NULL.
340 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
342 * monitor.c (init_base_monitor_ops): Whitespace cleanup.
343 (_initialize_remote_monitors): Same.
345 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
347 * monitor.c (init_monitor_ops): Initialize the monitor_ops
348 structure if it hasn't already been done.
350 Tue Jan 12 14:50:10 1999 Stan Shebs <shebs@andros.cygnus.com>
352 * inftarg.c (child_ops): Don't initialize statically.
353 (init_child_ops): New function, fills in child_ops.
354 (_initialize_inftarg): Use it.
355 (child_post_attach): Declare extern.
356 (child_wait): Fix ambiguous parens.
357 (child_attach_to_process): Remove unused local wstatus.
358 (child_insert_fork_catchpoint, child_remove_fork_catchpoint,
359 child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
360 child_has_forked, child_insert_exec_catchpoint,
361 child_remove_exec_catchpoint): Return a value.
363 Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
365 * remote.c (remote_wait): Add inferior_pid to thread list only
366 if it is not already there.
368 1999-01-11 Jason Molenda (jsm@bugshack.cygnus.com)
370 * scm-tags.h: Update FSF's address on copyright notice.
374 Mon Jan 11 13:45:57 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
376 * dwarf2read.c (dump_die): Change stderr to gdb_stderr.
377 * expprint.c (print_subexp): fprintf => fprintf_unfiltered.
378 * jv-typeprint.c (java_type_print_base): fputs => fputs_filtered.
379 * stack.c (struct function_bounds): Remove superfluous `typedef'.
380 * symfile.c (list_overlays_command): stdout => gdb_stdout.
381 * symmisc.c (maintenance_check_symtabs): stdout => gdb_stdout.
382 * utils.c (print_spaces): Make more efficient.
384 Mon Jan 11 13:55:51 1999 David Taylor <taylor@texas.cygnus.com>
386 * utils (print_spaces): fix arg to strcat; fix formatting.
388 Fri Jan 8 11:57:24 1999 Stan Shebs <shebs@andros.cygnus.com>
390 * exec.c (exec_ops): Don't initialize statically.
391 (init_exec_ops): New function, fills in exec_ops.
392 (_initialize_exec): Use it.
394 Thu Jan 7 17:50:15 EST 1999 Zdenek Radouch (radouch@cygnus.com)
398 * config/fr30/tm-fr30.h
400 Wed Jan 6 12:28:35 1999 David Taylor <taylor@texas.cygnus.com>
402 * configure.in: Add an --enable-tui argument. Construct
403 tui/Makefile from tui/Makefile.in. Use AM_PROG_CC_STDC. If we
404 have the GUI, then we need this to process libgui.h.
405 (ENABLE_CFLAGS): define and export BUILD_TUI.
406 (AC_CHECK_HEADERS): Add check for term.h.
408 * configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs.
410 * config.in, configure : regenerated.
412 * Makefile.in: Allow the TUI code to be conditionally enabled.
413 (TUI_LIBRARY): New variable, value are set by the configuration
414 script. Set to the empty string when the TUI isn't enabled.
415 (gdb$(GDBEXT)): Use those, instead of referring to all-tui and
416 tui/libtui.a directly.
417 (BUILD_TUI): build the tui -- only when configured with
419 (YLWRAP): use ylwrap to avoid problems on systems w/o bison.
420 (gdb$(EXEEXT)): make it dependent on BUILD_TUI.
421 (all-tui): remove dependency from phony target.
422 (c-exp.tab.c): use ylwrap instead of bison.
423 (jv-exp.tab.c): ditto.
424 (f-exp.tab.c): ditto.
425 (m2-exp.tab.c): ditto.
426 (ALLDEPFILES): add somread.c, hp-psymtab-read.c, hp-symtab-read.c.
427 (SFILES): remove the above files
428 (COMMON_OBS): remove somread.o
429 (SFILES): Add the tui files to this, so they get included in etags
431 (gdb$(EXEEXT)): Add all-tui to the list of dependencies, and add
432 tui/libtui.a to the link list.
433 (all-tui): New rule, which does a recursive make in the tui
435 (tui/libtui.a): When recursing, pass down ${FLAGS_TO_PASS}. And
436 don't echo the make command. This is closer to what the other
438 (HFILES_NO_SRCDIR): add hpread.h
439 (COMMON_OBS): add hp-psymtab-read.o, hp-symtab-read.o
440 (SFILES): add hp-psymtab-read.c, hp-symtab-read.c add rules for
441 the new files. Remove hpread.c, hpread.o
442 (gdb$(EXEEXT)): Depend on the actual tui library, not on a
443 fictitious target. Since the fictitious target never existed,
444 make would always relink.
445 (tui/libtui.a): Always recurse to make sure the library is up to
448 Wed Jan 6 12:05:12 1999 Stan Shebs <shebs@andros.cygnus.com>
450 * remote.c: Pacify --enable-build-warnings, reformat code
451 to conform to standards, fix spelling errors.
452 (ishex, stubhex, record_currthread, etc): Declare.
453 (ishex, stubhex): Declare char arg as int.
454 (pack_string): Comment out, never used but possibly useful.
455 (threadref_to_int, remote_get_threadinfo, etc): Make static.
457 Wed Jan 6 11:43:32 1999 David Taylor <taylor@texas.cygnus.com>
459 The following changes were made by Elena Zannoni
460 <ezannoni@cygnus.com> and Edith Epstein <eepstein@cygnus.com> as
461 part of a project to merge in changes made by HP.
463 * c-exp.y: use external flag hp_som_som_object_present to decide
464 whether code was compiled by HP's compilers. Add two new C++
465 tokens for true and false.
466 (yylex): check for template name is done differently for the
467 HP/aCC compiler case. Change some of the template processing code
468 for handling HP aCC templates. Handle true and false tokens.
470 Tue Jan 5 11:13:36 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
472 * remote.c (record_curthread): Must not modify inferior_pid when
473 called from wait_for_inferior. Instead, if a new thread-id is
474 detected, call add_thread.
475 (MAGIC_NULL_PID): new macro, use instead of the magic number
477 (remote_find_new_threads): if inferior_pid is unknown, get and use
478 the current thread id.
479 (remote_start_remote): on connecting, attempt to get the current
480 thread id for inferior_pid.
481 (remote_resume): If pid == -1, then resume any-thread (not the
482 current thread specifically). Also some cosmetic fixups.
484 * thread.c (info_threads_command): don't initialize current_pid
485 until after call to FIND_NEW_THREADS (which may change inferior_pid).
486 Also some cosmetic fixups.
487 * infrun.c: cosmetic fixups and casts to avoid warnings.
488 * infcmd.c: cosmetic fixups, mainly long lines.
490 Tue Jan 5 11:55:57 1999 David Taylor <taylor@texas.cygnus.com>
492 * target.c (noprocess): terminate sentence with a period.
493 * breakpoint.c (catch_command_1): ditto.
495 * c-valprint.c (c_value_print): remove hack^2 from HP; it causes
496 testsuite losses with no real gain.
498 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): restore, but only
499 if tm-*.h hasn't overridden default value.
501 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
503 * configure.in: Fix whitespace indentation for --help.
504 * configure: Regenerated.
506 1999-01-04 Manuel Bouyer <bouyer@antioche.lip6.fr>
508 * main.c: Add --write command line option, document -w.
509 * gdb.1: Document --write.
511 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
513 * configure.in: Require autoconf 2.12.1 or higher.
514 * doc/configure.in: Ditto.
515 * nlm/configure.in: Ditto.
516 * rdi-share/configure.in: Ditto.
517 * testsuite/configure.in: Ditto.
518 * doc/Makefile.in: Don't hardcode $(SHELL).
519 * nlm/Makefile.in: Ditto.
520 * rdi-share/Makefile.in: Ditto.
521 * testsuite/Makefile.in: Ditto.
523 Mon Jan 4 12:53:03 1999 Stan Shebs <shebs@andros.cygnus.com>
525 * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded
526 inits of new fields, including ref to bogus field.
527 (vx_ops, vx_run_ops): Make static.
529 Mon Jan 4 15:05:29 1999 David Taylor <taylor@texas.cygnus.com>
531 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): delete,
532 already defined in tm.h.
534 * inftarg.c: change <sys/unistd.h> to <unistd.h> and
535 conditionalize its inclusion.
536 * infttrace.c: ditto.
538 For older changes see ChangeLog-98
544 version-control: never