Commit | Line | Data |
---|---|---|
d183932d MS |
1 | 2005-01-13 Michael Snyder <msnyder@redhat.com> |
2 | ||
4e18e2de | 3 | * cli/cli-decode.h: Whitespace tweaks. |
ca0b4d12 | 4 | * wince.c: Whitespace tweaks. |
887a3a14 | 5 | * uw-thread.c: Whitespace tweaks. |
0a4a0819 | 6 | * utils.c: Whitespace tweaks. |
d183932d MS |
7 | * tracepoint.[ch]: Whitespace tweaks. |
8 | * solist.h: Whitespace tweaks. | |
9 | ||
6b1b7650 AC |
10 | 2005-01-13 Andrew Cagney <cagney@gnu.org> |
11 | ||
b315da38 AC |
12 | * exceptions.h (struct exception): Make message const. |
13 | * mi/mi-main.c (mi_execute_command): Pass result.message directly | |
14 | to fputstr_unfiltered. | |
15 | ||
79e714b4 AC |
16 | 2005-01-13 Michael Snyder <msnyder@redhat.com> |
17 | ||
18 | * stack.c: Whitespace tweaks. | |
19 | * somsolib.[ch]: Whitespace tweaks. | |
20 | * solib-aix.c: Whitespace tweaks. | |
21 | * solib.c: Whitespace tweaks. | |
22 | * solib-frv.c: Whitespace tweaks. | |
23 | * solib.h: Whitespace tweaks. | |
24 | * solib-irix.c: Whitespace tweaks. | |
25 | * solib-som.c: Whitespace tweaks. | |
26 | * solib-sunos.c: Whitespace tweaks. | |
27 | * solib-svr4.[ch]: Whitespace tweaks. | |
28 | * ser-tcp.c: Whitespace tweaks. | |
29 | * ser-unix.c: Whitespace tweaks. | |
30 | * serial.h: Whitespace tweaks. | |
31 | * scm-valprint.c: Whitespace tweaks. | |
32 | * rs6000-tdep.c: Whitespace tweaks. | |
33 | * rs6000-nat.c: Whitespace tweaks. | |
34 | * remote.c: Whitespace tweaks. | |
35 | ||
36 | 2005-01-13 Andrew Cagney <cagney@gnu.org> | |
37 | ||
6b1b7650 AC |
38 | * defs.h (error_last_message, error_init): Delete declaration. |
39 | * utils.c (fatal, vfatal): Call throw_vfatal. | |
40 | (error, verror): Call throw_verror; | |
41 | (do_write, error_stream_1): Delete function. | |
42 | (error_stream): Simplify, call error. | |
43 | (error_last_message, error_init, gdb_lasterr): Delete. | |
44 | (error_silent): Simplify, call throw_vsilent. | |
45 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message. | |
46 | * main.c (captured_main): Delete call to error_init. | |
47 | * exceptions.c (throw_verror, throw_verror) | |
48 | (throw_vsilent): New functions. | |
49 | (do_write, print_and_throw): New functions. | |
50 | (last_message): New global. | |
51 | (throw_reason): Replace error_last_message with last_message. | |
52 | (catch_exceptions_with_msg): Dup the message. | |
53 | * exceptions.h (throw_verror, throw_vfatal, throw_vsilent): | |
54 | Declare. | |
55 | ||
4791eb66 MS |
56 | 2005-01-13 Michael Snyder <msnyder@redhat.com> |
57 | ||
90c065fb | 58 | * remote-st.c: Whitespace tweaks. |
8a0ce09a | 59 | * remote-sim.c: Whitespace tweaks. |
1fa79fac | 60 | * remote-mips.c: Whitespace tweaks. |
beda9597 | 61 | * pa64solib.[ch]: Whitespace tweaks. |
28397f59 | 62 | * mdebugread.c: Whitespace tweaks. |
ba5e7e8d | 63 | * main.c: Whitespace tweaks. |
907d819a | 64 | * interps.c: Whitespace tweaks. |
9d1ff73f | 65 | * infrun.c: Whitespace tweaks. |
1f5d0fc9 | 66 | * infcmd.c: Whitespace tweaks. |
d9788fe8 | 67 | * hpux-thread.c: Whitespace tweaks. |
3b951200 | 68 | * hppa-hpux-tdep.c: Whitespace tweaks. |
3a9a986f | 69 | * gdbcore.h: Whitespace tweaks. |
d3f17821 | 70 | * gdbcmd.h: Whitespace tweaks. |
30867156 | 71 | * gdb-events[.c, .h, .sh]: Whitespace tweaks. |
de6854b5 | 72 | * corefile.c: Whitespace tweaks. |
03717487 | 73 | * completer.c: Whitespace tweaks. |
9b5c5aad MS |
74 | * coff-solib.c: Whitespace tweaks. |
75 | * coff-solib.h: Whitespace tweaks. | |
30fdc99f | 76 | * cli-out.c: Whitespace tweaks. |
1272ad14 | 77 | * breakpoint.c: Whitespace tweaks. |
4791eb66 MS |
78 | * cli/cli-interp.c: Tweak comments, per coding standard. |
79 | ||
f30f06b8 AC |
80 | 2005-01-13 Andrew Cagney <cagney@gnu.org> |
81 | ||
ce43223b AC |
82 | * breakpoint.c (gdb_breakpoint_query): Update, use |
83 | catch_exceptions_with_msg. | |
84 | (do_captured_breakpoint): Add uiout parameter. | |
85 | (gdb_breakpoint): Update, use catch_exceptions_with_msg. | |
86 | * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to | |
87 | gdb_thread_select. Return MI_CMD_ERROR instead of | |
88 | MI_CMD_CAUGHT_ERROR. | |
89 | (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids. | |
90 | (enum captured_mi_execute_command_actions): Delete | |
91 | EXECUTE_COMMAND_DISPLAY_ERROR. | |
92 | (captured_mi_execute_command): Delete code handling | |
93 | MI_CMD_CAUGHT_ERROR. | |
94 | (mi_execute_command): Don't check for | |
95 | EXECUTE_COMMAND_DISPLAY_ERROR. | |
96 | * mi/mi-cmd-break.c (breakpoint_notify): Update call to | |
97 | gdb_breakpoint_query. | |
98 | (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint. | |
99 | * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR. | |
100 | * gdb.h (gdb_thread_select, gdb_list_thread_ids) | |
101 | (gdb_breakpoint, gdb_breakpoint_query): Add error_message | |
102 | parameter. | |
103 | * thread.c (thread_command): Update call. | |
104 | (gdb_thread_select, gdb_list_thread_ids): Update, call | |
105 | catch_exceptions_with_msg. | |
106 | ||
f30f06b8 AC |
107 | * mi/mi-main.c (mi_execute_command): Use catch_exception, |
108 | eliminate call to error_last_message. | |
109 | (captured_mi_execute_command): Change return type to void. | |
110 | ||
2a78bfb5 AC |
111 | 2005-01-12 Andrew Cagney <cagney@gnu.org> |
112 | ||
c1043fc2 AC |
113 | * exceptions.c (exception_none): New variable. |
114 | * Makefile.in: Update dependencies. | |
115 | * interps.c: Include "exceptions.h". | |
116 | (interpreter_exec_cmd, interp_exec): Update to return "struct | |
117 | exception" | |
118 | * exceptions.h (no_exception): Declare. | |
119 | * tui/tui-interp.c (tui_exec): Update to return "struct exception" | |
120 | * mi/mi-interp.c: Include "exceptions.h". | |
121 | (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return | |
122 | 'struct exception". | |
123 | * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command) | |
124 | (do_captured_execute_command): Update to use catch_exception. | |
125 | * interps.h: Include "exceptions.h". | |
126 | (interp_exec_ftype, interp_exec): Return "struct exception". | |
127 | ||
2a78bfb5 AC |
128 | * exceptions.h (throw_reason): Rename throw_exception. |
129 | (enum errors, struct exception): Define. | |
130 | (catch_exception_ftype): Define. | |
131 | (catch_exception, throw_exception): Declare. | |
132 | * exceptions.c (throw_exception): Rewrite. | |
133 | (throw_reason): New function. | |
134 | (struct catcher, catcher_state_machine): Replace "reason" with | |
135 | "exception", delete "gdberrmsg". | |
136 | (catch_exception): New function. | |
137 | (catcher_init): Replace "gdberrmsg" parameter with "exception". | |
138 | (catch_errors, catch_exceptions_with_msg): Re-implement passing | |
139 | exception to catcher_init. | |
140 | * utils.c (error_silent, error_stream_1): Use throw_reason. | |
141 | (internal_verror, quit): Ditto. | |
142 | * breakpoint.c (insert_catchpoint, break_command_1): Ditto. | |
143 | * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto. | |
144 | * remote.c (remote_open_1, interrupt_query): Ditto. | |
145 | ||
8b1ca062 MK |
146 | 2005-01-12 Mark Kettenis <kettenis@gnu.org> |
147 | ||
fa565c2b MK |
148 | * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h", |
149 | "regcache.h", "gdb_assert.h" and "bsd-uthread.h". | |
150 | (i386fbsd_jmp_buf_reg_offset): New variable. | |
151 | (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New | |
152 | functions. | |
153 | (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread. | |
154 | * Makefile.in (i386fbsd-tdep.o): Update dependency. | |
155 | * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o. | |
156 | ||
82f5c14f MK |
157 | * bsd-uthread.h: New file. |
158 | * bsd-uthread.c: New file. | |
159 | * Makefile.in (bsd_uthread_h): New variable. | |
160 | (ALLDEPFILES): Add bsd-uthread.c. | |
161 | (bsd-uthread.o): New dependency. | |
162 | ||
42a6e6a0 MK |
163 | * solib.h Update copyright year. |
164 | (struct so_list): Forward declaration. | |
165 | (solib_read_symbols): New prototype. | |
166 | * solib.c (solib_read_symbols): New function. | |
167 | (solib_add): Call solib_read_symbols to read in symbols. | |
168 | (update_solib_list): Call observer_notify_solib_loaded. | |
169 | ||
8b1ca062 MK |
170 | * i386bsd-nat.c: Update copyright year. Don't include |
171 | <sys/param.h> and <sys/user.h>. | |
172 | (register_u_addr, kernel_u_size): Remove functions. | |
173 | * config/i386/obsd.mh (NAT_FILE): Remove. | |
174 | * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h. | |
175 | * config/i386/nm-obsd.h: Remove file. | |
176 | ||
60250e8b AC |
177 | 2005-01-12 Andrew Cagney <cagney@gnu.org> |
178 | ||
db5f402d AC |
179 | * exceptions.c: Include "gdb_string.h". |
180 | (enum catcher_state, struct catcher): Define. | |
181 | (current_catcher): New global, replaces catch_return; | |
182 | (catch_return): Delete. | |
183 | (throw_exception): Use current_catcher->buf; | |
184 | (catcher_init, catcher_pop, catcher_state_machine): New functions. | |
185 | (catcher): Delete. | |
186 | (struct catch_errors_args): Delete. | |
187 | (do_catch_errors): Delete. | |
188 | (catch_exceptions): Replace body with call to | |
189 | catch_exceptions_with_msg. | |
190 | (catcher): Delete. | |
191 | (catch_exceptions_with_msg, catch_errors): Re-implement using | |
192 | catcher_state_machine. | |
193 | ||
60250e8b AC |
194 | * exceptions.h (enum return_reason, RETURN_MASK) |
195 | (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL) | |
196 | (return_mask, throw_exception, catch_exceptions_ftype) | |
197 | (catch_exceptions_with_msg, catch_errors_ftype, catch_errors) | |
198 | (catch_command_errors_ftype, catch_command_errors): Move to | |
199 | exceptions.h. | |
200 | * exceptions.c, exceptions.h: New files. | |
201 | * top.c: Do not include <setjmp.h>. | |
202 | (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return) | |
203 | (throw_exception, catcher, catch_exceptions) | |
204 | (catch_exceptions_with_msg, struct catch_errors_args) | |
205 | (do_catch_errors, catch_errors, struct captured_command_args) | |
206 | (do_captured_command, catch_command_errors): Move to exceptions.c. | |
207 | * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h". | |
208 | * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto. | |
209 | * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto. | |
210 | * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto. | |
211 | * remote-e7000.c, objc-lang.c, ocd.c: Ditto. | |
212 | * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto. | |
213 | * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto. | |
214 | * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto. | |
215 | * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto. | |
216 | * ada-valprint.c, ada-lang.c: Ditto. | |
217 | * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and | |
218 | exceptions.o. Update all dependencies. | |
219 | ||
ca14ead7 MK |
220 | 2005-01-11 Mark Kettenis <kettenis@gnu.org> |
221 | ||
eafc7eea MK |
222 | * config/i386/nm-fbsd.h: Update copyright year. |
223 | Don't include "config/nm-bsd.h". | |
224 | (KERNEL_U_SIZE): Remove macro. | |
225 | (kernel_u_size): Remove prototype. | |
226 | ||
ca14ead7 MK |
227 | * config/vax/nbsdaout.mh (NAT_FILE): Remove. |
228 | * config/vax/nm-nbsdaout.h: Remove file. | |
229 | ||
4a39d934 EZ |
230 | 2005-01-10 Elena Zannoni <ezannoni@redhat.com> |
231 | ||
232 | * MAINTAINERS: Remove self from sh/sh64 maintainership. | |
233 | ||
93f0f986 AC |
234 | 2005-01-10 Andrew Cagney <cagney@gnu.org> |
235 | ||
c4f9e2bf AC |
236 | * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit |
237 | changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux | |
238 | maintainer. | |
239 | ||
6b71dd74 AC |
240 | * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit |
241 | changes to CRIS. | |
242 | ||
93f0f986 AC |
243 | * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN |
244 | COMMIT means can approve). | |
245 | ||
8785ced0 MK |
246 | 2005-01-10 Mark Kettenis <kettenis@gnu.org> |
247 | ||
2a2de4ce MK |
248 | * vax-nat.c: Update copyright year. Include "inf-ptrace.h". |
249 | (vax_register_u_offset): Make statuc. | |
250 | (_initialize_vax_nat): Construct and add target vector. | |
251 | * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and | |
252 | inftarg.o. Add inf-ptrace.o. | |
253 | * Makefile.in (vax-nat.o): Update dependencies. | |
254 | ||
8785ced0 MK |
255 | * inf-ptrace.h: Update copyright year. Sync comment with |
256 | inf-ptrace.c. | |
257 | (inf_ptrace_trad_target): New prototype. | |
258 | * inf-ptrace.c: Update copyright year. Include "regcache.h" and | |
259 | "gdb_assert.h" | |
260 | (inf_ptrace_target): Add comment. | |
261 | (inf_ptrace+register_u_offset): New variable. | |
262 | (inf_ptrace_fetch_register, inf_ptrace_fetch_registers) | |
263 | (inf_ptrace_store_register, inf_ptrace_store_registers) | |
264 | (inf_ptrace_trad_target): New functions. | |
265 | * Makefile.in (inf-ptrace.o): Update dependencies. | |
266 | ||
7cb9022a MK |
267 | 2005-01-09 Mark Kettenis <kettenis@gnu.org> |
268 | ||
269 | * configure.ac: Provide prerequisite headers when checking | |
270 | <link.h>, <sys/proc.h> and <sys/user.h>. | |
271 | * configure: Regenerate. | |
272 | ||
c534d641 MK |
273 | 2005-01-08 Mark Kettenis <kettenis@gnu.org> |
274 | ||
275 | * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to | |
276 | tm-ppc-eabi.h instead of the removed tm-nbsd.h. | |
277 | ||
4b48ac22 MK |
278 | 2005-01-07 Mark Kettenis <kettenis@gnu.org> |
279 | ||
280 | * config/ia64/tm-linux.h: Tweak comment. Update copyright year. | |
281 | Don't include "tm-ia64.h". | |
282 | * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove. | |
283 | * config/ia64/tm-ia64.h: Remove. Move contents ... | |
284 | * ia64-tdep.h: ... here. Update copyright year. | |
285 | ||
3ace7edb AC |
286 | 2005-01-07 Andrew Cagney <cagney@gnu.org> |
287 | ||
bec39cab AC |
288 | * configure.ac: Rename configure.in, require autoconf 2.59. |
289 | * configure: Re-generate. | |
290 | ||
e14ecb8f AC |
291 | * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*, |
292 | xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm | |
293 | to configdirs. | |
294 | ||
3ace7edb AC |
295 | * configure.in: Replace configdirs with multiple references to |
296 | AC_CONFIG_SUBDIRS. | |
297 | * configure: Re-generate. | |
298 | ||
b33e8514 AS |
299 | 2005-01-05 Andreas Schwab <schwab@suse.de> |
300 | ||
301 | * ia64-tdep.c: Include "osabi.h". | |
302 | (native_find_global_pointer): Delete. | |
303 | (ia64_find_global_pointer): Renamed from | |
304 | generic_elf_find_global_pointer. | |
305 | (FIND_GLOBAL_POINTER): Delete. Change all users to call | |
306 | ia64_find_global_pointer instead. | |
307 | (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references | |
308 | to ia64_linux_sigcontext_register_address and | |
309 | ia64_linux_write_pc. Don't set tdep->find_global_pointer. | |
310 | (_initialize_ia64_tdep): Call gdbarch_register instead of | |
311 | deprecated register_gdbarch_init. | |
312 | (struct gdbarch_tdep): Remove find_global_pointer field and move | |
313 | to ... | |
314 | * ia64-tdep.h (struct gdbarch_tdep): ... here. | |
315 | (ia64_linux_sigcontext_register_address): Remove declaration. | |
316 | (ia64_linux_getunwind_table): Likewise. | |
317 | (ia64_linux_write_pc): Likewise. | |
318 | * ia64-linux-tdep.c: Include "osabi.h". | |
319 | (ia64_linux_sigcontext_register_address): Make static. | |
320 | (ia64_linux_write_pc): Likewise. | |
321 | (ia64_linux_init_abi): New. | |
322 | (_initialize_ia64_linux_tdep): New. | |
323 | * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on | |
324 | $(osabi_h). | |
325 | ||
0ea390ed KB |
326 | 2005-01-05 Kevin Buettner <kevinb@redhat.com> |
327 | ||
328 | * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on | |
329 | functions in ia64-aix-tdep.c. | |
330 | * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove | |
331 | function defined in ia64-aix-tdep.c. | |
332 | * ia64-aix-tdep.c: Remove file. | |
333 | * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from | |
334 | this list. | |
335 | * Makefile.in (ia64-aix-tdep.o): Delete. | |
336 | ||
edefbb7c AC |
337 | 2005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr> |
338 | ||
339 | Committed by Andrew Cagney. | |
340 | * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup. | |
341 | * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup. | |
342 | * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup. | |
343 | * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup. | |
344 | * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup. | |
345 | * aix-thread.c (_initialize_aix_thread): Get rid of the | |
346 | deprecated_add_show_from_set call. | |
347 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
348 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
349 | * command.h (add_setshow_enum_cmd): Add arguments for returning | |
350 | new list elements. | |
351 | * cli/cli-decode.c (add_setshow_enum_cmd): Ditto. | |
352 | * mips-tdep.c (_initialize_mips_tdep): Modify calls to | |
353 | add_setshow_enum_cmd. | |
354 | ||
a260932f MK |
355 | 2005-01-04 Mark Kettenis <kettenis@gnu.org> |
356 | ||
34cf1994 MK |
357 | * configure.host (ia64-*-aix*): Remove. |
358 | * configure.tgt (ia64-*-aix*): Remove. | |
359 | * config/ia64/aix.mh: Remove file. | |
360 | * config/ia64/aix.mt: Remove file. | |
361 | * config/ia64/tm-aix.h: Remove file. | |
362 | * ia64-aix-nat.c: Remove file. | |
363 | * Makefile.in (ia64-aix-nat.o): Remove dependency. | |
364 | ||
a260932f MK |
365 | * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o. |
366 | Add back inf-ptrace.o. | |
367 | ||
5ed102a1 AC |
368 | 2005-01-04 Andrew Cagney <cagney@gnu.org> |
369 | ||
370 | * version.in: Change format from 6.3.50_2005-01-04-cvs to | |
371 | 6.3.50.20050104-cvs. | |
372 | ||
3a63c4b7 AS |
373 | 2005-01-04 Andreas Schwab <schwab@suse.de> |
374 | ||
375 | * breakpoint.c (break_command_1): Always free err_msg before | |
376 | returning when an exception was caught. | |
377 | ||
e22b26cb JB |
378 | 2005-01-01 Joel Brobecker <brobecker@gnat.com> |
379 | ||
380 | * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion | |
381 | in register number for addil instruction. | |
382 | ||
151c5df6 | 383 | For older changes see ChangeLog-2004. |
c906108c SS |
384 | \f |
385 | Local Variables: | |
386 | mode: change-log | |
387 | left-margin: 8 | |
388 | fill-column: 74 | |
389 | version-control: never | |
390 | End: |