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