* config/powerpc/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2005-06-24 Mark Kettenis <kettenis@gnu.org>
2
3 * ppcobsd-nat.c: Include "gdbcore.h", <sys/signal.h>,
4 <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
5 (ppcobsd_supply_pcb): New function.
6 (_initialize_ppcobsd_nat): Enable libkvm interface.
7 * Makefile.in (ppcobsd-nat.o): Update dependencies.
8 * config/powerpc/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
9 (LOADLIBES): New variable.
10
11 2005-06-24 Corinna Vinschen <vinschen@redhat.com>
12
13 * i386-tdep.c (struct i386_frame_cache): Define sp_offset as LONGEST.
14
15 2005-06-23 Andreas Schwab <schwab@suse.de>
16
17 * gdb_ptrace.h: Fix typos when checking for PT_ATTACH. Reported
18 by Chad Harrington <harrington.chad@gmail.com>.
19
20 2005-06-22 Mark Kettenis <kettenis@gnu.org>
21
22 * remote.c (extended_remote_restart): Pass buffer in call to
23 xsnprintf instead of a pointer to the buffer.
24
25 2005-06-21 Andrew Cagney <cagney@gnu.org>
26
27 * MAINTAINERS: List GDB's Steering Committee as responsible for
28 GDB's maintenance.
29
30 2005-06-21 Mark Kettenis <kettenis@gnu.org>
31
32 * inf-ttrace.c (inf_ttrace_xfer_partial): Change type of readbuf
33 and writebuf arguments to `gdb_byte *'.
34
35 2005-06-21 Wu Zhou <woodzltc@cn.ibm.com>
36
37 * MAINTAINERS (Write After Approval): Add myself.
38
39 2005-06-20 Mark Kettenis <kettenis@gnu.org>
40
41 * hppabsd-tdep.c: Include "symtab.h", "objfiles.h", "target.h",
42 "value.h" and "elf/common.h".
43 (hppabsd_supply_gregset): Use `gdb_byte *' for byte buffer.
44 (hppabsd_find_global_pointer): New function.
45 (hppabsd_init_abi): Set TDEP->find_global_pointer to
46 hppabsd_find_global_pointer.
47 * Makefile.in (hppabsd-tdep.o): Update dependencies.
48
49 2005-06-12 Mark Kettenis <kettenis@gnu.org>
50
51 * hppa-tdep.c (hppa_pointer_to_address_hack): Remove function.
52 (unwind_command): Use %lx to print pointer.
53
54 2005-06-19 Mark Kettenis <kettenis@gnu.org>
55
56 * remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype.
57 Change type of second argument to`gdb_byte *'.
58
59 2005-06-19 Nick Roberts <nickrob@snap.net.nz>
60
61 * mi/mi-cmd-stack.c (mi_cmd_stack_info_frame): New function.
62
63 * mi/mi-cmds.c (mi_cmds): Replace entry for -stack-info-frame.
64 Make it use mi_cmd_stack_info_frame
65
66 * mi/mi-cmds.h (mi_cmd_stack_info_frame): New declaration.
67
68 2005-06-18 Mark Kettenis <kettenis@gnu.org>
69
70 * hppa-tdep.c (hppa_fallback_frame_cache): Don't error out if we
71 can't find the bounds of the current function. Wrap some long
72 lines in the process.
73
74 * regcache.c (regcache_raw_supply, regcache_raw_collect): Change
75 type of last argument back to `void *'.
76 * regcache.h (regcache_raw_supply, regcache_raw_collect): Likewise.
77
78 2005-06-18 Nick Roberts <nickrob@snap.net.nz>
79
80 * mi/mi-cmds.c (mi_cmds): Remove entry for -stack-info-frame.
81
82 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames)
83 (mi_cmd_stack_info_depth): Don't test for stack.
84 (mi_cmd_stack_select_frame): Make the argument mandatory.
85 Don't test for stack.
86
87 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
88
89 * remote.c (set_thread, remote_thread_alive): Replace sprintf
90 call with xsnprintf.
91 (remote_threads_extra_info, extended_remote_restart)
92 (remote_check_symbols, store_register_using_P)
93 (compare_sections_command): Ditto.
94
95 2005-06-16 David Ung <davidu@mips.com>
96
97 * MAINTAINERS (Write After Approval): Add self.
98
99 2005-06-15 Mark Kettenis <kettenis@gnu.org>
100
101 * hppa-hpux-nat.c (hppa_hpux_fetch_register)
102 (hppa_hpux_store_register): Add casts in extract_unsigned_integer
103 and store_usigned_integer calls.
104
105 2005-06-14 Nick Roberts <nickrob@snap.net.nz>
106
107 * mi/mi-main.c (mi_cmd_data_list_register_values): Remove test for
108 registers now that mi_execute_command rewinds after an error.
109
110 2005-06-13 Mark Kettenis <kettenis@gnu.org>
111
112 * configure.ac: Use AC_CHECK_TYPES to check for uintptr_t.
113 * configure, config.in: Regenerate.
114
115 * ser-tcp.c: Tweak comment.
116 [!HAVE_SOCKLEN_T]: Typedef socklen_t.
117 * configure.ac: Add check for socklen_t.
118 * configure, config.in: Regenerate.
119
120 2005-06-13 H.J. Lu <hongjiu.lu@intel.com>
121
122 * config/i386/linux64.mt (TDEPFILES): Add symfile-mem.o.
123
124 2005-06-13 Richard Sandiford <richard@codesourcery.com>
125
126 * MAINTAINERS: Update my email address.
127
128 2005-06-13 Mark Mitchell <mark@codesourcery.com>
129
130 * corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr.
131 * exec.c (exec_file_attach): Likewise.
132 * solib-frv.c (enable_break2): Likewise.
133 * solib-svr4.c (enable_break): Likewise.
134 * solib.c (solib_map_sections): Likewise.
135 * symfile.c (symfile_bfd_open): Likewise.
136
137 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
138
139 * Makefile.in (symfile.o): Add $(exec_h).
140 * exec.h (exec_set_section_address): Add prototype.
141 * exec.c (exec_set_section_address): New function.
142 * symfile.c: Include "exec.h".
143 (struct place_section_arg, place_section): New.
144 (default_symfile_offsets): Call place_section for each
145 section of a relocatable file.
146
147 2005-06-13 Joel Brobecker <brobecker@adacore.com>
148
149 * hppa-tdep.c (hppa_pc_requires_run_before_use): Really test all
150 bits of top byte in address.
151
152 2005-06-13 Wu Zhou <woodzltc@cn.ibm.com>
153
154 * eval.c (evaluate_subexp_standard): Add code to check the target
155 type of a TYPE_CODE_PTR value when we encounter a f77 undetermined
156 arglist. If it is array, string or function, work on the target
157 value instead.
158
159 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
160 Nick Roberts <nickrob@snap.net.nz>
161
162 * mi/mi-main.c (register_changed_p, get_register): Use
163 get_selected_frame.
164 (mi_execute_command): Call mi_out_rewind after an error.
165
166 2005-06-12 Mark Kettenis <kettenis@gnu.org>
167
168 * hppa-tdep.c (hppa_frame_prev_register)
169 (hppa_fallback_frame_prev_register)
170 (hppa_stub_frame_prev_register): Change type of last argument to
171 `gdb_byte *'.
172 (hppa_fetch_pointer_argument): Tweak comment. Use
173 get_frame_register_unsigned instead of get_frame_register.
174 (hppa32_return_value, hppa64_return_value): Change type of readbuf
175 and writebuf arguments to `gdb_byte *'. Remove unecessary casts
176 and local variables.
177 (hppa_pseudo_register_read): Change type of last argument to
178 `gdb_byte *'.
179
180 * m68k-tdep.c (m68k_frame_prev_register): Change type of last
181 argument to `gdb_byte *'.
182
183 * arm-tdep.c (set_disassembly_style, _initialize_arm_tdep):
184 Consitify regnames.
185
186 * alpha-tdep.c (alpha_sigtramp_frame_prev_register)
187 (alpha_heuristic_frame_prev_register): Change type of last
188 argument to `gdb_byte *'.
189 (alpha_register_to_value, alpha_value_to_register)
190 (alpha_extract_return_value, alpha_store_return_value): Likewise.
191 * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.
192
193 * arm-tdep.c (arm_prologue_prev_register)
194 (arm_sigtramp_prev_register): Change type of last argument to
195 `gdb_byte *'.
196
197 * m88k-tdep.c (m88k_frame_prev_register): Change type of last
198 argument to `gdb_byte *'.
199
200 * vax-tdep.c (vax_frame_prev_register): Change type of last
201 argument to `gdb_byte *'.
202
203 * sparc-tdep.c (sparc32_frame_prev_register): Change type of last
204 argument to `gdb_byte *'.
205 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register):
206 Likewise.
207 * sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Likewise.
208 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register):
209 Likewise.
210 * sparc64-tdep.c (sparc64_frame_prev_register): Likewise.
211 * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register):
212 Likewise.
213 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register):
214 Likewise.
215 * sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Likewise.
216 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind):
217 Likewise.
218
219 * amd64-tdep.c (amd64_frame_prev_register)
220 (amd64_sigtramp_frame_prev_register): Change type of last argument
221 to `gdb_byte *'.
222
223 2005-06-11 Mark Kettenis <kettenis@gnu.org>
224
225 * i386-tdep.c (i386_register_type): Return
226 builtin_type_void_func_ptr for %eip and builtin_type_void_data_ptr
227 for %ebp and %esp.
228
229 2005-06-10 Ben Elliston <bje@au.ibm.com>
230
231 * valprint.c (print_floating): Fix comment typo.
232
233 2005-06-09 Jeff Johnston <jjohnstn@redhat.com>
234
235 * ia64-tdep.c (ia64_pseudo_register_read): Use gdb_byte and
236 protect libunwind references with HAVE_LIBUNWIND_IA64_H flag.
237 (ia64_pseudo_register_write): Use gdb_byte to remove warning.
238 (ia64_register_to_value, ia64_value_to_register): Ditto.
239 (ia64_frame_prev_register): Ditto.
240 (ia64_libunwind_frame_prev_register): Ditto.
241 (ia64_sigtramp_frame_prev_register): Ditto.
242 (ia64_libunwind_sigtramp_frame_prev_register): Ditto.
243 (ia64_store_return_value): Ditto.
244
245 2005-06-08 Jeff Johnston <jjohnstn@redhat.com>
246 David Mosberger <davidm@hpl.hp.com>
247
248 * ia64-tdep.c (KERNEL_START): New macro.
249 (ia64_pseudo_register_read): Fix code to use libunwind to properly
250 get the rse registers.
251 (ia64_frame_this_id): Mark outermost frame with null frame id.
252 (ia64_sigtramp_frame_prev_register): Fix up debug output.
253 (ia64_access_rse_reg): New accessor function.
254 (ia64_access_mem): Add special logic for accessing the
255 kernel's unwind table.
256 (getunwind_table): Fix for corefiles.
257 (get_kernel_table): Fix to handle vDSO.
258 (ia64_libunwind_frame_this_id): Check for null frame id and
259 don't unwind past pc value of 0. Fix debugging output.
260 (ia64_libunwind_sigtramp_frame_this_id): New function.
261 (ia64_libunwind_sigtramp_frame_prev_register): Ditto.
262 (ia64_libunwind_sigtramp_frame_sniffer): Ditto.
263 (ia64_libunwind_sigtramp_frame_unwind): New unwinder.
264 (ia64_unw_rse_accessors): New libunwind accessors.
265 (ia64_libunwind_descr): Add ia64_unw_rse_accessors.
266 (ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Use
267 ia64_libunwind_sigtramp_frame_sniffer instead of
268 ia64_sigtramp_frame_sniffer.
269 * libunwind-frame.c (libunwind_frame_set_descr): Add
270 special register accessors.
271 (libunwind_frame_cache): Add special logic to check for
272 0 pc value. Check for a signal trampoline frame.
273 (libunwind_frame_this_id): Check if libunwind_frame_cache
274 returns NULL.
275 (libunwind_frame_prev_register): Check for NULL cache.
276 (libunwind_frame_base_address): Ditto.
277 (libunwind_sigtramp_frame_sniffer): New function.
278 (libunwind_get_reg_special): Ditto.
279 (libunwind_load): Add unw_is_signal_frame support.
280 * libunwind-frame.h (struct libunwind_descr): Add special_accessors
281 field.
282 (libunwind_sigtramp_frame_sniffer): New prototype.
283 (libunwind_get_reg_special): Ditto.
284
285 2005-06-08 Wu Zhou <woodzltc@cn.ibm.com>
286
287 * expression.h (enum exp_opcode): Fix a comment typo.
288
289 2005-06-06 Manoj Iyer <manjo@austin.ibm.com>
290
291 * solib-svr4.c (struct lm_info): Change type of 'lm' to gdb_byte.
292 (elf_locate_base): Converted types of buf, bufend, pbuf, to gdb_byte.
293 (first_link_map_member): Converted type of r_map_buf to gdb_byte.
294 (open_symbol_file_object): Converted type of l_name_buf to gdb_byte.
295 (svr4_fetch_objfile_link_map): Converted type of l_name_buf to
296 gdb_byte.
297
298 2005-06-04 Richard Sandiford <rsandifo@nildram.co.uk>
299
300 * MAINTAINERS: Update my email address.
301
302 2005-06-03 Joel Brobecker <brobecker@adacore.com>
303
304 * symmisc.c (dump_symtab_1): Renamed from dump_symtab.
305 (dump_symtab): New function.
306
307 2005-04-02 Joel Brobecker <brobecker@adacore.com>
308
309 * exceptions.h: Include ui-out.h.
310 (ui_out): Remove declaration.
311 * Makefile.in (exceptions_h): Add dependency on ui-out.h.
312
313 2005-05-30 Andrew Cagney <cagney@gnu.org>
314
315 * MAINTAINERS (Can Commit Without Approval): New section,
316 previously burried under "Target Instruction Set Architectures".
317 Note that cagney "can commit" changes to powerpc-linux.
318
319 * MAINTAINERS: Drop architecture and target vectors.
320
321 2005-05-29 Eli Zaretskii <eliz@gnu.org>
322
323 * config/djgpp/fnchange.lst: Add mappings for linux-ppc-low.c and
324 linux-ppc64-low.c.
325
326 2005-05-28 Bob Rossi <bob@brasko.net>
327 * Makefile.in (SUBDIR_MI_OBS, SUBDIR_MI_SRCS): Add mi-common.
328 (gdb/mi/ headers): Add mi_common_h.
329 (breakpoint.o, infrun.o): Add dependencies mi_common_h.
330 * breakpoint.c (include): Add include 'mi/mi-common.h'.
331 (print_it_typical): Use async_reason_lookup.
332 (watchpoint_check): Ditto.
333 * infrun.c (include): Add include 'mi/mi-common.h'.
334 (print_stop_reason): Use async_reason_lookup.
335 * mi/mi-common.h: New file.
336 * mi/mi-common.c: Ditto.
337
338 2005-05-29 Joel Brobecker <brobecker@adacore.com>
339
340 * alpha-tdep.c (alpha_next_pc): Use correct register number
341 for floating-point branch instructions.
342
343 2005-05-28 Daniel Jacobowitz <dan@codesourcery.com>
344 Jonathan Larmour <jifl@eCosCentric.com>
345
346 PR backtrace/1760
347 * frame.c (backtrace_limit): Change type to int.
348 (get_prev_frame): Update backtrace limit support.
349 (_initialize_frame): Use add_setshow_integer_cmd for backtrace_limit.
350
351 2005-05-28 Daniel Jacobowitz <dan@codesourcery.com>
352
353 * configure.tgt (powerpc64-*-linux*): Enable gdbserver.
354 * regformats/reg-ppc64.dat: New file.
355
356 2005-05-28 Daniel Jacobowitz <dan@codesourcery.com>
357
358 From Wu Zhou <woodzltc@cn.ibm.com>:
359 * remote.c (struct gdb_ext_thread_info): Fix a comment typo.
360 (remote_unpack_thread_info_response): Likewise.
361
362 2005-05-28 Daniel Jacobowitz <dan@codesourcery.com>
363
364 * cli/cli-setshow.c (do_setshow_command): Partially revert previous
365 change. Cast to "char **" for var_string.
366
367 2005-05-28 Daniel Jacobowitz <dan@codesourcery.com>
368
369 * cp-name-parser.y (parse_escape): Revert previous change. Return
370 the input character by default.
371
372 2005-05-28 Daniel Jacobowitz <dan@codesourcery.com>
373
374 * dwarf2-frame.c (dwarf2_frame_prev_register): Use gdb_byte.
375 * i386-linux-nat.c (fetch_register, store_register, supply_gregset)
376 (fill_gregset): Likewise.
377 * i386-tdep.c (i386_frame_prev_register)
378 (i386_sigtramp_frame_prev_register): Likewise.
379 * linux-nat.c (linux_nat_xfer_memory, linux_nat_make_corefile_notes):
380 Likewise.
381 * linux-thread-db.c (thread_db_xfer_memory): Likewise.
382 * remote.c (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint):
383 Likewise.
384 * target.c (debug_to_insert_hw_breakpoint)
385 (debug_to_remove_hw_breakpoint, update_current_target): Likewise.
386
387 2005-05-28 Hans-Peter Nilsson <hp@axis.com>
388
389 * MAINTAINERS: Change cris-elf state to non-broken.
390 * cp-name-parser.y (parse_escape): Initialize target_char to zero.
391
392 2005-05-27 Orjan Friberg <orjanf@axis.com>
393
394 * cris-tdep.c (crisv32_scan_prologue): Add.
395 (cris_frame_unwind_cache, cris_skip_prologue): Call
396 crisv32_scan_prologue when debugging CRISv32.
397
398 2005-05-27 Orjan Friberg <orjanf@axis.com>
399
400 * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start)
401 (cris_frame_prev_register, cris_sigtramp_frame_prev_register)
402 (cris_return_value): Use gdb_byte for byte buffers.
403 (struct cris_frame_unwind, struct cris_frame_base): Fix formatting.
404
405 2005-05-26 Chris Demetriou <cgd@netbsd.org>
406
407 * MAINTAINERS (Write After Approval): Remove myself.
408
409 2005-05-27 Andrew Cagney <cagney@gnu.org>
410
411 * jv-lang.c (get_java_utf8_name): Add cast.
412 (evaluate_subexp_java): Use gdb_byte for buffers.
413 * jv-valprint.c (java_value_print, java_value_print): Use gdb_byte
414 for buffers.
415 * scm-lang.c (scm_get_field, scm_unpack)
416 (scm_evaluate_string): Use gdb_byte for buffers.
417 (scm_lookup_name): Add cast.
418 * scm-valprint.c (scm_scmval_print, scm_scmval_print): Use
419 gdb_byte for buffers.
420 * tui/tui.h (tui_get_command_dimension): Make parameters unsigned.
421 * tui/tui.c (tui_get_command_dimension): Make parameters unsigned.
422 * value.h (check_field): Change "name" to a string.
423 * valops.c (check_field): Change "name" to a string.
424 * scm-lang.h (scm_parse): Use gdb_byte for buffers.
425 * source.c (get_current_source_symtab_and_line)
426 (set_current_source_symtab_and_line): Initialize all fields of sal
427 structures.
428 * cli/cli-cmds.c (list_command): Use gdb_byte for buffers.
429
430 2005-05-26 Andrew Cagney <cagney@gnu.org>
431
432 * command.h (add_setshow_integer_cmd): Make VAR an integer.
433 * cli/cli-decode.c (add_setshow_integer_cmd): Update to match.
434 * valops.c (value_string): Add a cast.
435 * eval.c (evaluate_subexp_standard): Use gdb_byte for byte buffers.
436 * breakpoint.c (re_enable_breakpoints_in_shlibs): Use gdb_byte for
437 byte buffers.
438 * target.h (struct target_ops): For to_insert_hw_breakpoint and
439 to_remove_hw_breakpoint use gdb_byte for byte buffer parameters.
440 * breakpoint.h (struct bp_location): Make shadow_contents a
441 gdb_byte buffer.
442 * cli/cli-setshow.c (do_setshow_command): Fix cast.
443 * cli/cli-dump.c (restore_section_callback)
444 (restore_binary_file): Use gdb_byte for byte buffers.
445 * proc-service.c (ps_ptwrite, ps_ptread, ps_pdwrite): Fix casts.
446 (ps_xfer_memory): Use gdb_byte for byte buffers.
447 * tracepoint.c (mem2hex): Use gdb_byte for byte buffers, and char
448 for string buffers.
449 * ser-tcp.c (net_open): Make len a socklen_t.
450
451 2005-05-24 Andrew Cagney <cagney@gnu.org>
452
453 * rs6000-tdep.c (ppc_supply_reg, ppc_collect_reg): Use gdb_byte
454 for byte buffers.
455 (rs6000_fetch_pointer_argument): Use get_frame_register_unsigned.
456 (rs6000_software_single_step, sstep_breaks, skip_prologue)
457 (rs6000_push_dummy_call, rs6000_push_dummy_call)
458 (rs6000_push_dummy_call, rs6000_push_dummy_call)
459 (rs6000_register_to_value, e500_pseudo_register_read)
460 (rs6000_store_return_value, e500_pseudo_register_write)
461 (rs6000_frame_prev_register, rs6000_extract_return_value): Ditto.
462 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
463 (ppc_sysv_abi_push_dummy_call, do_ppc_sysv_return_value)
464 (do_ppc_sysv_return_value, ppc_sysv_abi_return_value)
465 (ppc_sysv_abi_broken_return_value)
466 (ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_push_dummy_call)
467 (ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_return_value)
468 (ppc64_sysv_abi_return_value, ppc64_sysv_abi_return_value): Ditto.
469 * ppc-linux-tdep.c (ppc_linux_in_sigtramp)
470 (ppc_linux_at_sigtramp_return_path)
471 (ppc_linux_skip_trampoline_code)
472 (ppc_linux_memory_remove_breakpoint, ppc_linux_return_value):
473 * rs6000-tdep.c (rs6000_value_to_register)
474 (rs6000_register_to_value): Ditto.
475 * ppc-tdep.h (ppc_sysv_abi_return_value)
476 (ppc64_sysv_abi_return_value, ppc_sysv_abi_broken_return_value)
477 (ppc_linux_memory_remove_breakpoint): Ditto.
478
479 2005-05-24 Ulrich Weigand <uweigand@de.ibm.com>
480
481 * s390-tdep.c (s390_frame_prev_register): Change type of last
482 argument to 'gdb_byte *'.
483 (s390_stub_frame_prev_register): Likewise.
484 (s390_sigtramp_frame_prev_register): Likewise.
485
486 2005-05-24 Kris Warkentin <kewarken@qnx.com>
487
488 * config/i386/nto.mt: Remove remote-nto.o.
489
490 2005-05-24 Orjan Friberg <orjanf@axis.com>
491
492 * config/djgpp/fnchange.lst: Add mappings for
493 gdbserver/linux-cris-low.c and gdbserver/linux-crisv32-low.c.
494
495 2005-05-23 Michael Snyder <msnyder@redhat.com>
496 From Nora Pan <qpan@mvista.com>
497 * linux-nat.c (read_mapping): Don't stumble over entries in
498 mapping that have name but zero inode.
499
500 2005-05-23 Andrew Cagney <cagney@gnu.org>
501
502 * target.h (child_xfer_memory): Use gdb_byte for byte buffer
503 parameters.
504 * inftarg.c (child_xfer_partial): Update.
505 * wince.c (child_xfer_memory): Update.
506 * win32-nat.c (child_xfer_memory): Update.
507 * rs6000-nat.c (child_xfer_memory): Update.
508 * infptrace.c (child_xfer_memory): Update.
509 * dcache.c (struct dcache_block): Use gdb_byte for the byte
510 buffers.
511 (dcache_read_line, dcache_xfer_memory, dcache_poke_byte)
512 (dcache_peek_byte, dcache_write_line): Ditto.
513
514 * auxv.h (target_auxv_read, procfs_xfer_auxv)
515 (target_auxv_parse): Use gdb_byte for byte buffer parameters.
516 * auxv.c (target_auxv_read, procfs_xfer_auxv, target_auxv_parse)
517 (target_auxv_search, fprint_target_auxv): Update.
518
519 2005-05-23 Orjan Friberg <orjanf@axis.com>
520
521 * cris-tdep.c: Tweak values for cris-mode.
522
523 2004-05-23 Joel Brobecker <brobecker@adacore.com>
524
525 * mdebugread.c (record_minimal_symbol): New procedure.
526 (parse_partial_symbols): Use record_minimal_symbol to record
527 the new minimal symbols instead of prim_record_minimal_symbol
528 and prim_record_minimal_symbol_and_info.
529
530 2005-05-22 Mark Kettenis <kettenis@gnu.org>
531
532 * NEWS: Mention OpenBSD/arm as a new native configuration.
533
534 * armnbsd-nat.c: Include "gdb_string.h" and "inf_ptrace.h".
535 Reorder includes. Don't require FETCH_INFERIOR_REGISTERS to be
536 defined.
537 (armnbsd_fetch_registers): Rename from armnbsd_fetch_registers.
538 Make static.
539 (armnbsd_store_registers): Rename from armnbsd_store_registers.
540 Make static.
541 (_initialize_arm_netbsd_nat): Construct and add target vector.
542 * Makefile.in (armnbsd-nat.o): Update dependencies.
543 * config/arm/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and
544 intarg.o, add inf-ptrace.o.
545 (NAT_FILE): Set to solib.h.
546 * config/arm/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and
547 inftarg.o, add inf-ptrace.o.
548 (NAT_FILE): Remove.
549
550 * arm-tdep.c (arm_extract_return_value, arm_store_return_value):
551 Change type of last argument to `gdb_byte *'.
552
553 * configure.host: Add arm*-*-openbsd*.
554 * configure.tgt: Add arm*-*-openbsd*.
555
556 2005-05-22 Andrew Cagney <cagney@gnu.org>
557
558 * frame.h (frame_register_unwind, frame_unwind_register)
559 (get_frame_register, frame_register, put_frame_register)
560 (get_frame_memory, safe_frame_unwind_memory)
561 (frame_register_read): Use gdb_byte for byte buffer parameters.
562 * trad-frame.h (trad_frame_get_register)
563 (frame_get_prev_register): Ditto.
564 * frame-unwind.h (frame_prev_register_ftype): Ditto.
565 * frame.c (frame_pop, frame_register, frame_unwind_register)
566 (get_frame_register, frame_unwind_register_signed)
567 (frame_unwind_register_unsigned, frame_unwind_unsigned_register)
568 (frame_register_read, get_frame_memory): Update.
569 * trad-frame.c (trad_frame_get_prev_register): Update.
570 (trad_frame_get_register): Update.
571 * gdbcore.h (deprecated_read_memory_nobpt, read_memory): Ditto.
572 * breakpoint.c (deprecated_read_memory_nobpt): Update.
573 * corefile.c (read_memory): Update.
574 * tramp-frame.c (tramp_frame_prev_register): Update.
575 * valops.c (value_assign): Update.
576 * sentinel-frame.c (sentinel_frame_prev_register): Update.
577 * std-regs.c (value_of_builtin_frame_fp_reg)
578 (value_of_builtin_frame_pc_reg): Update.
579 * infcmd.c (default_print_registers_info): Update
580 * dummy-frame.c (dummy_frame_prev_register): Update.
581 * findvar.c (value_of_register, value_from_register): Update.
582 * tui/tui-regs.c (tui_register_format, tui_get_register): Update.
583 * mi/mi-main.c (register_changed_p, get_register): Update.
584
585 2005-05-20 Eli Zaretskii <eliz@gnu.org>
586
587 * configure.ac: Add snprintf and vsnprintf to AC_CHECK_DECLS. Fix
588 bad description of _MSE_INT_H that caused each word in config.in
589 to be enclosed in [].
590 * configure, config.in: Regenerate.
591
592 2005-05-20 Joel Brobecker <brobecker@adacore.com>
593
594 * alpha-tdep.c (fp_register_zero_p): New function.
595 (fp_register_sign_bit): New function.
596 (alpha_next_pc): Add support for floating-point control instructions.
597
598 2005-05-19 Andrew Cagney <cagney@gnu.org>
599
600 * defs.h (extract_signed_integer, extract_unsigned_integer)
601 (extract_long_unsigned_integer, extract_typed_address)
602 (store_signed_integer, store_unsigned_integer)
603 (store_typed_address): Use gdb_byte for byte buffer parameters.
604 (push_bytes, push_word): Delete declaration.
605 * valops.c (push_bytes, push_word): Delete function.
606 * findvar.c (extract_signed_integer, extract_unsigned_integer)
607 (extract_typed_address, store_signed_integer)
608 (store_unsigned_integer): Update.
609
610 * regcache.h (regcache_raw_read, regcache_raw_write)
611 (regcache_raw_read_part, regcache_raw_write_part)
612 (regcache_cooked_read_part, regcache_cooked_write_part)
613 (regcache_cooked_read, regcache_cooked_write)
614 (regcache_raw_supply, regcache_raw_collect)
615 (regcache_cooked_read_ftype, regcache_save, regcache_restore)
616 (deprecated_read_register_gen, deprecated_write_register_gen)
617 (deprecated_read_register_bytes, deprecated_write_register_bytes)
618 (deprecated_grub_regcache_for_registers): Use gdb_byte for byte
619 buffer parameters.
620 * ia64-tdep.c (ia64_extract_return_value): Update.
621 * frame.c (do_frame_register_read): Update.
622 * regcache.c (deprecated_grub_regcache_for_registers)
623 (struct regcache, regcache_save, regcache_restore, regcache_cpy)
624 (do_cooked_read, regcache_xmalloc, register_buffer)
625 (deprecated_read_register_bytes, regcache_raw_read)
626 (regcache_raw_read_signed, regcache_raw_read_unsigned)
627 (deprecated_read_register_gen, regcache_cooked_read)
628 (regcache_cooked_read_signed, regcache_cooked_read_unsigned)
629 (deprecated_write_register_gen, regcache_cooked_write)
630 (deprecated_write_register_bytes, regcache_raw_read_part)
631 (regcache_raw_write_part, regcache_cooked_read_part)
632 (regcache_cooked_write_part, read_register, regcache_raw_supply):
633
634 2005-05-17 Corinna Vinschen <vinschen@redhat.com>
635
636 * MAINTAINERS: Undelete v850.
637 * Makefile.in: Re-add v850-tdep.o dependencies.
638 * configure.tgt: Re-add v850.
639 * v850-tdep.c: Reorder code slightly. Add register number enumerator.
640 (struct v850_frame_cache): New structure.
641 (v850_processor_type_table): Remove. Move functionality into
642 v850_register_name, v850e_register_name and v850_gdbarch_init.
643 (v850_register_name): New function.
644 (v850e_register_name): New function.
645 (struct prologue_info): Remove definition.
646 (v850_register_type): New function.
647 (v850_type_is_scalar): New function.
648 (v850_use_struct_convention): Align to gcc behaviour.
649 (v850_handle_prepare): Renamed from handle_prepare. Change third
650 parameter to struct v850_frame_cache *.
651 (v850_handle_pushm): Renamed from handle_pushm. Change third parameter
652 to struct v850_frame_cache *.
653 (v850_is_save_register): New function to evaluate if a register is
654 caller-save.
655 (v850_analyze_prologue): Replace v850_scan_prologue. Change to support
656 new frame code.
657 (v850_init_extra_frame_info): Remove.
658 (v850_frame_chain): Remove.
659 (v850_find_callers_reg): Remove.
660 (v850_skip_prologue): Make static.
661 (v850_pop_frame): Remove.
662 (v850_frame_align): New function.
663 (v850_push_dummy_call): Replace v850_push_arguments.
664 (v850_push_return_address): Remove.
665 (v850_extract_return_value): New function.
666 (v850_store_return_value): New function.
667 (v850_return_value): New function.
668 (v850_frame_saved_pc): Remove.
669 (v850_breakpoint_from_pc): New function.
670 (v850_alloc_frame_cache): New function.
671 (v850_fix_call_dummy): Remove.
672 (v850_frame_cache): New function.
673 (v850_target_architecture_hook): Remove.
674 (v850_frame_prev_register): New function.
675 (v850_frame_this_id): New function.
676 (v850_frame_unwind): New structure.
677 (v850_frame_sniffer): New function.
678 (v850_unwind_sp): New function.
679 (v850_unwind_pc): New function.
680 (v850_unwind_dummy_id): New function.
681 (v850_frame_base_address): New function.
682 (v850_frame_base): New structure.
683 (v850_gdbarch_init): New function.
684 * config/v850/v850.mt: Undelete. Drop TM_FILE.
685
686 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
687 Dennis Brueni <dennis@slickedit.com>
688
689 * stack.c (print_frame): In MI mode, output a fullname attribute
690 with the stack frame.
691
692 2005-05-16 Mark Kettenis <kettenis@gnu.org>
693
694 * corelow.c (core_xfer_partial): Change type of readbuf and
695 writebuf to `gdb_byte *'.
696 * sparc-nat.c (sparc_xfer_wcookie, sparc_xfer_partial): Change
697 type of readbuf and writebuf to `gdb_byte *'.
698 * bsd-uthread.c (bsd_uthread_xfer_partial): Change type of readbuf
699 and writebuf to `gdb_byte *'.
700 * inf-ptrace.c (inf_ptrace_xfer_partial): Change type of readbuf
701 and writebuf to `gdb_byte *'.
702 * bsd-kvm.c (bsd_kvm_xfer_memory): Replace.
703 (bsd_kvm_xfer_partial): New function.
704 (bsd_kvm_add_target): Set to_xfer_partial instead of
705 to_xfer_memory.
706 * bfd-target.c (target_bfd_xfer_partial): Change type of readbuf
707 and writebuf to `gdb_byte *'.
708 * target.c (deprecated_debug_xfer_memory): Remove prototype.
709 (deprecated_debug_xfer_memory): Change type of second argument to
710 `gdb_byte *'.
711 * remote.c (remote_xfer_memory): Remove prototype.
712 (remote_xfer_memory): Change type of second argument to `gdb_byte
713 *'.
714 (remote_xfer_partial): Change type of readbuf and writebuf to
715 `gdb_byte *'.
716
717 * config/sparc/fbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
718 * config/sparc/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o
719 and solib-legacy.o.
720 (NAT_FILE): Remove.
721
722 2005-05-16 Ulrich Weigand <uweigand@de.ibm.com>
723
724 * s390-tdep.c (s390_return_value): Remove unnecessary casts.
725 (s390_breakpoint_from_pc): Change type of return value and
726 'breakpoint' to const gdb_byte *.
727
728 2005-05-16 Ulrich Weigand <uweigand@de.ibm.com>
729
730 * s390-tdep.c (s390_pseudo_register_read, s390_pseudo_register_write):
731 Change type of 'buf' argument to gdb_byte *.
732 (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
733 (s390_register_to_value): Change type of 'out' to gdb_byte *, change
734 type of 'in' to gdb_byte [].
735 (s390_value_to_register): Change type of 'in' to gdb_byte *, change
736 type of 'out' to gdb_byte [].
737 (s390_return_value): Change type of 'out' and 'in' to gdb_byte *.
738
739 2005-05-16 Andrew Cagney <cagney@gnu.org>
740
741 * target.h (target_read_partial, target_write_partial)
742 (do_xfer_memory, xfer_memory, target_read, target_write)
743 (get_target_memory): For buffers, change "void*" to gdb_byte.
744 (struct target_ops): Ditto for to_xfer_partial and
745 deprecated_xfer_memory.
746 * dcache.h (dcache_xfer_memory): Ditto.
747 * target.c (default_xfer_partial, target_read_partial)
748 (target_write_partial, target_read, target_write)
749 (do_xfer_memory, update_current_target, get_target_memory): Update.
750 (target_read_string): Change buf to a gdb_byte.
751 * dcache.c (dcache_xfer_memory): Update.
752 * exec.c (xfer_memory): Make buffer type to gdb_byte.
753 * mem-break.c (default_memory_insert_breakpoint): Remove cast.
754 * disasm.c (dis_asm_read_memory): Remove cast, use gdb_byte.
755
756 2005-05-16 Mark Kettenis <kettenis@gnu.org>
757
758 * sol-thread.c (ignore): Change last argument to `gdb_byte.'
759
760 * config/i386/fbsd.mt (DEPRECATED_TM_FILE): Remove.
761 * config/i386/fbsd64.mt (DEPRECATED_TM_FILE): Remove.
762 * config/i386/nbsd.mt (DEPRECATED_TM_FILE): Remove.
763 * config/i386/nbsd64.mt (DEPRECATED_TM_FILE): Remove.
764 * config/sparc/nbsd.mt (DEPRECATED_TM_FILE): Remove.
765 * config/sparc/nbsd64.mt (DEPRECATED_TM_FILE): Remove.
766
767 * observer.sh: Quote $DJGPP.
768
769 2005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
770
771 * Makefile.in (.y.c): Update ylwrap invocation.
772
773 2005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
774
775 * linux-nat.c (child_follow_fork, linux_handle_extended_wait)
776 (lin_lwp_attach_lwp, linux_nat_attach, wait_lwp, child_wait)
777 (linux_nat_wait, kill_wait_callback): Use my_waitpid.
778 (_initialize_linux_nat, lin_thread_get_thread_signals): Use
779 SA_RESTART.
780
781 2005-05-14 Mark Kettenis <kettenis@gnu.org>
782
783 * configure.tgt (vax-*-openbsd*): Set gdb_target to obsd.
784 * config/vax/obsd.mt (TDEPFILES): New file.
785
786 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset): Use
787 gdb_byte instead of bfd_byte.
788
789 * mips-tdep.c (mips_pseudo_register_read)
790 (mips_pseudo_register_write): Change type of last argument to
791 `gdb_byte *'.
792 (mips_register_to_value, mips_value_to_register): Change type of
793 last argument to `gdb_byte *'. Remove casts that are no longer
794 needed.
795 (mips_fetch_instruction, fetch_mips_16): Use gdb_byte for buf.
796 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
797 (mips_o32_push_dummy_call, mips_o32_return_value): Use `const
798 gdb_byte *' for val and gdb_byte for valbuf. Remove casts that
799 are no longer needed.
800 (mips_eabi_return_value, mips_n32n64_return_value)
801 (mips_o32_return_value, mips_o64_return_value): Change type of
802 readbuf and writebuf arguments to `gdb_byte *'.
803 (mips_read_fp_register_single): Change type of last argument to
804 `gdb_byte *'. Use `gdb_byte *' for raw_buffer.
805 (mips_read_fp_register_double): Change type of last argument to
806 `gdb_byte *'.
807 (mips_print_fp_register): Use `gdb_byte *' for raw_buffer. Remove
808 casts that are no longer needed.
809 (mips_print_register, print_gp_register_row): Use gdb_byte for
810 raw_buffer. Remove casts that are no longer needed.
811 (mips_single_step_through_delay): Use gdb_byte for buf.
812 (mips_breakpoint_from_pc): Change return type to `const gdb_byte
813 *'. Use gdb_byte for mips16_big_breakpoint, big_breakpoint,
814 pmon_big_breakpoint, idt_big_breakpoint, mips16_little_breakpoint,
815 little_breakpoint, pmon_little_breakpoint and
816 idt_little_breakpoint.
817 (mips_integer_to_address): Use `gdb_byte *' for tmp.
818
819 * config/m68k/obsd.mt (DEPRECATED_TM_FILE): Remove.
820 * config/i386/obsd.mt (DEPRECATED_TM_FILE): Remove.
821 * config/i386/obsd64.mt (DEPRECATED_TM_FILE): Remove.
822 * config/pa/obsd.mt (DEPRECATED_TM_FILE): Remove.
823 * config/sparc/obsd.mt (DEPRECATED_TM_FILE): Remove.
824 * config/sparc/obsd64.mt (DEPRECATED_TM_FILE): Remove.
825
826 * sparc-tdep.c (sparc_fetch_instruction, sparc_fetch_wcookie): Use
827 gdb_byte for buf.
828 (sparc32_pseudo_register_read, sparc32_pseudo_register_write):
829 Change type of last argument to `gdb_byte *'. Remove casts that
830 are no longer needed.
831 (sparc32_push_dummy_code, sparc32_store_arguments): Use gdb_byte
832 for buf.
833 (sparc_breakpoint_from_pc): Change return type to `const gdb_byte
834 *'. Use gdb_byte for break_insn.
835 (sparc32_extract_return_value, sparc32_store_return_value): Change
836 type of last argument to `gdb_byte *'. Use gdb_byte for buf.
837 (sparc32_return_value): Change type of readbuf and writebuf
838 arguments to `gdb_byte *'.
839 (sparc_software_single_step): Use gdb_byte for npc_save and
840 nnpc_save.
841 (sparc_supply_rwindow, sparc_collect_rwindow): Use gdb_byte for
842 buf.
843 (sparc32_supply_gregset, sparc32_collect_gregset)
844 (sparc32_supply_fpregset, sparc32_collect_fpregset): Use `gdb_byte
845 *' for regs.
846 * sparc64-tdep.c (sparc64_pseudo_register_read)
847 (sparc64_pseudo_register_write): Change type of last argument to
848 `gdb_byte *'. Remove casts that are no longer needed.
849 (sparc64_store_floating_fields, sparc64_extract_floating_fields):
850 Change type of valbuf argument to `gfd_byte *'.
851 (sparc64_store_arguments): Use `gdb_byte *' for valbuf. use
852 gdb_byte for buf.
853 (sparc64_extract_return_value, sparc64_store_return_value): Change
854 type of last argument to `gdb_byte *'. Use gdb_byte for buf.
855 (sparc64_return_value): Change type of readbuf and writebuf
856 arguments to `gdb_byte *'.
857 (sparc64_supply_gregset, sparc64_collect_gregset)
858 (sparc64_supply_fpregset, sparc64_collect_fpregset): Use `gdb_byte
859 *' for regs.
860
861 * m68k-tdep.c (m68k_local_breakpoint_from_pc): Change return type
862 to `const gdb_byte *'. Use gdb_byte for break_insn.
863 (m68k_register_to_value): Change type of last argument to
864 `gdb_byte *'. Use gdb_byte for from.
865 (m68k_value_to_register): Change type of last argument to
866 `gdb_byte *'. Use gdb_byte for to.
867 (m68k_extract_return_value): Change type of last argument to
868 `gdb_byte *'. Use gdb_byte for buf. Remove unnecessary cast.
869 (m68k_svr4_extract_return_value): Change type of last argument to
870 `gdb_byte *'. Use gdb_byte for buf.
871 (m68k_store_return_value): Change type of last argument to
872 `gdb_byte *'. Remove unnecessary cast.
873 (m68k_svr4_store_return_value): Change type of last argument to
874 `gdb_byte *'. Use gdb_byte for buf.
875 (m68k_return_value, m68k_svr4_return_value): Change type of
876 readbuf and writebuf arguments to `gdb_byte *'.
877 (m68k_push_dummy_call, m68k_unwind_pc, m68k_frame_cache)
878 (m68k_unwind_dummy_id): Use gdb_byte for buf.
879 (m68k_get_longjmp_target): Use `gdb_byte *' for buf.
880 * m68kbsd-tdep.c (m68kbsd_supply_fpregset)
881 (m68kbsd_supply_gregset): Use `gdb_byte *' for regs.
882
883 * m88k-tdep.c (m88k_breakpoint_from_pc): Change return type to
884 `const gdb_byte *'. Use gdb_byte for break_insn.
885 (m88k_return_value): Change type of readbuf and
886 writebuf arguments to `gdb_byte *'. Use gdb_byte for buf.
887 (m88k_supply_gregset): Use `gdb_byte *' for regs.
888
889 * vax-tdep.c (vax_return_value): Change type of readbuf and
890 writebuf arguments to `gdb_byte *'.
891
892 * amd64-tdep.c (amd64_return_value): Change type of readbuf and
893 writebuf arguments to `gdb_byte *'. Remove now redundant casts.
894 * i386-tdep.c (i386_return_value): Change type of readbuf and
895 writebuf arguments to `gdb_byte *'.
896 (i386_pseudo_register_read, i386_pseudo_register_write): Change
897 type of last argument to `gdb_byte *'.
898 (i386_register_to_value, i386_value_to_register): Change type of
899 last argument to `gdb_byte *'. Simplify function a bit.
900 * i387-tdep.h (i387_value_to_register, i387_register_to_value):
901 Change type of last argument to `gdb_byte *'.
902 * i387-tdep.c: Likewise.
903
904 2005-05-13 Andrew Cagney <cagney@gnu.org>
905
906 * gdbarch.sh (pseudo_register_read, pseudo_register_write)
907 (value_to_register, register_to_value, pointer_to_address)
908 (address_to_pointer, return_value, extract_return_value)
909 (store_return_value): Instead of a void pointer, use gdb_byte.
910 * gdbarch.h, gdbarch.c: Regenerate.
911 * inferior.h (unsigned_address_to_pointer)
912 (signed_pointer_to_address, address_to_signed_pointer)
913 (unsigned_pointer_to_address): Update.
914 * arch-utils.h (legacy_return_value):
915 * arch-utils.c (legacy_extract_return_value)
916 (legacy_return_value): Update.
917 * findvar.c (unsigned_pointer_to_address)
918 (signed_pointer_to_address, unsigned_address_to_pointer)
919 (address_to_signed_pointer): Update.
920
921 2005-05-13 Orjan Friberg <orjanf@axis.com>
922
923 * cris-tdep.c (_initialize_cris_tdep): Improve help strings for
924 cris-version, cris-mode, and cris-dwarf2-cfi settings.
925
926 2005-05-13 Orjan Friberg <orjanf@axis.com>
927
928 * cris-tdep.c (usr_cmd_cris_version): Change type to int.
929 (cris_mode_normal, cris_mode_guru, cris_modes, usr_cmd_cris_mode): Add.
930 (struct gdbarch_tdep): Change type of cris_version to int. Add
931 cris_mode.
932 (cris_mode, set_cris_mode): New functions.
933 (crisv32_single_step_through_delay): Read from NRP register instead
934 of ERP register in guru mode.
935 (cris_breakpoint_from_pc): Rename break_insn to break8_insn.
936 Add break15_insn, returned in guru mode.
937 (_initialize_cris_tdep): Add call to add_setshow_enum_cmd for new
938 cris-mode setting.
939 (cris_dump_tdep): Add dump of cris_mode.
940 (cris_gdbarch_init): Add cris_mode to search criteria for architecture.
941 Register the sigtramp frame sniffer only if not in guru mode.
942
943 2005-05-13 Eli Zaretskii <eliz@gnu.org>
944
945 * Makefile.in (go32-nat.o): Add $(top_h) to prerequisites.
946
947 * go32-nat.c: Include top.h. Update copyright years.
948 (init_go32_ops): Override the default value of gdbinit[] with
949 "gdb.ini".
950
951 * cli/cli-cmds.c: Don't define GDBINIT_FILENAME.
952 (init_cli_cmds): Use gdbinit[] instead of a compile-time literal
953 string GDBINIT_FILENAME.
954
955 * top.c (PATH_MAX): Define if not defined.
956 (gdbinit): Declare with a constant size PATH_MAX.
957
958 * config/i386/go32.mh (XM_FILE): Remove.
959
960 * config/i386/xm-go32.h: Remove file.
961
962 2005-05-12 Mark Kettenis <kettenis@gnu.org>
963
964 * sol-thread.c: Include "solib.h".
965 (sol_thread_attach): Use solib_add instead of SOLIB_ADD.
966 * Makefile.in (sol-thread.o): Update dependencies.
967
968 * NEWS: Mention OpenBSD/mips64 as a new native configuration.
969
970 2005-05-12 Eli Zaretskii <eliz@gnu.org>
971
972 * observer.sh (texi) [DJGPP]: If the file name includes a colon,
973 convert it to the /dev/x/ form.
974
975 2005-05-12 Mark Kettenis <kettenis@gnu.org>
976
977 * solib.h (CLEAR_SOLIB, SOLIB_ADD)
978 (SOLIB_CREATE_INFERIOR_HOOK, SOLIB_REMOVE_INFERIOR_HOOK)
979 (SOLIB_IN_DYNAMIC_LINKER, SOLIB_RESTART)
980 (DISABLE_UNSETTABLE_BREAK, PC_SOLIB)
981 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Remove defines and orphaned
982 comments.
983 * breakpoint.c: Include "solib.h".
984 (insert_bp_location) [!DISABLE_UNSETTABLE_BREAK]: Call
985 solib_address.
986 (remove_solib_event_breakpoints, create_solib_event_breakpoint)
987 (disable_breakpoints_in_shlibs)
988 (disable_breakpoints_in_unloaded_shlib)
989 (re_enable_breakpoints_in_shlibs): Compile if SOLIB_ADD isn't
990 defined. If PC_SOLIB isn't defined, call solib_address.
991 (_initialize_breakpoint): Unconditionally install observer.
992 * corelow.c: Include "solib.h".
993 [SOLIB_ADD] (solib_add_stub): Remove prototype.
994 (core_close) [!CLEAR_SOLIB]: Call clear_solib.
995 (solib_add_stub) [!SOLIB_ADD] Call solib_add.
996 (core_open): Unconditionally call solib_add_stub.
997 * fork-child.c: Include "solib.h".
998 (fork_inferior) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
999 solib_create_inferior_hook.
1000 * infcmd.c: Include "solib.h".
1001 (attach_command) [!SOLIB_ADD]: Call shlib_rescan. Unconditionally
1002 call re_enable_breakpoints_in_shlibs.
1003 * infrun.c: Include "solib.h".
1004 (SOLIB_IN_SYNSYM_RESOLVE_CODE): Don't define if not already
1005 defined.
1006 (stop_on_solib_events, show_stop_on_solib_events): Include
1007 unconditionally.
1008 (follow_exec) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
1009 solib_create_inferior_hook.
1010 (handle_inferior_event) [!SOLIB_ADD]: Call shlib_add.
1011 [!IN_SOLIB_DYNSYM_RESOLVE_CODE]: Call in_solib_dynsym_resolve_code.
1012 (_initialize_infrun): Unconditionally add "stop_on_solib-events"
1013 command.
1014 * remote.c: Include "solib.h".
1015 (remote_open_1): Unconditionally call no_shared_libraries.
1016 [!SOLIB_CREATE_INFERIOR_HOOK] Call solib_create_inferior_hook.
1017 * stack.c: Include "solib.h".
1018 (print_frame) [!PC_SOLIB] Call shlib_for_pc.
1019 * xcoffsolib.c (no_shared_libraries): Remove function.
1020 * Makefile.in (SFILES): Add solib.c.
1021 (ALLDEPFILES): Remove solib.c.
1022 (COMMON_OBS): Add solib.o.
1023 (breakpoint.o, corelow.o, fork-chiled.o, infcmd.o, infrun.o)
1024 (remote.o, stack.o): Update dependencies.
1025
1026 2005-05-12 Daniel Jacobowitz <dan@codesourcery.com>
1027
1028 * cp-names.y: Renamed to ...
1029 * cp-name-parser.y: ... this.
1030 * Makefile.in (SFILES, YYFILES, YYOBJ): Rename cp-names.y to
1031 cp-name-parser.y.
1032 (test-cp-names.o): Renamed to test-cp-name-parser.o.
1033 (test-cp-names): Renamed to test-cp-name-parser.
1034 (clean, local-maintainer-clean): Update.
1035 (cp-names.o): Renamed to cp-name-parser.o.
1036
1037 2005-05-12 Eli Zaretskii <eliz@gnu.org>
1038
1039 * observer.sh: Use observer.tmp instead of observer.inc-tmp which
1040 on 8+3 filesystems overwrites observer.inc. Update copyright year
1041 of the resultant file.
1042
1043 * gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor and
1044 is_gnu_v3_mangled_ctor to avoid compiler warnings.
1045
1046 * config/djgpp/config.sed: Adapt to latest Autoconf.
1047
1048 * config/djgpp/djconfig.sh: Add -Wpointer-arith and
1049 -Wuninitialized to the build warnings.
1050
1051 2005-05-11 Eli Zaretskii <eliz@gnu.org>
1052
1053 * config/djgpp/fnchange.lst: Add mappings for inttypes*.m4,
1054 ChangeLog-2004, reg-cris*.dat, dw2-intermix.*, semcris*-switch.c.
1055 Fix mappings for hilo-hazard-?.s.
1056
1057 * config/djgpp/README: Update GDB versions and my email address.
1058
1059 2005-05-09 Andrew Cagney <cagney@gnu.org>
1060
1061 Use gdb_byte in preference to bfd_byte.
1062 * gdbarch.sh: Update.
1063 * gdbarch.h, gdbarch.c: Re-generate.
1064 * ada-lang.c, ada-lang.h, ada-valprint.c, arch-utils.c: Update.
1065 * c-lang.c, c-lang.h, c-valprint.c, cp-valprint.c: Update.
1066 * f-lang.c, f-lang.h, f-valprint.c, gdbcore.h, jv-lang.h: Update.
1067 * jv-valprint.c, language.c, language.h, m2-lang.c: Update.
1068 * m2-lang.h, m2-valprint.c, objc-lang.c, p-lang.c: Update.
1069 * p-lang.h, p-valprint.c, regcache.c, scm-lang.c: Update.
1070 * scm-lang.h, scm-valprint.c, target.c, target.h: Update.
1071 * tramp-frame.c, valarith.c, valops.c, valprint.c: Update.
1072 * valprint.h, value.c, value.h: Update.
1073
1074 2005-05-09 Mark Kettenis <kettenis@gnu.org>
1075
1076 * vaxbsd-nat.c (vaxbsd_supply_gregset, vaxbsd_collect_gregset):
1077 Use `gdb_byte *' for regs.
1078 * vax-tdep.c (vax_supply_gregset): Use `gdb_byte *' for regs;
1079 (vax_store_arguments, vax_push_dummy_call, vax_return_value): Use
1080 gdb_byte for buf.
1081 (vax_breakpoint_from_pc): Change return type to `const gdb_byte
1082 *'. Use gdb_byte for break_insn.
1083 (vax_skip_prologue): Use gdb_byte for op.
1084
1085 * i387-tdep.c: Remove outdated comments.
1086
1087 * defs.h: Unconditionally include <sys/types.h>.
1088
1089 2005-05-08 Daniel Jacobowitz <dan@codesourcery.com>
1090
1091 * mips-tdep.c (mips_stub_frame_sniffer): Handle .MIPS.stubs
1092 section like .plt.
1093
1094 2005-05-08 Mark Kettenis <kettenis@gnu.org>
1095
1096 * i386-linux-tdep.c (linux_sigtramp_code, linux_rt_sigtramp_code):
1097 Change type to `static const gdb_byte'.
1098 (i386_linux_sigtramp_start, i386_linux_rt_sigtramp_start)
1099 (i386_linux_sigcontext_addr): Use gdb_byte for buf.
1100 * amd64-linux-tdep.c (linux_sigtramp_code): Change type to `static
1101 const gdb_byte'.
1102 (amd64_linux_sigtramp_start, amd64_linux_sigcontext_addr): Use
1103 gdb_byte for buf.
1104 * amd64fbsd-tdep.c (amd64fbsd_supply_uthread)
1105 (amd64fbsd_collect_uthread): Use gdb_byte for buf.
1106
1107 * config/ia64/nm-aix.h: Remove file.
1108
1109 * amd64-tdep.c (amd64_return_value): Use `gdb_byte *' in casts.
1110 (amd64_push_arguments): Use gdb_byte instead of bfd_byte. Use
1111 gdb_byte for buf.
1112 (amd64_push_dummy_call): Use gdb_byte for buf.
1113 (amd64_analyze_prologue): Use gdb_byte for proto, buf and op.
1114 (amd64_frame_cache, amd64_sigtramp_frame_cache)
1115 (amd64_unwind_dummy_id): Use gdb_byte for buf.
1116 (amd64_supply_fxsave, amd64_collect_fxsave): Use `gdb_byte *' for
1117 regs.
1118 * amd64obsd-tdep.c (amd64obsd_supply_regset): Use `gdb_byte *' in
1119 casts.
1120 (amd64obsd_sigtramp_p): Use gdb_byte for sigreturn and `gdb_byte
1121 *' for buf,
1122
1123 * i386-tdep.c (i386_breakpoint_from_pc): Change return type to
1124 `const gdb_byte *'. Use gdb_byte for break_insn.
1125 (i386_follow_jump): Use gdb_byte for op.
1126 (i386_analyze_struct_return): Use gdb_byte for proto1, proto2, buf
1127 and op.
1128 (i386_skip_probe): Use gdb_byte for buf and op.
1129 (struct i386_insn): Use gdb_byte for insn and mask.
1130 (i386_match_insn, i386_analyze_frame_setup)
1131 (i386_analyze_register_saves): Use gdb_byte for op.
1132 (i386_skip_prologue): Use gdb_byte for pic_pat and op;
1133 (i386_unwind_pc, i386_frame_cache, i386_sigtramp_frame_cache)
1134 (i386_unwind_dummy_id, i386_get_longjmp_target): Use gdb_byte for
1135 buf.
1136 (i386_extract_return_value, i386_store_return_value): Use
1137 `gdb_byte *' instead of `void *' for valbuf argument. Remove now
1138 redundant cast.
1139 (i386_pseudo_register_read, i386_pseudo_register_write): Use
1140 gdb_byte for mmx_buf.
1141 (i386_register_to_value, i386_value_to_register): Use `gdb_byte *'
1142 instead of `char *' for buf.
1143 (i386_supply_gregset, i386_collect_gregset): Use `gdb_byte *'
1144 instead of `char *' for regs.
1145 (i386_svr4_sigcontext_addr): Use gdb_byte for buf.
1146 * i386obsd-tdep.c (i386obsd_sigtramp_p): Use gdb_byte for
1147 sigreturn and `gdb_byte *' for buf.
1148 (i386obsd_aout_supply_regset): Use `const gdb_byte *' in cast.
1149 (i386obsd_supply_uthread, i386obsd_collect_uthread): Use gdb_byte
1150 for buf.
1151 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use gdb_byte for buf.
1152
1153 * defs.h (gdb_byte): New typedef. Tweak comments.
1154
1155 * target.h (target_link): Remove prototype.
1156 * target.c (target_link): Remove function.
1157 * symfile.c: Remove comment about rombug.
1158
1159 2005-05-04 Mark Kettenis <kettenis@gnu.org>
1160
1161 * config/i386/cygwin.mh (XM_FILE): Remove variable.
1162 * config/i386/xm-cygwin.h: Remove file.
1163
1164 2005-05-03 Ben Elliston <bje@au.ibm.com>
1165
1166 * infrun.c (handle_inferior_event): Update the comment about users
1167 of stepped_after_stopped_by_watchpoint.
1168
1169 2005-05-02 Corinna Vinschen <vinschen@redhat.com>
1170
1171 * MAINTAINERS: Remove hint that sh64 doesn't build.
1172 * sh64-tdep.c (sh64_push_dummy_call): Cast buf in call to write_memory.
1173 (sh64_do_fp_register): make raw_buffer unsigned.
1174 (sh64_do_register): Ditto.
1175
1176 2005-05-02 Mark Kettenis <kettenis@gnu.org>
1177
1178 * bsd-uthread.c: Include "solib.h".
1179 * Makefile.in (bsd-uthread.o): Update dependencies.
1180
1181 2005-05-01 Daniel Jacobowitz <dan@codesourcery.com>
1182
1183 * gdbarch.sh (deprecated_current_gdbarch_select_hack): Flush
1184 cached frames when changing gdbarch.
1185 * gdbarch.c: Regenerated.
1186
1187 2005-05-01 Andrew Cagney <cagney@gnu.org>
1188
1189 * MAINTAINERS: Note that cris, m68k, mn10300, sh64, sparc and vax
1190 do not build.
1191
1192 * gdbarch.sh (deprecated_extract_return_value)
1193 (breakpoint_from_pc, deprecated_store_return_value)
1194 (memory_insert_breakpoint, memory_remove_breakpoint): Change type
1195 of buffer to a bfd_byte pointer.
1196 * gdbarch.h, gdbarch.c: Re-generate.
1197 * mem-break.c (memory_insert_breakpoint)
1198 (memory_remove_breakpoint, default_memory_insert_breakpoint)
1199 (default_memory_remove_breakpoint): Update.
1200 * target.h (memory_insert_breakpoint)
1201 (memory_remove_breakpoint, default_memory_insert_breakpoint)
1202 (default_memory_remove_breakpoint): Update declarations.
1203 (struct target_ops): Update to_insert_breakpoint and
1204 to_remove_breakpoint.
1205 * target.c (debug_to_remove_breakpoint)
1206 (debug_to_insert_breakpoint): Update.
1207 * remote-m32r-sdi.c (m32r_remove_breakpoint)
1208 (m32r_insert_breakpoint): Update.
1209 * m32r-tdep.c (m32r_memory_insert_breakpoint)
1210 (m32r_memory_remove_breakpoint): Update.
1211 * remote-e7000.c (e7000_insert_breakpoint)
1212 (e7000_remove_breakpoint): Update.
1213 * remote-rdi.c (arm_rdi_insert_breakpoint)
1214 (arm_rdi_remove_breakpoint): Update.
1215 * remote-sim.c (gdbsim_insert_breakpoint)
1216 (gdbsim_remove_breakpoint): Update.
1217 * exec.c (ignore): Update.
1218 * rs6000-tdep.c (rs6000_extract_return_value): Update.
1219 * ia64-tdep.c (ia64_memory_insert_breakpoint)
1220 (ia64_memory_remove_breakpoint): Update.
1221 * remote-rdp.c (remote_rdp_insert_breakpoint)
1222 (remote_rdp_remove_breakpoint): Update.
1223
1224 2005-05-01 Mark Kettenis <kettenis@gnu.org>
1225
1226 * somsolib.c, somsolib.h: Remove files.
1227 * Makefile.in (somsolib_h): Remove.
1228 (somsolib.o): Remove dependency.
1229
1230 * fbsd-nat.c: Include <sys/sysctl.h>.
1231 (fbsd_pid_to_exec_file): Use KERN_PROC_PATHNAME sysctl if
1232 available. Plug memory leak. Fixes PR gdb/1922.
1233
1234 2005-04-29 Mark Kettenis <kettenis@gnu.org>
1235
1236 * solist.h (TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB)
1237 (TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK)
1238 (TARGET_SO_SPECIAL_SYMBOL_HANDLING, TARGET_SO_CURRENT_SOS)
1239 (TARGET_SO_OPEN_SYMBOL_FILE_OBJECT): Remove defines.
1240 * solib.c (solib_data): New variable.
1241 (solib_init, solib_ops): New functions.
1242 (solib_open, solib_map_sections, free_so, update_solib_list)
1243 (solib_add, clear_solib, solib_create_inferior_hook)
1244 (in_solib_dynsym_resolve_code): Call architecture-dependent code
1245 using solib_ops.
1246 (_initialize_solib): Register SOLIB_DATA.
1247
1248 2005-04-29 Kevin Buettner <kevinb@redhat.com>
1249
1250 * frv-tdep.c (find_func_descr): Verify that entry point can be
1251 found in symbol table prior to looking up its function descriptor.
1252 * solib-frv.c (find_canonical_descriptor_in_load_object): Add
1253 test for non-NULL link map.
1254
1255 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
1256
1257 * MAINTAINERS: Revert h8300 state to un-deleted.
1258 * Makefile.in: Re-add h8300-tdep.o dependencies.
1259 * h8300-tdep.c: Slightly rearrange type definitions and functions.
1260 (struct frame_extra_info): Remove.
1261 (struct h8300_frame_cache): Replace locals with differently defined
1262 uses_fp member.
1263 (h8300_unwind_pc): Simplify.
1264 (h8300_unwind_sp): New function.
1265 (h8300_unwind_dummy_id): Simplify.
1266 (h8300_init_frame_cache): New function.
1267 (h8300_is_argument_spill): Use reworked defines for opcode scanning.
1268 (h8300_skip_prologue): Rewrite.
1269 (h8300_alloc_frame_cache): Remove.
1270 (h8300_analyze_frame_setup): Remove.
1271 (h8300_analyze_register_saves): Remove.
1272 (h8300_analyze_prologue): Rewrite.
1273 (h8300_frame_cache): Use h8300_init_frame_cache instead of
1274 h8300_alloc_frame_cache. Use BINWORD instead of constant 4 to
1275 accomodate 16 bit mode. Fix saved_sp and register offset evaluation.
1276 (h8300_frame_this_id): Correctly calculate this_id using saved stack
1277 pointer instead of base.
1278 (h8300_frame_prev_register): Drop needless braces.
1279 (h8300_frame_base_address): New function.
1280 (h8300_frame_base): New frame_base.
1281 (h8300_push_dummy_call): Return correct CFA value.
1282 (h8300h_extract_return_value): Fix 8 byte value handling.
1283 (h8300_use_struct_convention): New function.
1284 (h8300h_use_struct_convention): New function.
1285 (h8300h_store_return_value): Fix 8 byte value handling.
1286 (h8300_return_value): New function.
1287 (h8300h_return_value): New function.
1288 (h8300_extract_struct_value_address): Remove deprecated functionality.
1289 (h8300_push_dummy_code): Remove.
1290 (h8300_gdbarch_init): Replace set_gdbarch_extract_return_value and
1291 set_gdbarch_store_return_value calls by set_gdbarch_return_value.
1292 Remove calls to set_gdbarch_deprecated_fp_regnum,
1293 set_gdbarch_deprecated_extract_struct_value_address,
1294 set_gdbarch_deprecated_use_struct_convention and
1295 set_gdbarch_push_dummy_code.
1296 Add calls to set_gdbarch_unwind_sp and frame_base_set_default.
1297 Slightly rearrange code.
1298
1299 2005-04-28 Jim Blandy <jimb@redhat.com>
1300
1301 * parse.c (namecopy): Change allocation conventions.
1302 (namecopy_size): New variable.
1303 (copy_name): Allocate namecopy using xrealloc, instead of assuming
1304 it has adequate space allocated to it.
1305 (parse_exp_1): Don't try to allocate space for namecopy here.
1306
1307 2005-04-28 Eli Zaretskii <eliz@gnu.org>
1308
1309 * cli/cli-cmds.c (edit_command): If symtab->fullname is not yet
1310 set, use symtab_to_fullname, instead of trying to do its job. Use
1311 xstrprintf instead of malloc and sprintf.
1312
1313 2005-04-28 Kevin Buettner <kevinb@redhat.com>
1314
1315 * remote.c (init_remote_state): Eliminate use of
1316 deprecated_register_bytes().
1317
1318 2005-04-28 Andrew Cagney <cagney@gnu.org>
1319
1320 * valops.c (check_field): Make buffer a bfd_byte.
1321 * value.c (unpack_long, unpack_double, unpack_pointer)
1322 (unpack_field_as_long, modify_field): Ditto.
1323 * value.h: Update declarations.
1324
1325 2005-04-28 Paul Brook <paul@codesourcery.com>
1326
1327 * exceptions.c (print_flush): Handle NULL gdb_stdout_serial.
1328
1329 2005-04-27 Mark Kettenis <kettenis@gnu.org>
1330
1331 * solib-svr4.c (_initialize_svr4_solib)
1332 [SVR4_FETCH_LINK_MAP_OFFSETS]: Don't set non-existent variable
1333 svr4_legacy_fetch_link_map_offsets.
1334
1335 * sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function.
1336 (sh_gdbarch_init): Remove redundant prototype.
1337 * sh-linux-tdep.c: New file.
1338 * config/sh/tm-linux.h (sh_linux_svr4_fetch_link_map_offsets):
1339 Remove prototype.
1340 (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define.
1341 * config/sh/linux.mt (TDEPFILES): Add sh64-tdep.o, remove
1342 solib-legacy.o.
1343 * Makefile.in (sh-linux-tdep.o): New.
1344
1345 * solib-svr4.c: Update copyright year. Include "gdb_assert.h".
1346 (SVR4_FETCH_LINK_MAP_OFFSETS): Don't define if not already
1347 defined.
1348 (legacy_fetch_link_map_offsets): Remove prototype.
1349 (fetch_link_map_offsets_gdbarch_data): Remove.
1350 (LM_ADDR, LM_NEXT, IGNORE_FIRST_LINK_MAP_ENTRY)
1351 (first_link_map_member, open_symbol_file_object, svr4_current_sos)
1352 (svr4_fetch_objfile_link_map): Call svr4_fetch_link_map_offsets
1353 instead of SVR4_FETCH_LINK_MAP_OFFSETS.
1354 (solib_svr4_data): New variable.
1355 (struct solib_svr4_ops): New.
1356 (solib_svr4_init): New fynction.
1357 (legacy_fetch_link_map_offsets, init_fetch_link_map_offsets):
1358 Remove functions.
1359 (svr4_fetch_link_map_offsets, svr4_have_link_map_offsets): Rewrite
1360 using the new `struct solib_svr4_ops'.
1361 (_initialize_svr4_solib): Replace registration of per-architecture
1362 data. Add temporary hack to set
1363 svr4_legacy_fetch_link_map_offsets if SVR4_FETCH_LINK_MAP_OFFSETS
1364 is set.
1365 * Makefile.in (solib-svr4.o): Update dependencies.
1366
1367 2005-04-26 Mark Kettenis <kettenis@gnu.org>
1368
1369 * configure.tgt (*-*-freebsd*): Set gdb_osabi to
1370 GDB_OSABI_FREEBSD_ELF. Partial fix for PR gdb/1922.
1371
1372 2005-04-26 Andrew Cagney <cagney@gnu.org>
1373
1374 * remote.c (remote_open_1): Move "ex"'s declaration to where it is
1375 used.
1376 (remote_get_thread_local_address): Use throw_error, include a
1377 printed string.
1378 * linux-thread-db.c (thread_db_get_thread_local_address): Ditto.
1379 * dwarf2loc.c (dwarf_expr_tls_address): Ditto.
1380 * cli/cli-script.c (script_from_file): Mark up throw_error message.
1381 * linespec.c (symtab_from_filename, decode_variable): Ditto.
1382
1383 2005-04-26 Andrew Cagney <cagney@gnu.org>
1384
1385 Rename 'struct exception' to 'struct gdb_exception'.
1386 * wrapper.c: Update.
1387 * varobj.c: Update.
1388 * tui/tui-interp.c: Update.
1389 * remote.c: Update.
1390 * mi/mi-main.c: Update.
1391 * mi/mi-interp.c: Update.
1392 * linux-thread-db.c: Update.
1393 * interps.h: Update.
1394 * interps.c: Update.
1395 * exceptions.h: Update.
1396 * exceptions.c: Update.
1397 * dwarf2loc.c: Update.
1398 * cli/cli-interp.c: Update.
1399 * cli/cli-script.c: Update.
1400 * breakpoint.c: Update.
1401
1402 2005-04-25 Mark Mitchell <mark@codesourcery.com>
1403
1404 * event-loop.c (gdb_select): Program defensively.
1405
1406 * event-loop.c (gdb_assert.h): Include.
1407 (<windows.h>): Include under Windows.
1408 (<io.h>): Likeiwse.
1409 (gdb_select): New function.
1410 (gdb_wait_for_event): Use it.
1411 * Makefile.in (event-loop.o): Depend on $(gdb_assert_h).
1412
1413 2005-04-23 Mark Kettenis <kettenis@gnu.org>
1414
1415 * sparc64-tdep.c: Include "dwarf2-frame.h".
1416 (sparc64_dwarf2_frame_init_reg): New function.
1417 * Makefile.in (sparc64-tdep.o): Update dependencies.
1418
1419 2005-04-22 David S. Miller <davem@davemloft.net>
1420
1421 * sparc64-linux-tdep.c (sparc64_linux_init_abi): Add call to
1422 sparc64_init_abi().
1423
1424 2005-04-22 Mark Kettenis <kettenis@gnu.org>
1425
1426 * ser-base.c: Include "ser-base.h" instead of "ser-unix.h".
1427
1428 2005-04-22 Mark Mitchell <mark@codesourcery.com>
1429
1430 * ser-base.c (<sys/time.h>): Include.
1431
1432 2005-04-22 Mark Kettenis <kettenis@gnu.org>
1433
1434 * ppcobsd-tdep.c (ppcobsd_init_abi): Set return_value.
1435
1436 * sparc-linux-tdep.c: Reorder includes. Tweak a few comments.
1437 (LINUX32_SIGTRAMP_INSN0, LINUX32_SIGTRAMP_INSN1)
1438 (LINUX32_RT_SIGTRAMP_INSN0, LINUX32_RT_SIGTRAMP_INSN1): Remove
1439 macros.
1440 (sparc32_linux_sigframe, sparc32_linux_rt_sigframe): Hardcode
1441 instructions.
1442 * sparc64-linux-tdep.c: Reorder includes. Tweak a few comments.
1443 (LINUX64_RT_SIGTRAMP_INSN0, LINUX64_RT_SIGTRAMP_INSN1): Remove
1444 macros.
1445 (sparc64_linux_rt_sigframe): Hardcode instructions.
1446 * Makefile.in (sparc-linux-tdep.o, sparc64-linux-tdep.o): Update
1447 dependencies.
1448
1449 * sparc-linux-tdep.c: Update copyright year.
1450 (sparc32_linux_init_abi): Set skip_trampoline_code and
1451 solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size.
1452 Don't set software_single_step and don't call
1453 sparc32_sol2_init_abi.
1454 * sparc64-linux-tdep.c: Update copyright year.
1455 (sparc64_linux_init_abi): Set skip_trampoline_code and
1456 solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size.
1457 Don't set software_single_step and don't call
1458 sparc64_sol2_init_abi.
1459
1460 2005-04-22 Eli Zaretskii <eliz@gnu.org>
1461
1462 * remote-st.c (_initialize_remote_st2000): Remove the extraneous
1463 "<command>" string from the call to add_com.
1464
1465 * remote-sim.c (_initialize_remote_sim): Ditto.
1466
1467 * remote-utils.c (_initialize_sr_support): Ditto.
1468
1469 * remote-mips.c (_initialize_remote_mips): Ditto.
1470
1471 2005-04-21 David S. Miller <davem@davemloft.net>
1472
1473 * sparc-linux-tdep.c (sparc32_linux_sigframe_init): New function.
1474 (sparc32_linux_sigframe, sparc32_linux_rt_sigframe): New tramp_frames.
1475 (sparc_linux_sigtramp_start, sparc32_linux_sigtramp_start,
1476 sparc32_linux_rt_sigtramp_start, sparc32_linux_sigtramp_p,
1477 sparc32_linux_sigtramp_frame_cache,
1478 sparc32_linux_sigtramp_frame_this_id,
1479 sparc32_linux_sigtramp_frame_prev_register,
1480 sparc32_linux_sigtramp_frame_unwind,
1481 sparc32_linux_sigtramp_frame_sniffer): Delete.
1482 (sparc32_linux_init_abi): Register new tramp unwinders. Kill
1483 register of old sigtramp sniffer.
1484 * sparc64-linux-tdep.c (sparc64_linux_sigframe_init): New
1485 function.
1486 (sparc64_linux_rt_sigframe): New tramp frame.
1487 (sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
1488 sparc64_linux_sigtramp_frame_cache,
1489 sparc64_linux_sigtramp_frame_this_id,
1490 sparc64_linux_sigtramp_frame_prev_register,
1491 sparc64_linux_sigtramp_frame_unwind,
1492 sparc64_linux_sigtramp_frame_sniffer): Delete.
1493 (sparc64_linux_init_abi): Register new tramp unwinders. Kill
1494 register of old sigtramp sniffer.
1495 Makefile.in (sparc64-linux-tdep.o): Update dependencies.
1496 (sparc-linux-tdep.o): Likewise.
1497
1498 2005-04-21 Mark Kettenis <kettenis@gnu.org>
1499
1500 * ser-base.c: Include "gdb_string.h".
1501 * Makefile.in (ser-base.o): Update dependencies.
1502
1503 2005-04-20 David S. Miller <davem@davemloft.net>
1504
1505 * sparc-linux-tdep.c (sparc32_linux_sigtramp_p): Fix
1506 signal return stub symbol names, __restore and __restore_rt are
1507 the i386 symbol names not the sparc ones.
1508 (sparc32_linux_sigtramp_frame_cache): Document bits/sigcontext.h
1509 as where the offsets were obtained from.
1510 * sparc64-linux-tdep.c (LINUX64_RT_SIGTRAMP_INSN0,
1511 LINUX64_RT_SIGTRAMP_INSN1): New defines.
1512 (sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
1513 sparc64_linux_sigtramp_frame_cache,
1514 sparc64_linux_sigtramp_frame_this_id,
1515 sparc64_linux_sigtramp_frame_prev_register,
1516 sparc64_linux_sigtramp_frame_sniffer): New functions.
1517 (sparc64_linux_sigtramp_frame_unwind): New frame unwinder.
1518 (sparc64_linux_init_abi): Register sigtramp frame sniffer.
1519 * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
1520
1521 2005-04-20 Mark Mitchell <mark@codesourcery.com>
1522
1523 * configure.ac: On MinGW, define USE_WIN32API and link with
1524 -lws2_32.
1525 * ser-tcp.c (<winsock2.h>): Include, for Windows.
1526 (ETIMEDOUT): Define, for Windows.
1527 (ioctl): Likewise.
1528 (closesocket): Define, for POSIX.
1529 (net_open): Adjust for differences in socket functions between
1530 Windows and UNIX.
1531 (net_close): Likweise.
1532 (net_read_prim): New function.
1533 (net_write_prim): Likewise.
1534 (_initialize_ser_tcp): Initialize winsock. Fill in read_prim and
1535 write_prim.
1536 * ser-unix.h (ser_unix_readcchar): Remove.
1537 (ser_unix_read_prim): Declare.
1538 (ser_unix_write_prim): Likewise.
1539 * ser-unix.c (generic_readchar): Move to ser-base.c.
1540 (ser_unix_wait_for): Likewise.
1541 (do_unix_readchar): Likewise.
1542 (ser_unix_readchar): Likewise.
1543 (_initialize_ser_hardwire): Initialize read_prim and write_prim.
1544 (ser_unix_read_prim): New function.
1545 (ser_unix_write_prim): Likewise.
1546 * ser-base.h (generic_readchar): Declare.
1547 (ser_base_readchar): Likewise.
1548 * ser-base.c (<winsock2.h>): Include, for windows.
1549 (fd_event): Use the read primitive specified by the serial
1550 interface.
1551 (ser_base_wait_for): Moved from ser-unix.c
1552 (do_ser_base_read_char): Likewise.
1553 (generic_readchar): Likewise.
1554 (ser_base_readchar): Likewise.
1555 (ser_base_write): Use the write primitive specified by the serial
1556 interface.
1557 * ser-pipe.c (_initialize_ser_pipe): Use ser_base_readchar, not
1558 ser_unix_readchar. Initialize read_prim and write_prim.
1559 * serial.c (struct serial_ops): Add read_prim and write_prim.
1560 * configure: Regenerate.
1561
1562 2005-04-19 Ben Elliston <bje@au.ibm.com>
1563
1564 * c-lang.c (c_create_fundamental_type): Comment fix.
1565
1566 2005-04-18 Michael Snyder <msnyder@redhat.com>
1567
1568 * mn10300-tdep.c: Assimilate code from mn10300-prologue.c.
1569 * mn10300-prologue.c: Remove.
1570 * mn10300-tdep.h: Add enums from mn10300-prologue.c.
1571 Remove prototypes.
1572 * config/mn10300/mn10300.mt: Remove mn10300-prologue module.
1573
1574 2005-04-18 Michael Snyder <msnyder@redhat.com>
1575
1576 * config/mn10300/mn10300.mt: Add mn10300-prologue module.
1577 * ia64-tdep.c (ia64_get_dyn_info_list): Fix indent.
1578
1579 2005-04-18 Mark Kettenis <kettenis@gnu.org>
1580
1581 * config/nm-bsd.h: Remove file.
1582
1583 * hppabsd-nat.c: Update copyright year. Include "target.h" and
1584 "inf-ptrace.h".
1585 (hppabsd_fetch_registers): Renamed from fetch_inferior_registers;
1586 made static.
1587 (hppabsd_store_registers): Renamed from store_inferior_registers;
1588 made static.
1589 (_initialize_hppabsd_nat): New function and prototype.
1590 * config/pa/obsd.mh (NATDEPFILES): Remove infptrace.o and
1591 inftarg.o. Add inf-ptrace.o.
1592 (NAT_FILE): Remove.
1593 * Makefile.in (hppabsd-nat.o): Update dependencies.
1594
1595 2005-04-17 Mark Kettenis <kettenis@gnu.org>
1596
1597 * pa64solib.c, pa64solib.h: Remove files.
1598 * Makefile.in (pa64solib_h): Remove variable
1599 (pa64solib.o): Remove dependency.
1600
1601 2005-04-16 Mark Kettenis <kettenis@gnu.org>
1602
1603 * ppcobsd-nat.c: Update copyright year. Include "inf-ptrace.h".
1604 (ppcobsd_fetch_registers): Renamed from fetch_inferior_registers;
1605 made static.
1606 (ppcobsd_store_registers): Renamed from store_inferior_registers;
1607 made static.
1608 (_initialize_ppcobsd_nat): Construct and add target vector.
1609 * config/powerpc/obsd.mh (NATDEPFILES): Remove infptrace.o and
1610 inftarg.o. Add inf-ptrace.o.
1611 (NAT_FILE): Remove.
1612 * Makefile.in (ppcobsd-nat.o): Update dependencies.
1613
1614 * ppcobsd-tdep.c: Include "floatformat.h".
1615 (ppcobsd_init_abi): Set long_double_bit and long_double_format.
1616 * Makefile.in (ppcobsd-tdep.o): Update dependencies.
1617
1618 * ppcobsd-tdep.c: Fix typo in comment.
1619 (_initialize_ppcobsd_tdep): Register GDB_OSABI_OPENBSD_ELF for
1620 bfd_arch_rs6000 too.
1621
1622 2005-04-15 Kevin Buettner <kevinb@redhat.com>
1623
1624 * remote.c (remote_get_thread_local_address): Throw a more
1625 meaningful exception when remote target doesn't have support
1626 for the qGetTLSAddr packet.
1627
1628 2005-04-15 Kevin Buettner <kevinb@redhat.com>
1629
1630 * remote.c (remote_protocol_qGetTLSAddr): New static global variable.
1631 (set_remote_protocol_qGetTLSAddr_packet_cmd)
1632 (show_remote_protocol_qGetTLSAddr_packet_cmd)
1633 (remote_get_thread_local_address): New functions.
1634 (init_all_packet_configs): Initialize remote_protocol_qGetTLSAddr
1635 variable.
1636 (init_remote_ops): Initialize ``to_get_thread_local_address'' in
1637 target vector.
1638 (show_remote_cmd): Call show_remote_protocol_qGetTLS_Addr_packet_cmd().
1639 (_initialize_remote): Register the following commands:
1640 "set remote get-thread-local-storage-address-packet" and
1641 "show remote get-thread-local-address-packet".
1642
1643 2005-04-15 Kevin Buettner <kevinb@redhat.com>
1644
1645 * remote.c (add_packet_config_cmd): Delete unused variables.
1646
1647 2005-04-15 Kevin Buettner <kevinb@redhat.com>
1648
1649 * remote.c (show_remote_protocol_vcont_packet_cmd )
1650 (show_remote_protocol_qSymbol_packet_cmd)
1651 (show_remote_protocol_P_packet_cmd)
1652 (show_remote_protocol_Z_software_bp_packet_cmd)
1653 (show_remote_protocol_Z_hardware_bp_packet_cmd)
1654 (show_remote_protocol_Z_write_wp_packet_cmd)
1655 (show_remote_protocol_Z_read_wp_packet_cmd)
1656 (show_remote_protocol_Z_access_wp_packet_cmd)
1657 (show_remote_protocol_binary_download_cmd)
1658 (show_remote_protocol_qPart_auxv_packet_cmd)
1659 (show_remote_protocol_p_packet_cmd ): Delete calls to
1660 deprecated_show_value_hack().
1661
1662 2005-04-15 Corinna VInschen <vinschen@redhat.com>
1663
1664 * MAINTAINERS: Change sh64-elf state to non-broken.
1665 * Makefile.in: Fix dependencies for sh64-tdep.o.
1666 * configure.tgt: Add sh64-*-elf case.
1667 * sh-tdep.c (sh_gdbarch_init): Reactivate bfd_mach_sh5 case.
1668 * sh64-tdep.c: Rework to replace all deprecated mechanisms with
1669 modern methods.
1670 * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o.
1671 * config/sh/sh64.mt: Resurrect.
1672
1673 2005-04-15 Kei Sakamoto <sakamoto.kei@renesas.com>
1674
1675 * regformats/reg-m32r.dat: New file.
1676
1677 2005-04-14 Daniel Jacobowitz <dan@codesourcery.com>
1678
1679 * arm-tdep.c (fp_model_strings): Add terminating NULL.
1680 (arm_abi_strings, arm_abi_global, arm_abi_string): New
1681 variables.
1682 (arm_extract_return_value, arm_store_return_value): Don't use
1683 arm_get_fp_model.
1684 (arm_get_fp_model, arm_set_fp): Delete.
1685 (arm_update_current_architecture): New function.
1686 (set_fp_model_sfunc): Call arm_update_current_architecture.
1687 (show_fp_model): Update output messages.
1688 (arm_set_abi, arm_show_abi): New functions.
1689 (arm_elf_osabi_sniffer): Only handle ELFOSABI_ARM.
1690 (arm_gdbarch_init): Infer the object's ABI separately from its
1691 OSABI. Search for a matching architecture. Honor the global
1692 ABI and FPU settings. Set floating point format based on the
1693 architecture.
1694 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs):
1695 Delete.
1696 (_initialize_arm_tdep): Don't call gdbarch_register_osabi.
1697 Create "arm set abi" command.
1698 * arm-tdep.h (arm_get_fp_model): Delete prototype.
1699 (enum arm_abi_kind): New type.
1700 (struct gdbarch_tdep): Add arm_abi field.
1701 * arm-linux-tdep.c (arm_linux_init_abi): Only override
1702 tdep->fp_model if it is ARM_FLOAT_AUTO.
1703 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Likewise.
1704 (arm_netbsd_elf_init_abi): Likewise.
1705 * defs.h (enum gdb_osabi): Delete ARM-specific OSABIs.
1706 * osabi.c (gdb_osabi_name): Likewise.
1707
1708 2005-04-11 Daniel Jacobowitz <dan@codesourcery.com>
1709
1710 * config/djgpp/fnchange.lst: Remove entries for gdb.gdbserver.
1711
1712 2005-04-10 Mark Kettenis <kettenis@gnu.org>
1713
1714 * rs6000-tdep.c (ppc_supply_fpregset): Increment offset by 8 for
1715 floating-point registers.
1716 (ppc_collect_fpregset): Likewise. Fix collection of registers.
1717
1718 2005-04-09 Mark Kettenis <kettenis@gnu.org>
1719
1720 * ppcobsd-tdep.c: Update copyright year. Include "trad-frame.h"
1721 and "tramp-frame.h".
1722 (ppcobsd_sigtramp_cache_init): New function.
1723 (ppcobsd_sigtramp): New variable.
1724 (ppcobsd_init_abi): Prepend signal trampoline unwinder.
1725 * Makefile.in (ppcobsd-tdep.o): Update dependencies.
1726
1727 2005-04-08 Andrew Cagney <cagney@gnu.org>
1728
1729 * MAINTAINERS (GDB/MI): Andrew Cagney, Elena Zannoni, and Fernando
1730 Nasser have decided to step back from GDB/MI.
1731
1732 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
1733
1734 * config/fnchange.lst: Add testsuite/gdb.gdbserver entries.
1735
1736 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
1737
1738 * dwarf2-frame.c (struct dwarf2_frame_cache): New field
1739 undefined_retaddr.
1740 (dwarf2_frame_cache): Initialize undefined_retaddr.
1741 (dwarf2_frame_this_id): Return an invalid frame ID if
1742 undefined_retaddr.
1743
1744 2005-04-05 Jim Blandy <jimb@redhat.com>
1745
1746 Move construction of IA-32 vector types to i386-tdep.c.
1747 * gdbtypes.c (build_builtin_type_vec64i,
1748 build_builtin_type_vec128i): Delete functions.
1749 (builtin_type_vec64i, builtin_type_vec128i): Delete variables.
1750 (build_gdbtypes): Don't initialize them.
1751 (_initialize_gdbtypes): Don't register GDBARCH swap entries for
1752 them.
1753 * gdbtypes.h (builtin_type_vec64i, builtin_type_vec128i): Delete
1754 declarations.
1755 (builtin_type_v2_float, builtin_type_v2_int32,
1756 builtin_type_v4_int16, builtin_type_v8_int8,
1757 builtin_type_v2_double, builtin_type_v4_float,
1758 builtin_type_v2_int64, builtin_type_v4_int32,
1759 builtin_type_v8_int16, builtin_type_v16_int8): Add extern
1760 declarations.
1761 * i386-tdep.c (i386_mmx_type, i386_sse_type): New variables.
1762 (i386_build_mmx_type, i386_build_sse_type): New functions.
1763 (i386_register_type): Call them, rather than referring to
1764 builtin_type_vec64i and builtin_type_vec128i.
1765
1766 2005-04-02 Daniel Jacobowitz <dan@codesourcery.com>
1767
1768 * mips-linux-tdep.c (mips_linux_o32_sigframe_init): Adjust
1769 big-endian correction code to not offset 32-bit registers.
1770 Locate floating point registers correctly.
1771
1772 2005-04-02 Mark Kettenis <kettenis@gnu.org>
1773
1774 * main.c: Update copyright year.
1775 (captured_main): Avoid using strcpy and strcat.
1776
1777 2005-04-01 Michael Snyder <msnyder@redhat.com>
1778
1779 * dummy-frame.c (dummy_frame_sniffer): Optimization: don't bother
1780 computing this_id if there are no dummy frames on the stack.
1781
1782 * mn10300-tdep.c (mn10300_frame_unwind_cache): Use
1783 find_partial_func instead of unwind_pc to identify frame.
1784 (mn10300_push_dummy_call): Handle struct args, struct_return.
1785
1786 * mn10300-prologue.c (set_movm_offsets): Don't test variable
1787 before setting it.
1788 * mn10300-tdep.c (mn10300_skip_prologue): Use analyze_prologue
1789 instead of skip_prologue_using_sal.
1790
1791 2005-03-31 Kevin Buettner <kevinb@redhat.com>
1792
1793 * solib-frv.c (struct lm_info): Add new field ``lm_addr''.
1794 (main_lm_addr): New static global.
1795 (frv_current_sos): Retain the link map address for each entry.
1796 (frv_clear_solib): Clear main_lm_addr.
1797 (frv_fetch_objfile_link_map): New function.
1798 * frv-tdep.c (frv_gdbarch_init): Register TLS load module fetcher.
1799 * frv-tdep.h (frv_fetch_objfile_link_map): Declare.
1800
1801 2005-03-31 Kevin Buettner <kevinb@redhat.com>
1802
1803 * gdbarch.sh (fetch_tls_load_module_address): New architecture method.
1804 * gdbarch.c, gdbarch.h: Regenerate.
1805 * dwarf2loc.c (dwarf_expr_tls_address): Fetch TLS load module
1806 address and pass this address, instead of the objfile address, to
1807 target_get_thread_local_address().
1808 * linux-thread-db.c (thread_db_get_thread_local_address): Change
1809 second parameter from type ``struct objfile *'' to CORE_ADDR. Do
1810 not call svr4_fetch_objfile_link_map() to fetch the load module
1811 address.
1812 * target.h (struct target_ops): Change second parameter of
1813 ``to_get_thread_local_address'' from ``struct objfile *'' to
1814 ``CORE_ADDR''.
1815 * alpha-linux-tdep.c (solib-svr4.h): Include.
1816 (alpha_linux_init_abi): Register TLS load module fetcher.
1817 * amd64-linux-tdep.c (amd64_linux_init_abi): Likewise.
1818 * hppa-linux-tdep.c (hppa_linux_init_abi): Likewise.
1819 * i386-linux-tdep.c (i386_linux_init_abi): Likewise.
1820 * ia64-linux-tdep.c (solib-svr4.h): Include.
1821 (ia64_linux_init_abi): Register TLS load module fetcher.
1822 * m32r-linux-tdep.c (m32r_linux_init_abi): Likewise.
1823 * m68klinux-tdep.c (m68k_linux_init_abi): Likewise.
1824 * mips-linux-tdep.c (mips_linux_init_abi): Likewise.
1825 * s390-tdep.c (s390_gdbarch_init): Likewise.
1826 * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise.
1827 * sparc64-linux-tdep.c (solib-svr4.h): Include.
1828 (sparc64_linux_init_abi): Register TLS load module fetcher.
1829 * Makefile.in (alpha-linux-tdep.o, ia64-linux-tdep.o)
1830 (sparc-linux-tdep.o): Update dependencies.
1831
1832 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1833
1834 * c-valprint.c (c_value_print): Fix up some formatting. Use
1835 check_typedef.
1836
1837 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1838
1839 * arm-linux-nat.c (store_register, store_regs): Handle
1840 ARM_PS_REGNUM.
1841
1842 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1843
1844 * arm-linux-tdep.c (arm_linux_thumb_be_breakpoint)
1845 (arm_linux_thumb_le_breakpoint): New. Update comments.
1846 (arm_linux_init_abi): Set Thumb breakpoints also.
1847
1848 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1849
1850 * Makefile.in (arm-tdep.o): Update dependencies.
1851 * arm-tdep.c: Include "objfiles.h" and "dwarf2-frame.h".
1852 (arm_gdbarch_init): Register dwarf2_frame_sniffer.
1853
1854 2005-03-28 Joel Brobecker <brobecker@adacore.com>
1855
1856 * irix5-nat.c (supply_fpregset): Fix bug that caused the FSR
1857 register value to be incorrectly written in the regcache.
1858 (fill_fpregset): Fix bug that caused the FSR register value
1859 to be incorrectly read from the regcache.
1860
1861 2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
1862
1863 * remote-rdi.c (arm_rdi_insert_breakpoint): Don't call
1864 arm_pc_is_thumb_dummy.
1865
1866 2005-03-28 Mark Kettenis <kettenis@gnu.org>
1867
1868 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Handle
1869 StackGhost.
1870
1871 * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
1872 Handle StackGhost in 64-bit code.
1873 * sparc64-tdep.c (sparc64_frame_prev_register): Handle StackGhost.
1874
1875 2005-03-27 Christopher Faylor <cgf@timesys.com>
1876
1877 * win32-nat.c (handle_exception): Treat win32 routines which check for
1878 valid addresses as "special" and don't stop when a SEGV is detected.
1879 (get_child_debug_event): Properly flag exception as unhandled.
1880
1881 2005-03-26 Daniel Jacobowitz <dan@codesourcery.com>
1882
1883 * cp-support.c (cp_class_name_from_physname): Rewrite.
1884 (unqualified_name_from_comp): New function, broken out from
1885 method_name_from_physname. Correct handling for typed names
1886 and templates.
1887 (method_name_from_physname): Use unqualified_name_from_comp.
1888 (cp_func_name, remove_params): Move earlier in the file. Add
1889 better comments. Use the component tree to parse the name.
1890 (_initialize_cp_support): Remove stray whitespace.
1891
1892 2005-03-26 Mark Kettenis <kettenis@gnu.org>
1893
1894 * exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ.
1895
1896 * inflow.h: Update copyright year. Remove #ifdef SHORT_PGRP code.
1897 Callapse HAVE_TERMIO and HAVE_SGTTY.
1898
1899 * dwarf2-frame.c (execute_cfa_program): Implement
1900 DW_CFA_GNU_window_save.
1901
1902 2005-03-25 Mark Kettenis <kettenis@gnu.org>
1903
1904 * config/sparc/nbsd64.mh (NAT_FILE): Remove.
1905
1906 * config/i386/obsd64.mt (TDEPFILES): Add obsd-uthread.o.
1907
1908 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
1909
1910 * arm-tdep.c (target_is_thumb, caller_is_thumb)
1911 (arm_pc_is_thumb_dummy): Remove.
1912 (arm_breakpoint_from_pc): Don't call arm_pc_is_thumb_dummy.
1913
1914 2005-03-25 Anthony Green <green@redhat.com>
1915
1916 * remote.c (remote_store_registers): Fix memset usage.
1917 * std-regs.c (value_of_builtin_frame_reg): Ditto.
1918 (value_of_builtin_frame_fp_reg): Ditto.
1919 (value_of_builtin_frame_reg): Ditto.
1920
1921 2005-03-25 Mark Mitchell <mark@codesourcery.com>
1922
1923 * ser-base.c (ser_unix_write): Rename to ...
1924 (ser_base_write): ... this.
1925 (ser_unix_nop_flush_output): Rename to ...
1926 (ser_base_flush_output): ... this.
1927 (ser_unix_flush_input): Rename to ...
1928 (ser_base_flush_input): ... this.
1929 (ser_unix_nop_send_break): Rename to ...
1930 (ser_base_send_break): ... this.
1931 (ser_unix_nop_drain_output): Rename to ...
1932 (ser_base_drain_output): ... this.
1933 (ser_unix_nop_raw): Rename to ...
1934 (ser_base_raw): ... this.
1935 (ser_unix_nop_get_tty_state): Rename to ...
1936 (ser_base_set_tty_state): ... this.
1937 (ser_unix_nop_noflush_set_tty_state): Rename to ...
1938 (ser_base_noflush_set_tty_state): ... this.
1939 (ser_unix_nop_print_tty_state): Rename to ...
1940 (ser_base_print_tty_state): ... this.
1941 (ser_unix_nop_setbaudrate): Rename to ...
1942 (ser_base_setbaudrate): ... this.
1943 (ser_unix_nop_setstopbits): Rename to ...
1944 (ser_base_setstopbits): ... this.
1945 (ser_unix_async): Rename to ...
1946 (ser_base_async): ... this.
1947 * ser-base.h (ser_unix_write): Rename to ...
1948 (ser_base_write): ... this.
1949 (ser_unix_nop_flush_output): Rename to ...
1950 (ser_base_flush_output): ... this.
1951 (ser_unix_flush_input): Rename to ...
1952 (ser_base_flush_input): ... this.
1953 (ser_unix_nop_send_break): Rename to ...
1954 (ser_base_send_break): ... this.
1955 (ser_unix_nop_drain_output): Rename to ...
1956 (ser_base_drain_output): ... this.
1957 (ser_unix_nop_raw): Rename to ...
1958 (ser_base_raw): ... this.
1959 (ser_unix_nop_get_tty_state): Rename to ...
1960 (ser_base_set_tty_state): ... this.
1961 (ser_unix_nop_noflush_set_tty_state): Rename to ...
1962 (ser_base_noflush_set_tty_state): ... this.
1963 (ser_unix_nop_print_tty_state): Rename to ...
1964 (ser_base_print_tty_state): ... this.
1965 (ser_unix_nop_setbaudrate): Rename to ...
1966 (ser_base_setbaudrate): ... this.
1967 (ser_unix_nop_setstopbits): Rename to ...
1968 (ser_base_setstopbits): ... this.
1969 (ser_unix_async): Rename to ...
1970 (ser_base_async): ... this.
1971 * ser-pipe.c (_initialize_ser_pipe): Update accordingly.
1972 * ser-tcp.c (_initialize_ser_tcp): Likewise.
1973 * ser-unix.c (hardwire_flush_input): Likewise.
1974 (_initializer_ser_hardwire): Likewise.
1975
1976 * Makefile.in (SFILES): Add ser-base.c.
1977 (ser_base_h): New variable.
1978 (ser-base.o): New target.
1979 (ser-pipe.o): Depend on $(ser_base_h).
1980 (ser-tcp.o): Likewise.
1981 (ser-unix.o): Likewise. Do not depend on $(event_loop_h).
1982 * configure.ac (SER_HARDWIRE): Include ser-base.o where
1983 appropriate.
1984 * ser-base.c: New file.
1985 (push_event): Move from ser-unix.c.
1986 (fd_event): Likewise.
1987 (reschedule): Likewise.
1988 (ser_unix_write): Likewise.
1989 (ser_unix_nop_flush_output): Likewise.
1990 (ser_unix_flush_input): Likewise.
1991 (ser_unix_nop_send_break): Likewise.
1992 (ser_unix_nop_drain_output): Likewise.
1993 (ser_unix_nop_raw): Likewise.
1994 (ser_unix_nop_get_tty_state): Likewise.
1995 (ser_unix_nop_set_tty_state): Likewise.
1996 (ser_unix_nop_noflush_set_tty_state): Likewise.
1997 (ser_unix_nop_print_tty_state): Likewise.
1998 (ser_unix_nop_setbaudrate): Likewise.
1999 (ser_unix_nop_setstopbits): Likewise.
2000 (ser_unix_async): Likewise.
2001 * ser-base.h: New file.
2002 * ser-pipe.c (ser-base.h): Include it.
2003 * ser-tcp.c (ser-base.h): Likewise.
2004 * ser-unix.h (ser_unix_nop_flush_output): Remove.
2005 (ser_unix_flush_input): Likewise.
2006 (ser_unix_nop_send_break): Likewise.
2007 (ser_unix_nop_raw): Likewise.
2008 (ser_unix_nop_get_tty_state): Likewise.
2009 (ser_unix_nop_set_tty_state): Likewise.
2010 (ser_unix_nop_print_tty_state): Likewise.
2011 (ser_unix_nop_noflush_set_tty_state): Likewise.
2012 (ser_unix_nop_setbaudrate): Likewise.
2013 (ser_unix_nop_setstopbits): Likewise.
2014 (ser_unix_nop_drain_output): Likewise.
2015 (ser_unix_wait_for): Likewise.
2016 (ser_unix_write): Likewise.
2017 (ser_unix_async): Likewise.
2018 * ser-unix.c (event-loop.h): Do not include it.
2019 (push_event): Move to ser-base.c.
2020 (fd_event): Likewise.
2021 (reschedule): Likewise.
2022 (ser_unix_write): Likewise.
2023 (ser_unix_nop_flush_output): Likewise.
2024 (ser_unix_flush_input): Likewise.
2025 (ser_unix_nop_send_break): Likewise.
2026 (ser_unix_nop_drain_output): Likewise.
2027 (ser_unix_nop_raw): Likewise.
2028 (ser_unix_nop_get_tty_state): Likewise.
2029 (ser_unix_nop_set_tty_state): Likewise.
2030 (ser_unix_nop_noflush_set_tty_state): Likewise.
2031 (ser_unix_nop_print_tty_state): Likewise.
2032 (ser_unix_nop_setbaudrate): Likewise.
2033 (ser_unix_nop_setstopbits): Likewise.
2034 (ser_unix_async): Likewise.
2035 (ser_unix_wait_for): Make it static.
2036 * configure: Regenerated.
2037
2038 2005-03-25 Mark Kettenis <kettenis@gnu.org>
2039
2040 * dwarf2-frame.h: Update copyrigh year.
2041 (enum dwarf2_frame_reg_rule): Add DWARF2_FRAME_REG_RA_OFFSET.
2042 * dwarf2-frame.c: Update copyright year.
2043 (struct dwarf2_frame_cache): Add member `retaddr_reg'.
2044 (dwarf2_frame_cache): Deal with DWARF2_FRAME_REG_RA_OFFSET.
2045 (dwarf2_frame_prev_register): Handle DWARF2_FRAME_REG_RA_OFFSET.
2046
2047 2005-03-23 Martin Hunt <hunt@redhat.com>
2048
2049 * configure.ac: Remove -fwritable-strings from CFLAGS.
2050 * configure: Regenerate.
2051
2052 2005-03-21 Michael Snyder <msnyder@redhat.com>
2053
2054 * mn10300-prologue.c (fix_frame_pointer): Delete.
2055 (set_movm_offsets) Don't return just because movm_args is
2056 zero -- still need to save pc and sp in saved_regs.
2057 (mn10300_analyze_prologue): Don't return prematurely without
2058 calling set_movm_offsets (for pc and sp at minimum).
2059
2060 2005-03-21 Mark Mitchell <mark@codesourcery.com>
2061
2062 * configure.ac (stat.st_blksize): Check for it.
2063 (getuid): Likewise.
2064 (getgid): Likewise.
2065 * configure: Regenerated.
2066 * config.in: Likewise.
2067 * remote-fileio.c (remote_fileio_to_fio_stat): Check
2068 HAVE_STRUCT_STAT_ST_BLKSIZE.
2069
2070 2005-03-21 Christopher Faylor <cgf@timesys.com>
2071
2072 * win32-nat.c (do_initial_child_stuff): Don't clear the thread list
2073 here.
2074 (do_initial_child_stuff): Move clearing of thread list to a place
2075 before a thread ould be created.
2076 (child_attach): Ditto.
2077
2078 2005-03-21 Michael Snyder <msnyder@redhat.com>
2079
2080 * mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr
2081 instead of pc addr for frame_id. Otherwise "until" won't work.
2082
2083 2005-03-21 Kevin Buettner <kevinb@redhat.com>
2084
2085 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
2086 comment.
2087
2088 2005-03-20 Mark Kettenis <kettenis@gnu.org>
2089
2090 * dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
2091 * varobj.c (my_value_equal): Mark val2 as volatile.
2092
2093 * cp-names.y: Add prototype for yyparse.
2094
2095 2005-03-19 Daniel Jacobowitz <dan@codesourcery.com>
2096
2097 * dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
2098 * gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
2099 VALADDR.
2100
2101 2005-03-18 Kevin Buettner <kevinb@redhat.com>
2102
2103 * Makefile.in (dwarf2loc.o, linux-thread-db.o): Add dependencies.
2104 * exceptions.h (TLS_NO_LIBRARY_SUPPORT_ERROR, TLS_GENERIC_ERROR)
2105 (TLS_LOAD_MODULE_NOT_FOUND_ERROR, TLS_NOT_ALLOCATED_YET_ERROR):
2106 New error/exception enums.
2107 * dwarf2loc.c (exceptions.h): Include.
2108 (dwarf_expr_tls_address): Invoke target_get_thread_local_address()
2109 via TRY_CATCH mechanism. Print error messages for TLS related
2110 exceptions.
2111 * linux-thread-db.c (thread_db_get_thread_local_address): Throw
2112 exceptions instead of printing errors.
2113
2114 2005-03-18 Mark Kettenis <kettenis@gnu.org>
2115
2116 * utils.c (safe_strerror): Use xsnprintf instead of sprintf.
2117 (decimal2str, octal2str): Change to return a string allocated by
2118 get_cell. Use xsnprint instead of snprintf.
2119 (paddr_u, paddr_d): Adjust for changed calling convention of
2120 decimal2str.
2121 (phex, phex_nz, hex_string): Use xsnprintf instead of snprintf.
2122 (int_string): Likewise. Adjust for changed calling convention of
2123 decimal2str and octal2str.
2124
2125 2005-03-18 Kevin Buettner <kevinb@redhat.com>
2126
2127 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
2128 Adjust incorrectly computed constant for realtime signal frame.
2129
2130 2005-03-18 Mark Kettenis <kettenis@gnu.org>
2131
2132 From Ralf Corsepius <ralf.corsepius@rtems.org>
2133 * configure.tgt: Add m68*-*-rtems*.
2134
2135 2005-03-17 Mark Kettenis <kettenis@gnu.org>
2136
2137 * defs.h (xsnprintf): New prototype.
2138 * utils.c (xsnprintf): New function.
2139
2140 * corelow.c (get_core_register_section): Replace usage of sprintf
2141 and strcpy with xstrprintf and xstrdup.
2142
2143 * mips-tdep.c (mips_single_step_through_delay): Put back check for
2144 breakpoint lost with the introduction of this function.
2145
2146 2005-03-17 Paul Brook <paul@codesourcery.com>
2147
2148 * amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
2149 * s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.
2150
2151 2005-03-16 Mark Mitchell <mark@codesourcery.com>
2152
2153 * event-top.c (handle_sigquit): Do not define for systems without
2154 SIGQUIT.
2155 (sigquit_token): Likewise.
2156 (async_init_signals): Allow for systems that do not
2157 define SIGQUIT.
2158 * ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
2159
2160 2005-03-15 Mark Mitchell <mark@codesourcery.com>
2161
2162 * utils.c (internal_vproblem): Guard call to fork with
2163 HAVE_WORKING_FORK.
2164 * cli/cli-cmds.c (shell_escape): Guard call to vfork with
2165 HAVE_WORKING_VFORK and HAVE_WORKING_FORK.
2166
2167 * remote-fileo.c (remote_fileio_mode_to_host): Accomodate lack of
2168 S_IRGRP and related macros.
2169 (remote_fileio_mode_to_target): Likewise.
2170
2171 2005-03-14 Ben Elliston <bje@au.ibm.com>
2172
2173 * Makefile.in (CLIBS): Link libbfd after libopcodes, as it is a
2174 more primitive library.
2175
2176 2005-03-13 Mark Kettenis <kettenis@gnu.org>
2177
2178 * inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
2179 sprintf.
2180 * target.c (normal_pid_to_str): Likewise.
2181 * remote.c (remote_pid_to_str): Use snprint instead of sprintf.
2182 Change capitalization of "thread". Use ptid_get_pid instead of
2183 GETPID.
2184
2185 * cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead of
2186 a combination of xmalloc and sprintf.
2187
2188 2005-03-13 Jim Blandy <jimb@redhat.com>
2189
2190 * configure.ac: Use '=', not '=='; the latter is a GNU extension.
2191 * configure: Regenerated.
2192
2193 2005-03-11 Michael Snyder <msnyder@redhat.com>
2194
2195 * mn10300-tdep.c (mn10300_dummy_unwind_dummy_id): Replace
2196 stub fn with real implementatin mn10300_unwind_dummy_id.
2197 (mn10300_push_dummy_call): Implement. Bare bones version,
2198 does not handle structs or floats.
2199
2200 2005-03-11 Jim Blandy <jimb@redhat.com>
2201
2202 Avoid warnings due to the use of -Wuninitialized without -O.
2203 * configure.ac (build_warnings): Include -Wuninitialized only if
2204 CFLAGS is unset at configure time, or CFLAGS is set and includes
2205 some -O option other than -O0.
2206 * configure: Regenerated.
2207
2208 * mips-tdep.c (show_mips_abi): Change calling conventions to match
2209 those expected by add_setshow_enum_cmd. Use 'file' argument as
2210 appropriate.
2211
2212 2005-03-10 Daniel Jacobowitz <dan@codesourcery.com>
2213
2214 * Makefile.in (SFILES): Add cp-names.y.
2215 (libiberty_h, safe_ctype_h): New.
2216 (YYFILES): Add cp-names.c.
2217 (YYOBJ): Add cp-names.o.
2218 (test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules.
2219 (clean): Remove test-cp-names$(EXEEXT).
2220 (local-maintainer-clean): Remove cp-names.c.
2221 * cp-names.y: New file.
2222 * cp-support.c (find_last_component): Delete.
2223 (d_left, d_right): Define.
2224 (cp_canonicalize_string, mangled_name_to_comp): New functions.
2225 (cp_class_name_from_physname, method_name_from_physname): Rewrite
2226 to use mangled_name_to_comp.
2227 * cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp)
2228 (cp_comp_to_string): New prototypes.
2229 * config/djgpp/fnchange.lst: Add cp-names.c.
2230
2231 2005-03-10 Bob Rossi <bob@brasko.net>
2232
2233 * main.c (print_gdb_help): Remove the --[no]async help message.
2234
2235 2005-03-10 Mark Kettenis <kettenis@gnu.org>
2236
2237 * proc-api.c: Update copyright year.
2238 (_initialize_proc_api): Revert previous patch, removing spurious
2239 space instead.
2240
2241 2005-03-09 Joel Brobecker <brobecker@adacore.com>
2242
2243 * regcache.c: Fix typo in comment.
2244
2245 2005-03-09 David Lecomber <david@lecomber.net>
2246
2247 * proc-api.c (_initialize_proc_api): Fix invalid multi-line
2248 i18n text.
2249
2250 2005-03-09 Mark Kettenis <kettenis@gnu.org>
2251
2252 * sparc-tdep.c (sparc_frame_cache): Adjust cached frame base
2253 address for 64-bit code.
2254 (sparc_unwind_dummy_id): Likewise.
2255 * sparc64-tdep.c (sparc64_frame_prev_register): Adjust for new
2256 frame base address convention.
2257 (sparc64_push_dummy_call): Likewise.
2258 * sparc64nbsd-tdep.c: Update copyright year.
2259 (sparc64nbsd_sigcontext_frame_cache): Adjust cached frame base
2260 address for 64-bit code.
2261 (sparc64nbsd_init_abi): Tweak comment.
2262 * sparc64obsd-tdep.c: Update copyright year.
2263 (sparc64obsd_frame_cache): Adjust cached frame base address for
2264 64-bit code.
2265 (sparc64obsd_init_abi): Tweak comment.
2266
2267 2005-03-09 Corinna Vinschen <vinschen@redhat.com>
2268
2269 * exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.
2270
2271 2005-03-09 Joel Brobecker <brobecker@adacore.com>
2272
2273 * dwarf2read.c (dwarf_decode_lines): Use the complete filename
2274 when creating include psymtabs.
2275
2276 2005-03-08 Mark Mitchell <mark@codesourcery.com>
2277
2278 * environ.h (struct environ): Rename to ...
2279 (struct gdb_environ): ... this.
2280 (make_environ): Update prototype.
2281 (free_environ): Likewise.
2282 (init_environ): Likewise.
2283 (get_in_environ): Likewise.
2284 (set_in_environ): Likewise.
2285 (unset_in_environ): Likewise.
2286 (environ_vector): Likewise.
2287 * environ.c (make_environ): Replace "struct environ" with "struct
2288 gdb_environ".
2289 (free_environ): Likewise.
2290 (init_environ): Likewise.
2291 (environ_vector): Likewise.
2292 (get_in_environ): Likewise.
2293 (set_in_environ): Likewise.
2294 (unset_in_environ): Likewise.
2295 * infcmd.c (inferior_environ): Likewise.
2296 * inferior.h (inferior_environ): Likewise.
2297
2298 2005-03-08 Joel Brobecker <brobecker@adacore.com>
2299
2300 * infcmd.c (run_command_1): New function, extracted from
2301 run_command.
2302 (run_command): Replace implementation by call to run_command_1.
2303 (start_command): Use run_command_1 to insert the temporary
2304 breakpoint and run the program. Remove code that's no longer
2305 needed, as already done at the proper time by run_command_1.
2306
2307 2005-03-08 Daniel Jacobowitz <dan@codesourcery.com>
2308
2309 * symfile.c (clear_symtab_users): Call
2310 clear_current_source_symtab_and_line first.
2311
2312 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
2313
2314 * ax-gdb.c (gen_expr): Add UNOP_PLUS case.
2315 * c-exp.y (exp): Add unary plus.
2316 * eval.c (evaluate_subexp_standard): Add UNOP_PLUS case.
2317 * valarith.c (value_x_unop): Add UNOP_PLUS case.
2318 (value_pos): New.
2319 * value.h (value_pos): Declare.
2320
2321 * remote.c (MIN_REMOTE_PACKET_SIZE): Set to 20.
2322 (remote_fetch_registers): Allow uppercase hex when resyncing.
2323 (remote_write_bytes): Only call get_memory_write_packet_size once.
2324 Robustify packet size calculation for very small packets. Check
2325 that at least one byte will be written.
2326
2327 * tracepoint.c (target_is_remote): Allow extended-remote.
2328 (struct collection_list): Allow 256 registers, like the comment
2329 said.
2330 (add_memrange): Fix comment.
2331 (read_actions): Turn EOF into 'end'.
2332
2333 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
2334
2335 * Makefile.in: Add dependencies for iq2000-tdep.o.
2336 * configure.tgt: Add iq2000-*-* target.
2337 * iq2000-tdep.c: New file.
2338 * config/iq2000/iq2000.mt: New file.
2339
2340 2005-03-07 Joel Brobecker <brobecker@adacore.com>
2341
2342 * doc/observer.texi (executable_changed): New observer.
2343 * symtab.c: Include "observer.h".
2344 (find_main_name): New function.
2345 (main_name): If name_of_main is unset, then compute it
2346 using find_main_name.
2347 (symtab_observer_executable_changed): New function.
2348 (_initialize_symtab): Attach executable_changed observer.
2349 * exec.c: Include "observer.h".
2350 (exec_file_attach): Emit executable_changed notification.
2351 * symfile.c: Include "observer.h".
2352 (reread_symbols): Send an executable_changed if appropriate.
2353 * Makefile.in (exec.o): Add dependency on observer.h.
2354 (symfile.o): Likewise.
2355 (symtab.o): Likewise.
2356
2357 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
2358
2359 * findvar.c (read_var_value): Don't allocate V when it will not
2360 be used. Add missing break for LOC_INDIRECT.
2361
2362 2005-03-06 Mark Kettenis <kettenis@gnu.org>
2363
2364 * sparc64fbsd-tdep.c: Include "solib-svr4.h".
2365 (sparc64fbsd_init_abi): Set skip_trampoline_code and
2366 solib_svr4_fetch_link_map_offsets.
2367 * Makefile.in (sparc64fbsd-tdep.o): Update dependencies.
2368
2369 2005-03-06 Daniel Jacobowitz <dan@codesourcery.com>
2370
2371 * linux-nat.c (child_follow_fork): Call target_terminal_ours before
2372 printing output. Use fprintf_unfiltered. Only print output when
2373 debugging.
2374
2375 2005-03-05 Mark Kettenis <kettenis@gnu.org>
2376
2377 * sparc64-tdep.c (sparc64_store_floating_fields): Constify third
2378 argument.
2379 (sparc64_store_arguments): Constify.
2380
2381 2005-03-05 Mark Kettenis <kettenis@gnu.org>
2382
2383 * alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h".
2384 (alphabsd_fetch_inferior_registers): Rename from
2385 fetch_inferior_registers. Make static.
2386 (alphabsd_store_inferior_registers): Rename from
2387 store_inferior_registers. Make static.
2388 (_initialize_alphabsd_nat): New function.
2389 * Makefile.in (alphabsd-nat.o): Update dependencies.
2390 * config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and
2391 inftarg.o. Add inf-ptrace.o, fbsd-nat.o and gcore.o.
2392 * config/alpha/nbsd.mh (NAT_CLIBS): Remove variable.
2393 (NATDEPFILES): Remove infptrace.o and inftarg.o. Add
2394 alphabsd-nat.o.
2395 * config/alpha/nm-fbsd.h: Update copyright year. Don't include
2396 "config/nm-bsd.h" and "elf/common.h".
2397 * config/alpha/nm-nbsd.h: Update copyright year. Don't include
2398 "config/nm-nbsd.h".
2399
2400 * mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
2401 software_single_step.
2402
2403 2005-03-04 Michael Snyder <msnyder@redhat.com>
2404
2405 * mn10300-prologue.c: New file. Prologue analysis.
2406 * mn10300-tdep.c: Move REGNUM values to mn10300-tdep.h.
2407 (mn10300_frame_unwind_cache): Don't call trad_frame_set_id
2408 until after analyze_prologue, and don't call trad_frame_set_base
2409 at all (let analyze_prologue do it).
2410
2411 2005-03-04 Michael Snyder <msnyder@redhat.com>
2412
2413 * trad-frame.c (trad_frame_set_reg_value): New function.
2414 * trad-frame.h (trad_frame_set_reg_value): Export.
2415
2416 2005-03-04 Daniel Jacobowitz <dan@codesourcery.com>
2417
2418 * Makefile.in (remote.o): Update dependencies.
2419 * remote.c: Include "observer.h".
2420
2421 2005-03-04 Daniel Jacobowitz <dan@codesourcery.com>
2422
2423 * target.c (target_read_memory_partial): Always initialize
2424 ERR.
2425 (target_write_memory_partial): Likewise.
2426
2427 2005-03-03 Daniel Jacobowitz <dan@codesourcery.com>
2428
2429 * remote.c (remote_open_1): Call observer_notify_inferior_created.
2430
2431 2005-03-03 Daniel Jacobowitz <dan@codesourcery.com>
2432
2433 * arm-tdep.c (arm_make_stub_cache, arm_stub_this_id)
2434 (arm_stub_unwind, arm_stub_unwind_sniffer): New.
2435 (arm_gdbarch_init): Add arm_stub_unwind_sniffer.
2436
2437 2005-03-02 Daniel Jacobowitz <dan@codesourcery.com>
2438
2439 * linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):
2440 Use LWP IDs.
2441
2442 2005-02-28 Daniel Jacobowitz <dan@codesourcery.com>
2443
2444 * dwarf2loc.c (loclist_read_variable): Set optimized_out
2445 instead of reporting an error.
2446 * valprint.c (value_check_printable): New function.
2447 (common_val_print): New function. Use value_check_printable.
2448 (value_print): Use value_check_printable.
2449 * value.h (common_val_print): Add prototype.
2450
2451 * c-valprint.c (c_val_print): Use common_val_print.
2452 * cp-valprint.c (cp_print_value_fields): Likewise.
2453 (cp_print_hpacc_virtual_table_entries): Likewise.
2454 * f-valprint.c (f_val_print): Likewise.
2455 * jv-valprint.c (java_value_print, java_print_value_fields):
2456 Likewise.
2457 * scm-valprint.c (scm_value_print): Likewise.
2458 * stack.c (print_frame_args): Likewise.
2459 * varobj.c (c_value_of_variable): Likewise.
2460 * p-valprint.c (pascal_val_print, pascal_value_print): Likewise.
2461 (pascal_object_print_value_fields): Likewise. Update call to
2462 pascal_object_print_static_field.
2463 (pascal_object_print_static_field): Remove TYPE argument. Use
2464 common_val_print.
2465
2466 2005-02-25 Mark Kettenis <kettenis@gnu.org>
2467
2468 Committed by Elena Zannoni <ezannoni@redhat.com>
2469
2470 * dwarf2read.c (dwarf2_build_psymtabs_hard): Adjust
2471 info_ptr before building psymtabs for included files.
2472 (create_all_comp_units): Initailize initial length size of
2473 compilation header to zero.
2474 (read_initial_length): Complain if both 32-bit and 64-bit DWARF
2475 sections are encountered within the same compilation header.
2476 (dwarf_decode_line_header): Pass compilation header in call to
2477 read_initial_length.
2478
2479 2005-02-24 Andrew Cagney <cagney@gnu.org>
2480
2481 Add show_VARIABLE functions, update add_setshow call.
2482 * varobj.c (_initialize_varobj, show_varobjdebug): Add and update.
2483 * valprint.c (_initialize_valprint, show_print_max)
2484 (show_stop_print_at_null, show_repeat_count_threshold)
2485 (show_prettyprint_structs, show_unionprint)
2486 (show_prettyprint_arrays, show_addressprint, show_input_radix)
2487 (show_output_radix): Ditto.
2488 * valops.c (_initialize_valops, show_overload_resolution): Ditto.
2489 * utils.c (initialize_utils, show_chars_per_line)
2490 (show_lines_per_page, show_demangle, show_pagination_enabled)
2491 (show_sevenbit_strings, show_asm_demangle): Ditto
2492 * tui/tui-win.c (_initialize_tui_win, show_tui_border_kind)
2493 (show_tui_border_mode, show_tui_active_border_mode): Ditto.
2494 * top.c (init_main, show_new_async_prompt)
2495 (show_async_command_editing_p, show_write_history_p)
2496 (show_history_size, show_history_filename, show_caution)
2497 (show_annotation_level, init_main): Ditto.
2498 * target.c (initialize_targets, show_targetdebug)
2499 (show_trust_readonly): Ditto.
2500 * symfile.c (_initialize_symfile, show_symbol_reloading)
2501 (show_ext_args, show_download_write_size)
2502 (show_debug_file_directory): Ditto.
2503 * source.c (_initialize_source, show_lines_to_list): Ditto.
2504 * solib.c (_initialize_solib, show_auto_solib_add)
2505 (show_solib_search_path): Ditto.
2506 * p-valprint.c (_initialize_pascal_valprint)
2507 (show_pascal_static_field_print): Ditto.
2508 * printcmd.c (_initialize_printcmd, show_max_symbolic_offset)
2509 (show_print_symbol_filename): Add and update.
2510 * parse.c (_initialize_parse, show_expressiondebug): Dito.
2511 * observer.c (_initialize_observer, show_observer_debug): Dito.
2512 * maint.c (_initialize_maint_cmds, show_watchdog)
2513 (show_maintenance_profile_p): Dito.
2514 * linux-nat.c (_initialize_linux_nat, show_debug_linux_nat): Dito.
2515 * infrun.c (_initialize_infrun, show_debug_infrun)
2516 (show_stop_on_solib_events, show_follow_fork_mode_string)
2517 (show_scheduler_mode, show_step_stop_if_no_debug): Ditto.
2518 * infcall.c (_initialize_infcall, show_coerce_float_to_double_p)
2519 (show_unwind_on_signal_p): Ditto.
2520 * gdbtypes.c (build_gdbtypes, show_opaque_type_resolution)
2521 (_initialize_gdbtypes, show_overload_debug): Ditto.
2522 * gdb-events.c, gdb-events.sh (_initialize_gdb_events)
2523 (show_gdb_events_debug): Ditto.
2524 * gdbarch.c, gdbarch.sh (show_gdbarch_debug)
2525 (_initialize_gdbarch): Ditto.
2526 * frame.c (_initialize_frame, show_backtrace_past_main)
2527 (show_backtrace_past_entry, show_backtrace_limit)
2528 (show_frame_debug): Ditto.
2529 * exec.c (_initialize_exec, show_write_files): Ditto.
2530 * dwarf2read.c (_initialize_dwarf2_read)
2531 (show_dwarf2_max_cache_age): Ditto.
2532 * demangle.c (_initialize_demangler)
2533 (show_demangling_style_names): Ditto.
2534 * dcache.c (_initialize_dcache, show_dcache_enabled_p): Ditto.
2535 * cp-valprint.c (show_static_field_print)
2536 (_initialize_cp_valprint, show_vtblprint, show_objectprint): Ditto.
2537 * corefile.c (_initialize_core, show_gnutarget_string): Ditto.
2538 * cli/cli-logging.c (_initialize_cli_logging)
2539 (show_logging_overwrite, show_logging_redirect)
2540 (show_logging_filename): Ditto.
2541 * cli/cli-cmds.c (show_info_verbose, show_history_expansion_p)
2542 (init_cli_cmds, show_baud_rate, show_remote_debug)
2543 (show_remote_timeout, show_max_user_call_depth): Ditto.
2544 * charset.c (show_host_charset_name, show_target_charset_name)
2545 (initialize_charset): Ditto.
2546 * breakpoint.c (show_can_use_hw_watchpoints)
2547 (show_pending_break_support, _initialize_breakpoint): Ditto.
2548
2549 2005-02-23 Jim Blandy <jimb@redhat.com>
2550
2551 * disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.
2552
2553 2005-02-23 Andrew Cagney <cagney@gnu.org>
2554
2555 * cli/cli-dump.c (dump_bfd_file): Replace magic constant with
2556 SEC_XXX flags.
2557
2558 2005-02-22 Andrew Cagney <cagney@gnu.org>
2559
2560 * configure.ac: Only enaable insight when itcl is present.
2561 * configure: Re-generate.
2562
2563 2005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2564
2565 Committed by Andrew Cagney.
2566 * infptrace.c (store_register): Fix typo.
2567
2568 2005-02-21 Andrew Cagney <cagney@gnu.org>
2569
2570 * command.h (deprecated_add_set_cmd): Rename add_set_cmd.
2571 * cli/cli-decode.h (add_set_cmd): Delete declaration.
2572 * cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd.
2573 * i386-nat.c (_initialize_i386_nat): Update call.
2574 * valprint.c (_initialize_valprint): Update comment.
2575 * gnu-nat.c (_initialize_gnu_nat): Update call.
2576
2577 2005-02-21 Alan Modra <amodra@bigpond.net.au>
2578
2579 * elfread.c (elf_symtab_read): Discard section syms.
2580
2581 2005-02-21 Andrew Cagney <cagney@gnu.org>
2582
2583 * cli/cli-decode.c (add_set_enum_cmd): Delete function.
2584 (deprecated_add_show_from_set): Delete function.
2585 * command.h (add_set_enum_cmd): Delete declaration.
2586 (deprecated_add_show_from_set): Delete declaration.
2587 * cli/cli-decode.h (add_set_enum_cmd): Delete declaration.
2588 (deprecated_add_show_from_set): Delete declaration.
2589 * arm-tdep.c (_initialize_arm_tdep): Update comment.
2590 * kod.c (kod_set_os): Simplify.
2591 * infrun.c (set_schedlock_func): Simplify.
2592 * cli/cli-dump.c (add_dump_command): Update comment.
2593
2594 Replace string variables with a filename completer with
2595 add_setshow_optional_filename_cmd.
2596 * solib.c, symfile.c: Update.
2597 * cli/cli-setshow.c: Do not tidle expand the file.
2598
2599 Add more uses of add_setshow_string_cmd, add_setshow_integer_cmd,
2600 and add_setshow_string_noescape_cmd.
2601 * cli/cli-setshow.c (deprecated_show_value_hack): Do not print a
2602 NULL command's value.
2603 * kod.c, language.c, ocd.c, remote-e7000.c, remote-mips.c: Update.
2604 * remote-sds.c, remote.c, symfile.c, top.c: Update.
2605
2606 2005-02-20 Andrew Cagney <cagney@gnu.org>
2607
2608 Use add_setshow_enum_cmd through out.
2609 * arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update.
2610 * infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update.
2611
2612 * mi/mi-main.c (captured_mi_execute_command): Use
2613 mi_cmd_interpreter_exec.
2614
2615 * cli/cli-decode.c (add_setshow_optional_filename_cmd): New
2616 function.
2617 * cli/cli-setshow.c (deprecated_show_value_hack)
2618 (do_setshow_command): Handle var_optional_filename.
2619 * command.h (enum var_types): Add var_optional_filename.
2620 (add_setshow_optional_filename_cmd): Declare.
2621 * infcmd.c (notice_args_read): Use.
2622
2623 * symfile-mem.c (symbol_file_add_from_memory): Pass
2624 target_read_memory to bfd_elf_bfd_from_remote_memory.
2625 (do_target_read_memory): Delete.
2626
2627 2005-02-16 Mark Kettenis <kettenis@gnu.org>
2628
2629 * value.h (value_contents_equal): New prototype.
2630 * value.c (value_contents_equal): New function.
2631 * varobj.c: Include "exceptions.h" and "gdb_assert.h". Don't
2632 include <math.h>.
2633 (varobj_set_value): Initialize error to zero.
2634 (varobj_update): Rename error2 to error and initialize it to zero.
2635 Slightly change the wording of some comments.
2636 (my_value_equal): Reimplement using TRY_CATCH and
2637 value_contents_equal.
2638
2639 2005-02-18 Andrew Cagney <cagney@gnu.org>
2640
2641 * cli/cli-decode.c (add_setshow_integer_cmd): New function.
2642 * command.h (add_setshow_integer_cmd): Declare.
2643 * cli/cli-cmds.c: Update.
2644
2645 Use add_setshow_uinteger_cmd through out.
2646 * printcmd.c, source.c, utils.c, valprint.c: Update.
2647
2648 Use add_setshow_zinteger_cmd through out. Re-sync gdbarch.sh
2649 and gdbarch.c.
2650 * breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update.
2651 * gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update.
2652 * pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update.
2653 * serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update.
2654 * varobj.c, cli/cli-cmds.c: Update.
2655 * gdbarch.c, gdb-events.c: Regenerate.
2656
2657 Use add_setshow_boolean_command through out. Delete #ifdef 0'ed
2658 code adding set/show boolean commands.
2659 * cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
2660 * monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update.
2661 * proc-api.c, remote-mips.c, remote.c, solib.c: Update.
2662 * somsolib.c, symfile.c, top.c, utils.c, valops.c: Update.
2663 * valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update.
2664 * cli/cli-cmds.c: Update.
2665
2666 2005-02-17 Andrew Cagney <cagney@gnu.org>
2667
2668 * cli/cli-decode.c (add_setshow_filename_cmd): Set the completer
2669 to filename_completer.
2670 * solib.c (_initialize_solib, reload_shared_libraries): Use
2671 add_setshow_filename_cmd.
2672 * serial.c (_initialize_serial): Ditto.
2673 * remote-utils.c (_initialize_sr_support): Ditto.
2674
2675 * cli/cli-decode.c (add_setshow_string_noescape_cmd): New function.
2676 * command.h (add_setshow_string_noescape_cmd): Declare.
2677 * wince.c (_initialize_wince): Use.
2678 * symfile.c (_initialize_symfile): Use.
2679 (set_ext_lang_command): Update declaration.
2680 * corefile.c (_initialize_core): Use.
2681
2682 * cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd)
2683 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
2684 (add_setshow_filename_cmd, add_setshow_string_cmd)
2685 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
2686 fprint_setshow parameter.
2687 * command.h (fprint_setshow_ftype): Delete.
2688 (add_setshow_cmd_full, add_setshow_enum_cmd)
2689 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
2690 (add_setshow_filename_cmd, add_setshow_string_cmd)
2691 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
2692 fprint_setshow parameter.
2693 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
2694 * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update.
2695 * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update.
2696 * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update
2697 * remote.c, target.c, cli/cli-logging.c: Update.
2698
2699 2005-02-16 Andrew Cagney <cagney@gnu.org>
2700
2701 Merge setshow print and show parameters.
2702 * command.h (show_value_ftype): Define.
2703 (deprecated_show_value_hack): Declare.
2704 (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
2705 (add_setshow_boolean_cmd, add_setshow_filename_cmd)
2706 (add_setshow_string_cmd, add_setshow_uinteger_cmd)
2707 (add_setshow_zinteger_cmd): Change type of show_func to
2708 show_value_ftype.
2709 * cli/cli-decode.h (struct cmd_list_element): Replace
2710 fprint_setshow with show_value_func.
2711 * cli/cli-decode.c (add_setshow_cmd_full): Update show_func
2712 parameter. Set show_value_func. Do not set cmd_sfunc.
2713 (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
2714 (add_setshow_boolean_cmd, add_setshow_filename_cmd)
2715 (add_setshow_string_cmd, add_setshow_uinteger_cmd)
2716 (add_setshow_zinteger_cmd): Update.
2717 * complaints.c (complaints_show_value): Replace
2718 fprint_setshow_complaints.
2719 (_initialize_complaints): Update.
2720 * mips-tdep.c (show_mask_address): Update.
2721 * arm-tdep.c (show_fp_model): Update.
2722 * cli/cli-setshow.c (do_setshow_command): Call show_value_func
2723 instead of fprint_setshow. Use deprecated_show_value_hack.
2724 (deprecated_show_value_hack): New function.
2725 * remote.c (add_packet_config_cmd, show_remote_cmd):
2726 (show_remote_protocol_P_packet_cmd)
2727 (show_remote_protocol_P_packet_cmd)
2728 (show_remote_protocol_Z_access_wp_packet_cmd)
2729 (show_remote_protocol_Z_hardware_bp_packet_cmd)
2730 (show_remote_protocol_Z_packet_cmd)
2731 (show_remote_protocol_Z_read_wp_packet_cmd)
2732 (show_remote_protocol_Z_software_bp_packet_cmd)
2733 (show_remote_protocol_Z_write_wp_packet_cmd)
2734 (show_remote_protocol_binary_download_cmd)
2735 (show_remote_protocol_p_packet_cmd)
2736 (show_remote_protocol_qPart_auxv_packet_cmd)
2737 (show_remote_protocol_qSymbol_packet_cmd)
2738 (show_remote_protocol_vcont_packet_cmd): Update.
2739
2740 2005-02-16 Mark Kettenis <kettenis@gnu.org>
2741
2742 * wrapper.h: Update copyright year. Properly wrap a few
2743 prototypes.
2744 (struct gdb_wrapper_arguments): Remove forward declaration.
2745 * wrapper.c: Update copyright year. Include "ui-out.h".
2746 (struct gdb_wrapper_arguments): Remove.
2747 (struct captured_value_struct_elt_args): Remove.
2748 (wrapper_parse_exp_1, wrap_evaluate_expression)
2749 (wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign)
2750 (wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type)
2751 (do_captured_value_struct_elf): Remove functions.
2752 (gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy)
2753 (gdb_value_equal, gdb_value_assign, gdb_value_subscript)
2754 (gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt):
2755 Re-implement using TRY_CATCH.
2756
2757 2005-02-16 Yoshinori Sato <ysato@users.sourceforge.jp>
2758
2759 * remote-e7000.c: unuse TM_FILE defined macro.
2760 (e7000_fetch_registers)
2761 (e7000_store_registers)
2762 (e7000_wait): delete NUM_REALREGS.
2763 * remote-hms.c: move TM_FILE macro.
2764 (CCR_REGNO): move define from tm-h8300.h.
2765
2766 2005-02-15 Mark Kettenis <kettenis@gnu.org>
2767
2768 * amd64-linux-tdep.c: Update copyright year.
2769 (amd64_linux_sigtramp_start): Use sizeof operator instead of
2770 LINUX_SIGTRAMP_LEN.
2771
2772 2004-02-15 Joel Brobecker <brobecker@gnat.com>
2773
2774 From Paul Hilfinger <hilfinger@gnat.com>
2775 * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
2776 SYMBOL_NATURAL_NAME to set type names.
2777
2778 2005-02-15 Andrew Cagney <cagney@gnu.org>
2779
2780 Mark up add_com, add_info and add_prefix_cmd.
2781 * breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
2782 * exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
2783 * go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
2784 * kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
2785 * maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
2786 * ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
2787 * remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
2788 * remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
2789 * remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
2790 * sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
2791 * symfile.c, symtab.c, target.c, thread.c, top.c: Update.
2792 * tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
2793 * win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
2794 * cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
2795 * tui/tui-stack.c, tui/tui-win.c: Update.
2796
2797 2005-02-14 Andrew Cagney <cagney@gnu.org>
2798
2799 * config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete.
2800 * config/h8300/tm-h8300.h: Delete file.
2801
2802 Mark up add_cmd.
2803 * arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update.
2804 * cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update.
2805 * exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update.
2806 * infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update.
2807 * mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update.
2808 * reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update.
2809 * sol-thread.c, source.c, stack.c, symfile-mem.c: Update.
2810 * symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update.
2811 * win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
2812 * cli/cli-logging.c, tui/tui-regs.c: Update.
2813
2814 Mark up add_setshow functions, replace "PRINT:" comment prefix
2815 with "FIXME: i18n:".
2816 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
2817 * cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update.
2818 * infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update.
2819 * nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update.
2820 * target.c, cli/cli-logging.c: Update.
2821
2822 * utils.c (paddress): New function.
2823 * defs.h (paddress): Declare.
2824 * printcmd.c (deprecated_print_address_numeric): Rename
2825 print_address_numeric, call paddress.
2826 * valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update.
2827 * symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update.
2828 * maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update.
2829 * dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update.
2830 * corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update.
2831 * ada-valprint.c: Update.
2832
2833 2005-02-13 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
2834
2835 * MAINTAINERS: Add myself to "Write After Approval".
2836
2837 2005-02-12 Yoshinori Sato <ysato@users.sourceforge.jp>
2838
2839 Restore h8300 support.
2840 * configure.tgt: Add h8300-*-*
2841 * h8300-tdep.c: New file. Rewrite new frame code.
2842 * config/h8300/h8300.mt: New file. Restored Rev 1.3
2843 * config/h8300/tm-h8300.h: New file. Restored Rev 1.21
2844
2845 * MAINTAINERS: Add myself to "Write After Approval".
2846
2847 2005-02-11 Andrew Cagney <cagney@gnu.org>
2848
2849 Mark up some of printf_filtered and printf_unfiltered.
2850 * ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update.
2851 * corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update.
2852 * demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update.
2853 * event-loop.c, event-top.c, exec.c, f-valprint.c: Update.
2854 * gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update.
2855 * infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update.
2856 * linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update.
2857 * mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update.
2858 * ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update.
2859 * remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update.
2860 * stack.c, symfile.c, symmisc.c, target.c, thread.c: Update.
2861 * top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update.
2862 * cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update.
2863 * tui/tui-regs.c, tui/tui-win.c: Update.
2864
2865 Mark up error_no_arg, query, perror_with_name, complaint, and
2866 internal_error.
2867 * breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update.
2868 * cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update.
2869 * dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update.
2870 * dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update.
2871 * exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update.
2872 * frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update.
2873 * gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update.
2874 * go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update.
2875 * i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update.
2876 * i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update.
2877 * infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update.
2878 * interps.c, language.c, linespec.c, linux-nat.c: Update.
2879 * m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update.
2880 * m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update.
2881 * macrotab.c, maint.c, mdebugread.c, memattr.c: Update.
2882 * mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update.
2883 * mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update.
2884 * objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update.
2885 * parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update.
2886 * ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update.
2887 * regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update.
2888 * remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update.
2889 * remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update.
2890 * s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update.
2891 * sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update.
2892 * solib-aix5.c, solib-svr4.c, solib.c, source.c: Update.
2893 * sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update.
2894 * symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update.
2895 * utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update.
2896 * win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update.
2897 * cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update.
2898 * cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update.
2899 * mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update.
2900 * tui/tui-file.c, tui/tui-interp.c: Update.
2901
2902 2005-02-10 Andrew Cagney <cagney@gnu.org>
2903
2904 Mark up all error and warning messages.
2905 * ada-lang.c, amd64-tdep.c, arch-utils.c, breakpoint.c: Update.
2906 * bsd-kvm.c, bsd-uthread.c, coff-solib.h, coffread.c: Update.
2907 * core-aout.c, core-regset.c, corefile.c, corelow.c: Update.
2908 * cp-abi.c, cp-support.c, cp-valprint.c, cris-tdep.c: Update.
2909 * dbxread.c, demangle.c, doublest.c, dsrec.c: Update.
2910 * dve3900-rom.c, dwarf2expr.c, dwarf2loc.c: Update.
2911 * dwarf2read.c, dwarfread.c, elfread.c, eval.c: Update.
2912 * event-top.c, exec.c, expprint.c, f-lang.c: Update.
2913 * f-typeprint.c, f-valprint.c, fbsd-nat.c, findvar.c: Update.
2914 * frame.c, frv-linux-tdep.c, gcore.c, gdbtypes.c: Update.
2915 * gnu-nat.c, gnu-v2-abi.c, gnu-v3-abi.c, go32-nat.c: Update.
2916 * hpacc-abi.c, hppa-hpux-nat.c, hppa-hpux-tdep.c: Update.
2917 * hppa-linux-nat.c, hppa-linux-tdep.c, hppa-tdep.c: Update.
2918 * hpread.c, hpux-thread.c, i386-linux-nat.c: Update.
2919 * i386-linux-tdep.c, i386-tdep.c, i386bsd-nat.c: Update.
2920 * i386gnu-nat.c, i387-tdep.c, ia64-linux-nat.c: Update.
2921 * ia64-tdep.c, inf-child.c, inf-ptrace.c, inf-ttrace.c: Update.
2922 * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
2923 * inftarg.c, interps.c, irix5-nat.c, jv-lang.c: Update.
2924 * kod-cisco.c, kod.c, language.c, libunwind-frame.c: Update.
2925 * linespec.c, linux-nat.c, linux-thread-db.c, m2-lang.c: Update.
2926 * m32r-rom.c, m68hc11-tdep.c, m68k-tdep.c: Update.
2927 * m68klinux-nat.c, macrocmd.c, macroexp.c, main.c: Update.
2928 * maint.c, mdebugread.c, mem-break.c, memattr.c: Update.
2929 * mips-linux-tdep.c, mips-tdep.c, mipsread.c, monitor.c: Update.
2930 * nlmread.c, nto-procfs.c, objc-lang.c, objfiles.c: Update.
2931 * observer.c, ocd.c, p-lang.c, p-typeprint.c: Update.
2932 * p-valprint.c, pa64solib.c, parse.c, ppc-linux-tdep.c: Update.
2933 * ppcnbsd-tdep.c, printcmd.c, procfs.c, remote-e7000.c: Update.
2934 * remote-fileio.c, remote-m32r-sdi.c, remote-rdi.c: Update.
2935 * remote-rdp.c, remote-sim.c, remote-st.c: Update.
2936 * remote-utils.c, remote-utils.h, remote.c: Update.
2937 * rom68k-rom.c, rs6000-nat.c, s390-tdep.c, scm-lang.c: Update.
2938 * ser-e7kpc.c, ser-tcp.c, ser-unix.c, sh-tdep.c: Update.
2939 * sh3-rom.c, shnbsd-tdep.c, sol-thread.c, solib-aix5.c: Update.
2940 * solib-frv.c, solib-irix.c, solib-osf.c, solib-pa64.c: Update.
2941 * solib-som.c, solib-sunos.c, solib-svr4.c, solib.c: Update.
2942 * somread.c, somsolib.c, source.c, stabsread.c: Update.
2943 * stack.c, std-regs.c, symfile-mem.c, symfile.c: Update.
2944 * symmisc.c, symtab.c, target.c, thread.c, top.c: Update.
2945 * tracepoint.c, trad-frame.c, typeprint.c, utils.c: Update.
2946 * uw-thread.c, valarith.c, valops.c, valprint.c: Update.
2947 * value.c, varobj.c, version.in, win32-nat.c, wince.c: Update.
2948 * xcoffread.c, xcoffsolib.c, cli/cli-cmds.c: Update.
2949 * cli/cli-decode.c, cli/cli-dump.c, cli/cli-logging.c: Update.
2950 * cli/cli-script.c, cli/cli-setshow.c, mi/mi-cmd-break.c: Update.
2951 * mi/mi-cmd-disas.c, mi/mi-cmd-env.c, mi/mi-cmd-file.c: Update.
2952 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-getopt.c: Update.
2953 * mi/mi-symbol-cmds.c, tui/tui-layout.c, tui/tui-stack.c: Update.
2954 * tui/tui-win.c: Update.
2955
2956 2005-02-10 Ian Lance Taylor <ian@airs.com>
2957
2958 * MAINTAINERS: Update my e-mail address.
2959
2960 2005-02-10 Daniel Jacobowitz <dan@debian.org>
2961
2962 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
2963 PR exp/1821
2964 * cp-valprint.c: Include "language.h".
2965 (cp_print_value_fields): Pass the current language to
2966 fprintf_symbol_filtered.
2967 * Makefile.in (cp-valprint.o): Update dependencies.
2968
2969 2005-02-10 Andrew Cagney <cagney@gnu.org>
2970
2971 * cli/cli-decode.c (add_setshow_enum_cmd, add_setshow_cmd_full)
2972 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
2973 (add_setshow_filename_cmd, add_setshow_string_cmd)
2974 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Replace
2975 print string parameter with fprint_setshow function.
2976 * command.h (fprint_setshow_ftype): Define. Update declarations.
2977 * cli/cli-setshow.c (do_setshow_command): When fprint_setshow is
2978 available, use that.
2979 * cli/cli-decode.h (struct cmd_list_element): Add field
2980 fprint_setshow.
2981 * complaints.c (fprint_setshow_complaints): New function.
2982 (_initialize_complaints): Pass to add_setshow_zinteger_cmd.
2983 * hppa-tdep.c (_initialize_hppa_tdep): Replace "print" parameter
2984 with NULL.
2985 * mips-tdep.c (_initialize_mips_tdep): Ditto.
2986 * m32r-rom.c (_initialize_m32r_rom): Ditto.
2987 * cris-tdep.c (_initialize_cris_tdep): Ditto.
2988 * arm-tdep.c (_initialize_arm_tdep): Ditto.
2989 * remote-rdi.c (_initialize_remote_rdi): Ditto.
2990 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
2991 * dwarf2read.c (_initialize_dwarf2_read): Ditto.
2992 * frame.c (_initialize_frame): Ditto.
2993 * target.c (initialize_targets): Ditto.
2994 * maint.c (_initialize_maint_cmds): Ditto.
2995 * observer.c (_initialize_observer): Ditto.
2996 * infcall.c (_initialize_infcall): Ditto.
2997 * breakpoint.c (_initialize_breakpoint): Ditto.
2998 * cli/cli-logging.c (_initialize_cli_logging): Ditto.
2999 * remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
3000
3001 * cli/cli-setshow.c (do_setshow_command): Move code printing the
3002 value to the end of the function. Handle MI and non-MI output
3003 differently.
3004
3005 2005-02-09 Andrew Cagney <cagney@gnu.org>
3006
3007 * cli/cli-decode.c (add_setshow_enum_cmd): Drop set_result and
3008 show_result parameters.
3009 * mips-tdep.c (_initialize_mips_tdep): Update calls.
3010 * command.h: Update declaration.
3011 * arm-tdep.c (_initialize_arm_tdep, _initialize_arm_tdep): Update
3012 calls.
3013
3014 * NEWS: Mention removed commands.
3015 * m68hc11-tdep.c (show_regs): Delete, unused.
3016 (_initialize_m68hc11_tdep): Delete deprecated "regs" command.
3017 * gdb-events.sh: Delete deprecated "set eventdebug" and "show
3018 eventdebug" commands.
3019 * gdb-events.c: Regenerate.
3020 * gdbarch.sh: Delete deprecated "set archdebug" and "show
3021 archdebug" commands.
3022 * gdbarch.c: Regenerate.
3023 * cli/cli-cmds.c (init_cli_cmds): Delete deprecated "set
3024 remotedebug" and "show remotedebug".
3025 * arm-tdep.c (_initialize_arm_tdep): Delete deprecated "set arm
3026 disassembly-flavor", "show arm disassembly-flavor", and
3027 "othernames" commands.
3028 (arm_othernames): Delete unused function.
3029
3030 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call)
3031 (convert_code_addr_to_desc_addr): Convert any function code
3032 address to the corresponding function's descriptor.
3033 (ppc64_sysv_abi_return_value): have TYPE_CODE_ENUM and
3034 TYPE_CODE_INT use the same code paths as TYPE_CODE_INT. When
3035 writing, convert any function code address to the corresponding
3036 descriptor.
3037
3038 * config/sh/linux.mt (TDEPFILES): Add symfile-mem.o.
3039 * config/powerpc/linux.mt (TDEPFILES): Ditto.
3040 * config/pa/linux.mt (TDEPFILES): Ditto.
3041 * config/mips/linux.mt (TDEPFILES): Ditto.
3042 * config/m68k/linux.mt (TDEPFILES): Ditto.
3043 * config/m32r/linux.mt (TDEPFILES): Ditto.
3044 * config/ia64/linux.mt (TDEPFILES): Ditto.
3045 * config/arm/linux.mt (TDEPFILES): Ditto.
3046
3047 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
3048
3049 * symmisc.c: Include gdb_stat.h.
3050 (maintenance_print_msymbols): Use inode numbers to compare files.
3051
3052 2005-02-08 Andrew Cagney <cagney@gnu.org>
3053
3054 * value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
3055 (METHOD_PTR_TO_VOFFSET): Move from here ...
3056 * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
3057 (METHOD_PTR_TO_VOFFSET): ... to here.
3058 * cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h".
3059 * Makefile.in: Update dependencies.
3060
3061 * exceptions.c: Do not include <setjmp.h>.
3062 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Delete macros.
3063 (catch_exception, catch_exceptions_with_msg, catch_errors)
3064 (catch_command_errors): Use TRY_CATCH.
3065 (struct catcher): Use EXCEPTIONS_SIGJMP_BUF.
3066 (exceptions_state_mc_init): Rename catcher_init.
3067 (exceptions_state_mc): Rename catcher_state_machine.
3068 (exceptions_state_mc_action_iter)
3069 (exceptions_state_mc_action_iter_1): New functions.
3070 * exceptions.h: Include <setjmp.h>.
3071 (EXCEPTIONS_SIGJMP_BUF, EXCEPTIONS_SIGSETJMP)
3072 (EXCEPTIONS_SIGLONGJMP): Define.
3073 (exceptions_state_mc_init, exceptions_state_mc_action_iter)
3074 (exceptions_state_mc_action_iter_1): Declare.
3075 (TRY_CATCH): Define.
3076
3077 * ppc-linux-tdep.c (ppc_linux_init_abi): Do not set malloc name,
3078 no longer needed.
3079
3080 * ppc-linux-nat.c (ppc_register_u_addr): Hack around 64-bit
3081 PT_FPSCR breakage.
3082
3083 * value.c (struct value): Move to here ...
3084 * value.h (struct value): ... from here. Copy comments to
3085 corresponding function declarations, re-order.
3086
3087 2005-02-07 Andrew Cagney <cagney@gnu.org>
3088
3089 * value.c (set_value_bitpos, set_value_bitsize): Define.
3090 * value.h (set_value_bitpos, set_value_bitsize): Declare.
3091 * ada-lang.c, valarith.c: Update.
3092
3093 * cp-valprint.c, c-valprint.c, infcall.c: Use value_contents or
3094 value_contents_writeable, include note that there are problems.
3095 * breakpoint.c, infcall.c: Use VALUE_LVAL.
3096
3097 * value.h (set_value_offset): Declare.
3098 * value.c (set_value_offset): Declare.
3099 * gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update.
3100 * findvar.c: Update.
3101
3102 * value.h (value_next): Declare.
3103 * value.c (value_next): Define.
3104 * breakpoint.c: Update.
3105
3106 * value.h (deprecated_set_value_modifiable)
3107 (deprecated_value_modifiable): Declare.
3108 * value.c (deprecated_set_value_modifiable): Define.
3109 (deprecated_value_modifiable): Define.
3110 * ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update.
3111
3112 * value.h (deprecated_set_value_type): Declare.
3113 * value.c (deprecated_set_value_type): Define.
3114 * hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update.
3115 * c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update.
3116 * infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update.
3117 * ax-gdb.c, tracepoint.c: Update.
3118
3119 * value.h (deprecated_value_lval_hack)
3120 (deprecated_value_address_hack)
3121 (deprecated_value_internalvar_hack)
3122 (deprecated_value_regnum_hack): Declare.
3123 (VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR)
3124 (VALUE_FRAME_ID, VALUE_REGNUM): Use.
3125 * value.c (deprecated_value_lval_hack)
3126 (deprecated_value_address_hack)
3127 (deprecated_value_internalvar_hack)
3128 (deprecated_value_regnum_hack): Define.
3129
3130 * value.h (VALUE_POINTED_TO_OFFSET): Delete.
3131 (set_value_pointed_to_offset, value_pointed_to_offset): Declare.
3132 * value.c (set_value_pointed_to_offset): Define
3133 (value_pointed_to_offset): Define.
3134 * valops.c: Update.
3135
3136 * value.h (VALUE_EMBEDDED_OFFSET): Delete.
3137 (value_embedded_offset, set_value_embedded_offset): Declare.
3138 * value.c (value_embedded_offset): Define.
3139 (set_value_embedded_offset): Define.
3140 * valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
3141 * gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
3142 * cp-abi.h: Update.
3143
3144 * value.h (VALUE_LAZY): Delete
3145 (set_value_lazy): Declare.
3146 * value.c (set_value_lazy): Define.
3147 * valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
3148 * gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.
3149
3150 2005-02-06 Andrew Cagney <cagney@gnu.org>
3151
3152 * value.h (VALUE_OPTIMIZED_OUT): Delete.
3153 (value_optimized_out, set_value_optimized_out): Declare.
3154 * value.c (set_value_optimized_out, value_optimized_out): Define.
3155 * valprint.c, findvar.c, dwarf2loc.c: Update.
3156
3157 * value.c (value_contents, value_contents_writeable): New
3158 functions.
3159 * value.h (VALUE_CONTENTS): Delete macro.
3160 (value_contents, value_contents_writeable): Declare.
3161 * xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
3162 * stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
3163 * sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
3164 * rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
3165 * ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
3166 * m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
3167 * jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
3168 * hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
3169 * c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
3170 * cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
3171 * arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
3172 * ada-valprint.c, ada-lang.c: Update.
3173
3174 2005-02-03 Andrew Cagney <cagney@gnu.org>
3175
3176 * utils.c (xzalloc): New function.
3177 * defs.h (XZALLOC): Use xzalloc.
3178 (xzalloc): Declare.
3179 * value.c (allocate_value): Allocate a zeroed buffer.
3180 * mdebugread.c (xzalloc): Delete.
3181
3182 2005-02-02 Andrew Cagney <cagney@gnu.org>
3183
3184 * value.h (value_lazy): Declare.
3185 * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
3186 * cp-valprint.c, breakpoint.c, ada-lang.c: Update.
3187
3188 * value.h (VALUE_CONTENTS_ALL): Delete.
3189 (value_contents_all): Declare.
3190 * value.c (value_contents_all): New function.
3191 * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
3192 * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
3193
3194 * value.c (value_enclosing_type): New function.
3195 * value.h (VALUE_ENCLOSING_TYPE): Delete.
3196 (value_enclosing_type): Declare.
3197 * xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
3198 * gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.
3199
3200 * value.c (value_contents_all_raw)
3201 (value_contents_raw): New functions.
3202 * value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
3203 (value_contents_raw, value_contents_all_raw): Declare functions.
3204 (VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
3205 * std-regs.c, valarith.c, valops.c, eval.c: Update.
3206 * tracepoint.c, findvar.c: Update.
3207
3208 2005-02-01 Orjan Friberg <orjanf@axis.com>
3209
3210 * regformats/reg-cris.dat: New file with register definitions for CRIS.
3211 * regformats/reg-crisv32.dat: Ditto for CRISv32.
3212
3213 2005-01-31 Andrew Cagney <cagney@gnu.org>
3214
3215 * configure: Regenerate to track ../gettext.m4.
3216
3217 2005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
3218
3219 * MAINTAINERS: Add myself to "Write After Approval".
3220
3221 * ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
3222 * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
3223 * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
3224
3225 2005-01-29 Mark Kettenis <kettenis@gnu.org>
3226
3227 * configure.ac: Remove extra check for ranlib.
3228 * configure: Regenerated.
3229
3230 2005-01-28 Andrew Cagney <cagney@gnu.org>
3231
3232 * language.h (struct language_defn): Make la_val_print's buffer
3233 parameter a const bfd_byte.
3234 * cp-valprint.c (cp_print_value_fields, cp_print_value): Update.
3235 * ada-lang.c (ada_aligned_value_addr)
3236 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
3237 * valprint.c (val_print_array_elements): Update.
3238 * valprint.h (val_print_array_elements): Update.
3239 * ada-lang.h (ada_val_print, ada_aligned_value_addr)
3240 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
3241 * ada-valprint.c (ada_val_print, struct ada_val_print_args)
3242 (ada_val_print_1, ada_print_floating, printable_val_type)
3243 (print_record, val_print_packed_array_elements)
3244 (print_field_values, print_variant_part): Update.
3245 * c-lang.h (c_val_print, cp_print_value_fields): Update.
3246 * c-valprint.c (c_val_print): Update.
3247 * f-lang.h (f_val_print): Update.
3248 * f-valprint.c (f_val_print, f77_print_array_1)
3249 (f77_print_array): Update.
3250 * jv-lang.h (java_val_print): Update.
3251 * jv-valprint.c (java_print_value_fields, java_val_print): Update.
3252 * language.c (unk_lang_val_print): Update.
3253 * m2-lang.h (m2_val_print): Update.
3254 * m2-valprint.c (m2_val_print): Update.
3255 * p-lang.h (pascal_val_print): Update.
3256 (pascal_object_print_value_fields): Update.
3257 * p-valprint.c (pascal_val_print)
3258 (pascal_object_print_value_fields, pascal_object_print_value)
3259 (pascal_object_print_value): Update.
3260 * scm-lang.h (scm_val_print): Update.
3261 * scm-valprint.c (scm_val_print): Update.
3262 * value.h (val_print): Update.
3263
3264 * p-lang.h (pascal_object_print_class_member)
3265 (pascal_object_print_class_method): Make buffer a const bfd_byte.
3266 * p-valprint.c (pascal_object_print_class_method)
3267 (pascal_object_print_class_method): Ditto.
3268
3269 * language.h (struct language_defn): Make la_printstr's buffer
3270 parameter a const bfd_byte.
3271 * p-lang.h (pascal_printstr): Update function to match.
3272 * ada-valprint.c (ada_printstr): Update function to match.
3273 * scm-lang.c (scm_printstr): Update function to match.
3274 * p-lang.c (pascal_printstr): Update function to match.
3275 * ada-lang.h (ada_printstr): Update function to match.
3276 * m2-lang.c (m2_printstr): Update function to match.
3277 * objc-lang.c (objc_printstr): Update function to match.
3278 * c-lang.h (c_printstr): Update function to match.
3279 * f-lang.c (f_printstr): Update function to match.
3280 * c-lang.c (c_printstr): Update function to match.
3281 * language.c (unk_lang_printstr): Update function to match.
3282
3283 * valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
3284 * valprint.h (val_print_type_code_int): Ditto.
3285
3286 * objc-lang.h (c_val_print, c_value_print): Delete declarations.
3287
3288 * cp-valprint.c (cp_print_class_method)
3289 (cp_print_class_member): Make buffer a const bfd_byte.
3290 * c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.
3291
3292 * ada-lang.c (value_from_contents_and_address)
3293 (to_record_with_fixed_variant_part)
3294 (value_tag_from_contents_and_address, ada_to_fixed_type)
3295 (to_fixed_variant_branch_type, to_fixed_record_type)
3296 (ada_template_to_fixed_record_type, cond_offset_host)
3297 (ada_template_to_fixed_record_type_1): Make buffer a const
3298 bfd_byte.
3299 * ada-lang.h (ada_template_to_fixed_record_type_1)
3300 (value_from_contents_and_address, ada_to_fixed_type): Ditto.
3301
3302 * ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte.
3303
3304 * gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.
3305 * printcmd.c (print_scalar_formatted): Update.
3306
3307 * value.h (value_bit_index, print_floating)
3308 (find_rt_vbase_offset): Make buffer a const bfd_byte.
3309 * valprint.c (print_floating): Update.
3310 * valarith.c (value_bit_index): Update.
3311 * valops.c (find_rt_vbase_offset): Update.
3312
3313 * valprint.h (print_octal_chars, print_char_chars)
3314 (print_hex_chars, print_decimal_chars, print_binary_chars): Make
3315 buffer a const bfd_byte.
3316 * valprint.c (print_binary_chars, print_octal_chars)
3317 (print_decimal_chars, print_hex_chars, print_char_chars): Make
3318 "valaddr"buffer a const bfd_byte, ditto for local variables
3319 referencing that buffer.
3320
3321 * m2-valprint.c: Include "c-lang.h".
3322 (c_val_print): Delete extern declaration.
3323 * scm-valprint.c: Include "c-lang.h".
3324 (c_val_print): Delete extern declaration.
3325 Makefile.in: Update dependencies.
3326
3327 * gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
3328 bfd_byte.
3329 * cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
3330 (struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
3331 bfd_byte.
3332 * cp-abi.c (baseclass_offset): Update.
3333 * gnu-v2-abi.c (gnuv2_baseclass_offset): Update.
3334
3335 * gnu-v2-abi.h: New file.
3336 * gnu-v2-abi.c: Include "gnu-v2-abi.h".
3337 (gnuv2_baseclass_offset): Delete declaration.
3338 * hpacc-abi.c: Include "gnu-v2-abi.h".
3339 (gnuv2_baseclass_offset): Delete extern declaration.
3340 * Makefile.in: Update dependencies.
3341
3342 * doublest.c (floatformat_is_negative, floatformat_is_nan)
3343 (floatformat_mantissa, get_field): Make the buffer a const
3344 bfd_byte, simplify.
3345
3346 2005-01-27 Andrew Cagney <cagney@gnu.org>
3347
3348 * value.h (struct value): Change type of contents to bfd_byte.
3349 (VALUE_CONTENTS_RAW): Simplify.
3350
3351 * gdbarch.sh (integer_to_address): Change buf parameter to a const
3352 bfd_byte, make pure-multi-arch.
3353 * gdbarch.h, gdbarch.c: Regenerate.
3354 * mips-tdep.c (mips_integer_to_address): Update.
3355 * value.c (value_as_address): Update.
3356
3357 * cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
3358 * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
3359 parameters const, change buf to a const bfd_byte.
3360 (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
3361 parameters const.
3362
3363 * corefile.c (write_memory): Update, make a copy of the read-only
3364 buffer.
3365 * target.c (target_read_memory): Update.
3366 (target_write_memory): Update, make a copy of the read-only
3367 buffer.
3368 * gdbcore.h (write_memory): Change buffer type to bfd_byte, make
3369 const.
3370 * target.h (target_read_memory, target_write_memory): Change
3371 buffer type to bfd_byte; for write_memory, make it const.
3372 * symfile-mem.c (do_target_read_memory): New function.
3373 (symbol_file_add_from_memory): Pass do_target_read_memory to
3374 bfd_elf_bfd_from_remote_memory.
3375
3376 * value.h: Indent using gdb_indent.sh.
3377
3378 * configure: Regenerate to track ../gettext.m4 change.
3379
3380 2005-01-26 Andrew Cagney <cagney@gnu.org>
3381
3382 * rs6000-tdep.c: Include "reggroups.h".
3383 (rs6000_gdbarch_init): Set register_reggroup_p.
3384 (rs6000_register_reggroup_p): New function.
3385
3386 2005-01-26 Orjan Friberg <orjanf@axis.com>
3387
3388 * cris-tdep.c (enum cris_num_regs, enum cris_regnums)
3389 (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
3390 CRISv32.
3391 (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
3392 (cris_region_ok_for_watchpoint, cris_stopped_data_address)
3393 (crisv32_cannot_fetch_register, crisv32_cannot_store_register)
3394 (crisv32_register_type, cris_special_register_name)
3395 (crisv32_register_name): New functions.
3396 (cris_spec_reg_applicable): Recognize more versions.
3397 (cris_register_name): Update with call to cris_special_register_name.
3398 (find_cris_op): Filter out CRISv32 instructions. Tweaked comment and
3399 warning when unable to find step target.
3400 (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
3401 (supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for
3402 CRISv32.
3403 (fetch_core_registers): Update for CRISv32.
3404 (cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
3405 register_name, cannot_store_register, cannot_fetch_register,
3406 have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
3407
3408 2005-01-26 Nick Roberts <nickrob@snap.net.nz>
3409
3410 * interps.c (interpreter_exec_cmd): Use condition,
3411 e.reason < 0, to raise an error.
3412
3413 2005-01-25 Andrew Cagney <cagney@gnu.org>
3414
3415 * ppc-linux-tdep.c: Include "tramp-frame.h"
3416 (struct ppc_linux_sigtramp_cache)
3417 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
3418 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
3419 (ppc_linux_sigtramp_cache): Delete.
3420 (ppc32_linux_sigaction_cache_init)
3421 (ppc64_linux_sigaction_cache_init)
3422 (ppc32_linux_sighandler_cache_init)
3423 (ppc64_linux_sighandler_cache_init)
3424 (ppc32_linux_sigaction_tramp_frame)
3425 (ppc64_linux_sigaction_tramp_frame)
3426 (ppc32_linux_sighandler_tramp_frame)
3427 (ppc64_linux_sighandler_tramp_frame)
3428 (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
3429 64-bit, sigaction and siginfo tramp-frame unwinders.
3430
3431 * ppc-linux-tdep.c (ppc_linux_init_abi): Always set
3432 long_double_bit to 8.
3433
3434 2005-01-24 Andrew Cagney <cagney@gnu.org>
3435
3436 * infrun.c (handle_inferior_event): Handle back-to-back and nested
3437 signals where the step_resume_breakpoint may have already been
3438 inserted.
3439
3440 2005-01-24 Andrew Cagney <cagney@gnu.org>
3441
3442 * configure: Regenerate, ../gettext.m4 was updated.
3443
3444 2005-01-23 Mark Kettenis <kettenis@gnu.org>
3445
3446 * NEWS: Mention new BSD user-level threads support.
3447
3448 * i386obsd-tdep.c: Update copyright year. Include
3449 "bsd-uthread.h".
3450 (i386obsd_uthread_reg_offset): New variable.
3451 (I386OBSD_UTHREAD_ESP_OFFSET): New define.
3452 (i386obsd_supply_uthread, i386obsd_collect_uthread): New
3453 functions.
3454 (i386obsd_init_abi): Set supply_uthread and collect_uthread.
3455 * Makefile.in (i386obsd-tdep.o): Update dependencies.
3456 * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
3457
3458 2005-01-23 Christopher Faylor <cgf@timesys.com>
3459
3460 * win32-nat.c: Update copyright year.
3461 (child_init_thread_list): Set thread linked list point to NULL so that
3462 it won't be reused after clearing.
3463
3464 2005-01-21 Mark Kettenis <kettenis@gnu.org>
3465
3466 * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
3467 undefs.
3468 * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
3469 thread' has a td_pcb member and whether `struct reg' has r_fs and
3470 r_gs members.
3471 * configure, config.in: Regenerate.
3472
3473 2005-01-21 Mark Kettenis <kettenis@gnu.org>
3474
3475 * configure.ac: Remove ia64-*-aix* junk.
3476 * configure: Regenerate.
3477
3478 * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
3479 and BFD_NEED_DECLARATION. Don't check if a declaration of strdup
3480 is necessary.
3481 * configure, config.in: Regenerate.
3482 * utils.c: Adjust for usage of AC_CHECK_DECLS instead of
3483 BFD_NEED_DECLARATION. Never provide a prototype for
3484 caninicalize_file_name.
3485 * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
3486 BFD_NEED_DECLARATION.
3487
3488 * configure.ac (targ_archs): Use standard autoconf check for
3489 "struct stat.st_blocks" instead of rolling our own.
3490 * configure: Regenerated.
3491 * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
3492 * config.in: Regenerated.
3493
3494 2005-01-21 Mark Kettenis <kettenis@gnu.org>
3495
3496 * configure.ac: Modernize checks for `long long' and `long double'
3497 support.
3498 * configure: Regenerated.
3499 * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
3500 (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
3501 * config.in: Regenerated.
3502
3503 2005-01-20 Mark Kettenis <kettenis@gnu.org>
3504
3505 * acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
3506 (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
3507 * configure.ac: Remove checks for HP-UX save_state structure.
3508 * configure: Regenerated.
3509
3510 2005-01-19 Andrew Cagney <cagney@gnu.org>
3511
3512 * utils.c (quit): Simplify, call fatal.
3513 * exceptions.c: Include "serial.h"
3514 (print_flush): Mimic flush code found in utils.c:quit.
3515 * Makefile.in: Update dependencies.
3516
3517 2005-01-19 Jim Blandy <jimb@redhat.com>
3518
3519 * configure.tgt: Set build_rdi_share to "yes" on those targets
3520 that use that debugging protocol.
3521 Set build_nlm to yes to build NLM stub for Netware targets.
3522 * configure.ac: If build_rdi_share is "yes", then configure the
3523 rdi-share subdirectory.
3524 If build_nlm is "yes", the configure the "nlm" subdirectory.
3525 * configure: Regenerated.
3526
3527 * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
3528 autoconf 2.59 and automake 1.9.3.
3529
3530 2005-01-19 Andrew Cagney <cagney@gnu.org>
3531
3532 * exceptions.h (deprecated_throw_reason): Rename throw_reason.
3533 * exceptions.c (deprecated_throw_reason): Rename throw_reason.
3534 * utils.c (internal_verror, quit): Update.
3535 * remote-sds.c (interrupt_query): Update.
3536 * remote-mips.c (mips_error, mips_kill): Update.
3537 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
3538 * remote.c (interrupt_query): Update.
3539 * ocd.c (interrupt_query): Update.
3540 * nto-procfs.c (interrupt_query): Update.
3541 * monitor.c (monitor_interrupt_query): Update.
3542 * breakpoint.c (break_command_1): Update.
3543
3544 * infrun.c: (resume, proceed, wait_for_inferior)
3545 (handle_inferior_event, stop_stepping)
3546 (prepare_to_wait): Write debug output to gdb_stdlog.
3547
3548 2005-01-19 Mark Kettenis <kettenis@gnu.org>
3549
3550 * inf-ptrace.c (inf_ptrace_prepare_to_store)
3551 (inf_ptrace_post_startup_inferior)
3552 (inf_ptrace_acknowledge_created_inferior)
3553 (inf_ptrace_insert_fork_catchpoint)
3554 (inf_ptrace_remove_fork_catchpoint)
3555 (inf_ptrace_insert_vfork_catchpoint):
3556 (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
3557 (inf_ptrace_insert_exec_catchpoint)
3558 (inf_ptrace_remove_exec_catchpoint): Remove functions.
3559 (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
3560 (inf_ptrace_target): Don't set to_prepare_to_store,
3561 to_post_startup_inferior, to_acknowledge_created_inferior,
3562 to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
3563 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
3564 to_follow_fork, to_insert_exec_catchpoint,
3565 to_remove_exec_catchpoint.
3566
3567 2005-01-18 Andrew Cagney <cagney@gnu.org>
3568
3569 * target.h (struct target_ops): Change return type of
3570 to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
3571 to_insert_exec_catchpoint to void.
3572 (child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
3573 (child_insert_exec_catchpoint): Change return type to void.
3574 * target.c (update_current_target): Update.
3575 (debug_to_insert_fork_catchpoint)
3576 (debug_to_insert_vfork_catchpoint)
3577 (debug_to_insert_exec_catchpoint): Update.
3578 * inf-child.c (inf_child_insert_fork_catchpoint)
3579 (inf_child_insert_vfork_catchpoint)
3580 (inf_child_insert_exec_catchpoint): Update.
3581 * breakpoint.c (insert_catchpoint): Update, do not throw an error.
3582 * linux-nat.c (child_insert_fork_catchpoint)
3583 (child_insert_vfork_catchpoint)
3584 (child_insert_exec_catchpoint): Update.
3585 * inftarg.c (child_insert_fork_catchpoint)
3586 (child_insert_vfork_catchpoint,)
3587 (child_insert_exec_catchpoint): Update.
3588
3589 * remote.c (remote_open_1): Use throw_exception.
3590
3591 2005-01-17 Michael Snyder <msnyder@redhat.com>
3592
3593 * mips-linux-tdep.c: Whitespace tweaks.
3594
3595 2005-01-17 Corinna Vinschen <vinschen@redhat.com>
3596
3597 * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
3598
3599 2005-01-17 Andrew Cagney <cagney@gnu.org>
3600
3601 * top.h (source_error, source_pre_error): Delete declaration.
3602 * cli/cli-script.c (source_error_allocated, source_error): Delete.
3603 (script_from_file, source_cleanup_lines): Do not manipulate
3604 source_error_allocated, error_pre_print and source_error.
3605 (struct source_cleanup_lines_args): Delete fields old_pre_error,
3606 and old_error_pre_print.
3607 * top.c (source_error_allocated, source_error)
3608 (source_pre_error): Delete.
3609 (command_line_input): Do not set error_pre_print.
3610 * event-top.c (command_line_handler): Do not set error_pre_print.
3611
3612 2005-01-16 Jason Thorpe <thorpej@netbsd.org>
3613
3614 * MAINTAINERS: Update my email address.
3615
3616 2005-01-16 Mark Kettenis <kettenis@gnu.org>
3617
3618 * configure.ac: Provide prerequisite headers when checking
3619 <term.h>.
3620 * configure: Regenerate.
3621
3622 * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
3623 and "bsd-uthread.h".
3624 (amd64fbsd_jmp_buf_reg_offset): New variable.
3625 (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
3626 functions.
3627 (amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
3628 * i386fbsd-tdep.c: Fix typo.
3629 * Makefile.in (amd64fbsd-tdep.o): Update dependencies.
3630 * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
3631
3632 2005-01-16 Andrew Cagney <cagney@gnu.org>
3633
3634 * cli/cli-script.c: Include "exceptions.h".
3635 (struct wrapped_read_command_file_args): Define.
3636 (wrapped_read_command_file): New function.
3637 (script_from_file): Replace direct call to read_command_file by
3638 one wrapped by an exception handler.
3639 * exceptions.c (throw_it): Free the old message after creating the
3640 new.
3641 * Makefile.in: Update dependencies.
3642
3643 2005-01-16 Mark Kettenis <kettenis@gnu.org>
3644
3645 * sparc64fbsd-tdep.c: Update copyright year.
3646 (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
3647 functions.
3648 (sparc64fbsd_init_abi): Create register sets with collect
3649 functions.
3650
3651 * sparc64fbsd-nat.c: Include "fbsd-nat.h".
3652 (_initialize_sparc64fbsd_nat): Add some extra features to the
3653 generic SPARC target.
3654 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
3655 * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
3656 (NAT_FILE): Set to solib.h.
3657 * config/sparc/nm-fbsd.h: Remove file.
3658
3659 * sparc64-tdep.c (sparc64_store_arguments): Fix typo.
3660
3661 * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
3662
3663 2005-01-16 Andrew Cagney <cagney@gnu.org>
3664
3665 * exceptions.c (struct catcher): Delete saved_error_pre_print and
3666 saved_quit_pre_print.
3667 (catcher_init): Delete parameter errstring, do not override the
3668 pre_print strings.
3669 (catcher_pop): Do not restore the pre_print strings.
3670 (catch_exception, catch_exceptions_with_msg, catch_errors)
3671 (catch_command_errors): Update catch_init calls.
3672
3673 2005-01-16 Mark Kettenis <kettenis@gnu.org>
3674
3675 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
3676 * sparc64fbsd-nat.c: Update copyright year. Include "target.h".
3677
3678 2005-01-15 Andrew Cagney <cagney@gnu.org>
3679
3680 * acinclude.m4: Include ../bfd/bfd.m4 instead of
3681 ../bfd/acinclude.m4. Include ../gettext.m4.
3682 * aclocal.m4, configure: Re-generate.
3683
3684 * exceptions.c (do_captured_command)
3685 (struct captured_command_args): Delete.
3686 (catch_command_errors): Simplify by inlining call to catch_errors.
3687
3688 * exceptions.c (struct catcher): Delete field print_message.
3689 (catcher_init): Delete print_message parameter.
3690 (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
3691 (throw_it): Delete prefix parameter.
3692 (throw_verror, throw_vfatal, throw_error): Update.
3693
3694 2005-01-14 Andrew Cagney <cagney@gnu.org>
3695
3696 * exceptions.c (print_and_throw): Delete, replaced by throw_it.
3697 (throw_reason): Leave the exception's message field blank.
3698 (throw_it): New function, create the exception and throw it.
3699 (throw_verror, throw_vfatal, throw_error): Call throw_it.
3700 (print_any_exception): New function.
3701 (catch_errors, catch_exceptions_with_msg): Call
3702 print_any_exception.
3703 (throw_exception): Move code calling annotate_error and
3704 annotate_quit from here ...
3705 (print_exception): ... to here.
3706
3707 * exceptions.c (exception_fprintf, exception_print): Move printing
3708 of \n from here ...
3709 (print_exception): ... to here.
3710 (print_flush): New function.
3711 (exception_print, exception_fprintf): Replace duplicated flush and
3712 wrap code with call to print_flush.
3713 (print_and_throw): Simplify, by using xstrvprintf, print_flush,
3714 and print_exception.
3715 (do_write): Delete.
3716
3717 * remote-sds.c (interrupt_query): Call throw_reason instead of
3718 throw_exception.
3719 * remote-mips.c (mips_error, mips_kill): Ditto
3720 * ocd.c (interrupt_query): Ditto.
3721 * nto-procfs.c (interrupt_query): Ditto.
3722 * monitor.c (monitor_interrupt_query): Ditto.
3723
3724 2005-01-14 Jeff Johnston <jjohnstn@redhat.com>
3725
3726 * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
3727
3728 2005-01-14 Andrew Cagney <cagney@gnu.org>
3729
3730 * exceptions.h (catch_exceptions): Delete errstring parameter.
3731 (catch_exceptions_with_msg): Ditto.
3732 * exceptions.c (catch_exceptions_with_msg): Update.
3733 (catch_exceptions): Update.
3734 * symfile-mem.c (add_vsyscall_page): Update.
3735 * frame.c (get_current_frame): Update.
3736 * wrapper.c (gdb_value_struct_elt): Update.
3737 * exceptions.c (catch_exceptions): Update.
3738 * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
3739 * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
3740 * remote-fileio.c (remote_fileio_request): Update.
3741
3742 * exceptions.h (exception_fprintf): Declare.
3743 (exception_print): Drop pre_print parameter.
3744 * mi/mi-main.c (mi_execute_command): Update exception_print call.
3745 * cli/cli-interp.c (safe_execute_command): Update exception_print
3746 call.
3747 * remote.c (remote_open_1): Instead of passing an error prefix to
3748 catch_exceptions, use catch_exceptions and exception_fprintf.
3749 (remote_start_remote): Change return type to void.
3750 * breakpoint.c (insert_bp_location): Instead of passing an error
3751 prefix to catch_exceptions, use catch_exceptions and
3752 exception_fprintf.
3753 (insert_catchpoint): Change return type to void.
3754 (break_command_1): Update exception_print call.
3755 * exceptions.c (exception_fprintf): New function.
3756 (print_exception): New function.
3757 (exception_print): Use print_exception.
3758
3759 * utils.c (error_output_message): Delete function.
3760 * defs.h (error_output_message): Delete declaration.
3761
3762 * linespec.c (symtab_from_filename, decode_variable): Use
3763 throw_error instead of error_silent.
3764 * breakpoint.c (do_captured_parse_breakpoint): Change return type
3765 to void.
3766 (break_command_1): Use catch_exception and check the error return
3767 status.
3768 * exceptions.c (throw_error): New function.
3769 (throw_vsilent): Delete function.
3770 * exceptions.h (throw_error): Declare.
3771 (throw_vsilent): Delete declaration.
3772 * utils.c (error_silent): Delete function.
3773 * defs.h (error_silent): Delete declaration.
3774
3775 * mi/mi-main.c (mi_execute_command): Print the exception.
3776 * cli/cli-interp.c (safe_execute_command): Print the exception.
3777 * exceptions.h (exception_print): Declare.
3778 * exceptions.c (struct catcher): Add field print_message.
3779 (catcher_init): Add parameter print_message, store in the catcher
3780 struct.
3781 (print_and_throw): Only print the message when print_message.
3782 (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
3783 catcher_init.
3784 (catch_exception): Pass print_message=0 to catcher_init.
3785
3786 * varobj.c (varobj_create): Add missing \n.
3787
3788 2005-01-13 Michael Snyder <msnyder@redhat.com>
3789
3790 * cli/cli-decode.h: Whitespace tweaks.
3791 * wince.c: Whitespace tweaks.
3792 * uw-thread.c: Whitespace tweaks.
3793 * utils.c: Whitespace tweaks.
3794 * tracepoint.[ch]: Whitespace tweaks.
3795 * solist.h: Whitespace tweaks.
3796
3797 2005-01-13 Andrew Cagney <cagney@gnu.org>
3798
3799 * exceptions.h (struct exception): Make message const.
3800 * mi/mi-main.c (mi_execute_command): Pass result.message directly
3801 to fputstr_unfiltered.
3802
3803 2005-01-13 Michael Snyder <msnyder@redhat.com>
3804
3805 * stack.c: Whitespace tweaks.
3806 * somsolib.[ch]: Whitespace tweaks.
3807 * solib-aix.c: Whitespace tweaks.
3808 * solib.c: Whitespace tweaks.
3809 * solib-frv.c: Whitespace tweaks.
3810 * solib.h: Whitespace tweaks.
3811 * solib-irix.c: Whitespace tweaks.
3812 * solib-som.c: Whitespace tweaks.
3813 * solib-sunos.c: Whitespace tweaks.
3814 * solib-svr4.[ch]: Whitespace tweaks.
3815 * ser-tcp.c: Whitespace tweaks.
3816 * ser-unix.c: Whitespace tweaks.
3817 * serial.h: Whitespace tweaks.
3818 * scm-valprint.c: Whitespace tweaks.
3819 * rs6000-tdep.c: Whitespace tweaks.
3820 * rs6000-nat.c: Whitespace tweaks.
3821 * remote.c: Whitespace tweaks.
3822
3823 2005-01-13 Andrew Cagney <cagney@gnu.org>
3824
3825 * defs.h (error_last_message, error_init): Delete declaration.
3826 * utils.c (fatal, vfatal): Call throw_vfatal.
3827 (error, verror): Call throw_verror;
3828 (do_write, error_stream_1): Delete function.
3829 (error_stream): Simplify, call error.
3830 (error_last_message, error_init, gdb_lasterr): Delete.
3831 (error_silent): Simplify, call throw_vsilent.
3832 * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
3833 * main.c (captured_main): Delete call to error_init.
3834 * exceptions.c (throw_verror, throw_verror)
3835 (throw_vsilent): New functions.
3836 (do_write, print_and_throw): New functions.
3837 (last_message): New global.
3838 (throw_reason): Replace error_last_message with last_message.
3839 (catch_exceptions_with_msg): Dup the message.
3840 * exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
3841 Declare.
3842
3843 2005-01-13 Michael Snyder <msnyder@redhat.com>
3844
3845 * remote-st.c: Whitespace tweaks.
3846 * remote-sim.c: Whitespace tweaks.
3847 * remote-mips.c: Whitespace tweaks.
3848 * pa64solib.[ch]: Whitespace tweaks.
3849 * mdebugread.c: Whitespace tweaks.
3850 * main.c: Whitespace tweaks.
3851 * interps.c: Whitespace tweaks.
3852 * infrun.c: Whitespace tweaks.
3853 * infcmd.c: Whitespace tweaks.
3854 * hpux-thread.c: Whitespace tweaks.
3855 * hppa-hpux-tdep.c: Whitespace tweaks.
3856 * gdbcore.h: Whitespace tweaks.
3857 * gdbcmd.h: Whitespace tweaks.
3858 * gdb-events[.c, .h, .sh]: Whitespace tweaks.
3859 * corefile.c: Whitespace tweaks.
3860 * completer.c: Whitespace tweaks.
3861 * coff-solib.c: Whitespace tweaks.
3862 * coff-solib.h: Whitespace tweaks.
3863 * cli-out.c: Whitespace tweaks.
3864 * breakpoint.c: Whitespace tweaks.
3865 * cli/cli-interp.c: Tweak comments, per coding standard.
3866
3867 2005-01-13 Andrew Cagney <cagney@gnu.org>
3868
3869 * breakpoint.c (gdb_breakpoint_query): Update, use
3870 catch_exceptions_with_msg.
3871 (do_captured_breakpoint): Add uiout parameter.
3872 (gdb_breakpoint): Update, use catch_exceptions_with_msg.
3873 * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
3874 gdb_thread_select. Return MI_CMD_ERROR instead of
3875 MI_CMD_CAUGHT_ERROR.
3876 (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
3877 (enum captured_mi_execute_command_actions): Delete
3878 EXECUTE_COMMAND_DISPLAY_ERROR.
3879 (captured_mi_execute_command): Delete code handling
3880 MI_CMD_CAUGHT_ERROR.
3881 (mi_execute_command): Don't check for
3882 EXECUTE_COMMAND_DISPLAY_ERROR.
3883 * mi/mi-cmd-break.c (breakpoint_notify): Update call to
3884 gdb_breakpoint_query.
3885 (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
3886 * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
3887 * gdb.h (gdb_thread_select, gdb_list_thread_ids)
3888 (gdb_breakpoint, gdb_breakpoint_query): Add error_message
3889 parameter.
3890 * thread.c (thread_command): Update call.
3891 (gdb_thread_select, gdb_list_thread_ids): Update, call
3892 catch_exceptions_with_msg.
3893
3894 * mi/mi-main.c (mi_execute_command): Use catch_exception,
3895 eliminate call to error_last_message.
3896 (captured_mi_execute_command): Change return type to void.
3897
3898 2005-01-12 Andrew Cagney <cagney@gnu.org>
3899
3900 * exceptions.c (exception_none): New variable.
3901 * Makefile.in: Update dependencies.
3902 * interps.c: Include "exceptions.h".
3903 (interpreter_exec_cmd, interp_exec): Update to return "struct
3904 exception"
3905 * exceptions.h (no_exception): Declare.
3906 * tui/tui-interp.c (tui_exec): Update to return "struct exception"
3907 * mi/mi-interp.c: Include "exceptions.h".
3908 (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
3909 'struct exception".
3910 * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
3911 (do_captured_execute_command): Update to use catch_exception.
3912 * interps.h: Include "exceptions.h".
3913 (interp_exec_ftype, interp_exec): Return "struct exception".
3914
3915 * exceptions.h (throw_reason): Rename throw_exception.
3916 (enum errors, struct exception): Define.
3917 (catch_exception_ftype): Define.
3918 (catch_exception, throw_exception): Declare.
3919 * exceptions.c (throw_exception): Rewrite.
3920 (throw_reason): New function.
3921 (struct catcher, catcher_state_machine): Replace "reason" with
3922 "exception", delete "gdberrmsg".
3923 (catch_exception): New function.
3924 (catcher_init): Replace "gdberrmsg" parameter with "exception".
3925 (catch_errors, catch_exceptions_with_msg): Re-implement passing
3926 exception to catcher_init.
3927 * utils.c (error_silent, error_stream_1): Use throw_reason.
3928 (internal_verror, quit): Ditto.
3929 * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
3930 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
3931 * remote.c (remote_open_1, interrupt_query): Ditto.
3932
3933 2005-01-12 Mark Kettenis <kettenis@gnu.org>
3934
3935 * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
3936 "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
3937 (i386fbsd_jmp_buf_reg_offset): New variable.
3938 (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
3939 functions.
3940 (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
3941 * Makefile.in (i386fbsd-tdep.o): Update dependency.
3942 * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
3943
3944 * bsd-uthread.h: New file.
3945 * bsd-uthread.c: New file.
3946 * Makefile.in (bsd_uthread_h): New variable.
3947 (ALLDEPFILES): Add bsd-uthread.c.
3948 (bsd-uthread.o): New dependency.
3949
3950 * solib.h Update copyright year.
3951 (struct so_list): Forward declaration.
3952 (solib_read_symbols): New prototype.
3953 * solib.c (solib_read_symbols): New function.
3954 (solib_add): Call solib_read_symbols to read in symbols.
3955 (update_solib_list): Call observer_notify_solib_loaded.
3956
3957 * i386bsd-nat.c: Update copyright year. Don't include
3958 <sys/param.h> and <sys/user.h>.
3959 (register_u_addr, kernel_u_size): Remove functions.
3960 * config/i386/obsd.mh (NAT_FILE): Remove.
3961 * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
3962 * config/i386/nm-obsd.h: Remove file.
3963
3964 2005-01-12 Andrew Cagney <cagney@gnu.org>
3965
3966 * exceptions.c: Include "gdb_string.h".
3967 (enum catcher_state, struct catcher): Define.
3968 (current_catcher): New global, replaces catch_return;
3969 (catch_return): Delete.
3970 (throw_exception): Use current_catcher->buf;
3971 (catcher_init, catcher_pop, catcher_state_machine): New functions.
3972 (catcher): Delete.
3973 (struct catch_errors_args): Delete.
3974 (do_catch_errors): Delete.
3975 (catch_exceptions): Replace body with call to
3976 catch_exceptions_with_msg.
3977 (catcher): Delete.
3978 (catch_exceptions_with_msg, catch_errors): Re-implement using
3979 catcher_state_machine.
3980
3981 * exceptions.h (enum return_reason, RETURN_MASK)
3982 (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
3983 (return_mask, throw_exception, catch_exceptions_ftype)
3984 (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
3985 (catch_command_errors_ftype, catch_command_errors): Move to
3986 exceptions.h.
3987 * exceptions.c, exceptions.h: New files.
3988 * top.c: Do not include <setjmp.h>.
3989 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
3990 (throw_exception, catcher, catch_exceptions)
3991 (catch_exceptions_with_msg, struct catch_errors_args)
3992 (do_catch_errors, catch_errors, struct captured_command_args)
3993 (do_captured_command, catch_command_errors): Move to exceptions.c.
3994 * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
3995 * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
3996 * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
3997 * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
3998 * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
3999 * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
4000 * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
4001 * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
4002 * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
4003 * ada-valprint.c, ada-lang.c: Ditto.
4004 * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
4005 exceptions.o. Update all dependencies.
4006
4007 2005-01-11 Mark Kettenis <kettenis@gnu.org>
4008
4009 * config/i386/nm-fbsd.h: Update copyright year.
4010 Don't include "config/nm-bsd.h".
4011 (KERNEL_U_SIZE): Remove macro.
4012 (kernel_u_size): Remove prototype.
4013
4014 * config/vax/nbsdaout.mh (NAT_FILE): Remove.
4015 * config/vax/nm-nbsdaout.h: Remove file.
4016
4017 2005-01-10 Elena Zannoni <ezannoni@redhat.com>
4018
4019 * MAINTAINERS: Remove self from sh/sh64 maintainership.
4020
4021 2005-01-10 Andrew Cagney <cagney@gnu.org>
4022
4023 * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
4024 changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
4025 maintainer.
4026
4027 * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
4028 changes to CRIS.
4029
4030 * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
4031 COMMIT means can approve).
4032
4033 2005-01-10 Mark Kettenis <kettenis@gnu.org>
4034
4035 * vax-nat.c: Update copyright year. Include "inf-ptrace.h".
4036 (vax_register_u_offset): Make statuc.
4037 (_initialize_vax_nat): Construct and add target vector.
4038 * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
4039 inftarg.o. Add inf-ptrace.o.
4040 * Makefile.in (vax-nat.o): Update dependencies.
4041
4042 * inf-ptrace.h: Update copyright year. Sync comment with
4043 inf-ptrace.c.
4044 (inf_ptrace_trad_target): New prototype.
4045 * inf-ptrace.c: Update copyright year. Include "regcache.h" and
4046 "gdb_assert.h"
4047 (inf_ptrace_target): Add comment.
4048 (inf_ptrace+register_u_offset): New variable.
4049 (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
4050 (inf_ptrace_store_register, inf_ptrace_store_registers)
4051 (inf_ptrace_trad_target): New functions.
4052 * Makefile.in (inf-ptrace.o): Update dependencies.
4053
4054 2005-01-09 Mark Kettenis <kettenis@gnu.org>
4055
4056 * configure.ac: Provide prerequisite headers when checking
4057 <link.h>, <sys/proc.h> and <sys/user.h>.
4058 * configure: Regenerate.
4059
4060 2005-01-08 Mark Kettenis <kettenis@gnu.org>
4061
4062 * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
4063 tm-ppc-eabi.h instead of the removed tm-nbsd.h.
4064
4065 2005-01-07 Mark Kettenis <kettenis@gnu.org>
4066
4067 * config/ia64/tm-linux.h: Tweak comment. Update copyright year.
4068 Don't include "tm-ia64.h".
4069 * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
4070 * config/ia64/tm-ia64.h: Remove. Move contents ...
4071 * ia64-tdep.h: ... here. Update copyright year.
4072
4073 2005-01-07 Andrew Cagney <cagney@gnu.org>
4074
4075 * configure.ac: Rename configure.in, require autoconf 2.59.
4076 * configure: Re-generate.
4077
4078 * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
4079 xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
4080 to configdirs.
4081
4082 * configure.in: Replace configdirs with multiple references to
4083 AC_CONFIG_SUBDIRS.
4084 * configure: Re-generate.
4085
4086 2005-01-05 Andreas Schwab <schwab@suse.de>
4087
4088 * ia64-tdep.c: Include "osabi.h".
4089 (native_find_global_pointer): Delete.
4090 (ia64_find_global_pointer): Renamed from
4091 generic_elf_find_global_pointer.
4092 (FIND_GLOBAL_POINTER): Delete. Change all users to call
4093 ia64_find_global_pointer instead.
4094 (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
4095 to ia64_linux_sigcontext_register_address and
4096 ia64_linux_write_pc. Don't set tdep->find_global_pointer.
4097 (_initialize_ia64_tdep): Call gdbarch_register instead of
4098 deprecated register_gdbarch_init.
4099 (struct gdbarch_tdep): Remove find_global_pointer field and move
4100 to ...
4101 * ia64-tdep.h (struct gdbarch_tdep): ... here.
4102 (ia64_linux_sigcontext_register_address): Remove declaration.
4103 (ia64_linux_getunwind_table): Likewise.
4104 (ia64_linux_write_pc): Likewise.
4105 * ia64-linux-tdep.c: Include "osabi.h".
4106 (ia64_linux_sigcontext_register_address): Make static.
4107 (ia64_linux_write_pc): Likewise.
4108 (ia64_linux_init_abi): New.
4109 (_initialize_ia64_linux_tdep): New.
4110 * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
4111 $(osabi_h).
4112
4113 2005-01-05 Kevin Buettner <kevinb@redhat.com>
4114
4115 * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
4116 functions in ia64-aix-tdep.c.
4117 * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
4118 function defined in ia64-aix-tdep.c.
4119 * ia64-aix-tdep.c: Remove file.
4120 * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
4121 this list.
4122 * Makefile.in (ia64-aix-tdep.o): Delete.
4123
4124 2005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
4125
4126 Committed by Andrew Cagney.
4127 * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
4128 * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
4129 * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
4130 * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
4131 * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
4132 * aix-thread.c (_initialize_aix_thread): Get rid of the
4133 deprecated_add_show_from_set call.
4134 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
4135 * arm-tdep.c (_initialize_arm_tdep): Ditto.
4136 * command.h (add_setshow_enum_cmd): Add arguments for returning
4137 new list elements.
4138 * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
4139 * mips-tdep.c (_initialize_mips_tdep): Modify calls to
4140 add_setshow_enum_cmd.
4141
4142 2005-01-04 Mark Kettenis <kettenis@gnu.org>
4143
4144 * configure.host (ia64-*-aix*): Remove.
4145 * configure.tgt (ia64-*-aix*): Remove.
4146 * config/ia64/aix.mh: Remove file.
4147 * config/ia64/aix.mt: Remove file.
4148 * config/ia64/tm-aix.h: Remove file.
4149 * ia64-aix-nat.c: Remove file.
4150 * Makefile.in (ia64-aix-nat.o): Remove dependency.
4151
4152 * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
4153 Add back inf-ptrace.o.
4154
4155 2005-01-04 Andrew Cagney <cagney@gnu.org>
4156
4157 * version.in: Change format from 6.3.50_2005-01-04-cvs to
4158 6.3.50.20050104-cvs.
4159
4160 2005-01-04 Andreas Schwab <schwab@suse.de>
4161
4162 * breakpoint.c (break_command_1): Always free err_msg before
4163 returning when an exception was caught.
4164
4165 2005-01-01 Joel Brobecker <brobecker@gnat.com>
4166
4167 * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
4168 in register number for addil instruction.
4169
4170 For older changes see ChangeLog-2004.
4171 \f
4172 Local Variables:
4173 mode: change-log
4174 left-margin: 8
4175 fill-column: 74
4176 version-control: never
4177 End:
This page took 0.127209 seconds and 5 git commands to generate.