49cab687b1cf43b03eeed626703c84b27c57813d
[external/binutils.git] / gdb / ChangeLog
1 Mon Jan  4 10:05:43 1999  Frank Ch. Eigler  <fche@cygnus.com>
2
3        * infrun.c (wait_for_inferior): Allow SIGTRAP to be "pass"ed
4        to target program.
5
6 Fri Feb  5 16:46:14 1999  Stan Shebs  <shebs@andros.cygnus.com>
7
8         * NEWS: Add mentions of various new things.
9
10 Thu Feb  4 00:19:14 1999  Christopher Faylor <cgf@cygnus.com>
11
12         * configure.in: Move termcap determination a later in the
13         file to catch setting of cygwin flag.
14         * configure: Regenerate.
15
16 Wed Feb  3 14:16:38 1999  Christopher Faylor <cgf@cygnus.com>
17
18         * config/i386/cygwin.mh: Move TERMCAP test code to configure.in.
19         * configure.in: Treat libtermcap.a detection as a special case
20         when hosting on cygwin.
21         * configure: Regenerate.
22
23 1999-02-03  Keith Seitz  <keiths@cygnus.com>
24  
25         * remote.c (remote_binary_download, remote_binary_length): New
26         static globals for dealing with binary transmissions.
27         (remote_write_bytes): Add support for binary downloads
28         by shadowing the "M" packet with a new "X" packet. This
29         defaults to ON; if the stub does not understand this, it
30         will fall back to using "M".
31         (putpkt): Add support for binary downloading.
32         * monitor.c (monitor_expect): The mon2000 monitor
33         on the MSA2000 will also emit random DC1/DC3 chars.
34         * m32r-stub.c: Change all char's to unsigned char's
35         to support binary downloading.
36         (handle_exception): Add support for binary downloading
37         via a new "X" packet.
38         (getpacket): Do NOT strip eighth bit of incoming chars.
39         Watch out for escaped characters in the incoming stream.
40         (putpacket): Do NOT strip eighth bit of incoming chars.
41         (bin2mem): New function to write binary data directly to
42         memory.
43         * m32r-rom.c: Add new "mon2000" target.
44
45 Tue Feb  2 18:40:29 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
46
47         * hp-psymtab-read.c (hpread_build_psymtabs): Coerce first arg
48         passed to make_cleanup to the correct type.
49         (hpread_quick_traverse): Change fifth arg to call to 
50         hpread_end_psymtab to be 0. 
51         Compare CURR_MODULE_END to 0 rather than NULL.
52         Get rid of ifdef'ed out code.
53         (scan_procs): Get rid of ifdef'ed out code.
54
55         * somread.c (som_symfile_read): Coerce first argument passed to
56         make_cleanup to the correct type.
57
58 Tue Feb  2 17:36:29 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
59
60         * hp-psymtab-read.c (do_pxdb): New function. Check whether the
61         file needs to be processed by pxdb (an HP debug info massaging
62         tool), if so call it.
63         (hpread_build_psymtabs): Initialize scan_start to 0 and
64         simplify flow of control.
65
66         * somread.c (som_symfile_read): Add call to do_pxdb (), 
67         in hp-psymtab-read.c.
68
69         * symfile.c (symbol_file_add): Remove ifdef'ed out HPUX specific
70         code.
71         (symfile_bfd_open): Remove HPUXHPPA ifdef'ed code. Code is now
72         in hp-psymtab-read.c.
73
74 1999-02-02  Martin Hunt  <hunt@cygnus.com>
75
76         * printcmd.c (print_scalar_formatted): Use strcat to concat all
77         the output together before calling fprintf_filtered().
78
79 1999-02-01  Jason Molenda  (jsm@bugshack.cygnus.com)
80
81         * configure.in: Require autoconf 2.13.
82         (AM_EXEEXT): Replace with new AC_EXEEXT.
83         * acinclude.m4: Move itcl header macros from aclocal.m4 to here.
84         * aclocal.m4: Regenerated.
85         * configure: Regenerated.
86
87 1999-02-01  Jim Blandy  <jimb@zwingli.cygnus.com>
88
89         Allow PPC users to select which PPC/RS6000 variant they're debugging
90         at run-time.  At the moment, the only thing this affects is the
91         set of registers visible.
92         * config/rs6000/tm-rs6000.h (REGISTER_NAME): Define this as a call
93         to the function rs6000_register_name.
94         (rs6000_register_name): Include extern decl.
95         (NUM_REGS): Bump to 183.  What's the right way to do this?
96         (FIRST_UISA_SP_REGNUM, LAST_UISA_SP_REGNUM): Renamed from
97         FIRST_SP_REGNUM, LAST_SP_REGNUM.
98         (REGISTER_BYTES): Recompute this.
99         * rs6000-tdep.c: Renamed all uses of FIRST_SP_REGNUM and
100         LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
101         some concomitant formatting changes.
102         #include "gdbcmd.h", so we can define commands here.
103         (struct variant): New structure.
104         (COMMON_UISA_REG_NAMES, PPC_UISA_SPR_NAMES, PPC_SEGMENT_REG_NAMES,
105         PPC_32_OEA_SPR_NAMES, num_registers): New macros. 
106         (register_names_rs6000, register_names_uisa, register_names_403,
107         register_names_403GC, register_names_505, register_names_860,
108         register_names_601, register_names_602, register_names_603,
109         register_names_604, register_names_750, variants): New variables.
110         (rs6000_register_name, install_variant, find_variant_by_name,
111         install_variant_by_name, list_variants, show_current_variant,
112         set_processor, show_processor): New functions.
113         (_initialize_rs6000_tdep): Define new commands `set processor' and
114         `show processor', and call install_variant_by_name to set the
115         default variant.
116         * rs6000-nat.c: Renamed all uses of FIRST_SP_REGNUM and
117         LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
118         some concomitant formatting changes.
119         * configure.in: Accept the `--with-cpu' flag, to specify a default
120         processor variant.
121         * acconfig.h: Provide a blurb for TARGET_CPU_DEFAULT, which is set
122         by configure's `--with-cpu' flag.
123         * config.in, configure: Regenerated.
124
125 Sun Jan 31 15:24:24 1999  Stan Shebs  <shebs@andros.cygnus.com>
126
127         * buildsym.h, buildsym.c: Convert to ANSI-only.
128
129         * buildsym.h, buildsym.c: Reformat to standard.
130
131         * buildsym.c (merge_symbol_lists): Remove unused variable.
132         (_initialize_buildsym): Remove, does nothing.
133
134 1999-01-31 J.T. Conklin  <jtc@redbacknetworks.com>
135
136         * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
137         sparcl-stub, sparclet-stub.c: Change declaration of putDebugChar
138         to include explicit void return type as per documentation.  Fix up
139         occasions where stubs erroneously checked return type.
140
141 Sun Jan 31 13:18:33 1999  Stan Shebs  <shebs@andros.cygnus.com>
142
143         From J.T. Conklin <jtc@redbacknetworks.com>:
144         * remote.c (remote_query): Fix tipo.
145
146 Fri Jan 29 15:25:09 1999  Stan Shebs  <shebs@andros.cygnus.com>
147
148         * configure.tgt (v850): Add wildcard to match.
149
150 Fri Jan 29 16:44:01 1999  Edith Epstein  <eepstein@sophia.cygnus.com>
151
152         * inferior.h: Ran indent.
153
154         * fork-child.c: Ran indent.
155
156         * infrun.c : Ran indent.
157
158 Fri Jan 29 12:57:34 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
159
160         * infrun.c (_initialize_infrun): Do not stop or print anything
161         when a SIGWINCH is received.
162
163         * Makefile.in (m2-exp.tab.c): Use YACC not BISON.
164         (f-exp.tab.c): Ditto.
165         (jv-exp.tab.c): Ditto.
166         (c-exp.tab.c): Ditto.
167         (YACC): Define as @YACC@.
168
169 1999-01-29  Martin Hunt  <hunt@cygnus.com>
170
171         Changes from Keith Seitz  <keiths@cygnus.com>
172         * valops.c (value_assign): Add calls to register_changed_hook and
173         memory_changed_hook to inform UIs that the user has changed
174         the target's registers/memory.
175         * findvar.c (write_register_gen): Remove call to pc_changed_hook.
176         * defs.h: Remove declaration for pc_changed_hook and
177         add declarations for register_changed_hook and
178         memory_changed_hook.
179         * top.c: Ditto.
180
181 1999-01-29  Mark Alexander  <marka@cygnus.com>
182
183         * procfs.c (wait_fd): Handle deleted threads correctly.
184
185 1999-01-28  Jason Molenda  (jsm@bugshack.cygnus.com)
186
187         * utils.c (init_page_info): Force window size if running under emacs.
188
189 1999-01-27  James Ingham  <jingham@cygnus.com>
190
191         * typeprint.c (whatis_exp): Remove static declaration.
192
193 Wed Jan 27 16:50:25 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
194
195         * hp-psymtab-read.c: Reformat using indent.
196
197 Wed Jan 27 13:20:25 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
198
199         * hp-psymtab-read.c: Reformat comments, update copyright.
200
201 start-sanitize-carp start-sanitize-vr4xxx
202 Wed Jan 27 15:09:22 1999  Andrew Cagney  <cagney@chook.cygnus.com>
203
204         * mips-tdep.c (mips_gdbarch_init): Trace e_flags from BFD
205         elf_info.
206
207 end-sanitize-carp end-sanitize-vr4xxx
208 Tue Jan 26 16:02:47 1999  Mark Alexander  <marka@cygnus.com>
209
210         * v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
211         v850_register_names, v850_processor_type_table): Declare tables
212         and structures for handling differences in register names for
213         v850 and v850e.
214         (struct reg_list): Define new structure for creating tables
215         of register bit masks in v850e instrutions.
216         (handle_prepare, handle_pushm): New helpers for v850_scan_prologue.
217         (v850_scan_prologue): Recognize v850e instructions: callt, prepare,
218         and pushm.
219         (v850_target_architecture_hook): New function to set register
220         names based on current machine.
221         (_initialize_v850_tdep): Set up target_architecture_hook.
222         * config/v850/tm-v850.h (v850_register_names): Declare.
223         (REGISTER_NAME): Define to refer to v850_register_names.
224         (SR0_REGNUM, CTBP_REGNUM): Define.
225         (PS_REGNUM): Redefine in terms of SR0_REGNUM.
226
227 Tue Jan 26 18:27:26 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
228
229         * Makefile.in (c-exp.tab.c): Use BISON instead of YACC, to pick
230         the correct value from configure output.
231         (jv-exp.tab.c): Ditto.
232         (f-exp.tab.c): Ditto.
233         (m2-exp.tab.c): Ditto.
234
235 1999-01-26  Jason Molenda  (jsm@bugshack.cygnus.com)
236
237         * breakpoint.h (ep_is_exception_catchpoint): Add prototype.
238         * frame.h (select_and_print_frame): Add prototype.
239         * stack.c (func_command): Call select_and_print_frame with correct
240         number of arguments.  Reformat whitespace.
241
242 Tue Jan 26 16:53:54 1999  Fernando Nasser  <fnasser@cygnus.com>
243
244         * remote.c (remote_query): fix maximum packet size to account for
245           remote_debug use.
246           (putpkt): add comment to alert about extra byte need.
247
248 Mon Jan 25 19:55:30 1999  Mark Alexander  <marka@cygnus.com>
249
250         * sh-tdep.c (sh_target_architecture_hook): Return immediately
251         when a matching machine is found.
252
253 Fri Jan 22 09:10:35 1999  Mark Alexander  <marka@cygnus.com>
254
255         * remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint.
256         (common_breakpoint): Restore support for instruction breakpoints
257         on non-LSI targets.
258
259 Thu Jan 21 17:16:19 1999  Andrew Cagney  <cagney@b1.cygnus.com>
260
261         * stack.c: Close open comment.
262         * symtab.c (find_pc_sect_line): Ditto.
263
264 Thu Jan 21 17:51:51 1999  Stan Shebs  <shebs@andros.cygnus.com>
265
266         * procfs.c (init_procfs_ops): New function, fills in procfs_ops,
267         init only nonzero fields, leave to_require_attach and
268         to_require_detach empty, not needed for /proc systems yet.
269         (_initialize_procfs): Call init_procfs_ops.
270
271         From J.T. Conklin <jtc@redbacknetworks.com>:
272         * top.c (init_main): Fix tipo in description of the remotetimeout
273         variable.
274         * breakpoint.c (bpstat_stop_status): Handle systems where
275         DECR_PC_AFTER_BREAK != DECR_PC_AFTER_HW_BREAK.
276
277 Thu Jan 21 17:25:46 1999  Mark Alexander  <marka@cygnus.com>
278
279         * mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
280         to fill in mon960_cmds structure properly.
281
282 Wed Jan 20 17:53:22 1999  Stan Shebs  <shebs@andros.cygnus.com>
283
284         * remote-sds.c (sds_ops): Define only once.
285         (init_sds_ops, sds_command, _initialize_remote_sds): Declare.
286         (init_sds_ops): Init only non-zero fields.
287
288 Wed Jan 20 15:45:15 1999  Mark Alexander  <marka@cygnus.com>
289
290         * h8300-tdep.c (original_register_names, h8300h_register_names,
291         h8300_register_names): Define new variables.
292         (set_register_names): New function to set register names based on
293         current CPU type.
294         (h8300_command, h8300h_command, h8300s_command): Call
295         set_register_names.
296         * config/h8300/tm-h8300.h (h8300_register_names): Declare.
297         (REGISTER_NAME): Define to refer to h8300_register_names.
298
299 1999-01-19  Fernando Nasser  <fnasser@totem.to.cygnus.com>
300
301         * sol-thread.c abug-rom.c cpu32bug-rom.c dbug-rom.c m32r-rom.c 
302         mac-nat.c mon960-rom.c op50-rom.c ppc-bdm.c remote-adapt.c 
303         remote-array.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c 
304         remote-est.c remote-hms.c remote-mm.c remote-nindy.c remote-nrom.c 
305         remote-os9k.c remote-rdp.c remote-sds.c remote-sim.c remote-st.c 
306         remote-udi.c rom68k-rom.c sh3-rom.c sparcl-tdep.c sparclet-rom.c 
307         v850ice.c win32-nat.c: cosmetic changes to conform to coding
308         standards. 
309
310 1999-01-19  Jim Blandy  <jimb@zwingli.cygnus.com>
311
312         Use aclocal to generate GDB's aclocal.m4 script.  
313         * acinclude.m4: New file, containing the hand-written local macro
314         definitions that used to be in aclocal.m4.  Don't sinclude
315         ../bfd/aclocal.m4 any more; running aclocal in this directory will
316         get us the definitions we need.  HOWEVER: Do sinclude
317         ../bfd/acinclude.m4, because we need the definition of
318         BFD_NEED_DECLARATION.
319         * aclocal.m4: Regenerated by aclocal.
320         * configure: Regenerated by autoconf.
321
322 Tue Jan 19 10:27:23 1999  David Taylor  <taylor@texas.cygnus.com>
323
324         * breakpoint.c (disable_breakpoints_in_shlibs): new parameter,
325         silent, controls whether to print message about removal of shared
326         library breakpoints.
327         * breakpoint.h (disable_breakpoints_in_shlibs): decl updated.
328         * irix5-nat.c (clear_solib): call disable_breakpoints_in_shlibs.
329         * osfsolib.c (clear_solib): ditto.
330         * solib.c (clear_solib): ditto.
331         * somsolib.c (som_solib_restart): update call to
332         disable_breakpoints_in_shlibs.
333
334         * target.h (child_post_attach): only declare if CHILD_POST_ATTACH
335         is define.
336
337 Tue Jan 19 18:07:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
338
339         * corelow.c (solib_add_stub): Ditto.
340         (core_file_to_sym_file): Cast make_cleanup parameter.
341
342         * solib.c (symbol_add_stub, solib_map_sections): Change argument
343         to PTR insted of a char*.  Matches catch_errors interface.
344
345 Mon Jan 18 14:01:24 1999  Andrew Cagney  <cagney@b1.cygnus.com>
346
347         * remote-array.c (array_open): Don't use fprintf_filtered to send
348         data to the log file.
349
350         * remote-array.c (handle_load_dll): Change argument type to PTR so
351         that it is compatible with catch_errors.
352         * ocd.c (ocd_start_remote): Ditto.
353         * remote-sds.c (sds_start_remote): Ditto.
354
355         * win32-nat.c (win32_child_thread_alive): Namespace proof
356         child_thread_alive.
357         (init_child_ops): Update.
358
359 Mon Jan 18 12:03:47 1999  Andrew Cagney  <cagney@b1.cygnus.com>
360
361         * remote-rdi.c (arm_rdi_open): Set gdb_hostif.hostosarg and
362         gdb_hostif.dbgarg to NULL instead of stdout.
363         (voiddummy, myprint, mywritec): Use gdb_stdout instead of stdout.
364
365 Mon Jan 18 16:40:50 1999  Stan Shebs  <shebs@andros.cygnus.com>
366
367         * ser-ocd.c (ocd_open): Handle Unix case gracefully.
368
369         * target.c (dummy_target): Don't initialize statically.
370         (init_dummy_target): New function, fills in dummy_target.
371         (initialize_targets): Use it.
372         * hpux-thread.c (hpux_thread_ops): Don't initialize statically.
373         (init_hpux_thread_ops): New function, fills in hpux_thread_ops.
374         (_initialize_hpux_thread): Use it.
375         * m3-nat.c (m3_ops): Don't initialize statically.
376         (init_m3_ops): New function, fills in m3_ops.
377         (_initialize_m3): Use it.
378
379 1999-01-18  Fernando Nasser  <fnasser@totem.to.cygnus.com>
380
381         * sol-thread.c: delete compile time initialization of target_ops
382           (_initialize_sol_thread): initialize target_ops at run time.
383         * hpux-thread.c: added target_ops entry.
384         * m3-nat.c: ditto.
385
386 Mon Jan 18 15:19:13 1999  David Taylor  <taylor@texas.cygnus.com>
387
388         * procfs.c (procfs_ops): delete compile time initialization.
389         (_initialize_procfs): initialize procfs_ops at run time.
390
391 Mon Jan 18 12:51:44 1999  Christopher Faylor <cgf@cygnus.com>
392
393         * configure.in: Ensure that -luser32 is always linked in
394         for cygwin build.
395         * configure: Regenerated.
396
397 Mon Jan 18 08:38:05 1999  Mark Alexander  <marka@cygnus.com>
398
399         * values.c (value_virtual_fn_field): Clear the pointed-to
400         offset when casting to the base class.
401
402 Mon Jan 18 10:30:51 1999  David Taylor  <taylor@texas.cygnus.com>
403
404         * remote-udi.c (init_udi_ops): change non-existant udi_run_ops to
405         udi_ops; delete NULL initializers.
406
407 Mon Jan 18 12:03:47 1999  Andrew Cagney  <cagney@b1.cygnus.com>
408
409         * serial.c (serial_close): gdb_fclose tages gdb_file** arg, not
410         gdb_file*.
411
412         * f-valprint.c, target.c, gdbarch.c: Pass gdb_stderr not stderr.
413
414 Mon Jan 18 10:46:12 1999  Andrew Cagney  <cagney@b1.cygnus.com>
415
416         * stack.c (print_frame_info_base): Don't cast call to
417         catch_errors.
418         (print_args_stub): Change char* arg to PTR.
419         * symmisc.c (print_symbol): Ditto.
420         * top.c (quit_cover): Ditto.
421         * remote.c (remote_open_1, remote_start_remote): Ditto.
422         * infrun.c (normal_stop, hook_stop_stub, restore_selected_frame):
423         Ditto.
424
425         * stack.c (backtrace_command): Cast first arg of make_cleanup to
426         make_cleanup_func.
427         * remote.c (remote_kill): Cast putpkt arg to catch_errors_ftype.
428
429 Mon Jan 18 08:47:02 1999  Andrew Cagney  <cagney@b1.cygnus.com>
430         
431         * defs.h (catch_errors_ftype): Define.
432         (catch_errors): Replace char* arg with PTR arg.
433         * top.c (catch_errors): Update
434
435         * breakpoint.c (bpstat_stop_status, bpstat_stop_status,
436         delete_breakpoint, breakpoint_re_set): Delete all casts in call to
437         catch_errors.
438         (breakpoint_cond_eval, watchpoint_check,
439         cover_target_enable_exception_callback, breakpoint_re_set_one):
440         Arg is PTR not char*.
441         
442         * breakpoint.c (cover_target_enable_exception_callback): Change
443         type to int. Check for cast values of 0 and -1.  Return a result!
444         (insert_breakpoints): Move declaration of SAL and ARGS to where
445         they are used.
446
447 1999-01-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
448
449         * remote.c (remote_query): new function - creates proper interface
450         to the remote protocol "q" command.     
451
452 Fri Jan 15 17:11:48 EST 1999  Zdenek Radouch   (radouch@cygnus.com)
453
454         * config/fr30/tm-fr30.h:  Changed ABI to match GCC change
455           (always use pointer for structs passed by value).
456
457 1999-01-15  Fernando Nasser  <fnasser@totem.to.cygnus.com>
458
459         * target.h: added entry for target queries (to_query)
460           target.c: ditto.
461
462 Thu Jan 14 18:29:17 1999  David Taylor  <taylor@texas.cygnus.com>
463
464 start-sanitize-carp start-sanitize-vr4xxx
465         * mips-tdep.c (mips_gdbarch_init): fix stream arg in
466         fprintf_unfiltered calls.
467 end-sanitize-carp end-sanitize-vr4xxx
468         * remote-mm.c (mm_wait): fix stream arg to gdb_flush.
469         * remote-udi.c (udi_wait): fix stream arg to fwrite.
470         * symmisc.c (maintenance_check_symtabs): fix stream argument to
471         print_address_numeric.
472         
473 Wed Jan 13 19:33:16 1999  David Taylor  <taylor@texas.cygnus.com>
474
475         * breakpoint.c (insert_breakpoints): insert cast to eliminate
476         warning.
477
478 Wed Jan 13 14:59:02 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
479
480         * infrun.c (set/show scheduler-locking) New command.  Set a
481           mode bit that will control how GDB attempts to control thread
482           scheduling for step, continue, etc.  (resume): make use of
483           the schedule-locking mode.
484         * target.h (struct target_ops): new field to_has_thread_control.
485         * sol-thread.c: initialize target_ops to_has_thread_control.
486         * procfs.c: ditto.
487         * target.c: ditto.
488         * m3-nat.c: ditto.
489         * remote.c: ditto.
490         * hpux-thread.c: ditto.
491         * thread.c: cull duplicate prototypes.  Move prototypes to top.
492         * serial.c: indentation cleanup.
493         * breakpoint.c: add casts to eliminate compiler warnings.
494         
495 Tue Jan 12 17:00:00 1999  Edith Epstein  <eepstein@sophia.cygnus.com>
496
497         * inftarg.c (child_create_inferior): fixed HPUXHPPA specific
498           call to fork_inferior. The shell param is now NULL.
499
500 1999-01-12  Jason Molenda  (jsm@bugshack.cygnus.com)
501
502         * monitor.c (init_base_monitor_ops): Whitespace cleanup.
503         (_initialize_remote_monitors): Same.
504
505 1999-01-12  Jason Molenda  (jsm@bugshack.cygnus.com)
506
507         * monitor.c (init_monitor_ops): Initialize the monitor_ops
508         structure if it hasn't already been done.
509
510 Tue Jan 12 14:50:10 1999  Stan Shebs  <shebs@andros.cygnus.com>
511
512         * inftarg.c (child_ops): Don't initialize statically.
513         (init_child_ops): New function, fills in child_ops.
514         (_initialize_inftarg): Use it.
515         (child_post_attach): Declare extern.
516         (child_wait): Fix ambiguous parens.
517         (child_attach_to_process): Remove unused local wstatus.
518         (child_insert_fork_catchpoint, child_remove_fork_catchpoint,
519         child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
520         child_has_forked, child_insert_exec_catchpoint,
521         child_remove_exec_catchpoint): Return a value.
522
523 Mon Jan 11 16:43:44 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
524
525         * remote.c (remote_wait): Add inferior_pid to thread list only
526         if it is not already there.
527
528 1999-01-11  Jason Molenda  (jsm@bugshack.cygnus.com)
529
530         * scm-tags.h: Update FSF's address on copyright notice.
531         * ser-e7kpc.c: Same.
532         * gnu-nat.h: Same.
533
534 Mon Jan 11 13:45:57 1999  Stu Grossman  <grossman@babylon-5.cygnus.com>
535
536         * dwarf2read.c (dump_die):  Change stderr to gdb_stderr.
537         * expprint.c (print_subexp):  fprintf => fprintf_unfiltered.
538         * jv-typeprint.c (java_type_print_base):  fputs => fputs_filtered.
539         * stack.c (struct function_bounds):  Remove superfluous `typedef'.
540         * symfile.c (list_overlays_command):  stdout => gdb_stdout.
541         * symmisc.c (maintenance_check_symtabs):  stdout => gdb_stdout.
542         * utils.c (print_spaces):  Make more efficient.
543         
544 Mon Jan 11 13:55:51 1999  David Taylor  <taylor@texas.cygnus.com>
545
546         * utils (print_spaces): fix arg to strcat; fix formatting.
547
548 Fri Jan  8 11:57:24 1999  Stan Shebs  <shebs@andros.cygnus.com>
549
550         * exec.c (exec_ops): Don't initialize statically.
551         (init_exec_ops): New function, fills in exec_ops.
552         (_initialize_exec): Use it.
553
554 Thu Jan  7 17:50:15 EST 1999  Zdenek Radouch   (radouch@cygnus.com)
555
556         Beta FR30 port.
557         * fr30-tdep.c
558         * config/fr30/tm-fr30.h
559         
560 Wed Jan  6 12:28:35 1999  David Taylor  <taylor@texas.cygnus.com>
561
562         * configure.in: Add an --enable-tui argument.  Construct
563         tui/Makefile from tui/Makefile.in.  Use AM_PROG_CC_STDC.  If we
564         have the GUI, then we need this to process libgui.h.
565         (ENABLE_CFLAGS): define and export BUILD_TUI.
566         (AC_CHECK_HEADERS): Add check for term.h.
567         
568         * configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs.
569
570         * config.in, configure : regenerated.
571
572         * Makefile.in: Allow the TUI code to be conditionally enabled.
573         (TUI_LIBRARY): New variable, value are set by the configuration
574         script.  Set to the empty string when the TUI isn't enabled.
575         (gdb$(GDBEXT)): Use those, instead of referring to all-tui and
576         tui/libtui.a directly.
577         (BUILD_TUI): build the tui -- only when configured with
578         --enable-tui.
579         (YLWRAP): use ylwrap to avoid problems on systems w/o bison.
580         (gdb$(EXEEXT)): make it dependent on BUILD_TUI.
581         (all-tui): remove dependency from phony target.
582         (c-exp.tab.c): use ylwrap instead of bison.
583         (jv-exp.tab.c): ditto.
584         (f-exp.tab.c): ditto.
585         (m2-exp.tab.c): ditto.
586         (ALLDEPFILES): add somread.c, hp-psymtab-read.c, hp-symtab-read.c.
587         (SFILES): remove the above files
588         (COMMON_OBS): remove somread.o
589         (SFILES): Add the tui files to this, so they get included in etags
590         tables.
591         (gdb$(EXEEXT)): Add all-tui to the list of dependencies, and add
592         tui/libtui.a to the link list.
593         (all-tui): New rule, which does a recursive make in the tui
594         subdir.
595         (tui/libtui.a): When recursing, pass down ${FLAGS_TO_PASS}.  And
596         don't echo the make command.  This is closer to what the other
597         recursions do.
598         (HFILES_NO_SRCDIR): add hpread.h
599         (COMMON_OBS): add hp-psymtab-read.o, hp-symtab-read.o
600         (SFILES): add hp-psymtab-read.c, hp-symtab-read.c add rules for
601         the new files.  Remove hpread.c, hpread.o
602         (gdb$(EXEEXT)): Depend on the actual tui library, not on a
603         fictitious target.  Since the fictitious target never existed,
604         make would always relink.
605         (tui/libtui.a): Always recurse to make sure the library is up to
606         date.
607
608 Wed Jan  6 12:05:12 1999  Stan Shebs  <shebs@andros.cygnus.com>
609
610         * remote.c: Pacify --enable-build-warnings, reformat code
611         to conform to standards, fix spelling errors.
612         (ishex, stubhex, record_currthread, etc): Declare.
613         (ishex, stubhex): Declare char arg as int.
614         (pack_string): Comment out, never used but possibly useful.
615         (threadref_to_int, remote_get_threadinfo, etc): Make static.
616
617 Wed Jan  6 11:43:32 1999  David Taylor  <taylor@texas.cygnus.com>
618
619         The following changes were made by Elena Zannoni
620         <ezannoni@cygnus.com> and Edith Epstein <eepstein@cygnus.com> as
621         part of a project to merge in changes made by HP.
622
623         * c-exp.y: use external flag hp_som_som_object_present to decide
624         whether code was compiled by HP's compilers.  Add two new C++
625         tokens for true and false.
626         (yylex): check for template name is done differently for the
627         HP/aCC compiler case.  Change some of the template processing code
628         for handling HP aCC templates.  Handle true and false tokens.
629         
630 Tue Jan  5 11:13:36 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
631
632         * remote.c (record_curthread): Must not modify inferior_pid when
633         called from wait_for_inferior.  Instead, if a new thread-id is
634         detected, call add_thread.
635         (MAGIC_NULL_PID): new macro, use instead of the magic number
636         "42000".
637         (remote_find_new_threads): if inferior_pid is unknown, get and use
638         the current thread id.
639         (remote_start_remote): on connecting, attempt to get the current
640         thread id for inferior_pid.
641         (remote_resume): If pid == -1, then resume any-thread (not the
642         current thread specifically).  Also some cosmetic fixups.
643         
644         * thread.c (info_threads_command): don't initialize current_pid 
645         until after call to FIND_NEW_THREADS (which may change inferior_pid).
646         Also some cosmetic fixups.
647         * infrun.c: cosmetic fixups and casts to avoid warnings.
648         * infcmd.c: cosmetic fixups, mainly long lines.
649         
650 Tue Jan  5 11:55:57 1999  David Taylor  <taylor@texas.cygnus.com>
651
652         * target.c (noprocess): terminate sentence with a period.
653         * breakpoint.c (catch_command_1): ditto.
654
655         * c-valprint.c (c_value_print): remove hack^2 from HP; it causes
656         testsuite losses with no real gain.
657
658         * inferior.h (START_INFERIOR_TRAPS_EXPECTED): restore, but only
659         if tm-*.h hasn't overridden default value.
660
661 1999-01-04  Jason Molenda  (jsm@bugshack.cygnus.com)
662
663         * configure.in: Fix whitespace indentation for --help.
664         * configure: Regenerated.
665
666 1999-01-04  Manuel Bouyer <bouyer@antioche.lip6.fr>
667
668         * main.c: Add --write command line option, document -w.
669         * gdb.1: Document --write.
670
671 1999-01-04  Jason Molenda  (jsm@bugshack.cygnus.com)
672
673         * configure.in: Require autoconf 2.12.1 or higher.
674         * doc/configure.in: Ditto.
675         * nlm/configure.in: Ditto.
676         * rdi-share/configure.in: Ditto.
677         * testsuite/configure.in: Ditto.
678         * doc/Makefile.in: Don't hardcode $(SHELL).
679         * nlm/Makefile.in: Ditto.
680         * rdi-share/Makefile.in: Ditto.
681         * testsuite/Makefile.in: Ditto.
682
683 Mon Jan  4 12:53:03 1999  Stan Shebs  <shebs@andros.cygnus.com>
684
685         * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded
686         inits of new fields, including ref to bogus field.
687         (vx_ops, vx_run_ops): Make static.
688
689 Mon Jan  4 15:05:29 1999  David Taylor  <taylor@texas.cygnus.com>
690
691         * inferior.h (START_INFERIOR_TRAPS_EXPECTED): delete,
692         already defined in tm.h.
693
694         * inftarg.c: change <sys/unistd.h> to <unistd.h> and
695         conditionalize its inclusion.
696         * infttrace.c: ditto.
697
698 For older changes see ChangeLog-98
699 \f
700 Local Variables:
701 mode: change-log
702 left-margin: 8
703 fill-column: 74
704 version-control: never
705 End: