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