2005-05-23 Orjan Friberg <orjanf@axis.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
41922353
OF
12005-05-23 Orjan Friberg <orjanf@axis.com>
2
3 * gdb.texinfo (CRIS): Update the cris-version and cris-dwarf2-cfi
4 documentation. Add documentation for cris-mode.
5
1f9872de
JB
62004-05-23 Joel Brobecker <brobecker@adacore.com>
7
8 * mdebugread.c (record_minimal_symbol): New procedure.
9 (parse_partial_symbols): Use record_minimal_symbol to record
10 the new minimal symbols instead of prim_record_minimal_symbol
11 and prim_record_minimal_symbol_and_info.
12
872544e5
MK
132005-05-22 Mark Kettenis <kettenis@gnu.org>
14
02a677ac
MK
15 * NEWS: Mention OpenBSD/arm as a new native configuration.
16
2b73aeb1
MK
17 * armnbsd-nat.c: Include "gdb_string.h" and "inf_ptrace.h".
18 Reorder includes. Don't require FETCH_INFERIOR_REGISTERS to be
19 defined.
20 (armnbsd_fetch_registers): Rename from armnbsd_fetch_registers.
21 Make static.
22 (armnbsd_store_registers): Rename from armnbsd_store_registers.
23 Make static.
24 (_initialize_arm_netbsd_nat): Construct and add target vector.
25 * Makefile.in (armnbsd-nat.o): Update dependencies.
26 * config/arm/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and
27 intarg.o, add inf-ptrace.o.
28 (NAT_FILE): Set to solib.h.
29 * config/arm/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and
30 inftarg.o, add inf-ptrace.o.
31 (NAT_FILE): Remove.
32
5238cf52
MK
33 * arm-tdep.c (arm_extract_return_value, arm_store_return_value):
34 Change type of last argument to `gdb_byte *'.
35
872544e5
MK
36 * configure.host: Add arm*-*-openbsd*.
37 * configure.tgt: Add arm*-*-openbsd*.
38
10c42a71
AC
392005-05-22 Andrew Cagney <cagney@gnu.org>
40
41 * frame.h (frame_register_unwind, frame_unwind_register)
42 (get_frame_register, frame_register, put_frame_register)
43 (get_frame_memory, safe_frame_unwind_memory)
44 (frame_register_read): Use gdb_byte for byte buffer parameters.
45 * trad-frame.h (trad_frame_get_register)
46 (frame_get_prev_register): Ditto.
47 * frame-unwind.h (frame_prev_register_ftype): Ditto.
48 * frame.c (frame_pop, frame_register, frame_unwind_register)
49 (get_frame_register, frame_unwind_register_signed)
50 (frame_unwind_register_unsigned, frame_unwind_unsigned_register)
51 (frame_register_read, get_frame_memory): Update.
52 * trad-frame.c (trad_frame_get_prev_register): Update.
53 (trad_frame_get_register): Update.
54 * gdbcore.h (deprecated_read_memory_nobpt, read_memory): Ditto.
55 * breakpoint.c (deprecated_read_memory_nobpt): Update.
56 * corefile.c (read_memory): Update.
57 * tramp-frame.c (tramp_frame_prev_register): Update.
58 * valops.c (value_assign): Update.
59 * sentinel-frame.c (sentinel_frame_prev_register): Update.
60 * std-regs.c (value_of_builtin_frame_fp_reg)
61 (value_of_builtin_frame_pc_reg): Update.
62 * infcmd.c (default_print_registers_info): Update
63 * dummy-frame.c (dummy_frame_prev_register): Update.
64 * findvar.c (value_of_register, value_from_register): Update.
65 * tui/tui-regs.c (tui_register_format, tui_get_register): Update.
66 * mi/mi-main.c (register_changed_p, get_register): Update.
67
194134a1
EZ
682005-05-20 Eli Zaretskii <eliz@gnu.org>
69
ba1e897e
EZ
70 * configure.ac: Add snprintf and vsnprintf to AC_CHECK_DECLS. Fix
71 bad description of _MSE_INT_H that caused each word in config.in
72 to be enclosed in [].
41721137 73 * configure, config.in: Regenerate.
194134a1 74
0de94d4b
JB
752005-05-20 Joel Brobecker <brobecker@adacore.com>
76
77 * alpha-tdep.c (fp_register_zero_p): New function.
78 (fp_register_sign_bit): New function.
79 (alpha_next_pc): Add support for floating-point control instructions.
80
2d522557
AC
812005-05-19 Andrew Cagney <cagney@gnu.org>
82
0d509538
AC
83 * defs.h (extract_signed_integer, extract_unsigned_integer)
84 (extract_long_unsigned_integer, extract_typed_address)
85 (store_signed_integer, store_unsigned_integer)
86 (store_typed_address): Use gdb_byte for byte buffer parameters.
87 (push_bytes, push_word): Delete declaration.
88 * valops.c (push_bytes, push_word): Delete function.
89 * findvar.c (extract_signed_integer, extract_unsigned_integer)
90 (extract_typed_address, store_signed_integer)
91 (store_unsigned_integer): Update.
92
2d522557
AC
93 * regcache.h (regcache_raw_read, regcache_raw_write)
94 (regcache_raw_read_part, regcache_raw_write_part)
95 (regcache_cooked_read_part, regcache_cooked_write_part)
96 (regcache_cooked_read, regcache_cooked_write)
97 (regcache_raw_supply, regcache_raw_collect)
98 (regcache_cooked_read_ftype, regcache_save, regcache_restore)
99 (deprecated_read_register_gen, deprecated_write_register_gen)
100 (deprecated_read_register_bytes, deprecated_write_register_bytes)
101 (deprecated_grub_regcache_for_registers): Use gdb_byte for byte
102 buffer parameters.
103 * ia64-tdep.c (ia64_extract_return_value): Update.
104 * frame.c (do_frame_register_read): Update.
105 * regcache.c (deprecated_grub_regcache_for_registers)
106 (struct regcache, regcache_save, regcache_restore, regcache_cpy)
107 (do_cooked_read, regcache_xmalloc, register_buffer)
108 (deprecated_read_register_bytes, regcache_raw_read)
109 (regcache_raw_read_signed, regcache_raw_read_unsigned)
110 (deprecated_read_register_gen, regcache_cooked_read)
111 (regcache_cooked_read_signed, regcache_cooked_read_unsigned)
112 (deprecated_write_register_gen, regcache_cooked_write)
113 (deprecated_write_register_bytes, regcache_raw_read_part)
114 (regcache_raw_write_part, regcache_cooked_read_part)
115 (regcache_cooked_write_part, read_register, regcache_raw_supply):
116
181124bc
CV
1172005-05-17 Corinna Vinschen <vinschen@redhat.com>
118
119 * MAINTAINERS: Undelete v850.
120 * Makefile.in: Re-add v850-tdep.o dependencies.
121 * configure.tgt: Re-add v850.
122 * v850-tdep.c: Reorder code slightly. Add register number enumerator.
123 (struct v850_frame_cache): New structure.
124 (v850_processor_type_table): Remove. Move functionality into
125 v850_register_name, v850e_register_name and v850_gdbarch_init.
126 (v850_register_name): New function.
127 (v850e_register_name): New function.
128 (struct prologue_info): Remove definition.
129 (v850_register_type): New function.
130 (v850_type_is_scalar): New function.
131 (v850_use_struct_convention): Align to gcc behaviour.
132 (v850_handle_prepare): Renamed from handle_prepare. Change third
133 parameter to struct v850_frame_cache *.
134 (v850_handle_pushm): Renamed from handle_pushm. Change third parameter
135 to struct v850_frame_cache *.
136 (v850_is_save_register): New function to evaluate if a register is
137 caller-save.
138 (v850_analyze_prologue): Replace v850_scan_prologue. Change to support
139 new frame code.
140 (v850_init_extra_frame_info): Remove.
141 (v850_frame_chain): Remove.
142 (v850_find_callers_reg): Remove.
143 (v850_skip_prologue): Make static.
144 (v850_pop_frame): Remove.
145 (v850_frame_align): New function.
146 (v850_push_dummy_call): Replace v850_push_arguments.
147 (v850_push_return_address): Remove.
148 (v850_extract_return_value): New function.
149 (v850_store_return_value): New function.
150 (v850_return_value): New function.
151 (v850_frame_saved_pc): Remove.
152 (v850_breakpoint_from_pc): New function.
153 (v850_alloc_frame_cache): New function.
154 (v850_fix_call_dummy): Remove.
155 (v850_frame_cache): New function.
156 (v850_target_architecture_hook): Remove.
157 (v850_frame_prev_register): New function.
158 (v850_frame_this_id): New function.
159 (v850_frame_unwind): New structure.
160 (v850_frame_sniffer): New function.
161 (v850_unwind_sp): New function.
162 (v850_unwind_pc): New function.
163 (v850_unwind_dummy_id): New function.
164 (v850_frame_base_address): New function.
165 (v850_frame_base): New structure.
166 (v850_gdbarch_init): New function.
167 * config/v850/v850.mt: Undelete. Drop TM_FILE.
168
76ff342d
DJ
1692005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
170 Dennis Brueni <dennis@slickedit.com>
171
172 * stack.c (print_frame): In MI mode, output a fullname attribute
173 with the stack frame.
174
d01e66a5
MK
1752005-05-16 Mark Kettenis <kettenis@gnu.org>
176
961cb7b5
MK
177 * corelow.c (core_xfer_partial): Change type of readbuf and
178 writebuf to `gdb_byte *'.
179 * sparc-nat.c (sparc_xfer_wcookie, sparc_xfer_partial): Change
180 type of readbuf and writebuf to `gdb_byte *'.
181 * bsd-uthread.c (bsd_uthread_xfer_partial): Change type of readbuf
182 and writebuf to `gdb_byte *'.
183 * inf-ptrace.c (inf_ptrace_xfer_partial): Change type of readbuf
184 and writebuf to `gdb_byte *'.
185 * bsd-kvm.c (bsd_kvm_xfer_memory): Replace.
186 (bsd_kvm_xfer_partial): New function.
187 (bsd_kvm_add_target): Set to_xfer_partial instead of
188 to_xfer_memory.
189 * bfd-target.c (target_bfd_xfer_partial): Change type of readbuf
190 and writebuf to `gdb_byte *'.
191 * target.c (deprecated_debug_xfer_memory): Remove prototype.
192 (deprecated_debug_xfer_memory): Change type of second argument to
193 `gdb_byte *'.
194 * remote.c (remote_xfer_memory): Remove prototype.
195 (remote_xfer_memory): Change type of second argument to `gdb_byte
196 *'.
197 (remote_xfer_partial): Change type of readbuf and writebuf to
198 `gdb_byte *'.
199
d01e66a5
MK
200 * config/sparc/fbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
201 * config/sparc/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o
202 and solib-legacy.o.
203 (NAT_FILE): Remove.
204
43af2100
UW
2052005-05-16 Ulrich Weigand <uweigand@de.ibm.com>
206
207 * s390-tdep.c (s390_return_value): Remove unnecessary casts.
208 (s390_breakpoint_from_pc): Change type of return value and
209 'breakpoint' to const gdb_byte *.
210
2e82d168
UW
2112005-05-16 Ulrich Weigand <uweigand@de.ibm.com>
212
213 * s390-tdep.c (s390_pseudo_register_read, s390_pseudo_register_write):
214 Change type of 'buf' argument to gdb_byte *.
215 (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
216 (s390_register_to_value): Change type of 'out' to gdb_byte *, change
217 type of 'in' to gdb_byte [].
218 (s390_value_to_register): Change type of 'in' to gdb_byte *, change
219 type of 'out' to gdb_byte [].
220 (s390_return_value): Change type of 'out' and 'in' to gdb_byte *.
221
1b0ba102
AC
2222005-05-16 Andrew Cagney <cagney@gnu.org>
223
224 * target.h (target_read_partial, target_write_partial)
225 (do_xfer_memory, xfer_memory, target_read, target_write)
226 (get_target_memory): For buffers, change "void*" to gdb_byte.
227 (struct target_ops): Ditto for to_xfer_partial and
228 deprecated_xfer_memory.
229 * dcache.h (dcache_xfer_memory): Ditto.
230 * target.c (default_xfer_partial, target_read_partial)
231 (target_write_partial, target_read, target_write)
232 (do_xfer_memory, update_current_target, get_target_memory): Update.
233 (target_read_string): Change buf to a gdb_byte.
234 * dcache.c (dcache_xfer_memory): Update.
235 * exec.c (xfer_memory): Make buffer type to gdb_byte.
236 * mem-break.c (default_memory_insert_breakpoint): Remove cast.
237 * disasm.c (dis_asm_read_memory): Remove cast, use gdb_byte.
238
f3e25dcb
MK
2392005-05-16 Mark Kettenis <kettenis@gnu.org>
240
65a19707
MK
241 * sol-thread.c (ignore): Change last argument to `gdb_byte.'
242
9aa6bcd8
MK
243 * config/i386/fbsd.mt (DEPRECATED_TM_FILE): Remove.
244 * config/i386/fbsd64.mt (DEPRECATED_TM_FILE): Remove.
245 * config/i386/nbsd.mt (DEPRECATED_TM_FILE): Remove.
246 * config/i386/nbsd64.mt (DEPRECATED_TM_FILE): Remove.
247 * config/sparc/nbsd.mt (DEPRECATED_TM_FILE): Remove.
248 * config/sparc/nbsd64.mt (DEPRECATED_TM_FILE): Remove.
249
f3e25dcb
MK
250 * observer.sh: Quote $DJGPP.
251
42ecbf5e
DJ
2522005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
253
254 * Makefile.in (.y.c): Update ylwrap invocation.
255
58aecb61
DJ
2562005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
257
258 * linux-nat.c (child_follow_fork, linux_handle_extended_wait)
259 (lin_lwp_attach_lwp, linux_nat_attach, wait_lwp, child_wait)
260 (linux_nat_wait, kill_wait_callback): Use my_waitpid.
261 (_initialize_linux_nat, lin_thread_get_thread_signals): Use
262 SA_RESTART.
263
42835c2b
MK
2642005-05-14 Mark Kettenis <kettenis@gnu.org>
265
a5bf92c5
MK
266 * configure.tgt (vax-*-openbsd*): Set gdb_target to obsd.
267 * config/vax/obsd.mt (TDEPFILES): New file.
268
156cdbee
MK
269 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset): Use
270 gdb_byte instead of bfd_byte.
271
47a35522
MK
272 * mips-tdep.c (mips_pseudo_register_read)
273 (mips_pseudo_register_write): Change type of last argument to
274 `gdb_byte *'.
275 (mips_register_to_value, mips_value_to_register): Change type of
276 last argument to `gdb_byte *'. Remove casts that are no longer
277 needed.
278 (mips_fetch_instruction, fetch_mips_16): Use gdb_byte for buf.
279 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
280 (mips_o32_push_dummy_call, mips_o32_return_value): Use `const
281 gdb_byte *' for val and gdb_byte for valbuf. Remove casts that
282 are no longer needed.
283 (mips_eabi_return_value, mips_n32n64_return_value)
284 (mips_o32_return_value, mips_o64_return_value): Change type of
285 readbuf and writebuf arguments to `gdb_byte *'.
286 (mips_read_fp_register_single): Change type of last argument to
287 `gdb_byte *'. Use `gdb_byte *' for raw_buffer.
288 (mips_read_fp_register_double): Change type of last argument to
289 `gdb_byte *'.
290 (mips_print_fp_register): Use `gdb_byte *' for raw_buffer. Remove
291 casts that are no longer needed.
292 (mips_print_register, print_gp_register_row): Use gdb_byte for
293 raw_buffer. Remove casts that are no longer needed.
294 (mips_single_step_through_delay): Use gdb_byte for buf.
295 (mips_breakpoint_from_pc): Change return type to `const gdb_byte
296 *'. Use gdb_byte for mips16_big_breakpoint, big_breakpoint,
297 pmon_big_breakpoint, idt_big_breakpoint, mips16_little_breakpoint,
298 little_breakpoint, pmon_little_breakpoint and
299 idt_little_breakpoint.
300 (mips_integer_to_address): Use `gdb_byte *' for tmp.
301
c872b717
MK
302 * config/m68k/obsd.mt (DEPRECATED_TM_FILE): Remove.
303 * config/i386/obsd.mt (DEPRECATED_TM_FILE): Remove.
304 * config/i386/obsd64.mt (DEPRECATED_TM_FILE): Remove.
305 * config/pa/obsd.mt (DEPRECATED_TM_FILE): Remove.
306 * config/sparc/obsd.mt (DEPRECATED_TM_FILE): Remove.
307 * config/sparc/obsd64.mt (DEPRECATED_TM_FILE): Remove.
308
e1613aba
MK
309 * sparc-tdep.c (sparc_fetch_instruction, sparc_fetch_wcookie): Use
310 gdb_byte for buf.
311 (sparc32_pseudo_register_read, sparc32_pseudo_register_write):
312 Change type of last argument to `gdb_byte *'. Remove casts that
313 are no longer needed.
314 (sparc32_push_dummy_code, sparc32_store_arguments): Use gdb_byte
315 for buf.
316 (sparc_breakpoint_from_pc): Change return type to `const gdb_byte
317 *'. Use gdb_byte for break_insn.
318 (sparc32_extract_return_value, sparc32_store_return_value): Change
319 type of last argument to `gdb_byte *'. Use gdb_byte for buf.
320 (sparc32_return_value): Change type of readbuf and writebuf
321 arguments to `gdb_byte *'.
322 (sparc_software_single_step): Use gdb_byte for npc_save and
323 nnpc_save.
324 (sparc_supply_rwindow, sparc_collect_rwindow): Use gdb_byte for
325 buf.
326 (sparc32_supply_gregset, sparc32_collect_gregset)
327 (sparc32_supply_fpregset, sparc32_collect_fpregset): Use `gdb_byte
328 *' for regs.
329 * sparc64-tdep.c (sparc64_pseudo_register_read)
330 (sparc64_pseudo_register_write): Change type of last argument to
331 `gdb_byte *'. Remove casts that are no longer needed.
332 (sparc64_store_floating_fields, sparc64_extract_floating_fields):
333 Change type of valbuf argument to `gfd_byte *'.
334 (sparc64_store_arguments): Use `gdb_byte *' for valbuf. use
335 gdb_byte for buf.
336 (sparc64_extract_return_value, sparc64_store_return_value): Change
337 type of last argument to `gdb_byte *'. Use gdb_byte for buf.
338 (sparc64_return_value): Change type of readbuf and writebuf
339 arguments to `gdb_byte *'.
340 (sparc64_supply_gregset, sparc64_collect_gregset)
341 (sparc64_supply_fpregset, sparc64_collect_fpregset): Use `gdb_byte
342 *' for regs.
343
f5cf7aa1
MK
344 * m68k-tdep.c (m68k_local_breakpoint_from_pc): Change return type
345 to `const gdb_byte *'. Use gdb_byte for break_insn.
346 (m68k_register_to_value): Change type of last argument to
347 `gdb_byte *'. Use gdb_byte for from.
348 (m68k_value_to_register): Change type of last argument to
349 `gdb_byte *'. Use gdb_byte for to.
350 (m68k_extract_return_value): Change type of last argument to
351 `gdb_byte *'. Use gdb_byte for buf. Remove unnecessary cast.
352 (m68k_svr4_extract_return_value): Change type of last argument to
353 `gdb_byte *'. Use gdb_byte for buf.
354 (m68k_store_return_value): Change type of last argument to
355 `gdb_byte *'. Remove unnecessary cast.
356 (m68k_svr4_store_return_value): Change type of last argument to
357 `gdb_byte *'. Use gdb_byte for buf.
358 (m68k_return_value, m68k_svr4_return_value): Change type of
359 readbuf and writebuf arguments to `gdb_byte *'.
360 (m68k_push_dummy_call, m68k_unwind_pc, m68k_frame_cache)
361 (m68k_unwind_dummy_id): Use gdb_byte for buf.
362 (m68k_get_longjmp_target): Use `gdb_byte *' for buf.
363 * m68kbsd-tdep.c (m68kbsd_supply_fpregset)
364 (m68kbsd_supply_gregset): Use `gdb_byte *' for regs.
365
8dccaca3
MK
366 * m88k-tdep.c (m88k_breakpoint_from_pc): Change return type to
367 `const gdb_byte *'. Use gdb_byte for break_insn.
368 (m88k_return_value): Change type of readbuf and
369 writebuf arguments to `gdb_byte *'. Use gdb_byte for buf.
370 (m88k_supply_gregset): Use `gdb_byte *' for regs.
371
459f20b9
MK
372 * vax-tdep.c (vax_return_value): Change type of readbuf and
373 writebuf arguments to `gdb_byte *'.
374
42835c2b
MK
375 * amd64-tdep.c (amd64_return_value): Change type of readbuf and
376 writebuf arguments to `gdb_byte *'. Remove now redundant casts.
377 * i386-tdep.c (i386_return_value): Change type of readbuf and
378 writebuf arguments to `gdb_byte *'.
379 (i386_pseudo_register_read, i386_pseudo_register_write): Change
380 type of last argument to `gdb_byte *'.
381 (i386_register_to_value, i386_value_to_register): Change type of
382 last argument to `gdb_byte *'. Simplify function a bit.
383 * i387-tdep.h (i387_value_to_register, i387_register_to_value):
384 Change type of last argument to `gdb_byte *'.
385 * i387-tdep.c: Likewise.
386
b60c417a
AC
3872005-05-13 Andrew Cagney <cagney@gnu.org>
388
389 * gdbarch.sh (pseudo_register_read, pseudo_register_write)
390 (value_to_register, register_to_value, pointer_to_address)
391 (address_to_pointer, return_value, extract_return_value)
392 (store_return_value): Instead of a void pointer, use gdb_byte.
393 * gdbarch.h, gdbarch.c: Regenerate.
394 * inferior.h (unsigned_address_to_pointer)
395 (signed_pointer_to_address, address_to_signed_pointer)
396 (unsigned_pointer_to_address): Update.
397 * arch-utils.h (legacy_return_value):
398 * arch-utils.c (legacy_extract_return_value)
399 (legacy_return_value): Update.
400 * findvar.c (unsigned_pointer_to_address)
401 (signed_pointer_to_address, unsigned_address_to_pointer)
402 (address_to_signed_pointer): Update.
403
bdd56253
OF
4042005-05-13 Orjan Friberg <orjanf@axis.com>
405
406 * cris-tdep.c (_initialize_cris_tdep): Improve help strings for
407 cris-version, cris-mode, and cris-dwarf2-cfi settings.
408
0e6bdb31
OF
4092005-05-13 Orjan Friberg <orjanf@axis.com>
410
411 * cris-tdep.c (usr_cmd_cris_version): Change type to int.
412 (cris_mode_normal, cris_mode_guru, cris_modes, usr_cmd_cris_mode): Add.
413 (struct gdbarch_tdep): Change type of cris_version to int. Add
414 cris_mode.
415 (cris_mode, set_cris_mode): New functions.
416 (crisv32_single_step_through_delay): Read from NRP register instead
417 of ERP register in guru mode.
418 (cris_breakpoint_from_pc): Rename break_insn to break8_insn.
419 Add break15_insn, returned in guru mode.
420 (_initialize_cris_tdep): Add call to add_setshow_enum_cmd for new
421 cris-mode setting.
422 (cris_dump_tdep): Add dump of cris_mode.
423 (cris_gdbarch_init): Add cris_mode to search criteria for architecture.
424 Register the sigtramp frame sniffer only if not in guru mode.
425
1e872def
EZ
4262005-05-13 Eli Zaretskii <eliz@gnu.org>
427
428 * Makefile.in (go32-nat.o): Add $(top_h) to prerequisites.
429
430 * go32-nat.c: Include top.h. Update copyright years.
431 (init_go32_ops): Override the default value of gdbinit[] with
432 "gdb.ini".
433
434 * cli/cli-cmds.c: Don't define GDBINIT_FILENAME.
435 (init_cli_cmds): Use gdbinit[] instead of a compile-time literal
436 string GDBINIT_FILENAME.
437
438 * top.c (PATH_MAX): Define if not defined.
439 (gdbinit): Declare with a constant size PATH_MAX.
440
441 * config/i386/go32.mh (XM_FILE): Remove.
442
443 * config/i386/xm-go32.h: Remove file.
444
e0ecbda1
MK
4452005-05-12 Mark Kettenis <kettenis@gnu.org>
446
d45b6f32
MK
447 * sol-thread.c: Include "solib.h".
448 (sol_thread_attach): Use solib_add instead of SOLIB_ADD.
449 * Makefile.in (sol-thread.o): Update dependencies.
450
e0ecbda1
MK
451 * NEWS: Mention OpenBSD/mips64 as a new native configuration.
452
5711a8b0
EZ
4532005-05-12 Eli Zaretskii <eliz@gnu.org>
454
455 * observer.sh (texi) [DJGPP]: If the file name includes a colon,
456 convert it to the /dev/x/ form.
457
a77053c2
MK
4582005-05-12 Mark Kettenis <kettenis@gnu.org>
459
460 * solib.h (CLEAR_SOLIB, SOLIB_ADD)
461 (SOLIB_CREATE_INFERIOR_HOOK, SOLIB_REMOVE_INFERIOR_HOOK)
462 (SOLIB_IN_DYNAMIC_LINKER, SOLIB_RESTART)
463 (DISABLE_UNSETTABLE_BREAK, PC_SOLIB)
464 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Remove defines and orphaned
465 comments.
466 * breakpoint.c: Include "solib.h".
467 (insert_bp_location) [!DISABLE_UNSETTABLE_BREAK]: Call
468 solib_address.
469 (remove_solib_event_breakpoints, create_solib_event_breakpoint)
470 (disable_breakpoints_in_shlibs)
471 (disable_breakpoints_in_unloaded_shlib)
472 (re_enable_breakpoints_in_shlibs): Compile if SOLIB_ADD isn't
473 defined. If PC_SOLIB isn't defined, call solib_address.
474 (_initialize_breakpoint): Unconditionally install observer.
475 * corelow.c: Include "solib.h".
476 [SOLIB_ADD] (solib_add_stub): Remove prototype.
477 (core_close) [!CLEAR_SOLIB]: Call clear_solib.
478 (solib_add_stub) [!SOLIB_ADD] Call solib_add.
479 (core_open): Unconditionally call solib_add_stub.
480 * fork-child.c: Include "solib.h".
481 (fork_inferior) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
482 solib_create_inferior_hook.
483 * infcmd.c: Include "solib.h".
484 (attach_command) [!SOLIB_ADD]: Call shlib_rescan. Unconditionally
485 call re_enable_breakpoints_in_shlibs.
486 * infrun.c: Include "solib.h".
487 (SOLIB_IN_SYNSYM_RESOLVE_CODE): Don't define if not already
488 defined.
489 (stop_on_solib_events, show_stop_on_solib_events): Include
490 unconditionally.
491 (follow_exec) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
492 solib_create_inferior_hook.
493 (handle_inferior_event) [!SOLIB_ADD]: Call shlib_add.
494 [!IN_SOLIB_DYNSYM_RESOLVE_CODE]: Call in_solib_dynsym_resolve_code.
495 (_initialize_infrun): Unconditionally add "stop_on_solib-events"
496 command.
497 * remote.c: Include "solib.h".
498 (remote_open_1): Unconditionally call no_shared_libraries.
499 [!SOLIB_CREATE_INFERIOR_HOOK] Call solib_create_inferior_hook.
500 * stack.c: Include "solib.h".
501 (print_frame) [!PC_SOLIB] Call shlib_for_pc.
502 * xcoffsolib.c (no_shared_libraries): Remove function.
503 * Makefile.in (SFILES): Add solib.c.
504 (ALLDEPFILES): Remove solib.c.
505 (COMMON_OBS): Add solib.o.
506 (breakpoint.o, corelow.o, fork-chiled.o, infcmd.o, infrun.o)
507 (remote.o, stack.o): Update dependencies.
508
847f5ce8
DJ
5092005-05-12 Daniel Jacobowitz <dan@codesourcery.com>
510
511 * cp-names.y: Renamed to ...
512 * cp-name-parser.y: ... this.
513 * Makefile.in (SFILES, YYFILES, YYOBJ): Rename cp-names.y to
514 cp-name-parser.y.
515 (test-cp-names.o): Renamed to test-cp-name-parser.o.
516 (test-cp-names): Renamed to test-cp-name-parser.
517 (clean, local-maintainer-clean): Update.
518 (cp-names.o): Renamed to cp-name-parser.o.
519
b41cde44
EZ
5202005-05-12 Eli Zaretskii <eliz@gnu.org>
521
15c3c5c6
EZ
522 * observer.sh: Use observer.tmp instead of observer.inc-tmp which
523 on 8+3 filesystems overwrites observer.inc. Update copyright year
524 of the resultant file.
525
358777b0
EZ
526 * gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor and
527 is_gnu_v3_mangled_ctor to avoid compiler warnings.
528
b41cde44
EZ
529 * config/djgpp/config.sed: Adapt to latest Autoconf.
530
531 * config/djgpp/djconfig.sh: Add -Wpointer-arith and
532 -Wuninitialized to the build warnings.
533
0d4fc997
EZ
5342005-05-11 Eli Zaretskii <eliz@gnu.org>
535
6791e1b1
EZ
536 * config/djgpp/fnchange.lst: Add mappings for inttypes*.m4,
537 ChangeLog-2004, reg-cris*.dat, dw2-intermix.*, semcris*-switch.c.
538 Fix mappings for hilo-hazard-?.s.
539
0d4fc997
EZ
540 * config/djgpp/README: Update GDB versions and my email address.
541
fc1a4b47
AC
5422005-05-09 Andrew Cagney <cagney@gnu.org>
543
544 Use gdb_byte in preference to bfd_byte.
545 * gdbarch.sh: Update.
546 * gdbarch.h, gdbarch.c: Re-generate.
547 * ada-lang.c, ada-lang.h, ada-valprint.c, arch-utils.c: Update.
548 * c-lang.c, c-lang.h, c-valprint.c, cp-valprint.c: Update.
549 * f-lang.c, f-lang.h, f-valprint.c, gdbcore.h, jv-lang.h: Update.
550 * jv-valprint.c, language.c, language.h, m2-lang.c: Update.
551 * m2-lang.h, m2-valprint.c, objc-lang.c, p-lang.c: Update.
552 * p-lang.h, p-valprint.c, regcache.c, scm-lang.c: Update.
553 * scm-lang.h, scm-valprint.c, target.c, target.h: Update.
554 * tramp-frame.c, valarith.c, valops.c, valprint.c: Update.
555 * valprint.h, value.c, value.h: Update.
556
8b04f8b6
MK
5572005-05-09 Mark Kettenis <kettenis@gnu.org>
558
8cc49c48
MK
559 * vaxbsd-nat.c (vaxbsd_supply_gregset, vaxbsd_collect_gregset):
560 Use `gdb_byte *' for regs.
561 * vax-tdep.c (vax_supply_gregset): Use `gdb_byte *' for regs;
562 (vax_store_arguments, vax_push_dummy_call, vax_return_value): Use
563 gdb_byte for buf.
564 (vax_breakpoint_from_pc): Change return type to `const gdb_byte
565 *'. Use gdb_byte for break_insn.
566 (vax_skip_prologue): Use gdb_byte for op.
567
8142f7cb
MK
568 * i387-tdep.c: Remove outdated comments.
569
8b04f8b6
MK
570 * defs.h: Unconditionally include <sys/types.h>.
571
979b38e0
DJ
5722005-05-08 Daniel Jacobowitz <dan@codesourcery.com>
573
574 * mips-tdep.c (mips_stub_frame_sniffer): Handle .MIPS.stubs
575 section like .plt.
576
9cedd1a6 5772005-05-08 Mark Kettenis <kettenis@gnu.org>
d8de1ef7 578
4252dc94
MK
579 * i386-linux-tdep.c (linux_sigtramp_code, linux_rt_sigtramp_code):
580 Change type to `static const gdb_byte'.
581 (i386_linux_sigtramp_start, i386_linux_rt_sigtramp_start)
582 (i386_linux_sigcontext_addr): Use gdb_byte for buf.
583 * amd64-linux-tdep.c (linux_sigtramp_code): Change type to `static
584 const gdb_byte'.
585 (amd64_linux_sigtramp_start, amd64_linux_sigcontext_addr): Use
586 gdb_byte for buf.
587 * amd64fbsd-tdep.c (amd64fbsd_supply_uthread)
588 (amd64fbsd_collect_uthread): Use gdb_byte for buf.
589
d46bfb5c
MK
590 * config/ia64/nm-aix.h: Remove file.
591
d8de1ef7
MK
592 * amd64-tdep.c (amd64_return_value): Use `gdb_byte *' in casts.
593 (amd64_push_arguments): Use gdb_byte instead of bfd_byte. Use
594 gdb_byte for buf.
595 (amd64_push_dummy_call): Use gdb_byte for buf.
596 (amd64_analyze_prologue): Use gdb_byte for proto, buf and op.
597 (amd64_frame_cache, amd64_sigtramp_frame_cache)
598 (amd64_unwind_dummy_id): Use gdb_byte for buf.
599 (amd64_supply_fxsave, amd64_collect_fxsave): Use `gdb_byte *' for
600 regs.
601 * amd64obsd-tdep.c (amd64obsd_supply_regset): Use `gdb_byte *' in
602 casts.
603 (amd64obsd_sigtramp_p): Use gdb_byte for sigreturn and `gdb_byte
604 *' for buf,
9cedd1a6 605
63c0089f
MK
606 * i386-tdep.c (i386_breakpoint_from_pc): Change return type to
607 `const gdb_byte *'. Use gdb_byte for break_insn.
608 (i386_follow_jump): Use gdb_byte for op.
609 (i386_analyze_struct_return): Use gdb_byte for proto1, proto2, buf
610 and op.
611 (i386_skip_probe): Use gdb_byte for buf and op.
612 (struct i386_insn): Use gdb_byte for insn and mask.
613 (i386_match_insn, i386_analyze_frame_setup)
614 (i386_analyze_register_saves): Use gdb_byte for op.
615 (i386_skip_prologue): Use gdb_byte for pic_pat and op;
616 (i386_unwind_pc, i386_frame_cache, i386_sigtramp_frame_cache)
617 (i386_unwind_dummy_id, i386_get_longjmp_target): Use gdb_byte for
618 buf.
619 (i386_extract_return_value, i386_store_return_value): Use
e447028c 620 `gdb_byte *' instead of `void *' for valbuf argument. Remove now
63c0089f
MK
621 redundant cast.
622 (i386_pseudo_register_read, i386_pseudo_register_write): Use
623 gdb_byte for mmx_buf.
624 (i386_register_to_value, i386_value_to_register): Use `gdb_byte *'
625 instead of `char *' for buf.
626 (i386_supply_gregset, i386_collect_gregset): Use `gdb_byte *'
627 instead of `char *' for regs.
628 (i386_svr4_sigcontext_addr): Use gdb_byte for buf.
629 * i386obsd-tdep.c (i386obsd_sigtramp_p): Use gdb_byte for
630 sigreturn and `gdb_byte *' for buf.
631 (i386obsd_aout_supply_regset): Use `const gdb_byte *' in cast.
632 (i386obsd_supply_uthread, i386obsd_collect_uthread): Use gdb_byte
633 for buf.
634 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use gdb_byte for buf.
635
b57b6c2e
MK
636 * defs.h (gdb_byte): New typedef. Tweak comments.
637
9cedd1a6
MK
638 * target.h (target_link): Remove prototype.
639 * target.c (target_link): Remove function.
640 * symfile.c: Remove comment about rombug.
641
f8736ddf
MK
6422005-05-04 Mark Kettenis <kettenis@gnu.org>
643
644 * config/i386/cygwin.mh (XM_FILE): Remove variable.
645 * config/i386/xm-cygwin.h: Remove file.
646
8bbde302
BE
6472005-05-03 Ben Elliston <bje@au.ibm.com>
648
649 * infrun.c (handle_inferior_event): Update the comment about users
650 of stepped_after_stopped_by_watchpoint.
651
079c8cd0
CV
6522005-05-02 Corinna Vinschen <vinschen@redhat.com>
653
654 * MAINTAINERS: Remove hint that sh64 doesn't build.
655 * sh64-tdep.c (sh64_push_dummy_call): Cast buf in call to write_memory.
656 (sh64_do_fp_register): make raw_buffer unsigned.
657 (sh64_do_register): Ditto.
658
5ebc08b0
MK
6592005-05-02 Mark Kettenis <kettenis@gnu.org>
660
661 * bsd-uthread.c: Include "solib.h".
662 * Makefile.in (bsd-uthread.o): Update dependencies.
663
5dbe23a3
DJ
6642005-05-01 Daniel Jacobowitz <dan@codesourcery.com>
665
666 * gdbarch.sh (deprecated_current_gdbarch_select_hack): Flush
667 cached frames when changing gdbarch.
668 * gdbarch.c: Regenerated.
669
5a168c78
AC
6702005-05-01 Andrew Cagney <cagney@gnu.org>
671
87d088f5
AC
672 * MAINTAINERS: Note that cris, m68k, mn10300, sh64, sparc and vax
673 do not build.
674
5a168c78
AC
675 * gdbarch.sh (deprecated_extract_return_value)
676 (breakpoint_from_pc, deprecated_store_return_value)
677 (memory_insert_breakpoint, memory_remove_breakpoint): Change type
678 of buffer to a bfd_byte pointer.
679 * gdbarch.h, gdbarch.c: Re-generate.
680 * mem-break.c (memory_insert_breakpoint)
681 (memory_remove_breakpoint, default_memory_insert_breakpoint)
682 (default_memory_remove_breakpoint): Update.
683 * target.h (memory_insert_breakpoint)
684 (memory_remove_breakpoint, default_memory_insert_breakpoint)
685 (default_memory_remove_breakpoint): Update declarations.
686 (struct target_ops): Update to_insert_breakpoint and
687 to_remove_breakpoint.
688 * target.c (debug_to_remove_breakpoint)
689 (debug_to_insert_breakpoint): Update.
690 * remote-m32r-sdi.c (m32r_remove_breakpoint)
691 (m32r_insert_breakpoint): Update.
692 * m32r-tdep.c (m32r_memory_insert_breakpoint)
693 (m32r_memory_remove_breakpoint): Update.
694 * remote-e7000.c (e7000_insert_breakpoint)
695 (e7000_remove_breakpoint): Update.
696 * remote-rdi.c (arm_rdi_insert_breakpoint)
697 (arm_rdi_remove_breakpoint): Update.
698 * remote-sim.c (gdbsim_insert_breakpoint)
699 (gdbsim_remove_breakpoint): Update.
700 * exec.c (ignore): Update.
701 * rs6000-tdep.c (rs6000_extract_return_value): Update.
702 * ia64-tdep.c (ia64_memory_insert_breakpoint)
703 (ia64_memory_remove_breakpoint): Update.
704 * remote-rdp.c (remote_rdp_insert_breakpoint)
705 (remote_rdp_remove_breakpoint): Update.
706
68b9939a
MK
7072005-05-01 Mark Kettenis <kettenis@gnu.org>
708
e908eab4
MK
709 * somsolib.c, somsolib.h: Remove files.
710 * Makefile.in (somsolib_h): Remove.
711 (somsolib.o): Remove dependency.
712
68b9939a
MK
713 * fbsd-nat.c: Include <sys/sysctl.h>.
714 (fbsd_pid_to_exec_file): Use KERN_PROC_PATHNAME sysctl if
715 available. Plug memory leak. Fixes PR gdb/1922.
716
66aba65d
MK
7172005-04-29 Mark Kettenis <kettenis@gnu.org>
718
719 * solist.h (TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB)
720 (TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK)
721 (TARGET_SO_SPECIAL_SYMBOL_HANDLING, TARGET_SO_CURRENT_SOS)
722 (TARGET_SO_OPEN_SYMBOL_FILE_OBJECT): Remove defines.
723 * solib.c (solib_data): New variable.
724 (solib_init, solib_ops): New functions.
725 (solib_open, solib_map_sections, free_so, update_solib_list)
726 (solib_add, clear_solib, solib_create_inferior_hook)
727 (in_solib_dynsym_resolve_code): Call architecture-dependent code
728 using solib_ops.
729 (_initialize_solib): Register SOLIB_DATA.
730
35e08e03
KB
7312005-04-29 Kevin Buettner <kevinb@redhat.com>
732
733 * frv-tdep.c (find_func_descr): Verify that entry point can be
734 found in symbol table prior to looking up its function descriptor.
735 * solib-frv.c (find_canonical_descriptor_in_load_object): Add
736 test for non-NULL link map.
737
862ba188
CV
7382005-04-29 Corinna Vinschen <vinschen@redhat.com>
739
740 * MAINTAINERS: Revert h8300 state to un-deleted.
741 * Makefile.in: Re-add h8300-tdep.o dependencies.
742 * h8300-tdep.c: Slightly rearrange type definitions and functions.
743 (struct frame_extra_info): Remove.
744 (struct h8300_frame_cache): Replace locals with differently defined
745 uses_fp member.
746 (h8300_unwind_pc): Simplify.
747 (h8300_unwind_sp): New function.
748 (h8300_unwind_dummy_id): Simplify.
749 (h8300_init_frame_cache): New function.
750 (h8300_is_argument_spill): Use reworked defines for opcode scanning.
751 (h8300_skip_prologue): Rewrite.
752 (h8300_alloc_frame_cache): Remove.
753 (h8300_analyze_frame_setup): Remove.
754 (h8300_analyze_register_saves): Remove.
755 (h8300_analyze_prologue): Rewrite.
756 (h8300_frame_cache): Use h8300_init_frame_cache instead of
757 h8300_alloc_frame_cache. Use BINWORD instead of constant 4 to
758 accomodate 16 bit mode. Fix saved_sp and register offset evaluation.
759 (h8300_frame_this_id): Correctly calculate this_id using saved stack
760 pointer instead of base.
761 (h8300_frame_prev_register): Drop needless braces.
762 (h8300_frame_base_address): New function.
763 (h8300_frame_base): New frame_base.
764 (h8300_push_dummy_call): Return correct CFA value.
765 (h8300h_extract_return_value): Fix 8 byte value handling.
766 (h8300_use_struct_convention): New function.
767 (h8300h_use_struct_convention): New function.
768 (h8300h_store_return_value): Fix 8 byte value handling.
769 (h8300_return_value): New function.
770 (h8300h_return_value): New function.
771 (h8300_extract_struct_value_address): Remove deprecated functionality.
772 (h8300_push_dummy_code): Remove.
773 (h8300_gdbarch_init): Replace set_gdbarch_extract_return_value and
774 set_gdbarch_store_return_value calls by set_gdbarch_return_value.
775 Remove calls to set_gdbarch_deprecated_fp_regnum,
776 set_gdbarch_deprecated_extract_struct_value_address,
777 set_gdbarch_deprecated_use_struct_convention and
778 set_gdbarch_push_dummy_code.
779 Add calls to set_gdbarch_unwind_sp and frame_base_set_default.
780 Slightly rearrange code.
781
3a913e29
JB
7822005-04-28 Jim Blandy <jimb@redhat.com>
783
784 * parse.c (namecopy): Change allocation conventions.
785 (namecopy_size): New variable.
786 (copy_name): Allocate namecopy using xrealloc, instead of assuming
787 it has adequate space allocated to it.
788 (parse_exp_1): Don't try to allocate space for namecopy here.
789
a955ca71
EZ
7902005-04-28 Eli Zaretskii <eliz@gnu.org>
791
792 * cli/cli-cmds.c (edit_command): If symtab->fullname is not yet
793 set, use symtab_to_fullname, instead of trying to do its job. Use
794 xstrprintf instead of malloc and sprintf.
795
46845f5e
KB
7962005-04-28 Kevin Buettner <kevinb@redhat.com>
797
798 * remote.c (init_remote_state): Eliminate use of
799 deprecated_register_bytes().
800
8929e59d
AC
8012005-04-28 Andrew Cagney <cagney@gnu.org>
802
803 * valops.c (check_field): Make buffer a bfd_byte.
804 * value.c (unpack_long, unpack_double, unpack_pointer)
805 (unpack_field_as_long, modify_field): Ditto.
806 * value.h: Update declarations.
807
cade9e54
PB
8082005-04-28 Paul Brook <paul@codesourcery.com>
809
810 * exceptions.c (print_flush): Handle NULL gdb_stdout_serial.
811
4b188b9f
MK
8122005-04-27 Mark Kettenis <kettenis@gnu.org>
813
ab576d85
MK
814 * solib-svr4.c (_initialize_svr4_solib)
815 [SVR4_FETCH_LINK_MAP_OFFSETS]: Don't set non-existent variable
816 svr4_legacy_fetch_link_map_offsets.
817
ccf00f21
MK
818 * sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function.
819 (sh_gdbarch_init): Remove redundant prototype.
820 * sh-linux-tdep.c: New file.
821 * config/sh/tm-linux.h (sh_linux_svr4_fetch_link_map_offsets):
822 Remove prototype.
823 (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define.
824 * config/sh/linux.mt (TDEPFILES): Add sh64-tdep.o, remove
825 solib-legacy.o.
826 * Makefile.in (sh-linux-tdep.o): New.
827
4b188b9f
MK
828 * solib-svr4.c: Update copyright year. Include "gdb_assert.h".
829 (SVR4_FETCH_LINK_MAP_OFFSETS): Don't define if not already
830 defined.
831 (legacy_fetch_link_map_offsets): Remove prototype.
832 (fetch_link_map_offsets_gdbarch_data): Remove.
833 (LM_ADDR, LM_NEXT, IGNORE_FIRST_LINK_MAP_ENTRY)
834 (first_link_map_member, open_symbol_file_object, svr4_current_sos)
835 (svr4_fetch_objfile_link_map): Call svr4_fetch_link_map_offsets
836 instead of SVR4_FETCH_LINK_MAP_OFFSETS.
837 (solib_svr4_data): New variable.
838 (struct solib_svr4_ops): New.
839 (solib_svr4_init): New fynction.
840 (legacy_fetch_link_map_offsets, init_fetch_link_map_offsets):
841 Remove functions.
842 (svr4_fetch_link_map_offsets, svr4_have_link_map_offsets): Rewrite
843 using the new `struct solib_svr4_ops'.
844 (_initialize_svr4_solib): Replace registration of per-architecture
845 data. Add temporary hack to set
846 svr4_legacy_fetch_link_map_offsets if SVR4_FETCH_LINK_MAP_OFFSETS
847 is set.
848 * Makefile.in (solib-svr4.o): Update dependencies.
849
4fabe3d5
MK
8502005-04-26 Mark Kettenis <kettenis@gnu.org>
851
852 * configure.tgt (*-*-freebsd*): Set gdb_osabi to
853 GDB_OSABI_FREEBSD_ELF. Partial fix for PR gdb/1922.
854
109c3e39
AC
8552005-04-26 Andrew Cagney <cagney@gnu.org>
856
857 * remote.c (remote_open_1): Move "ex"'s declaration to where it is
858 used.
859 (remote_get_thread_local_address): Use throw_error, include a
860 printed string.
861 * linux-thread-db.c (thread_db_get_thread_local_address): Ditto.
862 * dwarf2loc.c (dwarf_expr_tls_address): Ditto.
863 * cli/cli-script.c (script_from_file): Mark up throw_error message.
864 * linespec.c (symtab_from_filename, decode_variable): Ditto.
865
71fff37b
AC
8662005-04-26 Andrew Cagney <cagney@gnu.org>
867
868 Rename 'struct exception' to 'struct gdb_exception'.
869 * wrapper.c: Update.
870 * varobj.c: Update.
871 * tui/tui-interp.c: Update.
872 * remote.c: Update.
873 * mi/mi-main.c: Update.
874 * mi/mi-interp.c: Update.
875 * linux-thread-db.c: Update.
876 * interps.h: Update.
877 * interps.c: Update.
878 * exceptions.h: Update.
879 * exceptions.c: Update.
880 * dwarf2loc.c: Update.
881 * cli/cli-interp.c: Update.
882 * cli/cli-script.c: Update.
883 * breakpoint.c: Update.
884
011825f0
MM
8852005-04-25 Mark Mitchell <mark@codesourcery.com>
886
3aa6b2ca
MM
887 * event-loop.c (gdb_select): Program defensively.
888
011825f0
MM
889 * event-loop.c (gdb_assert.h): Include.
890 (<windows.h>): Include under Windows.
891 (<io.h>): Likeiwse.
892 (gdb_select): New function.
893 (gdb_wait_for_event): Use it.
894 * Makefile.in (event-loop.o): Depend on $(gdb_assert_h).
895
02a71ae8
MK
8962005-04-23 Mark Kettenis <kettenis@gnu.org>
897
898 * sparc64-tdep.c: Include "dwarf2-frame.h".
899 (sparc64_dwarf2_frame_init_reg): New function.
900 * Makefile.in (sparc64-tdep.o): Update dependencies.
901
20338726
DM
9022005-04-22 David S. Miller <davem@davemloft.net>
903
904 * sparc64-linux-tdep.c (sparc64_linux_init_abi): Add call to
905 sparc64_init_abi().
906
a07ff70c
MK
9072005-04-22 Mark Kettenis <kettenis@gnu.org>
908
909 * ser-base.c: Include "ser-base.h" instead of "ser-unix.h".
910
248697b2
MM
9112005-04-22 Mark Mitchell <mark@codesourcery.com>
912
913 * ser-base.c (<sys/time.h>): Include.
914
a33e488c
MK
9152005-04-22 Mark Kettenis <kettenis@gnu.org>
916
a86c5ab2
MK
917 * ppcobsd-tdep.c (ppcobsd_init_abi): Set return_value.
918
70f1dc74
MK
919 * sparc-linux-tdep.c: Reorder includes. Tweak a few comments.
920 (LINUX32_SIGTRAMP_INSN0, LINUX32_SIGTRAMP_INSN1)
921 (LINUX32_RT_SIGTRAMP_INSN0, LINUX32_RT_SIGTRAMP_INSN1): Remove
922 macros.
923 (sparc32_linux_sigframe, sparc32_linux_rt_sigframe): Hardcode
924 instructions.
925 * sparc64-linux-tdep.c: Reorder includes. Tweak a few comments.
926 (LINUX64_RT_SIGTRAMP_INSN0, LINUX64_RT_SIGTRAMP_INSN1): Remove
927 macros.
928 (sparc64_linux_rt_sigframe): Hardcode instructions.
929 * Makefile.in (sparc-linux-tdep.o, sparc64-linux-tdep.o): Update
930 dependencies.
931
a33e488c
MK
932 * sparc-linux-tdep.c: Update copyright year.
933 (sparc32_linux_init_abi): Set skip_trampoline_code and
934 solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size.
935 Don't set software_single_step and don't call
936 sparc32_sol2_init_abi.
937 * sparc64-linux-tdep.c: Update copyright year.
938 (sparc64_linux_init_abi): Set skip_trampoline_code and
939 solib_svr4_fetch_link_map_offsets. Set TDEP->plt_entry_size.
940 Don't set software_single_step and don't call
941 sparc64_sol2_init_abi.
942
24ec834b
EZ
9432005-04-22 Eli Zaretskii <eliz@gnu.org>
944
945 * remote-st.c (_initialize_remote_st2000): Remove the extraneous
946 "<command>" string from the call to add_com.
947
948 * remote-sim.c (_initialize_remote_sim): Ditto.
949
950 * remote-utils.c (_initialize_sr_support): Ditto.
951
952 * remote-mips.c (_initialize_remote_mips): Ditto.
953
81f726ab
DM
9542005-04-21 David S. Miller <davem@davemloft.net>
955
956 * sparc-linux-tdep.c (sparc32_linux_sigframe_init): New function.
957 (sparc32_linux_sigframe, sparc32_linux_rt_sigframe): New tramp_frames.
958 (sparc_linux_sigtramp_start, sparc32_linux_sigtramp_start,
959 sparc32_linux_rt_sigtramp_start, sparc32_linux_sigtramp_p,
960 sparc32_linux_sigtramp_frame_cache,
961 sparc32_linux_sigtramp_frame_this_id,
962 sparc32_linux_sigtramp_frame_prev_register,
963 sparc32_linux_sigtramp_frame_unwind,
964 sparc32_linux_sigtramp_frame_sniffer): Delete.
965 (sparc32_linux_init_abi): Register new tramp unwinders. Kill
966 register of old sigtramp sniffer.
967 * sparc64-linux-tdep.c (sparc64_linux_sigframe_init): New
968 function.
969 (sparc64_linux_rt_sigframe): New tramp frame.
970 (sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
971 sparc64_linux_sigtramp_frame_cache,
972 sparc64_linux_sigtramp_frame_this_id,
973 sparc64_linux_sigtramp_frame_prev_register,
974 sparc64_linux_sigtramp_frame_unwind,
975 sparc64_linux_sigtramp_frame_sniffer): Delete.
976 (sparc64_linux_init_abi): Register new tramp unwinders. Kill
977 register of old sigtramp sniffer.
978 Makefile.in (sparc64-linux-tdep.o): Update dependencies.
979 (sparc-linux-tdep.o): Likewise.
980
401e7faf
MK
9812005-04-21 Mark Kettenis <kettenis@gnu.org>
982
983 * ser-base.c: Include "gdb_string.h".
984 * Makefile.in (ser-base.o): Update dependencies.
985
78a0fd57
DM
9862005-04-20 David S. Miller <davem@davemloft.net>
987
988 * sparc-linux-tdep.c (sparc32_linux_sigtramp_p): Fix
989 signal return stub symbol names, __restore and __restore_rt are
990 the i386 symbol names not the sparc ones.
991 (sparc32_linux_sigtramp_frame_cache): Document bits/sigcontext.h
992 as where the offsets were obtained from.
993 * sparc64-linux-tdep.c (LINUX64_RT_SIGTRAMP_INSN0,
994 LINUX64_RT_SIGTRAMP_INSN1): New defines.
995 (sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
996 sparc64_linux_sigtramp_frame_cache,
997 sparc64_linux_sigtramp_frame_this_id,
998 sparc64_linux_sigtramp_frame_prev_register,
999 sparc64_linux_sigtramp_frame_sniffer): New functions.
1000 (sparc64_linux_sigtramp_frame_unwind): New frame unwinder.
1001 (sparc64_linux_init_abi): Register sigtramp frame sniffer.
1002 * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
1003
b4505029
MM
10042005-04-20 Mark Mitchell <mark@codesourcery.com>
1005
1006 * configure.ac: On MinGW, define USE_WIN32API and link with
1007 -lws2_32.
1008 * ser-tcp.c (<winsock2.h>): Include, for Windows.
1009 (ETIMEDOUT): Define, for Windows.
1010 (ioctl): Likewise.
1011 (closesocket): Define, for POSIX.
1012 (net_open): Adjust for differences in socket functions between
1013 Windows and UNIX.
1014 (net_close): Likweise.
1015 (net_read_prim): New function.
1016 (net_write_prim): Likewise.
1017 (_initialize_ser_tcp): Initialize winsock. Fill in read_prim and
1018 write_prim.
1019 * ser-unix.h (ser_unix_readcchar): Remove.
1020 (ser_unix_read_prim): Declare.
1021 (ser_unix_write_prim): Likewise.
1022 * ser-unix.c (generic_readchar): Move to ser-base.c.
1023 (ser_unix_wait_for): Likewise.
1024 (do_unix_readchar): Likewise.
1025 (ser_unix_readchar): Likewise.
1026 (_initialize_ser_hardwire): Initialize read_prim and write_prim.
1027 (ser_unix_read_prim): New function.
1028 (ser_unix_write_prim): Likewise.
1029 * ser-base.h (generic_readchar): Declare.
1030 (ser_base_readchar): Likewise.
1031 * ser-base.c (<winsock2.h>): Include, for windows.
1032 (fd_event): Use the read primitive specified by the serial
1033 interface.
1034 (ser_base_wait_for): Moved from ser-unix.c
1035 (do_ser_base_read_char): Likewise.
1036 (generic_readchar): Likewise.
1037 (ser_base_readchar): Likewise.
1038 (ser_base_write): Use the write primitive specified by the serial
1039 interface.
1040 * ser-pipe.c (_initialize_ser_pipe): Use ser_base_readchar, not
1041 ser_unix_readchar. Initialize read_prim and write_prim.
1042 * serial.c (struct serial_ops): Add read_prim and write_prim.
1043 * configure: Regenerate.
1044
8470e927
BE
10452005-04-19 Ben Elliston <bje@au.ibm.com>
1046
1047 * c-lang.c (c_create_fundamental_type): Comment fix.
1048
9cacebf5
MS
10492005-04-18 Michael Snyder <msnyder@redhat.com>
1050
1051 * mn10300-tdep.c: Assimilate code from mn10300-prologue.c.
1052 * mn10300-prologue.c: Remove.
1053 * mn10300-tdep.h: Add enums from mn10300-prologue.c.
1054 Remove prototypes.
1055 * config/mn10300/mn10300.mt: Remove mn10300-prologue module.
1056
7166c4a9
MS
10572005-04-18 Michael Snyder <msnyder@redhat.com>
1058
0cc748c0 1059 * config/mn10300/mn10300.mt: Add mn10300-prologue module.
7166c4a9
MS
1060 * ia64-tdep.c (ia64_get_dyn_info_list): Fix indent.
1061
57cd0b54
MK
10622005-04-18 Mark Kettenis <kettenis@gnu.org>
1063
235c4ffd
MK
1064 * config/nm-bsd.h: Remove file.
1065
57cd0b54
MK
1066 * hppabsd-nat.c: Update copyright year. Include "target.h" and
1067 "inf-ptrace.h".
1068 (hppabsd_fetch_registers): Renamed from fetch_inferior_registers;
1069 made static.
1070 (hppabsd_store_registers): Renamed from store_inferior_registers;
1071 made static.
1072 (_initialize_hppabsd_nat): New function and prototype.
1073 * config/pa/obsd.mh (NATDEPFILES): Remove infptrace.o and
1074 inftarg.o. Add inf-ptrace.o.
1075 (NAT_FILE): Remove.
1076 * Makefile.in (hppabsd-nat.o): Update dependencies.
1077
f17882ad
MK
10782005-04-17 Mark Kettenis <kettenis@gnu.org>
1079
1080 * pa64solib.c, pa64solib.h: Remove files.
1081 * Makefile.in (pa64solib_h): Remove variable
1082 (pa64solib.o): Remove dependency.
1083
5d6210f0
MK
10842005-04-16 Mark Kettenis <kettenis@gnu.org>
1085
65d034bc
MK
1086 * ppcobsd-nat.c: Update copyright year. Include "inf-ptrace.h".
1087 (ppcobsd_fetch_registers): Renamed from fetch_inferior_registers;
1088 made static.
1089 (ppcobsd_store_registers): Renamed from store_inferior_registers;
1090 made static.
1091 (_initialize_ppcobsd_nat): Construct and add target vector.
1092 * config/powerpc/obsd.mh (NATDEPFILES): Remove infptrace.o and
1093 inftarg.o. Add inf-ptrace.o.
1094 (NAT_FILE): Remove.
1095 * Makefile.in (ppcobsd-nat.o): Update dependencies.
1096
5a49dfd0
MK
1097 * ppcobsd-tdep.c: Include "floatformat.h".
1098 (ppcobsd_init_abi): Set long_double_bit and long_double_format.
1099 * Makefile.in (ppcobsd-tdep.o): Update dependencies.
1100
5d6210f0
MK
1101 * ppcobsd-tdep.c: Fix typo in comment.
1102 (_initialize_ppcobsd_tdep): Register GDB_OSABI_OPENBSD_ELF for
1103 bfd_arch_rs6000 too.
1104
571dd617
KB
11052005-04-15 Kevin Buettner <kevinb@redhat.com>
1106
1107 * remote.c (remote_get_thread_local_address): Throw a more
1108 meaningful exception when remote target doesn't have support
1109 for the qGetTLSAddr packet.
1110
38691318
KB
11112005-04-15 Kevin Buettner <kevinb@redhat.com>
1112
1113 * remote.c (remote_protocol_qGetTLSAddr): New static global variable.
1114 (set_remote_protocol_qGetTLSAddr_packet_cmd)
1115 (show_remote_protocol_qGetTLSAddr_packet_cmd)
1116 (remote_get_thread_local_address): New functions.
1117 (init_all_packet_configs): Initialize remote_protocol_qGetTLSAddr
1118 variable.
1119 (init_remote_ops): Initialize ``to_get_thread_local_address'' in
1120 target vector.
1121 (show_remote_cmd): Call show_remote_protocol_qGetTLS_Addr_packet_cmd().
1122 (_initialize_remote): Register the following commands:
1123 "set remote get-thread-local-storage-address-packet" and
1124 "show remote get-thread-local-address-packet".
1125
3ed07be4
KB
11262005-04-15 Kevin Buettner <kevinb@redhat.com>
1127
1128 * remote.c (add_packet_config_cmd): Delete unused variables.
1129
c9365369
KB
11302005-04-15 Kevin Buettner <kevinb@redhat.com>
1131
1132 * remote.c (show_remote_protocol_vcont_packet_cmd )
1133 (show_remote_protocol_qSymbol_packet_cmd)
1134 (show_remote_protocol_P_packet_cmd)
1135 (show_remote_protocol_Z_software_bp_packet_cmd)
1136 (show_remote_protocol_Z_hardware_bp_packet_cmd)
1137 (show_remote_protocol_Z_write_wp_packet_cmd)
1138 (show_remote_protocol_Z_read_wp_packet_cmd)
1139 (show_remote_protocol_Z_access_wp_packet_cmd)
1140 (show_remote_protocol_binary_download_cmd)
1141 (show_remote_protocol_qPart_auxv_packet_cmd)
1142 (show_remote_protocol_p_packet_cmd ): Delete calls to
1143 deprecated_show_value_hack().
1144
c30dc700
CV
11452005-04-15 Corinna VInschen <vinschen@redhat.com>
1146
1147 * MAINTAINERS: Change sh64-elf state to non-broken.
1148 * Makefile.in: Fix dependencies for sh64-tdep.o.
1149 * configure.tgt: Add sh64-*-elf case.
1150 * sh-tdep.c (sh_gdbarch_init): Reactivate bfd_mach_sh5 case.
1151 * sh64-tdep.c: Rework to replace all deprecated mechanisms with
1152 modern methods.
1153 * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o.
1154 * config/sh/sh64.mt: Resurrect.
1155
86fc41d1
KI
11562005-04-15 Kei Sakamoto <sakamoto.kei@renesas.com>
1157
1158 * regformats/reg-m32r.dat: New file.
1159
28e97307
DJ
11602005-04-14 Daniel Jacobowitz <dan@codesourcery.com>
1161
1162 * arm-tdep.c (fp_model_strings): Add terminating NULL.
1163 (arm_abi_strings, arm_abi_global, arm_abi_string): New
1164 variables.
1165 (arm_extract_return_value, arm_store_return_value): Don't use
1166 arm_get_fp_model.
1167 (arm_get_fp_model, arm_set_fp): Delete.
1168 (arm_update_current_architecture): New function.
1169 (set_fp_model_sfunc): Call arm_update_current_architecture.
1170 (show_fp_model): Update output messages.
1171 (arm_set_abi, arm_show_abi): New functions.
1172 (arm_elf_osabi_sniffer): Only handle ELFOSABI_ARM.
1173 (arm_gdbarch_init): Infer the object's ABI separately from its
1174 OSABI. Search for a matching architecture. Honor the global
1175 ABI and FPU settings. Set floating point format based on the
1176 architecture.
1177 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs):
1178 Delete.
1179 (_initialize_arm_tdep): Don't call gdbarch_register_osabi.
1180 Create "arm set abi" command.
1181 * arm-tdep.h (arm_get_fp_model): Delete prototype.
1182 (enum arm_abi_kind): New type.
1183 (struct gdbarch_tdep): Add arm_abi field.
1184 * arm-linux-tdep.c (arm_linux_init_abi): Only override
1185 tdep->fp_model if it is ARM_FLOAT_AUTO.
1186 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Likewise.
1187 (arm_netbsd_elf_init_abi): Likewise.
1188 * defs.h (enum gdb_osabi): Delete ARM-specific OSABIs.
1189 * osabi.c (gdb_osabi_name): Likewise.
1190
9494c6a5
DJ
11912005-04-11 Daniel Jacobowitz <dan@codesourcery.com>
1192
1193 * config/djgpp/fnchange.lst: Remove entries for gdb.gdbserver.
1194
bdbcb8b4
MK
11952005-04-10 Mark Kettenis <kettenis@gnu.org>
1196
1197 * rs6000-tdep.c (ppc_supply_fpregset): Increment offset by 8 for
1198 floating-point registers.
1199 (ppc_collect_fpregset): Likewise. Fix collection of registers.
1200
18b2ae85
MK
12012005-04-09 Mark Kettenis <kettenis@gnu.org>
1202
1203 * ppcobsd-tdep.c: Update copyright year. Include "trad-frame.h"
1204 and "tramp-frame.h".
1205 (ppcobsd_sigtramp_cache_init): New function.
1206 (ppcobsd_sigtramp): New variable.
1207 (ppcobsd_init_abi): Prepend signal trampoline unwinder.
1208 * Makefile.in (ppcobsd-tdep.o): Update dependencies.
1209
06e819e3
AC
12102005-04-08 Andrew Cagney <cagney@gnu.org>
1211
1212 * MAINTAINERS (GDB/MI): Andrew Cagney, Elena Zannoni, and Fernando
1213 Nasser have decided to step back from GDB/MI.
1214
6f8eac0e
DJ
12152005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
1216
1217 * config/fnchange.lst: Add testsuite/gdb.gdbserver entries.
1218
0228dfb9
DJ
12192005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
1220
1221 * dwarf2-frame.c (struct dwarf2_frame_cache): New field
1222 undefined_retaddr.
1223 (dwarf2_frame_cache): Initialize undefined_retaddr.
1224 (dwarf2_frame_this_id): Return an invalid frame ID if
1225 undefined_retaddr.
1226
21b4b2f2
JB
12272005-04-05 Jim Blandy <jimb@redhat.com>
1228
1229 Move construction of IA-32 vector types to i386-tdep.c.
1230 * gdbtypes.c (build_builtin_type_vec64i,
1231 build_builtin_type_vec128i): Delete functions.
1232 (builtin_type_vec64i, builtin_type_vec128i): Delete variables.
1233 (build_gdbtypes): Don't initialize them.
1234 (_initialize_gdbtypes): Don't register GDBARCH swap entries for
1235 them.
1236 * gdbtypes.h (builtin_type_vec64i, builtin_type_vec128i): Delete
1237 declarations.
1238 (builtin_type_v2_float, builtin_type_v2_int32,
1239 builtin_type_v4_int16, builtin_type_v8_int8,
1240 builtin_type_v2_double, builtin_type_v4_float,
1241 builtin_type_v2_int64, builtin_type_v4_int32,
1242 builtin_type_v8_int16, builtin_type_v16_int8): Add extern
1243 declarations.
1244 * i386-tdep.c (i386_mmx_type, i386_sse_type): New variables.
1245 (i386_build_mmx_type, i386_build_sse_type): New functions.
1246 (i386_register_type): Call them, rather than referring to
1247 builtin_type_vec64i and builtin_type_vec128i.
1248
37c4d197
DJ
12492005-04-02 Daniel Jacobowitz <dan@codesourcery.com>
1250
1251 * mips-linux-tdep.c (mips_linux_o32_sigframe_init): Adjust
1252 big-endian correction code to not offset 32-bit registers.
1253 Locate floating point registers correctly.
1254
7509373f
MK
12552005-04-02 Mark Kettenis <kettenis@gnu.org>
1256
1257 * main.c: Update copyright year.
02dfa7de 1258 (captured_main): Avoid using strcpy and strcat.
7509373f 1259
9b3c083c
MS
12602005-04-01 Michael Snyder <msnyder@redhat.com>
1261
0c98cc2b
MS
1262 * dummy-frame.c (dummy_frame_sniffer): Optimization: don't bother
1263 computing this_id if there are no dummy frames on the stack.
1264
1fb1ca27
MS
1265 * mn10300-tdep.c (mn10300_frame_unwind_cache): Use
1266 find_partial_func instead of unwind_pc to identify frame.
1267 (mn10300_push_dummy_call): Handle struct args, struct_return.
1268
9b3c083c
MS
1269 * mn10300-prologue.c (set_movm_offsets): Don't test variable
1270 before setting it.
1271 * mn10300-tdep.c (mn10300_skip_prologue): Use analyze_prologue
1272 instead of skip_prologue_using_sal.
1273
186993b4
KB
12742005-03-31 Kevin Buettner <kevinb@redhat.com>
1275
1276 * solib-frv.c (struct lm_info): Add new field ``lm_addr''.
1277 (main_lm_addr): New static global.
1278 (frv_current_sos): Retain the link map address for each entry.
1279 (frv_clear_solib): Clear main_lm_addr.
1280 (frv_fetch_objfile_link_map): New function.
1281 * frv-tdep.c (frv_gdbarch_init): Register TLS load module fetcher.
1282 * frv-tdep.h (frv_fetch_objfile_link_map): Declare.
1283
b2756930
KB
12842005-03-31 Kevin Buettner <kevinb@redhat.com>
1285
1286 * gdbarch.sh (fetch_tls_load_module_address): New architecture method.
1287 * gdbarch.c, gdbarch.h: Regenerate.
1288 * dwarf2loc.c (dwarf_expr_tls_address): Fetch TLS load module
1289 address and pass this address, instead of the objfile address, to
1290 target_get_thread_local_address().
1291 * linux-thread-db.c (thread_db_get_thread_local_address): Change
1292 second parameter from type ``struct objfile *'' to CORE_ADDR. Do
1293 not call svr4_fetch_objfile_link_map() to fetch the load module
1294 address.
1295 * target.h (struct target_ops): Change second parameter of
1296 ``to_get_thread_local_address'' from ``struct objfile *'' to
1297 ``CORE_ADDR''.
1298 * alpha-linux-tdep.c (solib-svr4.h): Include.
1299 (alpha_linux_init_abi): Register TLS load module fetcher.
1300 * amd64-linux-tdep.c (amd64_linux_init_abi): Likewise.
1301 * hppa-linux-tdep.c (hppa_linux_init_abi): Likewise.
1302 * i386-linux-tdep.c (i386_linux_init_abi): Likewise.
1303 * ia64-linux-tdep.c (solib-svr4.h): Include.
1304 (ia64_linux_init_abi): Register TLS load module fetcher.
1305 * m32r-linux-tdep.c (m32r_linux_init_abi): Likewise.
1306 * m68klinux-tdep.c (m68k_linux_init_abi): Likewise.
1307 * mips-linux-tdep.c (mips_linux_init_abi): Likewise.
1308 * s390-tdep.c (s390_gdbarch_init): Likewise.
1309 * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise.
1310 * sparc64-linux-tdep.c (solib-svr4.h): Include.
1311 (sparc64_linux_init_abi): Register TLS load module fetcher.
1312 * Makefile.in (alpha-linux-tdep.o, ia64-linux-tdep.o)
1313 (sparc-linux-tdep.o): Update dependencies.
1314
88750304
DJ
13152005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1316
1317 * c-valprint.c (c_value_print): Fix up some formatting. Use
1318 check_typedef.
1319
adb8a87c
DJ
13202005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1321
1322 * arm-linux-nat.c (store_register, store_regs): Handle
1323 ARM_PS_REGNUM.
1324
498b1f87
DJ
13252005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1326
1327 * arm-linux-tdep.c (arm_linux_thumb_be_breakpoint)
1328 (arm_linux_thumb_le_breakpoint): New. Update comments.
1329 (arm_linux_init_abi): Set Thumb breakpoints also.
1330
842e1f1e
DJ
13312005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1332
1333 * Makefile.in (arm-tdep.o): Update dependencies.
1334 * arm-tdep.c: Include "objfiles.h" and "dwarf2-frame.h".
1335 (arm_gdbarch_init): Register dwarf2_frame_sniffer.
1336
6d1eba4c
JB
13372005-03-28 Joel Brobecker <brobecker@adacore.com>
1338
1339 * irix5-nat.c (supply_fpregset): Fix bug that caused the FSR
1340 register value to be incorrectly written in the regcache.
1341 (fill_fpregset): Fix bug that caused the FSR register value
1342 to be incorrectly read from the regcache.
1343
fce5e386
DJ
13442005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
1345
1346 * remote-rdi.c (arm_rdi_insert_breakpoint): Don't call
1347 arm_pc_is_thumb_dummy.
1348
f700a364
MK
13492005-03-28 Mark Kettenis <kettenis@gnu.org>
1350
8391b9b1
MK
1351 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Handle
1352 StackGhost.
1353
f700a364
MK
1354 * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
1355 Handle StackGhost in 64-bit code.
1356 * sparc64-tdep.c (sparc64_frame_prev_register): Handle StackGhost.
1357
8da8e0b3
CF
13582005-03-27 Christopher Faylor <cgf@timesys.com>
1359
1360 * win32-nat.c (handle_exception): Treat win32 routines which check for
1361 valid addresses as "special" and don't stop when a SEGV is detected.
1362 (get_child_debug_event): Properly flag exception as unhandled.
1363
5e5100cb
DJ
13642005-03-26 Daniel Jacobowitz <dan@codesourcery.com>
1365
1366 * cp-support.c (cp_class_name_from_physname): Rewrite.
1367 (unqualified_name_from_comp): New function, broken out from
1368 method_name_from_physname. Correct handling for typed names
1369 and templates.
1370 (method_name_from_physname): Use unqualified_name_from_comp.
1371 (cp_func_name, remove_params): Move earlier in the file. Add
1372 better comments. Use the component tree to parse the name.
1373 (_initialize_cp_support): Remove stray whitespace.
1374
a77f4086
MK
13752005-03-26 Mark Kettenis <kettenis@gnu.org>
1376
dc6a2ca4
MK
1377 * exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ.
1378
59bb1042
MK
1379 * inflow.h: Update copyright year. Remove #ifdef SHORT_PGRP code.
1380 Callapse HAVE_TERMIO and HAVE_SGTTY.
1381
a77f4086
MK
1382 * dwarf2-frame.c (execute_cfa_program): Implement
1383 DW_CFA_GNU_window_save.
1384
4d6c7108
MK
13852005-03-25 Mark Kettenis <kettenis@gnu.org>
1386
bac6b012
MK
1387 * config/sparc/nbsd64.mh (NAT_FILE): Remove.
1388
4d6c7108
MK
1389 * config/i386/obsd64.mt (TDEPFILES): Add obsd-uthread.o.
1390
4bf7064c
DJ
13912005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
1392
1393 * arm-tdep.c (target_is_thumb, caller_is_thumb)
1394 (arm_pc_is_thumb_dummy): Remove.
1395 (arm_breakpoint_from_pc): Don't call arm_pc_is_thumb_dummy.
1396
170cd118
AG
13972005-03-25 Anthony Green <green@redhat.com>
1398
1399 * remote.c (remote_store_registers): Fix memset usage.
1400 * std-regs.c (value_of_builtin_frame_reg): Ditto.
1401 (value_of_builtin_frame_fp_reg): Ditto.
1402 (value_of_builtin_frame_reg): Ditto.
1403
3eb25fda
MM
14042005-03-25 Mark Mitchell <mark@codesourcery.com>
1405
dd5da072
MM
1406 * ser-base.c (ser_unix_write): Rename to ...
1407 (ser_base_write): ... this.
1408 (ser_unix_nop_flush_output): Rename to ...
1409 (ser_base_flush_output): ... this.
1410 (ser_unix_flush_input): Rename to ...
1411 (ser_base_flush_input): ... this.
1412 (ser_unix_nop_send_break): Rename to ...
1413 (ser_base_send_break): ... this.
1414 (ser_unix_nop_drain_output): Rename to ...
1415 (ser_base_drain_output): ... this.
1416 (ser_unix_nop_raw): Rename to ...
1417 (ser_base_raw): ... this.
1418 (ser_unix_nop_get_tty_state): Rename to ...
1419 (ser_base_set_tty_state): ... this.
1420 (ser_unix_nop_noflush_set_tty_state): Rename to ...
1421 (ser_base_noflush_set_tty_state): ... this.
1422 (ser_unix_nop_print_tty_state): Rename to ...
1423 (ser_base_print_tty_state): ... this.
1424 (ser_unix_nop_setbaudrate): Rename to ...
1425 (ser_base_setbaudrate): ... this.
1426 (ser_unix_nop_setstopbits): Rename to ...
1427 (ser_base_setstopbits): ... this.
1428 (ser_unix_async): Rename to ...
1429 (ser_base_async): ... this.
1430 * ser-base.h (ser_unix_write): Rename to ...
1431 (ser_base_write): ... this.
1432 (ser_unix_nop_flush_output): Rename to ...
1433 (ser_base_flush_output): ... this.
1434 (ser_unix_flush_input): Rename to ...
1435 (ser_base_flush_input): ... this.
1436 (ser_unix_nop_send_break): Rename to ...
1437 (ser_base_send_break): ... this.
1438 (ser_unix_nop_drain_output): Rename to ...
1439 (ser_base_drain_output): ... this.
1440 (ser_unix_nop_raw): Rename to ...
1441 (ser_base_raw): ... this.
1442 (ser_unix_nop_get_tty_state): Rename to ...
1443 (ser_base_set_tty_state): ... this.
1444 (ser_unix_nop_noflush_set_tty_state): Rename to ...
1445 (ser_base_noflush_set_tty_state): ... this.
1446 (ser_unix_nop_print_tty_state): Rename to ...
1447 (ser_base_print_tty_state): ... this.
1448 (ser_unix_nop_setbaudrate): Rename to ...
1449 (ser_base_setbaudrate): ... this.
1450 (ser_unix_nop_setstopbits): Rename to ...
1451 (ser_base_setstopbits): ... this.
1452 (ser_unix_async): Rename to ...
1453 (ser_base_async): ... this.
1454 * ser-pipe.c (_initialize_ser_pipe): Update accordingly.
1455 * ser-tcp.c (_initialize_ser_tcp): Likewise.
1456 * ser-unix.c (hardwire_flush_input): Likewise.
1457 (_initializer_ser_hardwire): Likewise.
1458
3eb25fda
MM
1459 * Makefile.in (SFILES): Add ser-base.c.
1460 (ser_base_h): New variable.
1461 (ser-base.o): New target.
1462 (ser-pipe.o): Depend on $(ser_base_h).
1463 (ser-tcp.o): Likewise.
1464 (ser-unix.o): Likewise. Do not depend on $(event_loop_h).
1465 * configure.ac (SER_HARDWIRE): Include ser-base.o where
1466 appropriate.
1467 * ser-base.c: New file.
1468 (push_event): Move from ser-unix.c.
1469 (fd_event): Likewise.
1470 (reschedule): Likewise.
1471 (ser_unix_write): Likewise.
1472 (ser_unix_nop_flush_output): Likewise.
1473 (ser_unix_flush_input): Likewise.
1474 (ser_unix_nop_send_break): Likewise.
1475 (ser_unix_nop_drain_output): Likewise.
1476 (ser_unix_nop_raw): Likewise.
1477 (ser_unix_nop_get_tty_state): Likewise.
1478 (ser_unix_nop_set_tty_state): Likewise.
1479 (ser_unix_nop_noflush_set_tty_state): Likewise.
1480 (ser_unix_nop_print_tty_state): Likewise.
1481 (ser_unix_nop_setbaudrate): Likewise.
1482 (ser_unix_nop_setstopbits): Likewise.
1483 (ser_unix_async): Likewise.
1484 * ser-base.h: New file.
1485 * ser-pipe.c (ser-base.h): Include it.
1486 * ser-tcp.c (ser-base.h): Likewise.
1487 * ser-unix.h (ser_unix_nop_flush_output): Remove.
1488 (ser_unix_flush_input): Likewise.
1489 (ser_unix_nop_send_break): Likewise.
1490 (ser_unix_nop_raw): Likewise.
1491 (ser_unix_nop_get_tty_state): Likewise.
1492 (ser_unix_nop_set_tty_state): Likewise.
1493 (ser_unix_nop_print_tty_state): Likewise.
1494 (ser_unix_nop_noflush_set_tty_state): Likewise.
1495 (ser_unix_nop_setbaudrate): Likewise.
1496 (ser_unix_nop_setstopbits): Likewise.
1497 (ser_unix_nop_drain_output): Likewise.
1498 (ser_unix_wait_for): Likewise.
1499 (ser_unix_write): Likewise.
1500 (ser_unix_async): Likewise.
1501 * ser-unix.c (event-loop.h): Do not include it.
1502 (push_event): Move to ser-base.c.
1503 (fd_event): Likewise.
1504 (reschedule): Likewise.
1505 (ser_unix_write): Likewise.
1506 (ser_unix_nop_flush_output): Likewise.
1507 (ser_unix_flush_input): Likewise.
1508 (ser_unix_nop_send_break): Likewise.
1509 (ser_unix_nop_drain_output): Likewise.
1510 (ser_unix_nop_raw): Likewise.
1511 (ser_unix_nop_get_tty_state): Likewise.
1512 (ser_unix_nop_set_tty_state): Likewise.
1513 (ser_unix_nop_noflush_set_tty_state): Likewise.
1514 (ser_unix_nop_print_tty_state): Likewise.
1515 (ser_unix_nop_setbaudrate): Likewise.
1516 (ser_unix_nop_setstopbits): Likewise.
1517 (ser_unix_async): Likewise.
1518 (ser_unix_wait_for): Make it static.
1519 * configure: Regenerated.
1520
8d5a9abc
MK
15212005-03-25 Mark Kettenis <kettenis@gnu.org>
1522
1523 * dwarf2-frame.h: Update copyrigh year.
1524 (enum dwarf2_frame_reg_rule): Add DWARF2_FRAME_REG_RA_OFFSET.
1525 * dwarf2-frame.c: Update copyright year.
1526 (struct dwarf2_frame_cache): Add member `retaddr_reg'.
1527 (dwarf2_frame_cache): Deal with DWARF2_FRAME_REG_RA_OFFSET.
1528 (dwarf2_frame_prev_register): Handle DWARF2_FRAME_REG_RA_OFFSET.
1529
b3041f52
MH
15302005-03-23 Martin Hunt <hunt@redhat.com>
1531
1532 * configure.ac: Remove -fwritable-strings from CFLAGS.
1533 * configure: Regenerate.
1534
6a069e57
MS
15352005-03-21 Michael Snyder <msnyder@redhat.com>
1536
1537 * mn10300-prologue.c (fix_frame_pointer): Delete.
1538 (set_movm_offsets) Don't return just because movm_args is
1539 zero -- still need to save pc and sp in saved_regs.
1540 (mn10300_analyze_prologue): Don't return prematurely without
1541 calling set_movm_offsets (for pc and sp at minimum).
1542
d3ea6809
MM
15432005-03-21 Mark Mitchell <mark@codesourcery.com>
1544
1545 * configure.ac (stat.st_blksize): Check for it.
1546 (getuid): Likewise.
1547 (getgid): Likewise.
1548 * configure: Regenerated.
1549 * config.in: Likewise.
1550 * remote-fileio.c (remote_fileio_to_fio_stat): Check
1551 HAVE_STRUCT_STAT_ST_BLKSIZE.
1552
d460b7f5
CF
15532005-03-21 Christopher Faylor <cgf@timesys.com>
1554
1555 * win32-nat.c (do_initial_child_stuff): Don't clear the thread list
1556 here.
1557 (do_initial_child_stuff): Move clearing of thread list to a place
1558 before a thread ould be created.
1559 (child_attach): Ditto.
1560
342ee437
MS
15612005-03-21 Michael Snyder <msnyder@redhat.com>
1562
1563 * mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr
1564 instead of pc addr for frame_id. Otherwise "until" won't work.
1565
4f0d78e0
KB
15662005-03-21 Kevin Buettner <kevinb@redhat.com>
1567
1568 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
1569 comment.
1570
80d9c592
MK
15712005-03-20 Mark Kettenis <kettenis@gnu.org>
1572
4dd04433
MK
1573 * dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
1574 * varobj.c (my_value_equal): Mark val2 as volatile.
1575
ee426e0f 1576 * cp-names.y: Add prototype for yyparse.
80d9c592 1577
96ce45ca
DJ
15782005-03-19 Daniel Jacobowitz <dan@codesourcery.com>
1579
1580 * dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
1581 * gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
1582 VALADDR.
1583
93ad78a7
KB
15842005-03-18 Kevin Buettner <kevinb@redhat.com>
1585
1586 * Makefile.in (dwarf2loc.o, linux-thread-db.o): Add dependencies.
1587 * exceptions.h (TLS_NO_LIBRARY_SUPPORT_ERROR, TLS_GENERIC_ERROR)
1588 (TLS_LOAD_MODULE_NOT_FOUND_ERROR, TLS_NOT_ALLOCATED_YET_ERROR):
1589 New error/exception enums.
1590 * dwarf2loc.c (exceptions.h): Include.
1591 (dwarf_expr_tls_address): Invoke target_get_thread_local_address()
1592 via TRY_CATCH mechanism. Print error messages for TLS related
1593 exceptions.
1594 * linux-thread-db.c (thread_db_get_thread_local_address): Throw
1595 exceptions instead of printing errors.
1596
8cf46f62
MK
15972005-03-18 Mark Kettenis <kettenis@gnu.org>
1598
1599 * utils.c (safe_strerror): Use xsnprintf instead of sprintf.
1600 (decimal2str, octal2str): Change to return a string allocated by
1601 get_cell. Use xsnprint instead of snprintf.
1602 (paddr_u, paddr_d): Adjust for changed calling convention of
1603 decimal2str.
1604 (phex, phex_nz, hex_string): Use xsnprintf instead of snprintf.
1605 (int_string): Likewise. Adjust for changed calling convention of
1606 decimal2str and octal2str.
1607
f79d2c3c
KB
16082005-03-18 Kevin Buettner <kevinb@redhat.com>
1609
1610 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
1611 Adjust incorrectly computed constant for realtime signal frame.
1612
8cf46f62 16132005-03-18 Mark Kettenis <kettenis@gnu.org>
eb308878
MK
1614
1615 From Ralf Corsepius <ralf.corsepius@rtems.org>
1616 * configure.tgt: Add m68*-*-rtems*.
1617
06648491
MK
16182005-03-17 Mark Kettenis <kettenis@gnu.org>
1619
bde2058d
MK
1620 * defs.h (xsnprintf): New prototype.
1621 * utils.c (xsnprintf): New function.
1622
3ecda457
MK
1623 * corelow.c (get_core_register_section): Replace usage of sprintf
1624 and strcpy with xstrprintf and xstrdup.
1625
06648491
MK
1626 * mips-tdep.c (mips_single_step_through_delay): Put back check for
1627 breakpoint lost with the introduction of this function.
1628
16aff9a6
PB
16292005-03-17 Paul Brook <paul@codesourcery.com>
1630
1631 * amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
1632 * s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.
1633
6d318c73
MM
16342005-03-16 Mark Mitchell <mark@codesourcery.com>
1635
ec442778
MM
1636 * event-top.c (handle_sigquit): Do not define for systems without
1637 SIGQUIT.
1638 (sigquit_token): Likewise.
1639 (async_init_signals): Allow for systems that do not
6d318c73
MM
1640 define SIGQUIT.
1641 * ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
1642
9b265ec2
MM
16432005-03-15 Mark Mitchell <mark@codesourcery.com>
1644
1645 * utils.c (internal_vproblem): Guard call to fork with
1646 HAVE_WORKING_FORK.
1647 * cli/cli-cmds.c (shell_escape): Guard call to vfork with
1648 HAVE_WORKING_VFORK and HAVE_WORKING_FORK.
1649
1650 * remote-fileo.c (remote_fileio_mode_to_host): Accomodate lack of
1651 S_IRGRP and related macros.
1652 (remote_fileio_mode_to_target): Likewise.
1653
3ae642fd
BE
16542005-03-14 Ben Elliston <bje@au.ibm.com>
1655
1656 * Makefile.in (CLIBS): Link libbfd after libopcodes, as it is a
1657 more primitive library.
1658
80d9c592 16592005-03-13 Mark Kettenis <kettenis@gnu.org>
fd0a2a6f
MK
1660
1661 * inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
1662 sprintf.
1663 * target.c (normal_pid_to_str): Likewise.
1664 * remote.c (remote_pid_to_str): Use snprint instead of sprintf.
1665 Change capitalization of "thread". Use ptid_get_pid instead of
1666 GETPID.
049742da
MK
1667
1668 * cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead of
1669 a combination of xmalloc and sprintf.
1670
ca231fcc
JB
16712005-03-13 Jim Blandy <jimb@redhat.com>
1672
1673 * configure.ac: Use '=', not '=='; the latter is a GNU extension.
1674 * configure: Regenerated.
1675
b80b83f3
MS
16762005-03-11 Michael Snyder <msnyder@redhat.com>
1677
1678 * mn10300-tdep.c (mn10300_dummy_unwind_dummy_id): Replace
1679 stub fn with real implementatin mn10300_unwind_dummy_id.
1680 (mn10300_push_dummy_call): Implement. Bare bones version,
1681 does not handle structs or floats.
1682
1f8ca57c
JB
16832005-03-11 Jim Blandy <jimb@redhat.com>
1684
a3b362c4
JB
1685 Avoid warnings due to the use of -Wuninitialized without -O.
1686 * configure.ac (build_warnings): Include -Wuninitialized only if
1687 CFLAGS is unset at configure time, or CFLAGS is set and includes
1688 some -O option other than -O0.
1689 * configure: Regenerated.
1690
1f8ca57c
JB
1691 * mips-tdep.c (show_mips_abi): Change calling conventions to match
1692 those expected by add_setshow_enum_cmd. Use 'file' argument as
1693 appropriate.
1694
fb4c6eba
DJ
16952005-03-10 Daniel Jacobowitz <dan@codesourcery.com>
1696
1697 * Makefile.in (SFILES): Add cp-names.y.
1698 (libiberty_h, safe_ctype_h): New.
1699 (YYFILES): Add cp-names.c.
1700 (YYOBJ): Add cp-names.o.
1701 (test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules.
1702 (clean): Remove test-cp-names$(EXEEXT).
1703 (local-maintainer-clean): Remove cp-names.c.
1704 * cp-names.y: New file.
1705 * cp-support.c (find_last_component): Delete.
1706 (d_left, d_right): Define.
1707 (cp_canonicalize_string, mangled_name_to_comp): New functions.
1708 (cp_class_name_from_physname, method_name_from_physname): Rewrite
1709 to use mangled_name_to_comp.
1710 * cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp)
1711 (cp_comp_to_string): New prototypes.
1712 * config/djgpp/fnchange.lst: Add cp-names.c.
1713
5b93de64
BR
17142005-03-10 Bob Rossi <bob@brasko.net>
1715
fb4c6eba 1716 * main.c (print_gdb_help): Remove the --[no]async help message.
5b93de64 1717
54433e38
MK
17182005-03-10 Mark Kettenis <kettenis@gnu.org>
1719
1720 * proc-api.c: Update copyright year.
1721 (_initialize_proc_api): Revert previous patch, removing spurious
1722 space instead.
1723
d2f0b918
JB
17242005-03-09 Joel Brobecker <brobecker@adacore.com>
1725
1726 * regcache.c: Fix typo in comment.
1727
e9274dd8
DL
17282005-03-09 David Lecomber <david@lecomber.net>
1729
1730 * proc-api.c (_initialize_proc_api): Fix invalid multi-line
1731 i18n text.
1732
5b2d44a0
MK
17332005-03-09 Mark Kettenis <kettenis@gnu.org>
1734
1735 * sparc-tdep.c (sparc_frame_cache): Adjust cached frame base
1736 address for 64-bit code.
1737 (sparc_unwind_dummy_id): Likewise.
1738 * sparc64-tdep.c (sparc64_frame_prev_register): Adjust for new
1739 frame base address convention.
1740 (sparc64_push_dummy_call): Likewise.
1741 * sparc64nbsd-tdep.c: Update copyright year.
1742 (sparc64nbsd_sigcontext_frame_cache): Adjust cached frame base
1743 address for 64-bit code.
1744 (sparc64nbsd_init_abi): Tweak comment.
1745 * sparc64obsd-tdep.c: Update copyright year.
1746 (sparc64obsd_frame_cache): Adjust cached frame base address for
1747 64-bit code.
1748 (sparc64obsd_init_abi): Tweak comment.
1749
8d19ca47 17502005-03-09 Corinna Vinschen <vinschen@redhat.com>
5b5464ad 1751
8d19ca47
CV
1752 * exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.
1753
17542005-03-09 Joel Brobecker <brobecker@adacore.com>
1755
1756 * dwarf2read.c (dwarf_decode_lines): Use the complete filename
1757 when creating include psymtabs.
5b5464ad 1758
1bf1958d
MM
17592005-03-08 Mark Mitchell <mark@codesourcery.com>
1760
1761 * environ.h (struct environ): Rename to ...
1762 (struct gdb_environ): ... this.
1763 (make_environ): Update prototype.
1764 (free_environ): Likewise.
1765 (init_environ): Likewise.
1766 (get_in_environ): Likewise.
1767 (set_in_environ): Likewise.
1768 (unset_in_environ): Likewise.
1769 (environ_vector): Likewise.
1770 * environ.c (make_environ): Replace "struct environ" with "struct
1771 gdb_environ".
1772 (free_environ): Likewise.
1773 (init_environ): Likewise.
1774 (environ_vector): Likewise.
1775 (get_in_environ): Likewise.
1776 (set_in_environ): Likewise.
1777 (unset_in_environ): Likewise.
1778 * infcmd.c (inferior_environ): Likewise.
1779 * inferior.h (inferior_environ): Likewise.
1780
f67a969f
JB
17812005-03-08 Joel Brobecker <brobecker@adacore.com>
1782
1783 * infcmd.c (run_command_1): New function, extracted from
1784 run_command.
1785 (run_command): Replace implementation by call to run_command_1.
1786 (start_command): Use run_command_1 to insert the temporary
1787 breakpoint and run the program. Remove code that's no longer
1788 needed, as already done at the proper time by run_command_1.
1789
c0501be5
DJ
17902005-03-08 Daniel Jacobowitz <dan@codesourcery.com>
1791
1792 * symfile.c (clear_symtab_users): Call
1793 clear_current_source_symtab_and_line first.
1794
549678da
NS
17952005-03-08 Nathan Sidwell <nathan@codesourcery.com>
1796
36e9969c
NS
1797 * ax-gdb.c (gen_expr): Add UNOP_PLUS case.
1798 * c-exp.y (exp): Add unary plus.
1799 * eval.c (evaluate_subexp_standard): Add UNOP_PLUS case.
1800 * valarith.c (value_x_unop): Add UNOP_PLUS case.
1801 (value_pos): New.
1802 * value.h (value_pos): Declare.
1803
3de11b2e
NS
1804 * remote.c (MIN_REMOTE_PACKET_SIZE): Set to 20.
1805 (remote_fetch_registers): Allow uppercase hex when resyncing.
1806 (remote_write_bytes): Only call get_memory_write_packet_size once.
1807 Robustify packet size calculation for very small packets. Check
1808 that at least one byte will be written.
1809
549678da
NS
1810 * tracepoint.c (target_is_remote): Allow extended-remote.
1811 (struct collection_list): Allow 256 registers, like the comment
1812 said.
1813 (add_memrange): Fix comment.
1814 (read_actions): Turn EOF into 'end'.
1815
20be272b
CV
18162005-03-08 Corinna Vinschen <vinschen@redhat.com>
1817
1818 * Makefile.in: Add dependencies for iq2000-tdep.o.
1819 * configure.tgt: Add iq2000-*-* target.
1820 * iq2000-tdep.c: New file.
1821 * config/iq2000/iq2000.mt: New file.
1822
ea53e89f
JB
18232005-03-07 Joel Brobecker <brobecker@adacore.com>
1824
1825 * doc/observer.texi (executable_changed): New observer.
1826 * symtab.c: Include "observer.h".
1827 (find_main_name): New function.
1828 (main_name): If name_of_main is unset, then compute it
1829 using find_main_name.
1830 (symtab_observer_executable_changed): New function.
1831 (_initialize_symtab): Attach executable_changed observer.
1832 * exec.c: Include "observer.h".
1833 (exec_file_attach): Emit executable_changed notification.
1834 * symfile.c: Include "observer.h".
1835 (reread_symbols): Send an executable_changed if appropriate.
1836 * Makefile.in (exec.o): Add dependency on observer.h.
1837 (symfile.o): Likewise.
1838 (symtab.o): Likewise.
1839
bb044262
DJ
18402005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
1841
1842 * findvar.c (read_var_value): Don't allocate V when it will not
1843 be used. Add missing break for LOC_INDIRECT.
1844
9e07977b
MK
18452005-03-06 Mark Kettenis <kettenis@gnu.org>
1846
1847 * sparc64fbsd-tdep.c: Include "solib-svr4.h".
1848 (sparc64fbsd_init_abi): Set skip_trampoline_code and
1849 solib_svr4_fetch_link_map_offsets.
1850 * Makefile.in (sparc64fbsd-tdep.o): Update dependencies.
1851
88d7a738 18522005-03-06 Daniel Jacobowitz <dan@codesourcery.com>
f75c00e4
DJ
1853
1854 * linux-nat.c (child_follow_fork): Call target_terminal_ours before
1855 printing output. Use fprintf_unfiltered. Only print output when
1856 debugging.
1857
e5a8e242 18582005-03-05 Mark Kettenis <kettenis@gnu.org>
e219d7ce
MK
1859
1860 * sparc64-tdep.c (sparc64_store_floating_fields): Constify third
1861 argument.
1862 (sparc64_store_arguments): Constify.
1863
dda5f19a
MK
18642005-03-05 Mark Kettenis <kettenis@gnu.org>
1865
0d6e4ad7
MK
1866 * alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h".
1867 (alphabsd_fetch_inferior_registers): Rename from
1868 fetch_inferior_registers. Make static.
1869 (alphabsd_store_inferior_registers): Rename from
1870 store_inferior_registers. Make static.
1871 (_initialize_alphabsd_nat): New function.
1872 * Makefile.in (alphabsd-nat.o): Update dependencies.
1873 * config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and
1874 inftarg.o. Add inf-ptrace.o, fbsd-nat.o and gcore.o.
1875 * config/alpha/nbsd.mh (NAT_CLIBS): Remove variable.
1876 (NATDEPFILES): Remove infptrace.o and inftarg.o. Add
1877 alphabsd-nat.o.
1878 * config/alpha/nm-fbsd.h: Update copyright year. Don't include
1879 "config/nm-bsd.h" and "elf/common.h".
1880 * config/alpha/nm-nbsd.h: Update copyright year. Don't include
1881 "config/nm-nbsd.h".
1882
dda5f19a
MK
1883 * mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
1884 software_single_step.
1885
aac71672
MS
18862005-03-04 Michael Snyder <msnyder@redhat.com>
1887
1888 * mn10300-prologue.c: New file. Prologue analysis.
1889 * mn10300-tdep.c: Move REGNUM values to mn10300-tdep.h.
1890 (mn10300_frame_unwind_cache): Don't call trad_frame_set_id
1891 until after analyze_prologue, and don't call trad_frame_set_base
1892 at all (let analyze_prologue do it).
1893
61e784e7
MS
18942005-03-04 Michael Snyder <msnyder@redhat.com>
1895
1896 * trad-frame.c (trad_frame_set_reg_value): New function.
1897 * trad-frame.h (trad_frame_set_reg_value): Export.
1898
6867ae3e
DJ
18992005-03-04 Daniel Jacobowitz <dan@codesourcery.com>
1900
1901 * Makefile.in (remote.o): Update dependencies.
1902 * remote.c: Include "observer.h".
1903
f90221d3
DJ
19042005-03-04 Daniel Jacobowitz <dan@codesourcery.com>
1905
1906 * target.c (target_read_memory_partial): Always initialize
1907 ERR.
1908 (target_write_memory_partial): Likewise.
1909
e20b4638
DJ
19102005-03-03 Daniel Jacobowitz <dan@codesourcery.com>
1911
1912 * remote.c (remote_open_1): Call observer_notify_inferior_created.
1913
909cf6ea
DJ
19142005-03-03 Daniel Jacobowitz <dan@codesourcery.com>
1915
1916 * arm-tdep.c (arm_make_stub_cache, arm_stub_this_id)
1917 (arm_stub_unwind, arm_stub_unwind_sniffer): New.
1918 (arm_gdbarch_init): Add arm_stub_unwind_sniffer.
1919
d3587048
DJ
19202005-03-02 Daniel Jacobowitz <dan@codesourcery.com>
1921
1922 * linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):
1923 Use LWP IDs.
1924
806048c6
DJ
19252005-02-28 Daniel Jacobowitz <dan@codesourcery.com>
1926
1927 * dwarf2loc.c (loclist_read_variable): Set optimized_out
1928 instead of reporting an error.
1929 * valprint.c (value_check_printable): New function.
1930 (common_val_print): New function. Use value_check_printable.
1931 (value_print): Use value_check_printable.
1932 * value.h (common_val_print): Add prototype.
1933
1934 * c-valprint.c (c_val_print): Use common_val_print.
1935 * cp-valprint.c (cp_print_value_fields): Likewise.
1936 (cp_print_hpacc_virtual_table_entries): Likewise.
1937 * f-valprint.c (f_val_print): Likewise.
1938 * jv-valprint.c (java_value_print, java_print_value_fields):
1939 Likewise.
1940 * scm-valprint.c (scm_value_print): Likewise.
1941 * stack.c (print_frame_args): Likewise.
1942 * varobj.c (c_value_of_variable): Likewise.
1943 * p-valprint.c (pascal_val_print, pascal_value_print): Likewise.
1944 (pascal_object_print_value_fields): Likewise. Update call to
1945 pascal_object_print_static_field.
1946 (pascal_object_print_static_field): Remove TYPE argument. Use
1947 common_val_print.
1948
dd373385
EZ
19492005-02-25 Mark Kettenis <kettenis@gnu.org>
1950
1951 Committed by Elena Zannoni <ezannoni@redhat.com>
1952
1953 * dwarf2read.c (dwarf2_build_psymtabs_hard): Adjust
1954 info_ptr before building psymtabs for included files.
1955 (create_all_comp_units): Initailize initial length size of
1956 compilation header to zero.
1957 (read_initial_length): Complain if both 32-bit and 64-bit DWARF
1958 sections are encountered within the same compilation header.
1959 (dwarf_decode_line_header): Pass compilation header in call to
1960 read_initial_length.
1961
920d2a44
AC
19622005-02-24 Andrew Cagney <cagney@gnu.org>
1963
1964 Add show_VARIABLE functions, update add_setshow call.
1965 * varobj.c (_initialize_varobj, show_varobjdebug): Add and update.
1966 * valprint.c (_initialize_valprint, show_print_max)
1967 (show_stop_print_at_null, show_repeat_count_threshold)
1968 (show_prettyprint_structs, show_unionprint)
1969 (show_prettyprint_arrays, show_addressprint, show_input_radix)
1970 (show_output_radix): Ditto.
1971 * valops.c (_initialize_valops, show_overload_resolution): Ditto.
1972 * utils.c (initialize_utils, show_chars_per_line)
1973 (show_lines_per_page, show_demangle, show_pagination_enabled)
1974 (show_sevenbit_strings, show_asm_demangle): Ditto
1975 * tui/tui-win.c (_initialize_tui_win, show_tui_border_kind)
1976 (show_tui_border_mode, show_tui_active_border_mode): Ditto.
1977 * top.c (init_main, show_new_async_prompt)
1978 (show_async_command_editing_p, show_write_history_p)
1979 (show_history_size, show_history_filename, show_caution)
1980 (show_annotation_level, init_main): Ditto.
1981 * target.c (initialize_targets, show_targetdebug)
1982 (show_trust_readonly): Ditto.
1983 * symfile.c (_initialize_symfile, show_symbol_reloading)
1984 (show_ext_args, show_download_write_size)
1985 (show_debug_file_directory): Ditto.
1986 * source.c (_initialize_source, show_lines_to_list): Ditto.
1987 * solib.c (_initialize_solib, show_auto_solib_add)
1988 (show_solib_search_path): Ditto.
1989 * p-valprint.c (_initialize_pascal_valprint)
1990 (show_pascal_static_field_print): Ditto.
1991 * printcmd.c (_initialize_printcmd, show_max_symbolic_offset)
1992 (show_print_symbol_filename): Add and update.
1993 * parse.c (_initialize_parse, show_expressiondebug): Dito.
1994 * observer.c (_initialize_observer, show_observer_debug): Dito.
1995 * maint.c (_initialize_maint_cmds, show_watchdog)
1996 (show_maintenance_profile_p): Dito.
1997 * linux-nat.c (_initialize_linux_nat, show_debug_linux_nat): Dito.
1998 * infrun.c (_initialize_infrun, show_debug_infrun)
1999 (show_stop_on_solib_events, show_follow_fork_mode_string)
2000 (show_scheduler_mode, show_step_stop_if_no_debug): Ditto.
2001 * infcall.c (_initialize_infcall, show_coerce_float_to_double_p)
2002 (show_unwind_on_signal_p): Ditto.
2003 * gdbtypes.c (build_gdbtypes, show_opaque_type_resolution)
2004 (_initialize_gdbtypes, show_overload_debug): Ditto.
2005 * gdb-events.c, gdb-events.sh (_initialize_gdb_events)
2006 (show_gdb_events_debug): Ditto.
2007 * gdbarch.c, gdbarch.sh (show_gdbarch_debug)
2008 (_initialize_gdbarch): Ditto.
2009 * frame.c (_initialize_frame, show_backtrace_past_main)
2010 (show_backtrace_past_entry, show_backtrace_limit)
2011 (show_frame_debug): Ditto.
2012 * exec.c (_initialize_exec, show_write_files): Ditto.
2013 * dwarf2read.c (_initialize_dwarf2_read)
2014 (show_dwarf2_max_cache_age): Ditto.
2015 * demangle.c (_initialize_demangler)
2016 (show_demangling_style_names): Ditto.
2017 * dcache.c (_initialize_dcache, show_dcache_enabled_p): Ditto.
2018 * cp-valprint.c (show_static_field_print)
2019 (_initialize_cp_valprint, show_vtblprint, show_objectprint): Ditto.
2020 * corefile.c (_initialize_core, show_gnutarget_string): Ditto.
2021 * cli/cli-logging.c (_initialize_cli_logging)
2022 (show_logging_overwrite, show_logging_redirect)
2023 (show_logging_filename): Ditto.
2024 * cli/cli-cmds.c (show_info_verbose, show_history_expansion_p)
2025 (init_cli_cmds, show_baud_rate, show_remote_debug)
2026 (show_remote_timeout, show_max_user_call_depth): Ditto.
2027 * charset.c (show_host_charset_name, show_target_charset_name)
2028 (initialize_charset): Ditto.
2029 * breakpoint.c (show_can_use_hw_watchpoints)
2030 (show_pending_break_support, _initialize_breakpoint): Ditto.
2031
2877b4cc
JB
20322005-02-23 Jim Blandy <jimb@redhat.com>
2033
2034 * disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.
2035
e9c55a7b
AC
20362005-02-23 Andrew Cagney <cagney@gnu.org>
2037
2038 * cli/cli-dump.c (dump_bfd_file): Replace magic constant with
2039 SEC_XXX flags.
2040
04ac69aa
AC
20412005-02-22 Andrew Cagney <cagney@gnu.org>
2042
2043 * configure.ac: Only enaable insight when itcl is present.
2044 * configure: Re-generate.
2045
3470a02f
AC
20462005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2047
2048 Committed by Andrew Cagney.
2049 * infptrace.c (store_register): Fix typo.
2050
b66df561
AC
20512005-02-21 Andrew Cagney <cagney@gnu.org>
2052
2053 * command.h (deprecated_add_set_cmd): Rename add_set_cmd.
2054 * cli/cli-decode.h (add_set_cmd): Delete declaration.
2055 * cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd.
2056 * i386-nat.c (_initialize_i386_nat): Update call.
2057 * valprint.c (_initialize_valprint): Update comment.
2058 * gnu-nat.c (_initialize_gnu_nat): Update call.
2059
85e3476f
AM
20602005-02-21 Alan Modra <amodra@bigpond.net.au>
2061
2062 * elfread.c (elf_symtab_read): Discard section syms.
2063
4d28ad1e
AC
20642005-02-21 Andrew Cagney <cagney@gnu.org>
2065
eefe576e
AC
2066 * cli/cli-decode.c (add_set_enum_cmd): Delete function.
2067 (deprecated_add_show_from_set): Delete function.
2068 * command.h (add_set_enum_cmd): Delete declaration.
2069 (deprecated_add_show_from_set): Delete declaration.
2070 * cli/cli-decode.h (add_set_enum_cmd): Delete declaration.
2071 (deprecated_add_show_from_set): Delete declaration.
2072 * arm-tdep.c (_initialize_arm_tdep): Update comment.
2073 * kod.c (kod_set_os): Simplify.
2074 * infrun.c (set_schedlock_func): Simplify.
2075 * cli/cli-dump.c (add_dump_command): Update comment.
2076
525226b5
AC
2077 Replace string variables with a filename completer with
2078 add_setshow_optional_filename_cmd.
2079 * solib.c, symfile.c: Update.
2080 * cli/cli-setshow.c: Do not tidle expand the file.
2081
4d28ad1e
AC
2082 Add more uses of add_setshow_string_cmd, add_setshow_integer_cmd,
2083 and add_setshow_string_noescape_cmd.
2084 * cli/cli-setshow.c (deprecated_show_value_hack): Do not print a
2085 NULL command's value.
2086 * kod.c, language.c, ocd.c, remote-e7000.c, remote-mips.c: Update.
2087 * remote-sds.c, remote.c, symfile.c, top.c: Update.
2088
942fd9fe
AC
20892005-02-20 Andrew Cagney <cagney@gnu.org>
2090
7ab04401
AC
2091 Use add_setshow_enum_cmd through out.
2092 * arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update.
2093 * infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update.
2094
78f5381d
AC
2095 * mi/mi-main.c (captured_mi_execute_command): Use
2096 mi_cmd_interpreter_exec.
2097
b4b4ac0b
AC
2098 * cli/cli-decode.c (add_setshow_optional_filename_cmd): New
2099 function.
2100 * cli/cli-setshow.c (deprecated_show_value_hack)
2101 (do_setshow_command): Handle var_optional_filename.
2102 * command.h (enum var_types): Add var_optional_filename.
2103 (add_setshow_optional_filename_cmd): Declare.
2104 * infcmd.c (notice_args_read): Use.
2105
942fd9fe
AC
2106 * symfile-mem.c (symbol_file_add_from_memory): Pass
2107 target_read_memory to bfd_elf_bfd_from_remote_memory.
2108 (do_target_read_memory): Delete.
2109
a6c442d8
MK
21102005-02-16 Mark Kettenis <kettenis@gnu.org>
2111
2112 * value.h (value_contents_equal): New prototype.
2113 * value.c (value_contents_equal): New function.
2114 * varobj.c: Include "exceptions.h" and "gdb_assert.h". Don't
2115 include <math.h>.
2116 (varobj_set_value): Initialize error to zero.
2117 (varobj_update): Rename error2 to error and initialize it to zero.
2118 Slightly change the wording of some comments.
2119 (my_value_equal): Reimplement using TRY_CATCH and
2120 value_contents_equal.
2121
5bf193a2
AC
21222005-02-18 Andrew Cagney <cagney@gnu.org>
2123
c0d88b1b
AC
2124 * cli/cli-decode.c (add_setshow_integer_cmd): New function.
2125 * command.h (add_setshow_integer_cmd): Declare.
2126 * cli/cli-cmds.c: Update.
2127
35096d9d
AC
2128 Use add_setshow_uinteger_cmd through out.
2129 * printcmd.c, source.c, utils.c, valprint.c: Update.
2130
85c07804
AC
2131 Use add_setshow_zinteger_cmd through out. Re-sync gdbarch.sh
2132 and gdbarch.c.
2133 * breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update.
2134 * gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update.
2135 * pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update.
2136 * serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update.
2137 * varobj.c, cli/cli-cmds.c: Update.
2138 * gdbarch.c, gdb-events.c: Regenerate.
2139
5bf193a2
AC
2140 Use add_setshow_boolean_command through out. Delete #ifdef 0'ed
2141 code adding set/show boolean commands.
2142 * cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
2143 * monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update.
2144 * proc-api.c, remote-mips.c, remote.c, solib.c: Update.
2145 * somsolib.c, symfile.c, top.c, utils.c, valops.c: Update.
2146 * valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update.
2147 * cli/cli-cmds.c: Update.
2148
2c5b56ce
AC
21492005-02-17 Andrew Cagney <cagney@gnu.org>
2150
f397e303
AC
2151 * cli/cli-decode.c (add_setshow_filename_cmd): Set the completer
2152 to filename_completer.
2153 * solib.c (_initialize_solib, reload_shared_libraries): Use
2154 add_setshow_filename_cmd.
2155 * serial.c (_initialize_serial): Ditto.
2156 * remote-utils.c (_initialize_sr_support): Ditto.
2157
26c41df3
AC
2158 * cli/cli-decode.c (add_setshow_string_noescape_cmd): New function.
2159 * command.h (add_setshow_string_noescape_cmd): Declare.
2160 * wince.c (_initialize_wince): Use.
2161 * symfile.c (_initialize_symfile): Use.
2162 (set_ext_lang_command): Update declaration.
2163 * corefile.c (_initialize_core): Use.
2164
2c5b56ce
AC
2165 * cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd)
2166 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
2167 (add_setshow_filename_cmd, add_setshow_string_cmd)
2168 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
2169 fprint_setshow parameter.
2170 * command.h (fprint_setshow_ftype): Delete.
2171 (add_setshow_cmd_full, add_setshow_enum_cmd)
2172 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
2173 (add_setshow_filename_cmd, add_setshow_string_cmd)
2174 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
2175 fprint_setshow parameter.
2176 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
2177 * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update.
2178 * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update.
2179 * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update
2180 * remote.c, target.c, cli/cli-logging.c: Update.
2181
08546159
AC
21822005-02-16 Andrew Cagney <cagney@gnu.org>
2183
2184 Merge setshow print and show parameters.
2185 * command.h (show_value_ftype): Define.
2186 (deprecated_show_value_hack): Declare.
2187 (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
2188 (add_setshow_boolean_cmd, add_setshow_filename_cmd)
2189 (add_setshow_string_cmd, add_setshow_uinteger_cmd)
2190 (add_setshow_zinteger_cmd): Change type of show_func to
2191 show_value_ftype.
2192 * cli/cli-decode.h (struct cmd_list_element): Replace
2193 fprint_setshow with show_value_func.
2194 * cli/cli-decode.c (add_setshow_cmd_full): Update show_func
2195 parameter. Set show_value_func. Do not set cmd_sfunc.
2196 (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
2197 (add_setshow_boolean_cmd, add_setshow_filename_cmd)
2198 (add_setshow_string_cmd, add_setshow_uinteger_cmd)
2199 (add_setshow_zinteger_cmd): Update.
2200 * complaints.c (complaints_show_value): Replace
2201 fprint_setshow_complaints.
2202 (_initialize_complaints): Update.
2203 * mips-tdep.c (show_mask_address): Update.
2204 * arm-tdep.c (show_fp_model): Update.
2205 * cli/cli-setshow.c (do_setshow_command): Call show_value_func
2206 instead of fprint_setshow. Use deprecated_show_value_hack.
2207 (deprecated_show_value_hack): New function.
2208 * remote.c (add_packet_config_cmd, show_remote_cmd):
2209 (show_remote_protocol_P_packet_cmd)
2210 (show_remote_protocol_P_packet_cmd)
2211 (show_remote_protocol_Z_access_wp_packet_cmd)
2212 (show_remote_protocol_Z_hardware_bp_packet_cmd)
2213 (show_remote_protocol_Z_packet_cmd)
2214 (show_remote_protocol_Z_read_wp_packet_cmd)
2215 (show_remote_protocol_Z_software_bp_packet_cmd)
2216 (show_remote_protocol_Z_write_wp_packet_cmd)
2217 (show_remote_protocol_binary_download_cmd)
2218 (show_remote_protocol_p_packet_cmd)
2219 (show_remote_protocol_qPart_auxv_packet_cmd)
2220 (show_remote_protocol_qSymbol_packet_cmd)
2221 (show_remote_protocol_vcont_packet_cmd): Update.
2222
1c7b1e5a
MK
22232005-02-16 Mark Kettenis <kettenis@gnu.org>
2224
2225 * wrapper.h: Update copyright year. Properly wrap a few
2226 prototypes.
2227 (struct gdb_wrapper_arguments): Remove forward declaration.
2228 * wrapper.c: Update copyright year. Include "ui-out.h".
2229 (struct gdb_wrapper_arguments): Remove.
2230 (struct captured_value_struct_elt_args): Remove.
2231 (wrapper_parse_exp_1, wrap_evaluate_expression)
2232 (wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign)
2233 (wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type)
2234 (do_captured_value_struct_elf): Remove functions.
2235 (gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy)
2236 (gdb_value_equal, gdb_value_assign, gdb_value_subscript)
2237 (gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt):
2238 Re-implement using TRY_CATCH.
2239
7124f6fb
YS
22402005-02-16 Yoshinori Sato <ysato@users.sourceforge.jp>
2241
2242 * remote-e7000.c: unuse TM_FILE defined macro.
2243 (e7000_fetch_registers)
2244 (e7000_store_registers)
2245 (e7000_wait): delete NUM_REALREGS.
2246 * remote-hms.c: move TM_FILE macro.
2247 (CCR_REGNO): move define from tm-h8300.h.
2248
55e5a6d0
MK
22492005-02-15 Mark Kettenis <kettenis@gnu.org>
2250
2251 * amd64-linux-tdep.c: Update copyright year.
a348ae87
MK
2252 (amd64_linux_sigtramp_start): Use sizeof operator instead of
2253 LINUX_SIGTRAMP_LEN.
55e5a6d0 2254
77ef991d
JB
22552004-02-15 Joel Brobecker <brobecker@gnat.com>
2256
2257 From Paul Hilfinger <hilfinger@gnat.com>
2258 * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
2259 SYMBOL_NATURAL_NAME to set type names.
2260
1bedd215
AC
22612005-02-15 Andrew Cagney <cagney@gnu.org>
2262
2263 Mark up add_com, add_info and add_prefix_cmd.
2264 * breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
2265 * exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
2266 * go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
2267 * kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
2268 * maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
2269 * ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
2270 * remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
2271 * remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
2272 * remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
2273 * sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
2274 * symfile.c, symtab.c, target.c, thread.c, top.c: Update.
2275 * tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
2276 * win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
2277 * cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
2278 * tui/tui-stack.c, tui/tui-win.c: Update.
2279
66bf4b3a
AC
22802005-02-14 Andrew Cagney <cagney@gnu.org>
2281
3f325092
AC
2282 * config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete.
2283 * config/h8300/tm-h8300.h: Delete file.
2284
1a966eab
AC
2285 Mark up add_cmd.
2286 * arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update.
2287 * cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update.
2288 * exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update.
2289 * infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update.
2290 * mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update.
2291 * reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update.
2292 * sol-thread.c, source.c, stack.c, symfile-mem.c: Update.
2293 * symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update.
2294 * win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
2295 * cli/cli-logging.c, tui/tui-regs.c: Update.
2296
7915a72c
AC
2297 Mark up add_setshow functions, replace "PRINT:" comment prefix
2298 with "FIXME: i18n:".
2299 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
2300 * cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update.
2301 * infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update.
2302 * nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update.
2303 * target.c, cli/cli-logging.c: Update.
2304
66bf4b3a
AC
2305 * utils.c (paddress): New function.
2306 * defs.h (paddress): Declare.
2307 * printcmd.c (deprecated_print_address_numeric): Rename
2308 print_address_numeric, call paddress.
2309 * valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update.
2310 * symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update.
2311 * maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update.
2312 * dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update.
2313 * corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update.
2314 * ada-valprint.c: Update.
2315
33e6b12b
RR
23162005-02-13 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
2317
2318 * MAINTAINERS: Add myself to "Write After Approval".
2319
f0bdd87d
YS
23202005-02-12 Yoshinori Sato <ysato@users.sourceforge.jp>
2321
2322 Restore h8300 support.
2323 * configure.tgt: Add h8300-*-*
ba0e80db
YS
2324 * h8300-tdep.c: New file. Rewrite new frame code.
2325 * config/h8300/h8300.mt: New file. Restored Rev 1.3
2326 * config/h8300/tm-h8300.h: New file. Restored Rev 1.21
2327
2328 * MAINTAINERS: Add myself to "Write After Approval".
f0bdd87d 2329
e2e0b3e5
AC
23302005-02-11 Andrew Cagney <cagney@gnu.org>
2331
a3f17187
AC
2332 Mark up some of printf_filtered and printf_unfiltered.
2333 * ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update.
2334 * corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update.
2335 * demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update.
2336 * event-loop.c, event-top.c, exec.c, f-valprint.c: Update.
2337 * gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update.
2338 * infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update.
2339 * linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update.
2340 * mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update.
2341 * ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update.
2342 * remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update.
2343 * stack.c, symfile.c, symmisc.c, target.c, thread.c: Update.
2344 * top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update.
2345 * cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update.
2346 * tui/tui-regs.c, tui/tui-win.c: Update.
2347
e2e0b3e5
AC
2348 Mark up error_no_arg, query, perror_with_name, complaint, and
2349 internal_error.
2350 * breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update.
2351 * cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update.
2352 * dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update.
2353 * dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update.
2354 * exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update.
2355 * frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update.
2356 * gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update.
2357 * go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update.
2358 * i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update.
2359 * i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update.
2360 * infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update.
2361 * interps.c, language.c, linespec.c, linux-nat.c: Update.
2362 * m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update.
2363 * m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update.
2364 * macrotab.c, maint.c, mdebugread.c, memattr.c: Update.
2365 * mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update.
2366 * mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update.
2367 * objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update.
2368 * parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update.
2369 * ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update.
2370 * regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update.
2371 * remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update.
2372 * remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update.
2373 * s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update.
2374 * sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update.
2375 * solib-aix5.c, solib-svr4.c, solib.c, source.c: Update.
2376 * sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update.
2377 * symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update.
2378 * utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update.
2379 * win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update.
2380 * cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update.
2381 * cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update.
2382 * mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update.
2383 * tui/tui-file.c, tui/tui-interp.c: Update.
8a3fe4f8 2384
e2e0b3e5
AC
23852005-02-10 Andrew Cagney <cagney@gnu.org>
2386
8a3fe4f8
AC
2387 Mark up all error and warning messages.
2388 * ada-lang.c, amd64-tdep.c, arch-utils.c, breakpoint.c: Update.
2389 * bsd-kvm.c, bsd-uthread.c, coff-solib.h, coffread.c: Update.
2390 * core-aout.c, core-regset.c, corefile.c, corelow.c: Update.
2391 * cp-abi.c, cp-support.c, cp-valprint.c, cris-tdep.c: Update.
2392 * dbxread.c, demangle.c, doublest.c, dsrec.c: Update.
2393 * dve3900-rom.c, dwarf2expr.c, dwarf2loc.c: Update.
2394 * dwarf2read.c, dwarfread.c, elfread.c, eval.c: Update.
2395 * event-top.c, exec.c, expprint.c, f-lang.c: Update.
2396 * f-typeprint.c, f-valprint.c, fbsd-nat.c, findvar.c: Update.
2397 * frame.c, frv-linux-tdep.c, gcore.c, gdbtypes.c: Update.
2398 * gnu-nat.c, gnu-v2-abi.c, gnu-v3-abi.c, go32-nat.c: Update.
2399 * hpacc-abi.c, hppa-hpux-nat.c, hppa-hpux-tdep.c: Update.
2400 * hppa-linux-nat.c, hppa-linux-tdep.c, hppa-tdep.c: Update.
2401 * hpread.c, hpux-thread.c, i386-linux-nat.c: Update.
2402 * i386-linux-tdep.c, i386-tdep.c, i386bsd-nat.c: Update.
2403 * i386gnu-nat.c, i387-tdep.c, ia64-linux-nat.c: Update.
2404 * ia64-tdep.c, inf-child.c, inf-ptrace.c, inf-ttrace.c: Update.
2405 * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
2406 * inftarg.c, interps.c, irix5-nat.c, jv-lang.c: Update.
2407 * kod-cisco.c, kod.c, language.c, libunwind-frame.c: Update.
2408 * linespec.c, linux-nat.c, linux-thread-db.c, m2-lang.c: Update.
2409 * m32r-rom.c, m68hc11-tdep.c, m68k-tdep.c: Update.
2410 * m68klinux-nat.c, macrocmd.c, macroexp.c, main.c: Update.
2411 * maint.c, mdebugread.c, mem-break.c, memattr.c: Update.
2412 * mips-linux-tdep.c, mips-tdep.c, mipsread.c, monitor.c: Update.
2413 * nlmread.c, nto-procfs.c, objc-lang.c, objfiles.c: Update.
2414 * observer.c, ocd.c, p-lang.c, p-typeprint.c: Update.
2415 * p-valprint.c, pa64solib.c, parse.c, ppc-linux-tdep.c: Update.
2416 * ppcnbsd-tdep.c, printcmd.c, procfs.c, remote-e7000.c: Update.
2417 * remote-fileio.c, remote-m32r-sdi.c, remote-rdi.c: Update.
2418 * remote-rdp.c, remote-sim.c, remote-st.c: Update.
2419 * remote-utils.c, remote-utils.h, remote.c: Update.
2420 * rom68k-rom.c, rs6000-nat.c, s390-tdep.c, scm-lang.c: Update.
2421 * ser-e7kpc.c, ser-tcp.c, ser-unix.c, sh-tdep.c: Update.
2422 * sh3-rom.c, shnbsd-tdep.c, sol-thread.c, solib-aix5.c: Update.
2423 * solib-frv.c, solib-irix.c, solib-osf.c, solib-pa64.c: Update.
2424 * solib-som.c, solib-sunos.c, solib-svr4.c, solib.c: Update.
2425 * somread.c, somsolib.c, source.c, stabsread.c: Update.
2426 * stack.c, std-regs.c, symfile-mem.c, symfile.c: Update.
2427 * symmisc.c, symtab.c, target.c, thread.c, top.c: Update.
2428 * tracepoint.c, trad-frame.c, typeprint.c, utils.c: Update.
2429 * uw-thread.c, valarith.c, valops.c, valprint.c: Update.
2430 * value.c, varobj.c, version.in, win32-nat.c, wince.c: Update.
2431 * xcoffread.c, xcoffsolib.c, cli/cli-cmds.c: Update.
2432 * cli/cli-decode.c, cli/cli-dump.c, cli/cli-logging.c: Update.
2433 * cli/cli-script.c, cli/cli-setshow.c, mi/mi-cmd-break.c: Update.
2434 * mi/mi-cmd-disas.c, mi/mi-cmd-env.c, mi/mi-cmd-file.c: Update.
2435 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-getopt.c: Update.
2436 * mi/mi-symbol-cmds.c, tui/tui-layout.c, tui/tui-stack.c: Update.
2437 * tui/tui-win.c: Update.
2438
3517749c
ILT
24392005-02-10 Ian Lance Taylor <ian@airs.com>
2440
2441 * MAINTAINERS: Update my e-mail address.
2442
cf309262
DJ
24432005-02-10 Daniel Jacobowitz <dan@debian.org>
2444
2445 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
2446 PR exp/1821
2447 * cp-valprint.c: Include "language.h".
2448 (cp_print_value_fields): Pass the current language to
2449 fprintf_symbol_filtered.
2450 * Makefile.in (cp-valprint.o): Update dependencies.
2451
899506a8
AC
24522005-02-10 Andrew Cagney <cagney@gnu.org>
2453
335cca0d
AC
2454 * cli/cli-decode.c (add_setshow_enum_cmd, add_setshow_cmd_full)
2455 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
2456 (add_setshow_filename_cmd, add_setshow_string_cmd)
2457 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Replace
2458 print string parameter with fprint_setshow function.
2459 * command.h (fprint_setshow_ftype): Define. Update declarations.
2460 * cli/cli-setshow.c (do_setshow_command): When fprint_setshow is
2461 available, use that.
2462 * cli/cli-decode.h (struct cmd_list_element): Add field
2463 fprint_setshow.
2464 * complaints.c (fprint_setshow_complaints): New function.
2465 (_initialize_complaints): Pass to add_setshow_zinteger_cmd.
2466 * hppa-tdep.c (_initialize_hppa_tdep): Replace "print" parameter
2467 with NULL.
2468 * mips-tdep.c (_initialize_mips_tdep): Ditto.
2469 * m32r-rom.c (_initialize_m32r_rom): Ditto.
2470 * cris-tdep.c (_initialize_cris_tdep): Ditto.
2471 * arm-tdep.c (_initialize_arm_tdep): Ditto.
2472 * remote-rdi.c (_initialize_remote_rdi): Ditto.
2473 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
2474 * dwarf2read.c (_initialize_dwarf2_read): Ditto.
2475 * frame.c (_initialize_frame): Ditto.
2476 * target.c (initialize_targets): Ditto.
2477 * maint.c (_initialize_maint_cmds): Ditto.
2478 * observer.c (_initialize_observer): Ditto.
2479 * infcall.c (_initialize_infcall): Ditto.
2480 * breakpoint.c (_initialize_breakpoint): Ditto.
2481 * cli/cli-logging.c (_initialize_cli_logging): Ditto.
2482 * remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
2483
899506a8
AC
2484 * cli/cli-setshow.c (do_setshow_command): Move code printing the
2485 value to the end of the function. Handle MI and non-MI output
2486 differently.
2487
59c58d08
AC
24882005-02-09 Andrew Cagney <cagney@gnu.org>
2489
7376b4c2
AC
2490 * cli/cli-decode.c (add_setshow_enum_cmd): Drop set_result and
2491 show_result parameters.
2492 * mips-tdep.c (_initialize_mips_tdep): Update calls.
2493 * command.h: Update declaration.
2494 * arm-tdep.c (_initialize_arm_tdep, _initialize_arm_tdep): Update
2495 calls.
2496
11dced61
AC
2497 * NEWS: Mention removed commands.
2498 * m68hc11-tdep.c (show_regs): Delete, unused.
2499 (_initialize_m68hc11_tdep): Delete deprecated "regs" command.
2500 * gdb-events.sh: Delete deprecated "set eventdebug" and "show
2501 eventdebug" commands.
2502 * gdb-events.c: Regenerate.
2503 * gdbarch.sh: Delete deprecated "set archdebug" and "show
2504 archdebug" commands.
2505 * gdbarch.c: Regenerate.
2506 * cli/cli-cmds.c (init_cli_cmds): Delete deprecated "set
2507 remotedebug" and "show remotedebug".
2508 * arm-tdep.c (_initialize_arm_tdep): Delete deprecated "set arm
2509 disassembly-flavor", "show arm disassembly-flavor", and
2510 "othernames" commands.
2511 (arm_othernames): Delete unused function.
2512
b6e1c027
AC
2513 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call)
2514 (convert_code_addr_to_desc_addr): Convert any function code
2515 address to the corresponding function's descriptor.
2516 (ppc64_sysv_abi_return_value): have TYPE_CODE_ENUM and
2517 TYPE_CODE_INT use the same code paths as TYPE_CODE_INT. When
2518 writing, convert any function code address to the corresponding
2519 descriptor.
2520
59c58d08
AC
2521 * config/sh/linux.mt (TDEPFILES): Add symfile-mem.o.
2522 * config/powerpc/linux.mt (TDEPFILES): Ditto.
2523 * config/pa/linux.mt (TDEPFILES): Ditto.
2524 * config/mips/linux.mt (TDEPFILES): Ditto.
2525 * config/m68k/linux.mt (TDEPFILES): Ditto.
2526 * config/m32r/linux.mt (TDEPFILES): Ditto.
2527 * config/ia64/linux.mt (TDEPFILES): Ditto.
2528 * config/arm/linux.mt (TDEPFILES): Ditto.
2529
b6e1c027
AC
25302005-02-09 Corinna Vinschen <vinschen@redhat.com>
2531
2532 * symmisc.c: Include gdb_stat.h.
2533 (maintenance_print_msymbols): Use inode numbers to compare files.
2534
91294c83
AC
25352005-02-08 Andrew Cagney <cagney@gnu.org>
2536
d3cbe7ef
AC
2537 * value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
2538 (METHOD_PTR_TO_VOFFSET): Move from here ...
2539 * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
2540 (METHOD_PTR_TO_VOFFSET): ... to here.
2541 * cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h".
2542 * Makefile.in: Update dependencies.
2543
6941d02a
AC
2544 * exceptions.c: Do not include <setjmp.h>.
2545 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Delete macros.
2546 (catch_exception, catch_exceptions_with_msg, catch_errors)
2547 (catch_command_errors): Use TRY_CATCH.
2548 (struct catcher): Use EXCEPTIONS_SIGJMP_BUF.
2549 (exceptions_state_mc_init): Rename catcher_init.
2550 (exceptions_state_mc): Rename catcher_state_machine.
2551 (exceptions_state_mc_action_iter)
2552 (exceptions_state_mc_action_iter_1): New functions.
2553 * exceptions.h: Include <setjmp.h>.
2554 (EXCEPTIONS_SIGJMP_BUF, EXCEPTIONS_SIGSETJMP)
2555 (EXCEPTIONS_SIGLONGJMP): Define.
2556 (exceptions_state_mc_init, exceptions_state_mc_action_iter)
2557 (exceptions_state_mc_action_iter_1): Declare.
2558 (TRY_CATCH): Define.
2559
179f02be
AC
2560 * ppc-linux-tdep.c (ppc_linux_init_abi): Do not set malloc name,
2561 no longer needed.
2562
8f135812
AC
2563 * ppc-linux-nat.c (ppc_register_u_addr): Hack around 64-bit
2564 PT_FPSCR breakage.
2565
91294c83
AC
2566 * value.c (struct value): Move to here ...
2567 * value.h (struct value): ... from here. Copy comments to
2568 corresponding function declarations, re-order.
2569
dfa52d88
AC
25702005-02-07 Andrew Cagney <cagney@gnu.org>
2571
9bbda503
AC
2572 * value.c (set_value_bitpos, set_value_bitsize): Define.
2573 * value.h (set_value_bitpos, set_value_bitsize): Declare.
2574 * ada-lang.c, valarith.c: Update.
2575
5086187c
AC
2576 * cp-valprint.c, c-valprint.c, infcall.c: Use value_contents or
2577 value_contents_writeable, include note that there are problems.
2578 * breakpoint.c, infcall.c: Use VALUE_LVAL.
2579
f5cf64a7
AC
2580 * value.h (set_value_offset): Declare.
2581 * value.c (set_value_offset): Declare.
2582 * gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update.
2583 * findvar.c: Update.
2584
17cf0ecd
AC
2585 * value.h (value_next): Declare.
2586 * value.c (value_next): Define.
2587 * breakpoint.c: Update.
2588
88e3b34b
AC
2589 * value.h (deprecated_set_value_modifiable)
2590 (deprecated_value_modifiable): Declare.
2591 * value.c (deprecated_set_value_modifiable): Define.
2592 (deprecated_value_modifiable): Define.
2593 * ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update.
2594
04624583
AC
2595 * value.h (deprecated_set_value_type): Declare.
2596 * value.c (deprecated_set_value_type): Define.
2597 * hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update.
2598 * c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update.
2599 * infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update.
2600 * ax-gdb.c, tracepoint.c: Update.
2601
13bb5560
AC
2602 * value.h (deprecated_value_lval_hack)
2603 (deprecated_value_address_hack)
7d71e29c 2604 (deprecated_value_internalvar_hack)
13bb5560
AC
2605 (deprecated_value_regnum_hack): Declare.
2606 (VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR)
2607 (VALUE_FRAME_ID, VALUE_REGNUM): Use.
2608 * value.c (deprecated_value_lval_hack)
2609 (deprecated_value_address_hack)
7d71e29c 2610 (deprecated_value_internalvar_hack)
13bb5560
AC
2611 (deprecated_value_regnum_hack): Define.
2612
b44d461b
AC
2613 * value.h (VALUE_POINTED_TO_OFFSET): Delete.
2614 (set_value_pointed_to_offset, value_pointed_to_offset): Declare.
2615 * value.c (set_value_pointed_to_offset): Define
2616 (value_pointed_to_offset): Define.
2617 * valops.c: Update.
2618
caadb61d
AC
2619 * value.h (VALUE_EMBEDDED_OFFSET): Delete.
2620 (value_embedded_offset, set_value_embedded_offset): Declare.
13c3b5f5 2621 * value.c (value_embedded_offset): Define.
caadb61d 2622 (set_value_embedded_offset): Define.
13c3b5f5
AC
2623 * valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
2624 * gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
2625 * cp-abi.h: Update.
2626
dfa52d88
AC
2627 * value.h (VALUE_LAZY): Delete
2628 (set_value_lazy): Declare.
2629 * value.c (set_value_lazy): Define.
2630 * valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
2631 * gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.
2632
0fd88904
AC
26332005-02-06 Andrew Cagney <cagney@gnu.org>
2634
feb13ab0
AC
2635 * value.h (VALUE_OPTIMIZED_OUT): Delete.
2636 (value_optimized_out, set_value_optimized_out): Declare.
2637 * value.c (set_value_optimized_out, value_optimized_out): Define.
2638 * valprint.c, findvar.c, dwarf2loc.c: Update.
2639
0fd88904
AC
2640 * value.c (value_contents, value_contents_writeable): New
2641 functions.
2642 * value.h (VALUE_CONTENTS): Delete macro.
2643 (value_contents, value_contents_writeable): Declare.
2644 * xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
2645 * stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
2646 * sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
2647 * rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
2648 * ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
2649 * m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
2650 * jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
2651 * hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
2652 * c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
2653 * cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
2654 * arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
2655 * ada-valprint.c, ada-lang.c: Update.
2656
5b90c7b5
AC
26572005-02-03 Andrew Cagney <cagney@gnu.org>
2658
2659 * utils.c (xzalloc): New function.
2660 * defs.h (XZALLOC): Use xzalloc.
2661 (xzalloc): Declare.
2662 * value.c (allocate_value): Allocate a zeroed buffer.
2663 * mdebugread.c (xzalloc): Delete.
2664
4754a64e
AC
26652005-02-02 Andrew Cagney <cagney@gnu.org>
2666
d69fe07e
AC
2667 * value.h (value_lazy): Declare.
2668 * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
2669 * cp-valprint.c, breakpoint.c, ada-lang.c: Update.
2670
46615f07
AC
2671 * value.h (VALUE_CONTENTS_ALL): Delete.
2672 (value_contents_all): Declare.
2673 * value.c (value_contents_all): New function.
2674 * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
2675 * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
2676
4754a64e
AC
2677 * value.c (value_enclosing_type): New function.
2678 * value.h (VALUE_ENCLOSING_TYPE): Delete.
2679 (value_enclosing_type): Declare.
2680 * xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
2681 * gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.
2682
990a07ab
AC
2683 * value.c (value_contents_all_raw)
2684 (value_contents_raw): New functions.
2685 * value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
2686 (value_contents_raw, value_contents_all_raw): Declare functions.
2687 (VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
2688 * std-regs.c, valarith.c, valops.c, eval.c: Update.
2689 * tracepoint.c, findvar.c: Update.
2690
ff2c3e5d
OF
26912005-02-01 Orjan Friberg <orjanf@axis.com>
2692
2693 * regformats/reg-cris.dat: New file with register definitions for CRIS.
2694 * regformats/reg-crisv32.dat: Ditto for CRISv32.
2695
c46f8c51
AC
26962005-01-31 Andrew Cagney <cagney@gnu.org>
2697
2698 * configure: Regenerate to track ../gettext.m4.
2699
a80493b8
BI
27002005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
2701
2702 * MAINTAINERS: Add myself to "Write After Approval".
2703
3d263c1d
BI
2704 * ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
2705 * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
2706 * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
2707
c21a4eee
MK
27082005-01-29 Mark Kettenis <kettenis@gnu.org>
2709
2710 * configure.ac: Remove extra check for ranlib.
2711 * configure: Regenerated.
2712
108d6ead
AC
27132005-01-28 Andrew Cagney <cagney@gnu.org>
2714
a2bd3dcd
AC
2715 * language.h (struct language_defn): Make la_val_print's buffer
2716 parameter a const bfd_byte.
2717 * cp-valprint.c (cp_print_value_fields, cp_print_value): Update.
2718 * ada-lang.c (ada_aligned_value_addr)
2719 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
2720 * valprint.c (val_print_array_elements): Update.
2721 * valprint.h (val_print_array_elements): Update.
2722 * ada-lang.h (ada_val_print, ada_aligned_value_addr)
2723 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
2724 * ada-valprint.c (ada_val_print, struct ada_val_print_args)
2725 (ada_val_print_1, ada_print_floating, printable_val_type)
2726 (print_record, val_print_packed_array_elements)
2727 (print_field_values, print_variant_part): Update.
2728 * c-lang.h (c_val_print, cp_print_value_fields): Update.
2729 * c-valprint.c (c_val_print): Update.
2730 * f-lang.h (f_val_print): Update.
2731 * f-valprint.c (f_val_print, f77_print_array_1)
2732 (f77_print_array): Update.
2733 * jv-lang.h (java_val_print): Update.
2734 * jv-valprint.c (java_print_value_fields, java_val_print): Update.
2735 * language.c (unk_lang_val_print): Update.
2736 * m2-lang.h (m2_val_print): Update.
2737 * m2-valprint.c (m2_val_print): Update.
2738 * p-lang.h (pascal_val_print): Update.
2739 (pascal_object_print_value_fields): Update.
2740 * p-valprint.c (pascal_val_print)
2741 (pascal_object_print_value_fields, pascal_object_print_value)
2742 (pascal_object_print_value): Update.
2743 * scm-lang.h (scm_val_print): Update.
2744 * scm-valprint.c (scm_val_print): Update.
2745 * value.h (val_print): Update.
2746
5bcca90b
AC
2747 * p-lang.h (pascal_object_print_class_member)
2748 (pascal_object_print_class_method): Make buffer a const bfd_byte.
2749 * p-valprint.c (pascal_object_print_class_method)
2750 (pascal_object_print_class_method): Ditto.
2751
ce27fb25
AC
2752 * language.h (struct language_defn): Make la_printstr's buffer
2753 parameter a const bfd_byte.
2754 * p-lang.h (pascal_printstr): Update function to match.
2755 * ada-valprint.c (ada_printstr): Update function to match.
2756 * scm-lang.c (scm_printstr): Update function to match.
2757 * p-lang.c (pascal_printstr): Update function to match.
2758 * ada-lang.h (ada_printstr): Update function to match.
2759 * m2-lang.c (m2_printstr): Update function to match.
2760 * objc-lang.c (objc_printstr): Update function to match.
2761 * c-lang.h (c_printstr): Update function to match.
2762 * f-lang.c (f_printstr): Update function to match.
2763 * c-lang.c (c_printstr): Update function to match.
2764 * language.c (unk_lang_printstr): Update function to match.
2765
5f547748
AC
2766 * valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
2767 * valprint.h (val_print_type_code_int): Ditto.
2768
bbb4b9db
AC
2769 * objc-lang.h (c_val_print, c_value_print): Delete declarations.
2770
9519ccd5
AC
2771 * cp-valprint.c (cp_print_class_method)
2772 (cp_print_class_member): Make buffer a const bfd_byte.
2773 * c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.
2774
10a2c479
AC
2775 * ada-lang.c (value_from_contents_and_address)
2776 (to_record_with_fixed_variant_part)
2777 (value_tag_from_contents_and_address, ada_to_fixed_type)
2778 (to_fixed_variant_branch_type, to_fixed_record_type)
2779 (ada_template_to_fixed_record_type, cond_offset_host)
2780 (ada_template_to_fixed_record_type_1): Make buffer a const
2781 bfd_byte.
2782 * ada-lang.h (ada_template_to_fixed_record_type_1)
2783 (value_from_contents_and_address, ada_to_fixed_type): Ditto.
2784
d56612af
AC
2785 * ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte.
2786
366b1cbf 2787 * gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.
d56612af 2788 * printcmd.c (print_scalar_formatted): Update.
366b1cbf 2789
c84141d6
AC
2790 * value.h (value_bit_index, print_floating)
2791 (find_rt_vbase_offset): Make buffer a const bfd_byte.
2792 * valprint.c (print_floating): Update.
2793 * valarith.c (value_bit_index): Update.
2794 * valops.c (find_rt_vbase_offset): Update.
2795
6c403953
AC
2796 * valprint.h (print_octal_chars, print_char_chars)
2797 (print_hex_chars, print_decimal_chars, print_binary_chars): Make
2798 buffer a const bfd_byte.
2799 * valprint.c (print_binary_chars, print_octal_chars)
2800 (print_decimal_chars, print_hex_chars, print_char_chars): Make
2801 "valaddr"buffer a const bfd_byte, ditto for local variables
2802 referencing that buffer.
2803
a8d6eb4a
AC
2804 * m2-valprint.c: Include "c-lang.h".
2805 (c_val_print): Delete extern declaration.
2806 * scm-valprint.c: Include "c-lang.h".
2807 (c_val_print): Delete extern declaration.
2808 Makefile.in: Update dependencies.
2809
06c4d4dc
AC
2810 * gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
2811 bfd_byte.
2812 * cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
2813 (struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
2814 bfd_byte.
2815 * cp-abi.c (baseclass_offset): Update.
2816 * gnu-v2-abi.c (gnuv2_baseclass_offset): Update.
2817
6b08edad
AC
2818 * gnu-v2-abi.h: New file.
2819 * gnu-v2-abi.c: Include "gnu-v2-abi.h".
2820 (gnuv2_baseclass_offset): Delete declaration.
2821 * hpacc-abi.c: Include "gnu-v2-abi.h".
2822 (gnuv2_baseclass_offset): Delete extern declaration.
2823 * Makefile.in: Update dependencies.
2824
108d6ead
AC
2825 * doublest.c (floatformat_is_negative, floatformat_is_nan)
2826 (floatformat_mantissa, get_field): Make the buffer a const
2827 bfd_byte, simplify.
2828
a53bf506
AC
28292005-01-27 Andrew Cagney <cagney@gnu.org>
2830
8cc2524a
AC
2831 * value.h (struct value): Change type of contents to bfd_byte.
2832 (VALUE_CONTENTS_RAW): Simplify.
2833
79dd2d24
AC
2834 * gdbarch.sh (integer_to_address): Change buf parameter to a const
2835 bfd_byte, make pure-multi-arch.
2836 * gdbarch.h, gdbarch.c: Regenerate.
2837 * mips-tdep.c (mips_integer_to_address): Update.
2838 * value.c (value_as_address): Update.
2839
c26b8e3b
AC
2840 * cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
2841 * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
2842 parameters const, change buf to a const bfd_byte.
2843 (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
2844 parameters const.
2845
10e2d419
AC
2846 * corefile.c (write_memory): Update, make a copy of the read-only
2847 buffer.
2848 * target.c (target_read_memory): Update.
2849 (target_write_memory): Update, make a copy of the read-only
2850 buffer.
2851 * gdbcore.h (write_memory): Change buffer type to bfd_byte, make
2852 const.
2853 * target.h (target_read_memory, target_write_memory): Change
2854 buffer type to bfd_byte; for write_memory, make it const.
2855 * symfile-mem.c (do_target_read_memory): New function.
2856 (symbol_file_add_from_memory): Pass do_target_read_memory to
2857 bfd_elf_bfd_from_remote_memory.
2858
89f5065b
AC
2859 * value.h: Indent using gdb_indent.sh.
2860
a53bf506
AC
2861 * configure: Regenerate to track ../gettext.m4 change.
2862
c44ca51c
AC
28632005-01-26 Andrew Cagney <cagney@gnu.org>
2864
2865 * rs6000-tdep.c: Include "reggroups.h".
2866 (rs6000_gdbarch_init): Set register_reggroup_p.
2867 (rs6000_register_reggroup_p): New function.
2868
c600d464
OF
28692005-01-26 Orjan Friberg <orjanf@axis.com>
2870
2871 * cris-tdep.c (enum cris_num_regs, enum cris_regnums)
2872 (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
2873 CRISv32.
2874 (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
2875 (cris_region_ok_for_watchpoint, cris_stopped_data_address)
2876 (crisv32_cannot_fetch_register, crisv32_cannot_store_register)
2877 (crisv32_register_type, cris_special_register_name)
2878 (crisv32_register_name): New functions.
2879 (cris_spec_reg_applicable): Recognize more versions.
2880 (cris_register_name): Update with call to cris_special_register_name.
2881 (find_cris_op): Filter out CRISv32 instructions. Tweaked comment and
2882 warning when unable to find step target.
2883 (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
2884 (supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for
2885 CRISv32.
2886 (fetch_core_registers): Update for CRISv32.
2887 (cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
2888 register_name, cannot_store_register, cannot_fetch_register,
2889 have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
2890
82c94ed0
NR
28912005-01-26 Nick Roberts <nickrob@snap.net.nz>
2892
2893 * interps.c (interpreter_exec_cmd): Use condition,
2894 e.reason < 0, to raise an error.
2895
0598a43c
AC
28962005-01-25 Andrew Cagney <cagney@gnu.org>
2897
a8f60bfc
AC
2898 * ppc-linux-tdep.c: Include "tramp-frame.h"
2899 (struct ppc_linux_sigtramp_cache)
2900 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
2901 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
2902 (ppc_linux_sigtramp_cache): Delete.
2903 (ppc32_linux_sigaction_cache_init)
2904 (ppc64_linux_sigaction_cache_init)
2905 (ppc32_linux_sighandler_cache_init)
2906 (ppc64_linux_sighandler_cache_init)
2907 (ppc32_linux_sigaction_tramp_frame)
2908 (ppc64_linux_sigaction_tramp_frame)
2909 (ppc32_linux_sighandler_tramp_frame)
2910 (ppc64_linux_sighandler_tramp_frame)
2911 (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
2912 64-bit, sigaction and siginfo tramp-frame unwinders.
2913
0598a43c
AC
2914 * ppc-linux-tdep.c (ppc_linux_init_abi): Always set
2915 long_double_bit to 8.
2916
9d799f85
AC
29172005-01-24 Andrew Cagney <cagney@gnu.org>
2918
2919 * infrun.c (handle_inferior_event): Handle back-to-back and nested
2920 signals where the step_resume_breakpoint may have already been
2921 inserted.
2922
45181ed1
AC
29232005-01-24 Andrew Cagney <cagney@gnu.org>
2924
2925 * configure: Regenerate, ../gettext.m4 was updated.
2926
a28109e0
MK
29272005-01-23 Mark Kettenis <kettenis@gnu.org>
2928
6fe85783
MK
2929 * NEWS: Mention new BSD user-level threads support.
2930
a28109e0
MK
2931 * i386obsd-tdep.c: Update copyright year. Include
2932 "bsd-uthread.h".
2933 (i386obsd_uthread_reg_offset): New variable.
2934 (I386OBSD_UTHREAD_ESP_OFFSET): New define.
2935 (i386obsd_supply_uthread, i386obsd_collect_uthread): New
2936 functions.
2937 (i386obsd_init_abi): Set supply_uthread and collect_uthread.
2938 * Makefile.in (i386obsd-tdep.o): Update dependencies.
2939 * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
2940
059198c1
CF
29412005-01-23 Christopher Faylor <cgf@timesys.com>
2942
2943 * win32-nat.c: Update copyright year.
2944 (child_init_thread_list): Set thread linked list point to NULL so that
2945 it won't be reused after clearing.
2946
5c45e068
MK
29472005-01-21 Mark Kettenis <kettenis@gnu.org>
2948
2949 * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
2950 undefs.
2951 * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
2952 thread' has a td_pcb member and whether `struct reg' has r_fs and
2953 r_gs members.
2954 * configure, config.in: Regenerate.
2955
666ec76f
MK
29562005-01-21 Mark Kettenis <kettenis@gnu.org>
2957
b8667b61
MK
2958 * configure.ac: Remove ia64-*-aix* junk.
2959 * configure: Regenerate.
2960
a3828db0
MK
2961 * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
2962 and BFD_NEED_DECLARATION. Don't check if a declaration of strdup
2963 is necessary.
2964 * configure, config.in: Regenerate.
2965 * utils.c: Adjust for usage of AC_CHECK_DECLS instead of
2966 BFD_NEED_DECLARATION. Never provide a prototype for
2967 caninicalize_file_name.
2968 * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
2969 BFD_NEED_DECLARATION.
2970
666ec76f
MK
2971 * configure.ac (targ_archs): Use standard autoconf check for
2972 "struct stat.st_blocks" instead of rolling our own.
2973 * configure: Regenerated.
2974 * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
2975 * config.in: Regenerated.
2976
bc8bcb4b
MK
29772005-01-21 Mark Kettenis <kettenis@gnu.org>
2978
2979 * configure.ac: Modernize checks for `long long' and `long double'
2980 support.
2981 * configure: Regenerated.
2982 * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
2983 (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
2984 * config.in: Regenerated.
2985
30adeb3a
MK
29862005-01-20 Mark Kettenis <kettenis@gnu.org>
2987
2988 * acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
2989 (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
2990 * configure.ac: Remove checks for HP-UX save_state structure.
2991 * configure: Regenerated.
2992
e06e2353
AC
29932005-01-19 Andrew Cagney <cagney@gnu.org>
2994
2995 * utils.c (quit): Simplify, call fatal.
2996 * exceptions.c: Include "serial.h"
2997 (print_flush): Mimic flush code found in utils.c:quit.
2998 * Makefile.in: Update dependencies.
2999
1c44323f
JB
30002005-01-19 Jim Blandy <jimb@redhat.com>
3001
065a1afc
JB
3002 * configure.tgt: Set build_rdi_share to "yes" on those targets
3003 that use that debugging protocol.
3004 Set build_nlm to yes to build NLM stub for Netware targets.
3005 * configure.ac: If build_rdi_share is "yes", then configure the
3006 rdi-share subdirectory.
3007 If build_nlm is "yes", the configure the "nlm" subdirectory.
3008 * configure: Regenerated.
3009
1c44323f
JB
3010 * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
3011 autoconf 2.59 and automake 1.9.3.
3012
8a9de0e4
AC
30132005-01-19 Andrew Cagney <cagney@gnu.org>
3014
315a522e
AC
3015 * exceptions.h (deprecated_throw_reason): Rename throw_reason.
3016 * exceptions.c (deprecated_throw_reason): Rename throw_reason.
3017 * utils.c (internal_verror, quit): Update.
3018 * remote-sds.c (interrupt_query): Update.
3019 * remote-mips.c (mips_error, mips_kill): Update.
3020 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
3021 * remote.c (interrupt_query): Update.
3022 * ocd.c (interrupt_query): Update.
3023 * nto-procfs.c (interrupt_query): Update.
3024 * monitor.c (monitor_interrupt_query): Update.
3025 * breakpoint.c (break_command_1): Update.
3026
8a9de0e4
AC
3027 * infrun.c: (resume, proceed, wait_for_inferior)
3028 (handle_inferior_event, stop_stepping)
3029 (prepare_to_wait): Write debug output to gdb_stdlog.
3030
53283f86
MK
30312005-01-19 Mark Kettenis <kettenis@gnu.org>
3032
3033 * inf-ptrace.c (inf_ptrace_prepare_to_store)
3034 (inf_ptrace_post_startup_inferior)
3035 (inf_ptrace_acknowledge_created_inferior)
3036 (inf_ptrace_insert_fork_catchpoint)
3037 (inf_ptrace_remove_fork_catchpoint)
3038 (inf_ptrace_insert_vfork_catchpoint):
3039 (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
3040 (inf_ptrace_insert_exec_catchpoint)
3041 (inf_ptrace_remove_exec_catchpoint): Remove functions.
3042 (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
3043 (inf_ptrace_target): Don't set to_prepare_to_store,
3044 to_post_startup_inferior, to_acknowledge_created_inferior,
3045 to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
3046 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
3047 to_follow_fork, to_insert_exec_catchpoint,
3048 to_remove_exec_catchpoint.
3049
9ee907e0
AC
30502005-01-18 Andrew Cagney <cagney@gnu.org>
3051
fa113d1a
AC
3052 * target.h (struct target_ops): Change return type of
3053 to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
3054 to_insert_exec_catchpoint to void.
3055 (child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
3056 (child_insert_exec_catchpoint): Change return type to void.
3057 * target.c (update_current_target): Update.
3058 (debug_to_insert_fork_catchpoint)
3059 (debug_to_insert_vfork_catchpoint)
3060 (debug_to_insert_exec_catchpoint): Update.
3061 * inf-child.c (inf_child_insert_fork_catchpoint)
3062 (inf_child_insert_vfork_catchpoint)
3063 (inf_child_insert_exec_catchpoint): Update.
3064 * breakpoint.c (insert_catchpoint): Update, do not throw an error.
3065 * linux-nat.c (child_insert_fork_catchpoint)
3066 (child_insert_vfork_catchpoint)
3067 (child_insert_exec_catchpoint): Update.
3068 * inftarg.c (child_insert_fork_catchpoint)
3069 (child_insert_vfork_catchpoint,)
3070 (child_insert_exec_catchpoint): Update.
3071
9ee907e0
AC
3072 * remote.c (remote_open_1): Use throw_exception.
3073
295093a4
MS
30742005-01-17 Michael Snyder <msnyder@redhat.com>
3075
3076 * mips-linux-tdep.c: Whitespace tweaks.
3077
4bcff7eb
CV
30782005-01-17 Corinna Vinschen <vinschen@redhat.com>
3079
3080 * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
3081
637537d0
AC
30822005-01-17 Andrew Cagney <cagney@gnu.org>
3083
3084 * top.h (source_error, source_pre_error): Delete declaration.
3085 * cli/cli-script.c (source_error_allocated, source_error): Delete.
3086 (script_from_file, source_cleanup_lines): Do not manipulate
3087 source_error_allocated, error_pre_print and source_error.
3088 (struct source_cleanup_lines_args): Delete fields old_pre_error,
3089 and old_error_pre_print.
3090 * top.c (source_error_allocated, source_error)
3091 (source_pre_error): Delete.
3092 (command_line_input): Do not set error_pre_print.
3093 * event-top.c (command_line_handler): Do not set error_pre_print.
3094
12b21d12
JT
30952005-01-16 Jason Thorpe <thorpej@netbsd.org>
3096
3097 * MAINTAINERS: Update my email address.
3098
1c02b2a5
MK
30992005-01-16 Mark Kettenis <kettenis@gnu.org>
3100
c401b55a
MK
3101 * configure.ac: Provide prerequisite headers when checking
3102 <term.h>.
3103 * configure: Regenerate.
3104
1c02b2a5
MK
3105 * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
3106 and "bsd-uthread.h".
3107 (amd64fbsd_jmp_buf_reg_offset): New variable.
3108 (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
3109 functions.
3110 (amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
3111 * i386fbsd-tdep.c: Fix typo.
3112 * Makefile.in (amd64fbsd-tdep.o): Update dependencies.
3113 * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
3114
17d92a02
AC
31152005-01-16 Andrew Cagney <cagney@gnu.org>
3116
3117 * cli/cli-script.c: Include "exceptions.h".
3118 (struct wrapped_read_command_file_args): Define.
3119 (wrapped_read_command_file): New function.
3120 (script_from_file): Replace direct call to read_command_file by
3121 one wrapped by an exception handler.
3122 * exceptions.c (throw_it): Free the old message after creating the
3123 new.
3124 * Makefile.in: Update dependencies.
3125
80ad1639
MK
31262005-01-16 Mark Kettenis <kettenis@gnu.org>
3127
ae036357
MK
3128 * sparc64fbsd-tdep.c: Update copyright year.
3129 (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
3130 functions.
3131 (sparc64fbsd_init_abi): Create register sets with collect
3132 functions.
3133
ca5807d9
MK
3134 * sparc64fbsd-nat.c: Include "fbsd-nat.h".
3135 (_initialize_sparc64fbsd_nat): Add some extra features to the
3136 generic SPARC target.
3137 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
3138 * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
3139 (NAT_FILE): Set to solib.h.
3140 * config/sparc/nm-fbsd.h: Remove file.
3141
c4f2d4d7
MK
3142 * sparc64-tdep.c (sparc64_store_arguments): Fix typo.
3143
80ad1639
MK
3144 * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
3145
6212a5e9
AC
31462005-01-16 Andrew Cagney <cagney@gnu.org>
3147
3148 * exceptions.c (struct catcher): Delete saved_error_pre_print and
3149 saved_quit_pre_print.
3150 (catcher_init): Delete parameter errstring, do not override the
3151 pre_print strings.
3152 (catcher_pop): Do not restore the pre_print strings.
3153 (catch_exception, catch_exceptions_with_msg, catch_errors)
3154 (catch_command_errors): Update catch_init calls.
3155
936df4b3
MK
31562005-01-16 Mark Kettenis <kettenis@gnu.org>
3157
3158 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
3159 * sparc64fbsd-nat.c: Update copyright year. Include "target.h".
3160
3af1e0e3
AC
31612005-01-15 Andrew Cagney <cagney@gnu.org>
3162
85981d60
AC
3163 * acinclude.m4: Include ../bfd/bfd.m4 instead of
3164 ../bfd/acinclude.m4. Include ../gettext.m4.
3165 * aclocal.m4, configure: Re-generate.
3166
5a14cc1a
AC
3167 * exceptions.c (do_captured_command)
3168 (struct captured_command_args): Delete.
3169 (catch_command_errors): Simplify by inlining call to catch_errors.
3170
3af1e0e3
AC
3171 * exceptions.c (struct catcher): Delete field print_message.
3172 (catcher_init): Delete print_message parameter.
3173 (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
3174 (throw_it): Delete prefix parameter.
3175 (throw_verror, throw_vfatal, throw_error): Update.
3176
d0555901
AC
31772005-01-14 Andrew Cagney <cagney@gnu.org>
3178
e48f5bee
AC
3179 * exceptions.c (print_and_throw): Delete, replaced by throw_it.
3180 (throw_reason): Leave the exception's message field blank.
3181 (throw_it): New function, create the exception and throw it.
3182 (throw_verror, throw_vfatal, throw_error): Call throw_it.
3183 (print_any_exception): New function.
3184 (catch_errors, catch_exceptions_with_msg): Call
3185 print_any_exception.
3186 (throw_exception): Move code calling annotate_error and
3187 annotate_quit from here ...
3188 (print_exception): ... to here.
3189
c6da7a6d
AC
3190 * exceptions.c (exception_fprintf, exception_print): Move printing
3191 of \n from here ...
3192 (print_exception): ... to here.
3193 (print_flush): New function.
3194 (exception_print, exception_fprintf): Replace duplicated flush and
3195 wrap code with call to print_flush.
3196 (print_and_throw): Simplify, by using xstrvprintf, print_flush,
3197 and print_exception.
3198 (do_write): Delete.
3199
d0555901
AC
3200 * remote-sds.c (interrupt_query): Call throw_reason instead of
3201 throw_exception.
3202 * remote-mips.c (mips_error, mips_kill): Ditto
3203 * ocd.c (interrupt_query): Ditto.
3204 * nto-procfs.c (interrupt_query): Ditto.
3205 * monitor.c (monitor_interrupt_query): Ditto.
3206
949df321
JJ
32072005-01-14 Jeff Johnston <jjohnstn@redhat.com>
3208
3209 * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
3210
bc8332bb
AC
32112005-01-14 Andrew Cagney <cagney@gnu.org>
3212
1c3c7ee7
AC
3213 * exceptions.h (catch_exceptions): Delete errstring parameter.
3214 (catch_exceptions_with_msg): Ditto.
3215 * exceptions.c (catch_exceptions_with_msg): Update.
3216 (catch_exceptions): Update.
3217 * symfile-mem.c (add_vsyscall_page): Update.
3218 * frame.c (get_current_frame): Update.
3219 * wrapper.c (gdb_value_struct_elt): Update.
3220 * exceptions.c (catch_exceptions): Update.
3221 * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
3222 * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
3223 * remote-fileio.c (remote_fileio_request): Update.
3224
9cbc821d
AC
3225 * exceptions.h (exception_fprintf): Declare.
3226 (exception_print): Drop pre_print parameter.
3227 * mi/mi-main.c (mi_execute_command): Update exception_print call.
3228 * cli/cli-interp.c (safe_execute_command): Update exception_print
3229 call.
3230 * remote.c (remote_open_1): Instead of passing an error prefix to
3231 catch_exceptions, use catch_exceptions and exception_fprintf.
3232 (remote_start_remote): Change return type to void.
3233 * breakpoint.c (insert_bp_location): Instead of passing an error
3234 prefix to catch_exceptions, use catch_exceptions and
3235 exception_fprintf.
3236 (insert_catchpoint): Change return type to void.
3237 (break_command_1): Update exception_print call.
3238 * exceptions.c (exception_fprintf): New function.
3239 (print_exception): New function.
3240 (exception_print): Use print_exception.
3241
22e9b0f1
AC
3242 * utils.c (error_output_message): Delete function.
3243 * defs.h (error_output_message): Delete declaration.
3244
05ff989b
AC
3245 * linespec.c (symtab_from_filename, decode_variable): Use
3246 throw_error instead of error_silent.
3247 * breakpoint.c (do_captured_parse_breakpoint): Change return type
3248 to void.
3249 (break_command_1): Use catch_exception and check the error return
3250 status.
3251 * exceptions.c (throw_error): New function.
3252 (throw_vsilent): Delete function.
3253 * exceptions.h (throw_error): Declare.
3254 (throw_vsilent): Delete declaration.
3255 * utils.c (error_silent): Delete function.
3256 * defs.h (error_silent): Delete declaration.
3257
8a076db9
AC
3258 * mi/mi-main.c (mi_execute_command): Print the exception.
3259 * cli/cli-interp.c (safe_execute_command): Print the exception.
3260 * exceptions.h (exception_print): Declare.
3261 * exceptions.c (struct catcher): Add field print_message.
3262 (catcher_init): Add parameter print_message, store in the catcher
3263 struct.
3264 (print_and_throw): Only print the message when print_message.
3265 (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
3266 catcher_init.
3267 (catch_exception): Pass print_message=0 to catcher_init.
3268
bc8332bb
AC
3269 * varobj.c (varobj_create): Add missing \n.
3270
d183932d
MS
32712005-01-13 Michael Snyder <msnyder@redhat.com>
3272
4e18e2de 3273 * cli/cli-decode.h: Whitespace tweaks.
ca0b4d12 3274 * wince.c: Whitespace tweaks.
887a3a14 3275 * uw-thread.c: Whitespace tweaks.
0a4a0819 3276 * utils.c: Whitespace tweaks.
d183932d
MS
3277 * tracepoint.[ch]: Whitespace tweaks.
3278 * solist.h: Whitespace tweaks.
3279
6b1b7650
AC
32802005-01-13 Andrew Cagney <cagney@gnu.org>
3281
b315da38
AC
3282 * exceptions.h (struct exception): Make message const.
3283 * mi/mi-main.c (mi_execute_command): Pass result.message directly
3284 to fputstr_unfiltered.
3285
79e714b4
AC
32862005-01-13 Michael Snyder <msnyder@redhat.com>
3287
3288 * stack.c: Whitespace tweaks.
3289 * somsolib.[ch]: Whitespace tweaks.
3290 * solib-aix.c: Whitespace tweaks.
3291 * solib.c: Whitespace tweaks.
3292 * solib-frv.c: Whitespace tweaks.
3293 * solib.h: Whitespace tweaks.
3294 * solib-irix.c: Whitespace tweaks.
3295 * solib-som.c: Whitespace tweaks.
3296 * solib-sunos.c: Whitespace tweaks.
3297 * solib-svr4.[ch]: Whitespace tweaks.
3298 * ser-tcp.c: Whitespace tweaks.
3299 * ser-unix.c: Whitespace tweaks.
3300 * serial.h: Whitespace tweaks.
3301 * scm-valprint.c: Whitespace tweaks.
3302 * rs6000-tdep.c: Whitespace tweaks.
3303 * rs6000-nat.c: Whitespace tweaks.
3304 * remote.c: Whitespace tweaks.
3305
33062005-01-13 Andrew Cagney <cagney@gnu.org>
3307
6b1b7650
AC
3308 * defs.h (error_last_message, error_init): Delete declaration.
3309 * utils.c (fatal, vfatal): Call throw_vfatal.
3310 (error, verror): Call throw_verror;
3311 (do_write, error_stream_1): Delete function.
3312 (error_stream): Simplify, call error.
3313 (error_last_message, error_init, gdb_lasterr): Delete.
3314 (error_silent): Simplify, call throw_vsilent.
3315 * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
3316 * main.c (captured_main): Delete call to error_init.
3317 * exceptions.c (throw_verror, throw_verror)
3318 (throw_vsilent): New functions.
3319 (do_write, print_and_throw): New functions.
3320 (last_message): New global.
3321 (throw_reason): Replace error_last_message with last_message.
3322 (catch_exceptions_with_msg): Dup the message.
3323 * exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
3324 Declare.
3325
4791eb66
MS
33262005-01-13 Michael Snyder <msnyder@redhat.com>
3327
90c065fb 3328 * remote-st.c: Whitespace tweaks.
8a0ce09a 3329 * remote-sim.c: Whitespace tweaks.
1fa79fac 3330 * remote-mips.c: Whitespace tweaks.
beda9597 3331 * pa64solib.[ch]: Whitespace tweaks.
28397f59 3332 * mdebugread.c: Whitespace tweaks.
ba5e7e8d 3333 * main.c: Whitespace tweaks.
907d819a 3334 * interps.c: Whitespace tweaks.
9d1ff73f 3335 * infrun.c: Whitespace tweaks.
1f5d0fc9 3336 * infcmd.c: Whitespace tweaks.
d9788fe8 3337 * hpux-thread.c: Whitespace tweaks.
3b951200 3338 * hppa-hpux-tdep.c: Whitespace tweaks.
3a9a986f 3339 * gdbcore.h: Whitespace tweaks.
d3f17821 3340 * gdbcmd.h: Whitespace tweaks.
30867156 3341 * gdb-events[.c, .h, .sh]: Whitespace tweaks.
de6854b5 3342 * corefile.c: Whitespace tweaks.
03717487 3343 * completer.c: Whitespace tweaks.
9b5c5aad
MS
3344 * coff-solib.c: Whitespace tweaks.
3345 * coff-solib.h: Whitespace tweaks.
30fdc99f 3346 * cli-out.c: Whitespace tweaks.
1272ad14 3347 * breakpoint.c: Whitespace tweaks.
4791eb66
MS
3348 * cli/cli-interp.c: Tweak comments, per coding standard.
3349
f30f06b8
AC
33502005-01-13 Andrew Cagney <cagney@gnu.org>
3351
ce43223b
AC
3352 * breakpoint.c (gdb_breakpoint_query): Update, use
3353 catch_exceptions_with_msg.
3354 (do_captured_breakpoint): Add uiout parameter.
3355 (gdb_breakpoint): Update, use catch_exceptions_with_msg.
3356 * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
3357 gdb_thread_select. Return MI_CMD_ERROR instead of
3358 MI_CMD_CAUGHT_ERROR.
3359 (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
3360 (enum captured_mi_execute_command_actions): Delete
3361 EXECUTE_COMMAND_DISPLAY_ERROR.
3362 (captured_mi_execute_command): Delete code handling
3363 MI_CMD_CAUGHT_ERROR.
3364 (mi_execute_command): Don't check for
3365 EXECUTE_COMMAND_DISPLAY_ERROR.
3366 * mi/mi-cmd-break.c (breakpoint_notify): Update call to
3367 gdb_breakpoint_query.
3368 (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
3369 * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
3370 * gdb.h (gdb_thread_select, gdb_list_thread_ids)
3371 (gdb_breakpoint, gdb_breakpoint_query): Add error_message
3372 parameter.
3373 * thread.c (thread_command): Update call.
3374 (gdb_thread_select, gdb_list_thread_ids): Update, call
3375 catch_exceptions_with_msg.
3376
f30f06b8
AC
3377 * mi/mi-main.c (mi_execute_command): Use catch_exception,
3378 eliminate call to error_last_message.
3379 (captured_mi_execute_command): Change return type to void.
3380
2a78bfb5
AC
33812005-01-12 Andrew Cagney <cagney@gnu.org>
3382
c1043fc2
AC
3383 * exceptions.c (exception_none): New variable.
3384 * Makefile.in: Update dependencies.
3385 * interps.c: Include "exceptions.h".
3386 (interpreter_exec_cmd, interp_exec): Update to return "struct
3387 exception"
3388 * exceptions.h (no_exception): Declare.
3389 * tui/tui-interp.c (tui_exec): Update to return "struct exception"
3390 * mi/mi-interp.c: Include "exceptions.h".
3391 (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
3392 'struct exception".
3393 * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
3394 (do_captured_execute_command): Update to use catch_exception.
3395 * interps.h: Include "exceptions.h".
3396 (interp_exec_ftype, interp_exec): Return "struct exception".
3397
2a78bfb5
AC
3398 * exceptions.h (throw_reason): Rename throw_exception.
3399 (enum errors, struct exception): Define.
3400 (catch_exception_ftype): Define.
3401 (catch_exception, throw_exception): Declare.
3402 * exceptions.c (throw_exception): Rewrite.
3403 (throw_reason): New function.
3404 (struct catcher, catcher_state_machine): Replace "reason" with
3405 "exception", delete "gdberrmsg".
3406 (catch_exception): New function.
3407 (catcher_init): Replace "gdberrmsg" parameter with "exception".
3408 (catch_errors, catch_exceptions_with_msg): Re-implement passing
3409 exception to catcher_init.
3410 * utils.c (error_silent, error_stream_1): Use throw_reason.
3411 (internal_verror, quit): Ditto.
3412 * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
3413 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
3414 * remote.c (remote_open_1, interrupt_query): Ditto.
3415
8b1ca062
MK
34162005-01-12 Mark Kettenis <kettenis@gnu.org>
3417
fa565c2b
MK
3418 * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
3419 "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
3420 (i386fbsd_jmp_buf_reg_offset): New variable.
3421 (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
3422 functions.
3423 (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
3424 * Makefile.in (i386fbsd-tdep.o): Update dependency.
3425 * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
3426
82f5c14f
MK
3427 * bsd-uthread.h: New file.
3428 * bsd-uthread.c: New file.
3429 * Makefile.in (bsd_uthread_h): New variable.
3430 (ALLDEPFILES): Add bsd-uthread.c.
3431 (bsd-uthread.o): New dependency.
3432
42a6e6a0
MK
3433 * solib.h Update copyright year.
3434 (struct so_list): Forward declaration.
3435 (solib_read_symbols): New prototype.
3436 * solib.c (solib_read_symbols): New function.
3437 (solib_add): Call solib_read_symbols to read in symbols.
3438 (update_solib_list): Call observer_notify_solib_loaded.
3439
8b1ca062
MK
3440 * i386bsd-nat.c: Update copyright year. Don't include
3441 <sys/param.h> and <sys/user.h>.
3442 (register_u_addr, kernel_u_size): Remove functions.
3443 * config/i386/obsd.mh (NAT_FILE): Remove.
3444 * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
3445 * config/i386/nm-obsd.h: Remove file.
3446
60250e8b
AC
34472005-01-12 Andrew Cagney <cagney@gnu.org>
3448
db5f402d
AC
3449 * exceptions.c: Include "gdb_string.h".
3450 (enum catcher_state, struct catcher): Define.
3451 (current_catcher): New global, replaces catch_return;
3452 (catch_return): Delete.
3453 (throw_exception): Use current_catcher->buf;
3454 (catcher_init, catcher_pop, catcher_state_machine): New functions.
3455 (catcher): Delete.
3456 (struct catch_errors_args): Delete.
3457 (do_catch_errors): Delete.
3458 (catch_exceptions): Replace body with call to
3459 catch_exceptions_with_msg.
3460 (catcher): Delete.
3461 (catch_exceptions_with_msg, catch_errors): Re-implement using
3462 catcher_state_machine.
3463
60250e8b
AC
3464 * exceptions.h (enum return_reason, RETURN_MASK)
3465 (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
3466 (return_mask, throw_exception, catch_exceptions_ftype)
3467 (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
3468 (catch_command_errors_ftype, catch_command_errors): Move to
3469 exceptions.h.
3470 * exceptions.c, exceptions.h: New files.
3471 * top.c: Do not include <setjmp.h>.
3472 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
3473 (throw_exception, catcher, catch_exceptions)
3474 (catch_exceptions_with_msg, struct catch_errors_args)
3475 (do_catch_errors, catch_errors, struct captured_command_args)
3476 (do_captured_command, catch_command_errors): Move to exceptions.c.
3477 * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
3478 * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
3479 * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
3480 * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
3481 * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
3482 * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
3483 * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
3484 * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
3485 * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
3486 * ada-valprint.c, ada-lang.c: Ditto.
3487 * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
3488 exceptions.o. Update all dependencies.
3489
ca14ead7
MK
34902005-01-11 Mark Kettenis <kettenis@gnu.org>
3491
eafc7eea
MK
3492 * config/i386/nm-fbsd.h: Update copyright year.
3493 Don't include "config/nm-bsd.h".
3494 (KERNEL_U_SIZE): Remove macro.
3495 (kernel_u_size): Remove prototype.
3496
ca14ead7
MK
3497 * config/vax/nbsdaout.mh (NAT_FILE): Remove.
3498 * config/vax/nm-nbsdaout.h: Remove file.
3499
4a39d934
EZ
35002005-01-10 Elena Zannoni <ezannoni@redhat.com>
3501
3502 * MAINTAINERS: Remove self from sh/sh64 maintainership.
3503
93f0f986
AC
35042005-01-10 Andrew Cagney <cagney@gnu.org>
3505
c4f9e2bf
AC
3506 * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
3507 changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
3508 maintainer.
3509
6b71dd74
AC
3510 * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
3511 changes to CRIS.
3512
93f0f986
AC
3513 * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
3514 COMMIT means can approve).
3515
8785ced0
MK
35162005-01-10 Mark Kettenis <kettenis@gnu.org>
3517
2a2de4ce
MK
3518 * vax-nat.c: Update copyright year. Include "inf-ptrace.h".
3519 (vax_register_u_offset): Make statuc.
3520 (_initialize_vax_nat): Construct and add target vector.
3521 * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
3522 inftarg.o. Add inf-ptrace.o.
3523 * Makefile.in (vax-nat.o): Update dependencies.
3524
8785ced0
MK
3525 * inf-ptrace.h: Update copyright year. Sync comment with
3526 inf-ptrace.c.
3527 (inf_ptrace_trad_target): New prototype.
3528 * inf-ptrace.c: Update copyright year. Include "regcache.h" and
3529 "gdb_assert.h"
3530 (inf_ptrace_target): Add comment.
3531 (inf_ptrace+register_u_offset): New variable.
3532 (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
3533 (inf_ptrace_store_register, inf_ptrace_store_registers)
3534 (inf_ptrace_trad_target): New functions.
3535 * Makefile.in (inf-ptrace.o): Update dependencies.
3536
7cb9022a
MK
35372005-01-09 Mark Kettenis <kettenis@gnu.org>
3538
3539 * configure.ac: Provide prerequisite headers when checking
3540 <link.h>, <sys/proc.h> and <sys/user.h>.
3541 * configure: Regenerate.
3542
c534d641
MK
35432005-01-08 Mark Kettenis <kettenis@gnu.org>
3544
3545 * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
3546 tm-ppc-eabi.h instead of the removed tm-nbsd.h.
3547
4b48ac22
MK
35482005-01-07 Mark Kettenis <kettenis@gnu.org>
3549
3550 * config/ia64/tm-linux.h: Tweak comment. Update copyright year.
3551 Don't include "tm-ia64.h".
3552 * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
3553 * config/ia64/tm-ia64.h: Remove. Move contents ...
3554 * ia64-tdep.h: ... here. Update copyright year.
3555
3ace7edb
AC
35562005-01-07 Andrew Cagney <cagney@gnu.org>
3557
bec39cab
AC
3558 * configure.ac: Rename configure.in, require autoconf 2.59.
3559 * configure: Re-generate.
3560
e14ecb8f
AC
3561 * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
3562 xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
3563 to configdirs.
3564
3ace7edb
AC
3565 * configure.in: Replace configdirs with multiple references to
3566 AC_CONFIG_SUBDIRS.
3567 * configure: Re-generate.
3568
b33e8514
AS
35692005-01-05 Andreas Schwab <schwab@suse.de>
3570
3571 * ia64-tdep.c: Include "osabi.h".
3572 (native_find_global_pointer): Delete.
3573 (ia64_find_global_pointer): Renamed from
3574 generic_elf_find_global_pointer.
3575 (FIND_GLOBAL_POINTER): Delete. Change all users to call
3576 ia64_find_global_pointer instead.
3577 (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
3578 to ia64_linux_sigcontext_register_address and
3579 ia64_linux_write_pc. Don't set tdep->find_global_pointer.
3580 (_initialize_ia64_tdep): Call gdbarch_register instead of
3581 deprecated register_gdbarch_init.
3582 (struct gdbarch_tdep): Remove find_global_pointer field and move
3583 to ...
3584 * ia64-tdep.h (struct gdbarch_tdep): ... here.
3585 (ia64_linux_sigcontext_register_address): Remove declaration.
3586 (ia64_linux_getunwind_table): Likewise.
3587 (ia64_linux_write_pc): Likewise.
3588 * ia64-linux-tdep.c: Include "osabi.h".
3589 (ia64_linux_sigcontext_register_address): Make static.
3590 (ia64_linux_write_pc): Likewise.
3591 (ia64_linux_init_abi): New.
3592 (_initialize_ia64_linux_tdep): New.
3593 * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
3594 $(osabi_h).
3595
0ea390ed
KB
35962005-01-05 Kevin Buettner <kevinb@redhat.com>
3597
3598 * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
3599 functions in ia64-aix-tdep.c.
3600 * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
3601 function defined in ia64-aix-tdep.c.
3602 * ia64-aix-tdep.c: Remove file.
3603 * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
3604 this list.
3605 * Makefile.in (ia64-aix-tdep.o): Delete.
3606
edefbb7c
AC
36072005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
3608
3609 Committed by Andrew Cagney.
3610 * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
3611 * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
3612 * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
3613 * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
3614 * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
3615 * aix-thread.c (_initialize_aix_thread): Get rid of the
3616 deprecated_add_show_from_set call.
3617 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
3618 * arm-tdep.c (_initialize_arm_tdep): Ditto.
3619 * command.h (add_setshow_enum_cmd): Add arguments for returning
3620 new list elements.
3621 * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
3622 * mips-tdep.c (_initialize_mips_tdep): Modify calls to
3623 add_setshow_enum_cmd.
3624
a260932f
MK
36252005-01-04 Mark Kettenis <kettenis@gnu.org>
3626
34cf1994
MK
3627 * configure.host (ia64-*-aix*): Remove.
3628 * configure.tgt (ia64-*-aix*): Remove.
3629 * config/ia64/aix.mh: Remove file.
3630 * config/ia64/aix.mt: Remove file.
3631 * config/ia64/tm-aix.h: Remove file.
3632 * ia64-aix-nat.c: Remove file.
3633 * Makefile.in (ia64-aix-nat.o): Remove dependency.
3634
a260932f
MK
3635 * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
3636 Add back inf-ptrace.o.
3637
5ed102a1
AC
36382005-01-04 Andrew Cagney <cagney@gnu.org>
3639
3640 * version.in: Change format from 6.3.50_2005-01-04-cvs to
3641 6.3.50.20050104-cvs.
3642
3a63c4b7
AS
36432005-01-04 Andreas Schwab <schwab@suse.de>
3644
3645 * breakpoint.c (break_command_1): Always free err_msg before
3646 returning when an exception was caught.
3647
e22b26cb
JB
36482005-01-01 Joel Brobecker <brobecker@gnat.com>
3649
3650 * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
3651 in register number for addil instruction.
3652
151c5df6 3653For older changes see ChangeLog-2004.
c906108c
SS
3654\f
3655Local Variables:
3656mode: change-log
3657left-margin: 8
3658fill-column: 74
3659version-control: never
3660End:
This page took 0.859977 seconds and 4 git commands to generate.