1 1999-02-01 Jim Blandy <jimb@zwingli.cygnus.com>
3 Allow PPC users to select which PPC/RS6000 variant they're debugging
4 at run-time. At the moment, the only thing this affects is the
5 set of registers visible.
6 * config/rs6000/tm-rs6000.h (REGISTER_NAME): Define this as a call
7 to the function rs6000_register_name.
8 (rs6000_register_name): Include extern decl.
9 (NUM_REGS): Bump to 183. What's the right way to do this?
10 (FIRST_UISA_SP_REGNUM, LAST_UISA_SP_REGNUM): Renamed from
11 FIRST_SP_REGNUM, LAST_SP_REGNUM.
12 (REGISTER_BYTES): Recompute this.
13 * rs6000-tdep.c: Renamed all uses of FIRST_SP_REGNUM and
14 LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
15 some concomitant formatting changes.
16 #include "gdbcmd.h", so we can define commands here.
17 (struct variant): New structure.
18 (COMMON_UISA_REG_NAMES, PPC_UISA_SPR_NAMES, PPC_SEGMENT_REG_NAMES,
19 PPC_32_OEA_SPR_NAMES, num_registers): New macros.
20 (register_names_rs6000, register_names_uisa, register_names_403,
21 register_names_403GC, register_names_505, register_names_860,
22 register_names_601, register_names_602, register_names_603,
23 register_names_604, register_names_750, variants): New variables.
24 (rs6000_register_name, install_variant, find_variant_by_name,
25 install_variant_by_name, list_variants, show_current_variant,
26 set_processor, show_processor): New functions.
27 (_initialize_rs6000_tdep): Define new commands `set processor' and
28 `show processor', and call install_variant_by_name to set the
30 * rs6000-nat.c: Renamed all uses of FIRST_SP_REGNUM and
31 LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
32 some concomitant formatting changes.
33 * configure.in: Accept the `--with-cpu' flag, to specify a default
35 * acconfig.h: Provide a blurb for TARGET_CPU_DEFAULT, which is set
36 by configure's `--with-cpu' flag.
37 * config.in, configure: Regenerated.
39 Sun Jan 31 15:24:24 1999 Stan Shebs <shebs@andros.cygnus.com>
41 * buildsym.h, buildsym.c: Convert to ANSI-only.
43 * buildsym.h, buildsym.c: Reformat to standard.
45 * buildsym.c (merge_symbol_lists): Remove unused variable.
46 (_initialize_buildsym): Remove, does nothing.
48 1999-01-31 J.T. Conklin <jtc@redbacknetworks.com>
50 * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
51 sparcl-stub, sparclet-stub.c: Change declaration of putDebugChar
52 to include explicit void return type as per documentation. Fix up
53 occasions where stubs erroneously checked return type.
55 Sun Jan 31 13:18:33 1999 Stan Shebs <shebs@andros.cygnus.com>
57 From J.T. Conklin <jtc@redbacknetworks.com>:
58 * remote.c (remote_query): Fix tipo.
60 Fri Jan 29 15:25:09 1999 Stan Shebs <shebs@andros.cygnus.com>
62 * configure.tgt (v850): Add wildcard to match.
64 Fri Jan 29 16:44:01 1999 Edith Epstein <eepstein@sophia.cygnus.com>
66 * inferior.h: Ran indent.
68 * fork-child.c: Ran indent.
70 * infrun.c : Ran indent.
72 Fri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
74 * infrun.c (_initialize_infrun): Do not stop or print anything
75 when a SIGWINCH is received.
77 * Makefile.in (m2-exp.tab.c): Use YACC not BISON.
79 (jv-exp.tab.c): Ditto.
81 (YACC): Define as @YACC@.
83 1999-01-29 Martin Hunt <hunt@cygnus.com>
85 Changes from Keith Seitz <keiths@cygnus.com>
86 * valops.c (value_assign): Add calls to register_changed_hook and
87 memory_changed_hook to inform UIs that the user has changed
88 the target's registers/memory.
89 * findvar.c (write_register_gen): Remove call to pc_changed_hook.
90 * defs.h: Remove declaration for pc_changed_hook and
91 add declarations for register_changed_hook and
95 1999-01-29 Mark Alexander <marka@cygnus.com>
97 * procfs.c (wait_fd): Handle deleted threads correctly.
99 1999-01-28 Jason Molenda (jsm@bugshack.cygnus.com)
101 * utils.c (init_page_info): Force window size if running under emacs.
103 1999-01-27 James Ingham <jingham@cygnus.com>
105 * typeprint.c (whatis_exp): Remove static declaration.
107 Wed Jan 27 16:50:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
109 * hp-psymtab-read.c: Reformat using indent.
111 Wed Jan 27 13:20:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
113 * hp-psymtab-read.c: Reformat comments, update copyright.
115 start-sanitize-carp start-sanitize-vr4xxx
116 Wed Jan 27 15:09:22 1999 Andrew Cagney <cagney@chook.cygnus.com>
118 * mips-tdep.c (mips_gdbarch_init): Trace e_flags from BFD
121 end-sanitize-carp end-sanitize-vr4xxx
122 Tue Jan 26 16:02:47 1999 Mark Alexander <marka@cygnus.com>
124 * v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
125 v850_register_names, v850_processor_type_table): Declare tables
126 and structures for handling differences in register names for
128 (struct reg_list): Define new structure for creating tables
129 of register bit masks in v850e instrutions.
130 (handle_prepare, handle_pushm): New helpers for v850_scan_prologue.
131 (v850_scan_prologue): Recognize v850e instructions: callt, prepare,
133 (v850_target_architecture_hook): New function to set register
134 names based on current machine.
135 (_initialize_v850_tdep): Set up target_architecture_hook.
136 * config/v850/tm-v850.h (v850_register_names): Declare.
137 (REGISTER_NAME): Define to refer to v850_register_names.
138 (SR0_REGNUM, CTBP_REGNUM): Define.
139 (PS_REGNUM): Redefine in terms of SR0_REGNUM.
141 Tue Jan 26 18:27:26 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
143 * Makefile.in (c-exp.tab.c): Use BISON instead of YACC, to pick
144 the correct value from configure output.
145 (jv-exp.tab.c): Ditto.
146 (f-exp.tab.c): Ditto.
147 (m2-exp.tab.c): Ditto.
149 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
151 * breakpoint.h (ep_is_exception_catchpoint): Add prototype.
152 * frame.h (select_and_print_frame): Add prototype.
153 * stack.c (func_command): Call select_and_print_frame with correct
154 number of arguments. Reformat whitespace.
156 Tue Jan 26 16:53:54 1999 Fernando Nasser <fnasser@cygnus.com>
158 * remote.c (remote_query): fix maximum packet size to account for
160 (putpkt): add comment to alert about extra byte need.
162 Mon Jan 25 19:55:30 1999 Mark Alexander <marka@cygnus.com>
164 * sh-tdep.c (sh_target_architecture_hook): Return immediately
165 when a matching machine is found.
167 Fri Jan 22 09:10:35 1999 Mark Alexander <marka@cygnus.com>
169 * remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint.
170 (common_breakpoint): Restore support for instruction breakpoints
173 Thu Jan 21 17:16:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
175 * stack.c: Close open comment.
176 * symtab.c (find_pc_sect_line): Ditto.
178 Thu Jan 21 17:51:51 1999 Stan Shebs <shebs@andros.cygnus.com>
180 * procfs.c (init_procfs_ops): New function, fills in procfs_ops,
181 init only nonzero fields, leave to_require_attach and
182 to_require_detach empty, not needed for /proc systems yet.
183 (_initialize_procfs): Call init_procfs_ops.
185 From J.T. Conklin <jtc@redbacknetworks.com>:
186 * top.c (init_main): Fix tipo in description of the remotetimeout
188 * breakpoint.c (bpstat_stop_status): Handle systems where
189 DECR_PC_AFTER_BREAK != DECR_PC_AFTER_HW_BREAK.
191 Thu Jan 21 17:25:46 1999 Mark Alexander <marka@cygnus.com>
193 * mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
194 to fill in mon960_cmds structure properly.
196 Wed Jan 20 17:53:22 1999 Stan Shebs <shebs@andros.cygnus.com>
198 * remote-sds.c (sds_ops): Define only once.
199 (init_sds_ops, sds_command, _initialize_remote_sds): Declare.
200 (init_sds_ops): Init only non-zero fields.
202 Wed Jan 20 15:45:15 1999 Mark Alexander <marka@cygnus.com>
204 * h8300-tdep.c (original_register_names, h8300h_register_names,
205 h8300_register_names): Define new variables.
206 (set_register_names): New function to set register names based on
208 (h8300_command, h8300h_command, h8300s_command): Call
210 * config/h8300/tm-h8300.h (h8300_register_names): Declare.
211 (REGISTER_NAME): Define to refer to h8300_register_names.
213 1999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>
215 * sol-thread.c abug-rom.c cpu32bug-rom.c dbug-rom.c m32r-rom.c
216 mac-nat.c mon960-rom.c op50-rom.c ppc-bdm.c remote-adapt.c
217 remote-array.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c
218 remote-est.c remote-hms.c remote-mm.c remote-nindy.c remote-nrom.c
219 remote-os9k.c remote-rdp.c remote-sds.c remote-sim.c remote-st.c
220 remote-udi.c rom68k-rom.c sh3-rom.c sparcl-tdep.c sparclet-rom.c
221 v850ice.c win32-nat.c: cosmetic changes to conform to coding
224 1999-01-19 Jim Blandy <jimb@zwingli.cygnus.com>
226 Use aclocal to generate GDB's aclocal.m4 script.
227 * acinclude.m4: New file, containing the hand-written local macro
228 definitions that used to be in aclocal.m4. Don't sinclude
229 ../bfd/aclocal.m4 any more; running aclocal in this directory will
230 get us the definitions we need. HOWEVER: Do sinclude
231 ../bfd/acinclude.m4, because we need the definition of
232 BFD_NEED_DECLARATION.
233 * aclocal.m4: Regenerated by aclocal.
234 * configure: Regenerated by autoconf.
236 Tue Jan 19 10:27:23 1999 David Taylor <taylor@texas.cygnus.com>
238 * breakpoint.c (disable_breakpoints_in_shlibs): new parameter,
239 silent, controls whether to print message about removal of shared
241 * breakpoint.h (disable_breakpoints_in_shlibs): decl updated.
242 * irix5-nat.c (clear_solib): call disable_breakpoints_in_shlibs.
243 * osfsolib.c (clear_solib): ditto.
244 * solib.c (clear_solib): ditto.
245 * somsolib.c (som_solib_restart): update call to
246 disable_breakpoints_in_shlibs.
248 * target.h (child_post_attach): only declare if CHILD_POST_ATTACH
251 Tue Jan 19 18:07:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
253 * corelow.c (solib_add_stub): Ditto.
254 (core_file_to_sym_file): Cast make_cleanup parameter.
256 * solib.c (symbol_add_stub, solib_map_sections): Change argument
257 to PTR insted of a char*. Matches catch_errors interface.
259 Mon Jan 18 14:01:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
261 * remote-array.c (array_open): Don't use fprintf_filtered to send
262 data to the log file.
264 * remote-array.c (handle_load_dll): Change argument type to PTR so
265 that it is compatible with catch_errors.
266 * ocd.c (ocd_start_remote): Ditto.
267 * remote-sds.c (sds_start_remote): Ditto.
269 * win32-nat.c (win32_child_thread_alive): Namespace proof
271 (init_child_ops): Update.
273 Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
275 * remote-rdi.c (arm_rdi_open): Set gdb_hostif.hostosarg and
276 gdb_hostif.dbgarg to NULL instead of stdout.
277 (voiddummy, myprint, mywritec): Use gdb_stdout instead of stdout.
279 Mon Jan 18 16:40:50 1999 Stan Shebs <shebs@andros.cygnus.com>
281 * ser-ocd.c (ocd_open): Handle Unix case gracefully.
283 * target.c (dummy_target): Don't initialize statically.
284 (init_dummy_target): New function, fills in dummy_target.
285 (initialize_targets): Use it.
286 * hpux-thread.c (hpux_thread_ops): Don't initialize statically.
287 (init_hpux_thread_ops): New function, fills in hpux_thread_ops.
288 (_initialize_hpux_thread): Use it.
289 * m3-nat.c (m3_ops): Don't initialize statically.
290 (init_m3_ops): New function, fills in m3_ops.
291 (_initialize_m3): Use it.
293 1999-01-18 Fernando Nasser <fnasser@totem.to.cygnus.com>
295 * sol-thread.c: delete compile time initialization of target_ops
296 (_initialize_sol_thread): initialize target_ops at run time.
297 * hpux-thread.c: added target_ops entry.
300 Mon Jan 18 15:19:13 1999 David Taylor <taylor@texas.cygnus.com>
302 * procfs.c (procfs_ops): delete compile time initialization.
303 (_initialize_procfs): initialize procfs_ops at run time.
305 Mon Jan 18 12:51:44 1999 Christopher Faylor <cgf@cygnus.com>
307 * configure.in: Ensure that -luser32 is always linked in
309 * configure: Regenerated.
311 Mon Jan 18 08:38:05 1999 Mark Alexander <marka@cygnus.com>
313 * values.c (value_virtual_fn_field): Clear the pointed-to
314 offset when casting to the base class.
316 Mon Jan 18 10:30:51 1999 David Taylor <taylor@texas.cygnus.com>
318 * remote-udi.c (init_udi_ops): change non-existant udi_run_ops to
319 udi_ops; delete NULL initializers.
321 Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
323 * serial.c (serial_close): gdb_fclose tages gdb_file** arg, not
326 * f-valprint.c, target.c, gdbarch.c: Pass gdb_stderr not stderr.
328 Mon Jan 18 10:46:12 1999 Andrew Cagney <cagney@b1.cygnus.com>
330 * stack.c (print_frame_info_base): Don't cast call to
332 (print_args_stub): Change char* arg to PTR.
333 * symmisc.c (print_symbol): Ditto.
334 * top.c (quit_cover): Ditto.
335 * remote.c (remote_open_1, remote_start_remote): Ditto.
336 * infrun.c (normal_stop, hook_stop_stub, restore_selected_frame):
339 * stack.c (backtrace_command): Cast first arg of make_cleanup to
341 * remote.c (remote_kill): Cast putpkt arg to catch_errors_ftype.
343 Mon Jan 18 08:47:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
345 * defs.h (catch_errors_ftype): Define.
346 (catch_errors): Replace char* arg with PTR arg.
347 * top.c (catch_errors): Update
349 * breakpoint.c (bpstat_stop_status, bpstat_stop_status,
350 delete_breakpoint, breakpoint_re_set): Delete all casts in call to
352 (breakpoint_cond_eval, watchpoint_check,
353 cover_target_enable_exception_callback, breakpoint_re_set_one):
354 Arg is PTR not char*.
356 * breakpoint.c (cover_target_enable_exception_callback): Change
357 type to int. Check for cast values of 0 and -1. Return a result!
358 (insert_breakpoints): Move declaration of SAL and ARGS to where
361 1999-01-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
363 * remote.c (remote_query): new function - creates proper interface
364 to the remote protocol "q" command.
366 Fri Jan 15 17:11:48 EST 1999 Zdenek Radouch (radouch@cygnus.com)
368 * config/fr30/tm-fr30.h: Changed ABI to match GCC change
369 (always use pointer for structs passed by value).
371 1999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
373 * target.h: added entry for target queries (to_query)
376 Thu Jan 14 18:29:17 1999 David Taylor <taylor@texas.cygnus.com>
378 start-sanitize-carp start-sanitize-vr4xxx
379 * mips-tdep.c (mips_gdbarch_init): fix stream arg in
380 fprintf_unfiltered calls.
381 end-sanitize-carp end-sanitize-vr4xxx
382 * remote-mm.c (mm_wait): fix stream arg to gdb_flush.
383 * remote-udi.c (udi_wait): fix stream arg to fwrite.
384 * symmisc.c (maintenance_check_symtabs): fix stream argument to
385 print_address_numeric.
387 Wed Jan 13 19:33:16 1999 David Taylor <taylor@texas.cygnus.com>
389 * breakpoint.c (insert_breakpoints): insert cast to eliminate
392 Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
394 * infrun.c (set/show scheduler-locking) New command. Set a
395 mode bit that will control how GDB attempts to control thread
396 scheduling for step, continue, etc. (resume): make use of
397 the schedule-locking mode.
398 * target.h (struct target_ops): new field to_has_thread_control.
399 * sol-thread.c: initialize target_ops to_has_thread_control.
404 * hpux-thread.c: ditto.
405 * thread.c: cull duplicate prototypes. Move prototypes to top.
406 * serial.c: indentation cleanup.
407 * breakpoint.c: add casts to eliminate compiler warnings.
409 Tue Jan 12 17:00:00 1999 Edith Epstein <eepstein@sophia.cygnus.com>
411 * inftarg.c (child_create_inferior): fixed HPUXHPPA specific
412 call to fork_inferior. The shell param is now NULL.
414 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
416 * monitor.c (init_base_monitor_ops): Whitespace cleanup.
417 (_initialize_remote_monitors): Same.
419 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
421 * monitor.c (init_monitor_ops): Initialize the monitor_ops
422 structure if it hasn't already been done.
424 Tue Jan 12 14:50:10 1999 Stan Shebs <shebs@andros.cygnus.com>
426 * inftarg.c (child_ops): Don't initialize statically.
427 (init_child_ops): New function, fills in child_ops.
428 (_initialize_inftarg): Use it.
429 (child_post_attach): Declare extern.
430 (child_wait): Fix ambiguous parens.
431 (child_attach_to_process): Remove unused local wstatus.
432 (child_insert_fork_catchpoint, child_remove_fork_catchpoint,
433 child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
434 child_has_forked, child_insert_exec_catchpoint,
435 child_remove_exec_catchpoint): Return a value.
437 Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
439 * remote.c (remote_wait): Add inferior_pid to thread list only
440 if it is not already there.
442 1999-01-11 Jason Molenda (jsm@bugshack.cygnus.com)
444 * scm-tags.h: Update FSF's address on copyright notice.
448 Mon Jan 11 13:45:57 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
450 * dwarf2read.c (dump_die): Change stderr to gdb_stderr.
451 * expprint.c (print_subexp): fprintf => fprintf_unfiltered.
452 * jv-typeprint.c (java_type_print_base): fputs => fputs_filtered.
453 * stack.c (struct function_bounds): Remove superfluous `typedef'.
454 * symfile.c (list_overlays_command): stdout => gdb_stdout.
455 * symmisc.c (maintenance_check_symtabs): stdout => gdb_stdout.
456 * utils.c (print_spaces): Make more efficient.
458 Mon Jan 11 13:55:51 1999 David Taylor <taylor@texas.cygnus.com>
460 * utils (print_spaces): fix arg to strcat; fix formatting.
462 Fri Jan 8 11:57:24 1999 Stan Shebs <shebs@andros.cygnus.com>
464 * exec.c (exec_ops): Don't initialize statically.
465 (init_exec_ops): New function, fills in exec_ops.
466 (_initialize_exec): Use it.
468 Thu Jan 7 17:50:15 EST 1999 Zdenek Radouch (radouch@cygnus.com)
472 * config/fr30/tm-fr30.h
474 Wed Jan 6 12:28:35 1999 David Taylor <taylor@texas.cygnus.com>
476 * configure.in: Add an --enable-tui argument. Construct
477 tui/Makefile from tui/Makefile.in. Use AM_PROG_CC_STDC. If we
478 have the GUI, then we need this to process libgui.h.
479 (ENABLE_CFLAGS): define and export BUILD_TUI.
480 (AC_CHECK_HEADERS): Add check for term.h.
482 * configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs.
484 * config.in, configure : regenerated.
486 * Makefile.in: Allow the TUI code to be conditionally enabled.
487 (TUI_LIBRARY): New variable, value are set by the configuration
488 script. Set to the empty string when the TUI isn't enabled.
489 (gdb$(GDBEXT)): Use those, instead of referring to all-tui and
490 tui/libtui.a directly.
491 (BUILD_TUI): build the tui -- only when configured with
493 (YLWRAP): use ylwrap to avoid problems on systems w/o bison.
494 (gdb$(EXEEXT)): make it dependent on BUILD_TUI.
495 (all-tui): remove dependency from phony target.
496 (c-exp.tab.c): use ylwrap instead of bison.
497 (jv-exp.tab.c): ditto.
498 (f-exp.tab.c): ditto.
499 (m2-exp.tab.c): ditto.
500 (ALLDEPFILES): add somread.c, hp-psymtab-read.c, hp-symtab-read.c.
501 (SFILES): remove the above files
502 (COMMON_OBS): remove somread.o
503 (SFILES): Add the tui files to this, so they get included in etags
505 (gdb$(EXEEXT)): Add all-tui to the list of dependencies, and add
506 tui/libtui.a to the link list.
507 (all-tui): New rule, which does a recursive make in the tui
509 (tui/libtui.a): When recursing, pass down ${FLAGS_TO_PASS}. And
510 don't echo the make command. This is closer to what the other
512 (HFILES_NO_SRCDIR): add hpread.h
513 (COMMON_OBS): add hp-psymtab-read.o, hp-symtab-read.o
514 (SFILES): add hp-psymtab-read.c, hp-symtab-read.c add rules for
515 the new files. Remove hpread.c, hpread.o
516 (gdb$(EXEEXT)): Depend on the actual tui library, not on a
517 fictitious target. Since the fictitious target never existed,
518 make would always relink.
519 (tui/libtui.a): Always recurse to make sure the library is up to
522 Wed Jan 6 12:05:12 1999 Stan Shebs <shebs@andros.cygnus.com>
524 * remote.c: Pacify --enable-build-warnings, reformat code
525 to conform to standards, fix spelling errors.
526 (ishex, stubhex, record_currthread, etc): Declare.
527 (ishex, stubhex): Declare char arg as int.
528 (pack_string): Comment out, never used but possibly useful.
529 (threadref_to_int, remote_get_threadinfo, etc): Make static.
531 Wed Jan 6 11:43:32 1999 David Taylor <taylor@texas.cygnus.com>
533 The following changes were made by Elena Zannoni
534 <ezannoni@cygnus.com> and Edith Epstein <eepstein@cygnus.com> as
535 part of a project to merge in changes made by HP.
537 * c-exp.y: use external flag hp_som_som_object_present to decide
538 whether code was compiled by HP's compilers. Add two new C++
539 tokens for true and false.
540 (yylex): check for template name is done differently for the
541 HP/aCC compiler case. Change some of the template processing code
542 for handling HP aCC templates. Handle true and false tokens.
544 Tue Jan 5 11:13:36 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
546 * remote.c (record_curthread): Must not modify inferior_pid when
547 called from wait_for_inferior. Instead, if a new thread-id is
548 detected, call add_thread.
549 (MAGIC_NULL_PID): new macro, use instead of the magic number
551 (remote_find_new_threads): if inferior_pid is unknown, get and use
552 the current thread id.
553 (remote_start_remote): on connecting, attempt to get the current
554 thread id for inferior_pid.
555 (remote_resume): If pid == -1, then resume any-thread (not the
556 current thread specifically). Also some cosmetic fixups.
558 * thread.c (info_threads_command): don't initialize current_pid
559 until after call to FIND_NEW_THREADS (which may change inferior_pid).
560 Also some cosmetic fixups.
561 * infrun.c: cosmetic fixups and casts to avoid warnings.
562 * infcmd.c: cosmetic fixups, mainly long lines.
564 Tue Jan 5 11:55:57 1999 David Taylor <taylor@texas.cygnus.com>
566 * target.c (noprocess): terminate sentence with a period.
567 * breakpoint.c (catch_command_1): ditto.
569 * c-valprint.c (c_value_print): remove hack^2 from HP; it causes
570 testsuite losses with no real gain.
572 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): restore, but only
573 if tm-*.h hasn't overridden default value.
575 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
577 * configure.in: Fix whitespace indentation for --help.
578 * configure: Regenerated.
580 1999-01-04 Manuel Bouyer <bouyer@antioche.lip6.fr>
582 * main.c: Add --write command line option, document -w.
583 * gdb.1: Document --write.
585 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
587 * configure.in: Require autoconf 2.12.1 or higher.
588 * doc/configure.in: Ditto.
589 * nlm/configure.in: Ditto.
590 * rdi-share/configure.in: Ditto.
591 * testsuite/configure.in: Ditto.
592 * doc/Makefile.in: Don't hardcode $(SHELL).
593 * nlm/Makefile.in: Ditto.
594 * rdi-share/Makefile.in: Ditto.
595 * testsuite/Makefile.in: Ditto.
597 Mon Jan 4 12:53:03 1999 Stan Shebs <shebs@andros.cygnus.com>
599 * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded
600 inits of new fields, including ref to bogus field.
601 (vx_ops, vx_run_ops): Make static.
603 Mon Jan 4 15:05:29 1999 David Taylor <taylor@texas.cygnus.com>
605 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): delete,
606 already defined in tm.h.
608 * inftarg.c: change <sys/unistd.h> to <unistd.h> and
609 conditionalize its inclusion.
610 * infttrace.c: ditto.
612 For older changes see ChangeLog-98
618 version-control: never