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