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