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