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