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