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