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