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