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