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