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