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