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