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