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