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