9951ef101566192d741d9a60e54112eff81204cf
[binutils-gdb.git] / gdb / ChangeLog
1 Mon Jan 18 14:01:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
2
3 * remote-array.c (array_open): Don't use fprintf_filtered to send
4 data to the log file.
5
6 * remote-array.c (handle_load_dll): Change argument type to PTR so
7 that it is compatible with catch_errors.
8 * ocd.c (ocd_start_remote): Ditto.
9 * remote-sds.c (sds_start_remote): Ditto.
10
11 * win32-nat.c (win32_child_thread_alive): Namespace proof
12 child_thread_alive.
13 (init_child_ops): Update.
14
15 Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
16
17 * remote-rdi.c (arm_rdi_open): Set gdb_hostif.hostosarg and
18 gdb_hostif.dbgarg to NULL instead of stdout.
19 (voiddummy, myprint, mywritec): Use gdb_stdout instead of stdout.
20
21 Mon Jan 18 16:40:50 1999 Stan Shebs <shebs@andros.cygnus.com>
22
23 * ser-ocd.c (ocd_open): Handle Unix case gracefully.
24
25 * target.c (dummy_target): Don't initialize statically.
26 (init_dummy_target): New function, fills in dummy_target.
27 (initialize_targets): Use it.
28 * hpux-thread.c (hpux_thread_ops): Don't initialize statically.
29 (init_hpux_thread_ops): New function, fills in hpux_thread_ops.
30 (_initialize_hpux_thread): Use it.
31 * m3-nat.c (m3_ops): Don't initialize statically.
32 (init_m3_ops): New function, fills in m3_ops.
33 (_initialize_m3): Use it.
34
35 1999-01-18 Fernando Nasser <fnasser@totem.to.cygnus.com>
36
37 * sol-thread.c: delete compile time initialization of target_ops
38 (_initialize_sol_thread): initialize target_ops at run time.
39 * hpux-thread.c: added target_ops entry.
40 * m3-nat.c: ditto.
41
42 Mon Jan 18 15:19:13 1999 David Taylor <taylor@texas.cygnus.com>
43
44 * procfs.c (procfs_ops): delete compile time initialization.
45 (_initialize_procfs): initialize procfs_ops at run time.
46
47 Mon Jan 18 12:51:44 1999 Christopher Faylor <cgf@cygnus.com>
48
49 * configure.in: Ensure that -luser32 is always linked in
50 for cygwin build.
51 * configure: Regenerated.
52
53 Mon Jan 18 08:38:05 1999 Mark Alexander <marka@cygnus.com>
54
55 * values.c (value_virtual_fn_field): Clear the pointed-to
56 offset when casting to the base class.
57
58 Mon Jan 18 10:30:51 1999 David Taylor <taylor@texas.cygnus.com>
59
60 * remote-udi.c (init_udi_ops): change non-existant udi_run_ops to
61 udi_ops; delete NULL initializers.
62
63 Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
64
65 * serial.c (serial_close): gdb_fclose tages gdb_file** arg, not
66 gdb_file*.
67
68 * f-valprint.c, target.c, gdbarch.c: Pass gdb_stderr not stderr.
69
70 Mon Jan 18 10:46:12 1999 Andrew Cagney <cagney@b1.cygnus.com>
71
72 * stack.c (print_frame_info_base): Don't cast call to
73 catch_errors.
74 (print_args_stub): Change char* arg to PTR.
75 * symmisc.c (print_symbol): Ditto.
76 * top.c (quit_cover): Ditto.
77 * remote.c (remote_open_1, remote_start_remote): Ditto.
78 * infrun.c (normal_stop, hook_stop_stub, restore_selected_frame):
79 Ditto.
80
81 * stack.c (backtrace_command): Cast first arg of make_cleanup to
82 make_cleanup_func.
83 * remote.c (remote_kill): Cast putpkt arg to catch_errors_ftype.
84
85 Mon Jan 18 08:47:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
86
87 * defs.h (catch_errors_ftype): Define.
88 (catch_errors): Replace char* arg with PTR arg.
89 * top.c (catch_errors): Update
90
91 * breakpoint.c (bpstat_stop_status, bpstat_stop_status,
92 delete_breakpoint, breakpoint_re_set): Delete all casts in call to
93 catch_errors.
94 (breakpoint_cond_eval, watchpoint_check,
95 cover_target_enable_exception_callback, breakpoint_re_set_one):
96 Arg is PTR not char*.
97
98 * breakpoint.c (cover_target_enable_exception_callback): Change
99 type to int. Check for cast values of 0 and -1. Return a result!
100 (insert_breakpoints): Move declaration of SAL and ARGS to where
101 they are used.
102
103 1999-01-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
104
105 * remote.c (remote_query): new function - creates proper interface
106 to the remote protocol "q" command.
107
108 Fri Jan 15 17:11:48 EST 1999 Zdenek Radouch (radouch@cygnus.com)
109
110 * config/fr30/tm-fr30.h: Changed ABI to match GCC change
111 (always use pointer for structs passed by value).
112
113 1999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
114
115 * target.h: added entry for target queries (to_query)
116 target.c: ditto.
117
118 Thu Jan 14 18:29:17 1999 David Taylor <taylor@texas.cygnus.com>
119
120 start-sanitize-carp start-sanitize-vr4xxx
121 * mips-tdep.c (mips_gdbarch_init): fix stream arg in
122 fprintf_unfiltered calls.
123 end-sanitize-carp end-sanitize-vr4xxx
124 * remote-mm.c (mm_wait): fix stream arg to gdb_flush.
125 * remote-udi.c (udi_wait): fix stream arg to fwrite.
126 * symmisc.c (maintenance_check_symtabs): fix stream argument to
127 print_address_numeric.
128
129 Wed Jan 13 19:33:16 1999 David Taylor <taylor@texas.cygnus.com>
130
131 * breakpoint.c (insert_breakpoints): insert cast to eliminate
132 warning.
133
134 Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
135
136 * infrun.c (set/show scheduler-locking) New command. Set a
137 mode bit that will control how GDB attempts to control thread
138 scheduling for step, continue, etc. (resume): make use of
139 the schedule-locking mode.
140 * target.h (struct target_ops): new field to_has_thread_control.
141 * sol-thread.c: initialize target_ops to_has_thread_control.
142 * procfs.c: ditto.
143 * target.c: ditto.
144 * m3-nat.c: ditto.
145 * remote.c: ditto.
146 * hpux-thread.c: ditto.
147 * thread.c: cull duplicate prototypes. Move prototypes to top.
148 * serial.c: indentation cleanup.
149 * breakpoint.c: add casts to eliminate compiler warnings.
150
151 Tue Jan 12 17:00:00 1999 Edith Epstein <eepstein@sophia.cygnus.com>
152
153 * inftarg.c (child_create_inferior): fixed HPUXHPPA specific
154 call to fork_inferior. The shell param is now NULL.
155
156 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
157
158 * monitor.c (init_base_monitor_ops): Whitespace cleanup.
159 (_initialize_remote_monitors): Same.
160
161 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
162
163 * monitor.c (init_monitor_ops): Initialize the monitor_ops
164 structure if it hasn't already been done.
165
166 Tue Jan 12 14:50:10 1999 Stan Shebs <shebs@andros.cygnus.com>
167
168 * inftarg.c (child_ops): Don't initialize statically.
169 (init_child_ops): New function, fills in child_ops.
170 (_initialize_inftarg): Use it.
171 (child_post_attach): Declare extern.
172 (child_wait): Fix ambiguous parens.
173 (child_attach_to_process): Remove unused local wstatus.
174 (child_insert_fork_catchpoint, child_remove_fork_catchpoint,
175 child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
176 child_has_forked, child_insert_exec_catchpoint,
177 child_remove_exec_catchpoint): Return a value.
178
179 Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
180
181 * remote.c (remote_wait): Add inferior_pid to thread list only
182 if it is not already there.
183
184 1999-01-11 Jason Molenda (jsm@bugshack.cygnus.com)
185
186 * scm-tags.h: Update FSF's address on copyright notice.
187 * ser-e7kpc.c: Same.
188 * gnu-nat.h: Same.
189
190 Mon Jan 11 13:45:57 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
191
192 * dwarf2read.c (dump_die): Change stderr to gdb_stderr.
193 * expprint.c (print_subexp): fprintf => fprintf_unfiltered.
194 * jv-typeprint.c (java_type_print_base): fputs => fputs_filtered.
195 * stack.c (struct function_bounds): Remove superfluous `typedef'.
196 * symfile.c (list_overlays_command): stdout => gdb_stdout.
197 * symmisc.c (maintenance_check_symtabs): stdout => gdb_stdout.
198 * utils.c (print_spaces): Make more efficient.
199
200 Mon Jan 11 13:55:51 1999 David Taylor <taylor@texas.cygnus.com>
201
202 * utils (print_spaces): fix arg to strcat; fix formatting.
203
204 Fri Jan 8 11:57:24 1999 Stan Shebs <shebs@andros.cygnus.com>
205
206 * exec.c (exec_ops): Don't initialize statically.
207 (init_exec_ops): New function, fills in exec_ops.
208 (_initialize_exec): Use it.
209
210 Thu Jan 7 17:50:15 EST 1999 Zdenek Radouch (radouch@cygnus.com)
211
212 Beta FR30 port.
213 * fr30-tdep.c
214 * config/fr30/tm-fr30.h
215
216 Wed Jan 6 12:28:35 1999 David Taylor <taylor@texas.cygnus.com>
217
218 * configure.in: Add an --enable-tui argument. Construct
219 tui/Makefile from tui/Makefile.in. Use AM_PROG_CC_STDC. If we
220 have the GUI, then we need this to process libgui.h.
221 (ENABLE_CFLAGS): define and export BUILD_TUI.
222 (AC_CHECK_HEADERS): Add check for term.h.
223
224 * configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs.
225
226 * config.in, configure : regenerated.
227
228 * Makefile.in: Allow the TUI code to be conditionally enabled.
229 (TUI_LIBRARY): New variable, value are set by the configuration
230 script. Set to the empty string when the TUI isn't enabled.
231 (gdb$(GDBEXT)): Use those, instead of referring to all-tui and
232 tui/libtui.a directly.
233 (BUILD_TUI): build the tui -- only when configured with
234 --enable-tui.
235 (YLWRAP): use ylwrap to avoid problems on systems w/o bison.
236 (gdb$(EXEEXT)): make it dependent on BUILD_TUI.
237 (all-tui): remove dependency from phony target.
238 (c-exp.tab.c): use ylwrap instead of bison.
239 (jv-exp.tab.c): ditto.
240 (f-exp.tab.c): ditto.
241 (m2-exp.tab.c): ditto.
242 (ALLDEPFILES): add somread.c, hp-psymtab-read.c, hp-symtab-read.c.
243 (SFILES): remove the above files
244 (COMMON_OBS): remove somread.o
245 (SFILES): Add the tui files to this, so they get included in etags
246 tables.
247 (gdb$(EXEEXT)): Add all-tui to the list of dependencies, and add
248 tui/libtui.a to the link list.
249 (all-tui): New rule, which does a recursive make in the tui
250 subdir.
251 (tui/libtui.a): When recursing, pass down ${FLAGS_TO_PASS}. And
252 don't echo the make command. This is closer to what the other
253 recursions do.
254 (HFILES_NO_SRCDIR): add hpread.h
255 (COMMON_OBS): add hp-psymtab-read.o, hp-symtab-read.o
256 (SFILES): add hp-psymtab-read.c, hp-symtab-read.c add rules for
257 the new files. Remove hpread.c, hpread.o
258 (gdb$(EXEEXT)): Depend on the actual tui library, not on a
259 fictitious target. Since the fictitious target never existed,
260 make would always relink.
261 (tui/libtui.a): Always recurse to make sure the library is up to
262 date.
263
264 Wed Jan 6 12:05:12 1999 Stan Shebs <shebs@andros.cygnus.com>
265
266 * remote.c: Pacify --enable-build-warnings, reformat code
267 to conform to standards, fix spelling errors.
268 (ishex, stubhex, record_currthread, etc): Declare.
269 (ishex, stubhex): Declare char arg as int.
270 (pack_string): Comment out, never used but possibly useful.
271 (threadref_to_int, remote_get_threadinfo, etc): Make static.
272
273 Wed Jan 6 11:43:32 1999 David Taylor <taylor@texas.cygnus.com>
274
275 The following changes were made by Elena Zannoni
276 <ezannoni@cygnus.com> and Edith Epstein <eepstein@cygnus.com> as
277 part of a project to merge in changes made by HP.
278
279 * c-exp.y: use external flag hp_som_som_object_present to decide
280 whether code was compiled by HP's compilers. Add two new C++
281 tokens for true and false.
282 (yylex): check for template name is done differently for the
283 HP/aCC compiler case. Change some of the template processing code
284 for handling HP aCC templates. Handle true and false tokens.
285
286 Tue Jan 5 11:13:36 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
287
288 * remote.c (record_curthread): Must not modify inferior_pid when
289 called from wait_for_inferior. Instead, if a new thread-id is
290 detected, call add_thread.
291 (MAGIC_NULL_PID): new macro, use instead of the magic number
292 "42000".
293 (remote_find_new_threads): if inferior_pid is unknown, get and use
294 the current thread id.
295 (remote_start_remote): on connecting, attempt to get the current
296 thread id for inferior_pid.
297 (remote_resume): If pid == -1, then resume any-thread (not the
298 current thread specifically). Also some cosmetic fixups.
299
300 * thread.c (info_threads_command): don't initialize current_pid
301 until after call to FIND_NEW_THREADS (which may change inferior_pid).
302 Also some cosmetic fixups.
303 * infrun.c: cosmetic fixups and casts to avoid warnings.
304 * infcmd.c: cosmetic fixups, mainly long lines.
305
306 Tue Jan 5 11:55:57 1999 David Taylor <taylor@texas.cygnus.com>
307
308 * target.c (noprocess): terminate sentence with a period.
309 * breakpoint.c (catch_command_1): ditto.
310
311 * c-valprint.c (c_value_print): remove hack^2 from HP; it causes
312 testsuite losses with no real gain.
313
314 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): restore, but only
315 if tm-*.h hasn't overridden default value.
316
317 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
318
319 * configure.in: Fix whitespace indentation for --help.
320 * configure: Regenerated.
321
322 1999-01-04 Manuel Bouyer <bouyer@antioche.lip6.fr>
323
324 * main.c: Add --write command line option, document -w.
325 * gdb.1: Document --write.
326
327 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
328
329 * configure.in: Require autoconf 2.12.1 or higher.
330 * doc/configure.in: Ditto.
331 * nlm/configure.in: Ditto.
332 * rdi-share/configure.in: Ditto.
333 * testsuite/configure.in: Ditto.
334 * doc/Makefile.in: Don't hardcode $(SHELL).
335 * nlm/Makefile.in: Ditto.
336 * rdi-share/Makefile.in: Ditto.
337 * testsuite/Makefile.in: Ditto.
338
339 Mon Jan 4 12:53:03 1999 Stan Shebs <shebs@andros.cygnus.com>
340
341 * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded
342 inits of new fields, including ref to bogus field.
343 (vx_ops, vx_run_ops): Make static.
344
345 Mon Jan 4 15:05:29 1999 David Taylor <taylor@texas.cygnus.com>
346
347 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): delete,
348 already defined in tm.h.
349
350 * inftarg.c: change <sys/unistd.h> to <unistd.h> and
351 conditionalize its inclusion.
352 * infttrace.c: ditto.
353
354 For older changes see ChangeLog-98
355 \f
356 Local Variables:
357 mode: change-log
358 left-margin: 8
359 fill-column: 74
360 version-control: never
361 End: