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