* gmon.h, alpha.c, vax.c: Remove #if 0'd chunks.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
30adeb3a
MK
12005-01-20 Mark Kettenis <kettenis@gnu.org>
2
3 * acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
4 (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
5 * configure.ac: Remove checks for HP-UX save_state structure.
6 * configure: Regenerated.
7
e06e2353
AC
82005-01-19 Andrew Cagney <cagney@gnu.org>
9
10 * utils.c (quit): Simplify, call fatal.
11 * exceptions.c: Include "serial.h"
12 (print_flush): Mimic flush code found in utils.c:quit.
13 * Makefile.in: Update dependencies.
14
1c44323f
JB
152005-01-19 Jim Blandy <jimb@redhat.com>
16
065a1afc
JB
17 * configure.tgt: Set build_rdi_share to "yes" on those targets
18 that use that debugging protocol.
19 Set build_nlm to yes to build NLM stub for Netware targets.
20 * configure.ac: If build_rdi_share is "yes", then configure the
21 rdi-share subdirectory.
22 If build_nlm is "yes", the configure the "nlm" subdirectory.
23 * configure: Regenerated.
24
1c44323f
JB
25 * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
26 autoconf 2.59 and automake 1.9.3.
27
8a9de0e4
AC
282005-01-19 Andrew Cagney <cagney@gnu.org>
29
315a522e
AC
30 * exceptions.h (deprecated_throw_reason): Rename throw_reason.
31 * exceptions.c (deprecated_throw_reason): Rename throw_reason.
32 * utils.c (internal_verror, quit): Update.
33 * remote-sds.c (interrupt_query): Update.
34 * remote-mips.c (mips_error, mips_kill): Update.
35 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
36 * remote.c (interrupt_query): Update.
37 * ocd.c (interrupt_query): Update.
38 * nto-procfs.c (interrupt_query): Update.
39 * monitor.c (monitor_interrupt_query): Update.
40 * breakpoint.c (break_command_1): Update.
41
8a9de0e4
AC
42 * infrun.c: (resume, proceed, wait_for_inferior)
43 (handle_inferior_event, stop_stepping)
44 (prepare_to_wait): Write debug output to gdb_stdlog.
45
53283f86
MK
462005-01-19 Mark Kettenis <kettenis@gnu.org>
47
48 * inf-ptrace.c (inf_ptrace_prepare_to_store)
49 (inf_ptrace_post_startup_inferior)
50 (inf_ptrace_acknowledge_created_inferior)
51 (inf_ptrace_insert_fork_catchpoint)
52 (inf_ptrace_remove_fork_catchpoint)
53 (inf_ptrace_insert_vfork_catchpoint):
54 (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
55 (inf_ptrace_insert_exec_catchpoint)
56 (inf_ptrace_remove_exec_catchpoint): Remove functions.
57 (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
58 (inf_ptrace_target): Don't set to_prepare_to_store,
59 to_post_startup_inferior, to_acknowledge_created_inferior,
60 to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
61 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
62 to_follow_fork, to_insert_exec_catchpoint,
63 to_remove_exec_catchpoint.
64
9ee907e0
AC
652005-01-18 Andrew Cagney <cagney@gnu.org>
66
fa113d1a
AC
67 * target.h (struct target_ops): Change return type of
68 to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
69 to_insert_exec_catchpoint to void.
70 (child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
71 (child_insert_exec_catchpoint): Change return type to void.
72 * target.c (update_current_target): Update.
73 (debug_to_insert_fork_catchpoint)
74 (debug_to_insert_vfork_catchpoint)
75 (debug_to_insert_exec_catchpoint): Update.
76 * inf-child.c (inf_child_insert_fork_catchpoint)
77 (inf_child_insert_vfork_catchpoint)
78 (inf_child_insert_exec_catchpoint): Update.
79 * breakpoint.c (insert_catchpoint): Update, do not throw an error.
80 * linux-nat.c (child_insert_fork_catchpoint)
81 (child_insert_vfork_catchpoint)
82 (child_insert_exec_catchpoint): Update.
83 * inftarg.c (child_insert_fork_catchpoint)
84 (child_insert_vfork_catchpoint,)
85 (child_insert_exec_catchpoint): Update.
86
9ee907e0
AC
87 * remote.c (remote_open_1): Use throw_exception.
88
295093a4
MS
892005-01-17 Michael Snyder <msnyder@redhat.com>
90
91 * mips-linux-tdep.c: Whitespace tweaks.
92
4bcff7eb
CV
932005-01-17 Corinna Vinschen <vinschen@redhat.com>
94
95 * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
96
637537d0
AC
972005-01-17 Andrew Cagney <cagney@gnu.org>
98
99 * top.h (source_error, source_pre_error): Delete declaration.
100 * cli/cli-script.c (source_error_allocated, source_error): Delete.
101 (script_from_file, source_cleanup_lines): Do not manipulate
102 source_error_allocated, error_pre_print and source_error.
103 (struct source_cleanup_lines_args): Delete fields old_pre_error,
104 and old_error_pre_print.
105 * top.c (source_error_allocated, source_error)
106 (source_pre_error): Delete.
107 (command_line_input): Do not set error_pre_print.
108 * event-top.c (command_line_handler): Do not set error_pre_print.
109
12b21d12
JT
1102005-01-16 Jason Thorpe <thorpej@netbsd.org>
111
112 * MAINTAINERS: Update my email address.
113
1c02b2a5
MK
1142005-01-16 Mark Kettenis <kettenis@gnu.org>
115
c401b55a
MK
116 * configure.ac: Provide prerequisite headers when checking
117 <term.h>.
118 * configure: Regenerate.
119
1c02b2a5
MK
120 * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
121 and "bsd-uthread.h".
122 (amd64fbsd_jmp_buf_reg_offset): New variable.
123 (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
124 functions.
125 (amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
126 * i386fbsd-tdep.c: Fix typo.
127 * Makefile.in (amd64fbsd-tdep.o): Update dependencies.
128 * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
129
17d92a02
AC
1302005-01-16 Andrew Cagney <cagney@gnu.org>
131
132 * cli/cli-script.c: Include "exceptions.h".
133 (struct wrapped_read_command_file_args): Define.
134 (wrapped_read_command_file): New function.
135 (script_from_file): Replace direct call to read_command_file by
136 one wrapped by an exception handler.
137 * exceptions.c (throw_it): Free the old message after creating the
138 new.
139 * Makefile.in: Update dependencies.
140
80ad1639
MK
1412005-01-16 Mark Kettenis <kettenis@gnu.org>
142
ae036357
MK
143 * sparc64fbsd-tdep.c: Update copyright year.
144 (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
145 functions.
146 (sparc64fbsd_init_abi): Create register sets with collect
147 functions.
148
ca5807d9
MK
149 * sparc64fbsd-nat.c: Include "fbsd-nat.h".
150 (_initialize_sparc64fbsd_nat): Add some extra features to the
151 generic SPARC target.
152 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
153 * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
154 (NAT_FILE): Set to solib.h.
155 * config/sparc/nm-fbsd.h: Remove file.
156
c4f2d4d7
MK
157 * sparc64-tdep.c (sparc64_store_arguments): Fix typo.
158
80ad1639
MK
159 * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
160
6212a5e9
AC
1612005-01-16 Andrew Cagney <cagney@gnu.org>
162
163 * exceptions.c (struct catcher): Delete saved_error_pre_print and
164 saved_quit_pre_print.
165 (catcher_init): Delete parameter errstring, do not override the
166 pre_print strings.
167 (catcher_pop): Do not restore the pre_print strings.
168 (catch_exception, catch_exceptions_with_msg, catch_errors)
169 (catch_command_errors): Update catch_init calls.
170
936df4b3
MK
1712005-01-16 Mark Kettenis <kettenis@gnu.org>
172
173 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
174 * sparc64fbsd-nat.c: Update copyright year. Include "target.h".
175
3af1e0e3
AC
1762005-01-15 Andrew Cagney <cagney@gnu.org>
177
85981d60
AC
178 * acinclude.m4: Include ../bfd/bfd.m4 instead of
179 ../bfd/acinclude.m4. Include ../gettext.m4.
180 * aclocal.m4, configure: Re-generate.
181
5a14cc1a
AC
182 * exceptions.c (do_captured_command)
183 (struct captured_command_args): Delete.
184 (catch_command_errors): Simplify by inlining call to catch_errors.
185
3af1e0e3
AC
186 * exceptions.c (struct catcher): Delete field print_message.
187 (catcher_init): Delete print_message parameter.
188 (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
189 (throw_it): Delete prefix parameter.
190 (throw_verror, throw_vfatal, throw_error): Update.
191
d0555901
AC
1922005-01-14 Andrew Cagney <cagney@gnu.org>
193
e48f5bee
AC
194 * exceptions.c (print_and_throw): Delete, replaced by throw_it.
195 (throw_reason): Leave the exception's message field blank.
196 (throw_it): New function, create the exception and throw it.
197 (throw_verror, throw_vfatal, throw_error): Call throw_it.
198 (print_any_exception): New function.
199 (catch_errors, catch_exceptions_with_msg): Call
200 print_any_exception.
201 (throw_exception): Move code calling annotate_error and
202 annotate_quit from here ...
203 (print_exception): ... to here.
204
c6da7a6d
AC
205 * exceptions.c (exception_fprintf, exception_print): Move printing
206 of \n from here ...
207 (print_exception): ... to here.
208 (print_flush): New function.
209 (exception_print, exception_fprintf): Replace duplicated flush and
210 wrap code with call to print_flush.
211 (print_and_throw): Simplify, by using xstrvprintf, print_flush,
212 and print_exception.
213 (do_write): Delete.
214
d0555901
AC
215 * remote-sds.c (interrupt_query): Call throw_reason instead of
216 throw_exception.
217 * remote-mips.c (mips_error, mips_kill): Ditto
218 * ocd.c (interrupt_query): Ditto.
219 * nto-procfs.c (interrupt_query): Ditto.
220 * monitor.c (monitor_interrupt_query): Ditto.
221
949df321
JJ
2222005-01-14 Jeff Johnston <jjohnstn@redhat.com>
223
224 * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
225
bc8332bb
AC
2262005-01-14 Andrew Cagney <cagney@gnu.org>
227
1c3c7ee7
AC
228 * exceptions.h (catch_exceptions): Delete errstring parameter.
229 (catch_exceptions_with_msg): Ditto.
230 * exceptions.c (catch_exceptions_with_msg): Update.
231 (catch_exceptions): Update.
232 * symfile-mem.c (add_vsyscall_page): Update.
233 * frame.c (get_current_frame): Update.
234 * wrapper.c (gdb_value_struct_elt): Update.
235 * exceptions.c (catch_exceptions): Update.
236 * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
237 * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
238 * remote-fileio.c (remote_fileio_request): Update.
239
9cbc821d
AC
240 * exceptions.h (exception_fprintf): Declare.
241 (exception_print): Drop pre_print parameter.
242 * mi/mi-main.c (mi_execute_command): Update exception_print call.
243 * cli/cli-interp.c (safe_execute_command): Update exception_print
244 call.
245 * remote.c (remote_open_1): Instead of passing an error prefix to
246 catch_exceptions, use catch_exceptions and exception_fprintf.
247 (remote_start_remote): Change return type to void.
248 * breakpoint.c (insert_bp_location): Instead of passing an error
249 prefix to catch_exceptions, use catch_exceptions and
250 exception_fprintf.
251 (insert_catchpoint): Change return type to void.
252 (break_command_1): Update exception_print call.
253 * exceptions.c (exception_fprintf): New function.
254 (print_exception): New function.
255 (exception_print): Use print_exception.
256
22e9b0f1
AC
257 * utils.c (error_output_message): Delete function.
258 * defs.h (error_output_message): Delete declaration.
259
05ff989b
AC
260 * linespec.c (symtab_from_filename, decode_variable): Use
261 throw_error instead of error_silent.
262 * breakpoint.c (do_captured_parse_breakpoint): Change return type
263 to void.
264 (break_command_1): Use catch_exception and check the error return
265 status.
266 * exceptions.c (throw_error): New function.
267 (throw_vsilent): Delete function.
268 * exceptions.h (throw_error): Declare.
269 (throw_vsilent): Delete declaration.
270 * utils.c (error_silent): Delete function.
271 * defs.h (error_silent): Delete declaration.
272
8a076db9
AC
273 * mi/mi-main.c (mi_execute_command): Print the exception.
274 * cli/cli-interp.c (safe_execute_command): Print the exception.
275 * exceptions.h (exception_print): Declare.
276 * exceptions.c (struct catcher): Add field print_message.
277 (catcher_init): Add parameter print_message, store in the catcher
278 struct.
279 (print_and_throw): Only print the message when print_message.
280 (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
281 catcher_init.
282 (catch_exception): Pass print_message=0 to catcher_init.
283
bc8332bb
AC
284 * varobj.c (varobj_create): Add missing \n.
285
d183932d
MS
2862005-01-13 Michael Snyder <msnyder@redhat.com>
287
4e18e2de 288 * cli/cli-decode.h: Whitespace tweaks.
ca0b4d12 289 * wince.c: Whitespace tweaks.
887a3a14 290 * uw-thread.c: Whitespace tweaks.
0a4a0819 291 * utils.c: Whitespace tweaks.
d183932d
MS
292 * tracepoint.[ch]: Whitespace tweaks.
293 * solist.h: Whitespace tweaks.
294
6b1b7650
AC
2952005-01-13 Andrew Cagney <cagney@gnu.org>
296
b315da38
AC
297 * exceptions.h (struct exception): Make message const.
298 * mi/mi-main.c (mi_execute_command): Pass result.message directly
299 to fputstr_unfiltered.
300
79e714b4
AC
3012005-01-13 Michael Snyder <msnyder@redhat.com>
302
303 * stack.c: Whitespace tweaks.
304 * somsolib.[ch]: Whitespace tweaks.
305 * solib-aix.c: Whitespace tweaks.
306 * solib.c: Whitespace tweaks.
307 * solib-frv.c: Whitespace tweaks.
308 * solib.h: Whitespace tweaks.
309 * solib-irix.c: Whitespace tweaks.
310 * solib-som.c: Whitespace tweaks.
311 * solib-sunos.c: Whitespace tweaks.
312 * solib-svr4.[ch]: Whitespace tweaks.
313 * ser-tcp.c: Whitespace tweaks.
314 * ser-unix.c: Whitespace tweaks.
315 * serial.h: Whitespace tweaks.
316 * scm-valprint.c: Whitespace tweaks.
317 * rs6000-tdep.c: Whitespace tweaks.
318 * rs6000-nat.c: Whitespace tweaks.
319 * remote.c: Whitespace tweaks.
320
3212005-01-13 Andrew Cagney <cagney@gnu.org>
322
6b1b7650
AC
323 * defs.h (error_last_message, error_init): Delete declaration.
324 * utils.c (fatal, vfatal): Call throw_vfatal.
325 (error, verror): Call throw_verror;
326 (do_write, error_stream_1): Delete function.
327 (error_stream): Simplify, call error.
328 (error_last_message, error_init, gdb_lasterr): Delete.
329 (error_silent): Simplify, call throw_vsilent.
330 * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
331 * main.c (captured_main): Delete call to error_init.
332 * exceptions.c (throw_verror, throw_verror)
333 (throw_vsilent): New functions.
334 (do_write, print_and_throw): New functions.
335 (last_message): New global.
336 (throw_reason): Replace error_last_message with last_message.
337 (catch_exceptions_with_msg): Dup the message.
338 * exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
339 Declare.
340
4791eb66
MS
3412005-01-13 Michael Snyder <msnyder@redhat.com>
342
90c065fb 343 * remote-st.c: Whitespace tweaks.
8a0ce09a 344 * remote-sim.c: Whitespace tweaks.
1fa79fac 345 * remote-mips.c: Whitespace tweaks.
beda9597 346 * pa64solib.[ch]: Whitespace tweaks.
28397f59 347 * mdebugread.c: Whitespace tweaks.
ba5e7e8d 348 * main.c: Whitespace tweaks.
907d819a 349 * interps.c: Whitespace tweaks.
9d1ff73f 350 * infrun.c: Whitespace tweaks.
1f5d0fc9 351 * infcmd.c: Whitespace tweaks.
d9788fe8 352 * hpux-thread.c: Whitespace tweaks.
3b951200 353 * hppa-hpux-tdep.c: Whitespace tweaks.
3a9a986f 354 * gdbcore.h: Whitespace tweaks.
d3f17821 355 * gdbcmd.h: Whitespace tweaks.
30867156 356 * gdb-events[.c, .h, .sh]: Whitespace tweaks.
de6854b5 357 * corefile.c: Whitespace tweaks.
03717487 358 * completer.c: Whitespace tweaks.
9b5c5aad
MS
359 * coff-solib.c: Whitespace tweaks.
360 * coff-solib.h: Whitespace tweaks.
30fdc99f 361 * cli-out.c: Whitespace tweaks.
1272ad14 362 * breakpoint.c: Whitespace tweaks.
4791eb66
MS
363 * cli/cli-interp.c: Tweak comments, per coding standard.
364
f30f06b8
AC
3652005-01-13 Andrew Cagney <cagney@gnu.org>
366
ce43223b
AC
367 * breakpoint.c (gdb_breakpoint_query): Update, use
368 catch_exceptions_with_msg.
369 (do_captured_breakpoint): Add uiout parameter.
370 (gdb_breakpoint): Update, use catch_exceptions_with_msg.
371 * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
372 gdb_thread_select. Return MI_CMD_ERROR instead of
373 MI_CMD_CAUGHT_ERROR.
374 (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
375 (enum captured_mi_execute_command_actions): Delete
376 EXECUTE_COMMAND_DISPLAY_ERROR.
377 (captured_mi_execute_command): Delete code handling
378 MI_CMD_CAUGHT_ERROR.
379 (mi_execute_command): Don't check for
380 EXECUTE_COMMAND_DISPLAY_ERROR.
381 * mi/mi-cmd-break.c (breakpoint_notify): Update call to
382 gdb_breakpoint_query.
383 (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
384 * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
385 * gdb.h (gdb_thread_select, gdb_list_thread_ids)
386 (gdb_breakpoint, gdb_breakpoint_query): Add error_message
387 parameter.
388 * thread.c (thread_command): Update call.
389 (gdb_thread_select, gdb_list_thread_ids): Update, call
390 catch_exceptions_with_msg.
391
f30f06b8
AC
392 * mi/mi-main.c (mi_execute_command): Use catch_exception,
393 eliminate call to error_last_message.
394 (captured_mi_execute_command): Change return type to void.
395
2a78bfb5
AC
3962005-01-12 Andrew Cagney <cagney@gnu.org>
397
c1043fc2
AC
398 * exceptions.c (exception_none): New variable.
399 * Makefile.in: Update dependencies.
400 * interps.c: Include "exceptions.h".
401 (interpreter_exec_cmd, interp_exec): Update to return "struct
402 exception"
403 * exceptions.h (no_exception): Declare.
404 * tui/tui-interp.c (tui_exec): Update to return "struct exception"
405 * mi/mi-interp.c: Include "exceptions.h".
406 (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
407 'struct exception".
408 * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
409 (do_captured_execute_command): Update to use catch_exception.
410 * interps.h: Include "exceptions.h".
411 (interp_exec_ftype, interp_exec): Return "struct exception".
412
2a78bfb5
AC
413 * exceptions.h (throw_reason): Rename throw_exception.
414 (enum errors, struct exception): Define.
415 (catch_exception_ftype): Define.
416 (catch_exception, throw_exception): Declare.
417 * exceptions.c (throw_exception): Rewrite.
418 (throw_reason): New function.
419 (struct catcher, catcher_state_machine): Replace "reason" with
420 "exception", delete "gdberrmsg".
421 (catch_exception): New function.
422 (catcher_init): Replace "gdberrmsg" parameter with "exception".
423 (catch_errors, catch_exceptions_with_msg): Re-implement passing
424 exception to catcher_init.
425 * utils.c (error_silent, error_stream_1): Use throw_reason.
426 (internal_verror, quit): Ditto.
427 * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
428 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
429 * remote.c (remote_open_1, interrupt_query): Ditto.
430
8b1ca062
MK
4312005-01-12 Mark Kettenis <kettenis@gnu.org>
432
fa565c2b
MK
433 * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
434 "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
435 (i386fbsd_jmp_buf_reg_offset): New variable.
436 (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
437 functions.
438 (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
439 * Makefile.in (i386fbsd-tdep.o): Update dependency.
440 * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
441
82f5c14f
MK
442 * bsd-uthread.h: New file.
443 * bsd-uthread.c: New file.
444 * Makefile.in (bsd_uthread_h): New variable.
445 (ALLDEPFILES): Add bsd-uthread.c.
446 (bsd-uthread.o): New dependency.
447
42a6e6a0
MK
448 * solib.h Update copyright year.
449 (struct so_list): Forward declaration.
450 (solib_read_symbols): New prototype.
451 * solib.c (solib_read_symbols): New function.
452 (solib_add): Call solib_read_symbols to read in symbols.
453 (update_solib_list): Call observer_notify_solib_loaded.
454
8b1ca062
MK
455 * i386bsd-nat.c: Update copyright year. Don't include
456 <sys/param.h> and <sys/user.h>.
457 (register_u_addr, kernel_u_size): Remove functions.
458 * config/i386/obsd.mh (NAT_FILE): Remove.
459 * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
460 * config/i386/nm-obsd.h: Remove file.
461
60250e8b
AC
4622005-01-12 Andrew Cagney <cagney@gnu.org>
463
db5f402d
AC
464 * exceptions.c: Include "gdb_string.h".
465 (enum catcher_state, struct catcher): Define.
466 (current_catcher): New global, replaces catch_return;
467 (catch_return): Delete.
468 (throw_exception): Use current_catcher->buf;
469 (catcher_init, catcher_pop, catcher_state_machine): New functions.
470 (catcher): Delete.
471 (struct catch_errors_args): Delete.
472 (do_catch_errors): Delete.
473 (catch_exceptions): Replace body with call to
474 catch_exceptions_with_msg.
475 (catcher): Delete.
476 (catch_exceptions_with_msg, catch_errors): Re-implement using
477 catcher_state_machine.
478
60250e8b
AC
479 * exceptions.h (enum return_reason, RETURN_MASK)
480 (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
481 (return_mask, throw_exception, catch_exceptions_ftype)
482 (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
483 (catch_command_errors_ftype, catch_command_errors): Move to
484 exceptions.h.
485 * exceptions.c, exceptions.h: New files.
486 * top.c: Do not include <setjmp.h>.
487 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
488 (throw_exception, catcher, catch_exceptions)
489 (catch_exceptions_with_msg, struct catch_errors_args)
490 (do_catch_errors, catch_errors, struct captured_command_args)
491 (do_captured_command, catch_command_errors): Move to exceptions.c.
492 * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
493 * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
494 * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
495 * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
496 * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
497 * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
498 * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
499 * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
500 * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
501 * ada-valprint.c, ada-lang.c: Ditto.
502 * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
503 exceptions.o. Update all dependencies.
504
ca14ead7
MK
5052005-01-11 Mark Kettenis <kettenis@gnu.org>
506
eafc7eea
MK
507 * config/i386/nm-fbsd.h: Update copyright year.
508 Don't include "config/nm-bsd.h".
509 (KERNEL_U_SIZE): Remove macro.
510 (kernel_u_size): Remove prototype.
511
ca14ead7
MK
512 * config/vax/nbsdaout.mh (NAT_FILE): Remove.
513 * config/vax/nm-nbsdaout.h: Remove file.
514
4a39d934
EZ
5152005-01-10 Elena Zannoni <ezannoni@redhat.com>
516
517 * MAINTAINERS: Remove self from sh/sh64 maintainership.
518
93f0f986
AC
5192005-01-10 Andrew Cagney <cagney@gnu.org>
520
c4f9e2bf
AC
521 * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
522 changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
523 maintainer.
524
6b71dd74
AC
525 * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
526 changes to CRIS.
527
93f0f986
AC
528 * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
529 COMMIT means can approve).
530
8785ced0
MK
5312005-01-10 Mark Kettenis <kettenis@gnu.org>
532
2a2de4ce
MK
533 * vax-nat.c: Update copyright year. Include "inf-ptrace.h".
534 (vax_register_u_offset): Make statuc.
535 (_initialize_vax_nat): Construct and add target vector.
536 * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
537 inftarg.o. Add inf-ptrace.o.
538 * Makefile.in (vax-nat.o): Update dependencies.
539
8785ced0
MK
540 * inf-ptrace.h: Update copyright year. Sync comment with
541 inf-ptrace.c.
542 (inf_ptrace_trad_target): New prototype.
543 * inf-ptrace.c: Update copyright year. Include "regcache.h" and
544 "gdb_assert.h"
545 (inf_ptrace_target): Add comment.
546 (inf_ptrace+register_u_offset): New variable.
547 (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
548 (inf_ptrace_store_register, inf_ptrace_store_registers)
549 (inf_ptrace_trad_target): New functions.
550 * Makefile.in (inf-ptrace.o): Update dependencies.
551
7cb9022a
MK
5522005-01-09 Mark Kettenis <kettenis@gnu.org>
553
554 * configure.ac: Provide prerequisite headers when checking
555 <link.h>, <sys/proc.h> and <sys/user.h>.
556 * configure: Regenerate.
557
c534d641
MK
5582005-01-08 Mark Kettenis <kettenis@gnu.org>
559
560 * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
561 tm-ppc-eabi.h instead of the removed tm-nbsd.h.
562
4b48ac22
MK
5632005-01-07 Mark Kettenis <kettenis@gnu.org>
564
565 * config/ia64/tm-linux.h: Tweak comment. Update copyright year.
566 Don't include "tm-ia64.h".
567 * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
568 * config/ia64/tm-ia64.h: Remove. Move contents ...
569 * ia64-tdep.h: ... here. Update copyright year.
570
3ace7edb
AC
5712005-01-07 Andrew Cagney <cagney@gnu.org>
572
bec39cab
AC
573 * configure.ac: Rename configure.in, require autoconf 2.59.
574 * configure: Re-generate.
575
e14ecb8f
AC
576 * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
577 xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
578 to configdirs.
579
3ace7edb
AC
580 * configure.in: Replace configdirs with multiple references to
581 AC_CONFIG_SUBDIRS.
582 * configure: Re-generate.
583
b33e8514
AS
5842005-01-05 Andreas Schwab <schwab@suse.de>
585
586 * ia64-tdep.c: Include "osabi.h".
587 (native_find_global_pointer): Delete.
588 (ia64_find_global_pointer): Renamed from
589 generic_elf_find_global_pointer.
590 (FIND_GLOBAL_POINTER): Delete. Change all users to call
591 ia64_find_global_pointer instead.
592 (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
593 to ia64_linux_sigcontext_register_address and
594 ia64_linux_write_pc. Don't set tdep->find_global_pointer.
595 (_initialize_ia64_tdep): Call gdbarch_register instead of
596 deprecated register_gdbarch_init.
597 (struct gdbarch_tdep): Remove find_global_pointer field and move
598 to ...
599 * ia64-tdep.h (struct gdbarch_tdep): ... here.
600 (ia64_linux_sigcontext_register_address): Remove declaration.
601 (ia64_linux_getunwind_table): Likewise.
602 (ia64_linux_write_pc): Likewise.
603 * ia64-linux-tdep.c: Include "osabi.h".
604 (ia64_linux_sigcontext_register_address): Make static.
605 (ia64_linux_write_pc): Likewise.
606 (ia64_linux_init_abi): New.
607 (_initialize_ia64_linux_tdep): New.
608 * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
609 $(osabi_h).
610
0ea390ed
KB
6112005-01-05 Kevin Buettner <kevinb@redhat.com>
612
613 * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
614 functions in ia64-aix-tdep.c.
615 * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
616 function defined in ia64-aix-tdep.c.
617 * ia64-aix-tdep.c: Remove file.
618 * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
619 this list.
620 * Makefile.in (ia64-aix-tdep.o): Delete.
621
edefbb7c
AC
6222005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
623
624 Committed by Andrew Cagney.
625 * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
626 * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
627 * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
628 * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
629 * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
630 * aix-thread.c (_initialize_aix_thread): Get rid of the
631 deprecated_add_show_from_set call.
632 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
633 * arm-tdep.c (_initialize_arm_tdep): Ditto.
634 * command.h (add_setshow_enum_cmd): Add arguments for returning
635 new list elements.
636 * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
637 * mips-tdep.c (_initialize_mips_tdep): Modify calls to
638 add_setshow_enum_cmd.
639
a260932f
MK
6402005-01-04 Mark Kettenis <kettenis@gnu.org>
641
34cf1994
MK
642 * configure.host (ia64-*-aix*): Remove.
643 * configure.tgt (ia64-*-aix*): Remove.
644 * config/ia64/aix.mh: Remove file.
645 * config/ia64/aix.mt: Remove file.
646 * config/ia64/tm-aix.h: Remove file.
647 * ia64-aix-nat.c: Remove file.
648 * Makefile.in (ia64-aix-nat.o): Remove dependency.
649
a260932f
MK
650 * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
651 Add back inf-ptrace.o.
652
5ed102a1
AC
6532005-01-04 Andrew Cagney <cagney@gnu.org>
654
655 * version.in: Change format from 6.3.50_2005-01-04-cvs to
656 6.3.50.20050104-cvs.
657
3a63c4b7
AS
6582005-01-04 Andreas Schwab <schwab@suse.de>
659
660 * breakpoint.c (break_command_1): Always free err_msg before
661 returning when an exception was caught.
662
e22b26cb
JB
6632005-01-01 Joel Brobecker <brobecker@gnat.com>
664
665 * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
666 in register number for addil instruction.
667
151c5df6 668For older changes see ChangeLog-2004.
c906108c
SS
669\f
670Local Variables:
671mode: change-log
672left-margin: 8
673fill-column: 74
674version-control: never
675End:
This page took 0.698634 seconds and 4 git commands to generate.