From J.T. Conklin <jtc@redbacknetworks.com>:
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
51aa361e
SS
1Thu Jan 21 17:51:51 1999 Stan Shebs <shebs@andros.cygnus.com>
2
3 * procfs.c (init_procfs_ops): New function, fills in procfs_ops,
4 init only nonzero fields, leave to_require_attach and
5 to_require_detach empty, not needed for /proc systems yet.
6 (_initialize_procfs): Call init_procfs_ops.
7
b58ed18b
SS
8 From J.T. Conklin <jtc@redbacknetworks.com>:
9 * top.c (init_main): Fix tipo in description of the remotetimeout
10 variable.
11 * breakpoint.c (bpstat_stop_status): Handle systems where
12 DECR_PC_AFTER_BREAK != DECR_PC_AFTER_HW_BREAK.
13
f5dce6c6
MA
14Thu Jan 21 17:25:46 1999 Mark Alexander <marka@cygnus.com>
15
16 * mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
17 to fill in mon960_cmds structure properly.
18
19Wed Jan 20 17:53:22 1999 Stan Shebs <shebs@andros.cygnus.com>
20
21 * remote-sds.c (sds_ops): Define only once.
22 (init_sds_ops, sds_command, _initialize_remote_sds): Declare.
23 (init_sds_ops): Init only non-zero fields.
24
7363ff90
MA
25Wed Jan 20 15:45:15 1999 Mark Alexander <marka@cygnus.com>
26
27 * h8300-tdep.c (original_register_names, h8300h_register_names,
28 h8300_register_names): Define new variables.
29 (set_register_names): New function to set register names based on
30 current CPU type.
31 (h8300_command, h8300h_command, h8300s_command): Call
32 set_register_names.
33 * config/h8300/tm-h8300.h (h8300_register_names): Declare.
34 (REGISTER_NAME): Define to refer to h8300_register_names.
35
361999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>
37
38 * sol-thread.c abug-rom.c cpu32bug-rom.c dbug-rom.c m32r-rom.c
39 mac-nat.c mon960-rom.c op50-rom.c ppc-bdm.c remote-adapt.c
40 remote-array.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c
41 remote-est.c remote-hms.c remote-mm.c remote-nindy.c remote-nrom.c
42 remote-os9k.c remote-rdp.c remote-sds.c remote-sim.c remote-st.c
43 remote-udi.c rom68k-rom.c sh3-rom.c sparcl-tdep.c sparclet-rom.c
44 v850ice.c win32-nat.c: cosmetic changes to conform to coding
45 standards.
46
d21802cd
JB
471999-01-19 Jim Blandy <jimb@zwingli.cygnus.com>
48
49 Use aclocal to generate GDB's aclocal.m4 script.
50 * acinclude.m4: New file, containing the hand-written local macro
51 definitions that used to be in aclocal.m4. Don't sinclude
52 ../bfd/aclocal.m4 any more; running aclocal in this directory will
53 get us the definitions we need. HOWEVER: Do sinclude
54 ../bfd/acinclude.m4, because we need the definition of
55 BFD_NEED_DECLARATION.
56 * aclocal.m4: Regenerated by aclocal.
57 * configure: Regenerated by autoconf.
58
d69cff28
DT
59Tue Jan 19 10:27:23 1999 David Taylor <taylor@texas.cygnus.com>
60
5337bd55
DT
61 * breakpoint.c (disable_breakpoints_in_shlibs): new parameter,
62 silent, controls whether to print message about removal of shared
63 library breakpoints.
64 * breakpoint.h (disable_breakpoints_in_shlibs): decl updated.
65 * irix5-nat.c (clear_solib): call disable_breakpoints_in_shlibs.
66 * osfsolib.c (clear_solib): ditto.
67 * solib.c (clear_solib): ditto.
68 * somsolib.c (som_solib_restart): update call to
69 disable_breakpoints_in_shlibs.
70
d69cff28
DT
71 * target.h (child_post_attach): only declare if CHILD_POST_ATTACH
72 is define.
73
3b067270
AC
74Tue Jan 19 18:07:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
75
76 * corelow.c (solib_add_stub): Ditto.
77 (core_file_to_sym_file): Cast make_cleanup parameter.
78
79 * solib.c (symbol_add_stub, solib_map_sections): Change argument
80 to PTR insted of a char*. Matches catch_errors interface.
81
bc8bd256
AC
82Mon Jan 18 14:01:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
83
84 * remote-array.c (array_open): Don't use fprintf_filtered to send
85 data to the log file.
86
87 * remote-array.c (handle_load_dll): Change argument type to PTR so
88 that it is compatible with catch_errors.
89 * ocd.c (ocd_start_remote): Ditto.
90 * remote-sds.c (sds_start_remote): Ditto.
91
92 * win32-nat.c (win32_child_thread_alive): Namespace proof
93 child_thread_alive.
94 (init_child_ops): Update.
95
96Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
97
98 * remote-rdi.c (arm_rdi_open): Set gdb_hostif.hostosarg and
99 gdb_hostif.dbgarg to NULL instead of stdout.
100 (voiddummy, myprint, mywritec): Use gdb_stdout instead of stdout.
101
8a7dfaa0
SS
102Mon Jan 18 16:40:50 1999 Stan Shebs <shebs@andros.cygnus.com>
103
ab0e2218
SS
104 * ser-ocd.c (ocd_open): Handle Unix case gracefully.
105
8a7dfaa0
SS
106 * target.c (dummy_target): Don't initialize statically.
107 (init_dummy_target): New function, fills in dummy_target.
108 (initialize_targets): Use it.
109 * hpux-thread.c (hpux_thread_ops): Don't initialize statically.
110 (init_hpux_thread_ops): New function, fills in hpux_thread_ops.
111 (_initialize_hpux_thread): Use it.
112 * m3-nat.c (m3_ops): Don't initialize statically.
113 (init_m3_ops): New function, fills in m3_ops.
114 (_initialize_m3): Use it.
115
49f47b00
FN
1161999-01-18 Fernando Nasser <fnasser@totem.to.cygnus.com>
117
118 * sol-thread.c: delete compile time initialization of target_ops
119 (_initialize_sol_thread): initialize target_ops at run time.
120 * hpux-thread.c: added target_ops entry.
121 * m3-nat.c: ditto.
122
63f8d5f5
DT
123Mon Jan 18 15:19:13 1999 David Taylor <taylor@texas.cygnus.com>
124
125 * procfs.c (procfs_ops): delete compile time initialization.
126 (_initialize_procfs): initialize procfs_ops at run time.
127
040bbbc2
CF
128Mon Jan 18 12:51:44 1999 Christopher Faylor <cgf@cygnus.com>
129
130 * configure.in: Ensure that -luser32 is always linked in
131 for cygwin build.
132 * configure: Regenerated.
133
a396d2bd
MA
134Mon Jan 18 08:38:05 1999 Mark Alexander <marka@cygnus.com>
135
136 * values.c (value_virtual_fn_field): Clear the pointed-to
137 offset when casting to the base class.
138
f9a5267c
DT
139Mon Jan 18 10:30:51 1999 David Taylor <taylor@texas.cygnus.com>
140
141 * remote-udi.c (init_udi_ops): change non-existant udi_run_ops to
142 udi_ops; delete NULL initializers.
143
c634a08f
AC
144Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
145
146 * serial.c (serial_close): gdb_fclose tages gdb_file** arg, not
147 gdb_file*.
148
149 * f-valprint.c, target.c, gdbarch.c: Pass gdb_stderr not stderr.
150
8bdec905
AC
151Mon Jan 18 10:46:12 1999 Andrew Cagney <cagney@b1.cygnus.com>
152
153 * stack.c (print_frame_info_base): Don't cast call to
154 catch_errors.
155 (print_args_stub): Change char* arg to PTR.
156 * symmisc.c (print_symbol): Ditto.
157 * top.c (quit_cover): Ditto.
158 * remote.c (remote_open_1, remote_start_remote): Ditto.
159 * infrun.c (normal_stop, hook_stop_stub, restore_selected_frame):
160 Ditto.
161
162 * stack.c (backtrace_command): Cast first arg of make_cleanup to
163 make_cleanup_func.
164 * remote.c (remote_kill): Cast putpkt arg to catch_errors_ftype.
165
6e45c399
AC
166Mon Jan 18 08:47:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
167
168 * defs.h (catch_errors_ftype): Define.
169 (catch_errors): Replace char* arg with PTR arg.
170 * top.c (catch_errors): Update
171
172 * breakpoint.c (bpstat_stop_status, bpstat_stop_status,
173 delete_breakpoint, breakpoint_re_set): Delete all casts in call to
174 catch_errors.
175 (breakpoint_cond_eval, watchpoint_check,
176 cover_target_enable_exception_callback, breakpoint_re_set_one):
177 Arg is PTR not char*.
178
179 * breakpoint.c (cover_target_enable_exception_callback): Change
180 type to int. Check for cast values of 0 and -1. Return a result!
181 (insert_breakpoints): Move declaration of SAL and ARGS to where
182 they are used.
183
2bef6075
FN
1841999-01-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
185
186 * remote.c (remote_query): new function - creates proper interface
187 to the remote protocol "q" command.
517b4989
ZR
188
189Fri Jan 15 17:11:48 EST 1999 Zdenek Radouch (radouch@cygnus.com)
190
191 * config/fr30/tm-fr30.h: Changed ABI to match GCC change
192 (always use pointer for structs passed by value).
193
7269d43e
FN
1941999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
195
196 * target.h: added entry for target queries (to_query)
197 target.c: ditto.
198
1206c659
DT
199Thu Jan 14 18:29:17 1999 David Taylor <taylor@texas.cygnus.com>
200
201start-sanitize-carp start-sanitize-vr4xxx
202 * mips-tdep.c (mips_gdbarch_init): fix stream arg in
203 fprintf_unfiltered calls.
204end-sanitize-carp end-sanitize-vr4xxx
205 * remote-mm.c (mm_wait): fix stream arg to gdb_flush.
206 * remote-udi.c (udi_wait): fix stream arg to fwrite.
207 * symmisc.c (maintenance_check_symtabs): fix stream argument to
208 print_address_numeric.
209
320d5bd8
DT
210Wed Jan 13 19:33:16 1999 David Taylor <taylor@texas.cygnus.com>
211
212 * breakpoint.c (insert_breakpoints): insert cast to eliminate
213 warning.
214
dab43dfd
MS
215Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
216
217 * infrun.c (set/show scheduler-locking) New command. Set a
218 mode bit that will control how GDB attempts to control thread
219 scheduling for step, continue, etc. (resume): make use of
220 the schedule-locking mode.
221 * target.h (struct target_ops): new field to_has_thread_control.
222 * sol-thread.c: initialize target_ops to_has_thread_control.
223 * procfs.c: ditto.
224 * target.c: ditto.
225 * m3-nat.c: ditto.
226 * remote.c: ditto.
227 * hpux-thread.c: ditto.
228 * thread.c: cull duplicate prototypes. Move prototypes to top.
229 * serial.c: indentation cleanup.
230 * breakpoint.c: add casts to eliminate compiler warnings.
231
9e309e83
DT
232Tue Jan 12 17:00:00 1999 Edith Epstein <eepstein@sophia.cygnus.com>
233
234 * inftarg.c (child_create_inferior): fixed HPUXHPPA specific
235 call to fork_inferior. The shell param is now NULL.
236
642c5be7
JM
2371999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
238
239 * monitor.c (init_base_monitor_ops): Whitespace cleanup.
240 (_initialize_remote_monitors): Same.
241
9d4010dc
JM
2421999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
243
244 * monitor.c (init_monitor_ops): Initialize the monitor_ops
245 structure if it hasn't already been done.
246
7110ccc1
SS
247Tue Jan 12 14:50:10 1999 Stan Shebs <shebs@andros.cygnus.com>
248
249 * inftarg.c (child_ops): Don't initialize statically.
250 (init_child_ops): New function, fills in child_ops.
251 (_initialize_inftarg): Use it.
252 (child_post_attach): Declare extern.
253 (child_wait): Fix ambiguous parens.
254 (child_attach_to_process): Remove unused local wstatus.
255 (child_insert_fork_catchpoint, child_remove_fork_catchpoint,
256 child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
257 child_has_forked, child_insert_exec_catchpoint,
258 child_remove_exec_catchpoint): Return a value.
259
98c5c192
MS
260Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
261
262 * remote.c (remote_wait): Add inferior_pid to thread list only
263 if it is not already there.
264
897ccbb0
JM
2651999-01-11 Jason Molenda (jsm@bugshack.cygnus.com)
266
267 * scm-tags.h: Update FSF's address on copyright notice.
268 * ser-e7kpc.c: Same.
269 * gnu-nat.h: Same.
270
4cffc916
SG
271Mon Jan 11 13:45:57 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
272
7110ccc1 273 * dwarf2read.c (dump_die): Change stderr to gdb_stderr.
4cffc916
SG
274 * expprint.c (print_subexp): fprintf => fprintf_unfiltered.
275 * jv-typeprint.c (java_type_print_base): fputs => fputs_filtered.
276 * stack.c (struct function_bounds): Remove superfluous `typedef'.
277 * symfile.c (list_overlays_command): stdout => gdb_stdout.
278 * symmisc.c (maintenance_check_symtabs): stdout => gdb_stdout.
279 * utils.c (print_spaces): Make more efficient.
280
776fb68d
DT
281Mon Jan 11 13:55:51 1999 David Taylor <taylor@texas.cygnus.com>
282
283 * utils (print_spaces): fix arg to strcat; fix formatting.
284
4d8f8e12
SS
285Fri Jan 8 11:57:24 1999 Stan Shebs <shebs@andros.cygnus.com>
286
287 * exec.c (exec_ops): Don't initialize statically.
288 (init_exec_ops): New function, fills in exec_ops.
289 (_initialize_exec): Use it.
1c310106
ZR
290
291Thu Jan 7 17:50:15 EST 1999 Zdenek Radouch (radouch@cygnus.com)
4d8f8e12 292
1c310106
ZR
293 Beta FR30 port.
294 * fr30-tdep.c
295 * config/fr30/tm-fr30.h
296
460845ab
DT
297Wed Jan 6 12:28:35 1999 David Taylor <taylor@texas.cygnus.com>
298
299 * configure.in: Add an --enable-tui argument. Construct
300 tui/Makefile from tui/Makefile.in. Use AM_PROG_CC_STDC. If we
301 have the GUI, then we need this to process libgui.h.
302 (ENABLE_CFLAGS): define and export BUILD_TUI.
303 (AC_CHECK_HEADERS): Add check for term.h.
304
305 * configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs.
306
307 * config.in, configure : regenerated.
308
309 * Makefile.in: Allow the TUI code to be conditionally enabled.
310 (TUI_LIBRARY): New variable, value are set by the configuration
311 script. Set to the empty string when the TUI isn't enabled.
312 (gdb$(GDBEXT)): Use those, instead of referring to all-tui and
313 tui/libtui.a directly.
314 (BUILD_TUI): build the tui -- only when configured with
315 --enable-tui.
316 (YLWRAP): use ylwrap to avoid problems on systems w/o bison.
317 (gdb$(EXEEXT)): make it dependent on BUILD_TUI.
318 (all-tui): remove dependency from phony target.
319 (c-exp.tab.c): use ylwrap instead of bison.
320 (jv-exp.tab.c): ditto.
321 (f-exp.tab.c): ditto.
322 (m2-exp.tab.c): ditto.
323 (ALLDEPFILES): add somread.c, hp-psymtab-read.c, hp-symtab-read.c.
324 (SFILES): remove the above files
325 (COMMON_OBS): remove somread.o
326 (SFILES): Add the tui files to this, so they get included in etags
327 tables.
328 (gdb$(EXEEXT)): Add all-tui to the list of dependencies, and add
329 tui/libtui.a to the link list.
330 (all-tui): New rule, which does a recursive make in the tui
331 subdir.
332 (tui/libtui.a): When recursing, pass down ${FLAGS_TO_PASS}. And
333 don't echo the make command. This is closer to what the other
334 recursions do.
335 (HFILES_NO_SRCDIR): add hpread.h
336 (COMMON_OBS): add hp-psymtab-read.o, hp-symtab-read.o
337 (SFILES): add hp-psymtab-read.c, hp-symtab-read.c add rules for
338 the new files. Remove hpread.c, hpread.o
339 (gdb$(EXEEXT)): Depend on the actual tui library, not on a
340 fictitious target. Since the fictitious target never existed,
341 make would always relink.
342 (tui/libtui.a): Always recurse to make sure the library is up to
343 date.
344
7517f04b
SS
345Wed Jan 6 12:05:12 1999 Stan Shebs <shebs@andros.cygnus.com>
346
347 * remote.c: Pacify --enable-build-warnings, reformat code
348 to conform to standards, fix spelling errors.
349 (ishex, stubhex, record_currthread, etc): Declare.
350 (ishex, stubhex): Declare char arg as int.
351 (pack_string): Comment out, never used but possibly useful.
352 (threadref_to_int, remote_get_threadinfo, etc): Make static.
353
34733701
DT
354Wed Jan 6 11:43:32 1999 David Taylor <taylor@texas.cygnus.com>
355
356 The following changes were made by Elena Zannoni
357 <ezannoni@cygnus.com> and Edith Epstein <eepstein@cygnus.com> as
358 part of a project to merge in changes made by HP.
359
360 * c-exp.y: use external flag hp_som_som_object_present to decide
361 whether code was compiled by HP's compilers. Add two new C++
362 tokens for true and false.
363 (yylex): check for template name is done differently for the
364 HP/aCC compiler case. Change some of the template processing code
365 for handling HP aCC templates. Handle true and false tokens.
366
b53a1514
MS
367Tue Jan 5 11:13:36 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
368
369 * remote.c (record_curthread): Must not modify inferior_pid when
7517f04b
SS
370 called from wait_for_inferior. Instead, if a new thread-id is
371 detected, call add_thread.
372 (MAGIC_NULL_PID): new macro, use instead of the magic number
373 "42000".
374 (remote_find_new_threads): if inferior_pid is unknown, get and use
375 the current thread id.
b53a1514 376 (remote_start_remote): on connecting, attempt to get the current
7517f04b
SS
377 thread id for inferior_pid.
378 (remote_resume): If pid == -1, then resume any-thread (not the
379 current thread specifically). Also some cosmetic fixups.
b53a1514
MS
380
381 * thread.c (info_threads_command): don't initialize current_pid
382 until after call to FIND_NEW_THREADS (which may change inferior_pid).
383 Also some cosmetic fixups.
384 * infrun.c: cosmetic fixups and casts to avoid warnings.
385 * infcmd.c: cosmetic fixups, mainly long lines.
386
2819d3d6
DT
387Tue Jan 5 11:55:57 1999 David Taylor <taylor@texas.cygnus.com>
388
49082556
DT
389 * target.c (noprocess): terminate sentence with a period.
390 * breakpoint.c (catch_command_1): ditto.
391
eceede31
DT
392 * c-valprint.c (c_value_print): remove hack^2 from HP; it causes
393 testsuite losses with no real gain.
394
2819d3d6
DT
395 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): restore, but only
396 if tm-*.h hasn't overridden default value.
397
d951f9e4
JM
3981999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
399
400 * configure.in: Fix whitespace indentation for --help.
401 * configure: Regenerated.
402
d7f71863
JM
4031999-01-04 Manuel Bouyer <bouyer@antioche.lip6.fr>
404
405 * main.c: Add --write command line option, document -w.
406 * gdb.1: Document --write.
407
f240337a
JM
4081999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
409
410 * configure.in: Require autoconf 2.12.1 or higher.
411 * doc/configure.in: Ditto.
412 * nlm/configure.in: Ditto.
413 * rdi-share/configure.in: Ditto.
414 * testsuite/configure.in: Ditto.
415 * doc/Makefile.in: Don't hardcode $(SHELL).
416 * nlm/Makefile.in: Ditto.
417 * rdi-share/Makefile.in: Ditto.
418 * testsuite/Makefile.in: Ditto.
419
64aa82eb
SS
420Mon Jan 4 12:53:03 1999 Stan Shebs <shebs@andros.cygnus.com>
421
422 * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded
423 inits of new fields, including ref to bogus field.
424 (vx_ops, vx_run_ops): Make static.
425
3e1d3d67
DT
426Mon Jan 4 15:05:29 1999 David Taylor <taylor@texas.cygnus.com>
427
97bff53b
DT
428 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): delete,
429 already defined in tm.h.
430
3e1d3d67
DT
431 * inftarg.c: change <sys/unistd.h> to <unistd.h> and
432 conditionalize its inclusion.
433 * infttrace.c: ditto.
434
73ec6020 435For older changes see ChangeLog-98
bd5635a1
RP
436\f
437Local Variables:
55d3002f 438mode: change-log
bd5635a1
RP
439left-margin: 8
440fill-column: 74
441version-control: never
442End:
This page took 0.517747 seconds and 4 git commands to generate.