2005-04-26 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2005-04-26 Andrew Cagney <cagney@gnu.org>
2
3 * remote.c (remote_open_1): Move "ex"'s declaration to where it is
4 used.
5 (remote_get_thread_local_address): Use throw_error, include a
6 printed string.
7 * linux-thread-db.c (thread_db_get_thread_local_address): Ditto.
8 * dwarf2loc.c (dwarf_expr_tls_address): Ditto.
9 * cli/cli-script.c (script_from_file): Mark up throw_error message.
10 * linespec.c (symtab_from_filename, decode_variable): Ditto.
11
12 2005-04-26 Andrew Cagney <cagney@gnu.org>
13
14 Rename 'struct exception' to 'struct gdb_exception'.
15 * wrapper.c: Update.
16 * varobj.c: Update.
17 * tui/tui-interp.c: Update.
18 * remote.c: Update.
19 * mi/mi-main.c: Update.
20 * mi/mi-interp.c: Update.
21 * linux-thread-db.c: Update.
22 * interps.h: Update.
23 * interps.c: Update.
24 * exceptions.h: Update.
25 * exceptions.c: Update.
26 * dwarf2loc.c: Update.
27 * cli/cli-interp.c: Update.
28 * cli/cli-script.c: Update.
29 * breakpoint.c: Update.
30
31 2005-04-25 Mark Mitchell <mark@codesourcery.com>
32
33 * event-loop.c (gdb_select): Program defensively.
34
35 * event-loop.c (gdb_assert.h): Include.
36 (<windows.h>): Include under Windows.
37 (<io.h>): Likeiwse.
38 (gdb_select): New function.
39 (gdb_wait_for_event): Use it.
40 * Makefile.in (event-loop.o): Depend on $(gdb_assert_h).
41
42 2005-04-23 Mark Kettenis <kettenis@gnu.org>
43
44 * sparc64-tdep.c: Include "dwarf2-frame.h".
45 (sparc64_dwarf2_frame_init_reg): New function.
46 * Makefile.in (sparc64-tdep.o): Update dependencies.
47
48 2005-04-22 David S. Miller <davem@davemloft.net>
49
50 * sparc64-linux-tdep.c (sparc64_linux_init_abi): Add call to
51 sparc64_init_abi().
52
53 2005-04-22 Mark Kettenis <kettenis@gnu.org>
54
55 * ser-base.c: Include "ser-base.h" instead of "ser-unix.h".
56
57 2005-04-22 Mark Mitchell <mark@codesourcery.com>
58
59 * ser-base.c (<sys/time.h>): Include.
60
61 2005-04-22 Mark Kettenis <kettenis@gnu.org>
62
63 * ppcobsd-tdep.c (ppcobsd_init_abi): Set return_value.
64
65 * sparc-linux-tdep.c: Reorder includes. Tweak a few comments.
66 (LINUX32_SIGTRAMP_INSN0, LINUX32_SIGTRAMP_INSN1)
67 (LINUX32_RT_SIGTRAMP_INSN0, LINUX32_RT_SIGTRAMP_INSN1): Remove
68 macros.
69 (sparc32_linux_sigframe, sparc32_linux_rt_sigframe): Hardcode
70 instructions.
71 * sparc64-linux-tdep.c: Reorder includes. Tweak a few comments.
72 (LINUX64_RT_SIGTRAMP_INSN0, LINUX64_RT_SIGTRAMP_INSN1): Remove
73 macros.
74 (sparc64_linux_rt_sigframe): Hardcode instructions.
75 * Makefile.in (sparc-linux-tdep.o, sparc64-linux-tdep.o): Update
76 dependencies.
77
78 * sparc-linux-tdep.c: Update copyright year.
79 (sparc32_linux_init_abi): Set skip_trampoline_code and
80 solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size.
81 Don't set software_single_step and don't call
82 sparc32_sol2_init_abi.
83 * sparc64-linux-tdep.c: Update copyright year.
84 (sparc64_linux_init_abi): Set skip_trampoline_code and
85 solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size.
86 Don't set software_single_step and don't call
87 sparc64_sol2_init_abi.
88
89 2005-04-22 Eli Zaretskii <eliz@gnu.org>
90
91 * remote-st.c (_initialize_remote_st2000): Remove the extraneous
92 "<command>" string from the call to add_com.
93
94 * remote-sim.c (_initialize_remote_sim): Ditto.
95
96 * remote-utils.c (_initialize_sr_support): Ditto.
97
98 * remote-mips.c (_initialize_remote_mips): Ditto.
99
100 2005-04-21 David S. Miller <davem@davemloft.net>
101
102 * sparc-linux-tdep.c (sparc32_linux_sigframe_init): New function.
103 (sparc32_linux_sigframe, sparc32_linux_rt_sigframe): New tramp_frames.
104 (sparc_linux_sigtramp_start, sparc32_linux_sigtramp_start,
105 sparc32_linux_rt_sigtramp_start, sparc32_linux_sigtramp_p,
106 sparc32_linux_sigtramp_frame_cache,
107 sparc32_linux_sigtramp_frame_this_id,
108 sparc32_linux_sigtramp_frame_prev_register,
109 sparc32_linux_sigtramp_frame_unwind,
110 sparc32_linux_sigtramp_frame_sniffer): Delete.
111 (sparc32_linux_init_abi): Register new tramp unwinders. Kill
112 register of old sigtramp sniffer.
113 * sparc64-linux-tdep.c (sparc64_linux_sigframe_init): New
114 function.
115 (sparc64_linux_rt_sigframe): New tramp frame.
116 (sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
117 sparc64_linux_sigtramp_frame_cache,
118 sparc64_linux_sigtramp_frame_this_id,
119 sparc64_linux_sigtramp_frame_prev_register,
120 sparc64_linux_sigtramp_frame_unwind,
121 sparc64_linux_sigtramp_frame_sniffer): Delete.
122 (sparc64_linux_init_abi): Register new tramp unwinders. Kill
123 register of old sigtramp sniffer.
124 Makefile.in (sparc64-linux-tdep.o): Update dependencies.
125 (sparc-linux-tdep.o): Likewise.
126
127 2005-04-21 Mark Kettenis <kettenis@gnu.org>
128
129 * ser-base.c: Include "gdb_string.h".
130 * Makefile.in (ser-base.o): Update dependencies.
131
132 2005-04-20 David S. Miller <davem@davemloft.net>
133
134 * sparc-linux-tdep.c (sparc32_linux_sigtramp_p): Fix
135 signal return stub symbol names, __restore and __restore_rt are
136 the i386 symbol names not the sparc ones.
137 (sparc32_linux_sigtramp_frame_cache): Document bits/sigcontext.h
138 as where the offsets were obtained from.
139 * sparc64-linux-tdep.c (LINUX64_RT_SIGTRAMP_INSN0,
140 LINUX64_RT_SIGTRAMP_INSN1): New defines.
141 (sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
142 sparc64_linux_sigtramp_frame_cache,
143 sparc64_linux_sigtramp_frame_this_id,
144 sparc64_linux_sigtramp_frame_prev_register,
145 sparc64_linux_sigtramp_frame_sniffer): New functions.
146 (sparc64_linux_sigtramp_frame_unwind): New frame unwinder.
147 (sparc64_linux_init_abi): Register sigtramp frame sniffer.
148 * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
149
150 2005-04-20 Mark Mitchell <mark@codesourcery.com>
151
152 * configure.ac: On MinGW, define USE_WIN32API and link with
153 -lws2_32.
154 * ser-tcp.c (<winsock2.h>): Include, for Windows.
155 (ETIMEDOUT): Define, for Windows.
156 (ioctl): Likewise.
157 (closesocket): Define, for POSIX.
158 (net_open): Adjust for differences in socket functions between
159 Windows and UNIX.
160 (net_close): Likweise.
161 (net_read_prim): New function.
162 (net_write_prim): Likewise.
163 (_initialize_ser_tcp): Initialize winsock. Fill in read_prim and
164 write_prim.
165 * ser-unix.h (ser_unix_readcchar): Remove.
166 (ser_unix_read_prim): Declare.
167 (ser_unix_write_prim): Likewise.
168 * ser-unix.c (generic_readchar): Move to ser-base.c.
169 (ser_unix_wait_for): Likewise.
170 (do_unix_readchar): Likewise.
171 (ser_unix_readchar): Likewise.
172 (_initialize_ser_hardwire): Initialize read_prim and write_prim.
173 (ser_unix_read_prim): New function.
174 (ser_unix_write_prim): Likewise.
175 * ser-base.h (generic_readchar): Declare.
176 (ser_base_readchar): Likewise.
177 * ser-base.c (<winsock2.h>): Include, for windows.
178 (fd_event): Use the read primitive specified by the serial
179 interface.
180 (ser_base_wait_for): Moved from ser-unix.c
181 (do_ser_base_read_char): Likewise.
182 (generic_readchar): Likewise.
183 (ser_base_readchar): Likewise.
184 (ser_base_write): Use the write primitive specified by the serial
185 interface.
186 * ser-pipe.c (_initialize_ser_pipe): Use ser_base_readchar, not
187 ser_unix_readchar. Initialize read_prim and write_prim.
188 * serial.c (struct serial_ops): Add read_prim and write_prim.
189 * configure: Regenerate.
190
191 2005-04-19 Ben Elliston <bje@au.ibm.com>
192
193 * c-lang.c (c_create_fundamental_type): Comment fix.
194
195 2005-04-18 Michael Snyder <msnyder@redhat.com>
196
197 * mn10300-tdep.c: Assimilate code from mn10300-prologue.c.
198 * mn10300-prologue.c: Remove.
199 * mn10300-tdep.h: Add enums from mn10300-prologue.c.
200 Remove prototypes.
201 * config/mn10300/mn10300.mt: Remove mn10300-prologue module.
202
203 2005-04-18 Michael Snyder <msnyder@redhat.com>
204
205 * config/mn10300/mn10300.mt: Add mn10300-prologue module.
206 * ia64-tdep.c (ia64_get_dyn_info_list): Fix indent.
207
208 2005-04-18 Mark Kettenis <kettenis@gnu.org>
209
210 * config/nm-bsd.h: Remove file.
211
212 * hppabsd-nat.c: Update copyright year. Include "target.h" and
213 "inf-ptrace.h".
214 (hppabsd_fetch_registers): Renamed from fetch_inferior_registers;
215 made static.
216 (hppabsd_store_registers): Renamed from store_inferior_registers;
217 made static.
218 (_initialize_hppabsd_nat): New function and prototype.
219 * config/pa/obsd.mh (NATDEPFILES): Remove infptrace.o and
220 inftarg.o. Add inf-ptrace.o.
221 (NAT_FILE): Remove.
222 * Makefile.in (hppabsd-nat.o): Update dependencies.
223
224 2005-04-17 Mark Kettenis <kettenis@gnu.org>
225
226 * pa64solib.c, pa64solib.h: Remove files.
227 * Makefile.in (pa64solib_h): Remove variable
228 (pa64solib.o): Remove dependency.
229
230 2005-04-16 Mark Kettenis <kettenis@gnu.org>
231
232 * ppcobsd-nat.c: Update copyright year. Include "inf-ptrace.h".
233 (ppcobsd_fetch_registers): Renamed from fetch_inferior_registers;
234 made static.
235 (ppcobsd_store_registers): Renamed from store_inferior_registers;
236 made static.
237 (_initialize_ppcobsd_nat): Construct and add target vector.
238 * config/powerpc/obsd.mh (NATDEPFILES): Remove infptrace.o and
239 inftarg.o. Add inf-ptrace.o.
240 (NAT_FILE): Remove.
241 * Makefile.in (ppcobsd-nat.o): Update dependencies.
242
243 * ppcobsd-tdep.c: Include "floatformat.h".
244 (ppcobsd_init_abi): Set long_double_bit and long_double_format.
245 * Makefile.in (ppcobsd-tdep.o): Update dependencies.
246
247 * ppcobsd-tdep.c: Fix typo in comment.
248 (_initialize_ppcobsd_tdep): Register GDB_OSABI_OPENBSD_ELF for
249 bfd_arch_rs6000 too.
250
251 2005-04-15 Kevin Buettner <kevinb@redhat.com>
252
253 * remote.c (remote_get_thread_local_address): Throw a more
254 meaningful exception when remote target doesn't have support
255 for the qGetTLSAddr packet.
256
257 2005-04-15 Kevin Buettner <kevinb@redhat.com>
258
259 * remote.c (remote_protocol_qGetTLSAddr): New static global variable.
260 (set_remote_protocol_qGetTLSAddr_packet_cmd)
261 (show_remote_protocol_qGetTLSAddr_packet_cmd)
262 (remote_get_thread_local_address): New functions.
263 (init_all_packet_configs): Initialize remote_protocol_qGetTLSAddr
264 variable.
265 (init_remote_ops): Initialize ``to_get_thread_local_address'' in
266 target vector.
267 (show_remote_cmd): Call show_remote_protocol_qGetTLS_Addr_packet_cmd().
268 (_initialize_remote): Register the following commands:
269 "set remote get-thread-local-storage-address-packet" and
270 "show remote get-thread-local-address-packet".
271
272 2005-04-15 Kevin Buettner <kevinb@redhat.com>
273
274 * remote.c (add_packet_config_cmd): Delete unused variables.
275
276 2005-04-15 Kevin Buettner <kevinb@redhat.com>
277
278 * remote.c (show_remote_protocol_vcont_packet_cmd )
279 (show_remote_protocol_qSymbol_packet_cmd)
280 (show_remote_protocol_P_packet_cmd)
281 (show_remote_protocol_Z_software_bp_packet_cmd)
282 (show_remote_protocol_Z_hardware_bp_packet_cmd)
283 (show_remote_protocol_Z_write_wp_packet_cmd)
284 (show_remote_protocol_Z_read_wp_packet_cmd)
285 (show_remote_protocol_Z_access_wp_packet_cmd)
286 (show_remote_protocol_binary_download_cmd)
287 (show_remote_protocol_qPart_auxv_packet_cmd)
288 (show_remote_protocol_p_packet_cmd ): Delete calls to
289 deprecated_show_value_hack().
290
291 2005-04-15 Corinna VInschen <vinschen@redhat.com>
292
293 * MAINTAINERS: Change sh64-elf state to non-broken.
294 * Makefile.in: Fix dependencies for sh64-tdep.o.
295 * configure.tgt: Add sh64-*-elf case.
296 * sh-tdep.c (sh_gdbarch_init): Reactivate bfd_mach_sh5 case.
297 * sh64-tdep.c: Rework to replace all deprecated mechanisms with
298 modern methods.
299 * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o.
300 * config/sh/sh64.mt: Resurrect.
301
302 2005-04-15 Kei Sakamoto <sakamoto.kei@renesas.com>
303
304 * regformats/reg-m32r.dat: New file.
305
306 2005-04-14 Daniel Jacobowitz <dan@codesourcery.com>
307
308 * arm-tdep.c (fp_model_strings): Add terminating NULL.
309 (arm_abi_strings, arm_abi_global, arm_abi_string): New
310 variables.
311 (arm_extract_return_value, arm_store_return_value): Don't use
312 arm_get_fp_model.
313 (arm_get_fp_model, arm_set_fp): Delete.
314 (arm_update_current_architecture): New function.
315 (set_fp_model_sfunc): Call arm_update_current_architecture.
316 (show_fp_model): Update output messages.
317 (arm_set_abi, arm_show_abi): New functions.
318 (arm_elf_osabi_sniffer): Only handle ELFOSABI_ARM.
319 (arm_gdbarch_init): Infer the object's ABI separately from its
320 OSABI. Search for a matching architecture. Honor the global
321 ABI and FPU settings. Set floating point format based on the
322 architecture.
323 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs):
324 Delete.
325 (_initialize_arm_tdep): Don't call gdbarch_register_osabi.
326 Create "arm set abi" command.
327 * arm-tdep.h (arm_get_fp_model): Delete prototype.
328 (enum arm_abi_kind): New type.
329 (struct gdbarch_tdep): Add arm_abi field.
330 * arm-linux-tdep.c (arm_linux_init_abi): Only override
331 tdep->fp_model if it is ARM_FLOAT_AUTO.
332 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Likewise.
333 (arm_netbsd_elf_init_abi): Likewise.
334 * defs.h (enum gdb_osabi): Delete ARM-specific OSABIs.
335 * osabi.c (gdb_osabi_name): Likewise.
336
337 2005-04-11 Daniel Jacobowitz <dan@codesourcery.com>
338
339 * config/djgpp/fnchange.lst: Remove entries for gdb.gdbserver.
340
341 2005-04-10 Mark Kettenis <kettenis@gnu.org>
342
343 * rs6000-tdep.c (ppc_supply_fpregset): Increment offset by 8 for
344 floating-point registers.
345 (ppc_collect_fpregset): Likewise. Fix collection of registers.
346
347 2005-04-09 Mark Kettenis <kettenis@gnu.org>
348
349 * ppcobsd-tdep.c: Update copyright year. Include "trad-frame.h"
350 and "tramp-frame.h".
351 (ppcobsd_sigtramp_cache_init): New function.
352 (ppcobsd_sigtramp): New variable.
353 (ppcobsd_init_abi): Prepend signal trampoline unwinder.
354 * Makefile.in (ppcobsd-tdep.o): Update dependencies.
355
356 2005-04-08 Andrew Cagney <cagney@gnu.org>
357
358 * MAINTAINERS (GDB/MI): Andrew Cagney, Elena Zannoni, and Fernando
359 Nasser have decided to step back from GDB/MI.
360
361 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
362
363 * config/fnchange.lst: Add testsuite/gdb.gdbserver entries.
364
365 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
366
367 * dwarf2-frame.c (struct dwarf2_frame_cache): New field
368 undefined_retaddr.
369 (dwarf2_frame_cache): Initialize undefined_retaddr.
370 (dwarf2_frame_this_id): Return an invalid frame ID if
371 undefined_retaddr.
372
373 2005-04-05 Jim Blandy <jimb@redhat.com>
374
375 Move construction of IA-32 vector types to i386-tdep.c.
376 * gdbtypes.c (build_builtin_type_vec64i,
377 build_builtin_type_vec128i): Delete functions.
378 (builtin_type_vec64i, builtin_type_vec128i): Delete variables.
379 (build_gdbtypes): Don't initialize them.
380 (_initialize_gdbtypes): Don't register GDBARCH swap entries for
381 them.
382 * gdbtypes.h (builtin_type_vec64i, builtin_type_vec128i): Delete
383 declarations.
384 (builtin_type_v2_float, builtin_type_v2_int32,
385 builtin_type_v4_int16, builtin_type_v8_int8,
386 builtin_type_v2_double, builtin_type_v4_float,
387 builtin_type_v2_int64, builtin_type_v4_int32,
388 builtin_type_v8_int16, builtin_type_v16_int8): Add extern
389 declarations.
390 * i386-tdep.c (i386_mmx_type, i386_sse_type): New variables.
391 (i386_build_mmx_type, i386_build_sse_type): New functions.
392 (i386_register_type): Call them, rather than referring to
393 builtin_type_vec64i and builtin_type_vec128i.
394
395 2005-04-02 Daniel Jacobowitz <dan@codesourcery.com>
396
397 * mips-linux-tdep.c (mips_linux_o32_sigframe_init): Adjust
398 big-endian correction code to not offset 32-bit registers.
399 Locate floating point registers correctly.
400
401 2005-04-02 Mark Kettenis <kettenis@gnu.org>
402
403 * main.c: Update copyright year.
404 (captured_main): Avoid using strcpy and strcat.
405
406 2005-04-01 Michael Snyder <msnyder@redhat.com>
407
408 * dummy-frame.c (dummy_frame_sniffer): Optimization: don't bother
409 computing this_id if there are no dummy frames on the stack.
410
411 * mn10300-tdep.c (mn10300_frame_unwind_cache): Use
412 find_partial_func instead of unwind_pc to identify frame.
413 (mn10300_push_dummy_call): Handle struct args, struct_return.
414
415 * mn10300-prologue.c (set_movm_offsets): Don't test variable
416 before setting it.
417 * mn10300-tdep.c (mn10300_skip_prologue): Use analyze_prologue
418 instead of skip_prologue_using_sal.
419
420 2005-03-31 Kevin Buettner <kevinb@redhat.com>
421
422 * solib-frv.c (struct lm_info): Add new field ``lm_addr''.
423 (main_lm_addr): New static global.
424 (frv_current_sos): Retain the link map address for each entry.
425 (frv_clear_solib): Clear main_lm_addr.
426 (frv_fetch_objfile_link_map): New function.
427 * frv-tdep.c (frv_gdbarch_init): Register TLS load module fetcher.
428 * frv-tdep.h (frv_fetch_objfile_link_map): Declare.
429
430 2005-03-31 Kevin Buettner <kevinb@redhat.com>
431
432 * gdbarch.sh (fetch_tls_load_module_address): New architecture method.
433 * gdbarch.c, gdbarch.h: Regenerate.
434 * dwarf2loc.c (dwarf_expr_tls_address): Fetch TLS load module
435 address and pass this address, instead of the objfile address, to
436 target_get_thread_local_address().
437 * linux-thread-db.c (thread_db_get_thread_local_address): Change
438 second parameter from type ``struct objfile *'' to CORE_ADDR. Do
439 not call svr4_fetch_objfile_link_map() to fetch the load module
440 address.
441 * target.h (struct target_ops): Change second parameter of
442 ``to_get_thread_local_address'' from ``struct objfile *'' to
443 ``CORE_ADDR''.
444 * alpha-linux-tdep.c (solib-svr4.h): Include.
445 (alpha_linux_init_abi): Register TLS load module fetcher.
446 * amd64-linux-tdep.c (amd64_linux_init_abi): Likewise.
447 * hppa-linux-tdep.c (hppa_linux_init_abi): Likewise.
448 * i386-linux-tdep.c (i386_linux_init_abi): Likewise.
449 * ia64-linux-tdep.c (solib-svr4.h): Include.
450 (ia64_linux_init_abi): Register TLS load module fetcher.
451 * m32r-linux-tdep.c (m32r_linux_init_abi): Likewise.
452 * m68klinux-tdep.c (m68k_linux_init_abi): Likewise.
453 * mips-linux-tdep.c (mips_linux_init_abi): Likewise.
454 * s390-tdep.c (s390_gdbarch_init): Likewise.
455 * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise.
456 * sparc64-linux-tdep.c (solib-svr4.h): Include.
457 (sparc64_linux_init_abi): Register TLS load module fetcher.
458 * Makefile.in (alpha-linux-tdep.o, ia64-linux-tdep.o)
459 (sparc-linux-tdep.o): Update dependencies.
460
461 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
462
463 * c-valprint.c (c_value_print): Fix up some formatting. Use
464 check_typedef.
465
466 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
467
468 * arm-linux-nat.c (store_register, store_regs): Handle
469 ARM_PS_REGNUM.
470
471 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
472
473 * arm-linux-tdep.c (arm_linux_thumb_be_breakpoint)
474 (arm_linux_thumb_le_breakpoint): New. Update comments.
475 (arm_linux_init_abi): Set Thumb breakpoints also.
476
477 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
478
479 * Makefile.in (arm-tdep.o): Update dependencies.
480 * arm-tdep.c: Include "objfiles.h" and "dwarf2-frame.h".
481 (arm_gdbarch_init): Register dwarf2_frame_sniffer.
482
483 2005-03-28 Joel Brobecker <brobecker@adacore.com>
484
485 * irix5-nat.c (supply_fpregset): Fix bug that caused the FSR
486 register value to be incorrectly written in the regcache.
487 (fill_fpregset): Fix bug that caused the FSR register value
488 to be incorrectly read from the regcache.
489
490 2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
491
492 * remote-rdi.c (arm_rdi_insert_breakpoint): Don't call
493 arm_pc_is_thumb_dummy.
494
495 2005-03-28 Mark Kettenis <kettenis@gnu.org>
496
497 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Handle
498 StackGhost.
499
500 * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
501 Handle StackGhost in 64-bit code.
502 * sparc64-tdep.c (sparc64_frame_prev_register): Handle StackGhost.
503
504 2005-03-27 Christopher Faylor <cgf@timesys.com>
505
506 * win32-nat.c (handle_exception): Treat win32 routines which check for
507 valid addresses as "special" and don't stop when a SEGV is detected.
508 (get_child_debug_event): Properly flag exception as unhandled.
509
510 2005-03-26 Daniel Jacobowitz <dan@codesourcery.com>
511
512 * cp-support.c (cp_class_name_from_physname): Rewrite.
513 (unqualified_name_from_comp): New function, broken out from
514 method_name_from_physname. Correct handling for typed names
515 and templates.
516 (method_name_from_physname): Use unqualified_name_from_comp.
517 (cp_func_name, remove_params): Move earlier in the file. Add
518 better comments. Use the component tree to parse the name.
519 (_initialize_cp_support): Remove stray whitespace.
520
521 2005-03-26 Mark Kettenis <kettenis@gnu.org>
522
523 * exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ.
524
525 * inflow.h: Update copyright year. Remove #ifdef SHORT_PGRP code.
526 Callapse HAVE_TERMIO and HAVE_SGTTY.
527
528 * dwarf2-frame.c (execute_cfa_program): Implement
529 DW_CFA_GNU_window_save.
530
531 2005-03-25 Mark Kettenis <kettenis@gnu.org>
532
533 * config/sparc/nbsd64.mh (NAT_FILE): Remove.
534
535 * config/i386/obsd64.mt (TDEPFILES): Add obsd-uthread.o.
536
537 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
538
539 * arm-tdep.c (target_is_thumb, caller_is_thumb)
540 (arm_pc_is_thumb_dummy): Remove.
541 (arm_breakpoint_from_pc): Don't call arm_pc_is_thumb_dummy.
542
543 2005-03-25 Anthony Green <green@redhat.com>
544
545 * remote.c (remote_store_registers): Fix memset usage.
546 * std-regs.c (value_of_builtin_frame_reg): Ditto.
547 (value_of_builtin_frame_fp_reg): Ditto.
548 (value_of_builtin_frame_reg): Ditto.
549
550 2005-03-25 Mark Mitchell <mark@codesourcery.com>
551
552 * ser-base.c (ser_unix_write): Rename to ...
553 (ser_base_write): ... this.
554 (ser_unix_nop_flush_output): Rename to ...
555 (ser_base_flush_output): ... this.
556 (ser_unix_flush_input): Rename to ...
557 (ser_base_flush_input): ... this.
558 (ser_unix_nop_send_break): Rename to ...
559 (ser_base_send_break): ... this.
560 (ser_unix_nop_drain_output): Rename to ...
561 (ser_base_drain_output): ... this.
562 (ser_unix_nop_raw): Rename to ...
563 (ser_base_raw): ... this.
564 (ser_unix_nop_get_tty_state): Rename to ...
565 (ser_base_set_tty_state): ... this.
566 (ser_unix_nop_noflush_set_tty_state): Rename to ...
567 (ser_base_noflush_set_tty_state): ... this.
568 (ser_unix_nop_print_tty_state): Rename to ...
569 (ser_base_print_tty_state): ... this.
570 (ser_unix_nop_setbaudrate): Rename to ...
571 (ser_base_setbaudrate): ... this.
572 (ser_unix_nop_setstopbits): Rename to ...
573 (ser_base_setstopbits): ... this.
574 (ser_unix_async): Rename to ...
575 (ser_base_async): ... this.
576 * ser-base.h (ser_unix_write): Rename to ...
577 (ser_base_write): ... this.
578 (ser_unix_nop_flush_output): Rename to ...
579 (ser_base_flush_output): ... this.
580 (ser_unix_flush_input): Rename to ...
581 (ser_base_flush_input): ... this.
582 (ser_unix_nop_send_break): Rename to ...
583 (ser_base_send_break): ... this.
584 (ser_unix_nop_drain_output): Rename to ...
585 (ser_base_drain_output): ... this.
586 (ser_unix_nop_raw): Rename to ...
587 (ser_base_raw): ... this.
588 (ser_unix_nop_get_tty_state): Rename to ...
589 (ser_base_set_tty_state): ... this.
590 (ser_unix_nop_noflush_set_tty_state): Rename to ...
591 (ser_base_noflush_set_tty_state): ... this.
592 (ser_unix_nop_print_tty_state): Rename to ...
593 (ser_base_print_tty_state): ... this.
594 (ser_unix_nop_setbaudrate): Rename to ...
595 (ser_base_setbaudrate): ... this.
596 (ser_unix_nop_setstopbits): Rename to ...
597 (ser_base_setstopbits): ... this.
598 (ser_unix_async): Rename to ...
599 (ser_base_async): ... this.
600 * ser-pipe.c (_initialize_ser_pipe): Update accordingly.
601 * ser-tcp.c (_initialize_ser_tcp): Likewise.
602 * ser-unix.c (hardwire_flush_input): Likewise.
603 (_initializer_ser_hardwire): Likewise.
604
605 * Makefile.in (SFILES): Add ser-base.c.
606 (ser_base_h): New variable.
607 (ser-base.o): New target.
608 (ser-pipe.o): Depend on $(ser_base_h).
609 (ser-tcp.o): Likewise.
610 (ser-unix.o): Likewise. Do not depend on $(event_loop_h).
611 * configure.ac (SER_HARDWIRE): Include ser-base.o where
612 appropriate.
613 * ser-base.c: New file.
614 (push_event): Move from ser-unix.c.
615 (fd_event): Likewise.
616 (reschedule): Likewise.
617 (ser_unix_write): Likewise.
618 (ser_unix_nop_flush_output): Likewise.
619 (ser_unix_flush_input): Likewise.
620 (ser_unix_nop_send_break): Likewise.
621 (ser_unix_nop_drain_output): Likewise.
622 (ser_unix_nop_raw): Likewise.
623 (ser_unix_nop_get_tty_state): Likewise.
624 (ser_unix_nop_set_tty_state): Likewise.
625 (ser_unix_nop_noflush_set_tty_state): Likewise.
626 (ser_unix_nop_print_tty_state): Likewise.
627 (ser_unix_nop_setbaudrate): Likewise.
628 (ser_unix_nop_setstopbits): Likewise.
629 (ser_unix_async): Likewise.
630 * ser-base.h: New file.
631 * ser-pipe.c (ser-base.h): Include it.
632 * ser-tcp.c (ser-base.h): Likewise.
633 * ser-unix.h (ser_unix_nop_flush_output): Remove.
634 (ser_unix_flush_input): Likewise.
635 (ser_unix_nop_send_break): Likewise.
636 (ser_unix_nop_raw): Likewise.
637 (ser_unix_nop_get_tty_state): Likewise.
638 (ser_unix_nop_set_tty_state): Likewise.
639 (ser_unix_nop_print_tty_state): Likewise.
640 (ser_unix_nop_noflush_set_tty_state): Likewise.
641 (ser_unix_nop_setbaudrate): Likewise.
642 (ser_unix_nop_setstopbits): Likewise.
643 (ser_unix_nop_drain_output): Likewise.
644 (ser_unix_wait_for): Likewise.
645 (ser_unix_write): Likewise.
646 (ser_unix_async): Likewise.
647 * ser-unix.c (event-loop.h): Do not include it.
648 (push_event): Move to ser-base.c.
649 (fd_event): Likewise.
650 (reschedule): Likewise.
651 (ser_unix_write): Likewise.
652 (ser_unix_nop_flush_output): Likewise.
653 (ser_unix_flush_input): Likewise.
654 (ser_unix_nop_send_break): Likewise.
655 (ser_unix_nop_drain_output): Likewise.
656 (ser_unix_nop_raw): Likewise.
657 (ser_unix_nop_get_tty_state): Likewise.
658 (ser_unix_nop_set_tty_state): Likewise.
659 (ser_unix_nop_noflush_set_tty_state): Likewise.
660 (ser_unix_nop_print_tty_state): Likewise.
661 (ser_unix_nop_setbaudrate): Likewise.
662 (ser_unix_nop_setstopbits): Likewise.
663 (ser_unix_async): Likewise.
664 (ser_unix_wait_for): Make it static.
665 * configure: Regenerated.
666
667 2005-03-25 Mark Kettenis <kettenis@gnu.org>
668
669 * dwarf2-frame.h: Update copyrigh year.
670 (enum dwarf2_frame_reg_rule): Add DWARF2_FRAME_REG_RA_OFFSET.
671 * dwarf2-frame.c: Update copyright year.
672 (struct dwarf2_frame_cache): Add member `retaddr_reg'.
673 (dwarf2_frame_cache): Deal with DWARF2_FRAME_REG_RA_OFFSET.
674 (dwarf2_frame_prev_register): Handle DWARF2_FRAME_REG_RA_OFFSET.
675
676 2005-03-23 Martin Hunt <hunt@redhat.com>
677
678 * configure.ac: Remove -fwritable-strings from CFLAGS.
679 * configure: Regenerate.
680
681 2005-03-21 Michael Snyder <msnyder@redhat.com>
682
683 * mn10300-prologue.c (fix_frame_pointer): Delete.
684 (set_movm_offsets) Don't return just because movm_args is
685 zero -- still need to save pc and sp in saved_regs.
686 (mn10300_analyze_prologue): Don't return prematurely without
687 calling set_movm_offsets (for pc and sp at minimum).
688
689 2005-03-21 Mark Mitchell <mark@codesourcery.com>
690
691 * configure.ac (stat.st_blksize): Check for it.
692 (getuid): Likewise.
693 (getgid): Likewise.
694 * configure: Regenerated.
695 * config.in: Likewise.
696 * remote-fileio.c (remote_fileio_to_fio_stat): Check
697 HAVE_STRUCT_STAT_ST_BLKSIZE.
698
699 2005-03-21 Christopher Faylor <cgf@timesys.com>
700
701 * win32-nat.c (do_initial_child_stuff): Don't clear the thread list
702 here.
703 (do_initial_child_stuff): Move clearing of thread list to a place
704 before a thread ould be created.
705 (child_attach): Ditto.
706
707 2005-03-21 Michael Snyder <msnyder@redhat.com>
708
709 * mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr
710 instead of pc addr for frame_id. Otherwise "until" won't work.
711
712 2005-03-21 Kevin Buettner <kevinb@redhat.com>
713
714 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
715 comment.
716
717 2005-03-20 Mark Kettenis <kettenis@gnu.org>
718
719 * dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
720 * varobj.c (my_value_equal): Mark val2 as volatile.
721
722 * cp-names.y: Add prototype for yyparse.
723
724 2005-03-19 Daniel Jacobowitz <dan@codesourcery.com>
725
726 * dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
727 * gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
728 VALADDR.
729
730 2005-03-18 Kevin Buettner <kevinb@redhat.com>
731
732 * Makefile.in (dwarf2loc.o, linux-thread-db.o): Add dependencies.
733 * exceptions.h (TLS_NO_LIBRARY_SUPPORT_ERROR, TLS_GENERIC_ERROR)
734 (TLS_LOAD_MODULE_NOT_FOUND_ERROR, TLS_NOT_ALLOCATED_YET_ERROR):
735 New error/exception enums.
736 * dwarf2loc.c (exceptions.h): Include.
737 (dwarf_expr_tls_address): Invoke target_get_thread_local_address()
738 via TRY_CATCH mechanism. Print error messages for TLS related
739 exceptions.
740 * linux-thread-db.c (thread_db_get_thread_local_address): Throw
741 exceptions instead of printing errors.
742
743 2005-03-18 Mark Kettenis <kettenis@gnu.org>
744
745 * utils.c (safe_strerror): Use xsnprintf instead of sprintf.
746 (decimal2str, octal2str): Change to return a string allocated by
747 get_cell. Use xsnprint instead of snprintf.
748 (paddr_u, paddr_d): Adjust for changed calling convention of
749 decimal2str.
750 (phex, phex_nz, hex_string): Use xsnprintf instead of snprintf.
751 (int_string): Likewise. Adjust for changed calling convention of
752 decimal2str and octal2str.
753
754 2005-03-18 Kevin Buettner <kevinb@redhat.com>
755
756 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
757 Adjust incorrectly computed constant for realtime signal frame.
758
759 2005-03-18 Mark Kettenis <kettenis@gnu.org>
760
761 From Ralf Corsepius <ralf.corsepius@rtems.org>
762 * configure.tgt: Add m68*-*-rtems*.
763
764 2005-03-17 Mark Kettenis <kettenis@gnu.org>
765
766 * defs.h (xsnprintf): New prototype.
767 * utils.c (xsnprintf): New function.
768
769 * corelow.c (get_core_register_section): Replace usage of sprintf
770 and strcpy with xstrprintf and xstrdup.
771
772 * mips-tdep.c (mips_single_step_through_delay): Put back check for
773 breakpoint lost with the introduction of this function.
774
775 2005-03-17 Paul Brook <paul@codesourcery.com>
776
777 * amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
778 * s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.
779
780 2005-03-16 Mark Mitchell <mark@codesourcery.com>
781
782 * event-top.c (handle_sigquit): Do not define for systems without
783 SIGQUIT.
784 (sigquit_token): Likewise.
785 (async_init_signals): Allow for systems that do not
786 define SIGQUIT.
787 * ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
788
789 2005-03-15 Mark Mitchell <mark@codesourcery.com>
790
791 * utils.c (internal_vproblem): Guard call to fork with
792 HAVE_WORKING_FORK.
793 * cli/cli-cmds.c (shell_escape): Guard call to vfork with
794 HAVE_WORKING_VFORK and HAVE_WORKING_FORK.
795
796 * remote-fileo.c (remote_fileio_mode_to_host): Accomodate lack of
797 S_IRGRP and related macros.
798 (remote_fileio_mode_to_target): Likewise.
799
800 2005-03-14 Ben Elliston <bje@au.ibm.com>
801
802 * Makefile.in (CLIBS): Link libbfd after libopcodes, as it is a
803 more primitive library.
804
805 2005-03-13 Mark Kettenis <kettenis@gnu.org>
806
807 * inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
808 sprintf.
809 * target.c (normal_pid_to_str): Likewise.
810 * remote.c (remote_pid_to_str): Use snprint instead of sprintf.
811 Change capitalization of "thread". Use ptid_get_pid instead of
812 GETPID.
813
814 * cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead of
815 a combination of xmalloc and sprintf.
816
817 2005-03-13 Jim Blandy <jimb@redhat.com>
818
819 * configure.ac: Use '=', not '=='; the latter is a GNU extension.
820 * configure: Regenerated.
821
822 2005-03-11 Michael Snyder <msnyder@redhat.com>
823
824 * mn10300-tdep.c (mn10300_dummy_unwind_dummy_id): Replace
825 stub fn with real implementatin mn10300_unwind_dummy_id.
826 (mn10300_push_dummy_call): Implement. Bare bones version,
827 does not handle structs or floats.
828
829 2005-03-11 Jim Blandy <jimb@redhat.com>
830
831 Avoid warnings due to the use of -Wuninitialized without -O.
832 * configure.ac (build_warnings): Include -Wuninitialized only if
833 CFLAGS is unset at configure time, or CFLAGS is set and includes
834 some -O option other than -O0.
835 * configure: Regenerated.
836
837 * mips-tdep.c (show_mips_abi): Change calling conventions to match
838 those expected by add_setshow_enum_cmd. Use 'file' argument as
839 appropriate.
840
841 2005-03-10 Daniel Jacobowitz <dan@codesourcery.com>
842
843 * Makefile.in (SFILES): Add cp-names.y.
844 (libiberty_h, safe_ctype_h): New.
845 (YYFILES): Add cp-names.c.
846 (YYOBJ): Add cp-names.o.
847 (test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules.
848 (clean): Remove test-cp-names$(EXEEXT).
849 (local-maintainer-clean): Remove cp-names.c.
850 * cp-names.y: New file.
851 * cp-support.c (find_last_component): Delete.
852 (d_left, d_right): Define.
853 (cp_canonicalize_string, mangled_name_to_comp): New functions.
854 (cp_class_name_from_physname, method_name_from_physname): Rewrite
855 to use mangled_name_to_comp.
856 * cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp)
857 (cp_comp_to_string): New prototypes.
858 * config/djgpp/fnchange.lst: Add cp-names.c.
859
860 2005-03-10 Bob Rossi <bob@brasko.net>
861
862 * main.c (print_gdb_help): Remove the --[no]async help message.
863
864 2005-03-10 Mark Kettenis <kettenis@gnu.org>
865
866 * proc-api.c: Update copyright year.
867 (_initialize_proc_api): Revert previous patch, removing spurious
868 space instead.
869
870 2005-03-09 Joel Brobecker <brobecker@adacore.com>
871
872 * regcache.c: Fix typo in comment.
873
874 2005-03-09 David Lecomber <david@lecomber.net>
875
876 * proc-api.c (_initialize_proc_api): Fix invalid multi-line
877 i18n text.
878
879 2005-03-09 Mark Kettenis <kettenis@gnu.org>
880
881 * sparc-tdep.c (sparc_frame_cache): Adjust cached frame base
882 address for 64-bit code.
883 (sparc_unwind_dummy_id): Likewise.
884 * sparc64-tdep.c (sparc64_frame_prev_register): Adjust for new
885 frame base address convention.
886 (sparc64_push_dummy_call): Likewise.
887 * sparc64nbsd-tdep.c: Update copyright year.
888 (sparc64nbsd_sigcontext_frame_cache): Adjust cached frame base
889 address for 64-bit code.
890 (sparc64nbsd_init_abi): Tweak comment.
891 * sparc64obsd-tdep.c: Update copyright year.
892 (sparc64obsd_frame_cache): Adjust cached frame base address for
893 64-bit code.
894 (sparc64obsd_init_abi): Tweak comment.
895
896 2005-03-09 Corinna Vinschen <vinschen@redhat.com>
897
898 * exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.
899
900 2005-03-09 Joel Brobecker <brobecker@adacore.com>
901
902 * dwarf2read.c (dwarf_decode_lines): Use the complete filename
903 when creating include psymtabs.
904
905 2005-03-08 Mark Mitchell <mark@codesourcery.com>
906
907 * environ.h (struct environ): Rename to ...
908 (struct gdb_environ): ... this.
909 (make_environ): Update prototype.
910 (free_environ): Likewise.
911 (init_environ): Likewise.
912 (get_in_environ): Likewise.
913 (set_in_environ): Likewise.
914 (unset_in_environ): Likewise.
915 (environ_vector): Likewise.
916 * environ.c (make_environ): Replace "struct environ" with "struct
917 gdb_environ".
918 (free_environ): Likewise.
919 (init_environ): Likewise.
920 (environ_vector): Likewise.
921 (get_in_environ): Likewise.
922 (set_in_environ): Likewise.
923 (unset_in_environ): Likewise.
924 * infcmd.c (inferior_environ): Likewise.
925 * inferior.h (inferior_environ): Likewise.
926
927 2005-03-08 Joel Brobecker <brobecker@adacore.com>
928
929 * infcmd.c (run_command_1): New function, extracted from
930 run_command.
931 (run_command): Replace implementation by call to run_command_1.
932 (start_command): Use run_command_1 to insert the temporary
933 breakpoint and run the program. Remove code that's no longer
934 needed, as already done at the proper time by run_command_1.
935
936 2005-03-08 Daniel Jacobowitz <dan@codesourcery.com>
937
938 * symfile.c (clear_symtab_users): Call
939 clear_current_source_symtab_and_line first.
940
941 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
942
943 * ax-gdb.c (gen_expr): Add UNOP_PLUS case.
944 * c-exp.y (exp): Add unary plus.
945 * eval.c (evaluate_subexp_standard): Add UNOP_PLUS case.
946 * valarith.c (value_x_unop): Add UNOP_PLUS case.
947 (value_pos): New.
948 * value.h (value_pos): Declare.
949
950 * remote.c (MIN_REMOTE_PACKET_SIZE): Set to 20.
951 (remote_fetch_registers): Allow uppercase hex when resyncing.
952 (remote_write_bytes): Only call get_memory_write_packet_size once.
953 Robustify packet size calculation for very small packets. Check
954 that at least one byte will be written.
955
956 * tracepoint.c (target_is_remote): Allow extended-remote.
957 (struct collection_list): Allow 256 registers, like the comment
958 said.
959 (add_memrange): Fix comment.
960 (read_actions): Turn EOF into 'end'.
961
962 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
963
964 * Makefile.in: Add dependencies for iq2000-tdep.o.
965 * configure.tgt: Add iq2000-*-* target.
966 * iq2000-tdep.c: New file.
967 * config/iq2000/iq2000.mt: New file.
968
969 2005-03-07 Joel Brobecker <brobecker@adacore.com>
970
971 * doc/observer.texi (executable_changed): New observer.
972 * symtab.c: Include "observer.h".
973 (find_main_name): New function.
974 (main_name): If name_of_main is unset, then compute it
975 using find_main_name.
976 (symtab_observer_executable_changed): New function.
977 (_initialize_symtab): Attach executable_changed observer.
978 * exec.c: Include "observer.h".
979 (exec_file_attach): Emit executable_changed notification.
980 * symfile.c: Include "observer.h".
981 (reread_symbols): Send an executable_changed if appropriate.
982 * Makefile.in (exec.o): Add dependency on observer.h.
983 (symfile.o): Likewise.
984 (symtab.o): Likewise.
985
986 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
987
988 * findvar.c (read_var_value): Don't allocate V when it will not
989 be used. Add missing break for LOC_INDIRECT.
990
991 2005-03-06 Mark Kettenis <kettenis@gnu.org>
992
993 * sparc64fbsd-tdep.c: Include "solib-svr4.h".
994 (sparc64fbsd_init_abi): Set skip_trampoline_code and
995 solib_svr4_fetch_link_map_offsets.
996 * Makefile.in (sparc64fbsd-tdep.o): Update dependencies.
997
998 2005-03-06 Daniel Jacobowitz <dan@codesourcery.com>
999
1000 * linux-nat.c (child_follow_fork): Call target_terminal_ours before
1001 printing output. Use fprintf_unfiltered. Only print output when
1002 debugging.
1003
1004 2005-03-05 Mark Kettenis <kettenis@gnu.org>
1005
1006 * sparc64-tdep.c (sparc64_store_floating_fields): Constify third
1007 argument.
1008 (sparc64_store_arguments): Constify.
1009
1010 2005-03-05 Mark Kettenis <kettenis@gnu.org>
1011
1012 * alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h".
1013 (alphabsd_fetch_inferior_registers): Rename from
1014 fetch_inferior_registers. Make static.
1015 (alphabsd_store_inferior_registers): Rename from
1016 store_inferior_registers. Make static.
1017 (_initialize_alphabsd_nat): New function.
1018 * Makefile.in (alphabsd-nat.o): Update dependencies.
1019 * config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and
1020 inftarg.o. Add inf-ptrace.o, fbsd-nat.o and gcore.o.
1021 * config/alpha/nbsd.mh (NAT_CLIBS): Remove variable.
1022 (NATDEPFILES): Remove infptrace.o and inftarg.o. Add
1023 alphabsd-nat.o.
1024 * config/alpha/nm-fbsd.h: Update copyright year. Don't include
1025 "config/nm-bsd.h" and "elf/common.h".
1026 * config/alpha/nm-nbsd.h: Update copyright year. Don't include
1027 "config/nm-nbsd.h".
1028
1029 * mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
1030 software_single_step.
1031
1032 2005-03-04 Michael Snyder <msnyder@redhat.com>
1033
1034 * mn10300-prologue.c: New file. Prologue analysis.
1035 * mn10300-tdep.c: Move REGNUM values to mn10300-tdep.h.
1036 (mn10300_frame_unwind_cache): Don't call trad_frame_set_id
1037 until after analyze_prologue, and don't call trad_frame_set_base
1038 at all (let analyze_prologue do it).
1039
1040 2005-03-04 Michael Snyder <msnyder@redhat.com>
1041
1042 * trad-frame.c (trad_frame_set_reg_value): New function.
1043 * trad-frame.h (trad_frame_set_reg_value): Export.
1044
1045 2005-03-04 Daniel Jacobowitz <dan@codesourcery.com>
1046
1047 * Makefile.in (remote.o): Update dependencies.
1048 * remote.c: Include "observer.h".
1049
1050 2005-03-04 Daniel Jacobowitz <dan@codesourcery.com>
1051
1052 * target.c (target_read_memory_partial): Always initialize
1053 ERR.
1054 (target_write_memory_partial): Likewise.
1055
1056 2005-03-03 Daniel Jacobowitz <dan@codesourcery.com>
1057
1058 * remote.c (remote_open_1): Call observer_notify_inferior_created.
1059
1060 2005-03-03 Daniel Jacobowitz <dan@codesourcery.com>
1061
1062 * arm-tdep.c (arm_make_stub_cache, arm_stub_this_id)
1063 (arm_stub_unwind, arm_stub_unwind_sniffer): New.
1064 (arm_gdbarch_init): Add arm_stub_unwind_sniffer.
1065
1066 2005-03-02 Daniel Jacobowitz <dan@codesourcery.com>
1067
1068 * linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):
1069 Use LWP IDs.
1070
1071 2005-02-28 Daniel Jacobowitz <dan@codesourcery.com>
1072
1073 * dwarf2loc.c (loclist_read_variable): Set optimized_out
1074 instead of reporting an error.
1075 * valprint.c (value_check_printable): New function.
1076 (common_val_print): New function. Use value_check_printable.
1077 (value_print): Use value_check_printable.
1078 * value.h (common_val_print): Add prototype.
1079
1080 * c-valprint.c (c_val_print): Use common_val_print.
1081 * cp-valprint.c (cp_print_value_fields): Likewise.
1082 (cp_print_hpacc_virtual_table_entries): Likewise.
1083 * f-valprint.c (f_val_print): Likewise.
1084 * jv-valprint.c (java_value_print, java_print_value_fields):
1085 Likewise.
1086 * scm-valprint.c (scm_value_print): Likewise.
1087 * stack.c (print_frame_args): Likewise.
1088 * varobj.c (c_value_of_variable): Likewise.
1089 * p-valprint.c (pascal_val_print, pascal_value_print): Likewise.
1090 (pascal_object_print_value_fields): Likewise. Update call to
1091 pascal_object_print_static_field.
1092 (pascal_object_print_static_field): Remove TYPE argument. Use
1093 common_val_print.
1094
1095 2005-02-25 Mark Kettenis <kettenis@gnu.org>
1096
1097 Committed by Elena Zannoni <ezannoni@redhat.com>
1098
1099 * dwarf2read.c (dwarf2_build_psymtabs_hard): Adjust
1100 info_ptr before building psymtabs for included files.
1101 (create_all_comp_units): Initailize initial length size of
1102 compilation header to zero.
1103 (read_initial_length): Complain if both 32-bit and 64-bit DWARF
1104 sections are encountered within the same compilation header.
1105 (dwarf_decode_line_header): Pass compilation header in call to
1106 read_initial_length.
1107
1108 2005-02-24 Andrew Cagney <cagney@gnu.org>
1109
1110 Add show_VARIABLE functions, update add_setshow call.
1111 * varobj.c (_initialize_varobj, show_varobjdebug): Add and update.
1112 * valprint.c (_initialize_valprint, show_print_max)
1113 (show_stop_print_at_null, show_repeat_count_threshold)
1114 (show_prettyprint_structs, show_unionprint)
1115 (show_prettyprint_arrays, show_addressprint, show_input_radix)
1116 (show_output_radix): Ditto.
1117 * valops.c (_initialize_valops, show_overload_resolution): Ditto.
1118 * utils.c (initialize_utils, show_chars_per_line)
1119 (show_lines_per_page, show_demangle, show_pagination_enabled)
1120 (show_sevenbit_strings, show_asm_demangle): Ditto
1121 * tui/tui-win.c (_initialize_tui_win, show_tui_border_kind)
1122 (show_tui_border_mode, show_tui_active_border_mode): Ditto.
1123 * top.c (init_main, show_new_async_prompt)
1124 (show_async_command_editing_p, show_write_history_p)
1125 (show_history_size, show_history_filename, show_caution)
1126 (show_annotation_level, init_main): Ditto.
1127 * target.c (initialize_targets, show_targetdebug)
1128 (show_trust_readonly): Ditto.
1129 * symfile.c (_initialize_symfile, show_symbol_reloading)
1130 (show_ext_args, show_download_write_size)
1131 (show_debug_file_directory): Ditto.
1132 * source.c (_initialize_source, show_lines_to_list): Ditto.
1133 * solib.c (_initialize_solib, show_auto_solib_add)
1134 (show_solib_search_path): Ditto.
1135 * p-valprint.c (_initialize_pascal_valprint)
1136 (show_pascal_static_field_print): Ditto.
1137 * printcmd.c (_initialize_printcmd, show_max_symbolic_offset)
1138 (show_print_symbol_filename): Add and update.
1139 * parse.c (_initialize_parse, show_expressiondebug): Dito.
1140 * observer.c (_initialize_observer, show_observer_debug): Dito.
1141 * maint.c (_initialize_maint_cmds, show_watchdog)
1142 (show_maintenance_profile_p): Dito.
1143 * linux-nat.c (_initialize_linux_nat, show_debug_linux_nat): Dito.
1144 * infrun.c (_initialize_infrun, show_debug_infrun)
1145 (show_stop_on_solib_events, show_follow_fork_mode_string)
1146 (show_scheduler_mode, show_step_stop_if_no_debug): Ditto.
1147 * infcall.c (_initialize_infcall, show_coerce_float_to_double_p)
1148 (show_unwind_on_signal_p): Ditto.
1149 * gdbtypes.c (build_gdbtypes, show_opaque_type_resolution)
1150 (_initialize_gdbtypes, show_overload_debug): Ditto.
1151 * gdb-events.c, gdb-events.sh (_initialize_gdb_events)
1152 (show_gdb_events_debug): Ditto.
1153 * gdbarch.c, gdbarch.sh (show_gdbarch_debug)
1154 (_initialize_gdbarch): Ditto.
1155 * frame.c (_initialize_frame, show_backtrace_past_main)
1156 (show_backtrace_past_entry, show_backtrace_limit)
1157 (show_frame_debug): Ditto.
1158 * exec.c (_initialize_exec, show_write_files): Ditto.
1159 * dwarf2read.c (_initialize_dwarf2_read)
1160 (show_dwarf2_max_cache_age): Ditto.
1161 * demangle.c (_initialize_demangler)
1162 (show_demangling_style_names): Ditto.
1163 * dcache.c (_initialize_dcache, show_dcache_enabled_p): Ditto.
1164 * cp-valprint.c (show_static_field_print)
1165 (_initialize_cp_valprint, show_vtblprint, show_objectprint): Ditto.
1166 * corefile.c (_initialize_core, show_gnutarget_string): Ditto.
1167 * cli/cli-logging.c (_initialize_cli_logging)
1168 (show_logging_overwrite, show_logging_redirect)
1169 (show_logging_filename): Ditto.
1170 * cli/cli-cmds.c (show_info_verbose, show_history_expansion_p)
1171 (init_cli_cmds, show_baud_rate, show_remote_debug)
1172 (show_remote_timeout, show_max_user_call_depth): Ditto.
1173 * charset.c (show_host_charset_name, show_target_charset_name)
1174 (initialize_charset): Ditto.
1175 * breakpoint.c (show_can_use_hw_watchpoints)
1176 (show_pending_break_support, _initialize_breakpoint): Ditto.
1177
1178 2005-02-23 Jim Blandy <jimb@redhat.com>
1179
1180 * disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.
1181
1182 2005-02-23 Andrew Cagney <cagney@gnu.org>
1183
1184 * cli/cli-dump.c (dump_bfd_file): Replace magic constant with
1185 SEC_XXX flags.
1186
1187 2005-02-22 Andrew Cagney <cagney@gnu.org>
1188
1189 * configure.ac: Only enaable insight when itcl is present.
1190 * configure: Re-generate.
1191
1192 2005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1193
1194 Committed by Andrew Cagney.
1195 * infptrace.c (store_register): Fix typo.
1196
1197 2005-02-21 Andrew Cagney <cagney@gnu.org>
1198
1199 * command.h (deprecated_add_set_cmd): Rename add_set_cmd.
1200 * cli/cli-decode.h (add_set_cmd): Delete declaration.
1201 * cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd.
1202 * i386-nat.c (_initialize_i386_nat): Update call.
1203 * valprint.c (_initialize_valprint): Update comment.
1204 * gnu-nat.c (_initialize_gnu_nat): Update call.
1205
1206 2005-02-21 Alan Modra <amodra@bigpond.net.au>
1207
1208 * elfread.c (elf_symtab_read): Discard section syms.
1209
1210 2005-02-21 Andrew Cagney <cagney@gnu.org>
1211
1212 * cli/cli-decode.c (add_set_enum_cmd): Delete function.
1213 (deprecated_add_show_from_set): Delete function.
1214 * command.h (add_set_enum_cmd): Delete declaration.
1215 (deprecated_add_show_from_set): Delete declaration.
1216 * cli/cli-decode.h (add_set_enum_cmd): Delete declaration.
1217 (deprecated_add_show_from_set): Delete declaration.
1218 * arm-tdep.c (_initialize_arm_tdep): Update comment.
1219 * kod.c (kod_set_os): Simplify.
1220 * infrun.c (set_schedlock_func): Simplify.
1221 * cli/cli-dump.c (add_dump_command): Update comment.
1222
1223 Replace string variables with a filename completer with
1224 add_setshow_optional_filename_cmd.
1225 * solib.c, symfile.c: Update.
1226 * cli/cli-setshow.c: Do not tidle expand the file.
1227
1228 Add more uses of add_setshow_string_cmd, add_setshow_integer_cmd,
1229 and add_setshow_string_noescape_cmd.
1230 * cli/cli-setshow.c (deprecated_show_value_hack): Do not print a
1231 NULL command's value.
1232 * kod.c, language.c, ocd.c, remote-e7000.c, remote-mips.c: Update.
1233 * remote-sds.c, remote.c, symfile.c, top.c: Update.
1234
1235 2005-02-20 Andrew Cagney <cagney@gnu.org>
1236
1237 Use add_setshow_enum_cmd through out.
1238 * arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update.
1239 * infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update.
1240
1241 * mi/mi-main.c (captured_mi_execute_command): Use
1242 mi_cmd_interpreter_exec.
1243
1244 * cli/cli-decode.c (add_setshow_optional_filename_cmd): New
1245 function.
1246 * cli/cli-setshow.c (deprecated_show_value_hack)
1247 (do_setshow_command): Handle var_optional_filename.
1248 * command.h (enum var_types): Add var_optional_filename.
1249 (add_setshow_optional_filename_cmd): Declare.
1250 * infcmd.c (notice_args_read): Use.
1251
1252 * symfile-mem.c (symbol_file_add_from_memory): Pass
1253 target_read_memory to bfd_elf_bfd_from_remote_memory.
1254 (do_target_read_memory): Delete.
1255
1256 2005-02-16 Mark Kettenis <kettenis@gnu.org>
1257
1258 * value.h (value_contents_equal): New prototype.
1259 * value.c (value_contents_equal): New function.
1260 * varobj.c: Include "exceptions.h" and "gdb_assert.h". Don't
1261 include <math.h>.
1262 (varobj_set_value): Initialize error to zero.
1263 (varobj_update): Rename error2 to error and initialize it to zero.
1264 Slightly change the wording of some comments.
1265 (my_value_equal): Reimplement using TRY_CATCH and
1266 value_contents_equal.
1267
1268 2005-02-18 Andrew Cagney <cagney@gnu.org>
1269
1270 * cli/cli-decode.c (add_setshow_integer_cmd): New function.
1271 * command.h (add_setshow_integer_cmd): Declare.
1272 * cli/cli-cmds.c: Update.
1273
1274 Use add_setshow_uinteger_cmd through out.
1275 * printcmd.c, source.c, utils.c, valprint.c: Update.
1276
1277 Use add_setshow_zinteger_cmd through out. Re-sync gdbarch.sh
1278 and gdbarch.c.
1279 * breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update.
1280 * gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update.
1281 * pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update.
1282 * serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update.
1283 * varobj.c, cli/cli-cmds.c: Update.
1284 * gdbarch.c, gdb-events.c: Regenerate.
1285
1286 Use add_setshow_boolean_command through out. Delete #ifdef 0'ed
1287 code adding set/show boolean commands.
1288 * cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
1289 * monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update.
1290 * proc-api.c, remote-mips.c, remote.c, solib.c: Update.
1291 * somsolib.c, symfile.c, top.c, utils.c, valops.c: Update.
1292 * valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update.
1293 * cli/cli-cmds.c: Update.
1294
1295 2005-02-17 Andrew Cagney <cagney@gnu.org>
1296
1297 * cli/cli-decode.c (add_setshow_filename_cmd): Set the completer
1298 to filename_completer.
1299 * solib.c (_initialize_solib, reload_shared_libraries): Use
1300 add_setshow_filename_cmd.
1301 * serial.c (_initialize_serial): Ditto.
1302 * remote-utils.c (_initialize_sr_support): Ditto.
1303
1304 * cli/cli-decode.c (add_setshow_string_noescape_cmd): New function.
1305 * command.h (add_setshow_string_noescape_cmd): Declare.
1306 * wince.c (_initialize_wince): Use.
1307 * symfile.c (_initialize_symfile): Use.
1308 (set_ext_lang_command): Update declaration.
1309 * corefile.c (_initialize_core): Use.
1310
1311 * cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd)
1312 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
1313 (add_setshow_filename_cmd, add_setshow_string_cmd)
1314 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
1315 fprint_setshow parameter.
1316 * command.h (fprint_setshow_ftype): Delete.
1317 (add_setshow_cmd_full, add_setshow_enum_cmd)
1318 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
1319 (add_setshow_filename_cmd, add_setshow_string_cmd)
1320 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
1321 fprint_setshow parameter.
1322 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
1323 * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update.
1324 * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update.
1325 * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update
1326 * remote.c, target.c, cli/cli-logging.c: Update.
1327
1328 2005-02-16 Andrew Cagney <cagney@gnu.org>
1329
1330 Merge setshow print and show parameters.
1331 * command.h (show_value_ftype): Define.
1332 (deprecated_show_value_hack): Declare.
1333 (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
1334 (add_setshow_boolean_cmd, add_setshow_filename_cmd)
1335 (add_setshow_string_cmd, add_setshow_uinteger_cmd)
1336 (add_setshow_zinteger_cmd): Change type of show_func to
1337 show_value_ftype.
1338 * cli/cli-decode.h (struct cmd_list_element): Replace
1339 fprint_setshow with show_value_func.
1340 * cli/cli-decode.c (add_setshow_cmd_full): Update show_func
1341 parameter. Set show_value_func. Do not set cmd_sfunc.
1342 (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
1343 (add_setshow_boolean_cmd, add_setshow_filename_cmd)
1344 (add_setshow_string_cmd, add_setshow_uinteger_cmd)
1345 (add_setshow_zinteger_cmd): Update.
1346 * complaints.c (complaints_show_value): Replace
1347 fprint_setshow_complaints.
1348 (_initialize_complaints): Update.
1349 * mips-tdep.c (show_mask_address): Update.
1350 * arm-tdep.c (show_fp_model): Update.
1351 * cli/cli-setshow.c (do_setshow_command): Call show_value_func
1352 instead of fprint_setshow. Use deprecated_show_value_hack.
1353 (deprecated_show_value_hack): New function.
1354 * remote.c (add_packet_config_cmd, show_remote_cmd):
1355 (show_remote_protocol_P_packet_cmd)
1356 (show_remote_protocol_P_packet_cmd)
1357 (show_remote_protocol_Z_access_wp_packet_cmd)
1358 (show_remote_protocol_Z_hardware_bp_packet_cmd)
1359 (show_remote_protocol_Z_packet_cmd)
1360 (show_remote_protocol_Z_read_wp_packet_cmd)
1361 (show_remote_protocol_Z_software_bp_packet_cmd)
1362 (show_remote_protocol_Z_write_wp_packet_cmd)
1363 (show_remote_protocol_binary_download_cmd)
1364 (show_remote_protocol_p_packet_cmd)
1365 (show_remote_protocol_qPart_auxv_packet_cmd)
1366 (show_remote_protocol_qSymbol_packet_cmd)
1367 (show_remote_protocol_vcont_packet_cmd): Update.
1368
1369 2005-02-16 Mark Kettenis <kettenis@gnu.org>
1370
1371 * wrapper.h: Update copyright year. Properly wrap a few
1372 prototypes.
1373 (struct gdb_wrapper_arguments): Remove forward declaration.
1374 * wrapper.c: Update copyright year. Include "ui-out.h".
1375 (struct gdb_wrapper_arguments): Remove.
1376 (struct captured_value_struct_elt_args): Remove.
1377 (wrapper_parse_exp_1, wrap_evaluate_expression)
1378 (wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign)
1379 (wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type)
1380 (do_captured_value_struct_elf): Remove functions.
1381 (gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy)
1382 (gdb_value_equal, gdb_value_assign, gdb_value_subscript)
1383 (gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt):
1384 Re-implement using TRY_CATCH.
1385
1386 2005-02-16 Yoshinori Sato <ysato@users.sourceforge.jp>
1387
1388 * remote-e7000.c: unuse TM_FILE defined macro.
1389 (e7000_fetch_registers)
1390 (e7000_store_registers)
1391 (e7000_wait): delete NUM_REALREGS.
1392 * remote-hms.c: move TM_FILE macro.
1393 (CCR_REGNO): move define from tm-h8300.h.
1394
1395 2005-02-15 Mark Kettenis <kettenis@gnu.org>
1396
1397 * amd64-linux-tdep.c: Update copyright year.
1398 (amd64_linux_sigtramp_start): Use sizeof operator instead of
1399 LINUX_SIGTRAMP_LEN.
1400
1401 2004-02-15 Joel Brobecker <brobecker@gnat.com>
1402
1403 From Paul Hilfinger <hilfinger@gnat.com>
1404 * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
1405 SYMBOL_NATURAL_NAME to set type names.
1406
1407 2005-02-15 Andrew Cagney <cagney@gnu.org>
1408
1409 Mark up add_com, add_info and add_prefix_cmd.
1410 * breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
1411 * exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
1412 * go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
1413 * kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
1414 * maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
1415 * ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
1416 * remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
1417 * remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
1418 * remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
1419 * sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
1420 * symfile.c, symtab.c, target.c, thread.c, top.c: Update.
1421 * tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
1422 * win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
1423 * cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
1424 * tui/tui-stack.c, tui/tui-win.c: Update.
1425
1426 2005-02-14 Andrew Cagney <cagney@gnu.org>
1427
1428 * config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete.
1429 * config/h8300/tm-h8300.h: Delete file.
1430
1431 Mark up add_cmd.
1432 * arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update.
1433 * cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update.
1434 * exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update.
1435 * infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update.
1436 * mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update.
1437 * reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update.
1438 * sol-thread.c, source.c, stack.c, symfile-mem.c: Update.
1439 * symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update.
1440 * win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
1441 * cli/cli-logging.c, tui/tui-regs.c: Update.
1442
1443 Mark up add_setshow functions, replace "PRINT:" comment prefix
1444 with "FIXME: i18n:".
1445 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
1446 * cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update.
1447 * infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update.
1448 * nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update.
1449 * target.c, cli/cli-logging.c: Update.
1450
1451 * utils.c (paddress): New function.
1452 * defs.h (paddress): Declare.
1453 * printcmd.c (deprecated_print_address_numeric): Rename
1454 print_address_numeric, call paddress.
1455 * valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update.
1456 * symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update.
1457 * maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update.
1458 * dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update.
1459 * corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update.
1460 * ada-valprint.c: Update.
1461
1462 2005-02-13 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
1463
1464 * MAINTAINERS: Add myself to "Write After Approval".
1465
1466 2005-02-12 Yoshinori Sato <ysato@users.sourceforge.jp>
1467
1468 Restore h8300 support.
1469 * configure.tgt: Add h8300-*-*
1470 * h8300-tdep.c: New file. Rewrite new frame code.
1471 * config/h8300/h8300.mt: New file. Restored Rev 1.3
1472 * config/h8300/tm-h8300.h: New file. Restored Rev 1.21
1473
1474 * MAINTAINERS: Add myself to "Write After Approval".
1475
1476 2005-02-11 Andrew Cagney <cagney@gnu.org>
1477
1478 Mark up some of printf_filtered and printf_unfiltered.
1479 * ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update.
1480 * corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update.
1481 * demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update.
1482 * event-loop.c, event-top.c, exec.c, f-valprint.c: Update.
1483 * gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update.
1484 * infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update.
1485 * linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update.
1486 * mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update.
1487 * ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update.
1488 * remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update.
1489 * stack.c, symfile.c, symmisc.c, target.c, thread.c: Update.
1490 * top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update.
1491 * cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update.
1492 * tui/tui-regs.c, tui/tui-win.c: Update.
1493
1494 Mark up error_no_arg, query, perror_with_name, complaint, and
1495 internal_error.
1496 * breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update.
1497 * cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update.
1498 * dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update.
1499 * dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update.
1500 * exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update.
1501 * frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update.
1502 * gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update.
1503 * go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update.
1504 * i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update.
1505 * i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update.
1506 * infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update.
1507 * interps.c, language.c, linespec.c, linux-nat.c: Update.
1508 * m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update.
1509 * m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update.
1510 * macrotab.c, maint.c, mdebugread.c, memattr.c: Update.
1511 * mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update.
1512 * mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update.
1513 * objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update.
1514 * parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update.
1515 * ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update.
1516 * regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update.
1517 * remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update.
1518 * remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update.
1519 * s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update.
1520 * sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update.
1521 * solib-aix5.c, solib-svr4.c, solib.c, source.c: Update.
1522 * sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update.
1523 * symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update.
1524 * utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update.
1525 * win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update.
1526 * cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update.
1527 * cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update.
1528 * mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update.
1529 * tui/tui-file.c, tui/tui-interp.c: Update.
1530
1531 2005-02-10 Andrew Cagney <cagney@gnu.org>
1532
1533 Mark up all error and warning messages.
1534 * ada-lang.c, amd64-tdep.c, arch-utils.c, breakpoint.c: Update.
1535 * bsd-kvm.c, bsd-uthread.c, coff-solib.h, coffread.c: Update.
1536 * core-aout.c, core-regset.c, corefile.c, corelow.c: Update.
1537 * cp-abi.c, cp-support.c, cp-valprint.c, cris-tdep.c: Update.
1538 * dbxread.c, demangle.c, doublest.c, dsrec.c: Update.
1539 * dve3900-rom.c, dwarf2expr.c, dwarf2loc.c: Update.
1540 * dwarf2read.c, dwarfread.c, elfread.c, eval.c: Update.
1541 * event-top.c, exec.c, expprint.c, f-lang.c: Update.
1542 * f-typeprint.c, f-valprint.c, fbsd-nat.c, findvar.c: Update.
1543 * frame.c, frv-linux-tdep.c, gcore.c, gdbtypes.c: Update.
1544 * gnu-nat.c, gnu-v2-abi.c, gnu-v3-abi.c, go32-nat.c: Update.
1545 * hpacc-abi.c, hppa-hpux-nat.c, hppa-hpux-tdep.c: Update.
1546 * hppa-linux-nat.c, hppa-linux-tdep.c, hppa-tdep.c: Update.
1547 * hpread.c, hpux-thread.c, i386-linux-nat.c: Update.
1548 * i386-linux-tdep.c, i386-tdep.c, i386bsd-nat.c: Update.
1549 * i386gnu-nat.c, i387-tdep.c, ia64-linux-nat.c: Update.
1550 * ia64-tdep.c, inf-child.c, inf-ptrace.c, inf-ttrace.c: Update.
1551 * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
1552 * inftarg.c, interps.c, irix5-nat.c, jv-lang.c: Update.
1553 * kod-cisco.c, kod.c, language.c, libunwind-frame.c: Update.
1554 * linespec.c, linux-nat.c, linux-thread-db.c, m2-lang.c: Update.
1555 * m32r-rom.c, m68hc11-tdep.c, m68k-tdep.c: Update.
1556 * m68klinux-nat.c, macrocmd.c, macroexp.c, main.c: Update.
1557 * maint.c, mdebugread.c, mem-break.c, memattr.c: Update.
1558 * mips-linux-tdep.c, mips-tdep.c, mipsread.c, monitor.c: Update.
1559 * nlmread.c, nto-procfs.c, objc-lang.c, objfiles.c: Update.
1560 * observer.c, ocd.c, p-lang.c, p-typeprint.c: Update.
1561 * p-valprint.c, pa64solib.c, parse.c, ppc-linux-tdep.c: Update.
1562 * ppcnbsd-tdep.c, printcmd.c, procfs.c, remote-e7000.c: Update.
1563 * remote-fileio.c, remote-m32r-sdi.c, remote-rdi.c: Update.
1564 * remote-rdp.c, remote-sim.c, remote-st.c: Update.
1565 * remote-utils.c, remote-utils.h, remote.c: Update.
1566 * rom68k-rom.c, rs6000-nat.c, s390-tdep.c, scm-lang.c: Update.
1567 * ser-e7kpc.c, ser-tcp.c, ser-unix.c, sh-tdep.c: Update.
1568 * sh3-rom.c, shnbsd-tdep.c, sol-thread.c, solib-aix5.c: Update.
1569 * solib-frv.c, solib-irix.c, solib-osf.c, solib-pa64.c: Update.
1570 * solib-som.c, solib-sunos.c, solib-svr4.c, solib.c: Update.
1571 * somread.c, somsolib.c, source.c, stabsread.c: Update.
1572 * stack.c, std-regs.c, symfile-mem.c, symfile.c: Update.
1573 * symmisc.c, symtab.c, target.c, thread.c, top.c: Update.
1574 * tracepoint.c, trad-frame.c, typeprint.c, utils.c: Update.
1575 * uw-thread.c, valarith.c, valops.c, valprint.c: Update.
1576 * value.c, varobj.c, version.in, win32-nat.c, wince.c: Update.
1577 * xcoffread.c, xcoffsolib.c, cli/cli-cmds.c: Update.
1578 * cli/cli-decode.c, cli/cli-dump.c, cli/cli-logging.c: Update.
1579 * cli/cli-script.c, cli/cli-setshow.c, mi/mi-cmd-break.c: Update.
1580 * mi/mi-cmd-disas.c, mi/mi-cmd-env.c, mi/mi-cmd-file.c: Update.
1581 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-getopt.c: Update.
1582 * mi/mi-symbol-cmds.c, tui/tui-layout.c, tui/tui-stack.c: Update.
1583 * tui/tui-win.c: Update.
1584
1585 2005-02-10 Ian Lance Taylor <ian@airs.com>
1586
1587 * MAINTAINERS: Update my e-mail address.
1588
1589 2005-02-10 Daniel Jacobowitz <dan@debian.org>
1590
1591 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
1592 PR exp/1821
1593 * cp-valprint.c: Include "language.h".
1594 (cp_print_value_fields): Pass the current language to
1595 fprintf_symbol_filtered.
1596 * Makefile.in (cp-valprint.o): Update dependencies.
1597
1598 2005-02-10 Andrew Cagney <cagney@gnu.org>
1599
1600 * cli/cli-decode.c (add_setshow_enum_cmd, add_setshow_cmd_full)
1601 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
1602 (add_setshow_filename_cmd, add_setshow_string_cmd)
1603 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Replace
1604 print string parameter with fprint_setshow function.
1605 * command.h (fprint_setshow_ftype): Define. Update declarations.
1606 * cli/cli-setshow.c (do_setshow_command): When fprint_setshow is
1607 available, use that.
1608 * cli/cli-decode.h (struct cmd_list_element): Add field
1609 fprint_setshow.
1610 * complaints.c (fprint_setshow_complaints): New function.
1611 (_initialize_complaints): Pass to add_setshow_zinteger_cmd.
1612 * hppa-tdep.c (_initialize_hppa_tdep): Replace "print" parameter
1613 with NULL.
1614 * mips-tdep.c (_initialize_mips_tdep): Ditto.
1615 * m32r-rom.c (_initialize_m32r_rom): Ditto.
1616 * cris-tdep.c (_initialize_cris_tdep): Ditto.
1617 * arm-tdep.c (_initialize_arm_tdep): Ditto.
1618 * remote-rdi.c (_initialize_remote_rdi): Ditto.
1619 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
1620 * dwarf2read.c (_initialize_dwarf2_read): Ditto.
1621 * frame.c (_initialize_frame): Ditto.
1622 * target.c (initialize_targets): Ditto.
1623 * maint.c (_initialize_maint_cmds): Ditto.
1624 * observer.c (_initialize_observer): Ditto.
1625 * infcall.c (_initialize_infcall): Ditto.
1626 * breakpoint.c (_initialize_breakpoint): Ditto.
1627 * cli/cli-logging.c (_initialize_cli_logging): Ditto.
1628 * remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
1629
1630 * cli/cli-setshow.c (do_setshow_command): Move code printing the
1631 value to the end of the function. Handle MI and non-MI output
1632 differently.
1633
1634 2005-02-09 Andrew Cagney <cagney@gnu.org>
1635
1636 * cli/cli-decode.c (add_setshow_enum_cmd): Drop set_result and
1637 show_result parameters.
1638 * mips-tdep.c (_initialize_mips_tdep): Update calls.
1639 * command.h: Update declaration.
1640 * arm-tdep.c (_initialize_arm_tdep, _initialize_arm_tdep): Update
1641 calls.
1642
1643 * NEWS: Mention removed commands.
1644 * m68hc11-tdep.c (show_regs): Delete, unused.
1645 (_initialize_m68hc11_tdep): Delete deprecated "regs" command.
1646 * gdb-events.sh: Delete deprecated "set eventdebug" and "show
1647 eventdebug" commands.
1648 * gdb-events.c: Regenerate.
1649 * gdbarch.sh: Delete deprecated "set archdebug" and "show
1650 archdebug" commands.
1651 * gdbarch.c: Regenerate.
1652 * cli/cli-cmds.c (init_cli_cmds): Delete deprecated "set
1653 remotedebug" and "show remotedebug".
1654 * arm-tdep.c (_initialize_arm_tdep): Delete deprecated "set arm
1655 disassembly-flavor", "show arm disassembly-flavor", and
1656 "othernames" commands.
1657 (arm_othernames): Delete unused function.
1658
1659 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call)
1660 (convert_code_addr_to_desc_addr): Convert any function code
1661 address to the corresponding function's descriptor.
1662 (ppc64_sysv_abi_return_value): have TYPE_CODE_ENUM and
1663 TYPE_CODE_INT use the same code paths as TYPE_CODE_INT. When
1664 writing, convert any function code address to the corresponding
1665 descriptor.
1666
1667 * config/sh/linux.mt (TDEPFILES): Add symfile-mem.o.
1668 * config/powerpc/linux.mt (TDEPFILES): Ditto.
1669 * config/pa/linux.mt (TDEPFILES): Ditto.
1670 * config/mips/linux.mt (TDEPFILES): Ditto.
1671 * config/m68k/linux.mt (TDEPFILES): Ditto.
1672 * config/m32r/linux.mt (TDEPFILES): Ditto.
1673 * config/ia64/linux.mt (TDEPFILES): Ditto.
1674 * config/arm/linux.mt (TDEPFILES): Ditto.
1675
1676 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
1677
1678 * symmisc.c: Include gdb_stat.h.
1679 (maintenance_print_msymbols): Use inode numbers to compare files.
1680
1681 2005-02-08 Andrew Cagney <cagney@gnu.org>
1682
1683 * value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
1684 (METHOD_PTR_TO_VOFFSET): Move from here ...
1685 * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
1686 (METHOD_PTR_TO_VOFFSET): ... to here.
1687 * cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h".
1688 * Makefile.in: Update dependencies.
1689
1690 * exceptions.c: Do not include <setjmp.h>.
1691 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Delete macros.
1692 (catch_exception, catch_exceptions_with_msg, catch_errors)
1693 (catch_command_errors): Use TRY_CATCH.
1694 (struct catcher): Use EXCEPTIONS_SIGJMP_BUF.
1695 (exceptions_state_mc_init): Rename catcher_init.
1696 (exceptions_state_mc): Rename catcher_state_machine.
1697 (exceptions_state_mc_action_iter)
1698 (exceptions_state_mc_action_iter_1): New functions.
1699 * exceptions.h: Include <setjmp.h>.
1700 (EXCEPTIONS_SIGJMP_BUF, EXCEPTIONS_SIGSETJMP)
1701 (EXCEPTIONS_SIGLONGJMP): Define.
1702 (exceptions_state_mc_init, exceptions_state_mc_action_iter)
1703 (exceptions_state_mc_action_iter_1): Declare.
1704 (TRY_CATCH): Define.
1705
1706 * ppc-linux-tdep.c (ppc_linux_init_abi): Do not set malloc name,
1707 no longer needed.
1708
1709 * ppc-linux-nat.c (ppc_register_u_addr): Hack around 64-bit
1710 PT_FPSCR breakage.
1711
1712 * value.c (struct value): Move to here ...
1713 * value.h (struct value): ... from here. Copy comments to
1714 corresponding function declarations, re-order.
1715
1716 2005-02-07 Andrew Cagney <cagney@gnu.org>
1717
1718 * value.c (set_value_bitpos, set_value_bitsize): Define.
1719 * value.h (set_value_bitpos, set_value_bitsize): Declare.
1720 * ada-lang.c, valarith.c: Update.
1721
1722 * cp-valprint.c, c-valprint.c, infcall.c: Use value_contents or
1723 value_contents_writeable, include note that there are problems.
1724 * breakpoint.c, infcall.c: Use VALUE_LVAL.
1725
1726 * value.h (set_value_offset): Declare.
1727 * value.c (set_value_offset): Declare.
1728 * gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update.
1729 * findvar.c: Update.
1730
1731 * value.h (value_next): Declare.
1732 * value.c (value_next): Define.
1733 * breakpoint.c: Update.
1734
1735 * value.h (deprecated_set_value_modifiable)
1736 (deprecated_value_modifiable): Declare.
1737 * value.c (deprecated_set_value_modifiable): Define.
1738 (deprecated_value_modifiable): Define.
1739 * ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update.
1740
1741 * value.h (deprecated_set_value_type): Declare.
1742 * value.c (deprecated_set_value_type): Define.
1743 * hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update.
1744 * c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update.
1745 * infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update.
1746 * ax-gdb.c, tracepoint.c: Update.
1747
1748 * value.h (deprecated_value_lval_hack)
1749 (deprecated_value_address_hack)
1750 (deprecated_value_internalvar_hack)
1751 (deprecated_value_regnum_hack): Declare.
1752 (VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR)
1753 (VALUE_FRAME_ID, VALUE_REGNUM): Use.
1754 * value.c (deprecated_value_lval_hack)
1755 (deprecated_value_address_hack)
1756 (deprecated_value_internalvar_hack)
1757 (deprecated_value_regnum_hack): Define.
1758
1759 * value.h (VALUE_POINTED_TO_OFFSET): Delete.
1760 (set_value_pointed_to_offset, value_pointed_to_offset): Declare.
1761 * value.c (set_value_pointed_to_offset): Define
1762 (value_pointed_to_offset): Define.
1763 * valops.c: Update.
1764
1765 * value.h (VALUE_EMBEDDED_OFFSET): Delete.
1766 (value_embedded_offset, set_value_embedded_offset): Declare.
1767 * value.c (value_embedded_offset): Define.
1768 (set_value_embedded_offset): Define.
1769 * valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
1770 * gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
1771 * cp-abi.h: Update.
1772
1773 * value.h (VALUE_LAZY): Delete
1774 (set_value_lazy): Declare.
1775 * value.c (set_value_lazy): Define.
1776 * valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
1777 * gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.
1778
1779 2005-02-06 Andrew Cagney <cagney@gnu.org>
1780
1781 * value.h (VALUE_OPTIMIZED_OUT): Delete.
1782 (value_optimized_out, set_value_optimized_out): Declare.
1783 * value.c (set_value_optimized_out, value_optimized_out): Define.
1784 * valprint.c, findvar.c, dwarf2loc.c: Update.
1785
1786 * value.c (value_contents, value_contents_writeable): New
1787 functions.
1788 * value.h (VALUE_CONTENTS): Delete macro.
1789 (value_contents, value_contents_writeable): Declare.
1790 * xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
1791 * stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
1792 * sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
1793 * rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
1794 * ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
1795 * m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
1796 * jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
1797 * hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
1798 * c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
1799 * cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
1800 * arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
1801 * ada-valprint.c, ada-lang.c: Update.
1802
1803 2005-02-03 Andrew Cagney <cagney@gnu.org>
1804
1805 * utils.c (xzalloc): New function.
1806 * defs.h (XZALLOC): Use xzalloc.
1807 (xzalloc): Declare.
1808 * value.c (allocate_value): Allocate a zeroed buffer.
1809 * mdebugread.c (xzalloc): Delete.
1810
1811 2005-02-02 Andrew Cagney <cagney@gnu.org>
1812
1813 * value.h (value_lazy): Declare.
1814 * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
1815 * cp-valprint.c, breakpoint.c, ada-lang.c: Update.
1816
1817 * value.h (VALUE_CONTENTS_ALL): Delete.
1818 (value_contents_all): Declare.
1819 * value.c (value_contents_all): New function.
1820 * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
1821 * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
1822
1823 * value.c (value_enclosing_type): New function.
1824 * value.h (VALUE_ENCLOSING_TYPE): Delete.
1825 (value_enclosing_type): Declare.
1826 * xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
1827 * gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.
1828
1829 * value.c (value_contents_all_raw)
1830 (value_contents_raw): New functions.
1831 * value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
1832 (value_contents_raw, value_contents_all_raw): Declare functions.
1833 (VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
1834 * std-regs.c, valarith.c, valops.c, eval.c: Update.
1835 * tracepoint.c, findvar.c: Update.
1836
1837 2005-02-01 Orjan Friberg <orjanf@axis.com>
1838
1839 * regformats/reg-cris.dat: New file with register definitions for CRIS.
1840 * regformats/reg-crisv32.dat: Ditto for CRISv32.
1841
1842 2005-01-31 Andrew Cagney <cagney@gnu.org>
1843
1844 * configure: Regenerate to track ../gettext.m4.
1845
1846 2005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
1847
1848 * MAINTAINERS: Add myself to "Write After Approval".
1849
1850 * ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
1851 * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
1852 * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
1853
1854 2005-01-29 Mark Kettenis <kettenis@gnu.org>
1855
1856 * configure.ac: Remove extra check for ranlib.
1857 * configure: Regenerated.
1858
1859 2005-01-28 Andrew Cagney <cagney@gnu.org>
1860
1861 * language.h (struct language_defn): Make la_val_print's buffer
1862 parameter a const bfd_byte.
1863 * cp-valprint.c (cp_print_value_fields, cp_print_value): Update.
1864 * ada-lang.c (ada_aligned_value_addr)
1865 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
1866 * valprint.c (val_print_array_elements): Update.
1867 * valprint.h (val_print_array_elements): Update.
1868 * ada-lang.h (ada_val_print, ada_aligned_value_addr)
1869 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
1870 * ada-valprint.c (ada_val_print, struct ada_val_print_args)
1871 (ada_val_print_1, ada_print_floating, printable_val_type)
1872 (print_record, val_print_packed_array_elements)
1873 (print_field_values, print_variant_part): Update.
1874 * c-lang.h (c_val_print, cp_print_value_fields): Update.
1875 * c-valprint.c (c_val_print): Update.
1876 * f-lang.h (f_val_print): Update.
1877 * f-valprint.c (f_val_print, f77_print_array_1)
1878 (f77_print_array): Update.
1879 * jv-lang.h (java_val_print): Update.
1880 * jv-valprint.c (java_print_value_fields, java_val_print): Update.
1881 * language.c (unk_lang_val_print): Update.
1882 * m2-lang.h (m2_val_print): Update.
1883 * m2-valprint.c (m2_val_print): Update.
1884 * p-lang.h (pascal_val_print): Update.
1885 (pascal_object_print_value_fields): Update.
1886 * p-valprint.c (pascal_val_print)
1887 (pascal_object_print_value_fields, pascal_object_print_value)
1888 (pascal_object_print_value): Update.
1889 * scm-lang.h (scm_val_print): Update.
1890 * scm-valprint.c (scm_val_print): Update.
1891 * value.h (val_print): Update.
1892
1893 * p-lang.h (pascal_object_print_class_member)
1894 (pascal_object_print_class_method): Make buffer a const bfd_byte.
1895 * p-valprint.c (pascal_object_print_class_method)
1896 (pascal_object_print_class_method): Ditto.
1897
1898 * language.h (struct language_defn): Make la_printstr's buffer
1899 parameter a const bfd_byte.
1900 * p-lang.h (pascal_printstr): Update function to match.
1901 * ada-valprint.c (ada_printstr): Update function to match.
1902 * scm-lang.c (scm_printstr): Update function to match.
1903 * p-lang.c (pascal_printstr): Update function to match.
1904 * ada-lang.h (ada_printstr): Update function to match.
1905 * m2-lang.c (m2_printstr): Update function to match.
1906 * objc-lang.c (objc_printstr): Update function to match.
1907 * c-lang.h (c_printstr): Update function to match.
1908 * f-lang.c (f_printstr): Update function to match.
1909 * c-lang.c (c_printstr): Update function to match.
1910 * language.c (unk_lang_printstr): Update function to match.
1911
1912 * valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
1913 * valprint.h (val_print_type_code_int): Ditto.
1914
1915 * objc-lang.h (c_val_print, c_value_print): Delete declarations.
1916
1917 * cp-valprint.c (cp_print_class_method)
1918 (cp_print_class_member): Make buffer a const bfd_byte.
1919 * c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.
1920
1921 * ada-lang.c (value_from_contents_and_address)
1922 (to_record_with_fixed_variant_part)
1923 (value_tag_from_contents_and_address, ada_to_fixed_type)
1924 (to_fixed_variant_branch_type, to_fixed_record_type)
1925 (ada_template_to_fixed_record_type, cond_offset_host)
1926 (ada_template_to_fixed_record_type_1): Make buffer a const
1927 bfd_byte.
1928 * ada-lang.h (ada_template_to_fixed_record_type_1)
1929 (value_from_contents_and_address, ada_to_fixed_type): Ditto.
1930
1931 * ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte.
1932
1933 * gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.
1934 * printcmd.c (print_scalar_formatted): Update.
1935
1936 * value.h (value_bit_index, print_floating)
1937 (find_rt_vbase_offset): Make buffer a const bfd_byte.
1938 * valprint.c (print_floating): Update.
1939 * valarith.c (value_bit_index): Update.
1940 * valops.c (find_rt_vbase_offset): Update.
1941
1942 * valprint.h (print_octal_chars, print_char_chars)
1943 (print_hex_chars, print_decimal_chars, print_binary_chars): Make
1944 buffer a const bfd_byte.
1945 * valprint.c (print_binary_chars, print_octal_chars)
1946 (print_decimal_chars, print_hex_chars, print_char_chars): Make
1947 "valaddr"buffer a const bfd_byte, ditto for local variables
1948 referencing that buffer.
1949
1950 * m2-valprint.c: Include "c-lang.h".
1951 (c_val_print): Delete extern declaration.
1952 * scm-valprint.c: Include "c-lang.h".
1953 (c_val_print): Delete extern declaration.
1954 Makefile.in: Update dependencies.
1955
1956 * gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
1957 bfd_byte.
1958 * cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
1959 (struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
1960 bfd_byte.
1961 * cp-abi.c (baseclass_offset): Update.
1962 * gnu-v2-abi.c (gnuv2_baseclass_offset): Update.
1963
1964 * gnu-v2-abi.h: New file.
1965 * gnu-v2-abi.c: Include "gnu-v2-abi.h".
1966 (gnuv2_baseclass_offset): Delete declaration.
1967 * hpacc-abi.c: Include "gnu-v2-abi.h".
1968 (gnuv2_baseclass_offset): Delete extern declaration.
1969 * Makefile.in: Update dependencies.
1970
1971 * doublest.c (floatformat_is_negative, floatformat_is_nan)
1972 (floatformat_mantissa, get_field): Make the buffer a const
1973 bfd_byte, simplify.
1974
1975 2005-01-27 Andrew Cagney <cagney@gnu.org>
1976
1977 * value.h (struct value): Change type of contents to bfd_byte.
1978 (VALUE_CONTENTS_RAW): Simplify.
1979
1980 * gdbarch.sh (integer_to_address): Change buf parameter to a const
1981 bfd_byte, make pure-multi-arch.
1982 * gdbarch.h, gdbarch.c: Regenerate.
1983 * mips-tdep.c (mips_integer_to_address): Update.
1984 * value.c (value_as_address): Update.
1985
1986 * cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
1987 * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
1988 parameters const, change buf to a const bfd_byte.
1989 (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
1990 parameters const.
1991
1992 * corefile.c (write_memory): Update, make a copy of the read-only
1993 buffer.
1994 * target.c (target_read_memory): Update.
1995 (target_write_memory): Update, make a copy of the read-only
1996 buffer.
1997 * gdbcore.h (write_memory): Change buffer type to bfd_byte, make
1998 const.
1999 * target.h (target_read_memory, target_write_memory): Change
2000 buffer type to bfd_byte; for write_memory, make it const.
2001 * symfile-mem.c (do_target_read_memory): New function.
2002 (symbol_file_add_from_memory): Pass do_target_read_memory to
2003 bfd_elf_bfd_from_remote_memory.
2004
2005 * value.h: Indent using gdb_indent.sh.
2006
2007 * configure: Regenerate to track ../gettext.m4 change.
2008
2009 2005-01-26 Andrew Cagney <cagney@gnu.org>
2010
2011 * rs6000-tdep.c: Include "reggroups.h".
2012 (rs6000_gdbarch_init): Set register_reggroup_p.
2013 (rs6000_register_reggroup_p): New function.
2014
2015 2005-01-26 Orjan Friberg <orjanf@axis.com>
2016
2017 * cris-tdep.c (enum cris_num_regs, enum cris_regnums)
2018 (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
2019 CRISv32.
2020 (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
2021 (cris_region_ok_for_watchpoint, cris_stopped_data_address)
2022 (crisv32_cannot_fetch_register, crisv32_cannot_store_register)
2023 (crisv32_register_type, cris_special_register_name)
2024 (crisv32_register_name): New functions.
2025 (cris_spec_reg_applicable): Recognize more versions.
2026 (cris_register_name): Update with call to cris_special_register_name.
2027 (find_cris_op): Filter out CRISv32 instructions. Tweaked comment and
2028 warning when unable to find step target.
2029 (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
2030 (supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for
2031 CRISv32.
2032 (fetch_core_registers): Update for CRISv32.
2033 (cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
2034 register_name, cannot_store_register, cannot_fetch_register,
2035 have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
2036
2037 2005-01-26 Nick Roberts <nickrob@snap.net.nz>
2038
2039 * interps.c (interpreter_exec_cmd): Use condition,
2040 e.reason < 0, to raise an error.
2041
2042 2005-01-25 Andrew Cagney <cagney@gnu.org>
2043
2044 * ppc-linux-tdep.c: Include "tramp-frame.h"
2045 (struct ppc_linux_sigtramp_cache)
2046 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
2047 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
2048 (ppc_linux_sigtramp_cache): Delete.
2049 (ppc32_linux_sigaction_cache_init)
2050 (ppc64_linux_sigaction_cache_init)
2051 (ppc32_linux_sighandler_cache_init)
2052 (ppc64_linux_sighandler_cache_init)
2053 (ppc32_linux_sigaction_tramp_frame)
2054 (ppc64_linux_sigaction_tramp_frame)
2055 (ppc32_linux_sighandler_tramp_frame)
2056 (ppc64_linux_sighandler_tramp_frame)
2057 (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
2058 64-bit, sigaction and siginfo tramp-frame unwinders.
2059
2060 * ppc-linux-tdep.c (ppc_linux_init_abi): Always set
2061 long_double_bit to 8.
2062
2063 2005-01-24 Andrew Cagney <cagney@gnu.org>
2064
2065 * infrun.c (handle_inferior_event): Handle back-to-back and nested
2066 signals where the step_resume_breakpoint may have already been
2067 inserted.
2068
2069 2005-01-24 Andrew Cagney <cagney@gnu.org>
2070
2071 * configure: Regenerate, ../gettext.m4 was updated.
2072
2073 2005-01-23 Mark Kettenis <kettenis@gnu.org>
2074
2075 * NEWS: Mention new BSD user-level threads support.
2076
2077 * i386obsd-tdep.c: Update copyright year. Include
2078 "bsd-uthread.h".
2079 (i386obsd_uthread_reg_offset): New variable.
2080 (I386OBSD_UTHREAD_ESP_OFFSET): New define.
2081 (i386obsd_supply_uthread, i386obsd_collect_uthread): New
2082 functions.
2083 (i386obsd_init_abi): Set supply_uthread and collect_uthread.
2084 * Makefile.in (i386obsd-tdep.o): Update dependencies.
2085 * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
2086
2087 2005-01-23 Christopher Faylor <cgf@timesys.com>
2088
2089 * win32-nat.c: Update copyright year.
2090 (child_init_thread_list): Set thread linked list point to NULL so that
2091 it won't be reused after clearing.
2092
2093 2005-01-21 Mark Kettenis <kettenis@gnu.org>
2094
2095 * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
2096 undefs.
2097 * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
2098 thread' has a td_pcb member and whether `struct reg' has r_fs and
2099 r_gs members.
2100 * configure, config.in: Regenerate.
2101
2102 2005-01-21 Mark Kettenis <kettenis@gnu.org>
2103
2104 * configure.ac: Remove ia64-*-aix* junk.
2105 * configure: Regenerate.
2106
2107 * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
2108 and BFD_NEED_DECLARATION. Don't check if a declaration of strdup
2109 is necessary.
2110 * configure, config.in: Regenerate.
2111 * utils.c: Adjust for usage of AC_CHECK_DECLS instead of
2112 BFD_NEED_DECLARATION. Never provide a prototype for
2113 caninicalize_file_name.
2114 * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
2115 BFD_NEED_DECLARATION.
2116
2117 * configure.ac (targ_archs): Use standard autoconf check for
2118 "struct stat.st_blocks" instead of rolling our own.
2119 * configure: Regenerated.
2120 * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
2121 * config.in: Regenerated.
2122
2123 2005-01-21 Mark Kettenis <kettenis@gnu.org>
2124
2125 * configure.ac: Modernize checks for `long long' and `long double'
2126 support.
2127 * configure: Regenerated.
2128 * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
2129 (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
2130 * config.in: Regenerated.
2131
2132 2005-01-20 Mark Kettenis <kettenis@gnu.org>
2133
2134 * acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
2135 (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
2136 * configure.ac: Remove checks for HP-UX save_state structure.
2137 * configure: Regenerated.
2138
2139 2005-01-19 Andrew Cagney <cagney@gnu.org>
2140
2141 * utils.c (quit): Simplify, call fatal.
2142 * exceptions.c: Include "serial.h"
2143 (print_flush): Mimic flush code found in utils.c:quit.
2144 * Makefile.in: Update dependencies.
2145
2146 2005-01-19 Jim Blandy <jimb@redhat.com>
2147
2148 * configure.tgt: Set build_rdi_share to "yes" on those targets
2149 that use that debugging protocol.
2150 Set build_nlm to yes to build NLM stub for Netware targets.
2151 * configure.ac: If build_rdi_share is "yes", then configure the
2152 rdi-share subdirectory.
2153 If build_nlm is "yes", the configure the "nlm" subdirectory.
2154 * configure: Regenerated.
2155
2156 * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
2157 autoconf 2.59 and automake 1.9.3.
2158
2159 2005-01-19 Andrew Cagney <cagney@gnu.org>
2160
2161 * exceptions.h (deprecated_throw_reason): Rename throw_reason.
2162 * exceptions.c (deprecated_throw_reason): Rename throw_reason.
2163 * utils.c (internal_verror, quit): Update.
2164 * remote-sds.c (interrupt_query): Update.
2165 * remote-mips.c (mips_error, mips_kill): Update.
2166 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
2167 * remote.c (interrupt_query): Update.
2168 * ocd.c (interrupt_query): Update.
2169 * nto-procfs.c (interrupt_query): Update.
2170 * monitor.c (monitor_interrupt_query): Update.
2171 * breakpoint.c (break_command_1): Update.
2172
2173 * infrun.c: (resume, proceed, wait_for_inferior)
2174 (handle_inferior_event, stop_stepping)
2175 (prepare_to_wait): Write debug output to gdb_stdlog.
2176
2177 2005-01-19 Mark Kettenis <kettenis@gnu.org>
2178
2179 * inf-ptrace.c (inf_ptrace_prepare_to_store)
2180 (inf_ptrace_post_startup_inferior)
2181 (inf_ptrace_acknowledge_created_inferior)
2182 (inf_ptrace_insert_fork_catchpoint)
2183 (inf_ptrace_remove_fork_catchpoint)
2184 (inf_ptrace_insert_vfork_catchpoint):
2185 (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
2186 (inf_ptrace_insert_exec_catchpoint)
2187 (inf_ptrace_remove_exec_catchpoint): Remove functions.
2188 (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
2189 (inf_ptrace_target): Don't set to_prepare_to_store,
2190 to_post_startup_inferior, to_acknowledge_created_inferior,
2191 to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
2192 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
2193 to_follow_fork, to_insert_exec_catchpoint,
2194 to_remove_exec_catchpoint.
2195
2196 2005-01-18 Andrew Cagney <cagney@gnu.org>
2197
2198 * target.h (struct target_ops): Change return type of
2199 to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
2200 to_insert_exec_catchpoint to void.
2201 (child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
2202 (child_insert_exec_catchpoint): Change return type to void.
2203 * target.c (update_current_target): Update.
2204 (debug_to_insert_fork_catchpoint)
2205 (debug_to_insert_vfork_catchpoint)
2206 (debug_to_insert_exec_catchpoint): Update.
2207 * inf-child.c (inf_child_insert_fork_catchpoint)
2208 (inf_child_insert_vfork_catchpoint)
2209 (inf_child_insert_exec_catchpoint): Update.
2210 * breakpoint.c (insert_catchpoint): Update, do not throw an error.
2211 * linux-nat.c (child_insert_fork_catchpoint)
2212 (child_insert_vfork_catchpoint)
2213 (child_insert_exec_catchpoint): Update.
2214 * inftarg.c (child_insert_fork_catchpoint)
2215 (child_insert_vfork_catchpoint,)
2216 (child_insert_exec_catchpoint): Update.
2217
2218 * remote.c (remote_open_1): Use throw_exception.
2219
2220 2005-01-17 Michael Snyder <msnyder@redhat.com>
2221
2222 * mips-linux-tdep.c: Whitespace tweaks.
2223
2224 2005-01-17 Corinna Vinschen <vinschen@redhat.com>
2225
2226 * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
2227
2228 2005-01-17 Andrew Cagney <cagney@gnu.org>
2229
2230 * top.h (source_error, source_pre_error): Delete declaration.
2231 * cli/cli-script.c (source_error_allocated, source_error): Delete.
2232 (script_from_file, source_cleanup_lines): Do not manipulate
2233 source_error_allocated, error_pre_print and source_error.
2234 (struct source_cleanup_lines_args): Delete fields old_pre_error,
2235 and old_error_pre_print.
2236 * top.c (source_error_allocated, source_error)
2237 (source_pre_error): Delete.
2238 (command_line_input): Do not set error_pre_print.
2239 * event-top.c (command_line_handler): Do not set error_pre_print.
2240
2241 2005-01-16 Jason Thorpe <thorpej@netbsd.org>
2242
2243 * MAINTAINERS: Update my email address.
2244
2245 2005-01-16 Mark Kettenis <kettenis@gnu.org>
2246
2247 * configure.ac: Provide prerequisite headers when checking
2248 <term.h>.
2249 * configure: Regenerate.
2250
2251 * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
2252 and "bsd-uthread.h".
2253 (amd64fbsd_jmp_buf_reg_offset): New variable.
2254 (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
2255 functions.
2256 (amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
2257 * i386fbsd-tdep.c: Fix typo.
2258 * Makefile.in (amd64fbsd-tdep.o): Update dependencies.
2259 * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
2260
2261 2005-01-16 Andrew Cagney <cagney@gnu.org>
2262
2263 * cli/cli-script.c: Include "exceptions.h".
2264 (struct wrapped_read_command_file_args): Define.
2265 (wrapped_read_command_file): New function.
2266 (script_from_file): Replace direct call to read_command_file by
2267 one wrapped by an exception handler.
2268 * exceptions.c (throw_it): Free the old message after creating the
2269 new.
2270 * Makefile.in: Update dependencies.
2271
2272 2005-01-16 Mark Kettenis <kettenis@gnu.org>
2273
2274 * sparc64fbsd-tdep.c: Update copyright year.
2275 (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
2276 functions.
2277 (sparc64fbsd_init_abi): Create register sets with collect
2278 functions.
2279
2280 * sparc64fbsd-nat.c: Include "fbsd-nat.h".
2281 (_initialize_sparc64fbsd_nat): Add some extra features to the
2282 generic SPARC target.
2283 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
2284 * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
2285 (NAT_FILE): Set to solib.h.
2286 * config/sparc/nm-fbsd.h: Remove file.
2287
2288 * sparc64-tdep.c (sparc64_store_arguments): Fix typo.
2289
2290 * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
2291
2292 2005-01-16 Andrew Cagney <cagney@gnu.org>
2293
2294 * exceptions.c (struct catcher): Delete saved_error_pre_print and
2295 saved_quit_pre_print.
2296 (catcher_init): Delete parameter errstring, do not override the
2297 pre_print strings.
2298 (catcher_pop): Do not restore the pre_print strings.
2299 (catch_exception, catch_exceptions_with_msg, catch_errors)
2300 (catch_command_errors): Update catch_init calls.
2301
2302 2005-01-16 Mark Kettenis <kettenis@gnu.org>
2303
2304 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
2305 * sparc64fbsd-nat.c: Update copyright year. Include "target.h".
2306
2307 2005-01-15 Andrew Cagney <cagney@gnu.org>
2308
2309 * acinclude.m4: Include ../bfd/bfd.m4 instead of
2310 ../bfd/acinclude.m4. Include ../gettext.m4.
2311 * aclocal.m4, configure: Re-generate.
2312
2313 * exceptions.c (do_captured_command)
2314 (struct captured_command_args): Delete.
2315 (catch_command_errors): Simplify by inlining call to catch_errors.
2316
2317 * exceptions.c (struct catcher): Delete field print_message.
2318 (catcher_init): Delete print_message parameter.
2319 (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
2320 (throw_it): Delete prefix parameter.
2321 (throw_verror, throw_vfatal, throw_error): Update.
2322
2323 2005-01-14 Andrew Cagney <cagney@gnu.org>
2324
2325 * exceptions.c (print_and_throw): Delete, replaced by throw_it.
2326 (throw_reason): Leave the exception's message field blank.
2327 (throw_it): New function, create the exception and throw it.
2328 (throw_verror, throw_vfatal, throw_error): Call throw_it.
2329 (print_any_exception): New function.
2330 (catch_errors, catch_exceptions_with_msg): Call
2331 print_any_exception.
2332 (throw_exception): Move code calling annotate_error and
2333 annotate_quit from here ...
2334 (print_exception): ... to here.
2335
2336 * exceptions.c (exception_fprintf, exception_print): Move printing
2337 of \n from here ...
2338 (print_exception): ... to here.
2339 (print_flush): New function.
2340 (exception_print, exception_fprintf): Replace duplicated flush and
2341 wrap code with call to print_flush.
2342 (print_and_throw): Simplify, by using xstrvprintf, print_flush,
2343 and print_exception.
2344 (do_write): Delete.
2345
2346 * remote-sds.c (interrupt_query): Call throw_reason instead of
2347 throw_exception.
2348 * remote-mips.c (mips_error, mips_kill): Ditto
2349 * ocd.c (interrupt_query): Ditto.
2350 * nto-procfs.c (interrupt_query): Ditto.
2351 * monitor.c (monitor_interrupt_query): Ditto.
2352
2353 2005-01-14 Jeff Johnston <jjohnstn@redhat.com>
2354
2355 * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
2356
2357 2005-01-14 Andrew Cagney <cagney@gnu.org>
2358
2359 * exceptions.h (catch_exceptions): Delete errstring parameter.
2360 (catch_exceptions_with_msg): Ditto.
2361 * exceptions.c (catch_exceptions_with_msg): Update.
2362 (catch_exceptions): Update.
2363 * symfile-mem.c (add_vsyscall_page): Update.
2364 * frame.c (get_current_frame): Update.
2365 * wrapper.c (gdb_value_struct_elt): Update.
2366 * exceptions.c (catch_exceptions): Update.
2367 * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
2368 * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
2369 * remote-fileio.c (remote_fileio_request): Update.
2370
2371 * exceptions.h (exception_fprintf): Declare.
2372 (exception_print): Drop pre_print parameter.
2373 * mi/mi-main.c (mi_execute_command): Update exception_print call.
2374 * cli/cli-interp.c (safe_execute_command): Update exception_print
2375 call.
2376 * remote.c (remote_open_1): Instead of passing an error prefix to
2377 catch_exceptions, use catch_exceptions and exception_fprintf.
2378 (remote_start_remote): Change return type to void.
2379 * breakpoint.c (insert_bp_location): Instead of passing an error
2380 prefix to catch_exceptions, use catch_exceptions and
2381 exception_fprintf.
2382 (insert_catchpoint): Change return type to void.
2383 (break_command_1): Update exception_print call.
2384 * exceptions.c (exception_fprintf): New function.
2385 (print_exception): New function.
2386 (exception_print): Use print_exception.
2387
2388 * utils.c (error_output_message): Delete function.
2389 * defs.h (error_output_message): Delete declaration.
2390
2391 * linespec.c (symtab_from_filename, decode_variable): Use
2392 throw_error instead of error_silent.
2393 * breakpoint.c (do_captured_parse_breakpoint): Change return type
2394 to void.
2395 (break_command_1): Use catch_exception and check the error return
2396 status.
2397 * exceptions.c (throw_error): New function.
2398 (throw_vsilent): Delete function.
2399 * exceptions.h (throw_error): Declare.
2400 (throw_vsilent): Delete declaration.
2401 * utils.c (error_silent): Delete function.
2402 * defs.h (error_silent): Delete declaration.
2403
2404 * mi/mi-main.c (mi_execute_command): Print the exception.
2405 * cli/cli-interp.c (safe_execute_command): Print the exception.
2406 * exceptions.h (exception_print): Declare.
2407 * exceptions.c (struct catcher): Add field print_message.
2408 (catcher_init): Add parameter print_message, store in the catcher
2409 struct.
2410 (print_and_throw): Only print the message when print_message.
2411 (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
2412 catcher_init.
2413 (catch_exception): Pass print_message=0 to catcher_init.
2414
2415 * varobj.c (varobj_create): Add missing \n.
2416
2417 2005-01-13 Michael Snyder <msnyder@redhat.com>
2418
2419 * cli/cli-decode.h: Whitespace tweaks.
2420 * wince.c: Whitespace tweaks.
2421 * uw-thread.c: Whitespace tweaks.
2422 * utils.c: Whitespace tweaks.
2423 * tracepoint.[ch]: Whitespace tweaks.
2424 * solist.h: Whitespace tweaks.
2425
2426 2005-01-13 Andrew Cagney <cagney@gnu.org>
2427
2428 * exceptions.h (struct exception): Make message const.
2429 * mi/mi-main.c (mi_execute_command): Pass result.message directly
2430 to fputstr_unfiltered.
2431
2432 2005-01-13 Michael Snyder <msnyder@redhat.com>
2433
2434 * stack.c: Whitespace tweaks.
2435 * somsolib.[ch]: Whitespace tweaks.
2436 * solib-aix.c: Whitespace tweaks.
2437 * solib.c: Whitespace tweaks.
2438 * solib-frv.c: Whitespace tweaks.
2439 * solib.h: Whitespace tweaks.
2440 * solib-irix.c: Whitespace tweaks.
2441 * solib-som.c: Whitespace tweaks.
2442 * solib-sunos.c: Whitespace tweaks.
2443 * solib-svr4.[ch]: Whitespace tweaks.
2444 * ser-tcp.c: Whitespace tweaks.
2445 * ser-unix.c: Whitespace tweaks.
2446 * serial.h: Whitespace tweaks.
2447 * scm-valprint.c: Whitespace tweaks.
2448 * rs6000-tdep.c: Whitespace tweaks.
2449 * rs6000-nat.c: Whitespace tweaks.
2450 * remote.c: Whitespace tweaks.
2451
2452 2005-01-13 Andrew Cagney <cagney@gnu.org>
2453
2454 * defs.h (error_last_message, error_init): Delete declaration.
2455 * utils.c (fatal, vfatal): Call throw_vfatal.
2456 (error, verror): Call throw_verror;
2457 (do_write, error_stream_1): Delete function.
2458 (error_stream): Simplify, call error.
2459 (error_last_message, error_init, gdb_lasterr): Delete.
2460 (error_silent): Simplify, call throw_vsilent.
2461 * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
2462 * main.c (captured_main): Delete call to error_init.
2463 * exceptions.c (throw_verror, throw_verror)
2464 (throw_vsilent): New functions.
2465 (do_write, print_and_throw): New functions.
2466 (last_message): New global.
2467 (throw_reason): Replace error_last_message with last_message.
2468 (catch_exceptions_with_msg): Dup the message.
2469 * exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
2470 Declare.
2471
2472 2005-01-13 Michael Snyder <msnyder@redhat.com>
2473
2474 * remote-st.c: Whitespace tweaks.
2475 * remote-sim.c: Whitespace tweaks.
2476 * remote-mips.c: Whitespace tweaks.
2477 * pa64solib.[ch]: Whitespace tweaks.
2478 * mdebugread.c: Whitespace tweaks.
2479 * main.c: Whitespace tweaks.
2480 * interps.c: Whitespace tweaks.
2481 * infrun.c: Whitespace tweaks.
2482 * infcmd.c: Whitespace tweaks.
2483 * hpux-thread.c: Whitespace tweaks.
2484 * hppa-hpux-tdep.c: Whitespace tweaks.
2485 * gdbcore.h: Whitespace tweaks.
2486 * gdbcmd.h: Whitespace tweaks.
2487 * gdb-events[.c, .h, .sh]: Whitespace tweaks.
2488 * corefile.c: Whitespace tweaks.
2489 * completer.c: Whitespace tweaks.
2490 * coff-solib.c: Whitespace tweaks.
2491 * coff-solib.h: Whitespace tweaks.
2492 * cli-out.c: Whitespace tweaks.
2493 * breakpoint.c: Whitespace tweaks.
2494 * cli/cli-interp.c: Tweak comments, per coding standard.
2495
2496 2005-01-13 Andrew Cagney <cagney@gnu.org>
2497
2498 * breakpoint.c (gdb_breakpoint_query): Update, use
2499 catch_exceptions_with_msg.
2500 (do_captured_breakpoint): Add uiout parameter.
2501 (gdb_breakpoint): Update, use catch_exceptions_with_msg.
2502 * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
2503 gdb_thread_select. Return MI_CMD_ERROR instead of
2504 MI_CMD_CAUGHT_ERROR.
2505 (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
2506 (enum captured_mi_execute_command_actions): Delete
2507 EXECUTE_COMMAND_DISPLAY_ERROR.
2508 (captured_mi_execute_command): Delete code handling
2509 MI_CMD_CAUGHT_ERROR.
2510 (mi_execute_command): Don't check for
2511 EXECUTE_COMMAND_DISPLAY_ERROR.
2512 * mi/mi-cmd-break.c (breakpoint_notify): Update call to
2513 gdb_breakpoint_query.
2514 (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
2515 * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
2516 * gdb.h (gdb_thread_select, gdb_list_thread_ids)
2517 (gdb_breakpoint, gdb_breakpoint_query): Add error_message
2518 parameter.
2519 * thread.c (thread_command): Update call.
2520 (gdb_thread_select, gdb_list_thread_ids): Update, call
2521 catch_exceptions_with_msg.
2522
2523 * mi/mi-main.c (mi_execute_command): Use catch_exception,
2524 eliminate call to error_last_message.
2525 (captured_mi_execute_command): Change return type to void.
2526
2527 2005-01-12 Andrew Cagney <cagney@gnu.org>
2528
2529 * exceptions.c (exception_none): New variable.
2530 * Makefile.in: Update dependencies.
2531 * interps.c: Include "exceptions.h".
2532 (interpreter_exec_cmd, interp_exec): Update to return "struct
2533 exception"
2534 * exceptions.h (no_exception): Declare.
2535 * tui/tui-interp.c (tui_exec): Update to return "struct exception"
2536 * mi/mi-interp.c: Include "exceptions.h".
2537 (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
2538 'struct exception".
2539 * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
2540 (do_captured_execute_command): Update to use catch_exception.
2541 * interps.h: Include "exceptions.h".
2542 (interp_exec_ftype, interp_exec): Return "struct exception".
2543
2544 * exceptions.h (throw_reason): Rename throw_exception.
2545 (enum errors, struct exception): Define.
2546 (catch_exception_ftype): Define.
2547 (catch_exception, throw_exception): Declare.
2548 * exceptions.c (throw_exception): Rewrite.
2549 (throw_reason): New function.
2550 (struct catcher, catcher_state_machine): Replace "reason" with
2551 "exception", delete "gdberrmsg".
2552 (catch_exception): New function.
2553 (catcher_init): Replace "gdberrmsg" parameter with "exception".
2554 (catch_errors, catch_exceptions_with_msg): Re-implement passing
2555 exception to catcher_init.
2556 * utils.c (error_silent, error_stream_1): Use throw_reason.
2557 (internal_verror, quit): Ditto.
2558 * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
2559 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
2560 * remote.c (remote_open_1, interrupt_query): Ditto.
2561
2562 2005-01-12 Mark Kettenis <kettenis@gnu.org>
2563
2564 * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
2565 "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
2566 (i386fbsd_jmp_buf_reg_offset): New variable.
2567 (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
2568 functions.
2569 (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
2570 * Makefile.in (i386fbsd-tdep.o): Update dependency.
2571 * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
2572
2573 * bsd-uthread.h: New file.
2574 * bsd-uthread.c: New file.
2575 * Makefile.in (bsd_uthread_h): New variable.
2576 (ALLDEPFILES): Add bsd-uthread.c.
2577 (bsd-uthread.o): New dependency.
2578
2579 * solib.h Update copyright year.
2580 (struct so_list): Forward declaration.
2581 (solib_read_symbols): New prototype.
2582 * solib.c (solib_read_symbols): New function.
2583 (solib_add): Call solib_read_symbols to read in symbols.
2584 (update_solib_list): Call observer_notify_solib_loaded.
2585
2586 * i386bsd-nat.c: Update copyright year. Don't include
2587 <sys/param.h> and <sys/user.h>.
2588 (register_u_addr, kernel_u_size): Remove functions.
2589 * config/i386/obsd.mh (NAT_FILE): Remove.
2590 * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
2591 * config/i386/nm-obsd.h: Remove file.
2592
2593 2005-01-12 Andrew Cagney <cagney@gnu.org>
2594
2595 * exceptions.c: Include "gdb_string.h".
2596 (enum catcher_state, struct catcher): Define.
2597 (current_catcher): New global, replaces catch_return;
2598 (catch_return): Delete.
2599 (throw_exception): Use current_catcher->buf;
2600 (catcher_init, catcher_pop, catcher_state_machine): New functions.
2601 (catcher): Delete.
2602 (struct catch_errors_args): Delete.
2603 (do_catch_errors): Delete.
2604 (catch_exceptions): Replace body with call to
2605 catch_exceptions_with_msg.
2606 (catcher): Delete.
2607 (catch_exceptions_with_msg, catch_errors): Re-implement using
2608 catcher_state_machine.
2609
2610 * exceptions.h (enum return_reason, RETURN_MASK)
2611 (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
2612 (return_mask, throw_exception, catch_exceptions_ftype)
2613 (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
2614 (catch_command_errors_ftype, catch_command_errors): Move to
2615 exceptions.h.
2616 * exceptions.c, exceptions.h: New files.
2617 * top.c: Do not include <setjmp.h>.
2618 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
2619 (throw_exception, catcher, catch_exceptions)
2620 (catch_exceptions_with_msg, struct catch_errors_args)
2621 (do_catch_errors, catch_errors, struct captured_command_args)
2622 (do_captured_command, catch_command_errors): Move to exceptions.c.
2623 * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
2624 * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
2625 * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
2626 * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
2627 * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
2628 * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
2629 * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
2630 * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
2631 * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
2632 * ada-valprint.c, ada-lang.c: Ditto.
2633 * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
2634 exceptions.o. Update all dependencies.
2635
2636 2005-01-11 Mark Kettenis <kettenis@gnu.org>
2637
2638 * config/i386/nm-fbsd.h: Update copyright year.
2639 Don't include "config/nm-bsd.h".
2640 (KERNEL_U_SIZE): Remove macro.
2641 (kernel_u_size): Remove prototype.
2642
2643 * config/vax/nbsdaout.mh (NAT_FILE): Remove.
2644 * config/vax/nm-nbsdaout.h: Remove file.
2645
2646 2005-01-10 Elena Zannoni <ezannoni@redhat.com>
2647
2648 * MAINTAINERS: Remove self from sh/sh64 maintainership.
2649
2650 2005-01-10 Andrew Cagney <cagney@gnu.org>
2651
2652 * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
2653 changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
2654 maintainer.
2655
2656 * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
2657 changes to CRIS.
2658
2659 * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
2660 COMMIT means can approve).
2661
2662 2005-01-10 Mark Kettenis <kettenis@gnu.org>
2663
2664 * vax-nat.c: Update copyright year. Include "inf-ptrace.h".
2665 (vax_register_u_offset): Make statuc.
2666 (_initialize_vax_nat): Construct and add target vector.
2667 * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
2668 inftarg.o. Add inf-ptrace.o.
2669 * Makefile.in (vax-nat.o): Update dependencies.
2670
2671 * inf-ptrace.h: Update copyright year. Sync comment with
2672 inf-ptrace.c.
2673 (inf_ptrace_trad_target): New prototype.
2674 * inf-ptrace.c: Update copyright year. Include "regcache.h" and
2675 "gdb_assert.h"
2676 (inf_ptrace_target): Add comment.
2677 (inf_ptrace+register_u_offset): New variable.
2678 (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
2679 (inf_ptrace_store_register, inf_ptrace_store_registers)
2680 (inf_ptrace_trad_target): New functions.
2681 * Makefile.in (inf-ptrace.o): Update dependencies.
2682
2683 2005-01-09 Mark Kettenis <kettenis@gnu.org>
2684
2685 * configure.ac: Provide prerequisite headers when checking
2686 <link.h>, <sys/proc.h> and <sys/user.h>.
2687 * configure: Regenerate.
2688
2689 2005-01-08 Mark Kettenis <kettenis@gnu.org>
2690
2691 * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
2692 tm-ppc-eabi.h instead of the removed tm-nbsd.h.
2693
2694 2005-01-07 Mark Kettenis <kettenis@gnu.org>
2695
2696 * config/ia64/tm-linux.h: Tweak comment. Update copyright year.
2697 Don't include "tm-ia64.h".
2698 * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
2699 * config/ia64/tm-ia64.h: Remove. Move contents ...
2700 * ia64-tdep.h: ... here. Update copyright year.
2701
2702 2005-01-07 Andrew Cagney <cagney@gnu.org>
2703
2704 * configure.ac: Rename configure.in, require autoconf 2.59.
2705 * configure: Re-generate.
2706
2707 * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
2708 xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
2709 to configdirs.
2710
2711 * configure.in: Replace configdirs with multiple references to
2712 AC_CONFIG_SUBDIRS.
2713 * configure: Re-generate.
2714
2715 2005-01-05 Andreas Schwab <schwab@suse.de>
2716
2717 * ia64-tdep.c: Include "osabi.h".
2718 (native_find_global_pointer): Delete.
2719 (ia64_find_global_pointer): Renamed from
2720 generic_elf_find_global_pointer.
2721 (FIND_GLOBAL_POINTER): Delete. Change all users to call
2722 ia64_find_global_pointer instead.
2723 (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
2724 to ia64_linux_sigcontext_register_address and
2725 ia64_linux_write_pc. Don't set tdep->find_global_pointer.
2726 (_initialize_ia64_tdep): Call gdbarch_register instead of
2727 deprecated register_gdbarch_init.
2728 (struct gdbarch_tdep): Remove find_global_pointer field and move
2729 to ...
2730 * ia64-tdep.h (struct gdbarch_tdep): ... here.
2731 (ia64_linux_sigcontext_register_address): Remove declaration.
2732 (ia64_linux_getunwind_table): Likewise.
2733 (ia64_linux_write_pc): Likewise.
2734 * ia64-linux-tdep.c: Include "osabi.h".
2735 (ia64_linux_sigcontext_register_address): Make static.
2736 (ia64_linux_write_pc): Likewise.
2737 (ia64_linux_init_abi): New.
2738 (_initialize_ia64_linux_tdep): New.
2739 * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
2740 $(osabi_h).
2741
2742 2005-01-05 Kevin Buettner <kevinb@redhat.com>
2743
2744 * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
2745 functions in ia64-aix-tdep.c.
2746 * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
2747 function defined in ia64-aix-tdep.c.
2748 * ia64-aix-tdep.c: Remove file.
2749 * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
2750 this list.
2751 * Makefile.in (ia64-aix-tdep.o): Delete.
2752
2753 2005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
2754
2755 Committed by Andrew Cagney.
2756 * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
2757 * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
2758 * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
2759 * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
2760 * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
2761 * aix-thread.c (_initialize_aix_thread): Get rid of the
2762 deprecated_add_show_from_set call.
2763 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
2764 * arm-tdep.c (_initialize_arm_tdep): Ditto.
2765 * command.h (add_setshow_enum_cmd): Add arguments for returning
2766 new list elements.
2767 * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
2768 * mips-tdep.c (_initialize_mips_tdep): Modify calls to
2769 add_setshow_enum_cmd.
2770
2771 2005-01-04 Mark Kettenis <kettenis@gnu.org>
2772
2773 * configure.host (ia64-*-aix*): Remove.
2774 * configure.tgt (ia64-*-aix*): Remove.
2775 * config/ia64/aix.mh: Remove file.
2776 * config/ia64/aix.mt: Remove file.
2777 * config/ia64/tm-aix.h: Remove file.
2778 * ia64-aix-nat.c: Remove file.
2779 * Makefile.in (ia64-aix-nat.o): Remove dependency.
2780
2781 * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
2782 Add back inf-ptrace.o.
2783
2784 2005-01-04 Andrew Cagney <cagney@gnu.org>
2785
2786 * version.in: Change format from 6.3.50_2005-01-04-cvs to
2787 6.3.50.20050104-cvs.
2788
2789 2005-01-04 Andreas Schwab <schwab@suse.de>
2790
2791 * breakpoint.c (break_command_1): Always free err_msg before
2792 returning when an exception was caught.
2793
2794 2005-01-01 Joel Brobecker <brobecker@gnat.com>
2795
2796 * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
2797 in register number for addil instruction.
2798
2799 For older changes see ChangeLog-2004.
2800 \f
2801 Local Variables:
2802 mode: change-log
2803 left-margin: 8
2804 fill-column: 74
2805 version-control: never
2806 End:
This page took 0.125066 seconds and 5 git commands to generate.