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