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