1 2003-03-30 Andrew Cagney <cagney@redhat.com>
3 * frame.c (get_frame_base): Force ID initialization.
4 (get_prev_frame): Move computation of the frame ID from here ...
5 (get_frame_id): ... to here.
6 (legacy_get_prev_frame): Mark the frame ID as valid.
7 * frame.h (struct frame_info): Add field "id_p".
9 2003-03-30 Mark Kettenis <kettenis@gnu.org>
11 * i386-tdep.c (i386_store_struct_return): Removed.
12 (i386_gdbarch_init): Don't set deprecated_store_struct_return.
14 2003-03-30 Andrew Cagney <cagney@redhat.com>
16 * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
17 * gdbarch.h, gdbarch.c: Regenerate.
18 * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
19 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
20 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
21 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
22 * i386-tdep.c (i386_gdbarch_init): Ditto.
23 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
24 * cris-tdep.c (cris_gdbarch_init): Ditto.
25 * vax-tdep.c (vax_gdbarch_init): Ditto.
26 * s390-tdep.c (s390_gdbarch_init): Ditto.
27 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
28 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
29 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
30 * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
31 * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
32 * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
33 * sparc-tdep.c (sparc_gdbarch_init): Update.
34 * sh-tdep.c (sh_gdbarch_init): Update.
35 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
36 * mips-tdep.c (mips_gdbarch_init): Update.
37 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
38 * ia64-tdep.c (ia64_gdbarch_init): Update.
39 * frv-tdep.c (frv_gdbarch_init): Update.
40 * avr-tdep.c (avr_gdbarch_init): Update.
41 * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
42 DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
43 instead of when push_dummy_call is not available.
45 2003-03-30 Andrew Cagney <cagney@redhat.com>
47 * infttrace.c: Include "gdbthread.h".
48 (parent_attach_all): Fix function signature.
49 (call_ptrace): Update call.
50 * Makefile.in (infttrace.o): Update dependencies.
52 2003-03-30 Andrew Cagney <cagney@redhat.com>
54 * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
56 * gdbarch.h, gdbarch.c: Regenerate.
57 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
58 * x86-64-tdep.c (x86_64_init_abi): Update.
59 * v850-tdep.c (v850_gdbarch_init): Update.
60 * sparc-tdep.c (sparc_gdbarch_init): Update.
61 * sh-tdep.c (sh_gdbarch_init): Update.
62 * s390-tdep.c (s390_gdbarch_init): Update.
63 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
64 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
65 * mips-tdep.c (mips_gdbarch_init): Update.
66 * mcore-tdep.c (mcore_gdbarch_init): Update.
67 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
68 * ia64-tdep.c (ia64_gdbarch_init): Update.
69 * i386-tdep.c (i386_gdbarch_init): Update.
70 * h8300-tdep.c (h8300_gdbarch_init): Update.
71 * frv-tdep.c (frv_gdbarch_init): Update.
72 * cris-tdep.c (cris_gdbarch_init): Update.
73 * avr-tdep.c (avr_gdbarch_init): Update.
74 * arm-tdep.c (arm_gdbarch_init): Update.
75 * valops.c (hand_function_call): Update.
77 2003-03-29 Andrew Cagney <cagney@redhat.com>
79 * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
80 sizeof_call_dummy_words.
81 * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
83 * gdbarch.h: Regenerate.
85 2003-03-29 Andrew Cagney <cagney@redhat.com>
87 * infttrace.h: New file.
88 * hpread.c: Include "gdb_assert.h" and "somsolib.h".
89 (hpread_get_textlow): Detect an uninitialized dn_bufp.
90 (hpread_read_doc_function_type): Detect an initialized type1.
91 (hpread_quick_traverse): Initialize mod_name_string.
92 * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
93 (som_solib_get_solib_by_pc): Declare.
94 (so_lib_thread_start_addr): Declare.
95 (no_shared_libraries): Declare.
96 * somread.c (init_import_symbols): Make static. Add forward
98 * config/pa/nm-hppah.h: Include "infttrace.h" for
100 (hppa_insert_hw_watchpoint): Declare.
101 (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
102 * hppah-nat.c: Include "gdb_string.h".
103 (parent_attach_all): Delete extern declaration, moved to
105 (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
107 (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
108 * Makefile.in (infttrace_h): Define.
109 (hpread.o): Update dependencies.
110 (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
111 * hppa-hpux-tdep.c: Include "gdb_string.h".
112 * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
113 * infrun.c (handle_inferior_event): Always initialize
114 stepped_after_stopped_by_watchpoint. Add default and remove
115 fallthrough in switch statement.
116 * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
118 (hppa_remove_hw_watchpoint): Ditto.
120 2003-03-29 Andrew Cagney <cagney@redhat.com>
122 * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
125 2003-03-29 Richard Earnshaw <rearnsha@arm.com>
127 * arm-tdep.c (arm_push_arguments): Delete.
128 (struct stack_item): New type.
129 (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
130 (arm_store_struct_return): Delte.
131 (arm_gdbarch_init): Register arm_push_dummy_call. Don't register
132 arm_push_arguments or arm_store_struct_return.
134 2003-03-28 Andrew Cagney <cagney@redhat.com>
136 * Makefile.in (d10v-tdep.o): Update dependencies.
137 * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
138 * d10v-tdep.c: Include "remote.h".
139 (target_resume_hook): Delete extern declaration.
140 (target_wait_loop_hook): Ditto.
141 (tdisassemble_command): Eliminate assignment in "if" conditional.
142 (d10v_ts2_register_sim_regno): Eliminate call to
143 legacy_register_sim_regno.
144 (d10v_ts3_register_sim_regno): Ditto.
146 2003-03-28 Jeff Johnston <jjohnstn@redhat.com>
148 * thread.c: Reindented.
150 * linux-proc.c: Ditto.
152 2003-03-28 Bob Rossi <bob_rossi@cox.net>
154 * MAINTAINERS (write after approval): Add myself.
156 2003-03-27 Theodore A. Roth <troth@openavr.org>
158 * objc-exp.y: Add missing semi-colons.
160 2003-03-27 Andrew Cagney <cagney@redhat.com>
162 * regcache.c (write_sp): Delete function and references.
163 * inferior.h (write_sp): Delete declaration.
164 * valops.c (hand_function_call): Replace write_sp with
166 * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
167 (sparc_pop_frame): Ditto.
169 2003-03-27 Andrew Cagney <cagney@redhat.com>
171 * NEWS: Mention removal of support for hppa*-*-bsd* and
172 hppa*-*-osf* natives, and hppa*-*-pro* target.
173 * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
174 * config/pa/xm-pa.h: Obsolete file.
175 * config/pa/xm-hppab.h: Obsolete file.
176 * config/pa/nm-hppab.h: Obsolete file.
177 * config/pa/tm-hppab.h: Obsolete file.
178 * config/pa/tm-hppao.h: Obsolete file.
179 * config/pa/nm-hppao.h: Obsolete file.
180 * config/pa/tm-pro.h: Obsolete file.
181 * config/pa/hppaosf.mt: Obsolete file.
182 * config/pa/hppaosf.mh: Obsolete file.
183 * config/pa/hppapro.mt: Obsolete file.
184 * config/pa/hppabsd.mt: Obsolete file.
185 * config/pa/hppabsd.mh: Obsolete file.
186 * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
187 * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
190 2003-03-27 Andrew Cagney <cagney@redhat.com>
192 * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
193 push_arguments. Don't set push_return_address or write_sp.
194 (d10v_push_dummy_call): Replace d10v_push_arguments.
195 (d10v_push_return_address, d10v_write_sp): Delete function,
196 handled by push_dummy_call.
198 2003-03-26 Andrew Cagney <cagney@redhat.com>
200 * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
201 (push_dummy_call): New pure multi-arch replacement with gdbarch,
202 regcache and dummy_addr parameters.
203 * gdbarch.h, gdbarch.c: Re-generate.
204 * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
205 available; assume it will handle stack alignment and return
206 address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
207 legacy_push_arguments.
208 (legacy_push_arguments): Rename default_push_arguments.
209 * value.h (legacy_push_arguments): Rename default_push_arguments.
210 * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
211 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
212 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
213 * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
214 * config/i386/tm-symmetry.h: Update.
215 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
216 * x86-64-tdep.c (x86_64_init_abi): Update.
217 * v850-tdep.c (v850_gdbarch_init): Update.
218 * sparc-tdep.c (sparc_gdbarch_init): Update.
219 * sh-tdep.c (sh_gdbarch_init): Update.
220 * s390-tdep.c (s390_gdbarch_init): Update.
221 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
222 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
223 * mips-tdep.c (mips_gdbarch_init): Update.
224 * mcore-tdep.c (mcore_gdbarch_init): Update.
225 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
226 * ia64-tdep.c (ia64_gdbarch_init): Update.
227 * i386-tdep.c (i386_gdbarch_init): Update.
228 * hppa-tdep.c (hppa_gdbarch_init): Update.
229 * h8300-tdep.c (h8300_gdbarch_init): Update.
230 * frv-tdep.c (frv_gdbarch_init): Update.
231 * d10v-tdep.c (d10v_gdbarch_init): Update.
232 * cris-tdep.c (cris_gdbarch_init): Update.
233 * avr-tdep.c (avr_gdbarch_init): Update.
234 * arm-tdep.c (arm_gdbarch_init): Update.
235 * arm-linux-tdep.c (arm_linux_init_abi): Update.
236 * alpha-tdep.c (alpha_gdbarch_init): Update.
238 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
240 * signals/signals.c (do_target_signal_to_host): Correct realtime
243 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
245 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
246 (struct sal_chain, map_catch_names): Remove.
247 (catch_exception_command_1): Don't call
248 handle_gnu_4_16_catch_command.
250 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
252 From Mark Dettinger <dettinge@de.ibm.com>:
253 * dwarf2cfi.c (read_2u): Increment pointer by two.
255 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
257 * signals/signals.c: Fix typos in last change.
259 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
261 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
262 not already defined. Use __SIGRTMIN if available.
263 (target_signal_from_host): Remove SIGRTMIN block.
264 (do_target_signal_to_host): Remove SIGRTMIN block; check that
265 the signal is within the realtime range.
267 2003-03-25 Adam Fedor <fedor@gnu.org>
269 * Makefile.in (infrun.o): Add $(language_h)
270 * infrun.c (handle_inferior_event): Use skip_language_trampoline
271 for language specific trampolines.
272 * language.h (struct language_defn): Add skip_trampoline.
273 (skip_language_trampoline): Declare.
274 * language.c (unk_lang_trampoline, skip_language_trampoline):
276 (unknown_language_defn, auto_language_defn, local_language_defn):
277 Add ukn_lang_trampoline.
278 * ada-lang.c (ada_language_defn): Add NULL for language
279 specific skip_trampoline.
280 * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
281 scm-lang.c: Likewise.
282 * objc-lang.c (objc_skip_trampoline): New function.
283 (objc_language_defn): Add objc_skip_trampoline.
285 2003-03-25 Andrew Cagney <cagney@redhat.com>
287 * frame.c (get_prev_frame): Delay validating a frame's ID -
288 non-NULL, didn't go backwards - until an attempt to unwind it to
291 2003-03-25 Andrew Cagney <cagney@redhat.com>
293 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
294 EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
295 * gdbarch.h, gdbarch.c: Re-generate.
296 * config/sparc/tm-sparc.h
297 (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
298 * sparc-tdep.c (sparc_gdbarch_init): Set
299 deprecated_extra_stack_alignment_needed.
300 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
301 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
302 extra_stack_alignment_needed.
303 * v850-tdep.c (v850_gdbarch_init): Ditto.
304 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
305 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
306 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
307 * cris-tdep.c (cris_gdbarch_init): Ditto.
308 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
309 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
311 2003-03-25 Andrew Cagney <cagney@redhat.com>
313 * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
315 * gdbarch.h, gdbarch.c: Regenerate.
316 * d10v-tdep.c (d10v_store_struct_return): Delete function.
317 (d10v_push_arguments): Set the struct return register.
318 (d10v_gdbarch_init): Update.
319 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
320 * x86-64-tdep.c (x86_64_init_abi): Update.
321 * vax-tdep.c (vax_gdbarch_init): Update.
322 * v850-tdep.c (v850_gdbarch_init): Update.
323 * sparc-tdep.c (sparc_gdbarch_init): Update.
324 * sh-tdep.c (sh_gdbarch_init): Update.
325 * s390-tdep.c (s390_gdbarch_init): Update.
326 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
327 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
328 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
329 * mips-tdep.c (mips_gdbarch_init): Update.
330 * mcore-tdep.c (mcore_gdbarch_init): Update.
331 * m68k-tdep.c (m68k_gdbarch_init): Update.
332 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
333 * ia64-tdep.c (ia64_gdbarch_init): Update.
334 * i386-tdep.c (i386_gdbarch_init): Update.
335 * hppa-tdep.c (hppa_gdbarch_init): Update.
336 * h8300-tdep.c (h8300_gdbarch_init): Update.
337 * frv-tdep.c (frv_gdbarch_init): Update.
338 * cris-tdep.c (cris_gdbarch_init): Update.
339 * avr-tdep.c (avr_gdbarch_init): Update.
340 * arm-tdep.c (arm_gdbarch_init): Update.
341 * alpha-tdep.c (alpha_gdbarch_init): Update.
343 2003-03-25 Andrew Cagney <cagney@redhat.com>
345 * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
346 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
347 CALL_DUMMY_STACK_ADJUST with a predicate variable.
348 * gdbarch.h, gdbarch.c: Regenerate.
349 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
350 call_dummy_stack_adjust_p.
351 * vax-tdep.c (vax_gdbarch_init): Ditto.
352 * v850-tdep.c (v850_gdbarch_init): Ditto.
353 * sh-tdep.c (sh_gdbarch_init): Ditto.
354 * s390-tdep.c (s390_gdbarch_init): Ditto.
355 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
356 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
357 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
358 * mips-tdep.c (mips_gdbarch_init): Ditto.
359 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
360 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
361 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
362 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
363 * i386-tdep.c (i386_gdbarch_init): Ditto.
364 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
365 * frv-tdep.c (frv_gdbarch_init): Ditto.
366 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
367 * cris-tdep.c (cris_gdbarch_init): Ditto.
368 * avr-tdep.c (avr_gdbarch_init): Ditto.
369 * arm-tdep.c (arm_gdbarch_init): Ditto.
370 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
371 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
372 * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
373 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
374 * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
375 call_dummy_stack_adjust_p.
376 * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
377 (CALL_DUMMY_STACK_ADJUST): Delete macro.
378 * sparc-tdep.c (sparc32_push_arguments): Update.
379 * valops.c (hand_function_call): Update.
381 2003-03-25 Corinna Vinschen <vinschen@redhat.com>
383 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
384 set_gdbarch_char_signed.
386 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
389 * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
391 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
393 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
394 (_initialize_arm_tdep): Don't set tm_print_insn.
396 2003-03-24 Adam Fedor <fedor@gnu.org>
398 * Makefile.in (YYOBJ): Add objc-exp.tab.o
399 * objc-lang.h: Add multiple inclusion protection.
400 (start_msglist, add_msglist, end_msglist): Additional declarations.
402 2003-03-24 Richard Earnshaw <rearnsha@arm.com>
404 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
405 value was renamed to ARM_FLOAT_SOFT_FPA.
407 2003-03-23 Andrew Cagney <cagney@redhat.com>
409 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
410 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
411 * gdbarch.h, gdbarch.c: Regenerate.
412 * valops.c (hand_function_call): Update.
413 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
414 * frame.c (legacy_saved_regs_this_id): Update.
415 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
416 * dummy-frame.h: Update.
417 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
418 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
419 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
420 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
421 * config/m68k/tm-sun3.h: Update.
422 * blockframe.c (inside_main_func, frame_chain_valid): Update.
423 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
424 * x86-64-tdep.c (x86_64_init_abi): Update.
425 * vax-tdep.c (vax_gdbarch_init): Update.
426 * v850-tdep.c (v850_gdbarch_init): Update.
427 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
428 * sh-tdep.c (sh_gdbarch_init): Update.
429 * s390-tdep.c (s390_gdbarch_init): Update.
430 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
431 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
432 (frame_get_saved_regs): Update.
433 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
434 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
435 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
436 * mips-tdep.c (mips_gdbarch_init): Update.
437 * mcore-tdep.c (mcore_gdbarch_init): Update.
438 * m68k-tdep.c (m68k_gdbarch_init): Update.
439 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
440 * ia64-tdep.c (ia64_gdbarch_init): Update.
441 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
442 * i386-interix-tdep.c (i386_interix_init_abi): Update.
443 (i386_interix_back_one_frame): Update.
444 * hppa-tdep.c (hppa_gdbarch_init): Update.
445 (hppa_init_extra_frame_info): Update.
446 * h8300-tdep.c (h8300_gdbarch_init): Update.
447 * frv-tdep.c (frv_gdbarch_init): Update.
448 * cris-tdep.c (cris_gdbarch_init): Update.
449 * avr-tdep.c (avr_gdbarch_init): Update.
450 * arm-tdep.c (arm_gdbarch_init): Update.
451 * alpha-tdep.c (alpha_gdbarch_init): Update.
453 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
455 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
456 (arm_get_fp_model): Declare.
457 * arm-tdep.c (fp_model_strings): New string array.
458 (arm_fp_model, current_fp_model): New variables.
459 (arm_get_fp_model): New function.
460 (arm_set_fp): New function.
461 (set_fp_model_sfunc): New function.
462 (show_fp_model): New function.
463 (_initialize_arm_tdep): Add new command to set/show the FPU.
464 (arm_extract_return_value): Use arm_get_fp_model.
465 (arm_store_return_value): Likewise.
466 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
467 to initialize the floating-point data types.
468 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
471 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
473 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
474 the current setting of each value.
475 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
476 new_set and new_show. Use add_setshow_cmd_full and
477 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
478 commands and add new version as subcommands of "set/show arm".
480 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
482 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
483 (set_arm_command, show_arm_command): New functions.
484 (_initialize_arm_tdep): Add them.
485 (num_disassembly_options): Renamed from num_flavor_options.
486 (valid_disassembly_styles): Renamed from valid_flavors.
487 (disassembly_style): Renamed from disassembly_flavor.
488 (set_disassembly_style_sfunc): Renamed from
489 set_disassembly_flavor_sfunc.
490 (set_disassembly_style): Renamed from set_disassembly_flavor.
491 (arm_othernames): Updated.
492 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
493 command. Add "set/show arm disassembly" commands. Deprecate
494 "othernames" command.
496 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
498 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
499 (arm-tdep.o): Depend on elf_arm_h.
501 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
503 * Makefile.in (coff_internal_h): Define.
504 (arm-tdep.o): Update dependencies.
506 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
508 * arm-tdep.c (prologue_cache): Delete.
509 (check_prologue_cache, save_prologue_cache): Delete.
510 (arm_scan_prologue): Don't check or update the prologue_cache.
511 (arm_gdb_arch_init): Don't initialize it.
512 (_initialize_arm_tdep): Likewise.
514 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
516 * MAINTAINERS (tui): Maintainer of tui code.
518 2003-03-21 Corinna Vinschen <vinschen@redhat.com>
520 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
521 (i386-cygwin-tdep.o): Add dependencies.
522 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
523 * i386-cygwin-tdep.c: New file.
524 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
525 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
527 2003-03-20 Andrew Cagney <cagney@redhat.com>
529 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
530 (handle_inferior_event): Remove code calling
531 DYNAMIC_TRAMPOLINE_NEXTPC.
533 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
534 already has a full path.
536 * main.c (gdb_main): Return 1.
537 (captured_main): Call error to report an invalid interpreter.
539 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
540 * alpha-osf1-tdep.c: Include "gdb_string.h".
542 2003-03-19 J. Brobecker <brobecker@gnat.com>
544 Continuing work to convert the hppa targets to multiarch partial.
546 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
547 method, now that hppa_push_dummy_frame has a conformant prototype.
548 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
549 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
550 for the switch to multiarch partial.
552 2003-03-19 Kevin Buettner <kevinb@redhat.com>
554 * mdebugread.c (parse_symbol): For stEnd, we're done counting
557 2003-03-18 Kevin Buettner <kevinb@redhat.com>
559 * mips-tdep.c (mips_register_name): Fix fencepost error involving
560 NUM_REGS bounds check.
562 2003-03-18 Kevin Buettner <kevinb@redhat.com>
564 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
565 * mips-tdep.c (gdb_assert.h): Include.
566 (mips_generic_reg_names, mips_processor_reg_names): Make static.
567 (mips_register_name): Handle integer registers explicitly. Add
569 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
570 (mips_lsi33k_reg_names): Don't list integer registers; they're
571 handled by mips_register_name() now.
572 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
573 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
574 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
575 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
576 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
578 2003-03-18 Andrew Cagney <cagney@redhat.com>
580 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
582 * gdbtypes.h (print_scalar_formatted): Update declaration.
583 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
585 2003-03-18 J. Brobecker <brobecker@gnat.com>
587 * infrun.c (observer.h): Add #include.
588 (normal_stop): Add call to observer_notify_normal_stop.
589 * Makefile.in (infrun.o): Add dependency on observer.h.
591 2003-03-18 J. Brobecker <brobecker@gnat.com>
593 Continuing work to convert the hppa targets to multiarch partial.
594 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
595 parameter. Reformat comment.
596 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
597 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
598 to match new profile.
600 2003-03-18 J. Brobecker <brobecker@gnat.com>
602 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
603 appear to be working in any case.
605 2003-03-18 J. Brobecker <brobecker@gnat.com>
607 * observer.c (observer_test_first_observer): New static variable.
608 (observer_test_second_observer): Likewise.
609 (observer_test_third_observer): Likewise.
610 (observer_test_first_notification_function): New static function.
611 (observer_test_second_notification_function): Likewise.
612 (observer_test_third_notification_function): Likewise.
614 2003-03-17 J. Brobecker <brobecker@gnat.com>
616 * hppa-tdep.c (gdb_assert.h): Add missing #include.
617 * somsolib.c (gdb_assert.h): Likewise.
618 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
619 (somsolib.o): Likewise.
621 2003-03-17 Andrew Cagney <cagney@redhat.com>
623 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
624 BFD. Simplify setting of di.endian.
626 2003-03-17 Andrew Cagney <cagney@redhat.com>
628 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
629 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
631 From Elena Zannoni <ezannoni@redhat.com>
632 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
633 vector and floating-point parameters.
634 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
636 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
638 2003-03-17 Fernando Nasser <fnasser@redhat.com>
640 * MAINTAINERS: Remove my name from several maintainership roles.
642 2003-03-17 Andrew Cagney <cagney@redhat.com>
644 Fix frame off-by-one bug.
645 * frame-unwind.h (frame_this_id_ftype): Replace
646 frame_unwind_id_ftype.
647 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
648 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
649 with "prev_register".
650 * frame-unwind.c (frame_unwind_find_by_pc): Return
651 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
653 * dummy-frame.c (cached_find_dummy_frame): Delete function.
654 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
655 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
656 (dummy_frame_unwind): Update.
657 * sentinel-frame.c (sentinel_frame_prev_register): Replace
658 sentinel_frame_register_unwind.
659 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
660 (sentinel_frame_unwinder): Update.
661 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
662 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
663 * frame.c (create_sentinel_frame): Update. Initialize
664 "prologue_cache" instead of "unwind_cache".
665 (frame_register_unwind): Call this frame's prev_register with the
666 next frame and this frame's prologue cache.
667 (get_prev_frame): Simplify. Always call prev frame's this_id with
668 this frame and prev frame's prologue cache. Document that this
669 call is shifted one to the left when compared to the
670 frame_register_unwind call.
671 (legacy_saved_regs_prev_register): Replace
672 frame_saved_regs_register_unwind.
673 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
674 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
675 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
676 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
677 (d10v_frame_unwind): Update.
678 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
679 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
680 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
681 "saved_regs" with "this_saved_regs".
683 2003-03-16 Andrew Cagney <cagney@redhat.com>
685 * frame.c (frame_pop): Don't call target_store_registers. Fix
686 problem reported by Mark Kettenis.
688 2003-03-16 Mark Kettenis <kettenis@gnu.org>
690 * i386-tdep.c (i386_register_type): Renamed from
691 i386_register_virtual_type. Adjust function signature.
692 (i386_gdbarch_init): Set register_type instead of
693 deprecated_max_register_raw_size,
694 deprecated_max_register_virtual_size and register_virtual_type.
696 2003-03-14 Andrew Cagney <cagney@redhat.com>
698 * frame.c (get_prev_frame): When a legacy frame, always call
699 legacy_get_prev_frame. Simplify unwind code using assumption that
701 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
702 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
703 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
705 2003-03-14 Andrew Cagney <cagney@redhat.com>
707 * frame.c (get_saved_register): Delete function.
708 * frame.h (get_saved_register): Delete declaration.
709 * xstormy16-tdep.c: Update comment.
710 * regcache.h: Update comments.
711 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
712 get_saved_register and extract_address, use
713 frame_read_unsigned_register.
714 (sparc_frame_saved_pc): Ditto.
715 (sparc_get_saved_register): Instead of get_saved_register, use
717 (sparc_pop_frame): Ditto.
718 * findvar.c: Update comments.
719 (value_of_register): Call frame_register instead of
721 (value_from_register): Ditto.
722 * config/sparc/tm-sparc.h: Update comment.
723 * breakpoint.c: Update comment.
725 2003-03-14 Andrew Cagney <cagney@redhat.com>
727 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
729 * gdbarch.h, gdbarch.c: Re-generate.
730 * frame.h: Update comments.
731 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
732 * x86-64-tdep.c (x86_64_init_abi): Update.
733 * sparc-tdep.c (sparc_gdbarch_init): Update.
734 * sh-tdep.c (sh_gdbarch_init): Update.
735 * mips-tdep.c (mips_gdbarch_init): Update.
736 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
737 * cris-tdep.c (cris_gdbarch_init): Update.
738 * ia64-tdep.c (ia64_gdbarch_init): Update.
739 * frame.c (frame_register): Update.
740 (get_saved_register): Update.
741 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
743 2003-03-13 Andrew Cagney <cagney@redhat.com>
745 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
746 * gdbarch.h, gdbarch.c: Regenerate.
747 * valops.c (hand_function_call): Update comment.
748 * stack.c (return_command): Update comment.
749 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
750 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
751 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
752 * x86-64-tdep.c (x86_64_init_abi): Update.
753 * vax-tdep.c (vax_gdbarch_init): Update.
754 * v850-tdep.c (v850_gdbarch_init): Update.
755 * sparc-tdep.c (sparc_gdbarch_init): Update.
756 * sh-tdep.c (sh_gdbarch_init): Update.
757 * s390-tdep.c (s390_gdbarch_init): Update.
758 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
759 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
760 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
761 * mips-tdep.c (mips_gdbarch_init): Update.
762 * mcore-tdep.c (mcore_gdbarch_init): Update.
763 * m68k-tdep.c (m68k_gdbarch_init): Update.
764 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
765 * ia64-tdep.c (ia64_gdbarch_init): Update.
766 * i386-tdep.c (i386_gdbarch_init): Update.
767 * hppa-tdep.c (hppa_gdbarch_init): Update.
768 * h8300-tdep.c (h8300_gdbarch_init): Update.
769 * frv-tdep.c (frv_gdbarch_init): Update.
770 * cris-tdep.c (cris_gdbarch_init): Update.
771 * avr-tdep.c (avr_gdbarch_init): Update.
772 * arm-tdep.c (arm_gdbarch_init): Update.
773 * alpha-tdep.c (alpha_gdbarch_init): Update.
775 2003-03-13 Andrew Cagney <cagney@redhat.com>
777 * frame.c (legacy_frame_p): New function.
778 (get_prev_frame): Use legacy_frame_p.
779 * frame.h (legacy_frame_p): Declare.
781 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
783 * MAINTAINERS (write after approval): Alphabetically
786 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
788 * MAINTAINERS (write after approval): Add myself.
790 2003-03-12 Andrew Cagney <cagney@redhat.com>
792 * frame.c (get_prev_frame): Rename the frame parameter to
794 (get_next_frame, legacy_get_prev_frame): Ditto.
796 2003-03-12 Andrew Cagney <cagney@redhat.com>
798 * frame.c (get_current_frame): Check target_has_registers before
799 checking target_has_stack.
800 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
801 instead of deprecated_selected_frame.
802 * findvar.c (value_of_register): Pass "frame", not
803 deprecated_selected_frame, to value_of_builtin_reg.
805 2003-03-12 Andrew Cagney <cagney@redhat.com>
807 * regcache.c (regcache_cooked_write_signed): New function.
808 (regcache_cooked_write_unsigned): New function.
809 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
810 (regcache_cooked_read_signed): Fix regnum in range assertion.
811 * regcache.h (regcache_cooked_write_signed): Declare.
812 (regcache_cooked_write_unsigned): Declare.
814 2003-03-12 Andrew Cagney <cagney@redhat.com>
816 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
817 * gdbarch.h, gdbarch.c: Re-generate.
818 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
819 * x86-64-tdep.h: Update.
820 * x86-64-tdep.c (x86_64_init_abi): Update.
821 * v850-tdep.c (v850_gdbarch_init): Update.
822 * sparc-tdep.c (sparc_gdbarch_init): Update.
823 * sh-tdep.c (sh_gdbarch_init): Update.
824 * s390-tdep.c (s390_gdbarch_init): Update.
825 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
826 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
827 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
828 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
829 * mips-tdep.c (mips_gdbarch_init): Update.
830 * mcore-tdep.c (mcore_gdbarch_init): Update.
831 * m68k-tdep.c (m68k_gdbarch_init): Update.
832 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
833 * ia64-tdep.c (ia64_gdbarch_init): Update.
834 * i386-tdep.c (i386_gdbarch_init): Update.
835 * i386-interix-tdep.c (i386_interix_init_abi): Update.
836 * hppa-tdep.c (hppa_gdbarch_init): Update.
837 * h8300-tdep.c (h8300_gdbarch_init): Update.
838 * frv-tdep.c (frv_gdbarch_init): Update.
839 * cris-tdep.c (cris_gdbarch_init): Update.
840 * avr-tdep.c (avr_gdbarch_init): Update.
841 * arm-tdep.c (arm_gdbarch_init): Update.
842 * alpha-tdep.c (alpha_gdbarch_init): Update.
843 * sh-tdep.c (sh_init_extra_frame_info): Update.
844 (sh64_init_extra_frame_info): Update.
845 * ns32knbsd-nat.c (frame_num_args): Update.
846 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
847 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
848 (xstormy16_frame_chain_valid): Update.
849 * vax-tdep.c (vax_saved_pc_after_call): Update.
850 * v850-tdep.c (v850_frame_chain): Update.
851 (v850_pop_frame): Update.
852 (v850_init_extra_frame_info): Update.
853 * sparc-tdep.c (setup_arbitrary_frame): Update.
854 * ns32k-tdep.c (umax_frame_num_args): Update.
855 * s390-tdep.c (s390_pop_frame_regular): Update.
856 * mn10300-tdep.c (mn10300_frame_chain): Update.
857 (mn10300_pop_frame_regular): Update.
858 (mn10300_init_extra_frame_info): Update.
859 * mips-tdep.c (mips_init_frame_pc_first): Update.
860 (mips_frame_chain): Update.
861 (mips_pop_frame): Update.
862 * mcore-tdep.c (mcore_frame_chain): Update.
863 (mcore_pop_frame): Update.
864 (mcore_init_extra_frame_info): Update.
865 * arch-utils.c (init_frame_pc_default): Update.
866 * m68k-tdep.c (isi_frame_num_args): Update.
867 (delta68_frame_num_args): Update.
868 (news_frame_num_args): Update.
869 * ia64-tdep.c (ia64_pop_frame_regular): Update.
870 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
871 (alpha_frame_chain): Update.
872 (alpha_pop_frame): Update.
873 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
874 (hppa_init_extra_frame_info): Update.
875 (hppa_frame_chain): Update.
876 (hppa_frame_chain_valid): Update.
877 * cris-tdep.c (cris_init_extra_frame_info): Update.
878 * avr-tdep.c (avr_init_extra_frame_info): Update.
879 * arm-tdep.c (arm_frame_chain_valid): Update.
880 (arm_init_extra_frame_info): Update.
881 (arm_pop_frame): Update.
882 * frame.c (frame_pc_unwind): Update.
883 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
884 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
885 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
886 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
887 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
888 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
890 2003-03-12 Andrew Cagney <cagney@redhat.com>
892 Eliminate the need for POP_FRAME.
893 * frame.c (do_frame_unwind_register): New function.
894 (frame_pop): When no POP_FRAME, pop the frame using register
895 unwind and a scratch regcache.
896 (frame_saved_regs_pop): Delete function.
897 (trad_frame_unwinder): Update.
898 * d10v-tdep.c (d10v_frame_pop): Delete function.
899 (d10v_frame_unwind): Update.
900 * sentinel-frame.c (sentinel_frame_pop): Delete function.
901 (sentinel_frame_unwinder): Update.
902 * dummy-frame.c (dummy_frame_pop): Delete function.
903 (dummy_frame_unwind): Update.
904 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
905 (struct frame_unwind): Update.
907 2003-03-11 Kevin Buettner <kevinb@redhat.com>
909 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
910 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
911 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
912 Do range checks on register number obtained from debugging info.
913 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
914 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
915 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
917 (do_fp_register_row): Fix typo which caused double type to be
918 used when attempting to unpack a float.
920 2003-03-11 J. Brobecker <brobecker@gnat.com>
922 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
924 2003-03-11 Andrew Cagney <cagney@redhat.com>
926 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
927 frame. Problem found by Corinna Vinschen.
929 2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
931 * doublest.c (floatformat_from_length): Accept also
932 the real size of 'long double' type.
934 2003-03-10 Daniel Jacobowitz <drow@mvista.com>
936 From Klee Dienes <kdienes@apple.com>:
937 * breakpoint.c (bpstat_copy): Copy the command lines as well
938 as the old value, to match what is freed in bpstat_clear.
940 2003-03-10 David Carlton <carlton@math.stanford.edu>
942 * minsyms.c (add_minsym_to_hash_table): Replace
943 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
944 (compare_minimal_symbols, compact_minimal_symbols)
945 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
946 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
947 of DEPRECATED_SYMBOL_MATCHES_NAME.
948 (lookup_minimal_symbol_solib_trampoline): Ditto.
950 2003-03-10 Andrew Cagney <cagney@redhat.com>
952 * regcache.h (regcache_cooked_read_ftype): Define.
953 (regcache_save, regcache_restore): Add a cooked_read parameter.
954 * regcache.c (regcache_save, regcache_restore): Update.
955 (do_cooked_read): New function.
956 (regcache_cpy): Pass do_cooked_read to regcache_save and
959 2003-03-10 Andrew Cagney <cagney@redhat.com>
961 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
962 * gdbarch.h, gdbarch.c: Re-generate.
963 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
964 * x86-64-tdep.h: Update.
965 * x86-64-tdep.c (x86_64_init_abi): Update.
966 * v850-tdep.c (v850_gdbarch_init): Update.
967 * sparc-tdep.c (sparc_gdbarch_init): Update.
968 * sh-tdep.c (sh_gdbarch_init): Update.
969 * s390-tdep.c (s390_gdbarch_init): Update.
970 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
971 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
972 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
973 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
974 * mips-tdep.c (mips_gdbarch_init): Update.
975 * mcore-tdep.c (mcore_gdbarch_init): Update.
976 * m68k-tdep.c (m68k_gdbarch_init): Update.
977 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
978 * ia64-tdep.c (ia64_gdbarch_init): Update.
979 * i386-tdep.c (i386_gdbarch_init): Update.
980 * i386-interix-tdep.c (i386_interix_init_abi): Update.
981 * hppa-tdep.c (hppa_gdbarch_init): Update.
982 * h8300-tdep.c (h8300_gdbarch_init): Update.
983 * frv-tdep.c (frv_gdbarch_init): Update.
984 * cris-tdep.c (cris_gdbarch_init): Update.
985 * avr-tdep.c (avr_gdbarch_init): Update.
986 * arm-tdep.c (arm_gdbarch_init): Update.
987 * alpha-tdep.c (alpha_gdbarch_init): Update.
988 * sh-tdep.c (sh_init_extra_frame_info): Update.
989 (sh64_init_extra_frame_info): Update.
990 * ns32knbsd-nat.c (frame_num_args): Update.
991 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
992 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
993 (xstormy16_frame_chain_valid): Update.
994 * vax-tdep.c (vax_saved_pc_after_call): Update.
995 * v850-tdep.c (v850_frame_chain): Update.
996 (v850_pop_frame): Update.
997 (v850_init_extra_frame_info): Update.
998 * sparc-tdep.c (setup_arbitrary_frame): Update.
999 * ns32k-tdep.c (umax_frame_num_args): Update.
1000 * s390-tdep.c (s390_pop_frame_regular): Update.
1001 * mn10300-tdep.c (mn10300_frame_chain): Update.
1002 (mn10300_pop_frame_regular): Update.
1003 (mn10300_init_extra_frame_info): Update.
1004 * mips-tdep.c (mips_init_frame_pc_first): Update.
1005 (mips_frame_chain): Update.
1006 (mips_pop_frame): Update.
1007 * mcore-tdep.c (mcore_frame_chain): Update.
1008 (mcore_pop_frame): Update.
1009 (mcore_init_extra_frame_info): Update.
1010 * arch-utils.c (init_frame_pc_default): Update.
1011 * m68k-tdep.c (isi_frame_num_args): Update.
1012 (delta68_frame_num_args): Update.
1013 (news_frame_num_args): Update.
1014 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1015 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1016 (alpha_frame_chain): Update.
1017 (alpha_pop_frame): Update.
1018 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1019 (hppa_init_extra_frame_info): Update.
1020 (hppa_frame_chain): Update.
1021 (hppa_frame_chain_valid): Update.
1022 * cris-tdep.c (cris_init_extra_frame_info): Update.
1023 * avr-tdep.c (avr_init_extra_frame_info): Update.
1024 * arm-tdep.c (arm_frame_chain_valid): Update.
1025 (arm_init_extra_frame_info): Update.
1026 (arm_pop_frame): Update.
1027 * frame.c (frame_pc_unwind): Update.
1028 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1029 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1030 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1031 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1032 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1033 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1035 2003-03-10 Andrew Cagney <cagney@redhat.com>
1037 * gdbarch.sh (gdbarch_unwind_pc): New method.
1038 * gdbarch.h, gdbarch.c: Regenerate.
1039 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
1040 but use read_pc and FRAME_SAVED_PC as fall backs.
1041 (frame_saved_regs_pc_unwind): Delete function.
1042 (trad_frame_unwinder): Update.
1043 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
1044 (struct frame_unwind): Update.
1045 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
1046 (dummy_frame_unwind): Update.
1047 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
1048 (sentinel_frame_unwinder): Update.
1049 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
1050 (d10v_frame_unwind): Update.
1051 (d10v_unwind_pc): New function.
1052 (d10v_gdbarch_init): Set unwind_pc.
1054 2003-03-10 Andrew Cagney <cagney@redhat.com>
1056 * gdbarch.h: Re-generate.
1058 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
1060 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
1063 2003-03-08 Mark Kettenis <kettenis@gnu.org>
1065 * gdbarch.sh (save_dummy_frame_tos): Add comment.
1067 2003-03-08 Andrew Cagney <cagney@redhat.com>
1069 * cli-out.c: Update copyright.
1070 (cli_out_data): Define typedef. Use instead of ui_out_data.
1072 2003-03-08 Andrew Cagney <cagney@redhat.com>
1074 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
1077 2003-03-07 Andrew Cagney <cagney@redhat.com>
1079 * gdbarch.sh: Don't generate two macro definitions when an
1080 undefined macro taking no arguments.
1081 * gdbarch.h: Regenerate.
1083 2002-03-07 Michal Ludvig <mludvig@suse.cz>
1085 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
1086 (x86_64_unwind_dummy_id): New functions.
1087 (x86_64_init_abi): Register these two new functions.
1089 2003-03-07 Michal Ludvig <mludvig@suse.cz>
1091 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
1092 (x86_64_skip_prologue): Move prologue detection to
1094 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
1096 2003-03-05 Andrew Cagney <cagney@redhat.com>
1098 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
1099 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
1100 * frame.c (get_prev_frame): Restructure the frame ID unwind code
1101 to use unwind_dummy_id when a dummy frame.
1102 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
1104 * gdbarch.h, gdbarch.c: Regneerate.
1106 2003-03-05 Andrew Cagney <cagney@redhat.com>
1108 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
1109 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
1110 Do not use d10v_read_sp or d10v_read_fp when obtaining register
1113 2003-03-05 Andrew Cagney <cagney@redhat.com>
1115 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
1116 (struct d10v_unwind_cache): Delete field "frameless". Replace
1117 "next_addr" with "sp_offset". Add "r11_offset".
1118 (d10v_frame_unwind_cache): Update.
1119 (prologue_find_regs): Update. When "mv r11, sp", save the
1120 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
1121 RN was saved in r11_offset.
1123 2003-03-05 Andrew Cagney <cagney@redhat.com>
1125 * frame.c (deprecated_update_frame_pc_hack): Also update the the
1126 cached PC value in the next frame.
1128 2003-03-05 Andrew Cagney <cagney@redhat.com>
1130 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
1131 "id_unwind_cache" with "id".
1132 (frame_id_unwind): Delete declaration.
1133 * frame.c (frame_id_unwind): Delete function.
1134 (get_prev_frame): Call the frame id unwind method directly. Store
1135 the returned next frame's ID value in NEXT_FRAME. Note that there
1136 is a problem with the wrong unwind ID being called with the wrong
1139 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
1141 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
1143 2003-03-05 James Ingham <jingham@apple.com>
1144 Daniel Jacobowitz <drow@mvista.com>
1146 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
1147 (auto_cp_abi): New variable.
1148 (current_cp_abi, num_cp_abis): Make static.
1149 (CP_ABI_MAX): Define.
1150 (cp_abis): Turn into an array.
1151 (value_virtual_fn_field): Fix formatting.
1152 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
1154 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
1155 (list_cp_abis, _initialize_cp_abi): New functions.
1156 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
1157 declarations for cp_abis, num_cp_abis, current_cp_abi, and
1158 switch_to_cp_abi. Update prototype for register_cp_abi.
1159 * Makefile.in (cp-abi.o): Update dependencies.
1160 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
1161 instead of switch_to_cp_abi.
1162 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
1164 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
1166 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
1168 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
1170 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
1171 * dwarf2loc.c: Include "regcache.h".
1172 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
1174 * Makefile.in (dwarf2loc.o): Update dependencies.
1176 2003-03-04 Theodore A. Roth <troth@openavr.org>
1178 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
1179 number of io registers reported by remote target is not a multiple of
1182 2003-03-04 David Carlton <carlton@math.stanford.edu>
1184 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
1185 (lookup_symbol_aux_psymtabs): Update call to
1186 lookup_partial_symbol.
1187 (lookup_transparent_type, find_main_psymtab)
1188 (make_symbol_overload_list): Ditto.
1190 2003-03-04 Kazu Hirata <kazu@cs.umass.edu>
1192 * MAINTAINERS (Write after approval): Update my email address.
1194 2003-03-03 Andrew Cagney <cagney@redhat.com>
1196 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
1197 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
1198 predicate. Replace MAX_REGISTER_RAW_SIZE.
1199 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
1200 MAX_REGISTER_VIRTUAL_SIZE.
1201 * regcache.c (legacy_max_register_raw_size): New function.
1202 (legacy_max_register_virtual_size): New function.
1203 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
1204 (MAX_REGISTER_RAW_SIZE): Define.
1205 (legacy_max_register_raw_size): Declare.
1206 (legacy_max_register_virtual_size): Declare.
1207 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1208 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
1209 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1210 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1211 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1212 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1213 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1214 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1215 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1216 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1217 * vax-tdep.c (vax_gdbarch_init): Update.
1218 * v850-tdep.c (v850_gdbarch_init): Update.
1219 * sparc-tdep.c (sparc_gdbarch_init): Update.
1220 * sh-tdep.c (sh_gdbarch_init): Update.
1221 * s390-tdep.c (s390_gdbarch_init): Update.
1222 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1223 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1224 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1225 * mips-tdep.c (mips_gdbarch_init): Update.
1226 * mcore-tdep.c (mcore_gdbarch_init): Update.
1227 * m68k-tdep.c (m68k_gdbarch_init): Update.
1228 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1229 * ia64-tdep.c (ia64_gdbarch_init): Update.
1230 * i386-tdep.c (i386_gdbarch_init): Update.
1231 * hppa-tdep.c (hppa_gdbarch_init): Update.
1232 * h8300-tdep.c (h8300_gdbarch_init): Update.
1233 * frv-tdep.c (frv_gdbarch_init): Update.
1234 * cris-tdep.c (cris_gdbarch_init): Update.
1235 * avr-tdep.c (avr_gdbarch_init): Update.
1236 * arm-tdep.c (arm_gdbarch_init): Update.
1237 * alpha-tdep.c (alpha_gdbarch_init): Update.
1238 * d10v-tdep.c (d10v_gdbarch_init): Do not set
1239 max_register_raw_size or max_register_virtual_size.
1241 2003-03-03 David Carlton <carlton@math.stanford.edu>
1243 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
1244 SYMBOL_MATCHES_NAME, add comment.
1245 (SYMBOL_MATCHES_NATURAL_NAME): New.
1246 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
1247 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
1248 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
1249 * symtab.c (lookup_partial_symbol): Use
1250 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
1252 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
1253 SYMBOL_MATCHES_NAME.
1256 2003-03-03 David Carlton <carlton@math.stanford.edu>
1258 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
1259 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
1260 by regexp matching against SYMBOL_NATURAL_NAME.
1262 2003-03-03 David Carlton <carlton@math.stanford.edu>
1264 * linespec.c (find_method): Extract code into collect_methods.
1265 (collect_methods): New.
1267 2003-03-02 Mark Kettenis <kettenis@gnu.org>
1269 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
1272 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
1273 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1275 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
1277 * arch-utils.c (generic_register_byte): Fix to use the loop index
1278 and not regnum when summing the size of all registers up to regnum.
1280 2003-03-01 Andrew Cagney <cagney@redhat.com>
1282 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
1283 FRAME_INIT_SAVED_REGS.
1284 * gdbarch.h, gdbarch.c: Regenerate.
1285 * stack.c (frame_info): Update.
1286 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
1287 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
1288 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
1289 * ns32k-tdep.c (ns32k_pop_frame): Update.
1290 * mips-tdep.c (mips_pop_frame): Update.
1291 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
1292 * ia64-tdep.c (ia64_frame_chain): Update.
1293 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
1294 (ia64_frameless_function_invocation): Update.
1295 (ia64_init_extra_frame_info): Update.
1296 (ia64_pop_frame_regular): Update.
1297 * frame.h (struct frame_info): Update comment.
1298 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
1299 * frame.c (frame_saved_regs_register_unwind): Update.
1300 (frame_saved_regs_register_unwind): Update.
1301 (deprecated_generic_get_saved_register): Update.
1302 * cris-tdep.c: Update comment.
1303 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
1305 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1306 * x86-64-tdep.c (x86_64_init_abi): Update.
1307 * vax-tdep.c (vax_gdbarch_init): Update.
1308 * v850-tdep.c (v850_gdbarch_init): Update.
1309 * sparc-tdep.c (sparc_gdbarch_init): Update.
1310 * sh-tdep.c (sh_gdbarch_init): Update.
1311 * s390-tdep.c (s390_gdbarch_init): Update.
1312 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1313 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1314 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1315 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1316 * mips-tdep.c (mips_gdbarch_init): Update.
1317 * mcore-tdep.c (mcore_gdbarch_init): Update.
1318 * m68k-tdep.c (m68k_gdbarch_init): Update.
1319 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1320 * ia64-tdep.c (ia64_gdbarch_init): Update.
1321 * i386-tdep.c (i386_gdbarch_init): Update.
1322 * frv-tdep.c (frv_gdbarch_init): Update.
1323 * avr-tdep.c (avr_gdbarch_init): Update.
1324 * arm-tdep.c (arm_gdbarch_init): Update.
1325 * alpha-tdep.c (alpha_gdbarch_init): Update.
1327 2003-03-01 Andrew Cagney <cagney@redhat.com>
1329 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
1330 option enum and switch. When no windows, set the interpreter to
1333 2003-03-01 Andrew Cagney <cagney@redhat.com>
1335 * main.c (captured_main): Replace magic option characters with an
1338 2003-03-01 Andrew Cagney <cagney@redhat.com>
1340 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
1341 INIT_EXTRA_FRAME_INFO.
1342 * gdbarch.h, gdbarch.c: Regenerate.
1343 * arm-tdep.c: Update comments.
1344 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
1345 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
1346 * frame.h, avr-tdep.c: Ditto.
1347 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
1348 (create_new_frame, legacy_get_prev_frame): Ditto.
1349 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
1350 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
1351 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
1352 deprecated_init_extra_frame_info instead of init_extra_frame_info.
1353 * x86-64-tdep.c (x86_64_init_abi): Ditto.
1354 * v850-tdep.c (v850_gdbarch_init): Ditto.
1355 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1356 * sh-tdep.c (sh_gdbarch_init): Ditto.
1357 * s390-tdep.c (s390_gdbarch_init): Ditto.
1358 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
1359 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1360 * mips-tdep.c (mips_gdbarch_init): Ditto.
1361 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1362 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1363 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1364 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
1365 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
1366 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1367 * frv-tdep.c (frv_gdbarch_init): Ditto.
1368 * cris-tdep.c (cris_gdbarch_init): Ditto.
1369 * avr-tdep.c (avr_gdbarch_init): Ditto.
1370 * arm-tdep.c (arm_gdbarch_init): Ditto.
1371 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1372 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1374 2003-03-01 Andrew Cagney <cagney@redhat.com>
1376 * gdbarch.sh (register_type): New function with predicate.
1377 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
1378 * gdbarch.h, gdbarch.c: Re-generate.
1379 * arch-utils.c (generic_register_byte): Use generic_register_size.
1380 (generic_register_size): When available, use
1381 gdbarch_register_type.
1382 * regcache.c (init_regcache_descr): When available, initialize the
1383 register type array using gdbarch_register_type. If the
1384 architecture supplies gdbarch_register_type, do not use the legacy
1386 * d10v-tdep.c (d10v_register_type): Replace
1387 d10v_register_virtual_type.
1388 (d10v_gdbarch_init): Set register_type instead of
1389 register_virtual_type.
1391 2003-03-01 Andrew Cagney <cagney@redhat.com>
1393 * Makefile.in (ax-gdb.o): Update dependencies.
1394 * ax-gdb.c: Include "regcache.h".
1395 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
1396 * findvar.c (value_of_register): Ditto.
1397 * infcmd.c (default_print_registers_info): Ditto.
1399 2003-03-01 Mark Kettenis <kettenis@gnu.org>
1401 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
1402 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1404 2003-03-01 Mark Kettenis <kettenis@gnu.org>
1406 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
1409 2003-02-28 Daniel Jacobowitz <drow@mvista.com>
1411 * Makefile.in (dwarf2loc.o): Update dependencies.
1412 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
1413 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
1414 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
1415 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
1416 (locexpr_tracepoint_var_ref): New function.
1417 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
1419 2003-02-28 Andrew Cagney <cagney@redhat.com>
1421 * regcache.c (register_size): New function.
1422 * regcache.h (register_size): Declare
1423 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
1424 max_register_size instead of MAX_REGISTER_RAW_SIZE.
1426 2003-02-28 David Carlton <carlton@math.stanford.edu>
1428 * linespec.c (decode_compound): Extract code into find_method.
1431 2003-02-28 J. Brobecker <brobecker@gnat.com>
1433 * Makefile.in: Add rules to build and link in observer.o.
1435 2003-02-27 J. Brobecker <brobecker@gnat.com>
1437 * observer.c: Minor comments edits.
1439 2003-02-27 J. Brobecker <brobecker@gnat.com>
1441 * observer.h, observer.c: New file.
1443 2003-02-27 Andrew Cagney <cagney@redhat.com>
1445 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
1447 2003-02-27 Stephane Carrez <stcarrez@nerim.fr>
1449 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
1450 (M6812_OP_STS_EXT): Likewise.
1451 (m6811_prologue): Use the above to recognize prologue.
1452 (m6812_prologue): Likewise.
1454 2003-02-27 David Carlton <carlton@math.stanford.edu>
1456 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
1458 (compare_psymbols): Ditto.
1459 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
1461 2003-02-27 Michael Snyder <msnyder@redhat.com>
1463 * f-lang.c (build_fortran_types): New function.
1464 (_initialize_f_language): Gdbarch-register built-in fortran types.
1465 * doublest.c (extract_floating): Fix warning text.
1467 2003-02-27 Andrew Cagney <cagney@redhat.com>
1469 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
1470 predicate. Replaces PUSH_DUMMY_FRAME.
1471 * gdbarch.h, gdbarch.c: Regnerate.
1472 * valops.c (hand_function_call): Update. Call
1473 generic_push_dummy_frame directly.
1474 * vax-tdep.c (vax_gdbarch_init): Update.
1475 * sparc-tdep.c (sparc_gdbarch_init): Update.
1476 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1477 * m68k-tdep.c (m68k_gdbarch_init): Update.
1478 * hppa-tdep.c (hppa_gdbarch_init): Update.
1479 * alpha-tdep.c (alpha_gdbarch_init): Update.
1480 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1481 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1482 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
1483 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
1484 push_dummy_frame to generic_push_dummy_frame.
1485 * v850-tdep.c (v850_gdbarch_init): Ditto.
1486 * sh-tdep.c (sh_gdbarch_init): Ditto.
1487 * s390-tdep.c (s390_gdbarch_init): Ditto.
1488 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1489 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1490 * mips-tdep.c (mips_gdbarch_init): Ditto.
1491 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1492 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1493 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1494 * i386-tdep.c (i386_gdbarch_init): Ditto.
1495 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1496 * frv-tdep.c (frv_gdbarch_init): Ditto.
1497 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1498 * cris-tdep.c (cris_gdbarch_init): Ditto.
1499 * avr-tdep.c (avr_gdbarch_init): Ditto.
1500 * arm-tdep.c (arm_gdbarch_init): Ditto.
1502 2003-02-26 Kevin Buettner <kevinb@redhat.com>
1504 * mips-tdep.c (show_mips_abi): New function.
1505 (_initialize_mips_tdep): Use show_mips_abi() to implement the
1506 command ``show mips abi''.
1508 2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
1510 From Elena Zannoni <ezannoni@redhat.com>
1511 * dbxread.c (process_one_symbol): Only record line 0 if one or
1512 more sline entries have been seen for the function.
1514 2003-02-26 Michael Chastain <mec@shout.net>
1516 * configure: Regenerate with autoconf 000227.
1518 2003-02-26 Michael Chastain <mec@shout.net>
1521 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
1522 for old libc5/glibc.
1523 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
1525 2003-02-26 Kris Warkentin <kewarken@qnx.com>
1527 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
1528 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
1530 2003-02-26 Michael Chastain <mec@shout.net>
1532 * configure.in: New variable HAVE_UINTPTR_T.
1533 * configure, config.in: Regenerated.
1535 2003-02-26 Daniel Jacobowitz <drow@mvista.com>
1538 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
1540 2003-02-25 Andrew Cagney <cagney@redhat.com>
1542 * frame.c (get_prev_frame): Add comment on check for
1543 inside_entry_func. Only check for inside_entry_file when not a
1544 dummy and not a sentinel. Check that the new frame is not inner
1547 2003-02-25 Andrew Cagney <cagney@redhat.com>
1549 * frame.c (frame_debug): New variable.
1550 (_initialize_frame): Add "set/show debug frame" command.
1551 (get_prev_frame): When frame_debug, print reason why unwind
1554 2003-02-25 Michael Chastain <mec@shout.net>
1556 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
1557 to avoid uintptr_t definition problems.
1559 2003-02-25 David Carlton <carlton@math.stanford.edu>
1561 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
1562 (SYMBOL_LINKAGE_NAME): Ditto.
1563 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
1564 SYMBOL_LINKAGE_NAME.
1565 (struct general_symbol_info): Expand comment.
1566 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
1567 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
1568 (SYMBOL_MATCHES_REGEXP): Ditto.
1569 * symtab.c (symbol_natural_name): New function.
1570 * objfiles.h: Replace all uses of SYMBOL_NAME by
1571 DEPRECATED_SYMBOL_NAME.
1572 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
1573 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
1574 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
1575 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
1576 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
1577 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
1578 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
1579 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
1580 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
1581 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
1583 * ada-exp.y: Update copyright.
1584 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
1585 * cp-valprint.c: Ditto.
1587 2003-02-25 Jeff Johnston <jjohnstn@redhat.com>
1589 * infptrace.c (detach): Do not flag error if ptrace detach fails
1590 and errno is set to ESRCH.
1592 2003-02-24 Andrew Cagney <cagney@redhat.com>
1594 * infptrace.c (udot_info): Change type of udot_off to long. Use
1595 paddr when printing udot_off's value.
1597 2003-02-24 David Carlton <carlton@math.stanford.edu>
1599 * symtab.c (make_symbol_overload_list): Only read in partial
1600 symtabs containing a matching partial symbol.
1602 2003-02-24 David Carlton <carlton@math.stanford.edu>
1604 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
1605 do the comparison, not strcmp.
1606 * symfile.c (compare_psymbols): Ditto.
1607 * defs.h: Declare strcmp_iw_ordered.
1608 * utils.c (strcmp_iw_ordered): New function.
1610 2003-02-24 Jim Blandy <jimb@redhat.com>
1612 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
1613 support, shared libs): Remove my name from here, to better reflect
1616 2003-02-24 Kris Warkentin <kewarken@qnx.com>
1618 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
1619 (target_ops): Add to_have_continuable_watchpoint.
1620 * target.c (update_current_target): Add INHERIT line for
1621 to_have_continuable_watchpoint.
1622 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
1623 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
1624 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
1625 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
1627 2003-02-24 Elena Zannoni <ezannoni@redhat.com>
1629 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
1632 2003-02-24 Kris Warkentin <kewarken@qnx.com>
1634 * solib.c (solib_open): Call target defined search function after
1635 failing with solib-search-path.
1636 * solist.h (target_so_ops): Add find_and_open_solib function hook and
1637 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
1639 2003-02-24 Kris Warkentin <kewarken@qnx.com>
1641 * MAINTAINERS: Add myself to Write After section.
1643 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1645 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
1647 2003-02-22 Stephane Carrez <stcarrez@nerim.fr>
1649 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
1650 (m68hc11_add_reggroups): New function.
1651 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
1652 (m68hc11_gdbarch_init): Install the reggroups.
1653 (_initialize_m68hc11_tdep): Initialize them.
1655 2003-02-21 James E Wilson <wilson@tuliptree.org>
1657 * MAINTAINERS: Update my email address.
1659 2003-02-21 David Carlton <carlton@math.stanford.edu>
1661 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
1663 2003-02-21 Daniel Jacobowitz <drow@mvista.com>
1665 Based on a patch from Daniel Berlin (dberlin@dberlin.org).
1666 * symtab.h: Add opaque declarations of struct axs_value and
1668 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
1669 (struct location_funcs): New type.
1670 (struct symbol): Add "loc" to aux_value.
1671 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
1672 * dwarf2read.c: Include "dwarf2expr.h".
1673 (dwarf2_symbol_mark_computed): New function.
1674 (read_func_scope): Use it.
1675 (var_decode_location): New function.
1676 (new_symbol): Use it.
1677 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
1679 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
1680 (dwarf2expr_h, dwarf2loc_h): New variables.
1681 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
1682 (dwarf2expr.o, dwarf2loc.o): New rules.
1683 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
1684 * buildsym.c (finish_block): Handle LOC_COMPUTED and
1686 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
1687 * m2-exp.y (yylex): Likewise.
1688 * printcmd.c (address_info, print_frame_args): Likewise.
1689 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
1690 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
1691 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
1692 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
1693 * symtab.c (lookup_block_symbol): Likewise.
1695 2003-02-20 Adam Fedor <fedor@gnu.org>
1697 * symtab.h: Remove objc_specific struct
1698 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
1699 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
1700 Have language_objc use cplus_specific struct.
1702 2003-02-20 Tom Tromey <tromey@redhat.com>
1704 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
1705 TYPE_NAME, when printing a String value. PR java/1075.
1707 2003-02-20 Adam Fedor <fedor@gnu.org>
1709 * objc-lang.h (find_methods): Remove declaration.
1710 * objc-lang.c (find_methods): Make static.
1712 2003-02-20 Christopher Faylor <cgf@redhat.com>
1714 * win32-nat.c (get_image_name): Check return value from
1716 (child_xfer_memory): Ditto.
1718 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1720 * configure.in (TARGET_SYSTEM_ROOT): Set default to
1721 ${exec_prefix}/${target_alias}/sys-root. Match explicit
1722 '${exec_prefix}' (in addition to the expansion thereof) as
1724 * configure: Rebuilt.
1726 2003-02-20 David Carlton <carlton@math.stanford.edu>
1728 * symtab.c (search_symbols): Revert the search_symbols part of my
1729 2002-12-23 patch. Add comment.
1731 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
1733 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
1734 * dbxread.c (elfstab_build_psymtabs): Don't call
1735 install_minimal_symbols.
1736 (stabsect_build_psymtabs): Likewise.
1737 * elfread.c (elf_symfile_read): Call install_minimal_symbols
1739 * somread.c (som_symfile_read): Call install_minimal_symbols
1740 and do_cleanups earlier.
1741 * nlmread.c (nlm_symfile_read): Likewise.
1742 * mdebugread.c (elfmdebug_build_psymtabs): Call
1743 install_minimal_symbols and make appropriate cleanups.
1745 2003-02-20 Kevin Buettner <kevinb@redhat.com>
1747 * solib.c (reload_shared_libraries): New function.
1748 (_initialize_solib): Add callbacks for ``set solib-search-path''
1749 and ``set solib-absolute-prefix''.
1751 2003-02-20 David Carlton <carlton@math.stanford.edu>
1753 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
1755 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
1756 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
1757 * ada-typeprint.c (ada_typedef_print): Ditto.
1758 * ax-gdb.c (gen_var_ref): Ditto.
1759 * breakpoint.c (print_one_breakpoint): Ditto.
1760 * buildsym.c (finish_block): Ditto.
1761 * c-valprint.c (c_val_print): Ditto.
1762 * expprint.c (print_subexp): Ditto.
1763 * findvar.c (locate_var_value): Ditto.
1764 * infcmd.c (jump_command): Ditto.
1765 * linespec.c (decode_line_2, decode_compound): Ditto.
1766 * maint.c (maintenance_translate_address): Ditto.
1767 * objc-lang.c (compare_selectors, compare_classes): Ditto.
1768 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
1770 * p-valprint.c (pascal_val_print): Ditto.
1771 * stabsread.c (define_symbol): Ditto.
1772 * stack.c (print_frame, frame_info, print_block_frame_locals)
1773 (print_frame_arg_vars, return_command): Ditto.
1774 * symfile.c (compare_symbols, compare_psymbols): Ditto.
1775 * symmisc.c (print_symbol): Ditto.
1776 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
1777 (compare_search_syms, print_symbol_info, print_msymbol_info)
1778 (rbreak_command): Ditto.
1779 * tracepoint.c (tracepoints_info): Ditto.
1780 * typeprint.c (typedef_print): Ditto.
1781 * valops.c (value_of_variable, hand_function_call): Ditto.
1782 * cli/cli-cmds.c (edit_command, list_command): Ditto.
1783 * ada-typeprint.c: Update Copyright.
1784 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
1785 * tracepoint.c, cli/cli-cmds.c: Ditto.
1787 2003-02-20 Kevin Buettner <kevinb@redhat.com>
1789 * frame.c (generic_unwind_get_saved_register): Make non-static.
1790 * frame.h (generic_unwind_get_saved_register): Declare.
1791 * mips-tdep.c (read_next_frame_reg): Fetch register from
1792 current regcache when frame is NULL.
1793 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
1795 (mips_get_saved_register): Call generic_unwind_get_saved_register()
1796 instead of frame_register_unwind().
1798 2003-02-20 Andrew Cagney <ac131313@redhat.com>
1800 * remote-sim.c (gdbsim_insert_breakpoint)
1801 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
1804 2003-02-20 Andrew Cagney <ac131313@redhat.com>
1806 * remote.c (_initialize_remote): Add commands "set/show remote
1807 hardware-watchpoint-limit" and "set/show remote
1808 hardware-breakpoint-limit".
1809 (remote_hw_watchpoint_limit): Initialize to -1.
1810 (remote_hw_breakpoint_limit): Ditto.
1811 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
1813 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
1815 * coff-pe-read.c: New file - support reading of minimal symbols from a
1816 portable executable using the export table.
1817 * coff-pe-read.h: New file.
1818 * coffread.c: Include coff-pe-read.h.
1819 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
1820 debugging symbols found.
1821 * Makefile.in (SFILES): Add coff-pe-read.o.
1822 (coff_pe_read_h): Define.
1823 (COMMON_OBS): Add coff-pe-read.o.
1824 (coffread.o): Add coff_pe_read_h dependency.
1825 (coff-pe-read.o): New target.
1827 2003-02-19 David Carlton <carlton@math.stanford.edu>
1829 * Makefile.in (SFILES): Add block.c.
1831 (COMMON_OBS): Add block.o.
1833 (x86-64-tdep.o): Add $(block_h).
1834 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
1835 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
1836 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
1837 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
1838 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
1839 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
1840 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
1841 * value.h: Add opaque declaration for struct block.
1842 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
1843 * ada-lang.h: Ditto.
1844 * x86-64-tdep.c: #include "block.h"
1845 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
1846 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
1847 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
1848 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
1849 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
1850 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
1851 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
1852 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
1853 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
1854 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
1855 * symtab.c (block_function): Ditto.
1856 (contained_in): Ditto.
1857 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
1858 block.h. Add opaque declaration for struct block.
1859 * symtab.h: Move block_function and contained_in declarations to
1860 block.h. Add opaque declarations for struct block, struct
1862 (struct block): Move to block.h.
1863 (struct blockvector): Ditto.
1864 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
1865 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
1866 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
1867 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
1868 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
1870 * block.c: New file.
1871 * block.h: New file.
1873 2003-02-19 Theodore A. Roth <troth@openavr.org>
1875 * avr-tdep.c (avr_extract_return_value): Remove function.
1876 (avr_store_return_value): Remove function.
1877 (avr_extract_struct_value_address): Remove function.
1878 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
1880 2003-02-19 Andrew Cagney <ac131313@redhat.com>
1882 * rs6000-tdep.c: Include "gdb_assert.h".
1883 (registers_e500): Add "acc" and "spefscr".
1884 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
1885 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
1886 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
1888 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
1890 2003-02-18 Keith Seitz <keiths@redhat.com>
1892 * Makefile.in: Add gdbtk-interps.c.
1894 2003-02-18 Kevin Buettner <kevinb@redhat.com>
1896 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
1897 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
1899 2003-02-18 Andrew Cagney <cagney@redhat.com>
1901 * symtab.h (struct objfile): Add opaque declaration.
1903 2003-02-18 Elena Zannoni <ezannoni@redhat.com>
1905 From Jim Ingham <jingham@apple.com>:
1906 * dbxread.c (process_one_symbol): Use last_function_start rather
1907 than function_start_offset to find the real beginning of the
1908 current function. The latter is just the text section offset on
1909 some systems, the former is always the real function start.
1911 2003-02-17 Andrew Cagney <cagney@redhat.com>
1913 * configure.in: Revert ${target} != ${host}.
1915 2003-02-17 Andrew Cagney <ac131313@redhat.com>
1917 * configure.in (Makefile): Use the test ${target} != ${host},
1918 instead of the absence of the "nm.h" file, to determine of the
1919 configuration non-native.
1920 * configure: Regenerate.
1922 2003-02-14 Elena Zannoni <ezannoni@redhat.com>
1924 From Brian Ford <ford@vss.fsi.com>
1926 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
1927 conditionalize tui_active test.
1928 (lookup_cmd_1): Ditto.
1930 2003-02-14 Mark Kettenis <kettenis@gnu.org>
1932 * configure.in: Add check for _etext.
1933 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
1935 * config.in, configure: regenerated.
1937 2003-02-14 Daniel Jacobowitz <drow@mvista.com>
1939 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
1941 2003-02-14 Andrew Cagney <ac131313@redhat.com>
1943 * main.c (tui_version): Delete variable.
1944 (captured_main): When --tui, set interpreter_p to "tui" instead of
1945 enabling tui_version.
1946 * printcmd.c (display_command) [TUI]: Test tui_active instead of
1948 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
1949 * cli/cli-cmds.c (disassemble_command): Ditto.
1950 * defs.h (tui_version): Delete declaration.
1951 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
1952 (tui-interp.o): Add rules.
1953 (SUBDIR_TUI_OBS): Add "tui-interp.o".
1955 2003-02-14 Christopher Faylor <cgf@redhat.com>
1957 * win32-nat.c (register_loaded_dll): Correctly set address range for
1960 2003-02-12 Jason Molenda (jmolenda@apple.com)
1962 * symmisc.c (print_objfile_statistics): Include information about
1963 the number of psymtabs and symtabs in each object file.
1965 2003-02-13 Keith R Seitz <keiths@redhat.com>
1967 * main.h (struct captured_main_args): Add interpreter_p.
1968 * main.c (captured_main): Initialize interpreter_p from context.
1969 * gdb.c (main): Set interpreter_p argument.
1970 * Makefile.in (gdb.o): Add dependency for interps.h.
1972 2003-02-12 Andrew Cagney <ac131313@redhat.com>
1974 * event-top.c (cli_command_loop): Delete declaration.
1975 (_initialize_event_loop): Delete function setting event_loop_hook.
1976 * event-top.h (cli_command_loop): Declare. Update copyright.
1977 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
1978 * interps.c (current_interp_command_loop): When event_loop_p, call
1981 2003-02-12 Andrew Cagney <ac131313@redhat.com>
1983 * interps.h (interp_command_loop_ftype): Change return type to
1986 2003-02-12 Michal Ludvig <mludvig@suse.cz>
1988 * x86-64-tdep.c (x86_64_extract_return_value)
1989 (x86_64_store_return_value): Use regcache instead of regbuf.
1990 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
1991 * x86-64-linux-nat.c (fill_gregset): Use regcache.
1993 2003-02-11 Andrew Cagney <ac131313@redhat.com>
1995 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
1996 * aclocal.m4: Regenerate.
1997 * configure: Regenerate.
1999 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
2000 TCL_LD_SEARCH_FLAGS.
2002 2003-02-10 Michal Ludvig <mludvig@suse.cz>
2004 * dwarf2cfi.c: Reindented.
2006 2003-02-09 Andrew Cagney <ac131313@redhat.com>
2008 * interps.c (clear_interpreter_hooks): Convert function definition
2011 2003-02-07 David Carlton <carlton@math.stanford.edu>
2013 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
2015 2003-02-07 Kevin Buettner <kevinb@redhat.com>
2017 * gdbtypes.h (struct main_type): Move ``length'' field from here...
2018 (struct type): ...to here.
2019 (TYPE_LENGTH): Adjust to reflect different location of ``length''
2021 * gdbtypes.c (make_qualified_type): Set length on newly created type.
2022 (replace_type): Set length on all type variants for a given type.
2024 2003-02-07 Andrew Cagney <ac131313@redhat.com>
2026 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
2028 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
2030 2003-02-06 Andrew Cagney <ac131313@redhat.com>
2032 * Makefile.in (symm-nat.o): Update dependencies.
2033 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
2034 (lynx-nat.o, ia64-linux-nat.): Ditto.
2035 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
2036 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
2037 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
2039 * Makefile.in (inflow_h): Define.
2040 (procfs.o, inflow.o, procfs.o): Update dependencies.
2041 * inftarg.c (child_stop): Delete extern declaration of
2042 inferior_process_group. Include "inflow.h".
2043 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
2044 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
2045 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
2046 (our_process_group, inferior_process_group): Extern declarations.
2048 * procfs.c: Include "gdb_assert.h".
2050 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
2051 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
2052 * jv-typeprint.c (java_type_print_base): Ditto.
2053 * typeprint.c (typedef_print): Eliminate STREQ.
2054 * cli/cli-script.c (define_command, define_command): Ditto.
2055 * main.c (captured_main): Ditto.
2056 * values.c (lookup_internalvar): Ditto.
2057 * utils.c (safe_strerror, parse_escape): Eliminate assignment
2058 within `if' conditional.
2059 * linespec.c (decode_line_2): Ditto.
2060 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
2061 (bfd_openw_with_cleanup): Ditto.
2063 2003-02-07 Mark Kettenis <kettenis@gnu.org>
2065 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
2066 legacy_extract_return_value and store_return_value to
2067 legacy_return_value.
2069 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
2071 * win32-nat.c (get_relocated_section_addrs): New function. Find
2072 section load addresses for symbol handling in relocated DLLs.
2073 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
2075 2003-02-05 Fred Fish <fnf@intrinsity.com>
2077 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
2079 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
2081 (angel_RDI_info): Ditto.
2082 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
2084 (threads_continue_all_with_signals): Ditto.
2086 2003-02-05 Jim Ingham <jingham@apple.com>
2087 Keith Seitz <keiths@redhat.com>
2088 Elena Zannoni <ezannoni@redhat.com>
2089 Andrew Cagney <ac131313@redhat.com>
2091 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
2092 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
2093 (SUBDIR_MI_OBS): Add "mi-interp.o".
2094 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
2095 (SFILES): Add "interps.c".
2096 (COMMON_OBS): Add "interps.o".
2097 (interps_h, mi_main_h): Define.
2098 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
2099 (mi-main.o, main.o, event-top.o): Update dependencies.
2100 * cli/cli-interp.c: New file.
2101 * interps.h, interps.c: New files.
2102 * top.c: (gdb_init): Don't install the default interpreter, handed
2104 * main.c: Include "interps.h".
2105 (interpreter_p): Note that it should malloc'ed.
2106 (captured_command_loop): Call current_interp_command_loop.
2107 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
2108 xfree and xstrdup when updating interpreter_p. Install the
2109 default interpreter. Add hack to stop mi1's copyright notice
2111 * event-top.h (gdb_setup_readline): Declare.
2112 (gdb_disable_readline): Declare.
2113 * event-top.c: Include "interps.h".
2114 (display_gdb_prompt): Call current_interp_display_prompt_p.
2115 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
2116 gdb_stdlog, and gdb_stdtarg.
2117 (_initialize_event_loop): Don't call gdb_setup_readline.
2118 * cli-out.c (cli_out_set_stream): New function.
2119 * cli-out.h (cli_out_set_stream): Declare.
2121 2003-02-06 Mark Kettenis <kettenis@gnu.org>
2123 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
2124 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
2125 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
2126 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
2127 config/i386/i386v42mp.mt: Removed.
2129 2003-02-05 Mark Kettenis <kettenis@gnu.org>
2131 * configure.tgt (*-*-solaris*): Set gdb_osabi to
2134 2003-02-05 Michael Chastain <mec@shout.net>
2136 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
2137 2.12.1 and earlier versions.
2139 2003-02-05 Andrew Cagney <ac131313@redhat.com>
2141 Remove orphaned hosts, targets and files.
2142 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
2143 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
2144 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
2145 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
2146 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
2147 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
2148 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
2149 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
2150 * config/sparc/tm-sp64sim.h: Delete.
2151 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
2153 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
2154 mips*-dec-mach3* targets.
2156 2003-02-04 Michael Chastain <mec@shout.net>
2158 * NEWS: Fix typo: sepcifying -> specifying.
2160 2003-02-04 Michael Chastain <mec@shout.net>
2162 * dwarfread.c: Add documentation on the state of dwarf-1,
2163 looking towards obsoletion.
2165 2003-02-03 Michael Chastain <mec@shout.net>
2167 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
2168 gdb/testsuite/gdb.c++/pr-1023.exp.
2170 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2172 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
2173 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
2175 * utils.c (init_page_info): Delete reference to MPW in comments.
2176 * main.c (captured_main): Delete #ifdef MPW.
2178 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2180 * NEWS: Note that the m32r-*-elf* is obsolete.
2181 * monitor.c (monitor_expect): Obsolete reference to m32r.
2182 * configure.tgt: Mark m32r-*-elf* as obsolete.
2183 * MAINTAINERS: Mark m32k as obsolete.
2184 * m32r-rom.c: Obsolete file.
2185 * config/m32r/m32r.mt: Obsolete file.
2186 * config/m32r/tm-m32r.h: Obsolete file.
2187 * m32r-stub.c: Obsolete file.
2188 * m32r-tdep.c: Obsolete file.
2190 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2192 * NEWS: Mention that the z8k-zilog-none is obsolete.
2193 * MAINTAINERS: Mark z8k as obsolete.
2194 * configure.tgt: Obsolete the z8k-*-coff* target.
2195 * config/z8k/z8k.mt: Obsolete file.
2196 * config/z8k/tm-z8k.h: Obsolete file.
2197 * z8k-tdep.c: Obsolete file.
2199 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2201 * NEWS: Mention that the mn10200-elf is obsolete.
2202 * configure.tgt: Obsolete mn10200-*-* target.
2203 * breakpoint.c (update_breakpoints_after_exec): Update comment to
2204 mention that the mn10200 is obsolete.
2205 * breakpoint.h: Ditto.
2206 * MAINTAINERS: Mark the mn10200-elf as obsolete.
2207 * config/mn10200/mn10200.mt: Obsolete file.
2208 * config/mn10200/tm-mn10200.h: Obsolete file.
2209 * mn10200-tdep.c: Obsolete file.
2211 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2213 * MAINTAINERS: Mark h8500 as obsolete.
2214 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
2215 * findvar.c (value_from_register): Ditto.
2216 * h8500-tdep.c: Mark file as obsolete.
2217 * config/h8500/h8500.mt: Ditto.
2218 * config/h8500/tm-h8500.h: Ditto.
2219 * NEWS: Mention that h8500 is obsolete.
2221 2003-02-04 David Carlton <carlton@math.stanford.edu>
2223 * objfiles.c (allocate_objfile): Always set name. Add comment at
2225 * jv-lang.c (get_dynamics_objfile): Add comment.
2227 2003-02-04 David Carlton <carlton@math.stanford.edu>
2229 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
2230 * printcmd.c (build_address_symbolic): Replace uses of
2231 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
2232 SYMBOL_NAME, and asm_demangle.
2235 2003-02-04 David Carlton <carlton@math.stanford.edu>
2237 * linespec.c (decode_compound): Extract code into
2239 (lookup_prefix_sym): New function.
2241 2003-02-04 David Carlton <carlton@math.stanford.edu>
2243 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
2244 FLOAT_COERCION_BADNESS.
2245 * gdbtypes.c (rank_one_type): Replace all uses of
2246 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
2248 2003-02-04 Jim Blandy <jimb@redhat.com>
2250 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
2251 section, let dwarf_macinfo_section point to it, not
2254 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
2256 Pointed out by Anton Blanchard <anton@samba.org>.
2257 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
2258 (ppc_linux_at_sigtramp_return_path): Use it.
2260 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
2262 * defs.h (streq): Add prototype.
2263 * utils.c (streq): New function.
2265 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
2266 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
2267 * mdebugread.c (new_symbol): Likewise.
2268 * stabsread.c (define_symbol): Likewise.
2269 * coffread.c (process_coff_symbol): Likewise.
2270 * dwarfread.c (new_symbol): Likewise.
2272 * minsyms.c (prim_record_minimal_symbol_and_info): Use
2273 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
2275 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
2276 SYMBOL_INIT_DEMANGLED_NAME.
2277 * objfiles.c: Include "hashtab.h".
2278 (allocate_objfile): Call htab_set_functions_ex for the
2279 demangled_names_hash.
2280 (free_objfile): Call htab_delete for the demangled_names_hash.
2281 * objfiles.h (struct htab): Add declaration.
2282 (struct objfile): Add demangled_names_hash.
2283 * symfile.c: Include "hashtab.h".
2284 (reread_symbols): Call htab_delete for the demangled_names_hash.
2285 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
2286 SYMBOL_NAME in the bcache.
2287 * symtab.c: Include "hashtab.h". Update comments.
2288 (create_demangled_names_hash, symbol_set_names): New functions.
2289 (symbol_find_demangled_name): New function, broken out from
2290 symbol_init_demangled_names.
2291 (symbol_init_demangled_names): Use it.
2292 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
2293 (SYMBOL_SET_NAMES): New macro.
2294 (symbol_set_names): Add prototype.
2296 2003-02-03 Jim Blandy <jimb@redhat.com>
2298 Use a single, consistent representation for an empty minimal
2299 symbol table in an objfile.
2300 * objfiles.c (terminate_minimal_symbol_table): New function.
2301 (allocate_objfile): Call it.
2302 * objfiles.h (terminate_minimal_symbol_table): New declaration.
2303 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
2305 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
2306 objfile has minimal symbols, compare minimal_symbol_count to zero,
2307 instead of comparing msymbols with NULL.
2308 * objfiles.c (have_minimal_symbols): Same.
2309 * solib-sunos.c (solib_add_common_symbols): Call
2310 terminate_minimal_symbol_table.
2311 * symfile.c (reread_symbols): Same.
2313 2003-02-03 Kevin Buettner <kevinb@redhat.com>
2315 * s390-tdep.c (s390_address_class_type_flags)
2316 (s390_address_class_type_flags_to_name)
2317 (s390_address_class_name_to_type_flags): New functions.
2318 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
2319 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
2321 2003-02-03 Michael Snyder <msnyder@redhat.com>
2323 * arm-tdep.c: Fix spell-o in comment.
2325 2003-02-03 Michal Ludvig <mludvig@suse.cz>
2327 * dwarf2cfi.c (pointer_encoding): Added new parameter.
2328 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
2329 error messages to contain BFD filename.
2331 2003-02-02 Elena Zannoni <ezannoni@redhat.com>
2333 Fix PR gdb/742 gdb/743 gdb/877
2334 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
2335 (do_mixed_source_and_assembly): Use
2336 make_cleanup_ui_out_tuple_begin_end and
2337 make_cleanup_ui_out_tuple_begin_end.
2338 (do_mixed_source_and_assembly): Ditto.
2339 * thread.c (do_captured_list_thread_ids): Ditto.
2340 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
2341 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
2342 ui_out_tuple_end): Delete prototypes.
2343 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
2344 ui_out_list_end, ui_out_tuple_end): Delete.
2346 From Kevin Buettner <kevinb@redhat.com>:
2347 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
2348 * ui-out.c (make_cleanup_ui_out_table_begin_end)
2349 (do_cleanup_table_end): New functions.
2350 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
2351 Use cleanups to invoke_ui_out_tuple_end().
2352 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
2353 * cli/cli-setshow.c (cmd_show_list): Use
2354 make_cleanup_ui_out_tuple_begin_end.
2356 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2358 * frame.c (frame_unwind_register): New function.
2359 (frame_unwind_unsigned_register): Use.
2360 (frame_unwind_signed_register): Use.
2361 (frame_read_register): New function.
2362 * frame.h (frame_unwind_register): Declare.
2363 (frame_read_register): Declare.
2365 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
2366 and frame_unwind_register instead of read_memory, write_register
2367 and deprecated_write_register_bytes.
2369 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2371 * frame.h: Note that namelen can be negative.
2372 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
2375 * NEWS: Mention that the d10v's `regs' command is deprecated.
2376 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
2377 (d10v_print_registers_info): New function.
2378 (show_regs): Call d10v_print_registers_info.
2379 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
2381 2003-02-02 Mark Kettenis <kettenis@gnu.org>
2383 * stack.c (print_frame_info): Restore call to annotate_frame_begin
2384 lost in the previous patch.
2386 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2388 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
2389 * stack.c (print_frame_info_base): Output complete FRAME tuple
2390 for synthesized frames.
2392 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2394 * mips-nat.c (zerobuf): Delete.
2395 (fetch_inferior_registers): Alloc local zerobuf.
2396 (fetch_core_registers): Alloc local zerobuf.
2397 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
2398 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
2399 * thread-db.c (thread_db_store_registers): Ditto.
2400 * sh-tdep.c (sh_do_register): Ditto.
2401 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
2402 * remote-sim.c (gdbsim_store_register): Ditto.
2403 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
2404 * remote-e7000.c (fetch_regs_from_dump): Ditto.
2405 * monitor.c (monitor_supply_register): Ditto.
2406 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
2407 * mips-nat.c (fetch_inferior_registers): Ditto.
2408 * m68klinux-nat.c (fetch_register): Ditto.
2409 * lynx-nat.c (fetch_inferior_registers): Ditto.
2410 (fetch_inferior_registers): Ditto.
2411 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
2412 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
2413 (hpux_thread_store_registers): Ditto.
2414 * hppah-nat.c (fetch_register): Ditto.
2415 * hppab-nat.c (fetch_register): Ditto.
2416 * hppa-tdep.c (pa_register_look_aside): Ditto.
2417 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
2418 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
2420 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2422 * gdbarch.sh: Explictly specify all method levels. When a
2423 variable with an empty level, provide a non-multi-arch default.
2424 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
2425 * gdbarch.h: Re-generate.
2426 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
2427 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
2429 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2431 * defs.h (host_pointer_to_address): Delete declaration.
2432 (address_to_host_pointer): Delete declaration.
2433 * utils.c (host_pointer_to_address): Delete function.
2434 (address_to_host_pointer): Delete function.
2435 * procfs.c (procfs_address_to_host_pointer): New function.
2436 * procfs.c (proc_set_watchpoint): Use.
2437 (procfs_can_use_hw_breakpoint): Update comments.
2438 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
2439 (som_solib_add): Use.
2440 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
2441 * hppa-tdep.c (unwind_command): Use.
2443 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2445 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
2448 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
2449 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
2450 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
2451 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
2452 (define_symbol): Update.
2453 * symfile.c (generic_load): Remove references to nindy.
2454 * symtab.c: Remove references to nindy.
2456 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2458 * infcmd.c (print_float_info): Delete code conditional on
2460 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
2461 * config/m68k/nm-apollo68b.h: Ditto.
2462 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
2463 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
2464 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
2466 2003-02-01 Mark Kettenis <kettenis@gnu.org>
2468 * config/i386/tm-i386os9k.h: Removed.
2470 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
2471 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
2472 they're identical to i[3456]86-*-sysv* now.
2473 * config/i386/i386v32.mh: Removed.
2474 * config/i386/xm-i386v32.h: Removed.
2475 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
2477 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
2479 * config/i386/i386dgux.mh: Removed.
2480 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
2482 * configure.in: Fix typo.
2483 * configure: Regenerated.
2485 2003-01-31 David Carlton <carlton@math.stanford.edu>
2487 * dwarf2read.c (dwarf2_locate_sections): Set
2488 dwarf_ranges_section.
2490 2003-01-31 Andrew Cagney <ac131313@redhat.com>
2492 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
2493 * utils.c: Update comments documenting legitimate uses of PTR.
2495 * utils.c: Re-indent.
2497 * config/djgpp/fnchange.lst: Delete nindy files.
2498 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
2499 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
2500 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
2501 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
2502 * nindy-share/README, nindy-share/Onindy.c: Delete files.
2503 * nindy-tdep.c, nindy-share/Makefile: Delete files.
2504 * Makefile.in (init.c): Remove nindy references.
2505 (saber_gdb): Delete rule.
2506 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
2507 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
2509 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
2510 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
2511 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
2512 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
2514 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
2515 * saber.suppress: Delete file.
2517 2003-01-31 Daniel Jacobowitz <drow@mvista.com>
2519 * dbxread.c (stabs_data): New static variable.
2520 (fill_symbuf): Support an in-memory buffer for stabs data.
2521 (stabs_seek): New function.
2522 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
2523 (read_ofile_symtab): Use stabs_seek.
2524 (elfstab_build_psymtabs): Take an asection* instead of
2525 an offset and size. Relocate the stabs data if necessary.
2526 Save the section* for dbx_psymtab_to_symtab.
2527 * dwarf2read.c: Add section variables for each debug section.
2528 (dwarf2_locate_sections): Fill them in.
2529 (dwarf2_read_section): Take an asection* argument.
2530 Relocate the section contents if necessary.
2531 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
2532 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
2533 it to dwarf2_read_section.
2534 (dwarf2_build_frame_info): Update callers.
2535 * elfread.c (elf_symfile_read): Update call to
2536 elfstab_build_psymtabs.
2537 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
2538 (DBX_STAB_SECTION): New macro.
2539 * stabsread.h (elfstab_build_psymtabs): Update prototype.
2540 * symfile.c (symfile_dummy_outputs): New function.
2541 (symfile_relocate_debug_section): New function.
2542 * symfile.h (symfile_relocate_debug_section): Add prototype.
2544 2003-01-31 Richard Henderson <rth@redhat.com>
2546 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
2547 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
2548 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
2549 * alpha-tdep.c (alpha_register_name): Add "unique".
2550 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
2551 (ALPHA_UNIQUE_REGNUM): New.
2552 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
2554 2003-01-31 Andrew Cagney <ac131313@redhat.com>
2556 * README: Remove reference to Ericsson 1800 monitor.
2557 * Makefile.in (remote-es.o): Delete rule.
2558 (ALLDEPFILES): Delete remote-es.c.
2559 * remote-es.c: Delete file.
2560 * config/m68k/es1800.mt: Delete file.
2561 * config/djgpp/fnchange.lst: Update.
2562 * configure.tgt: Delete m68*-ericsson-* target.
2564 2003-01-31 Adam Fedor <fedor@gnu.org>
2566 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
2567 Remove duplicate/shadowing variable of same name.
2569 2003-01-30 Jim Blandy <jimb@redhat.com>
2571 * symfile.c (find_separate_debug_file): Assert that the objfile's
2572 directory name we compute ends with a slash, and then assume that
2573 that's so everywhere we use it.
2575 2003-01-30 Daniel Jacobowitz <drow@mvista.com>
2577 * valops.c (value_assign): Flush frame cache after stores to memory
2580 2003-01-30 Andrew Cagney <ac131313@redhat.com>
2582 * Makefile.in (mon960-rom.o): Delete rule.
2583 * mon960-rom.c: Delete file.
2585 2003-01-30 Andrew Cagney <ac131313@redhat.com>
2587 * d10v-tdep.c: Include "frame-unwind.h".
2588 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
2590 (next_addr, uses_frame): Delete.
2591 (struct d10v_unwind_cache): Define.
2592 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
2593 Use info instead of next_addr and uses_frame globals.
2594 (d10v_frame_init_saved_regs): Delete function.
2595 (d10v_init_extra_frame_info): Delete function.
2596 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
2597 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
2598 init_frame_pc or frame_saved_pc.
2599 (d10v_pop_frame): Delete function.
2600 (do_d10v_pop_frame): Delete function.
2601 (d10v_frame_chain): Delete function.
2602 (d10v_frame_chain_valid): Delete function.
2603 (d10v_frame_pc_unwind): New function.
2604 (d10v_frame_id_unwind): New function.
2605 (saved_regs_unwinder): New function.
2606 (d10v_frame_register_unwind): New function.
2607 (d10v_frame_pop): New function.
2608 (d10v_frame_unwind): New variable.
2609 (d10v_frame_p): New function.
2610 (d10v_frame_saved_pc): Delete function.
2611 * Makefile.in (d10v-tdep.o): Update dependencies.
2613 2003-01-30 J. Brobecker <brobecker@gnat.com>
2615 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
2616 causing some regressions due to a change in the default value
2619 2003-01-29 Richard Henderson <rth@redhat.com>
2620 Elena Zannoni <ezannoni@redhat.com>
2621 Daniel Jacobowitz <drow@mvista.com>
2624 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
2626 (RANGES_SECTION): New.
2627 (dwarf_ranges_buffer): New variable.
2628 (struct comp_unit_head): Add member "die".
2629 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
2630 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
2631 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
2632 (dwarf2_locate_sections): Likewise.
2633 (dwarf2_build_psymtabs): Read .debug_ranges.
2634 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
2635 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
2636 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
2637 Look for DW_AT_ranges and return the bounding box.
2639 2003-01-29 Brian Ford <ford@vss.fsi.com>
2641 * win32-nat.c (cygwin_pid): Removed as unused.
2642 (child_attach): Try fall back to Cygwin pid.
2644 2003-01-29 Jim Blandy <jimb@redhat.com>
2646 * objfiles.h (struct objfile): Doc fix.
2648 2003-01-29 Andrew Cagney <ac131313@redhat.com>
2650 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
2651 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
2652 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
2653 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
2654 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
2655 (FRAME_SAVED_PC): Change to a function with predicate.
2656 * gdbarch.h, gdbarch.c: Re-generate.
2658 2003-01-28 Andrew Cagney <ac131313@redhat.com>
2660 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
2662 * complaints.c (complain): Delete function.
2663 * complaints.h (struct deprecated_complaint): Delete definition.
2664 (complain): Delete declaration.
2666 2003-01-28 Kevin Buettner <kevinb@redhat.com>
2668 * mips-tdep.c (mips_init_extra_frame_info): Return early for
2671 2003-01-27 Andrew Cagney <ac131313@redhat.com>
2673 * sentinel-frame.h, sentinel-frame.c: New files.
2674 * Makefile.in (frame.o): Update dependencies.
2675 (SFILES): Add sentinel-frame.c.
2676 (sentinel_frame_h): Define.
2677 (COMMON_OBS): Add sentinel-frame.o.
2678 (sentinel-frame.o): Specify dependencies.
2679 * frame.c: Include "sentinel-frame.h".
2680 (frame_register_unwind): Rewrite assuming that there is always a a
2682 (frame_register, generic_unwind_get_saved_register): Ditto.
2683 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
2684 (create_sentinel_frame, unwind_to_current_frame): New functions.
2685 (get_current_frame): Rewrite using create_sentinel_frame and
2686 unwind_to_current_frame. When possible, always create a frame.
2687 (create_new_frame): Set next to the sentinel frame.
2688 (get_next_frame): Rewrite. Don't go below the level 0 frame.
2689 (deprecated_update_frame_pc_hack): Update the next frame's PC and
2690 ID cache when necessary.
2691 (frame_saved_regs_id_unwind): Use frame_relative_level.
2692 (deprecated_generic_get_saved_register): Use frame_relative_level,
2693 get_frame_saved_regs, get_frame_pc, get_frame_base and
2695 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
2698 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
2700 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
2702 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
2704 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
2705 (maintenance_set_profile_cmd): Use error () instead of warning ().
2707 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
2709 * configure.in: Check that -pg works if using --enable-profiling.
2710 Check for monstartup and _mcleanup regardless of --enable-profiling.
2711 * maint.c: Check for monstartup and _mcleanup before using them.
2712 * config.in: Regenerated.
2713 * configure: Regenerated.
2715 2003-01-24 Nick Clifton <nickc@redhat.com>
2719 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
2721 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
2722 (sh2e_show_regs): New.
2723 (sh_gdbarch_init): Handle bfd_mach_sh2e.
2724 * config/sh/tm-sh.h: Added sh2e to comments.
2726 2003-01-23 Jim Blandy <jimb@redhat.com>
2728 * symfile.c (syms_from_objfile): Don't print the "(no debugging
2729 symbols found)" message here; we haven't checked for a separate
2730 debug info file yet, so we don't know yet.
2731 (symbol_file_add_with_addrs_or_offsets): Print it here, after
2732 we've looked everywhere. Also, there's no need to print a special
2733 message when we're loading the separate debug info file: the one
2734 symbol_file_add prints is fine.
2736 2003-01-23 Alexander Larsson <alexl@redhat.com>
2737 Jim Blandy <jimb@redhat.com>
2739 Add support for executables whose debug info has been separated
2740 out into a separate file, leaving only a link behind.
2741 * objfiles.h (struct objfile): New fields: separate_debug_objfile
2742 and separate_debug_objfile_backlink.
2743 (put_objfile_before): New declaration.
2744 * symfile.c: #include "filenames.h".
2745 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
2746 debug info in a separate file, read that, too. Save the addrs
2747 argument, so we can use it again to read the separated debug info;
2748 syms_from_objfile modifies the table we pass it.
2749 (reread_symbols): After re-reading an objfile, call
2750 reread_separate_symbols to refresh its separate debug info
2751 objfile, if it has one.
2752 (reread_separate_symbols, find_separate_debug_file,
2753 get_debug_link_info, separate_debug_file_exists): New functions.
2754 (debug_file_directory): New global var.
2755 (_initialize_symfile): Initialize debug_file_directory, and
2756 provide the new `set debug-file-directory' command to let the user
2758 * objfiles.c (free_objfile): If this objfile has its debug info in
2759 a separate objfile, free that one too. If this is itself a
2760 separate debug info objfile, clear our parent's backlink.
2761 (put_objfile_before): New function.
2762 * utils.c (gnu_debuglink_crc32): New function.
2763 * defs.h (gnu_debuglink_crc32): New declaration.
2764 * Makefile.in (symfile.o): Note dependency on "filenames.h".
2765 * configure.in: Handle --with-separate-debug-dir config option.
2766 * acinclude.m4 (AC_DEFINE_DIR): New macro.
2767 * acconfig.h (DEBUGDIR): New macro.
2768 * configure, aclocal.m4, config.in: Regenerated.
2770 2003-01-22 Jim Blandy <jimb@redhat.com>
2772 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
2773 like the old symbol_file_add, but taking new arguments: you can
2774 now pass in either a `struct section_addr_info' list to say where
2775 each section is loaded, or a `struct section_offsets' table. Pass
2776 these new arguments through to syms_from_objfile as appropriate.
2777 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
2778 with the appropriate quiescent values for the new arguments.
2780 * symfile.c: #include "gdb_assert.h".
2781 (syms_from_objfile): Add the ability to pass in a section offset
2782 table directly, as an alternative to the section_addr_info table.
2783 Document arguments better.
2784 (symbol_file_add): Pass extra arguments to syms_from_objfile.
2785 * symfile.h (syms_from_objfile): Update declaration.
2786 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
2788 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
2790 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
2792 Original patch by Tom Tromey <tromey@cygnus.com> and
2793 Jason Molenda <jmolenda@apple.com>.
2794 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
2795 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
2796 * NEWS: Mention profiling.
2797 * configure.in (--enable-gdbtk): Fix typo.
2798 (--enable-profiling): New. Set PROFILE_CFLAGS.
2799 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
2801 (profiling_state): New variable.
2802 (mcleanup_wrapper): New function.
2803 (_initialize_maint): Remove NOTYET, fix call to
2804 add_setshow_boolean_cmd for "maint set profile".
2805 * configure: Regenerated.
2807 2003-01-21 Martin M. Hunt <hunt@redhat.com>
2809 * Makefile.in (install-gdbtk): Install PNG images too.
2811 2003-01-21 Andrew Cagney <ac131313@redhat.com>
2813 * exec.c (text_start): Delete global variable.
2814 (exec_file_attach): Make text_start local to the function.
2815 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
2816 * valops.c (hand_function_call): Delete code that handles
2817 BEFORE_TEXT_END and AFTER_TEXT_END.
2818 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
2819 of CALL_DUMMY_LOCATION.
2820 * gdbarch.c: Regenerate.
2821 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
2822 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
2823 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
2824 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
2825 (text_end): Delete extern declaration.
2827 2003-01-21 Andrew Cagney <ac131313@redhat.com>
2829 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
2830 * blockframe.c (backtrace_below_main): Move to "frame.c".
2831 (frame_chain_valid): Delete check for backtrace_below_main.
2832 (_initialize_blockframe): Delete initialization, move ``set
2833 backtrace-below-main'' command to "frame.c".
2834 (do_flush_frames_sfunc): Delete function.
2835 * frame.c: Include "command.h" and "gdbcmd.h".
2836 (frame_type_from_pc): New function.
2837 (create_new_frame): Use frame_type_from_pc.
2838 (legacy_get_prev_frame): New function.
2839 (get_prev_frame): Rewrite. When an old style frame, call
2840 legacy_get_prev_frame. Otherwize, unwind the PC first.
2841 (_initialize_frame): Add ``set backtrace-below-main'' command.
2842 * Makefile.in (frame.o): Update dependencies.
2844 2003-01-19 Andrew Cagney <ac131313@redhat.com>
2846 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
2847 DEPRECATED_REGISTERS_INFO.
2849 2003-01-19 Andrew Cagney <ac131313@redhat.com>
2851 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
2852 Maintainers'. Update `Various Maintainers'.
2854 2003-01-19 Andrew Cagney <ac131313@redhat.com>
2856 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
2857 * gdbarch.sh (POP_FRAME): Change to function with predicate.
2858 Suppress actual parameters when `-'.
2859 * gdbarch.h, gdbarch.c: Regenerate.
2861 2003-01-19 Andrew Cagney <ac131313@redhat.com>
2863 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
2864 code handling dummy frames.
2866 2003-01-19 Andrew Cagney <ac131313@redhat.com>
2868 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
2869 (struct frame_unwind): Add field pop.
2870 * frame.h (frame_pop): Declare.
2871 * frame.c (frame_saved_regs_pop): New function.
2872 (trad_frame_unwinder): Add frame_saved_regs_pop.
2873 (frame_pop): New function.
2874 * dummy-frame.c (dummy_frame_pop): New function.
2875 (discard_innermost_dummy): New function.
2876 (generic_pop_dummy_frame): Use discard_innermost_dummy.
2877 (dummy_frame_unwind): Add dummy_frame_pop.
2878 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
2879 * valops.c (hand_function_call): Ditto.
2880 * stack.c (return_command): Ditto.
2882 2003-01-18 Andrew Cagney <ac131313@redhat.com>
2884 * cris-tdep.c: Fix function declaration indentation.
2885 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
2886 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
2887 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
2888 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
2889 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
2890 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
2892 2003-01-18 Michael Chastain <mec@shout.net>
2894 * README (Unpacking and Installation -- quick overview):
2895 Warn against ".../gdb-5.3/gdb/configure".
2897 2003-01-18 Andrew Cagney <ac131313@redhat.com>
2899 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
2900 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
2901 (struct frame_unwind): Declare opaque.
2902 (dummy_frame_p): Declare function.
2903 * dummy-frame.c (dummy_frame_id_unwind): Make static.
2904 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
2905 * dummy-frame.c: Include "frame-unwind.h".
2906 (dummy_frame_p): New function.
2907 (dummy_frame_unwind): New variable.
2908 * frame.c: Include "frame-unwind.h".
2909 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
2910 to use the new unwind field.
2911 (set_unwind_by_pc): Delete function.
2912 (create_new_frame, get_prev_frame): Set unwind field using
2913 frame_unwind_find_by_pc.
2914 (trad_frame_unwind, trad_frame_unwinder): New variables.
2915 * frame.h (trad_frame_unwind): Declare variable.
2916 (frame_id_unwind_ftype): Delete declaration.
2917 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
2918 (struct frame_unwind): Declare opaque.
2919 (struct frame_info): Replace the fields id_unwind, pc_unwind and
2920 register_unwind with a single unwind pointer.
2921 * frame-unwind.h, frame-unwind.c: New files.
2922 * Makefile.in (SFILES): Add frame-unwind.c.
2923 (frame_unwind_h): Define.
2924 (COMMON_OBS): Add frame-unwind.o.
2925 (frame-unwind.o): Specify dependencies.
2926 (frame.o, dummy-frame.o): Update dependencies.
2928 2003-01-18 Andrew Cagney <ac131313@redhat.com>
2930 * ada-valprint.c: Eliminate PTR.
2931 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
2932 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
2933 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
2934 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
2935 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
2936 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
2937 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
2939 2003-01-17 Andrew Cagney <ac131313@redhat.com>
2941 * main.c (captured_main): Don't use PTR.
2942 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
2943 * gdbtypes.c (lookup_primitive_typename): Ditto.
2944 (lookup_struct_elt_type): Ditto.
2945 * f-valprint.c (info_common_command): Ditto.
2946 (list_all_visible_commons): Ditto.
2947 * jv-typeprint.c (java_type_print_base): Ditto.
2949 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
2950 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
2951 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
2952 i386-interix-nat.c and i386-interix-tdep.c. Rename
2953 m68klinux-nat.c and m68klinux-tdep.c. Rename
2954 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
2955 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
2956 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
2957 * main.c (captured_main): Use xfree, not free.
2959 2003-01-16 Andrew Cagney <ac131313@redhat.com>
2961 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
2962 ID back using a parameter.
2963 * frame.c (frame_id_unwind): Update call.
2964 (frame_saved_regs_id_unwind): Update.
2965 * dummy-frame.c (dummy_frame_id_unwind): Update function.
2966 * dummy-frame.h (struct frame_id): Add opaque declaration.
2967 (dummy_frame_id_unwind): Update declaration.
2969 2003-01-15 Andrew Cagney <ac131313@redhat.com>
2971 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
2973 2003-01-15 Stephen P. Smith <ischis2@cox.net>
2975 * MAINTAINERS (Stephen P. Smith): Updated email address.
2977 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
2980 * breakpoint.c (until_break_command): Add new argument. Use it to
2981 decide whether to stop only at the current frame or not.
2982 * breakpoint.h (until_break_command): Update prototype.
2983 * infcmd.c (until_command): Add new argument to until_break_command
2985 (advance_command): New function.
2986 (_initialize_infcmd): Update help string for 'until' command.
2987 Add new 'advance' command.
2989 2003-01-14 David Carlton <carlton@math.stanford.edu>
2991 * linespec.c (decode_line_1): Normalize comments.
2993 (locate_first_half): Ditto.
2994 (decode_compound): Ditto.
2995 (symtab_from_filename): Ditto.
2996 (decode_all_digits): Ditto.
2997 (decode_dollar): Ditto.
2998 (find_methods): Ditto.
2999 (find_toplevel_char): Ditto.
3001 2003-01-13 Andrew Cagney <ac131313@redhat.com>
3003 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
3004 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
3005 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
3006 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
3007 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
3008 * language.c, language.h, m32r-tdep.c: Update copyright.
3009 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
3010 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
3011 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
3012 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
3013 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
3014 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
3016 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
3018 * stabsread.h (process_later, resolve_cfront_continuation):
3020 Update copyright years.
3021 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
3022 Update copyright year.
3023 * dbxread.c(struct cont_elem): Obsolete.
3024 (process_later, process_now): Obsolete functions.
3025 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
3026 Update copyright year.
3027 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
3028 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
3029 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
3030 (parse_partial_symbols): Obsolete cfront support.
3032 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
3034 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
3035 read_cfront_baseclasses, read_cfront_member_functions,
3036 resolve_cfront_continuation,read_cfront_static_fields,
3037 copy_cfront_struct_fields): Obsolete functions.
3038 (define_symbol, read_one_struct_field): Obsolete cfront support.
3039 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
3040 Update Copyright year.
3042 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
3044 * stack.c (print_frame_info, print_stack_frame_base_stub,
3045 print_stack_frame_base, show_and_print_stack_frame_stub,
3046 show_and_print_stack_frame, print_only_stack_frame_stub,
3047 print_only_stack_frame): Delete functions.
3048 (print_stack_frame_stub): Call print_frame_info instead of
3049 print_frame_info_base.
3050 (print_frame_info_base): Rename to print_frame_info.
3051 (backtrace_command_1): Call print_frame_info, instead of
3052 print_frame_info_base.
3053 (current_frame_command): Call print_stack_frame, instead of
3054 print_only_stack_frame.
3055 (frame_command): Call print_stack_frame, instead of
3056 show_and_print_stack_frame.
3057 (up_command): Ditto.
3058 (down_command): Ditto.
3059 * frame.h (print_only_stack_frame): Delete prototype.
3060 * infrun.c (normal_stop): Call print_stack_frame, instead of
3061 show_and_print_stack_frame.
3062 * thread.c (info_threads_command): Call print_stack_frame, instead
3063 of print_only_stack_frame.
3065 2003-01-13 Andrew Cagney <ac131313@redhat.com>
3067 * README (Graphical interface to GDB): Update URL. Point at
3070 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
3073 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3075 * symtab.c (find_pc_sect_line): Don't consider end-of-function
3078 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3080 * thread-db.c (attach_thread): Prototype.
3081 (struct private_thread_info): Remove lwpid. Add thread handle (th),
3082 thread information (ti), and valid flags (th_valid, ti_valid).
3083 (attach_thread): Move target_pid_to_str call to after the thread
3084 is added to GDB's list. Initialize the cache.
3085 (thread_get_info_callback, thread_db_map_id2thr)
3086 (thread_db_get_info): New functions.
3087 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
3088 (thread_db_store_registers, thread_db_thread_alive)
3089 (thread_db_get_thread_local_address): Use them.
3090 (thread_db_pid_to_str): Likewise. Return "Missing" instead
3091 of calling error() for threads in unknown state.
3093 (clear_lwpid_callback): New function.
3094 (thread_db_resume): Use it to clear the cache.
3096 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3098 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
3099 (resume_callback): Remove dead code.
3101 2003-01-13 Andrew Cagney <ac131313@redhat.com>
3103 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
3105 * gdbarch.h, gdbarch.c: Regenerate.
3106 * stack.c (frame_info): Only initialize the saved registers when
3107 FRAME_INIT_SAVED_REGS_P.
3108 * frame.c (frame_saved_regs_register_unwind): Assert
3109 FRAME_INIT_SAVED_REGS_P.
3110 (deprecated_generic_get_saved_register): Ditto.
3112 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3114 * source.c (openp): Squelch warning about "filename".
3116 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3118 * source.c (openp): If the file does not exist don't necessarily
3121 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3124 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
3125 (integer_types_same_name_p): New function.
3126 (rank_one_type): Use it.
3127 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
3129 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3131 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
3133 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
3134 * configure.in: Add --with-sysroot.
3135 * configure: Regenerated.
3136 * main.c (gdb_sysroot): New variable.
3137 (captured_main): Initialize gdb_sysroot.
3138 * defs.h (gdb_sysroot): New extern declaration.
3139 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
3141 2003-01-12 Michael Chastain <mec@shout.net>
3143 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
3145 2003-01-12 Michael Chastain <mec@shout.net>
3147 * top.c (print_gdb_version): Bump copyright year to 2003.
3149 2003-01-12 David Carlton <carlton@bactrian.org>
3151 * linespec.c (symtab_from_filename): Rename variable 's' to
3154 2003-01-12 Andrew Cagney <ac131313@redhat.com>
3156 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
3158 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
3160 2003-01-12 Andrew Cagney <ac131313@redhat.com>
3162 * d10v-tdep.c: Include "gdb_assert.h".
3163 (d10v_store_return_value): Rewrite to match current interface.
3164 (d10v_extract_struct_value_address): Ditto.
3165 (d10v_extract_return_value): Ditto.
3166 (d10v_gdbarch_init): Set store_restore_value,
3167 extract_struct_value_address and extract_return_value.
3169 2003-01-12 J. Brobecker <brobecker@gnat.com>
3171 * hpread.c (set_namestring): New procedure replacing the
3172 SET_NAMESTRING macro.
3173 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
3174 by calls to set_namestring.
3176 2003-01-11 J. Brobecker <brobecker@gnat.com>
3178 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
3179 a compilation warning.
3180 (hpread_process_one_debug_symbol): Likewise.
3182 2003-01-10 David Carlton <carlton@math.stanford.edu>
3184 * linespec.c (decode_line_1): Rename variable 's' to
3186 (decode_all_digits): Rename argument 's' to 'file_symtab'.
3187 (decode_dollar): Ditto.
3188 (decode_variable): Ditto.
3189 (symbol_found): Ditto.
3191 2003-01-09 Michael Chastain <mec@shout.net>
3193 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
3195 2003-01-07 Corinna Vinschen <vinschen@redhat.com>
3197 * win32-nat.c (set_process_privilege): New function.
3198 (child_attach): Call set_process_privilege() to enable the
3199 SE_DEBUG_NAME user privilege if available in process token.
3201 2003-01-10 J. Brobecker <brobecker@gnat.com>
3203 * hpread.c (hpread_process_one_debug_symbol): Fix a small
3204 compilation error in the previous revision.
3206 2003-01-09 David Carlton <carlton@math.stanford.edu>
3208 * linespec.c: Update copyright.
3210 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
3212 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
3214 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
3216 2003-01-09 Andrew Cagney <ac131313@redhat.com>
3218 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
3220 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
3221 (frame_saved_regs_zalloc): Update.
3222 (frame_saved_regs_register_unwind): Update.
3223 (create_new_frame): Update.
3224 (get_prev_frame): Update.
3225 (frame_extra_info_zalloc): Update.
3226 (deprecated_get_frame_saved_regs): Update.
3227 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
3228 * cris-tdep.c: Update comment.
3230 * somsolib.h: Fix function indentation.
3231 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
3232 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
3233 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
3234 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
3235 * somsolib.c, inftarg.c: Remove assignment in if conditional.
3237 * infrun.c (follow_fork): Use ISO C definition.
3238 * expprint.c (print_subexp): Use xfree instead of free.
3239 * charset.c: Include "gdb_string.h" instead of <string.h>.
3240 (register_iconv_charsets): Use ISO C definition.
3241 (host_charset, target_charset): Ditto.
3242 * Makefile.in (charset.o): Update dependencies.
3243 (mi-cmd-env.o): Update dependencies.
3245 2003-01-08 Andrew Cagney <cagney@redhat.com>
3247 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
3250 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3252 * gdb_mbuild.sh: Add --keep option. When specified, keep the
3253 build directories. Save edited gdb output in Mbuild.log. If a
3254 build fails, remove any final GDB executable.
3256 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3258 * gdb_mbuild.sh: Edit the output of `maint print architecture'
3259 replacing hex constants with function names and stripping leading
3260 file name directory prefixes.
3262 2003-01-08 Andrew Cagney <cagney@redhat.com>
3264 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
3267 2003-01-08 David Carlton <carlton@math.stanford.edu>
3269 * linespec.c (decode_line_1): Move code into decode_variable.
3270 (decode_variable): New function.
3272 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3274 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
3276 2003-01-08 Andrew Cagney <cagney@redhat.com>
3278 * cris-tdep.c (cris_frame_init_saved_regs): Use
3279 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
3281 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
3282 (sh64_nofp_frame_init_saved_regs): Ditto.
3283 (sh_fp_frame_init_saved_regs): Ditto.
3284 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
3285 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
3286 * mcore-tdep.c (analyze_dummy_frame): Ditto.
3287 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3289 2003-01-08 Daniel Jacobowitz <drow@mvista.com>
3291 * minsyms.c (lookup_minimal_symbol): Update comment.
3292 (lookup_minimal_symbol_text): Update comment. Use the hash table.
3293 (lookup_minimal_symbol_solib_trampoline): Likewise.
3295 2003-01-08 Andrew Cagney <cagney@redhat.com>
3297 * d10v-tdep.c (d10v_init_extra_frame_info): Use
3298 frame_relative_level.
3300 * alpha-tdep.c: Use get_frame_extra_info.
3301 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3302 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
3303 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
3304 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
3306 * alpha-tdep.c: Use get_next_frame.
3307 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3308 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
3309 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
3310 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
3311 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
3312 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
3313 * xstormy16-tdep.c: Ditto.
3315 2003-01-07 Andrew Cagney <cagney@redhat.com>
3317 * alpha-tdep.c: Use get_frame_base.
3318 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3319 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
3320 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
3321 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
3322 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
3323 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
3324 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
3325 * config/sparc/tm-sparc.h: Ditto.
3327 2003-01-07 Andrew Cagney <cagney@redhat.com>
3329 * frame.c (deprecated_get_frame_context): New function.
3330 (deprecated_set_frame_context): New function.
3331 * frame.h (deprecated_get_frame_context): Declare.
3332 (deprecated_set_frame_context): Declare.
3333 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
3334 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
3336 2003-01-07 Andrew Cagney <cagney@redhat.com>
3338 * frame.c (deprecated_set_frame_next_hack): New function.
3339 (deprecated_set_frame_prev_hack): New function.
3340 * frame.h (deprecated_set_frame_next_hack): Declare.
3341 (deprecated_set_frame_prev_hack): Declare.
3342 * mcore-tdep.c (analyze_dummy_frame): Use
3343 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
3344 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3346 2003-01-07 David Carlton <carlton@math.stanford.edu>
3348 * linespec.c (decode_line_1): Move code into decode_dollar.
3349 (decode_dollar): New function.
3351 2003-01-07 Andrew Cagney <cagney@redhat.com>
3353 * arm-tdep.c (arm_init_extra_frame_info): Use
3354 deprecated_update_frame_base_hack.
3355 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
3356 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3357 (fix_frame_pointer): Ditto.
3358 (mn10300_analyze_prologue): Ditto.
3360 2003-01-07 Andrew Cagney <cagney@redhat.com>
3362 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
3363 extra_info using frame_extra_info_zalloc.
3364 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
3365 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
3366 (sh64_init_extra_frame_info): Ditto.
3367 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
3368 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
3369 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
3370 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
3371 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
3372 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
3373 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
3374 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
3375 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
3376 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
3377 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
3378 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
3380 * mn10300-tdep.c (analyze_dummy_frame): Use
3381 deprecated_set_frame_extra_info_hack.
3382 * mcore-tdep.c (analyze_dummy_frame): Ditto.
3384 2003-01-07 J. Brobecker <brobecker@gnat.com>
3386 * mdebugread.c (parse_symbol): Skip stProc entries which storage
3387 class is not scText. These do not define "real" procedures.
3388 (parse_partial_symbols): Likewise.
3390 2003-01-06 Michael Snyder <msnyder@redhat.com>
3392 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
3394 2003-01-06 Andrew Cagney <ac131313@redhat.com>
3396 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
3397 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
3398 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
3399 deprecated_frame_xmalloc_with_cleanup.
3400 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
3401 deprecated_frame_xmalloc.
3402 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
3403 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
3405 2003-01-06 Andrew Cagney <cagney@redhat.com>
3407 * x86-64-linux-tdep.c: Include "osabi.h".
3408 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
3410 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
3412 2003-01-06 Andrew Cagney <cagney@redhat.com>
3414 * MAINTAINERS (Target Instruction Set Architectures): Update
3415 arm-elf. Can be built with -Werror, has been multiarched.
3417 * value.h (unpack_long): Make buffer parameter constant.
3418 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
3419 * scm-lang.h (scm_parse): Ditto.
3420 * defs.h (extract_typed_address, extract_address): Ditto.
3421 (extract_long_unsigned_integer): Ditto.
3422 * inferior.h (unsigned_pointer_to_address): Ditto.
3423 (signed_pointer_to_address): Ditto.
3424 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
3425 * gdbarch.h, gdbarch.c: Regenerate.
3426 * findvar.c (extract_long_unsigned_integer): Update.
3427 (extract_address): Update.
3428 (extract_typed_address): Update.
3429 (unsigned_pointer_to_address): Update.
3430 * values.c (unpack_long): Update.
3431 (unpack_double): Update.
3432 (unpack_pointer): Update.
3433 (unpack_field_as_long): Update.
3434 * d10v-tdep.c (d10v_pointer_to_address): Update.
3435 * avr-tdep.c (avr_pointer_to_address): Update.
3436 * scm-lang.c (scm_unpack): Update.
3437 * findvar.c (signed_pointer_to_address): Update.
3439 2003-01-06 Michal Ludvig <mludvig@suse.cz>
3441 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
3442 since it is in i386-tdep.c.
3444 2003-01-06 J. Brobecker <brobecker@gnat.com>
3446 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
3447 failure introduced in the previous change.
3449 2003-01-05 Michael Chastain <mec@shout.net>
3451 * README: Remove references to deleted remote-*.c files:
3452 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
3453 remote-nrom.c, remote-os9k.c, remote-udi.c.
3455 2003-01-05 Mark Kettenis <kettenis@gnu.org>
3457 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
3458 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
3459 i386_get_longjmp_target.
3461 2003-01-05 Andrew Cagney <ac131313@redhat.com>
3463 * arm-tdep.c (prologue_cache): Change to a pointer.
3464 (_initialize_arm_tdep): Allocate prologue_cache.
3465 (check_prologue_cache): Update.
3466 (save_prologue_cache): Update.
3467 (arm_gdbarch_init): Update.
3469 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3471 * stabsread.c (update_method_name_from_physname): Call complaint()
3474 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3476 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
3477 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
3478 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
3480 * blockframe.c: Include "gdbcmd.h" and "command.h".
3481 (backtrace_below_main): New variable.
3482 (file_frame_chain_valid, func_frame_chain_valid)
3483 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
3484 (generic_func_frame_chain_valid): Remove functions.
3485 (frame_chain_valid, do_flush_frames_sfunc): New functions.
3486 (_initialize_blockframe): New function.
3487 * Makefile.in (blockframe.o): Update dependencies.
3488 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
3489 comment. Call frame_chain_valid ().
3490 * frame.h: Remove old prototypes. Add prototype for
3491 frame_chain_valid and update comments to match.
3492 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
3494 * gdbarch.h: Regenerated.
3495 * gdbarch.c: Regenerated.
3497 * alpha-tdep.c (alpha_gdbarch_init): Don't call
3498 set_gdbarch_frame_chain_valid.
3499 * avr-tdep.c (avr_gdbarch_init): Likewise.
3500 * cris-tdep.c (cris_gdbarch_init): Likewise.
3501 * frv-tdep.c (frv_gdbarch_init): Likewise.
3502 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
3503 * i386-tdep.c (i386_svr4_init_abi): Likewise.
3504 (i386_nw_init_abi): Likewise.
3505 (i386_gdbarch_init): Likewise.
3506 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
3507 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
3508 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
3509 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
3510 * mips-tdep.c (mips_gdbarch_init): Likewise.
3511 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
3512 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
3513 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
3514 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3515 * s390-tdep.c (s390_gdbarch_init): Likewise.
3516 * sh-tdep.c (sh_gdbarch_init): Likewise.
3517 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3518 * v850-tdep.c (v850_gdbarch_init): Likewise.
3519 * vax-tdep.c (vax_gdbarch_init): Likewise.
3520 * x86-64-tdep.c (x86_64_init_abi): Likewise.
3522 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
3523 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
3524 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
3525 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
3526 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
3527 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
3528 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
3529 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
3531 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
3533 * Makefile.in (acconfig_h): Remove incorrect macro.
3535 (osabi.o): Update dependencies.
3536 * configure.tgt: Set gdb_osabi based on target triplet.
3537 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
3538 * configure: Regenerated.
3539 * config.in: Regenerated.
3540 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
3541 (GDB_OSABI_DEFAULT): Define if not already defined.
3542 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
3543 (set_osabi_string): New variables.
3544 (gdbarch_register_osabi): Add new OS ABI to
3545 gdb_osabi_available_names.
3546 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
3547 (set_osabi, show_osabi): New functions.
3548 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
3550 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3552 * arch-utils.c (gdbarch_info_init): Set osabi to
3553 GDB_OSABI_UNINITIALIZED.
3554 * gdbarch.sh: Add osabi to struct gdbarch and to struct
3555 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
3556 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
3557 * gdbarch.c: Regenerated.
3558 * gdbarch.h: Regenerated.
3559 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
3561 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
3562 * osabi.h (enum gdb_osabi): Move to defs.h.
3563 (gdbarch_init_osabi): Update prototype.
3564 * defs.h (enum gdb_osabi): Moved here.
3565 * Makefile.in: Update dependencies.
3567 * alpha-tdep.h: Don't include "osabi.h".
3568 (struct gdbarch_tdep): Remove osabi member.
3569 * alpha-tdep.c: Include "osabi.h".
3570 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3571 iterate over arches. Update call to gdbarch_init_osabi.
3572 (alpha_dump_tdep): Don't dump osabi.
3573 * alpha-linux-tdep.c: Include "osabi.h".
3574 * alpha-osf1-tdep.c: Include "osabi.h".
3575 * alphafbsd-tdep.c: Include "osabi.h".
3576 * alphanbsd-tdep.c: Include "osabi.h".
3578 * arm-tdep.h: Don't include "osabi.h".
3579 (struct gdbarch_tdep): Remove osabi member.
3580 * arm-tdep.c: Include "osabi.h".
3581 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3582 iterate over arches. Update call to gdbarch_init_osabi.
3583 (arm_dump_tdep): Don't dump osabi.
3584 * arm-linux-tdep.c: Include "osabi.h".
3585 * armnbsd-tdep.c: Include "osabi.h".
3587 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
3588 Update call to gdbarch_init_osabi.
3590 * i386-tdep.h: Don't include "osabi.h".
3591 (struct gdbarch_tdep): Remove osabi member.
3592 * i386-tdep.c: Include "osabi.h".
3593 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3594 iterate over arches. Update call to gdbarch_init_osabi.
3595 (i386_dump_tdep): Don't dump osabi.
3596 * i386-linux-tdep.c: Include "osabi.h".
3597 * i386-sol2-tdep.c: Include "osabi.h".
3598 * i386bsd-tdep.c: Include "osabi.h".
3599 * i386gnu-tdep.c: Include "osabi.h".
3600 * i386ly-tdep.c: Include "osabi.h".
3601 * i386nbsd-tdep.c: Include "osabi.h".
3602 * i386obsd-tdep.c: Include "osabi.h".
3604 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
3605 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3606 check osabi when iterating over arches. Update call to
3608 (mips_dump_tdep): Don't dump osabi.
3610 * ns32k-tdep.h: Don't include "osabi.h".
3611 (struct gdbarch_tdep): Remove.
3612 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
3613 gdbarch_lookup_osabi. Don't iterate over arches. Don't
3614 allocate tdep. Update call to gdbarch_init_osabi.
3615 (ns32k_dump_tdep): Remove.
3616 (_initialize_ns32k_tdep): Update call to gdbarch_register.
3617 * ns32knbsd-tdep.c: Include "osabi.h".
3619 * ppc-tdep.h: Don't include "osabi.h".
3620 (struct gdbarch_tdep): Remove osabi member.
3621 * rs6000-tdep.c: Include "osabi.h".
3622 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
3623 osabi when iterating over arches. Update call to
3625 (rs6000_dump_tdep): Don't dump osabi.
3626 * ppc-linux-tdep.c: Include "osabi.h".
3627 * ppcnbsd-tdep.c: Include "osabi.h".
3629 * sh-tdep.h: Don't include "osabi.h".
3630 (struct gdbarch_tdep): Remove osabi member.
3631 * sh-tdep.c: Include "osabi.h".
3632 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3633 iterate over arches. Update call to gdbarch_init_osabi.
3634 (sh_dump_tdep): Don't dump osabi.
3635 * shnbsd-tdep.c: Include "osabi.h".
3637 * sparc-tdep.c: Include "osabi.h".
3638 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3639 iterate over arches. Update call to gdbarch_init_osabi.
3640 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
3643 * vax-tdep.h: Don't include "osabi.h".
3644 (struct gdbarch_tdep): Remove.
3645 * vax-tdep.c: Include "osabi.h".
3646 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3647 iterate over arches. Don't allocate tdep. Update call
3648 to gdbarch_init_osabi.
3649 (vax_dump_tdep): Remove.
3650 (_initialize_vax_tdep): Update call to gdbarch_register.
3652 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3654 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
3656 (breakpoint_re_set_one): Don't fetch the value for a disabled
3659 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3661 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
3662 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
3663 (COERCE_FLOAT_TO_DOUBLE): Remove.
3664 * gdbarch.c: Regenerate.
3665 * gdbarch.h: Regenerate.
3666 * Makefile.in: Remove value_h from gdbarch_h.
3667 * valops.c (coerce_float_to_double): New variable.
3668 (default_coerce_float_to_double): Remove.
3669 (standard_coerce_float_to_double): Remove.
3670 (value_arg_coerce): Use coerce_float_to_double.
3671 (_initialize_valops): Add "set coerce-float-to-double".
3672 * value.h (default_coerce_float_to_double): Remove prototype.
3673 (standard_coerce_float_to_double): Remove prototype.
3675 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
3677 * mdebugread.c (parse_symbol): Likewise.
3678 * stabsread.c (define_symbol): Mark all functions as prototyped.
3680 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
3681 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
3682 set_gdbarch_coerce_float_to_double.
3683 * arm-tdep.c (arm_gdbarch_init): Likewise.
3684 * frv-tdep.c (frv_gdbarch_init): Likewise.
3685 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
3686 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
3687 * mips-tdep.c (mips_gdbarch_init): Likewise.
3688 (mips_coerce_float_to_double): Remove.
3689 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3690 (rs6000_coerce_float_to_double): Remove.
3691 * s390-tdep.c (s390_gdbarch_init): Likewise.
3692 * sh-tdep.c (sh_gdbarch_init): Likewise.
3693 (sh_coerce_float_to_double): Remove.
3694 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3695 (sparc_coerce_float_to_double): Remove.
3696 * v850-tdep.c (v850_gdbarch_init): Likewise.
3697 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
3698 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3699 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
3700 (hppa_coerce_float_to_double): Remove prototype.
3701 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3703 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3705 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
3707 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3709 Suggested by Stewart Brown <sb24@avaya.com>:
3710 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
3711 in recursive calls. Handle TYPE_CODE_TYPEDEF.
3712 (c_type_print_varspec_suffix): Likewise.
3714 2003-01-04 Mark Kettenis <kettenis@gnu.org>
3716 * configure.in: Don't set and AC_SUBST SUBDIRS.
3717 * configure: Regenerated.
3719 * configure.in: Remove code dealing with shared libraries.
3720 * Makefile.in: Remove HLDFLAGS and HLDENV.
3721 * configure: Regenerated.
3723 2003-01-04 Andrew Cagney <ac131313@redhat.com>
3725 * frame.c (deprecated_frame_xmalloc): New function.
3726 (deprecated_set_frame_saved_regs_hack): New function.
3727 (deprecated_set_frame_extra_info_hack): New function.
3728 * frame.h (deprecated_frame_xmalloc): Declare.
3729 (deprecated_set_frame_saved_regs_hack): Declare.
3730 (deprecated_set_frame_extra_info_hack): Declare.
3732 2003-01-04 Mark Kettenis <kettenis@gnu.org>
3734 * configure.in: Move code that provides the --enable-gdbtk option
3735 right after the code that handles the --enable-tui option, and
3737 * configure: Regenerated.
3739 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
3740 AC_CHECK_FUNCS and remove the old check for pread64.
3741 * acinclude.m4 (AC_GNU_SOURCE): New macro.
3742 * acconfig.h (_GNU_SOURCE): Add.
3743 (HAVE_PREAD64): Remove.
3744 * configure, aclocal.m4, config.in: Regenerated.
3746 2003-01-03 Andrew Cagney <ac131313@redhat.com>
3748 * alpha-tdep.c: Use get_frame_saved_regs.
3749 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3750 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
3751 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
3752 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
3753 * vax-tdep.c, xstormy16-tdep.c: Ditto.
3755 2003-01-03 Mark Kettenis <kettenis@gnu.org>
3757 * configure.in: Remove all use of the SUBDIRS variable; add
3758 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
3759 code providing the --enable-multi-ice option, and move it right in
3760 front of the code that checks whether gdbserver is supported.
3762 * configure: Regenerated.
3763 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
3766 2003-01-03 Andrew Cagney <cagney@redhat.com>
3768 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
3769 * avr-tdep.c, cris-tdep.c: Ditto.
3770 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
3771 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
3773 2003-01-03 Mark Kettenis <kettenis@gnu.org>
3775 * configure.in: Remove --enable-netrom option.
3776 * configure: Regenerated.
3778 2003-01-03 Mark Kettenis <kettenis@gnu.org>
3780 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
3781 declaration for `struct re_pattern_buffer' instead.
3782 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
3784 2003-01-03 J. Brobecker <brobecker@gnat.com>
3786 * mdebugread.c (parse_symbol): Count until the stEnd matching
3789 2003-01-02 Mark Kettenis <kettenis@gnu.org>
3791 * configure.in: Remove --with-cpu option.
3792 subscripts. Remove evil changequotes here.
3793 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
3794 * config.in, configure: Regenerated.
3796 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
3797 * configure.in: Cleanup section that sources GDB and BFD configure
3798 subscripts. Remove evil changequotes here.
3799 * config.in, configure: Regenerated.
3801 2003-01-02 Andrew Cagney <ac131313@redhat.com>
3803 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
3804 frame accessor methods.
3805 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3806 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
3807 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
3808 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
3809 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
3810 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
3811 * z8k-tdep.c: Ditto.
3813 2003-01-02 Mark Kettenis <kettenis@gnu.org>
3815 * configure.in: Remove UI_OUT configuration code.
3816 * ada-lang.c: Update assuming UI_OUT is always true.
3817 * Makefile.in (UIOUT_CFLAGS): Remove.
3818 * configure: Regenerated.
3819 * TODO: Remove blurb about elimination of -DUI_OUT.
3821 * configure.in: Move code that provides the --enable-gdbcli,
3822 --enable-gdbmi options right before the code that handles the
3823 --enable-tui option. Polish a bit.
3824 * configure: Regenerated.
3826 * configure.in: Rewrite check for GNU regex and the
3827 --without-included regex option, and move it into the "Checks for
3828 library functions" section. This makes us use the system regex
3829 again by default on systems with version 2 of the GNU C library.
3830 This was apparently broken.
3831 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
3832 * acconfig.h (USE_INCLUDED_REGEX): Remove.
3833 * config.in, configure: Regenerated.
3835 * configure.in: Move code that provides the --enable-tui option
3836 before the "Checks for libraries" section. Polish the code
3837 somewhat and set need_curses to yes if we build the TUI. Rewrite
3838 code that looks for a library providing termcap functionality to
3839 match more closely what's done in the Readline library, and move
3840 it into to the "Checks for libraries" section.
3841 * configure: Regenerated.
3842 * Makefile.in (TERMCAP): Remove variable.
3843 * config/i386/go32.mh (TERMCAP): Remove variable.
3845 2003-01-02 Andrew Cagney <ac131313@redhat.com>
3847 * MAINTAINERS: Mention gdb_mbuild.sh.
3848 * gdb_mbuild.sh: Rewrite.
3850 2003-01-02 Mark Kettenis <kettenis@gnu.org>
3852 * configure.in: Fix typo in last change.
3853 * config.in, configure: Regenerated.
3855 2003-01-02 Andrew Cagney <ac131313@redhat.com>
3857 * valarith.c (value_binop): Delete obsolete code and comments.
3858 * configure.host: Ditto.
3859 * buildsym.h (make_blockvector): Ditto.
3860 * buildsym.c (make_blockvector): Ditto.
3861 * defs.h (enum language): Ditto.
3862 (chill_demangle): Ditto.
3863 * elfread.c (elf_symtab_read): Ditto.
3864 * dwarfread.c (CHILL_PRODUCER): Ditto.
3865 (set_cu_language): Ditto.
3866 (handle_producer): Ditto.
3867 * expprint.c (print_subexp): Ditto.
3868 * gdbtypes.c (chill_varying_type): Ditto.
3869 * gdbtypes.h (builtin_type_chill_bool): Ditto.
3870 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
3871 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
3872 (chill_varying_type): Ditto.
3873 * language.h (_LANG_chill): Ditto.
3874 * language.c (binop_result_type, integral_type): Ditto.
3875 (character_type, string_type, structured_type): Ditto.
3876 (lang_bool_type, binop_type_check): Ditto.
3877 * stabsread.h (os9k_stabs): Ditto.
3878 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
3879 (define_symbol, read_type, read_struct_fields): Ditto.
3880 (read_array_type, read_enum_type, read_huge_number): Ditto.
3881 (read_range_type, start_stabs): Ditto.
3882 * symfile.c (init_filename_language_table): Ditto.
3883 (add_psymbol_with_dem_name_to_list): Ditto.
3884 * symtab.c (symbol_init_language_specific): Ditto.
3885 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
3886 * symtab.h (struct general_symbol_info): Ditto.
3887 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
3888 * typeprint.c (typedef_print): Ditto.
3889 * utils.c (fprintf_symbol_filtered): Ditto.
3890 * valops.c (value_cast, search_struct_field, value_slice): Delete
3892 (varying_to_slice): Delete function.
3893 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
3894 (varying_to_slice): Delete declaration.
3895 * MAINTAINERS: Update.
3897 2003-01-02 Mark Kettenis <kettenis@gnu.org>
3899 * configure.in: Reorganize "Checks for library functions section"
3900 a bit. Remove check for `btowc' and `isascii' functions.
3901 * configure: Regenerated.
3903 * acconfig.h (_MSE_INT_H): Remove.
3904 * configure.in: Create "Checks for header files" section, and move
3905 appropriate tests there. Don't check for objlist.h, wchar.h,
3906 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
3907 misdetection fix. Also add "Checks for types", "Checks for
3908 compiler characteristics" and "Checks for library functions"
3910 * config.in, configure: Regenerated.
3912 * configure.in: Create "Checks for programs" section, and move
3913 appropriate tests there.
3915 2003-01-01 Mark Kettenis <kettenis@gnu.org>
3917 * configure.in: Create "Checks for libraries" section, and move
3918 appropriate tests there. Cleanup check for wctype in libw. Use
3919 AC_SEARCH_LIBS to see whether we need libsocket.
3920 * configure: Regenerated.
3922 For older changes see ChangeLog-2002
3928 version-control: never