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