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