1 2003-04-11 Jeff Johnston <jjohnstn@redhat.com>
3 * gdb_indent.sh: Recognize pid_t and sigset_t as types.
5 2003-04-11 Andrew Cagney <cagney@redhat.com>
7 * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate
9 * gdbarch.h, gdbarch.c: Regenerate.
10 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
11 * x86-64-tdep.c (x86_64_init_abi): Update.
12 * vax-tdep.c (vax_gdbarch_init): Update.
13 * v850-tdep.c (v850_gdbarch_init): Update.
14 * sparc-tdep.c (sparc_gdbarch_init): Update.
15 * sh-tdep.c (sh_gdbarch_init): Update.
16 * s390-tdep.c (s390_gdbarch_init): Update.
17 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
18 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
19 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
20 * mips-tdep.c (mips_gdbarch_init): Update.
21 * mcore-tdep.c (mcore_gdbarch_init): Update.
22 * m68k-tdep.c (m68k_gdbarch_init): Update.
23 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
24 * ia64-tdep.c (ia64_gdbarch_init): Update.
25 (ia64_saved_pc_after_call): Update declaration.
26 * i386ly-tdep.c (i386lynx_init_abi): Update.
27 * i386-tdep.c (i386_gdbarch_init): Update.
28 * hppa-tdep.c (hppa_gdbarch_init): Update.
29 * h8300-tdep.c (h8300_gdbarch_init): Update.
30 * frv-tdep.c (frv_gdbarch_init): Update.
31 * cris-tdep.c (cris_gdbarch_init): Update.
32 * avr-tdep.c (avr_gdbarch_init): Update.
33 * arm-tdep.c (arm_gdbarch_init): Update.
34 * alpha-tdep.c (alpha_gdbarch_init): Update.
35 * ns32knbsd-nat.c (frame_num_args): Update.
36 * ns32k-tdep.c (umax_frame_num_args): Update.
37 * mips-tdep.c (mips_init_frame_pc_first): Update.
38 * infrun.c (step_over_function): Update.
39 * i386-linux-tdep.c (skip_hurd_resolver): Update.
40 * i386-interix-tdep.c (i386_interix_back_one_frame): Update.
41 * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
42 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
43 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
44 * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
45 * arm-linux-tdep.c (skip_hurd_resolver): Update.
46 * arch-utils.c (init_frame_pc_default): Update.
47 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
48 * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update
51 2003-04-11 Andrew Cagney <cagney@redhat.com>
53 * i387-tdep.c: Update copyright.
54 (i387_to_double): Delete function.
55 (double_to_i387): Delete function.
57 2003-04-10 Andrew Cagney <cagney@redhat.com>
59 * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the
60 frame's function's address. Simplify.
61 (d10v_frame_unwind_cache): Check that the frame's function is
64 2003-04-10 Jim Blandy <jimb@redhat.com>
66 * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted
67 call to set_gdbarch_deprecated_push_arguments.
69 2003-04-10 Andrew Cagney <cagney@redhat.com>
71 * frame.c (fprint_frame_id): New function.
72 (fprint_frame_type, fprint_frame): New function.
73 (frame_pc_unwind, frame_func_unwind): Add/update trace code.
74 (create_sentinel_frame, get_frame_id): Ditto.
75 (frame_id_p, frame_id_eq): Ditto.
76 (frame_id_inner, create_new_frame): Ditto.
77 (legacy_get_prev_frame, get_prev_frame): Ditto.
78 (deprecated_update_frame_pc_hack): Ditto.
79 (frame_register_unwind): Ditto.
80 (deprecated_update_frame_base_hack): Ditto.
82 2003-04-10 Corinna Vinschen <vinschen@redhat.com>
84 * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.
85 (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new
87 * Makefile.in: Add dependencies due to above change.
89 2003-04-10 Corinna Vinschen <vinschen@redhat.com>
91 * blockframe.c (legacy_frame_chain_valid): Move call to
92 DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and
95 2003-04-09 Andrew Cagney <cagney@redhat.com>
97 * frame.h (struct frame_id): Replace "pc" and "base" with
98 "stack_addr" and "code_addr". Update comments.
99 (frame_id_build): Update parameter names and comment.
100 (struct frame_info): Replace "id_p" and "id" with "this_id".
101 * dummy-frame.c (dummy_frame_this_id): Update.
102 * breakpoint.c (print_one_breakpoint): Update.
103 * frame.c (get_frame_id): Update.
104 (get_frame_base, frame_id_build): Update.
105 (create_sentinel_frame, legacy_get_prev_frame): Update.
106 (deprecated_update_frame_base_hack): Update.
107 (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID.
108 (frame_id_inner): Ditto.
110 2003-04-09 Andrew Cagney <cagney@redhat.com>
112 * defs.h (gdb_print_host_address): Make "addr" parameter a
114 * utils.c (gdb_print_host_address): Update.
116 2003-04-09 Kevin Buettner <kevinb@redhat.com>
118 * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
119 register number for R0 is 0.
121 2003-04-09 J. Brobecker <brobecker@gnat.com>
123 * frame.h (struct gdbarch): Add opaque structure definition
124 to avoid a compilation warning on LynxOS 4.0.
126 2003-04-09 Andrew Cagney <cagney@redhat.com>
128 * frame.h (struct frame_info): Delete field "pc". Replace
129 "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc"
131 * frame.c (frame_pc_unwind): Update.
132 (create_sentinel_frame): Do not set "pc".
133 (get_prev_frame): Do not set "pc". Use frame_pc_unwind.
134 (get_frame_pc): Call frame_pc_unwind.
135 (deprecated_update_frame_pc_hack): Update.
136 (create_new_frame): Use "pc" not "->pc".
138 2003-04-09 Andrew Cagney <cagney@redhat.com>
140 * frame.c (get_frame_id): Eliminate code updating "frame".
141 (legacy_get_prev_frame): Ditto.
142 (get_frame_base): Return id.base directly.
143 (deprecated_update_frame_base_hack): Update "id.base".
144 * frame.h (struct frame_info): Delete field "frame".
146 2003-04-09 Andrew Cagney <cagney@redhat.com>
148 * NEWS: Mention that the "Sequent family" is obsolete.
149 * configure.tgt: Obsolete i[3456]86-sequent-bsd*,
150 i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
151 * configure.host: Obsolete i[3456]86-sequent-bsd*,
152 i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
153 * config/i386/tm-ptx4.h: Obsolete file.
154 * config/i386/tm-ptx.h: Obsolete file.
155 * symm-tdep.c: Obsolete file.
156 * config/i386/symmetry.mt: Obsolete file.
157 * config/i386/tm-symmetry.h: Obsolete file.
158 * symm-nat.c: Obsolete file.
159 * config/i386/nm-symmetry.h: Obsolete file.
160 * config/i386/xm-symmetry.h: Obsolete file.
161 * config/i386/symmetry.mh: Obsolete file.
162 * config/i386/nm-ptx4.h: Obsolete file.
163 * config/i386/ptx4.mh: Obsolete file.
164 * config/i386/ptx.mt: Obsolete file.
165 * config/i386/ptx.mh: Obsolete file.
166 * config/i386/xm-ptx4.h: Obsolete file.
167 * config/i386/xm-ptx.h: Obsolete file.
169 2003-04-09 Andrew Cagney <cagney@redhat.com>
171 Obsolete mips*-*-mach3*.
172 * NEWS: Mention that mips*-*-mach3* is obsolete.
173 * m3-nat.c: Obsolete file.
174 * config/nm-m3.h: Obsolete file.
175 * config/mips/tm-mipsm3.h: Obsolete file.
176 * config/mips/mipsm3.mt: Obsolete file.
177 * config/mips/mipsm3.mh: Obsolete file.
178 * config/mips/xm-mipsm3.h: Obsolete file.
179 * mipsm3-nat.c: Obsolete file.
180 * configure.host: Obsolete mips-dec-mach3*.
181 * configure.tgt: Obsolete mips*-*-mach3*.
183 2003-04-09 Andrew Cagney <cagney@redhat.com>
185 * doublest.h: Update copyright.
186 (deprecated_store_floating, deprecated_extract_floating): Rename
187 store_floating and extract_floating. Update comments.
188 * doublest.c: Update copyright.
189 (extract_floating_by_length): Replace extract_floating.
190 (store_floating_by_length): Replace store_floating.
191 (deprecated_extract_floating): New function.
192 (deprecated_store_floating): New function.
193 (extract_typed_floating): Call extract_floating_by_length.
194 (store_typed_floating): Call store_floating_by_length.
195 * x86-64-tdep.c (x86_64_store_return_value): Update.
196 * sh-tdep.c (sh3e_sh4_extract_return_value): Update.
197 (sh64_extract_return_value): Update.
198 (sh_sh4_register_convert_to_virtual): Update.
199 (sh_sh64_register_convert_to_virtual): Update.
200 (sh_sh4_register_convert_to_raw): Update.
201 (sh_sh64_register_convert_to_raw): Update.
202 * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update.
203 (rs6000_register_convert_to_raw): Update.
204 * ia64-tdep.c (ia64_register_convert_to_virtual): Update.
205 (ia64_register_convert_to_raw): Update.
206 * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update.
207 (REGISTER_CONVERT_TO_VIRTUAL): Update.
208 * arm-linux-tdep.c (arm_linux_push_arguments): Update.
209 * alpha-tdep.c (alpha_register_convert_to_virtual): Update.
210 (alpha_register_convert_to_raw): Update.
212 2003-04-08 Andrew Cagney <cagney@redhat.com>
214 * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate.
215 * gdbarch.h, gdbarch.c: Re-generate.
216 * d10v-tdep.c (d10v_saved_pc_after_call): Delete function.
217 (d10v_gdbarch_init): Do not set saved_pc_after_call.
218 * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P
219 conditionally, use frame_pc_unwind as an alternative. Add
221 * arch-utils.c (init_frame_pc_default): Only call
222 SAVED_PC_AFTER_CALL when available.
224 2003-04-08 Elena Zannoni <ezannoni@redhat.com>
226 * infrun.c (stop_soon): Rename from stop_soon_quietly.
227 (struct inferior_status): Rename stop_soon_quietly field to stop_soon.
228 (clear_proceed_status): Rename stop_soon_quietly to stop_soon.
229 (start_remote): Ditto.
230 (handle_inferior_event): Ditto.
231 (save_inferior_status): Ditto.
232 (restore_inferior_status): Ditto.
233 * infcmd.c (attach_command): Ditto.
234 * fork-child.c (startup_inferior): Ditto.
235 * inferior.h (stop_soon): Rename from stop_soon_quietly.
236 * alpha-tdep.c (heuristic_proc_start): Ditto.
237 * mips-tdep.c (heuristic_proc_start): Ditto.
238 * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto.
239 * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
240 * solib-osf.c (osf_solib_create_inferior_hook): Ditto.
241 * solib-irix.c (irix_solib_create_inferior_hook): Ditto.
242 * remote-vx.c (vx_create_inferior): Ditto.
244 2003-04-08 Elena Zannoni <ezannoni@redhat.com>
246 * infrun.c (stop_soon_quietly): Make it an enum, to better
247 override the default behavior of handle_inferior_event.
248 (clear_proceed_status): Update uses of stop_soon_quietly to
249 reflect that it is now an enum.
250 (start_remote): Ditto.
251 (handle_inferior_event): Change logic a bit if stop_soon_quietly
252 is set to handle the new GNU/Linux kernel behavior for
253 attach/sigstop. Update uses of stop_soon_quietly.
254 * inferior.h (enum stop_kind): New enum.
255 * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP.
256 Reset normal handle_inferior_event behavior, afterwards.
257 * fork-child.c (startup_inferior): Update.
258 * alpha-tdep.c (heuristic_proc_start): Update.
259 * solib-svr4.c (svr4_solib_create_inferior_hook): Update.
260 * solib-sunos.c (sunos_solib_create_inferior_hook): Update.
261 * solib-osf.c (osf_solib_create_inferior_hook): Update.
262 * solib-irix.c (irix_solib_create_inferior_hook): Update.
263 * remote-vx.c (vx_create_inferior): Update.
264 * mips-tdep.c (heuristic_proc_start): Update.
266 2003-04-07 Elena Zannoni <ezannoni@redhat.com>
268 * disasm.c (dump_insns): Move variables inside loop, or they will
269 be freed more than once, causing wild memory corruptions.
270 (gdb_disassembly): Look for the substring "-thread",
271 instead of "-threads" in the target name, to make sure to find
272 the 'multi-thread' target. Also, make sure we do the right thing
273 with the "core" target.
275 2003-04-07 Kevin Buettner <kevinb@redhat.com>
277 * mips-tdep.c (mips_print_fp_register): New function, created from
278 do_fp_register_row(). Registers are now (also) printed as hex.
279 Only one register is printed per row.
280 (mips_print_register, do_fp_register_row): Print floating point
281 registers with mips_print_fp_register().
283 2003-04-06 Andrew Cagney <cagney@redhat.com>
285 * valprint.h (inspect_it): Add extern declaration.
286 * objc-lang.c (value_nsstring): Avoid assignment inside of "if".
287 (selectors_info, classes_info): Ditto.
288 (find_objc_msgcall): Fix indentation.
289 (objc_printstr): Delete extern declarations.
291 * arm-tdep.c (arm_frameless_function_invocation): Fix typo.
293 2003-04-06 Andrew Cagney <cagney@redhat.com>
295 * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid.
297 * frame.c (legacy_saved_regs_this_id): Update.
298 (legacy_get_prev_frame): Update.
299 * xstormy16-tdep.c: Update comment.
300 * sparc-tdep.c (sparc_frame_chain): Update comment.
301 * blockframe.c (legacy_frame_chain_valid): Update.
303 2003-04-06 Andrew Cagney <cagney@redhat.com>
305 * valprint.c (val_print_type_code_int): Delete #ifdef
306 PRINT_TYPELESS_INTEGER code.
308 * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
309 (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial
310 multi-arch definition.
311 * gdbarch.h: Re-generate.
313 2003-04-05 Andrew Cagney <cagney@redhat.com>
315 Eliminate FRAME_FIND_SAVED_REGS.
316 * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp):
317 Change FSR parameter to a pointer.
318 * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP):
319 Assume FSR parameter is a pointer.
320 * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp):
322 * hppa-tdep.c (hppa_frame_find_saved_regs): New function.
323 (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make
324 saved_regs a pointer.
325 (hppa_frame_saved_pc): Ditto.
326 (find_dummy_frame_regs): Make frame_saved_regs a pointer
327 (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a
329 (restore_pc_queue): Make fsr a pointer.
330 (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer.
331 (hppa_frame_chain): Make saved_regs a pointer, call
332 hppa_frame_init_saved_regs.
333 * sparc-tdep.c: Include "gdb_assert.h".
334 (sparc_frame_find_saved_regs): Replace internal_error with
336 * remote-vxsparc.c (vx_read_register): Delete reference to
337 FRAME_FIND_SAVED_REGS.
338 * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS.
339 * gdbarch.h: Regenerate.
340 * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
341 (deprecated_get_frame_saved_regs): Delete declaration.
342 (struct frame_saved_regs): Delete definition.
343 * frame.c (deprecated_get_frame_saved_regs): Delete function.
344 * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare.
345 (hppa_frame_find_saved_regs): Delete declaration.
346 (FRAME_FIND_SAVED_REGS): Delete macro.
347 (DEPRECATED_FRAME_INIT_SAVED_REGS): Define.
348 * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete
349 FRAME_FIND_SAVED_REGS in comment.
351 2003-04-05 Andrew Cagney <cagney@redhat.com>
353 * frame.c (frame_func_unwind, get_frame_func): New functions.
354 * frame.h (get_frame_func, frame_func_unwind): Declare.
355 (struct frame_info): Add field "prev_func" for caching the
356 previous frame's function address.
357 * arm-tdep.c (arm_frameless_function_invocation): Combine
358 get_pc_function_start and get_frame_pc into get_frame_func.
359 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
360 (sh64_nofp_frame_init_saved_regs): Ditto.
361 * s390-tdep.c (s390_function_start): Ditto.
362 * rs6000-tdep.c (rs6000_pop_frame): Ditto.
363 (rs6000_frameless_function_invocation): Ditto.
364 (rs6000_frame_saved_pc): Ditto.
365 * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto.
366 * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto.
367 * i386-tdep.c (i386_frameless_signal_p): Ditto.
368 (i386_frame_init_saved_regs): Ditto.
369 * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto.
370 * d10v-tdep.c (d10v_frame_unwind_cache): Combine
371 get_pc_function_start and frame_pc_unwind into frame_func_unwind.
372 * cris-tdep.c (cris_frame_init_saved_regs): Ditto.
373 * blockframe.c (frameless_look_for_prologue): Ditto.
375 2003-04-05 Andrew Cagney <cagney@redhat.com>
377 * frame.c (legacy_get_prev_frame): Link prev to next at the
378 function start. Update comments.
380 2003-04-05 Andrew Cagney <cagney@redhat.com>
382 * frame.c (get_frame_id): Update comment.
383 (legacy_get_prev_frame): Update comment.
384 * gdbarch.sh: Delete check for EXTRA_FRAME_INFO.
385 * gdbarch.h: Regenerate.
386 * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete.
387 * frame.h: Delete #ifdef EXTRA_FRAME_INFO code.
389 2003-04-05 Andrew Cagney <cagney@redhat.com>
391 * stack.c (print_frame_info): Use get_frame_pc.
393 2003-04-04 Andrew Cagney <cagney@redhat.com>
395 * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set
396 the frame's type from the unwinder.
397 (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME.
398 (create_new_frame, legacy_get_prev_frame): When the unwinder's
399 type isn't UNKNOWN_FRAME, initalize "type" from the unwinder.
400 (get_frame_base_address): Use get_frame_type.
401 (get_frame_locals_address, get_frame_args_address): Ditto.
402 (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE.
403 * frame.h (enum frame_type): Add UNKNOWN_FRAME.
404 (struct frame_info): Add comment explaining why the frame contains
406 * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME.
407 * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME.
408 * sentinel-frame.c (sentinel_frame_unwinder): Set the type to
410 * frame-unwind.h: Include "frame.h".
411 (struct frame_unwind): Add "type" field.
412 * Makefile.in (frame_unwind_h): Add $(frame_h).
414 2003-04-04 Andrew Cagney <cagney@redhat.com>
416 * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build.
417 * dummy-frame.c (dummy_frame_this_id): Use frame_id_build.
418 * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and
420 (d10v_unwind_dummy_id): Use frame_id_build.
421 * frame.c (find_frame_sal): Use get_frame_pc.
422 (create_new_frame): Use deprecated_update_frame_pc_hack and
423 deprecated_update_frame_base_hack.
424 (create_sentinel_frame): Add comment about ->pc going away.
425 (get_prev_frame): Add comment about ->pc going away.
426 (legacy_get_prev_frame): Use get_frame_base, get_frame_pc,
427 frame_id_build, deprecated_update_frame_pc_hack and
428 deprecated_update_frame_base_hack.
429 (select_frame): Use get_frame_pc.
430 (legacy_saved_regs_this_id): Use frame_id_build.
432 2003-04-04 Elena Zannoni <ezannoni@redhat.com>
434 * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the
436 (classify_argument): Handle enumerations and references.
438 2003-04-04 Andrew Cagney <cagney@redhat.com>
440 * frame.c (create_sentinel_frame): Initialize the sentinel frame's
443 2003-04-01 Adam Fedor <fedor@gnu.org>
445 * gdb/objc-lang.c (selectors_info): Replace calls to
446 SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with
448 (classes_info, find_methods): Likewise.
450 2003-04-03 Kevin Buettner <kevinb@redhat.com>
452 * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
453 ``mach'' to the value determined by bfd_default_set_arch_mach().
455 2003-04-02 Bob Rossi <bob_rossi@cox.net>
457 * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o".
458 (SUBDIR_MI_SRCS): Add "mi-cmd-file.c".
459 (mi-cmd-file.o): Update dependencies.
461 2003-04-01 Kevin Buettner <kevinb@redhat.com>
463 * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
464 (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.
466 2003-04-01 Adam Fedor <fedor@gnu.org>
468 * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
469 * language.h (struct language_defn): Add la_demangle.
470 (language_demangle): Declare.
471 * language.c (language_demangle): New function.
472 (unk_lang_demangle): Likewise.
473 (unknown_language_defn, auto_language_defn, local_language_defn):
474 Add ukn_lang_demangle.
475 * ada-lang.c (ada_language_defn): Add NULL for la_demangle element.
476 * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise.
477 * c-lang.c (c_language_defn, asm_language_defn): Likewise.
478 (cplus_language_defn): Add cplus_demangle for la_demangle element.
479 * jv-lang.c (java_demangle): New function
480 (java_language_defn): Use it for la_demangle element.
481 * objc-lang.c (objc_demangle): Add options argument
482 (objc_language_defn): Use objc_demangle for la_demangle element.
483 * maint.c (maintenance_demangle): Replace switch with
484 call to language_demangle.
485 * utils.c (fprintf_symbol_filtered): Likewise.
487 2003-04-01 Andrew Cagney <cagney@redhat.com>
489 * printcmd.c (print_frame_nameless_args): Delete #ifdef
490 NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
491 PRINT_TYPELESS_INTEGER.
492 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
495 2003-04-01 Andrew Cagney <cagney@redhat.com>
497 * Makefile.in (d10v-tdep.o): Update dependencies.
498 * d10v-tdep.c: Include "frame-base.h".
499 (d10v_frame_unwind): Make constant.
500 (d10v_frame_base_address): New function.
501 (d10v_frame_base): New variable.
502 (d10v_gdbarch_init): Set frame_base default.
503 (struct d10v_unwind_cache): Add the field "prev_sp". Update
505 (d10v_frame_unwind_cache): Set and use "prev_sp".
506 (d10v_frame_this_id): Use the previous frame's inner most stack
507 address and this frame's func address for the frame ID. Use
508 frame_id_build. Don't analyze beyond the current instruction.
510 2003-04-01 Andrew Cagney <cagney@redhat.com>
512 * frame.h (get_frame_locals_address, get_frame_args_address):
513 Refer to the base address, instead of the address of the first
516 2003-04-01 Andrew Cagney <cagney@redhat.com>
518 Add frame debug info addresses:
519 * frame-base.c: New file.
520 * frame-base.h: New file.
521 * frame.h (struct frame_base): Add opaque declaration.
522 (get_frame_base): Update comment.
523 (get_frame_base_address): Declare.
524 (get_frame_locals_address): Declare.
525 (get_frame_args_address): Declare.
526 (struct frame_info): Add "base" and "base_cache". Update
527 comments on the unwinder.
528 * frame.c: Include "frame-base.h".
529 (get_frame_locals_address): New function.
530 (get_frame_base_address): New function.
531 (get_frame_args_address): New function.
532 * findvar.c (read_var_value): Use get_frame_locals_address and
533 get_frame_args_address.
534 * stack.c (frame_info): Use get_frame_locals_address and
535 get_frame_args_address.
536 (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
537 moved to "frame-base.c".
538 * printcmd.c (print_frame_nameless_args): Ditto.
539 * symtab.h (address_class): Update comments.
540 * dwarf2loc.c (dwarf_expr_frame_base): Add note about
541 get_frame_base_address.
542 * dwarf2expr.c (execute_stack_op): Ditto.
543 * Makefile.in (frame_base_h): Define.
544 (frame.o): Update dependencies.
545 (frame-base.o): Add dependencies.
546 (SFILES): Add frame-base.c.
547 (COMMON_OBS): Add frame-base.o.
549 2003-04-01 Andrew Cagney <cagney@redhat.com>
551 * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
552 CALL_DUMMY_LENGTH): Ditto.
553 * gdbarch.c: Re-generate.
554 * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
555 (CALL_DUMMY_LENGTH): Delete macro.
556 * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
557 * arm-tdep.c (arm_gdbarch_init): Ditto.
558 * avr-tdep.c (avr_gdbarch_init): Ditto.
559 * cris-tdep.c (cris_gdbarch_init): Ditto.
560 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
561 * frv-tdep.c (frv_gdbarch_init): Ditto.
562 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
563 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
564 * i386-tdep.c (i386_gdbarch_init): Ditto.
565 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
566 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
567 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
568 * mips-tdep.c (mips_gdbarch_init): Ditto.
569 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
570 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
571 * s390-tdep.c (s390_gdbarch_init): Ditto.
572 * sh-tdep.c (sh_gdbarch_init): Ditto.
573 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
574 * v850-tdep.c (v850_gdbarch_init): Ditto.
575 * vax-tdep.c (vax_gdbarch_init): Ditto.
576 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
578 2003-04-01 Corinna Vinschen <vinschen@redhat.com>
580 * frame.c (get_prev_frame): Disable call to inside_entry_file().
582 2003-04-01 Andrew Cagney <cagney@redhat.com>
584 * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
585 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
586 * gdbarch.h, gdbarch.c: Re-generate.
587 * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
588 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
589 * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
590 * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
591 (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
592 * infcmd.c (run_stack_dummy): Simplify assuming
593 CALL_DUMMY_BREAKPOINT_OFFSET_P.
594 * infrun.c (handle_inferior_event): Ditto.
595 * alpha-tdep.c (alpha_gdbarch_init): Do not set
596 call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
597 * arm-tdep.c (arm_gdbarch_init): Ditto.
598 * avr-tdep.c (avr_gdbarch_init): Ditto.
599 * cris-tdep.c (cris_gdbarch_init): Ditto.
600 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
601 * frv-tdep.c (frv_gdbarch_init): Ditto.
602 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
603 * i386-tdep.c (i386_gdbarch_init): Ditto.
604 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
605 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
606 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
607 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
608 * mips-tdep.c (mips_gdbarch_init): Ditto.
609 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
610 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
611 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
612 * s390-tdep.c (s390_gdbarch_init): Ditto.
613 * sh-tdep.c (sh_gdbarch_init): Ditto.
614 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
615 * v850-tdep.c (v850_gdbarch_init): Ditto.
616 * vax-tdep.c (vax_gdbarch_init): Ditto.
617 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
619 2003-04-01 Daniel Jacobowitz <drow@mvista.com>
621 * symfile.c (symfile_relocate_debug_section): Update call to
622 bfd_simple_get_relocated_section_contents.
624 2003-03-31 Andrew Cagney <cagney@redhat.com>
626 * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
627 * gdbarch.h, gdbarch.c: Regenerate.
628 * inferior.h (FIX_CALL_DUMMY): Delete macro.
629 * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
631 * frame.h (generic_fix_call_dummy): Delete declaration.
632 * dummy-frame.h: Update comment.
633 * dummy-frame.c (generic_fix_call_dummy): Delete function.
634 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
636 * sh-tdep.c (sh_gdbarch_init): Ditto.
637 * s390-tdep.c (s390_gdbarch_init): Ditto.
638 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
639 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
640 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
641 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
642 * i386-tdep.c (i386_gdbarch_init): Ditto.
643 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
644 * frv-tdep.c (frv_gdbarch_init): Ditto.
645 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
646 * cris-tdep.c (cris_gdbarch_init): Ditto.
647 * avr-tdep.c (avr_gdbarch_init): Ditto.
648 * arm-tdep.c (arm_gdbarch_init): Ditto.
650 2003-03-31 J. Brobecker <brobecker@gnat.com>
652 * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
653 (INIT_FRAME_AP): Likewise.
654 (EXTRA_FRAME_INFO): Likewise.
656 2003-03-31 Andrew Cagney <cagney@redhat.com>
658 * gdbarch.sh: Include "symfile.h".
659 (CALL_DUMMY_ADDRESS): Default to entry_point_address.
660 * gdbarch.h, gdbarch.c: Re-generate.
661 * inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
662 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
663 call_dummy_address, the default is at entry_point_address.
664 * v850-tdep.c (v850_gdbarch_init): Ditto.
665 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
666 * sh-tdep.c (sh_gdbarch_init): Ditto.
667 * s390-tdep.c (s390_gdbarch_init): Ditto.
668 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
669 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
670 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
671 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
672 * i386-tdep.c (i386_gdbarch_init): Ditto.
673 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
674 * frv-tdep.c (frv_gdbarch_init): Ditto.
675 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
676 * cris-tdep.c (cris_gdbarch_init): Ditto.
677 * arm-tdep.c (arm_gdbarch_init): Ditto.
679 2003-03-31 Andrew Cagney <cagney@redhat.com>
681 * gdbarch.sh (CALL_DUMMY_P): Delete.
682 * gdbarch.h, gdbarch.c: Re-generate.
683 * inferior.h (CALL_DUMMY_P): Delete macro.
684 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
685 * vax-tdep.c (vax_gdbarch_init): Update.
686 * v850-tdep.c (v850_gdbarch_init): Update.
687 * sparc-tdep.c (sparc_gdbarch_init): Update.
688 * sh-tdep.c (sh_gdbarch_init): Update.
689 * s390-tdep.c (s390_gdbarch_init): Update.
690 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
691 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
692 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
693 * mips-tdep.c (mips_gdbarch_init): Update.
694 * mcore-tdep.c (mcore_gdbarch_init): Update.
695 * m68k-tdep.c (m68k_gdbarch_init): Update.
696 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
697 * ia64-tdep.c (ia64_gdbarch_init): Update.
698 * i386-tdep.c (i386_gdbarch_init): Update.
699 * h8300-tdep.c (h8300_gdbarch_init): Update.
700 * frv-tdep.c (frv_gdbarch_init): Update.
701 * d10v-tdep.c (d10v_gdbarch_init): Update.
702 * cris-tdep.c (cris_gdbarch_init): Update.
703 * breakpoint.c (deprecated_frame_in_dummy): Update.
704 * avr-tdep.c (avr_gdbarch_init): Update.
705 * alpha-tdep.c (alpha_gdbarch_init): Update.
706 * arm-tdep.c (arm_gdbarch_init): Update.
707 * dummy-frame.c (dummy_frame_this_id): Update comments.
708 * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
709 * frame.c (legacy_get_prev_frame): Ditto.
710 * valops.c (call_function_by_hand): Delete function.
711 (hand_function_call): Rename to call_function_by_hand
713 2003-03-30 Andrew Cagney <cagney@redhat.com>
715 2002-11-10 Klee Dienes <kdienes@apple.com>
716 * value.h (struct value): Update comment.
718 2003-03-30 Andrew Cagney <cagney@redhat.com>
720 * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
722 (d10v_gdbarch_init): Do not set fp_regnum.
724 * frame.c (get_frame_base): Force ID initialization.
725 (get_prev_frame): Move computation of the frame ID from here ...
726 (get_frame_id): ... to here.
727 (legacy_get_prev_frame): Mark the frame ID as valid.
728 * frame.h (struct frame_info): Add field "id_p".
730 2003-03-30 Mark Kettenis <kettenis@gnu.org>
732 * i386-tdep.c (i386_store_struct_return): Removed.
733 (i386_gdbarch_init): Don't set deprecated_store_struct_return.
735 2003-03-30 Andrew Cagney <cagney@redhat.com>
737 * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
738 * gdbarch.h, gdbarch.c: Regenerate.
739 * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
740 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
741 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
742 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
743 * i386-tdep.c (i386_gdbarch_init): Ditto.
744 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
745 * cris-tdep.c (cris_gdbarch_init): Ditto.
746 * vax-tdep.c (vax_gdbarch_init): Ditto.
747 * s390-tdep.c (s390_gdbarch_init): Ditto.
748 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
749 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
750 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
751 * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
752 * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
753 * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
754 * sparc-tdep.c (sparc_gdbarch_init): Update.
755 * sh-tdep.c (sh_gdbarch_init): Update.
756 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
757 * mips-tdep.c (mips_gdbarch_init): Update.
758 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
759 * ia64-tdep.c (ia64_gdbarch_init): Update.
760 * frv-tdep.c (frv_gdbarch_init): Update.
761 * avr-tdep.c (avr_gdbarch_init): Update.
762 * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
763 DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
764 instead of when push_dummy_call is not available.
766 2003-03-30 Andrew Cagney <cagney@redhat.com>
768 * infttrace.c: Include "gdbthread.h".
769 (parent_attach_all): Fix function signature.
770 (call_ptrace): Update call.
771 * Makefile.in (infttrace.o): Update dependencies.
773 2003-03-30 Andrew Cagney <cagney@redhat.com>
775 * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
777 * gdbarch.h, gdbarch.c: Regenerate.
778 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
779 * x86-64-tdep.c (x86_64_init_abi): Update.
780 * v850-tdep.c (v850_gdbarch_init): Update.
781 * sparc-tdep.c (sparc_gdbarch_init): Update.
782 * sh-tdep.c (sh_gdbarch_init): Update.
783 * s390-tdep.c (s390_gdbarch_init): Update.
784 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
785 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
786 * mips-tdep.c (mips_gdbarch_init): Update.
787 * mcore-tdep.c (mcore_gdbarch_init): Update.
788 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
789 * ia64-tdep.c (ia64_gdbarch_init): Update.
790 * i386-tdep.c (i386_gdbarch_init): Update.
791 * h8300-tdep.c (h8300_gdbarch_init): Update.
792 * frv-tdep.c (frv_gdbarch_init): Update.
793 * cris-tdep.c (cris_gdbarch_init): Update.
794 * avr-tdep.c (avr_gdbarch_init): Update.
795 * arm-tdep.c (arm_gdbarch_init): Update.
796 * valops.c (hand_function_call): Update.
798 2003-03-29 Andrew Cagney <cagney@redhat.com>
800 * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
801 sizeof_call_dummy_words.
802 * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
804 * gdbarch.h: Regenerate.
806 2003-03-29 Andrew Cagney <cagney@redhat.com>
808 * infttrace.h: New file.
809 * hpread.c: Include "gdb_assert.h" and "somsolib.h".
810 (hpread_get_textlow): Detect an uninitialized dn_bufp.
811 (hpread_read_doc_function_type): Detect an initialized type1.
812 (hpread_quick_traverse): Initialize mod_name_string.
813 * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
814 (som_solib_get_solib_by_pc): Declare.
815 (so_lib_thread_start_addr): Declare.
816 (no_shared_libraries): Declare.
817 * somread.c (init_import_symbols): Make static. Add forward
819 * config/pa/nm-hppah.h: Include "infttrace.h" for
821 (hppa_insert_hw_watchpoint): Declare.
822 (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
823 * hppah-nat.c: Include "gdb_string.h".
824 (parent_attach_all): Delete extern declaration, moved to
826 (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
828 (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
829 * Makefile.in (infttrace_h): Define.
830 (hpread.o): Update dependencies.
831 (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
832 * hppa-hpux-tdep.c: Include "gdb_string.h".
833 * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
834 * infrun.c (handle_inferior_event): Always initialize
835 stepped_after_stopped_by_watchpoint. Add default and remove
836 fallthrough in switch statement.
837 * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
839 (hppa_remove_hw_watchpoint): Ditto.
841 2003-03-29 Andrew Cagney <cagney@redhat.com>
843 * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
846 2003-03-29 Richard Earnshaw <rearnsha@arm.com>
848 * arm-tdep.c (arm_push_arguments): Delete.
849 (struct stack_item): New type.
850 (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
851 (arm_store_struct_return): Delte.
852 (arm_gdbarch_init): Register arm_push_dummy_call. Don't register
853 arm_push_arguments or arm_store_struct_return.
855 2003-03-28 Andrew Cagney <cagney@redhat.com>
857 * Makefile.in (d10v-tdep.o): Update dependencies.
858 * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
859 * d10v-tdep.c: Include "remote.h".
860 (target_resume_hook): Delete extern declaration.
861 (target_wait_loop_hook): Ditto.
862 (tdisassemble_command): Eliminate assignment in "if" conditional.
863 (d10v_ts2_register_sim_regno): Eliminate call to
864 legacy_register_sim_regno.
865 (d10v_ts3_register_sim_regno): Ditto.
867 2003-03-28 Jeff Johnston <jjohnstn@redhat.com>
869 * thread.c: Reindented.
871 * linux-proc.c: Ditto.
873 2003-03-28 Bob Rossi <bob_rossi@cox.net>
875 * MAINTAINERS (write after approval): Add myself.
877 2003-03-27 Theodore A. Roth <troth@openavr.org>
879 * objc-exp.y: Add missing semi-colons.
881 2003-03-27 Andrew Cagney <cagney@redhat.com>
883 * regcache.c (write_sp): Delete function and references.
884 * inferior.h (write_sp): Delete declaration.
885 * valops.c (hand_function_call): Replace write_sp with
887 * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
888 (sparc_pop_frame): Ditto.
890 2003-03-27 Andrew Cagney <cagney@redhat.com>
892 * NEWS: Mention removal of support for hppa*-*-bsd* and
893 hppa*-*-osf* natives, and hppa*-*-pro* target.
894 * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
895 * config/pa/xm-pa.h: Obsolete file.
896 * config/pa/xm-hppab.h: Obsolete file.
897 * config/pa/nm-hppab.h: Obsolete file.
898 * config/pa/tm-hppab.h: Obsolete file.
899 * config/pa/tm-hppao.h: Obsolete file.
900 * config/pa/nm-hppao.h: Obsolete file.
901 * config/pa/tm-pro.h: Obsolete file.
902 * config/pa/hppaosf.mt: Obsolete file.
903 * config/pa/hppaosf.mh: Obsolete file.
904 * config/pa/hppapro.mt: Obsolete file.
905 * config/pa/hppabsd.mt: Obsolete file.
906 * config/pa/hppabsd.mh: Obsolete file.
907 * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
908 * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
911 2003-03-27 Andrew Cagney <cagney@redhat.com>
913 * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
914 push_arguments. Don't set push_return_address or write_sp.
915 (d10v_push_dummy_call): Replace d10v_push_arguments.
916 (d10v_push_return_address, d10v_write_sp): Delete function,
917 handled by push_dummy_call.
919 2003-03-26 Andrew Cagney <cagney@redhat.com>
921 * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
922 (push_dummy_call): New pure multi-arch replacement with gdbarch,
923 regcache and dummy_addr parameters.
924 * gdbarch.h, gdbarch.c: Re-generate.
925 * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
926 available; assume it will handle stack alignment and return
927 address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
928 legacy_push_arguments.
929 (legacy_push_arguments): Rename default_push_arguments.
930 * value.h (legacy_push_arguments): Rename default_push_arguments.
931 * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
932 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
933 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
934 * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
935 * config/i386/tm-symmetry.h: Update.
936 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
937 * x86-64-tdep.c (x86_64_init_abi): Update.
938 * v850-tdep.c (v850_gdbarch_init): Update.
939 * sparc-tdep.c (sparc_gdbarch_init): Update.
940 * sh-tdep.c (sh_gdbarch_init): Update.
941 * s390-tdep.c (s390_gdbarch_init): Update.
942 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
943 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
944 * mips-tdep.c (mips_gdbarch_init): Update.
945 * mcore-tdep.c (mcore_gdbarch_init): Update.
946 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
947 * ia64-tdep.c (ia64_gdbarch_init): Update.
948 * i386-tdep.c (i386_gdbarch_init): Update.
949 * hppa-tdep.c (hppa_gdbarch_init): Update.
950 * h8300-tdep.c (h8300_gdbarch_init): Update.
951 * frv-tdep.c (frv_gdbarch_init): Update.
952 * d10v-tdep.c (d10v_gdbarch_init): Update.
953 * cris-tdep.c (cris_gdbarch_init): Update.
954 * avr-tdep.c (avr_gdbarch_init): Update.
955 * arm-tdep.c (arm_gdbarch_init): Update.
956 * arm-linux-tdep.c (arm_linux_init_abi): Update.
957 * alpha-tdep.c (alpha_gdbarch_init): Update.
959 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
961 * signals/signals.c (do_target_signal_to_host): Correct realtime
964 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
966 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
967 (struct sal_chain, map_catch_names): Remove.
968 (catch_exception_command_1): Don't call
969 handle_gnu_4_16_catch_command.
971 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
973 From Mark Dettinger <dettinge@de.ibm.com>:
974 * dwarf2cfi.c (read_2u): Increment pointer by two.
976 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
978 * signals/signals.c: Fix typos in last change.
980 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
982 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
983 not already defined. Use __SIGRTMIN if available.
984 (target_signal_from_host): Remove SIGRTMIN block.
985 (do_target_signal_to_host): Remove SIGRTMIN block; check that
986 the signal is within the realtime range.
988 2003-03-25 Adam Fedor <fedor@gnu.org>
990 * Makefile.in (infrun.o): Add $(language_h)
991 * infrun.c (handle_inferior_event): Use skip_language_trampoline
992 for language specific trampolines.
993 * language.h (struct language_defn): Add skip_trampoline.
994 (skip_language_trampoline): Declare.
995 * language.c (unk_lang_trampoline, skip_language_trampoline):
997 (unknown_language_defn, auto_language_defn, local_language_defn):
998 Add ukn_lang_trampoline.
999 * ada-lang.c (ada_language_defn): Add NULL for language
1000 specific skip_trampoline.
1001 * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
1002 scm-lang.c: Likewise.
1003 * objc-lang.c (objc_skip_trampoline): New function.
1004 (objc_language_defn): Add objc_skip_trampoline.
1006 2003-03-25 Andrew Cagney <cagney@redhat.com>
1008 * frame.c (get_prev_frame): Delay validating a frame's ID -
1009 non-NULL, didn't go backwards - until an attempt to unwind it to
1012 2003-03-25 Andrew Cagney <cagney@redhat.com>
1014 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
1015 EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
1016 * gdbarch.h, gdbarch.c: Re-generate.
1017 * config/sparc/tm-sparc.h
1018 (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
1019 * sparc-tdep.c (sparc_gdbarch_init): Set
1020 deprecated_extra_stack_alignment_needed.
1021 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
1022 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
1023 extra_stack_alignment_needed.
1024 * v850-tdep.c (v850_gdbarch_init): Ditto.
1025 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
1026 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1027 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1028 * cris-tdep.c (cris_gdbarch_init): Ditto.
1029 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
1030 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1032 2003-03-25 Andrew Cagney <cagney@redhat.com>
1034 * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
1035 STORE_STRUCT_RETURN.
1036 * gdbarch.h, gdbarch.c: Regenerate.
1037 * d10v-tdep.c (d10v_store_struct_return): Delete function.
1038 (d10v_push_arguments): Set the struct return register.
1039 (d10v_gdbarch_init): Update.
1040 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1041 * x86-64-tdep.c (x86_64_init_abi): Update.
1042 * vax-tdep.c (vax_gdbarch_init): Update.
1043 * v850-tdep.c (v850_gdbarch_init): Update.
1044 * sparc-tdep.c (sparc_gdbarch_init): Update.
1045 * sh-tdep.c (sh_gdbarch_init): Update.
1046 * s390-tdep.c (s390_gdbarch_init): Update.
1047 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1048 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1049 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1050 * mips-tdep.c (mips_gdbarch_init): Update.
1051 * mcore-tdep.c (mcore_gdbarch_init): Update.
1052 * m68k-tdep.c (m68k_gdbarch_init): Update.
1053 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1054 * ia64-tdep.c (ia64_gdbarch_init): Update.
1055 * i386-tdep.c (i386_gdbarch_init): Update.
1056 * hppa-tdep.c (hppa_gdbarch_init): Update.
1057 * h8300-tdep.c (h8300_gdbarch_init): Update.
1058 * frv-tdep.c (frv_gdbarch_init): Update.
1059 * cris-tdep.c (cris_gdbarch_init): Update.
1060 * avr-tdep.c (avr_gdbarch_init): Update.
1061 * arm-tdep.c (arm_gdbarch_init): Update.
1062 * alpha-tdep.c (alpha_gdbarch_init): Update.
1064 2003-03-25 Andrew Cagney <cagney@redhat.com>
1066 * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
1067 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
1068 CALL_DUMMY_STACK_ADJUST with a predicate variable.
1069 * gdbarch.h, gdbarch.c: Regenerate.
1070 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
1071 call_dummy_stack_adjust_p.
1072 * vax-tdep.c (vax_gdbarch_init): Ditto.
1073 * v850-tdep.c (v850_gdbarch_init): Ditto.
1074 * sh-tdep.c (sh_gdbarch_init): Ditto.
1075 * s390-tdep.c (s390_gdbarch_init): Ditto.
1076 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1077 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
1078 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1079 * mips-tdep.c (mips_gdbarch_init): Ditto.
1080 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1081 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
1082 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1083 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1084 * i386-tdep.c (i386_gdbarch_init): Ditto.
1085 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1086 * frv-tdep.c (frv_gdbarch_init): Ditto.
1087 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1088 * cris-tdep.c (cris_gdbarch_init): Ditto.
1089 * avr-tdep.c (avr_gdbarch_init): Ditto.
1090 * arm-tdep.c (arm_gdbarch_init): Ditto.
1091 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1092 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
1093 * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
1094 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
1095 * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
1096 call_dummy_stack_adjust_p.
1097 * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
1098 (CALL_DUMMY_STACK_ADJUST): Delete macro.
1099 * sparc-tdep.c (sparc32_push_arguments): Update.
1100 * valops.c (hand_function_call): Update.
1102 2003-03-25 Corinna Vinschen <vinschen@redhat.com>
1104 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
1105 set_gdbarch_char_signed.
1107 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
1110 * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
1112 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
1114 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
1115 (_initialize_arm_tdep): Don't set tm_print_insn.
1117 2003-03-24 Adam Fedor <fedor@gnu.org>
1119 * Makefile.in (YYOBJ): Add objc-exp.tab.o
1120 * objc-lang.h: Add multiple inclusion protection.
1121 (start_msglist, add_msglist, end_msglist): Additional declarations.
1123 2003-03-24 Richard Earnshaw <rearnsha@arm.com>
1125 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
1126 value was renamed to ARM_FLOAT_SOFT_FPA.
1128 2003-03-23 Andrew Cagney <cagney@redhat.com>
1130 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
1131 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
1132 * gdbarch.h, gdbarch.c: Regenerate.
1133 * valops.c (hand_function_call): Update.
1134 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
1135 * frame.c (legacy_saved_regs_this_id): Update.
1136 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
1137 * dummy-frame.h: Update.
1138 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
1139 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
1140 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
1141 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
1142 * config/m68k/tm-sun3.h: Update.
1143 * blockframe.c (inside_main_func, frame_chain_valid): Update.
1144 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1145 * x86-64-tdep.c (x86_64_init_abi): Update.
1146 * vax-tdep.c (vax_gdbarch_init): Update.
1147 * v850-tdep.c (v850_gdbarch_init): Update.
1148 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
1149 * sh-tdep.c (sh_gdbarch_init): Update.
1150 * s390-tdep.c (s390_gdbarch_init): Update.
1151 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
1152 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
1153 (frame_get_saved_regs): Update.
1154 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1155 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1156 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1157 * mips-tdep.c (mips_gdbarch_init): Update.
1158 * mcore-tdep.c (mcore_gdbarch_init): Update.
1159 * m68k-tdep.c (m68k_gdbarch_init): Update.
1160 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1161 * ia64-tdep.c (ia64_gdbarch_init): Update.
1162 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
1163 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1164 (i386_interix_back_one_frame): Update.
1165 * hppa-tdep.c (hppa_gdbarch_init): Update.
1166 (hppa_init_extra_frame_info): Update.
1167 * h8300-tdep.c (h8300_gdbarch_init): Update.
1168 * frv-tdep.c (frv_gdbarch_init): Update.
1169 * cris-tdep.c (cris_gdbarch_init): Update.
1170 * avr-tdep.c (avr_gdbarch_init): Update.
1171 * arm-tdep.c (arm_gdbarch_init): Update.
1172 * alpha-tdep.c (alpha_gdbarch_init): Update.
1174 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
1176 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
1177 (arm_get_fp_model): Declare.
1178 * arm-tdep.c (fp_model_strings): New string array.
1179 (arm_fp_model, current_fp_model): New variables.
1180 (arm_get_fp_model): New function.
1181 (arm_set_fp): New function.
1182 (set_fp_model_sfunc): New function.
1183 (show_fp_model): New function.
1184 (_initialize_arm_tdep): Add new command to set/show the FPU.
1185 (arm_extract_return_value): Use arm_get_fp_model.
1186 (arm_store_return_value): Likewise.
1187 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
1188 to initialize the floating-point data types.
1189 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
1192 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
1194 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
1195 the current setting of each value.
1196 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
1197 new_set and new_show. Use add_setshow_cmd_full and
1198 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
1199 commands and add new version as subcommands of "set/show arm".
1201 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
1203 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
1204 (set_arm_command, show_arm_command): New functions.
1205 (_initialize_arm_tdep): Add them.
1206 (num_disassembly_options): Renamed from num_flavor_options.
1207 (valid_disassembly_styles): Renamed from valid_flavors.
1208 (disassembly_style): Renamed from disassembly_flavor.
1209 (set_disassembly_style_sfunc): Renamed from
1210 set_disassembly_flavor_sfunc.
1211 (set_disassembly_style): Renamed from set_disassembly_flavor.
1212 (arm_othernames): Updated.
1213 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
1214 command. Add "set/show arm disassembly" commands. Deprecate
1215 "othernames" command.
1217 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
1219 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
1220 (arm-tdep.o): Depend on elf_arm_h.
1222 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
1224 * Makefile.in (coff_internal_h): Define.
1225 (arm-tdep.o): Update dependencies.
1227 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
1229 * arm-tdep.c (prologue_cache): Delete.
1230 (check_prologue_cache, save_prologue_cache): Delete.
1231 (arm_scan_prologue): Don't check or update the prologue_cache.
1232 (arm_gdb_arch_init): Don't initialize it.
1233 (_initialize_arm_tdep): Likewise.
1235 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1237 * MAINTAINERS (tui): Maintainer of tui code.
1239 2003-03-21 Corinna Vinschen <vinschen@redhat.com>
1241 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
1242 (i386-cygwin-tdep.o): Add dependencies.
1243 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
1244 * i386-cygwin-tdep.c: New file.
1245 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
1246 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
1248 2003-03-20 Andrew Cagney <cagney@redhat.com>
1250 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
1251 (handle_inferior_event): Remove code calling
1252 DYNAMIC_TRAMPOLINE_NEXTPC.
1254 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
1255 already has a full path.
1257 * main.c (gdb_main): Return 1.
1258 (captured_main): Call error to report an invalid interpreter.
1260 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
1261 * alpha-osf1-tdep.c: Include "gdb_string.h".
1263 2003-03-19 J. Brobecker <brobecker@gnat.com>
1265 Continuing work to convert the hppa targets to multiarch partial.
1267 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
1268 method, now that hppa_push_dummy_frame has a conformant prototype.
1269 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
1270 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
1271 for the switch to multiarch partial.
1273 2003-03-19 Kevin Buettner <kevinb@redhat.com>
1275 * mdebugread.c (parse_symbol): For stEnd, we're done counting
1276 when iss is issNull.
1278 2003-03-18 Kevin Buettner <kevinb@redhat.com>
1280 * mips-tdep.c (mips_register_name): Fix fencepost error involving
1281 NUM_REGS bounds check.
1283 2003-03-18 Kevin Buettner <kevinb@redhat.com>
1285 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
1286 * mips-tdep.c (gdb_assert.h): Include.
1287 (mips_generic_reg_names, mips_processor_reg_names): Make static.
1288 (mips_register_name): Handle integer registers explicitly. Add
1290 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
1291 (mips_lsi33k_reg_names): Don't list integer registers; they're
1292 handled by mips_register_name() now.
1293 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
1294 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
1295 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
1296 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
1297 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
1299 2003-03-18 Andrew Cagney <cagney@redhat.com>
1301 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
1303 * gdbtypes.h (print_scalar_formatted): Update declaration.
1304 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
1306 2003-03-18 J. Brobecker <brobecker@gnat.com>
1308 * infrun.c (observer.h): Add #include.
1309 (normal_stop): Add call to observer_notify_normal_stop.
1310 * Makefile.in (infrun.o): Add dependency on observer.h.
1312 2003-03-18 J. Brobecker <brobecker@gnat.com>
1314 Continuing work to convert the hppa targets to multiarch partial.
1315 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
1316 parameter. Reformat comment.
1317 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
1318 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
1319 to match new profile.
1321 2003-03-18 J. Brobecker <brobecker@gnat.com>
1323 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
1324 appear to be working in any case.
1326 2003-03-18 J. Brobecker <brobecker@gnat.com>
1328 * observer.c (observer_test_first_observer): New static variable.
1329 (observer_test_second_observer): Likewise.
1330 (observer_test_third_observer): Likewise.
1331 (observer_test_first_notification_function): New static function.
1332 (observer_test_second_notification_function): Likewise.
1333 (observer_test_third_notification_function): Likewise.
1335 2003-03-17 J. Brobecker <brobecker@gnat.com>
1337 * hppa-tdep.c (gdb_assert.h): Add missing #include.
1338 * somsolib.c (gdb_assert.h): Likewise.
1339 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
1340 (somsolib.o): Likewise.
1342 2003-03-17 Andrew Cagney <cagney@redhat.com>
1344 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
1345 BFD. Simplify setting of di.endian.
1347 2003-03-17 Andrew Cagney <cagney@redhat.com>
1349 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
1350 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
1352 From Elena Zannoni <ezannoni@redhat.com>
1353 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
1354 vector and floating-point parameters.
1355 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
1357 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
1359 2003-03-17 Fernando Nasser <fnasser@redhat.com>
1361 * MAINTAINERS: Remove my name from several maintainership roles.
1363 2003-03-17 Andrew Cagney <cagney@redhat.com>
1365 Fix frame off-by-one bug.
1366 * frame-unwind.h (frame_this_id_ftype): Replace
1367 frame_unwind_id_ftype.
1368 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
1369 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
1370 with "prev_register".
1371 * frame-unwind.c (frame_unwind_find_by_pc): Return
1372 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
1374 * dummy-frame.c (cached_find_dummy_frame): Delete function.
1375 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
1376 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
1377 (dummy_frame_unwind): Update.
1378 * sentinel-frame.c (sentinel_frame_prev_register): Replace
1379 sentinel_frame_register_unwind.
1380 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
1381 (sentinel_frame_unwinder): Update.
1382 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
1383 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
1384 * frame.c (create_sentinel_frame): Update. Initialize
1385 "prologue_cache" instead of "unwind_cache".
1386 (frame_register_unwind): Call this frame's prev_register with the
1387 next frame and this frame's prologue cache.
1388 (get_prev_frame): Simplify. Always call prev frame's this_id with
1389 this frame and prev frame's prologue cache. Document that this
1390 call is shifted one to the left when compared to the
1391 frame_register_unwind call.
1392 (legacy_saved_regs_prev_register): Replace
1393 frame_saved_regs_register_unwind.
1394 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
1395 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
1396 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
1397 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
1398 (d10v_frame_unwind): Update.
1399 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
1400 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
1401 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
1402 "saved_regs" with "this_saved_regs".
1404 2003-03-16 Andrew Cagney <cagney@redhat.com>
1406 * frame.c (frame_pop): Don't call target_store_registers. Fix
1407 problem reported by Mark Kettenis.
1409 2003-03-16 Mark Kettenis <kettenis@gnu.org>
1411 * i386-tdep.c (i386_register_type): Renamed from
1412 i386_register_virtual_type. Adjust function signature.
1413 (i386_gdbarch_init): Set register_type instead of
1414 deprecated_max_register_raw_size,
1415 deprecated_max_register_virtual_size and register_virtual_type.
1417 2003-03-14 Andrew Cagney <cagney@redhat.com>
1419 * frame.c (get_prev_frame): When a legacy frame, always call
1420 legacy_get_prev_frame. Simplify unwind code using assumption that
1421 the unwinder is new.
1422 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
1423 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
1424 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
1426 2003-03-14 Andrew Cagney <cagney@redhat.com>
1428 * frame.c (get_saved_register): Delete function.
1429 * frame.h (get_saved_register): Delete declaration.
1430 * xstormy16-tdep.c: Update comment.
1431 * regcache.h: Update comments.
1432 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
1433 get_saved_register and extract_address, use
1434 frame_read_unsigned_register.
1435 (sparc_frame_saved_pc): Ditto.
1436 (sparc_get_saved_register): Instead of get_saved_register, use
1438 (sparc_pop_frame): Ditto.
1439 * findvar.c: Update comments.
1440 (value_of_register): Call frame_register instead of
1442 (value_from_register): Ditto.
1443 * config/sparc/tm-sparc.h: Update comment.
1444 * breakpoint.c: Update comment.
1446 2003-03-14 Andrew Cagney <cagney@redhat.com>
1448 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
1450 * gdbarch.h, gdbarch.c: Re-generate.
1451 * frame.h: Update comments.
1452 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1453 * x86-64-tdep.c (x86_64_init_abi): Update.
1454 * sparc-tdep.c (sparc_gdbarch_init): Update.
1455 * sh-tdep.c (sh_gdbarch_init): Update.
1456 * mips-tdep.c (mips_gdbarch_init): Update.
1457 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1458 * cris-tdep.c (cris_gdbarch_init): Update.
1459 * ia64-tdep.c (ia64_gdbarch_init): Update.
1460 * frame.c (frame_register): Update.
1461 (get_saved_register): Update.
1462 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
1464 2003-03-13 Andrew Cagney <cagney@redhat.com>
1466 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
1467 * gdbarch.h, gdbarch.c: Regenerate.
1468 * valops.c (hand_function_call): Update comment.
1469 * stack.c (return_command): Update comment.
1470 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
1471 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
1472 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1473 * x86-64-tdep.c (x86_64_init_abi): Update.
1474 * vax-tdep.c (vax_gdbarch_init): Update.
1475 * v850-tdep.c (v850_gdbarch_init): Update.
1476 * sparc-tdep.c (sparc_gdbarch_init): Update.
1477 * sh-tdep.c (sh_gdbarch_init): Update.
1478 * s390-tdep.c (s390_gdbarch_init): Update.
1479 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1480 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1481 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1482 * mips-tdep.c (mips_gdbarch_init): Update.
1483 * mcore-tdep.c (mcore_gdbarch_init): Update.
1484 * m68k-tdep.c (m68k_gdbarch_init): Update.
1485 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1486 * ia64-tdep.c (ia64_gdbarch_init): Update.
1487 * i386-tdep.c (i386_gdbarch_init): Update.
1488 * hppa-tdep.c (hppa_gdbarch_init): Update.
1489 * h8300-tdep.c (h8300_gdbarch_init): Update.
1490 * frv-tdep.c (frv_gdbarch_init): Update.
1491 * cris-tdep.c (cris_gdbarch_init): Update.
1492 * avr-tdep.c (avr_gdbarch_init): Update.
1493 * arm-tdep.c (arm_gdbarch_init): Update.
1494 * alpha-tdep.c (alpha_gdbarch_init): Update.
1496 2003-03-13 Andrew Cagney <cagney@redhat.com>
1498 * frame.c (legacy_frame_p): New function.
1499 (get_prev_frame): Use legacy_frame_p.
1500 * frame.h (legacy_frame_p): Declare.
1502 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
1504 * MAINTAINERS (write after approval): Alphabetically
1507 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
1509 * MAINTAINERS (write after approval): Add myself.
1511 2003-03-12 Andrew Cagney <cagney@redhat.com>
1513 * frame.c (get_prev_frame): Rename the frame parameter to
1515 (get_next_frame, legacy_get_prev_frame): Ditto.
1517 2003-03-12 Andrew Cagney <cagney@redhat.com>
1519 * frame.c (get_current_frame): Check target_has_registers before
1520 checking target_has_stack.
1521 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
1522 instead of deprecated_selected_frame.
1523 * findvar.c (value_of_register): Pass "frame", not
1524 deprecated_selected_frame, to value_of_builtin_reg.
1526 2003-03-12 Andrew Cagney <cagney@redhat.com>
1528 * regcache.c (regcache_cooked_write_signed): New function.
1529 (regcache_cooked_write_unsigned): New function.
1530 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
1531 (regcache_cooked_read_signed): Fix regnum in range assertion.
1532 * regcache.h (regcache_cooked_write_signed): Declare.
1533 (regcache_cooked_write_unsigned): Declare.
1535 2003-03-12 Andrew Cagney <cagney@redhat.com>
1537 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1538 * gdbarch.h, gdbarch.c: Re-generate.
1539 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1540 * x86-64-tdep.h: Update.
1541 * x86-64-tdep.c (x86_64_init_abi): Update.
1542 * v850-tdep.c (v850_gdbarch_init): Update.
1543 * sparc-tdep.c (sparc_gdbarch_init): Update.
1544 * sh-tdep.c (sh_gdbarch_init): Update.
1545 * s390-tdep.c (s390_gdbarch_init): Update.
1546 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1547 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1548 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1549 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1550 * mips-tdep.c (mips_gdbarch_init): Update.
1551 * mcore-tdep.c (mcore_gdbarch_init): Update.
1552 * m68k-tdep.c (m68k_gdbarch_init): Update.
1553 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1554 * ia64-tdep.c (ia64_gdbarch_init): Update.
1555 * i386-tdep.c (i386_gdbarch_init): Update.
1556 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1557 * hppa-tdep.c (hppa_gdbarch_init): Update.
1558 * h8300-tdep.c (h8300_gdbarch_init): Update.
1559 * frv-tdep.c (frv_gdbarch_init): Update.
1560 * cris-tdep.c (cris_gdbarch_init): Update.
1561 * avr-tdep.c (avr_gdbarch_init): Update.
1562 * arm-tdep.c (arm_gdbarch_init): Update.
1563 * alpha-tdep.c (alpha_gdbarch_init): Update.
1564 * sh-tdep.c (sh_init_extra_frame_info): Update.
1565 (sh64_init_extra_frame_info): Update.
1566 * ns32knbsd-nat.c (frame_num_args): Update.
1567 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1568 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1569 (xstormy16_frame_chain_valid): Update.
1570 * vax-tdep.c (vax_saved_pc_after_call): Update.
1571 * v850-tdep.c (v850_frame_chain): Update.
1572 (v850_pop_frame): Update.
1573 (v850_init_extra_frame_info): Update.
1574 * sparc-tdep.c (setup_arbitrary_frame): Update.
1575 * ns32k-tdep.c (umax_frame_num_args): Update.
1576 * s390-tdep.c (s390_pop_frame_regular): Update.
1577 * mn10300-tdep.c (mn10300_frame_chain): Update.
1578 (mn10300_pop_frame_regular): Update.
1579 (mn10300_init_extra_frame_info): Update.
1580 * mips-tdep.c (mips_init_frame_pc_first): Update.
1581 (mips_frame_chain): Update.
1582 (mips_pop_frame): Update.
1583 * mcore-tdep.c (mcore_frame_chain): Update.
1584 (mcore_pop_frame): Update.
1585 (mcore_init_extra_frame_info): Update.
1586 * arch-utils.c (init_frame_pc_default): Update.
1587 * m68k-tdep.c (isi_frame_num_args): Update.
1588 (delta68_frame_num_args): Update.
1589 (news_frame_num_args): Update.
1590 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1591 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1592 (alpha_frame_chain): Update.
1593 (alpha_pop_frame): Update.
1594 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1595 (hppa_init_extra_frame_info): Update.
1596 (hppa_frame_chain): Update.
1597 (hppa_frame_chain_valid): Update.
1598 * cris-tdep.c (cris_init_extra_frame_info): Update.
1599 * avr-tdep.c (avr_init_extra_frame_info): Update.
1600 * arm-tdep.c (arm_frame_chain_valid): Update.
1601 (arm_init_extra_frame_info): Update.
1602 (arm_pop_frame): Update.
1603 * frame.c (frame_pc_unwind): Update.
1604 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1605 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1606 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1607 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1608 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1609 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1611 2003-03-12 Andrew Cagney <cagney@redhat.com>
1613 Eliminate the need for POP_FRAME.
1614 * frame.c (do_frame_unwind_register): New function.
1615 (frame_pop): When no POP_FRAME, pop the frame using register
1616 unwind and a scratch regcache.
1617 (frame_saved_regs_pop): Delete function.
1618 (trad_frame_unwinder): Update.
1619 * d10v-tdep.c (d10v_frame_pop): Delete function.
1620 (d10v_frame_unwind): Update.
1621 * sentinel-frame.c (sentinel_frame_pop): Delete function.
1622 (sentinel_frame_unwinder): Update.
1623 * dummy-frame.c (dummy_frame_pop): Delete function.
1624 (dummy_frame_unwind): Update.
1625 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
1626 (struct frame_unwind): Update.
1628 2003-03-11 Kevin Buettner <kevinb@redhat.com>
1630 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
1631 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
1632 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
1633 Do range checks on register number obtained from debugging info.
1634 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
1635 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
1636 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
1638 (do_fp_register_row): Fix typo which caused double type to be
1639 used when attempting to unpack a float.
1641 2003-03-11 J. Brobecker <brobecker@gnat.com>
1643 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
1645 2003-03-11 Andrew Cagney <cagney@redhat.com>
1647 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
1648 frame. Problem found by Corinna Vinschen.
1650 2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
1652 * doublest.c (floatformat_from_length): Accept also
1653 the real size of 'long double' type.
1655 2003-03-10 Daniel Jacobowitz <drow@mvista.com>
1657 From Klee Dienes <kdienes@apple.com>:
1658 * breakpoint.c (bpstat_copy): Copy the command lines as well
1659 as the old value, to match what is freed in bpstat_clear.
1661 2003-03-10 David Carlton <carlton@math.stanford.edu>
1663 * minsyms.c (add_minsym_to_hash_table): Replace
1664 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
1665 (compare_minimal_symbols, compact_minimal_symbols)
1666 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
1667 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
1668 of DEPRECATED_SYMBOL_MATCHES_NAME.
1669 (lookup_minimal_symbol_solib_trampoline): Ditto.
1671 2003-03-10 Andrew Cagney <cagney@redhat.com>
1673 * regcache.h (regcache_cooked_read_ftype): Define.
1674 (regcache_save, regcache_restore): Add a cooked_read parameter.
1675 * regcache.c (regcache_save, regcache_restore): Update.
1676 (do_cooked_read): New function.
1677 (regcache_cpy): Pass do_cooked_read to regcache_save and
1680 2003-03-10 Andrew Cagney <cagney@redhat.com>
1682 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1683 * gdbarch.h, gdbarch.c: Re-generate.
1684 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1685 * x86-64-tdep.h: Update.
1686 * x86-64-tdep.c (x86_64_init_abi): Update.
1687 * v850-tdep.c (v850_gdbarch_init): Update.
1688 * sparc-tdep.c (sparc_gdbarch_init): Update.
1689 * sh-tdep.c (sh_gdbarch_init): Update.
1690 * s390-tdep.c (s390_gdbarch_init): Update.
1691 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1692 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1693 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1694 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1695 * mips-tdep.c (mips_gdbarch_init): Update.
1696 * mcore-tdep.c (mcore_gdbarch_init): Update.
1697 * m68k-tdep.c (m68k_gdbarch_init): Update.
1698 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1699 * ia64-tdep.c (ia64_gdbarch_init): Update.
1700 * i386-tdep.c (i386_gdbarch_init): Update.
1701 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1702 * hppa-tdep.c (hppa_gdbarch_init): Update.
1703 * h8300-tdep.c (h8300_gdbarch_init): Update.
1704 * frv-tdep.c (frv_gdbarch_init): Update.
1705 * cris-tdep.c (cris_gdbarch_init): Update.
1706 * avr-tdep.c (avr_gdbarch_init): Update.
1707 * arm-tdep.c (arm_gdbarch_init): Update.
1708 * alpha-tdep.c (alpha_gdbarch_init): Update.
1709 * sh-tdep.c (sh_init_extra_frame_info): Update.
1710 (sh64_init_extra_frame_info): Update.
1711 * ns32knbsd-nat.c (frame_num_args): Update.
1712 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1713 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1714 (xstormy16_frame_chain_valid): Update.
1715 * vax-tdep.c (vax_saved_pc_after_call): Update.
1716 * v850-tdep.c (v850_frame_chain): Update.
1717 (v850_pop_frame): Update.
1718 (v850_init_extra_frame_info): Update.
1719 * sparc-tdep.c (setup_arbitrary_frame): Update.
1720 * ns32k-tdep.c (umax_frame_num_args): Update.
1721 * s390-tdep.c (s390_pop_frame_regular): Update.
1722 * mn10300-tdep.c (mn10300_frame_chain): Update.
1723 (mn10300_pop_frame_regular): Update.
1724 (mn10300_init_extra_frame_info): Update.
1725 * mips-tdep.c (mips_init_frame_pc_first): Update.
1726 (mips_frame_chain): Update.
1727 (mips_pop_frame): Update.
1728 * mcore-tdep.c (mcore_frame_chain): Update.
1729 (mcore_pop_frame): Update.
1730 (mcore_init_extra_frame_info): Update.
1731 * arch-utils.c (init_frame_pc_default): Update.
1732 * m68k-tdep.c (isi_frame_num_args): Update.
1733 (delta68_frame_num_args): Update.
1734 (news_frame_num_args): Update.
1735 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1736 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1737 (alpha_frame_chain): Update.
1738 (alpha_pop_frame): Update.
1739 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1740 (hppa_init_extra_frame_info): Update.
1741 (hppa_frame_chain): Update.
1742 (hppa_frame_chain_valid): Update.
1743 * cris-tdep.c (cris_init_extra_frame_info): Update.
1744 * avr-tdep.c (avr_init_extra_frame_info): Update.
1745 * arm-tdep.c (arm_frame_chain_valid): Update.
1746 (arm_init_extra_frame_info): Update.
1747 (arm_pop_frame): Update.
1748 * frame.c (frame_pc_unwind): Update.
1749 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1750 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1751 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1752 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1753 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1754 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1756 2003-03-10 Andrew Cagney <cagney@redhat.com>
1758 * gdbarch.sh (gdbarch_unwind_pc): New method.
1759 * gdbarch.h, gdbarch.c: Regenerate.
1760 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
1761 but use read_pc and FRAME_SAVED_PC as fall backs.
1762 (frame_saved_regs_pc_unwind): Delete function.
1763 (trad_frame_unwinder): Update.
1764 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
1765 (struct frame_unwind): Update.
1766 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
1767 (dummy_frame_unwind): Update.
1768 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
1769 (sentinel_frame_unwinder): Update.
1770 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
1771 (d10v_frame_unwind): Update.
1772 (d10v_unwind_pc): New function.
1773 (d10v_gdbarch_init): Set unwind_pc.
1775 2003-03-10 Andrew Cagney <cagney@redhat.com>
1777 * gdbarch.h: Re-generate.
1779 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
1781 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
1784 2003-03-08 Mark Kettenis <kettenis@gnu.org>
1786 * gdbarch.sh (save_dummy_frame_tos): Add comment.
1788 2003-03-08 Andrew Cagney <cagney@redhat.com>
1790 * cli-out.c: Update copyright.
1791 (cli_out_data): Define typedef. Use instead of ui_out_data.
1793 2003-03-08 Andrew Cagney <cagney@redhat.com>
1795 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
1798 2003-03-07 Andrew Cagney <cagney@redhat.com>
1800 * gdbarch.sh: Don't generate two macro definitions when an
1801 undefined macro taking no arguments.
1802 * gdbarch.h: Regenerate.
1804 2002-03-07 Michal Ludvig <mludvig@suse.cz>
1806 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
1807 (x86_64_unwind_dummy_id): New functions.
1808 (x86_64_init_abi): Register these two new functions.
1810 2003-03-07 Michal Ludvig <mludvig@suse.cz>
1812 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
1813 (x86_64_skip_prologue): Move prologue detection to
1815 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
1817 2003-03-05 Andrew Cagney <cagney@redhat.com>
1819 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
1820 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
1821 * frame.c (get_prev_frame): Restructure the frame ID unwind code
1822 to use unwind_dummy_id when a dummy frame.
1823 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
1825 * gdbarch.h, gdbarch.c: Regneerate.
1827 2003-03-05 Andrew Cagney <cagney@redhat.com>
1829 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
1830 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
1831 Do not use d10v_read_sp or d10v_read_fp when obtaining register
1834 2003-03-05 Andrew Cagney <cagney@redhat.com>
1836 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
1837 (struct d10v_unwind_cache): Delete field "frameless". Replace
1838 "next_addr" with "sp_offset". Add "r11_offset".
1839 (d10v_frame_unwind_cache): Update.
1840 (prologue_find_regs): Update. When "mv r11, sp", save the
1841 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
1842 RN was saved in r11_offset.
1844 2003-03-05 Andrew Cagney <cagney@redhat.com>
1846 * frame.c (deprecated_update_frame_pc_hack): Also update the the
1847 cached PC value in the next frame.
1849 2003-03-05 Andrew Cagney <cagney@redhat.com>
1851 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
1852 "id_unwind_cache" with "id".
1853 (frame_id_unwind): Delete declaration.
1854 * frame.c (frame_id_unwind): Delete function.
1855 (get_prev_frame): Call the frame id unwind method directly. Store
1856 the returned next frame's ID value in NEXT_FRAME. Note that there
1857 is a problem with the wrong unwind ID being called with the wrong
1860 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
1862 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
1864 2003-03-05 James Ingham <jingham@apple.com>
1865 Daniel Jacobowitz <drow@mvista.com>
1867 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
1868 (auto_cp_abi): New variable.
1869 (current_cp_abi, num_cp_abis): Make static.
1870 (CP_ABI_MAX): Define.
1871 (cp_abis): Turn into an array.
1872 (value_virtual_fn_field): Fix formatting.
1873 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
1875 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
1876 (list_cp_abis, _initialize_cp_abi): New functions.
1877 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
1878 declarations for cp_abis, num_cp_abis, current_cp_abi, and
1879 switch_to_cp_abi. Update prototype for register_cp_abi.
1880 * Makefile.in (cp-abi.o): Update dependencies.
1881 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
1882 instead of switch_to_cp_abi.
1883 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
1885 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
1887 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
1889 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
1891 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
1892 * dwarf2loc.c: Include "regcache.h".
1893 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
1895 * Makefile.in (dwarf2loc.o): Update dependencies.
1897 2003-03-04 Theodore A. Roth <troth@openavr.org>
1899 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
1900 number of io registers reported by remote target is not a multiple of
1903 2003-03-04 David Carlton <carlton@math.stanford.edu>
1905 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
1906 (lookup_symbol_aux_psymtabs): Update call to
1907 lookup_partial_symbol.
1908 (lookup_transparent_type, find_main_psymtab)
1909 (make_symbol_overload_list): Ditto.
1911 2003-03-04 Kazu Hirata <kazu@cs.umass.edu>
1913 * MAINTAINERS (Write after approval): Update my email address.
1915 2003-03-03 Andrew Cagney <cagney@redhat.com>
1917 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
1918 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
1919 predicate. Replace MAX_REGISTER_RAW_SIZE.
1920 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
1921 MAX_REGISTER_VIRTUAL_SIZE.
1922 * regcache.c (legacy_max_register_raw_size): New function.
1923 (legacy_max_register_virtual_size): New function.
1924 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
1925 (MAX_REGISTER_RAW_SIZE): Define.
1926 (legacy_max_register_raw_size): Declare.
1927 (legacy_max_register_virtual_size): Declare.
1928 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1929 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
1930 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1931 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1932 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1933 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1934 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1935 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1936 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1937 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1938 * vax-tdep.c (vax_gdbarch_init): Update.
1939 * v850-tdep.c (v850_gdbarch_init): Update.
1940 * sparc-tdep.c (sparc_gdbarch_init): Update.
1941 * sh-tdep.c (sh_gdbarch_init): Update.
1942 * s390-tdep.c (s390_gdbarch_init): Update.
1943 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1944 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1945 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1946 * mips-tdep.c (mips_gdbarch_init): Update.
1947 * mcore-tdep.c (mcore_gdbarch_init): Update.
1948 * m68k-tdep.c (m68k_gdbarch_init): Update.
1949 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1950 * ia64-tdep.c (ia64_gdbarch_init): Update.
1951 * i386-tdep.c (i386_gdbarch_init): Update.
1952 * hppa-tdep.c (hppa_gdbarch_init): Update.
1953 * h8300-tdep.c (h8300_gdbarch_init): Update.
1954 * frv-tdep.c (frv_gdbarch_init): Update.
1955 * cris-tdep.c (cris_gdbarch_init): Update.
1956 * avr-tdep.c (avr_gdbarch_init): Update.
1957 * arm-tdep.c (arm_gdbarch_init): Update.
1958 * alpha-tdep.c (alpha_gdbarch_init): Update.
1959 * d10v-tdep.c (d10v_gdbarch_init): Do not set
1960 max_register_raw_size or max_register_virtual_size.
1962 2003-03-03 David Carlton <carlton@math.stanford.edu>
1964 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
1965 SYMBOL_MATCHES_NAME, add comment.
1966 (SYMBOL_MATCHES_NATURAL_NAME): New.
1967 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
1968 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
1969 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
1970 * symtab.c (lookup_partial_symbol): Use
1971 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
1973 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
1974 SYMBOL_MATCHES_NAME.
1977 2003-03-03 David Carlton <carlton@math.stanford.edu>
1979 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
1980 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
1981 by regexp matching against SYMBOL_NATURAL_NAME.
1983 2003-03-03 David Carlton <carlton@math.stanford.edu>
1985 * linespec.c (find_method): Extract code into collect_methods.
1986 (collect_methods): New.
1988 2003-03-02 Mark Kettenis <kettenis@gnu.org>
1990 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
1993 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
1994 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1996 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
1998 * arch-utils.c (generic_register_byte): Fix to use the loop index
1999 and not regnum when summing the size of all registers up to regnum.
2001 2003-03-01 Andrew Cagney <cagney@redhat.com>
2003 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
2004 FRAME_INIT_SAVED_REGS.
2005 * gdbarch.h, gdbarch.c: Regenerate.
2006 * stack.c (frame_info): Update.
2007 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
2008 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
2009 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
2010 * ns32k-tdep.c (ns32k_pop_frame): Update.
2011 * mips-tdep.c (mips_pop_frame): Update.
2012 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
2013 * ia64-tdep.c (ia64_frame_chain): Update.
2014 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
2015 (ia64_frameless_function_invocation): Update.
2016 (ia64_init_extra_frame_info): Update.
2017 (ia64_pop_frame_regular): Update.
2018 * frame.h (struct frame_info): Update comment.
2019 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
2020 * frame.c (frame_saved_regs_register_unwind): Update.
2021 (frame_saved_regs_register_unwind): Update.
2022 (deprecated_generic_get_saved_register): Update.
2023 * cris-tdep.c: Update comment.
2024 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
2026 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2027 * x86-64-tdep.c (x86_64_init_abi): Update.
2028 * vax-tdep.c (vax_gdbarch_init): Update.
2029 * v850-tdep.c (v850_gdbarch_init): Update.
2030 * sparc-tdep.c (sparc_gdbarch_init): Update.
2031 * sh-tdep.c (sh_gdbarch_init): Update.
2032 * s390-tdep.c (s390_gdbarch_init): Update.
2033 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2034 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
2035 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2036 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2037 * mips-tdep.c (mips_gdbarch_init): Update.
2038 * mcore-tdep.c (mcore_gdbarch_init): Update.
2039 * m68k-tdep.c (m68k_gdbarch_init): Update.
2040 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2041 * ia64-tdep.c (ia64_gdbarch_init): Update.
2042 * i386-tdep.c (i386_gdbarch_init): Update.
2043 * frv-tdep.c (frv_gdbarch_init): Update.
2044 * avr-tdep.c (avr_gdbarch_init): Update.
2045 * arm-tdep.c (arm_gdbarch_init): Update.
2046 * alpha-tdep.c (alpha_gdbarch_init): Update.
2048 2003-03-01 Andrew Cagney <cagney@redhat.com>
2050 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
2051 option enum and switch. When no windows, set the interpreter to
2054 2003-03-01 Andrew Cagney <cagney@redhat.com>
2056 * main.c (captured_main): Replace magic option characters with an
2059 2003-03-01 Andrew Cagney <cagney@redhat.com>
2061 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
2062 INIT_EXTRA_FRAME_INFO.
2063 * gdbarch.h, gdbarch.c: Regenerate.
2064 * arm-tdep.c: Update comments.
2065 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
2066 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
2067 * frame.h, avr-tdep.c: Ditto.
2068 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
2069 (create_new_frame, legacy_get_prev_frame): Ditto.
2070 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
2071 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
2072 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
2073 deprecated_init_extra_frame_info instead of init_extra_frame_info.
2074 * x86-64-tdep.c (x86_64_init_abi): Ditto.
2075 * v850-tdep.c (v850_gdbarch_init): Ditto.
2076 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
2077 * sh-tdep.c (sh_gdbarch_init): Ditto.
2078 * s390-tdep.c (s390_gdbarch_init): Ditto.
2079 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
2080 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
2081 * mips-tdep.c (mips_gdbarch_init): Ditto.
2082 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
2083 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2084 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2085 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
2086 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
2087 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2088 * frv-tdep.c (frv_gdbarch_init): Ditto.
2089 * cris-tdep.c (cris_gdbarch_init): Ditto.
2090 * avr-tdep.c (avr_gdbarch_init): Ditto.
2091 * arm-tdep.c (arm_gdbarch_init): Ditto.
2092 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
2093 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2095 2003-03-01 Andrew Cagney <cagney@redhat.com>
2097 * gdbarch.sh (register_type): New function with predicate.
2098 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
2099 * gdbarch.h, gdbarch.c: Re-generate.
2100 * arch-utils.c (generic_register_byte): Use generic_register_size.
2101 (generic_register_size): When available, use
2102 gdbarch_register_type.
2103 * regcache.c (init_regcache_descr): When available, initialize the
2104 register type array using gdbarch_register_type. If the
2105 architecture supplies gdbarch_register_type, do not use the legacy
2107 * d10v-tdep.c (d10v_register_type): Replace
2108 d10v_register_virtual_type.
2109 (d10v_gdbarch_init): Set register_type instead of
2110 register_virtual_type.
2112 2003-03-01 Andrew Cagney <cagney@redhat.com>
2114 * Makefile.in (ax-gdb.o): Update dependencies.
2115 * ax-gdb.c: Include "regcache.h".
2116 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
2117 * findvar.c (value_of_register): Ditto.
2118 * infcmd.c (default_print_registers_info): Ditto.
2120 2003-03-01 Mark Kettenis <kettenis@gnu.org>
2122 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
2123 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
2125 2003-03-01 Mark Kettenis <kettenis@gnu.org>
2127 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
2130 2003-02-28 Daniel Jacobowitz <drow@mvista.com>
2132 * Makefile.in (dwarf2loc.o): Update dependencies.
2133 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
2134 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
2135 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
2136 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
2137 (locexpr_tracepoint_var_ref): New function.
2138 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
2140 2003-02-28 Andrew Cagney <cagney@redhat.com>
2142 * regcache.c (register_size): New function.
2143 * regcache.h (register_size): Declare
2144 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
2145 max_register_size instead of MAX_REGISTER_RAW_SIZE.
2147 2003-02-28 David Carlton <carlton@math.stanford.edu>
2149 * linespec.c (decode_compound): Extract code into find_method.
2152 2003-02-28 J. Brobecker <brobecker@gnat.com>
2154 * Makefile.in: Add rules to build and link in observer.o.
2156 2003-02-27 J. Brobecker <brobecker@gnat.com>
2158 * observer.c: Minor comments edits.
2160 2003-02-27 J. Brobecker <brobecker@gnat.com>
2162 * observer.h, observer.c: New file.
2164 2003-02-27 Andrew Cagney <cagney@redhat.com>
2166 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
2168 2003-02-27 Stephane Carrez <stcarrez@nerim.fr>
2170 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
2171 (M6812_OP_STS_EXT): Likewise.
2172 (m6811_prologue): Use the above to recognize prologue.
2173 (m6812_prologue): Likewise.
2175 2003-02-27 David Carlton <carlton@math.stanford.edu>
2177 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
2179 (compare_psymbols): Ditto.
2180 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
2182 2003-02-27 Michael Snyder <msnyder@redhat.com>
2184 * f-lang.c (build_fortran_types): New function.
2185 (_initialize_f_language): Gdbarch-register built-in fortran types.
2186 * doublest.c (extract_floating): Fix warning text.
2188 2003-02-27 Andrew Cagney <cagney@redhat.com>
2190 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
2191 predicate. Replaces PUSH_DUMMY_FRAME.
2192 * gdbarch.h, gdbarch.c: Regnerate.
2193 * valops.c (hand_function_call): Update. Call
2194 generic_push_dummy_frame directly.
2195 * vax-tdep.c (vax_gdbarch_init): Update.
2196 * sparc-tdep.c (sparc_gdbarch_init): Update.
2197 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2198 * m68k-tdep.c (m68k_gdbarch_init): Update.
2199 * hppa-tdep.c (hppa_gdbarch_init): Update.
2200 * alpha-tdep.c (alpha_gdbarch_init): Update.
2201 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
2202 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
2203 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
2204 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
2205 push_dummy_frame to generic_push_dummy_frame.
2206 * v850-tdep.c (v850_gdbarch_init): Ditto.
2207 * sh-tdep.c (sh_gdbarch_init): Ditto.
2208 * s390-tdep.c (s390_gdbarch_init): Ditto.
2209 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2210 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
2211 * mips-tdep.c (mips_gdbarch_init): Ditto.
2212 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
2213 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2214 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2215 * i386-tdep.c (i386_gdbarch_init): Ditto.
2216 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2217 * frv-tdep.c (frv_gdbarch_init): Ditto.
2218 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
2219 * cris-tdep.c (cris_gdbarch_init): Ditto.
2220 * avr-tdep.c (avr_gdbarch_init): Ditto.
2221 * arm-tdep.c (arm_gdbarch_init): Ditto.
2223 2003-02-26 Kevin Buettner <kevinb@redhat.com>
2225 * mips-tdep.c (show_mips_abi): New function.
2226 (_initialize_mips_tdep): Use show_mips_abi() to implement the
2227 command ``show mips abi''.
2229 2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
2231 From Elena Zannoni <ezannoni@redhat.com>
2232 * dbxread.c (process_one_symbol): Only record line 0 if one or
2233 more sline entries have been seen for the function.
2235 2003-02-26 Michael Chastain <mec@shout.net>
2237 * configure: Regenerate with autoconf 000227.
2239 2003-02-26 Michael Chastain <mec@shout.net>
2242 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
2243 for old libc5/glibc.
2244 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
2246 2003-02-26 Kris Warkentin <kewarken@qnx.com>
2248 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
2249 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
2251 2003-02-26 Michael Chastain <mec@shout.net>
2253 * configure.in: New variable HAVE_UINTPTR_T.
2254 * configure, config.in: Regenerated.
2256 2003-02-26 Daniel Jacobowitz <drow@mvista.com>
2259 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
2261 2003-02-25 Andrew Cagney <cagney@redhat.com>
2263 * frame.c (get_prev_frame): Add comment on check for
2264 inside_entry_func. Only check for inside_entry_file when not a
2265 dummy and not a sentinel. Check that the new frame is not inner
2268 2003-02-25 Andrew Cagney <cagney@redhat.com>
2270 * frame.c (frame_debug): New variable.
2271 (_initialize_frame): Add "set/show debug frame" command.
2272 (get_prev_frame): When frame_debug, print reason why unwind
2275 2003-02-25 Michael Chastain <mec@shout.net>
2277 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
2278 to avoid uintptr_t definition problems.
2280 2003-02-25 David Carlton <carlton@math.stanford.edu>
2282 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
2283 (SYMBOL_LINKAGE_NAME): Ditto.
2284 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
2285 SYMBOL_LINKAGE_NAME.
2286 (struct general_symbol_info): Expand comment.
2287 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
2288 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
2289 (SYMBOL_MATCHES_REGEXP): Ditto.
2290 * symtab.c (symbol_natural_name): New function.
2291 * objfiles.h: Replace all uses of SYMBOL_NAME by
2292 DEPRECATED_SYMBOL_NAME.
2293 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
2294 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
2295 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
2296 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
2297 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
2298 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
2299 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
2300 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
2301 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
2302 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
2304 * ada-exp.y: Update copyright.
2305 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
2306 * cp-valprint.c: Ditto.
2308 2003-02-25 Jeff Johnston <jjohnstn@redhat.com>
2310 * infptrace.c (detach): Do not flag error if ptrace detach fails
2311 and errno is set to ESRCH.
2313 2003-02-24 Andrew Cagney <cagney@redhat.com>
2315 * infptrace.c (udot_info): Change type of udot_off to long. Use
2316 paddr when printing udot_off's value.
2318 2003-02-24 David Carlton <carlton@math.stanford.edu>
2320 * symtab.c (make_symbol_overload_list): Only read in partial
2321 symtabs containing a matching partial symbol.
2323 2003-02-24 David Carlton <carlton@math.stanford.edu>
2325 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
2326 do the comparison, not strcmp.
2327 * symfile.c (compare_psymbols): Ditto.
2328 * defs.h: Declare strcmp_iw_ordered.
2329 * utils.c (strcmp_iw_ordered): New function.
2331 2003-02-24 Jim Blandy <jimb@redhat.com>
2333 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
2334 support, shared libs): Remove my name from here, to better reflect
2337 2003-02-24 Kris Warkentin <kewarken@qnx.com>
2339 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
2340 (target_ops): Add to_have_continuable_watchpoint.
2341 * target.c (update_current_target): Add INHERIT line for
2342 to_have_continuable_watchpoint.
2343 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
2344 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
2345 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
2346 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
2348 2003-02-24 Elena Zannoni <ezannoni@redhat.com>
2350 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
2353 2003-02-24 Kris Warkentin <kewarken@qnx.com>
2355 * solib.c (solib_open): Call target defined search function after
2356 failing with solib-search-path.
2357 * solist.h (target_so_ops): Add find_and_open_solib function hook and
2358 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
2360 2003-02-24 Kris Warkentin <kewarken@qnx.com>
2362 * MAINTAINERS: Add myself to Write After section.
2364 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
2366 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
2368 2003-02-22 Stephane Carrez <stcarrez@nerim.fr>
2370 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
2371 (m68hc11_add_reggroups): New function.
2372 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
2373 (m68hc11_gdbarch_init): Install the reggroups.
2374 (_initialize_m68hc11_tdep): Initialize them.
2376 2003-02-21 James E Wilson <wilson@tuliptree.org>
2378 * MAINTAINERS: Update my email address.
2380 2003-02-21 David Carlton <carlton@math.stanford.edu>
2382 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
2384 2003-02-21 Daniel Jacobowitz <drow@mvista.com>
2386 Based on a patch from Daniel Berlin (dberlin@dberlin.org).
2387 * symtab.h: Add opaque declarations of struct axs_value and
2389 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
2390 (struct location_funcs): New type.
2391 (struct symbol): Add "loc" to aux_value.
2392 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
2393 * dwarf2read.c: Include "dwarf2expr.h".
2394 (dwarf2_symbol_mark_computed): New function.
2395 (read_func_scope): Use it.
2396 (var_decode_location): New function.
2397 (new_symbol): Use it.
2398 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
2400 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
2401 (dwarf2expr_h, dwarf2loc_h): New variables.
2402 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
2403 (dwarf2expr.o, dwarf2loc.o): New rules.
2404 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
2405 * buildsym.c (finish_block): Handle LOC_COMPUTED and
2407 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
2408 * m2-exp.y (yylex): Likewise.
2409 * printcmd.c (address_info, print_frame_args): Likewise.
2410 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
2411 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
2412 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
2413 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
2414 * symtab.c (lookup_block_symbol): Likewise.
2416 2003-02-20 Adam Fedor <fedor@gnu.org>
2418 * symtab.h: Remove objc_specific struct
2419 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
2420 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
2421 Have language_objc use cplus_specific struct.
2423 2003-02-20 Tom Tromey <tromey@redhat.com>
2425 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
2426 TYPE_NAME, when printing a String value. PR java/1075.
2428 2003-02-20 Adam Fedor <fedor@gnu.org>
2430 * objc-lang.h (find_methods): Remove declaration.
2431 * objc-lang.c (find_methods): Make static.
2433 2003-02-20 Christopher Faylor <cgf@redhat.com>
2435 * win32-nat.c (get_image_name): Check return value from
2437 (child_xfer_memory): Ditto.
2439 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
2441 * configure.in (TARGET_SYSTEM_ROOT): Set default to
2442 ${exec_prefix}/${target_alias}/sys-root. Match explicit
2443 '${exec_prefix}' (in addition to the expansion thereof) as
2445 * configure: Rebuilt.
2447 2003-02-20 David Carlton <carlton@math.stanford.edu>
2449 * symtab.c (search_symbols): Revert the search_symbols part of my
2450 2002-12-23 patch. Add comment.
2452 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
2454 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
2455 * dbxread.c (elfstab_build_psymtabs): Don't call
2456 install_minimal_symbols.
2457 (stabsect_build_psymtabs): Likewise.
2458 * elfread.c (elf_symfile_read): Call install_minimal_symbols
2460 * somread.c (som_symfile_read): Call install_minimal_symbols
2461 and do_cleanups earlier.
2462 * nlmread.c (nlm_symfile_read): Likewise.
2463 * mdebugread.c (elfmdebug_build_psymtabs): Call
2464 install_minimal_symbols and make appropriate cleanups.
2466 2003-02-20 Kevin Buettner <kevinb@redhat.com>
2468 * solib.c (reload_shared_libraries): New function.
2469 (_initialize_solib): Add callbacks for ``set solib-search-path''
2470 and ``set solib-absolute-prefix''.
2472 2003-02-20 David Carlton <carlton@math.stanford.edu>
2474 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
2476 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
2477 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
2478 * ada-typeprint.c (ada_typedef_print): Ditto.
2479 * ax-gdb.c (gen_var_ref): Ditto.
2480 * breakpoint.c (print_one_breakpoint): Ditto.
2481 * buildsym.c (finish_block): Ditto.
2482 * c-valprint.c (c_val_print): Ditto.
2483 * expprint.c (print_subexp): Ditto.
2484 * findvar.c (locate_var_value): Ditto.
2485 * infcmd.c (jump_command): Ditto.
2486 * linespec.c (decode_line_2, decode_compound): Ditto.
2487 * maint.c (maintenance_translate_address): Ditto.
2488 * objc-lang.c (compare_selectors, compare_classes): Ditto.
2489 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
2491 * p-valprint.c (pascal_val_print): Ditto.
2492 * stabsread.c (define_symbol): Ditto.
2493 * stack.c (print_frame, frame_info, print_block_frame_locals)
2494 (print_frame_arg_vars, return_command): Ditto.
2495 * symfile.c (compare_symbols, compare_psymbols): Ditto.
2496 * symmisc.c (print_symbol): Ditto.
2497 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
2498 (compare_search_syms, print_symbol_info, print_msymbol_info)
2499 (rbreak_command): Ditto.
2500 * tracepoint.c (tracepoints_info): Ditto.
2501 * typeprint.c (typedef_print): Ditto.
2502 * valops.c (value_of_variable, hand_function_call): Ditto.
2503 * cli/cli-cmds.c (edit_command, list_command): Ditto.
2504 * ada-typeprint.c: Update Copyright.
2505 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
2506 * tracepoint.c, cli/cli-cmds.c: Ditto.
2508 2003-02-20 Kevin Buettner <kevinb@redhat.com>
2510 * frame.c (generic_unwind_get_saved_register): Make non-static.
2511 * frame.h (generic_unwind_get_saved_register): Declare.
2512 * mips-tdep.c (read_next_frame_reg): Fetch register from
2513 current regcache when frame is NULL.
2514 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
2516 (mips_get_saved_register): Call generic_unwind_get_saved_register()
2517 instead of frame_register_unwind().
2519 2003-02-20 Andrew Cagney <ac131313@redhat.com>
2521 * remote-sim.c (gdbsim_insert_breakpoint)
2522 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
2525 2003-02-20 Andrew Cagney <ac131313@redhat.com>
2527 * remote.c (_initialize_remote): Add commands "set/show remote
2528 hardware-watchpoint-limit" and "set/show remote
2529 hardware-breakpoint-limit".
2530 (remote_hw_watchpoint_limit): Initialize to -1.
2531 (remote_hw_breakpoint_limit): Ditto.
2532 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
2534 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
2536 * coff-pe-read.c: New file - support reading of minimal symbols from a
2537 portable executable using the export table.
2538 * coff-pe-read.h: New file.
2539 * coffread.c: Include coff-pe-read.h.
2540 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
2541 debugging symbols found.
2542 * Makefile.in (SFILES): Add coff-pe-read.o.
2543 (coff_pe_read_h): Define.
2544 (COMMON_OBS): Add coff-pe-read.o.
2545 (coffread.o): Add coff_pe_read_h dependency.
2546 (coff-pe-read.o): New target.
2548 2003-02-19 David Carlton <carlton@math.stanford.edu>
2550 * Makefile.in (SFILES): Add block.c.
2552 (COMMON_OBS): Add block.o.
2554 (x86-64-tdep.o): Add $(block_h).
2555 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
2556 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
2557 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
2558 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
2559 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
2560 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
2561 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
2562 * value.h: Add opaque declaration for struct block.
2563 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
2564 * ada-lang.h: Ditto.
2565 * x86-64-tdep.c: #include "block.h"
2566 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
2567 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
2568 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
2569 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
2570 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
2571 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
2572 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
2573 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
2574 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
2575 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
2576 * symtab.c (block_function): Ditto.
2577 (contained_in): Ditto.
2578 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
2579 block.h. Add opaque declaration for struct block.
2580 * symtab.h: Move block_function and contained_in declarations to
2581 block.h. Add opaque declarations for struct block, struct
2583 (struct block): Move to block.h.
2584 (struct blockvector): Ditto.
2585 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
2586 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
2587 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
2588 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
2589 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
2591 * block.c: New file.
2592 * block.h: New file.
2594 2003-02-19 Theodore A. Roth <troth@openavr.org>
2596 * avr-tdep.c (avr_extract_return_value): Remove function.
2597 (avr_store_return_value): Remove function.
2598 (avr_extract_struct_value_address): Remove function.
2599 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
2601 2003-02-19 Andrew Cagney <ac131313@redhat.com>
2603 * rs6000-tdep.c: Include "gdb_assert.h".
2604 (registers_e500): Add "acc" and "spefscr".
2605 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
2606 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
2607 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
2609 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
2611 2003-02-18 Keith Seitz <keiths@redhat.com>
2613 * Makefile.in: Add gdbtk-interps.c.
2615 2003-02-18 Kevin Buettner <kevinb@redhat.com>
2617 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
2618 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
2620 2003-02-18 Andrew Cagney <cagney@redhat.com>
2622 * symtab.h (struct objfile): Add opaque declaration.
2624 2003-02-18 Elena Zannoni <ezannoni@redhat.com>
2626 From Jim Ingham <jingham@apple.com>:
2627 * dbxread.c (process_one_symbol): Use last_function_start rather
2628 than function_start_offset to find the real beginning of the
2629 current function. The latter is just the text section offset on
2630 some systems, the former is always the real function start.
2632 2003-02-17 Andrew Cagney <cagney@redhat.com>
2634 * configure.in: Revert ${target} != ${host}.
2636 2003-02-17 Andrew Cagney <ac131313@redhat.com>
2638 * configure.in (Makefile): Use the test ${target} != ${host},
2639 instead of the absence of the "nm.h" file, to determine of the
2640 configuration non-native.
2641 * configure: Regenerate.
2643 2003-02-14 Elena Zannoni <ezannoni@redhat.com>
2645 From Brian Ford <ford@vss.fsi.com>
2647 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
2648 conditionalize tui_active test.
2649 (lookup_cmd_1): Ditto.
2651 2003-02-14 Mark Kettenis <kettenis@gnu.org>
2653 * configure.in: Add check for _etext.
2654 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
2656 * config.in, configure: regenerated.
2658 2003-02-14 Daniel Jacobowitz <drow@mvista.com>
2660 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
2662 2003-02-14 Andrew Cagney <ac131313@redhat.com>
2664 * main.c (tui_version): Delete variable.
2665 (captured_main): When --tui, set interpreter_p to "tui" instead of
2666 enabling tui_version.
2667 * printcmd.c (display_command) [TUI]: Test tui_active instead of
2669 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
2670 * cli/cli-cmds.c (disassemble_command): Ditto.
2671 * defs.h (tui_version): Delete declaration.
2672 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
2673 (tui-interp.o): Add rules.
2674 (SUBDIR_TUI_OBS): Add "tui-interp.o".
2676 2003-02-14 Christopher Faylor <cgf@redhat.com>
2678 * win32-nat.c (register_loaded_dll): Correctly set address range for
2681 2003-02-12 Jason Molenda (jmolenda@apple.com)
2683 * symmisc.c (print_objfile_statistics): Include information about
2684 the number of psymtabs and symtabs in each object file.
2686 2003-02-13 Keith R Seitz <keiths@redhat.com>
2688 * main.h (struct captured_main_args): Add interpreter_p.
2689 * main.c (captured_main): Initialize interpreter_p from context.
2690 * gdb.c (main): Set interpreter_p argument.
2691 * Makefile.in (gdb.o): Add dependency for interps.h.
2693 2003-02-12 Andrew Cagney <ac131313@redhat.com>
2695 * event-top.c (cli_command_loop): Delete declaration.
2696 (_initialize_event_loop): Delete function setting event_loop_hook.
2697 * event-top.h (cli_command_loop): Declare. Update copyright.
2698 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
2699 * interps.c (current_interp_command_loop): When event_loop_p, call
2702 2003-02-12 Andrew Cagney <ac131313@redhat.com>
2704 * interps.h (interp_command_loop_ftype): Change return type to
2707 2003-02-12 Michal Ludvig <mludvig@suse.cz>
2709 * x86-64-tdep.c (x86_64_extract_return_value)
2710 (x86_64_store_return_value): Use regcache instead of regbuf.
2711 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
2712 * x86-64-linux-nat.c (fill_gregset): Use regcache.
2714 2003-02-11 Andrew Cagney <ac131313@redhat.com>
2716 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
2717 * aclocal.m4: Regenerate.
2718 * configure: Regenerate.
2720 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
2721 TCL_LD_SEARCH_FLAGS.
2723 2003-02-10 Michal Ludvig <mludvig@suse.cz>
2725 * dwarf2cfi.c: Reindented.
2727 2003-02-09 Andrew Cagney <ac131313@redhat.com>
2729 * interps.c (clear_interpreter_hooks): Convert function definition
2732 2003-02-07 David Carlton <carlton@math.stanford.edu>
2734 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
2736 2003-02-07 Kevin Buettner <kevinb@redhat.com>
2738 * gdbtypes.h (struct main_type): Move ``length'' field from here...
2739 (struct type): ...to here.
2740 (TYPE_LENGTH): Adjust to reflect different location of ``length''
2742 * gdbtypes.c (make_qualified_type): Set length on newly created type.
2743 (replace_type): Set length on all type variants for a given type.
2745 2003-02-07 Andrew Cagney <ac131313@redhat.com>
2747 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
2749 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
2751 2003-02-06 Andrew Cagney <ac131313@redhat.com>
2753 * Makefile.in (symm-nat.o): Update dependencies.
2754 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
2755 (lynx-nat.o, ia64-linux-nat.): Ditto.
2756 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
2757 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
2758 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
2760 * Makefile.in (inflow_h): Define.
2761 (procfs.o, inflow.o, procfs.o): Update dependencies.
2762 * inftarg.c (child_stop): Delete extern declaration of
2763 inferior_process_group. Include "inflow.h".
2764 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
2765 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
2766 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
2767 (our_process_group, inferior_process_group): Extern declarations.
2769 * procfs.c: Include "gdb_assert.h".
2771 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
2772 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
2773 * jv-typeprint.c (java_type_print_base): Ditto.
2774 * typeprint.c (typedef_print): Eliminate STREQ.
2775 * cli/cli-script.c (define_command, define_command): Ditto.
2776 * main.c (captured_main): Ditto.
2777 * values.c (lookup_internalvar): Ditto.
2778 * utils.c (safe_strerror, parse_escape): Eliminate assignment
2779 within `if' conditional.
2780 * linespec.c (decode_line_2): Ditto.
2781 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
2782 (bfd_openw_with_cleanup): Ditto.
2784 2003-02-07 Mark Kettenis <kettenis@gnu.org>
2786 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
2787 legacy_extract_return_value and store_return_value to
2788 legacy_return_value.
2790 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
2792 * win32-nat.c (get_relocated_section_addrs): New function. Find
2793 section load addresses for symbol handling in relocated DLLs.
2794 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
2796 2003-02-05 Fred Fish <fnf@intrinsity.com>
2798 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
2800 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
2802 (angel_RDI_info): Ditto.
2803 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
2805 (threads_continue_all_with_signals): Ditto.
2807 2003-02-05 Jim Ingham <jingham@apple.com>
2808 Keith Seitz <keiths@redhat.com>
2809 Elena Zannoni <ezannoni@redhat.com>
2810 Andrew Cagney <ac131313@redhat.com>
2812 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
2813 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
2814 (SUBDIR_MI_OBS): Add "mi-interp.o".
2815 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
2816 (SFILES): Add "interps.c".
2817 (COMMON_OBS): Add "interps.o".
2818 (interps_h, mi_main_h): Define.
2819 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
2820 (mi-main.o, main.o, event-top.o): Update dependencies.
2821 * cli/cli-interp.c: New file.
2822 * interps.h, interps.c: New files.
2823 * top.c: (gdb_init): Don't install the default interpreter, handed
2825 * main.c: Include "interps.h".
2826 (interpreter_p): Note that it should malloc'ed.
2827 (captured_command_loop): Call current_interp_command_loop.
2828 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
2829 xfree and xstrdup when updating interpreter_p. Install the
2830 default interpreter. Add hack to stop mi1's copyright notice
2832 * event-top.h (gdb_setup_readline): Declare.
2833 (gdb_disable_readline): Declare.
2834 * event-top.c: Include "interps.h".
2835 (display_gdb_prompt): Call current_interp_display_prompt_p.
2836 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
2837 gdb_stdlog, and gdb_stdtarg.
2838 (_initialize_event_loop): Don't call gdb_setup_readline.
2839 * cli-out.c (cli_out_set_stream): New function.
2840 * cli-out.h (cli_out_set_stream): Declare.
2842 2003-02-06 Mark Kettenis <kettenis@gnu.org>
2844 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
2845 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
2846 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
2847 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
2848 config/i386/i386v42mp.mt: Removed.
2850 2003-02-05 Mark Kettenis <kettenis@gnu.org>
2852 * configure.tgt (*-*-solaris*): Set gdb_osabi to
2855 2003-02-05 Michael Chastain <mec@shout.net>
2857 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
2858 2.12.1 and earlier versions.
2860 2003-02-05 Andrew Cagney <ac131313@redhat.com>
2862 Remove orphaned hosts, targets and files.
2863 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
2864 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
2865 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
2866 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
2867 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
2868 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
2869 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
2870 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
2871 * config/sparc/tm-sp64sim.h: Delete.
2872 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
2874 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
2875 mips*-dec-mach3* targets.
2877 2003-02-04 Michael Chastain <mec@shout.net>
2879 * NEWS: Fix typo: sepcifying -> specifying.
2881 2003-02-04 Michael Chastain <mec@shout.net>
2883 * dwarfread.c: Add documentation on the state of dwarf-1,
2884 looking towards obsoletion.
2886 2003-02-03 Michael Chastain <mec@shout.net>
2888 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
2889 gdb/testsuite/gdb.c++/pr-1023.exp.
2891 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2893 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
2894 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
2896 * utils.c (init_page_info): Delete reference to MPW in comments.
2897 * main.c (captured_main): Delete #ifdef MPW.
2899 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2901 * NEWS: Note that the m32r-*-elf* is obsolete.
2902 * monitor.c (monitor_expect): Obsolete reference to m32r.
2903 * configure.tgt: Mark m32r-*-elf* as obsolete.
2904 * MAINTAINERS: Mark m32k as obsolete.
2905 * m32r-rom.c: Obsolete file.
2906 * config/m32r/m32r.mt: Obsolete file.
2907 * config/m32r/tm-m32r.h: Obsolete file.
2908 * m32r-stub.c: Obsolete file.
2909 * m32r-tdep.c: Obsolete file.
2911 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2913 * NEWS: Mention that the z8k-zilog-none is obsolete.
2914 * MAINTAINERS: Mark z8k as obsolete.
2915 * configure.tgt: Obsolete the z8k-*-coff* target.
2916 * config/z8k/z8k.mt: Obsolete file.
2917 * config/z8k/tm-z8k.h: Obsolete file.
2918 * z8k-tdep.c: Obsolete file.
2920 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2922 * NEWS: Mention that the mn10200-elf is obsolete.
2923 * configure.tgt: Obsolete mn10200-*-* target.
2924 * breakpoint.c (update_breakpoints_after_exec): Update comment to
2925 mention that the mn10200 is obsolete.
2926 * breakpoint.h: Ditto.
2927 * MAINTAINERS: Mark the mn10200-elf as obsolete.
2928 * config/mn10200/mn10200.mt: Obsolete file.
2929 * config/mn10200/tm-mn10200.h: Obsolete file.
2930 * mn10200-tdep.c: Obsolete file.
2932 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2934 * MAINTAINERS: Mark h8500 as obsolete.
2935 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
2936 * findvar.c (value_from_register): Ditto.
2937 * h8500-tdep.c: Mark file as obsolete.
2938 * config/h8500/h8500.mt: Ditto.
2939 * config/h8500/tm-h8500.h: Ditto.
2940 * NEWS: Mention that h8500 is obsolete.
2942 2003-02-04 David Carlton <carlton@math.stanford.edu>
2944 * objfiles.c (allocate_objfile): Always set name. Add comment at
2946 * jv-lang.c (get_dynamics_objfile): Add comment.
2948 2003-02-04 David Carlton <carlton@math.stanford.edu>
2950 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
2951 * printcmd.c (build_address_symbolic): Replace uses of
2952 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
2953 SYMBOL_NAME, and asm_demangle.
2956 2003-02-04 David Carlton <carlton@math.stanford.edu>
2958 * linespec.c (decode_compound): Extract code into
2960 (lookup_prefix_sym): New function.
2962 2003-02-04 David Carlton <carlton@math.stanford.edu>
2964 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
2965 FLOAT_COERCION_BADNESS.
2966 * gdbtypes.c (rank_one_type): Replace all uses of
2967 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
2969 2003-02-04 Jim Blandy <jimb@redhat.com>
2971 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
2972 section, let dwarf_macinfo_section point to it, not
2975 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
2977 Pointed out by Anton Blanchard <anton@samba.org>.
2978 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
2979 (ppc_linux_at_sigtramp_return_path): Use it.
2981 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
2983 * defs.h (streq): Add prototype.
2984 * utils.c (streq): New function.
2986 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
2987 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
2988 * mdebugread.c (new_symbol): Likewise.
2989 * stabsread.c (define_symbol): Likewise.
2990 * coffread.c (process_coff_symbol): Likewise.
2991 * dwarfread.c (new_symbol): Likewise.
2993 * minsyms.c (prim_record_minimal_symbol_and_info): Use
2994 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
2996 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
2997 SYMBOL_INIT_DEMANGLED_NAME.
2998 * objfiles.c: Include "hashtab.h".
2999 (allocate_objfile): Call htab_set_functions_ex for the
3000 demangled_names_hash.
3001 (free_objfile): Call htab_delete for the demangled_names_hash.
3002 * objfiles.h (struct htab): Add declaration.
3003 (struct objfile): Add demangled_names_hash.
3004 * symfile.c: Include "hashtab.h".
3005 (reread_symbols): Call htab_delete for the demangled_names_hash.
3006 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
3007 SYMBOL_NAME in the bcache.
3008 * symtab.c: Include "hashtab.h". Update comments.
3009 (create_demangled_names_hash, symbol_set_names): New functions.
3010 (symbol_find_demangled_name): New function, broken out from
3011 symbol_init_demangled_names.
3012 (symbol_init_demangled_names): Use it.
3013 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
3014 (SYMBOL_SET_NAMES): New macro.
3015 (symbol_set_names): Add prototype.
3017 2003-02-03 Jim Blandy <jimb@redhat.com>
3019 Use a single, consistent representation for an empty minimal
3020 symbol table in an objfile.
3021 * objfiles.c (terminate_minimal_symbol_table): New function.
3022 (allocate_objfile): Call it.
3023 * objfiles.h (terminate_minimal_symbol_table): New declaration.
3024 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
3026 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
3027 objfile has minimal symbols, compare minimal_symbol_count to zero,
3028 instead of comparing msymbols with NULL.
3029 * objfiles.c (have_minimal_symbols): Same.
3030 * solib-sunos.c (solib_add_common_symbols): Call
3031 terminate_minimal_symbol_table.
3032 * symfile.c (reread_symbols): Same.
3034 2003-02-03 Kevin Buettner <kevinb@redhat.com>
3036 * s390-tdep.c (s390_address_class_type_flags)
3037 (s390_address_class_type_flags_to_name)
3038 (s390_address_class_name_to_type_flags): New functions.
3039 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
3040 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
3042 2003-02-03 Michael Snyder <msnyder@redhat.com>
3044 * arm-tdep.c: Fix spell-o in comment.
3046 2003-02-03 Michal Ludvig <mludvig@suse.cz>
3048 * dwarf2cfi.c (pointer_encoding): Added new parameter.
3049 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
3050 error messages to contain BFD filename.
3052 2003-02-02 Elena Zannoni <ezannoni@redhat.com>
3054 Fix PR gdb/742 gdb/743 gdb/877
3055 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
3056 (do_mixed_source_and_assembly): Use
3057 make_cleanup_ui_out_tuple_begin_end and
3058 make_cleanup_ui_out_tuple_begin_end.
3059 (do_mixed_source_and_assembly): Ditto.
3060 * thread.c (do_captured_list_thread_ids): Ditto.
3061 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
3062 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
3063 ui_out_tuple_end): Delete prototypes.
3064 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
3065 ui_out_list_end, ui_out_tuple_end): Delete.
3067 From Kevin Buettner <kevinb@redhat.com>:
3068 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
3069 * ui-out.c (make_cleanup_ui_out_table_begin_end)
3070 (do_cleanup_table_end): New functions.
3071 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
3072 Use cleanups to invoke_ui_out_tuple_end().
3073 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
3074 * cli/cli-setshow.c (cmd_show_list): Use
3075 make_cleanup_ui_out_tuple_begin_end.
3077 2003-02-02 Andrew Cagney <ac131313@redhat.com>
3079 * frame.c (frame_unwind_register): New function.
3080 (frame_unwind_unsigned_register): Use.
3081 (frame_unwind_signed_register): Use.
3082 (frame_read_register): New function.
3083 * frame.h (frame_unwind_register): Declare.
3084 (frame_read_register): Declare.
3086 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
3087 and frame_unwind_register instead of read_memory, write_register
3088 and deprecated_write_register_bytes.
3090 2003-02-02 Andrew Cagney <ac131313@redhat.com>
3092 * frame.h: Note that namelen can be negative.
3093 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
3096 * NEWS: Mention that the d10v's `regs' command is deprecated.
3097 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
3098 (d10v_print_registers_info): New function.
3099 (show_regs): Call d10v_print_registers_info.
3100 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
3102 2003-02-02 Mark Kettenis <kettenis@gnu.org>
3104 * stack.c (print_frame_info): Restore call to annotate_frame_begin
3105 lost in the previous patch.
3107 2003-02-01 Andrew Cagney <ac131313@redhat.com>
3109 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
3110 * stack.c (print_frame_info_base): Output complete FRAME tuple
3111 for synthesized frames.
3113 2003-02-02 Andrew Cagney <ac131313@redhat.com>
3115 * mips-nat.c (zerobuf): Delete.
3116 (fetch_inferior_registers): Alloc local zerobuf.
3117 (fetch_core_registers): Alloc local zerobuf.
3118 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
3119 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
3120 * thread-db.c (thread_db_store_registers): Ditto.
3121 * sh-tdep.c (sh_do_register): Ditto.
3122 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
3123 * remote-sim.c (gdbsim_store_register): Ditto.
3124 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
3125 * remote-e7000.c (fetch_regs_from_dump): Ditto.
3126 * monitor.c (monitor_supply_register): Ditto.
3127 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
3128 * mips-nat.c (fetch_inferior_registers): Ditto.
3129 * m68klinux-nat.c (fetch_register): Ditto.
3130 * lynx-nat.c (fetch_inferior_registers): Ditto.
3131 (fetch_inferior_registers): Ditto.
3132 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
3133 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
3134 (hpux_thread_store_registers): Ditto.
3135 * hppah-nat.c (fetch_register): Ditto.
3136 * hppab-nat.c (fetch_register): Ditto.
3137 * hppa-tdep.c (pa_register_look_aside): Ditto.
3138 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
3139 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
3141 2003-02-01 Andrew Cagney <ac131313@redhat.com>
3143 * gdbarch.sh: Explictly specify all method levels. When a
3144 variable with an empty level, provide a non-multi-arch default.
3145 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
3146 * gdbarch.h: Re-generate.
3147 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
3148 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
3150 2003-02-01 Andrew Cagney <ac131313@redhat.com>
3152 * defs.h (host_pointer_to_address): Delete declaration.
3153 (address_to_host_pointer): Delete declaration.
3154 * utils.c (host_pointer_to_address): Delete function.
3155 (address_to_host_pointer): Delete function.
3156 * procfs.c (procfs_address_to_host_pointer): New function.
3157 * procfs.c (proc_set_watchpoint): Use.
3158 (procfs_can_use_hw_breakpoint): Update comments.
3159 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
3160 (som_solib_add): Use.
3161 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
3162 * hppa-tdep.c (unwind_command): Use.
3164 2003-02-01 Andrew Cagney <ac131313@redhat.com>
3166 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
3169 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
3170 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
3171 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
3172 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
3173 (define_symbol): Update.
3174 * symfile.c (generic_load): Remove references to nindy.
3175 * symtab.c: Remove references to nindy.
3177 2003-02-01 Andrew Cagney <ac131313@redhat.com>
3179 * infcmd.c (print_float_info): Delete code conditional on
3181 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
3182 * config/m68k/nm-apollo68b.h: Ditto.
3183 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
3184 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
3185 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
3187 2003-02-01 Mark Kettenis <kettenis@gnu.org>
3189 * config/i386/tm-i386os9k.h: Removed.
3191 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
3192 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
3193 they're identical to i[3456]86-*-sysv* now.
3194 * config/i386/i386v32.mh: Removed.
3195 * config/i386/xm-i386v32.h: Removed.
3196 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
3198 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
3200 * config/i386/i386dgux.mh: Removed.
3201 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
3203 * configure.in: Fix typo.
3204 * configure: Regenerated.
3206 2003-01-31 David Carlton <carlton@math.stanford.edu>
3208 * dwarf2read.c (dwarf2_locate_sections): Set
3209 dwarf_ranges_section.
3211 2003-01-31 Andrew Cagney <ac131313@redhat.com>
3213 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
3214 * utils.c: Update comments documenting legitimate uses of PTR.
3216 * utils.c: Re-indent.
3218 * config/djgpp/fnchange.lst: Delete nindy files.
3219 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
3220 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
3221 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
3222 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
3223 * nindy-share/README, nindy-share/Onindy.c: Delete files.
3224 * nindy-tdep.c, nindy-share/Makefile: Delete files.
3225 * Makefile.in (init.c): Remove nindy references.
3226 (saber_gdb): Delete rule.
3227 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
3228 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
3230 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
3231 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
3232 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
3233 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
3235 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
3236 * saber.suppress: Delete file.
3238 2003-01-31 Daniel Jacobowitz <drow@mvista.com>
3240 * dbxread.c (stabs_data): New static variable.
3241 (fill_symbuf): Support an in-memory buffer for stabs data.
3242 (stabs_seek): New function.
3243 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
3244 (read_ofile_symtab): Use stabs_seek.
3245 (elfstab_build_psymtabs): Take an asection* instead of
3246 an offset and size. Relocate the stabs data if necessary.
3247 Save the section* for dbx_psymtab_to_symtab.
3248 * dwarf2read.c: Add section variables for each debug section.
3249 (dwarf2_locate_sections): Fill them in.
3250 (dwarf2_read_section): Take an asection* argument.
3251 Relocate the section contents if necessary.
3252 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
3253 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
3254 it to dwarf2_read_section.
3255 (dwarf2_build_frame_info): Update callers.
3256 * elfread.c (elf_symfile_read): Update call to
3257 elfstab_build_psymtabs.
3258 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
3259 (DBX_STAB_SECTION): New macro.
3260 * stabsread.h (elfstab_build_psymtabs): Update prototype.
3261 * symfile.c (symfile_dummy_outputs): New function.
3262 (symfile_relocate_debug_section): New function.
3263 * symfile.h (symfile_relocate_debug_section): Add prototype.
3265 2003-01-31 Richard Henderson <rth@redhat.com>
3267 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
3268 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
3269 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
3270 * alpha-tdep.c (alpha_register_name): Add "unique".
3271 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
3272 (ALPHA_UNIQUE_REGNUM): New.
3273 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
3275 2003-01-31 Andrew Cagney <ac131313@redhat.com>
3277 * README: Remove reference to Ericsson 1800 monitor.
3278 * Makefile.in (remote-es.o): Delete rule.
3279 (ALLDEPFILES): Delete remote-es.c.
3280 * remote-es.c: Delete file.
3281 * config/m68k/es1800.mt: Delete file.
3282 * config/djgpp/fnchange.lst: Update.
3283 * configure.tgt: Delete m68*-ericsson-* target.
3285 2003-01-31 Adam Fedor <fedor@gnu.org>
3287 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
3288 Remove duplicate/shadowing variable of same name.
3290 2003-01-30 Jim Blandy <jimb@redhat.com>
3292 * symfile.c (find_separate_debug_file): Assert that the objfile's
3293 directory name we compute ends with a slash, and then assume that
3294 that's so everywhere we use it.
3296 2003-01-30 Daniel Jacobowitz <drow@mvista.com>
3298 * valops.c (value_assign): Flush frame cache after stores to memory
3301 2003-01-30 Andrew Cagney <ac131313@redhat.com>
3303 * Makefile.in (mon960-rom.o): Delete rule.
3304 * mon960-rom.c: Delete file.
3306 2003-01-30 Andrew Cagney <ac131313@redhat.com>
3308 * d10v-tdep.c: Include "frame-unwind.h".
3309 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
3311 (next_addr, uses_frame): Delete.
3312 (struct d10v_unwind_cache): Define.
3313 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
3314 Use info instead of next_addr and uses_frame globals.
3315 (d10v_frame_init_saved_regs): Delete function.
3316 (d10v_init_extra_frame_info): Delete function.
3317 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
3318 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
3319 init_frame_pc or frame_saved_pc.
3320 (d10v_pop_frame): Delete function.
3321 (do_d10v_pop_frame): Delete function.
3322 (d10v_frame_chain): Delete function.
3323 (d10v_frame_chain_valid): Delete function.
3324 (d10v_frame_pc_unwind): New function.
3325 (d10v_frame_id_unwind): New function.
3326 (saved_regs_unwinder): New function.
3327 (d10v_frame_register_unwind): New function.
3328 (d10v_frame_pop): New function.
3329 (d10v_frame_unwind): New variable.
3330 (d10v_frame_p): New function.
3331 (d10v_frame_saved_pc): Delete function.
3332 * Makefile.in (d10v-tdep.o): Update dependencies.
3334 2003-01-30 J. Brobecker <brobecker@gnat.com>
3336 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
3337 causing some regressions due to a change in the default value
3340 2003-01-29 Richard Henderson <rth@redhat.com>
3341 Elena Zannoni <ezannoni@redhat.com>
3342 Daniel Jacobowitz <drow@mvista.com>
3345 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
3347 (RANGES_SECTION): New.
3348 (dwarf_ranges_buffer): New variable.
3349 (struct comp_unit_head): Add member "die".
3350 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
3351 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
3352 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
3353 (dwarf2_locate_sections): Likewise.
3354 (dwarf2_build_psymtabs): Read .debug_ranges.
3355 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
3356 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
3357 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
3358 Look for DW_AT_ranges and return the bounding box.
3360 2003-01-29 Brian Ford <ford@vss.fsi.com>
3362 * win32-nat.c (cygwin_pid): Removed as unused.
3363 (child_attach): Try fall back to Cygwin pid.
3365 2003-01-29 Jim Blandy <jimb@redhat.com>
3367 * objfiles.h (struct objfile): Doc fix.
3369 2003-01-29 Andrew Cagney <ac131313@redhat.com>
3371 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
3372 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
3373 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
3374 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
3375 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
3376 (FRAME_SAVED_PC): Change to a function with predicate.
3377 * gdbarch.h, gdbarch.c: Re-generate.
3379 2003-01-28 Andrew Cagney <ac131313@redhat.com>
3381 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
3383 * complaints.c (complain): Delete function.
3384 * complaints.h (struct deprecated_complaint): Delete definition.
3385 (complain): Delete declaration.
3387 2003-01-28 Kevin Buettner <kevinb@redhat.com>
3389 * mips-tdep.c (mips_init_extra_frame_info): Return early for
3392 2003-01-27 Andrew Cagney <ac131313@redhat.com>
3394 * sentinel-frame.h, sentinel-frame.c: New files.
3395 * Makefile.in (frame.o): Update dependencies.
3396 (SFILES): Add sentinel-frame.c.
3397 (sentinel_frame_h): Define.
3398 (COMMON_OBS): Add sentinel-frame.o.
3399 (sentinel-frame.o): Specify dependencies.
3400 * frame.c: Include "sentinel-frame.h".
3401 (frame_register_unwind): Rewrite assuming that there is always a a
3403 (frame_register, generic_unwind_get_saved_register): Ditto.
3404 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
3405 (create_sentinel_frame, unwind_to_current_frame): New functions.
3406 (get_current_frame): Rewrite using create_sentinel_frame and
3407 unwind_to_current_frame. When possible, always create a frame.
3408 (create_new_frame): Set next to the sentinel frame.
3409 (get_next_frame): Rewrite. Don't go below the level 0 frame.
3410 (deprecated_update_frame_pc_hack): Update the next frame's PC and
3411 ID cache when necessary.
3412 (frame_saved_regs_id_unwind): Use frame_relative_level.
3413 (deprecated_generic_get_saved_register): Use frame_relative_level,
3414 get_frame_saved_regs, get_frame_pc, get_frame_base and
3416 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
3419 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
3421 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
3423 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
3425 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
3426 (maintenance_set_profile_cmd): Use error () instead of warning ().
3428 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
3430 * configure.in: Check that -pg works if using --enable-profiling.
3431 Check for monstartup and _mcleanup regardless of --enable-profiling.
3432 * maint.c: Check for monstartup and _mcleanup before using them.
3433 * config.in: Regenerated.
3434 * configure: Regenerated.
3436 2003-01-24 Nick Clifton <nickc@redhat.com>
3440 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
3442 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
3443 (sh2e_show_regs): New.
3444 (sh_gdbarch_init): Handle bfd_mach_sh2e.
3445 * config/sh/tm-sh.h: Added sh2e to comments.
3447 2003-01-23 Jim Blandy <jimb@redhat.com>
3449 * symfile.c (syms_from_objfile): Don't print the "(no debugging
3450 symbols found)" message here; we haven't checked for a separate
3451 debug info file yet, so we don't know yet.
3452 (symbol_file_add_with_addrs_or_offsets): Print it here, after
3453 we've looked everywhere. Also, there's no need to print a special
3454 message when we're loading the separate debug info file: the one
3455 symbol_file_add prints is fine.
3457 2003-01-23 Alexander Larsson <alexl@redhat.com>
3458 Jim Blandy <jimb@redhat.com>
3460 Add support for executables whose debug info has been separated
3461 out into a separate file, leaving only a link behind.
3462 * objfiles.h (struct objfile): New fields: separate_debug_objfile
3463 and separate_debug_objfile_backlink.
3464 (put_objfile_before): New declaration.
3465 * symfile.c: #include "filenames.h".
3466 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
3467 debug info in a separate file, read that, too. Save the addrs
3468 argument, so we can use it again to read the separated debug info;
3469 syms_from_objfile modifies the table we pass it.
3470 (reread_symbols): After re-reading an objfile, call
3471 reread_separate_symbols to refresh its separate debug info
3472 objfile, if it has one.
3473 (reread_separate_symbols, find_separate_debug_file,
3474 get_debug_link_info, separate_debug_file_exists): New functions.
3475 (debug_file_directory): New global var.
3476 (_initialize_symfile): Initialize debug_file_directory, and
3477 provide the new `set debug-file-directory' command to let the user
3479 * objfiles.c (free_objfile): If this objfile has its debug info in
3480 a separate objfile, free that one too. If this is itself a
3481 separate debug info objfile, clear our parent's backlink.
3482 (put_objfile_before): New function.
3483 * utils.c (gnu_debuglink_crc32): New function.
3484 * defs.h (gnu_debuglink_crc32): New declaration.
3485 * Makefile.in (symfile.o): Note dependency on "filenames.h".
3486 * configure.in: Handle --with-separate-debug-dir config option.
3487 * acinclude.m4 (AC_DEFINE_DIR): New macro.
3488 * acconfig.h (DEBUGDIR): New macro.
3489 * configure, aclocal.m4, config.in: Regenerated.
3491 2003-01-22 Jim Blandy <jimb@redhat.com>
3493 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
3494 like the old symbol_file_add, but taking new arguments: you can
3495 now pass in either a `struct section_addr_info' list to say where
3496 each section is loaded, or a `struct section_offsets' table. Pass
3497 these new arguments through to syms_from_objfile as appropriate.
3498 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
3499 with the appropriate quiescent values for the new arguments.
3501 * symfile.c: #include "gdb_assert.h".
3502 (syms_from_objfile): Add the ability to pass in a section offset
3503 table directly, as an alternative to the section_addr_info table.
3504 Document arguments better.
3505 (symbol_file_add): Pass extra arguments to syms_from_objfile.
3506 * symfile.h (syms_from_objfile): Update declaration.
3507 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
3509 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
3511 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
3513 Original patch by Tom Tromey <tromey@cygnus.com> and
3514 Jason Molenda <jmolenda@apple.com>.
3515 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
3516 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
3517 * NEWS: Mention profiling.
3518 * configure.in (--enable-gdbtk): Fix typo.
3519 (--enable-profiling): New. Set PROFILE_CFLAGS.
3520 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
3522 (profiling_state): New variable.
3523 (mcleanup_wrapper): New function.
3524 (_initialize_maint): Remove NOTYET, fix call to
3525 add_setshow_boolean_cmd for "maint set profile".
3526 * configure: Regenerated.
3528 2003-01-21 Martin M. Hunt <hunt@redhat.com>
3530 * Makefile.in (install-gdbtk): Install PNG images too.
3532 2003-01-21 Andrew Cagney <ac131313@redhat.com>
3534 * exec.c (text_start): Delete global variable.
3535 (exec_file_attach): Make text_start local to the function.
3536 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
3537 * valops.c (hand_function_call): Delete code that handles
3538 BEFORE_TEXT_END and AFTER_TEXT_END.
3539 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
3540 of CALL_DUMMY_LOCATION.
3541 * gdbarch.c: Regenerate.
3542 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
3543 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
3544 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
3545 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
3546 (text_end): Delete extern declaration.
3548 2003-01-21 Andrew Cagney <ac131313@redhat.com>
3550 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
3551 * blockframe.c (backtrace_below_main): Move to "frame.c".
3552 (frame_chain_valid): Delete check for backtrace_below_main.
3553 (_initialize_blockframe): Delete initialization, move ``set
3554 backtrace-below-main'' command to "frame.c".
3555 (do_flush_frames_sfunc): Delete function.
3556 * frame.c: Include "command.h" and "gdbcmd.h".
3557 (frame_type_from_pc): New function.
3558 (create_new_frame): Use frame_type_from_pc.
3559 (legacy_get_prev_frame): New function.
3560 (get_prev_frame): Rewrite. When an old style frame, call
3561 legacy_get_prev_frame. Otherwize, unwind the PC first.
3562 (_initialize_frame): Add ``set backtrace-below-main'' command.
3563 * Makefile.in (frame.o): Update dependencies.
3565 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3567 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
3568 DEPRECATED_REGISTERS_INFO.
3570 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3572 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
3573 Maintainers'. Update `Various Maintainers'.
3575 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3577 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
3578 * gdbarch.sh (POP_FRAME): Change to function with predicate.
3579 Suppress actual parameters when `-'.
3580 * gdbarch.h, gdbarch.c: Regenerate.
3582 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3584 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
3585 code handling dummy frames.
3587 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3589 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
3590 (struct frame_unwind): Add field pop.
3591 * frame.h (frame_pop): Declare.
3592 * frame.c (frame_saved_regs_pop): New function.
3593 (trad_frame_unwinder): Add frame_saved_regs_pop.
3594 (frame_pop): New function.
3595 * dummy-frame.c (dummy_frame_pop): New function.
3596 (discard_innermost_dummy): New function.
3597 (generic_pop_dummy_frame): Use discard_innermost_dummy.
3598 (dummy_frame_unwind): Add dummy_frame_pop.
3599 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
3600 * valops.c (hand_function_call): Ditto.
3601 * stack.c (return_command): Ditto.
3603 2003-01-18 Andrew Cagney <ac131313@redhat.com>
3605 * cris-tdep.c: Fix function declaration indentation.
3606 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
3607 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
3608 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
3609 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
3610 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
3611 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
3613 2003-01-18 Michael Chastain <mec@shout.net>
3615 * README (Unpacking and Installation -- quick overview):
3616 Warn against ".../gdb-5.3/gdb/configure".
3618 2003-01-18 Andrew Cagney <ac131313@redhat.com>
3620 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
3621 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
3622 (struct frame_unwind): Declare opaque.
3623 (dummy_frame_p): Declare function.
3624 * dummy-frame.c (dummy_frame_id_unwind): Make static.
3625 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
3626 * dummy-frame.c: Include "frame-unwind.h".
3627 (dummy_frame_p): New function.
3628 (dummy_frame_unwind): New variable.
3629 * frame.c: Include "frame-unwind.h".
3630 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
3631 to use the new unwind field.
3632 (set_unwind_by_pc): Delete function.
3633 (create_new_frame, get_prev_frame): Set unwind field using
3634 frame_unwind_find_by_pc.
3635 (trad_frame_unwind, trad_frame_unwinder): New variables.
3636 * frame.h (trad_frame_unwind): Declare variable.
3637 (frame_id_unwind_ftype): Delete declaration.
3638 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
3639 (struct frame_unwind): Declare opaque.
3640 (struct frame_info): Replace the fields id_unwind, pc_unwind and
3641 register_unwind with a single unwind pointer.
3642 * frame-unwind.h, frame-unwind.c: New files.
3643 * Makefile.in (SFILES): Add frame-unwind.c.
3644 (frame_unwind_h): Define.
3645 (COMMON_OBS): Add frame-unwind.o.
3646 (frame-unwind.o): Specify dependencies.
3647 (frame.o, dummy-frame.o): Update dependencies.
3649 2003-01-18 Andrew Cagney <ac131313@redhat.com>
3651 * ada-valprint.c: Eliminate PTR.
3652 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
3653 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
3654 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
3655 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
3656 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
3657 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
3658 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
3660 2003-01-17 Andrew Cagney <ac131313@redhat.com>
3662 * main.c (captured_main): Don't use PTR.
3663 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
3664 * gdbtypes.c (lookup_primitive_typename): Ditto.
3665 (lookup_struct_elt_type): Ditto.
3666 * f-valprint.c (info_common_command): Ditto.
3667 (list_all_visible_commons): Ditto.
3668 * jv-typeprint.c (java_type_print_base): Ditto.
3670 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
3671 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
3672 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
3673 i386-interix-nat.c and i386-interix-tdep.c. Rename
3674 m68klinux-nat.c and m68klinux-tdep.c. Rename
3675 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
3676 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
3677 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
3678 * main.c (captured_main): Use xfree, not free.
3680 2003-01-16 Andrew Cagney <ac131313@redhat.com>
3682 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
3683 ID back using a parameter.
3684 * frame.c (frame_id_unwind): Update call.
3685 (frame_saved_regs_id_unwind): Update.
3686 * dummy-frame.c (dummy_frame_id_unwind): Update function.
3687 * dummy-frame.h (struct frame_id): Add opaque declaration.
3688 (dummy_frame_id_unwind): Update declaration.
3690 2003-01-15 Andrew Cagney <ac131313@redhat.com>
3692 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
3694 2003-01-15 Stephen P. Smith <ischis2@cox.net>
3696 * MAINTAINERS (Stephen P. Smith): Updated email address.
3698 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
3701 * breakpoint.c (until_break_command): Add new argument. Use it to
3702 decide whether to stop only at the current frame or not.
3703 * breakpoint.h (until_break_command): Update prototype.
3704 * infcmd.c (until_command): Add new argument to until_break_command
3706 (advance_command): New function.
3707 (_initialize_infcmd): Update help string for 'until' command.
3708 Add new 'advance' command.
3710 2003-01-14 David Carlton <carlton@math.stanford.edu>
3712 * linespec.c (decode_line_1): Normalize comments.
3714 (locate_first_half): Ditto.
3715 (decode_compound): Ditto.
3716 (symtab_from_filename): Ditto.
3717 (decode_all_digits): Ditto.
3718 (decode_dollar): Ditto.
3719 (find_methods): Ditto.
3720 (find_toplevel_char): Ditto.
3722 2003-01-13 Andrew Cagney <ac131313@redhat.com>
3724 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
3725 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
3726 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
3727 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
3728 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
3729 * language.c, language.h, m32r-tdep.c: Update copyright.
3730 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
3731 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
3732 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
3733 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
3734 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
3735 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
3737 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
3739 * stabsread.h (process_later, resolve_cfront_continuation):
3741 Update copyright years.
3742 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
3743 Update copyright year.
3744 * dbxread.c(struct cont_elem): Obsolete.
3745 (process_later, process_now): Obsolete functions.
3746 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
3747 Update copyright year.
3748 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
3749 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
3750 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
3751 (parse_partial_symbols): Obsolete cfront support.
3753 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
3755 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
3756 read_cfront_baseclasses, read_cfront_member_functions,
3757 resolve_cfront_continuation,read_cfront_static_fields,
3758 copy_cfront_struct_fields): Obsolete functions.
3759 (define_symbol, read_one_struct_field): Obsolete cfront support.
3760 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
3761 Update Copyright year.
3763 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
3765 * stack.c (print_frame_info, print_stack_frame_base_stub,
3766 print_stack_frame_base, show_and_print_stack_frame_stub,
3767 show_and_print_stack_frame, print_only_stack_frame_stub,
3768 print_only_stack_frame): Delete functions.
3769 (print_stack_frame_stub): Call print_frame_info instead of
3770 print_frame_info_base.
3771 (print_frame_info_base): Rename to print_frame_info.
3772 (backtrace_command_1): Call print_frame_info, instead of
3773 print_frame_info_base.
3774 (current_frame_command): Call print_stack_frame, instead of
3775 print_only_stack_frame.
3776 (frame_command): Call print_stack_frame, instead of
3777 show_and_print_stack_frame.
3778 (up_command): Ditto.
3779 (down_command): Ditto.
3780 * frame.h (print_only_stack_frame): Delete prototype.
3781 * infrun.c (normal_stop): Call print_stack_frame, instead of
3782 show_and_print_stack_frame.
3783 * thread.c (info_threads_command): Call print_stack_frame, instead
3784 of print_only_stack_frame.
3786 2003-01-13 Andrew Cagney <ac131313@redhat.com>
3788 * README (Graphical interface to GDB): Update URL. Point at
3791 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
3794 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3796 * symtab.c (find_pc_sect_line): Don't consider end-of-function
3799 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3801 * thread-db.c (attach_thread): Prototype.
3802 (struct private_thread_info): Remove lwpid. Add thread handle (th),
3803 thread information (ti), and valid flags (th_valid, ti_valid).
3804 (attach_thread): Move target_pid_to_str call to after the thread
3805 is added to GDB's list. Initialize the cache.
3806 (thread_get_info_callback, thread_db_map_id2thr)
3807 (thread_db_get_info): New functions.
3808 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
3809 (thread_db_store_registers, thread_db_thread_alive)
3810 (thread_db_get_thread_local_address): Use them.
3811 (thread_db_pid_to_str): Likewise. Return "Missing" instead
3812 of calling error() for threads in unknown state.
3814 (clear_lwpid_callback): New function.
3815 (thread_db_resume): Use it to clear the cache.
3817 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3819 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
3820 (resume_callback): Remove dead code.
3822 2003-01-13 Andrew Cagney <ac131313@redhat.com>
3824 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
3826 * gdbarch.h, gdbarch.c: Regenerate.
3827 * stack.c (frame_info): Only initialize the saved registers when
3828 FRAME_INIT_SAVED_REGS_P.
3829 * frame.c (frame_saved_regs_register_unwind): Assert
3830 FRAME_INIT_SAVED_REGS_P.
3831 (deprecated_generic_get_saved_register): Ditto.
3833 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3835 * source.c (openp): Squelch warning about "filename".
3837 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3839 * source.c (openp): If the file does not exist don't necessarily
3842 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3845 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
3846 (integer_types_same_name_p): New function.
3847 (rank_one_type): Use it.
3848 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
3850 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3852 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
3854 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
3855 * configure.in: Add --with-sysroot.
3856 * configure: Regenerated.
3857 * main.c (gdb_sysroot): New variable.
3858 (captured_main): Initialize gdb_sysroot.
3859 * defs.h (gdb_sysroot): New extern declaration.
3860 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
3862 2003-01-12 Michael Chastain <mec@shout.net>
3864 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
3866 2003-01-12 Michael Chastain <mec@shout.net>
3868 * top.c (print_gdb_version): Bump copyright year to 2003.
3870 2003-01-12 David Carlton <carlton@bactrian.org>
3872 * linespec.c (symtab_from_filename): Rename variable 's' to
3875 2003-01-12 Andrew Cagney <ac131313@redhat.com>
3877 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
3879 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
3881 2003-01-12 Andrew Cagney <ac131313@redhat.com>
3883 * d10v-tdep.c: Include "gdb_assert.h".
3884 (d10v_store_return_value): Rewrite to match current interface.
3885 (d10v_extract_struct_value_address): Ditto.
3886 (d10v_extract_return_value): Ditto.
3887 (d10v_gdbarch_init): Set store_restore_value,
3888 extract_struct_value_address and extract_return_value.
3890 2003-01-12 J. Brobecker <brobecker@gnat.com>
3892 * hpread.c (set_namestring): New procedure replacing the
3893 SET_NAMESTRING macro.
3894 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
3895 by calls to set_namestring.
3897 2003-01-11 J. Brobecker <brobecker@gnat.com>
3899 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
3900 a compilation warning.
3901 (hpread_process_one_debug_symbol): Likewise.
3903 2003-01-10 David Carlton <carlton@math.stanford.edu>
3905 * linespec.c (decode_line_1): Rename variable 's' to
3907 (decode_all_digits): Rename argument 's' to 'file_symtab'.
3908 (decode_dollar): Ditto.
3909 (decode_variable): Ditto.
3910 (symbol_found): Ditto.
3912 2003-01-09 Michael Chastain <mec@shout.net>
3914 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
3916 2003-01-07 Corinna Vinschen <vinschen@redhat.com>
3918 * win32-nat.c (set_process_privilege): New function.
3919 (child_attach): Call set_process_privilege() to enable the
3920 SE_DEBUG_NAME user privilege if available in process token.
3922 2003-01-10 J. Brobecker <brobecker@gnat.com>
3924 * hpread.c (hpread_process_one_debug_symbol): Fix a small
3925 compilation error in the previous revision.
3927 2003-01-09 David Carlton <carlton@math.stanford.edu>
3929 * linespec.c: Update copyright.
3931 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
3933 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
3935 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
3937 2003-01-09 Andrew Cagney <ac131313@redhat.com>
3939 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
3941 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
3942 (frame_saved_regs_zalloc): Update.
3943 (frame_saved_regs_register_unwind): Update.
3944 (create_new_frame): Update.
3945 (get_prev_frame): Update.
3946 (frame_extra_info_zalloc): Update.
3947 (deprecated_get_frame_saved_regs): Update.
3948 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
3949 * cris-tdep.c: Update comment.
3951 * somsolib.h: Fix function indentation.
3952 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
3953 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
3954 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
3955 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
3956 * somsolib.c, inftarg.c: Remove assignment in if conditional.
3958 * infrun.c (follow_fork): Use ISO C definition.
3959 * expprint.c (print_subexp): Use xfree instead of free.
3960 * charset.c: Include "gdb_string.h" instead of <string.h>.
3961 (register_iconv_charsets): Use ISO C definition.
3962 (host_charset, target_charset): Ditto.
3963 * Makefile.in (charset.o): Update dependencies.
3964 (mi-cmd-env.o): Update dependencies.
3966 2003-01-08 Andrew Cagney <cagney@redhat.com>
3968 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
3971 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3973 * gdb_mbuild.sh: Add --keep option. When specified, keep the
3974 build directories. Save edited gdb output in Mbuild.log. If a
3975 build fails, remove any final GDB executable.
3977 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3979 * gdb_mbuild.sh: Edit the output of `maint print architecture'
3980 replacing hex constants with function names and stripping leading
3981 file name directory prefixes.
3983 2003-01-08 Andrew Cagney <cagney@redhat.com>
3985 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
3988 2003-01-08 David Carlton <carlton@math.stanford.edu>
3990 * linespec.c (decode_line_1): Move code into decode_variable.
3991 (decode_variable): New function.
3993 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3995 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
3997 2003-01-08 Andrew Cagney <cagney@redhat.com>
3999 * cris-tdep.c (cris_frame_init_saved_regs): Use
4000 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
4002 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
4003 (sh64_nofp_frame_init_saved_regs): Ditto.
4004 (sh_fp_frame_init_saved_regs): Ditto.
4005 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
4006 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
4007 * mcore-tdep.c (analyze_dummy_frame): Ditto.
4008 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
4010 2003-01-08 Daniel Jacobowitz <drow@mvista.com>
4012 * minsyms.c (lookup_minimal_symbol): Update comment.
4013 (lookup_minimal_symbol_text): Update comment. Use the hash table.
4014 (lookup_minimal_symbol_solib_trampoline): Likewise.
4016 2003-01-08 Andrew Cagney <cagney@redhat.com>
4018 * d10v-tdep.c (d10v_init_extra_frame_info): Use
4019 frame_relative_level.
4021 * alpha-tdep.c: Use get_frame_extra_info.
4022 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4023 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
4024 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
4025 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
4027 * alpha-tdep.c: Use get_next_frame.
4028 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4029 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
4030 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
4031 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
4032 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
4033 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
4034 * xstormy16-tdep.c: Ditto.
4036 2003-01-07 Andrew Cagney <cagney@redhat.com>
4038 * alpha-tdep.c: Use get_frame_base.
4039 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4040 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
4041 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
4042 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
4043 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
4044 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
4045 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
4046 * config/sparc/tm-sparc.h: Ditto.
4048 2003-01-07 Andrew Cagney <cagney@redhat.com>
4050 * frame.c (deprecated_get_frame_context): New function.
4051 (deprecated_set_frame_context): New function.
4052 * frame.h (deprecated_get_frame_context): Declare.
4053 (deprecated_set_frame_context): Declare.
4054 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
4055 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
4057 2003-01-07 Andrew Cagney <cagney@redhat.com>
4059 * frame.c (deprecated_set_frame_next_hack): New function.
4060 (deprecated_set_frame_prev_hack): New function.
4061 * frame.h (deprecated_set_frame_next_hack): Declare.
4062 (deprecated_set_frame_prev_hack): Declare.
4063 * mcore-tdep.c (analyze_dummy_frame): Use
4064 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
4065 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
4067 2003-01-07 David Carlton <carlton@math.stanford.edu>
4069 * linespec.c (decode_line_1): Move code into decode_dollar.
4070 (decode_dollar): New function.
4072 2003-01-07 Andrew Cagney <cagney@redhat.com>
4074 * arm-tdep.c (arm_init_extra_frame_info): Use
4075 deprecated_update_frame_base_hack.
4076 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
4077 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
4078 (fix_frame_pointer): Ditto.
4079 (mn10300_analyze_prologue): Ditto.
4081 2003-01-07 Andrew Cagney <cagney@redhat.com>
4083 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
4084 extra_info using frame_extra_info_zalloc.
4085 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
4086 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
4087 (sh64_init_extra_frame_info): Ditto.
4088 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
4089 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
4090 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
4091 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
4092 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
4093 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
4094 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
4095 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
4096 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
4097 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
4098 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
4099 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
4101 * mn10300-tdep.c (analyze_dummy_frame): Use
4102 deprecated_set_frame_extra_info_hack.
4103 * mcore-tdep.c (analyze_dummy_frame): Ditto.
4105 2003-01-07 J. Brobecker <brobecker@gnat.com>
4107 * mdebugread.c (parse_symbol): Skip stProc entries which storage
4108 class is not scText. These do not define "real" procedures.
4109 (parse_partial_symbols): Likewise.
4111 2003-01-06 Michael Snyder <msnyder@redhat.com>
4113 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
4115 2003-01-06 Andrew Cagney <ac131313@redhat.com>
4117 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
4118 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
4119 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
4120 deprecated_frame_xmalloc_with_cleanup.
4121 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
4122 deprecated_frame_xmalloc.
4123 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
4124 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
4126 2003-01-06 Andrew Cagney <cagney@redhat.com>
4128 * x86-64-linux-tdep.c: Include "osabi.h".
4129 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
4131 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
4133 2003-01-06 Andrew Cagney <cagney@redhat.com>
4135 * MAINTAINERS (Target Instruction Set Architectures): Update
4136 arm-elf. Can be built with -Werror, has been multiarched.
4138 * value.h (unpack_long): Make buffer parameter constant.
4139 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
4140 * scm-lang.h (scm_parse): Ditto.
4141 * defs.h (extract_typed_address, extract_address): Ditto.
4142 (extract_long_unsigned_integer): Ditto.
4143 * inferior.h (unsigned_pointer_to_address): Ditto.
4144 (signed_pointer_to_address): Ditto.
4145 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
4146 * gdbarch.h, gdbarch.c: Regenerate.
4147 * findvar.c (extract_long_unsigned_integer): Update.
4148 (extract_address): Update.
4149 (extract_typed_address): Update.
4150 (unsigned_pointer_to_address): Update.
4151 * values.c (unpack_long): Update.
4152 (unpack_double): Update.
4153 (unpack_pointer): Update.
4154 (unpack_field_as_long): Update.
4155 * d10v-tdep.c (d10v_pointer_to_address): Update.
4156 * avr-tdep.c (avr_pointer_to_address): Update.
4157 * scm-lang.c (scm_unpack): Update.
4158 * findvar.c (signed_pointer_to_address): Update.
4160 2003-01-06 Michal Ludvig <mludvig@suse.cz>
4162 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
4163 since it is in i386-tdep.c.
4165 2003-01-06 J. Brobecker <brobecker@gnat.com>
4167 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
4168 failure introduced in the previous change.
4170 2003-01-05 Michael Chastain <mec@shout.net>
4172 * README: Remove references to deleted remote-*.c files:
4173 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
4174 remote-nrom.c, remote-os9k.c, remote-udi.c.
4176 2003-01-05 Mark Kettenis <kettenis@gnu.org>
4178 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
4179 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
4180 i386_get_longjmp_target.
4182 2003-01-05 Andrew Cagney <ac131313@redhat.com>
4184 * arm-tdep.c (prologue_cache): Change to a pointer.
4185 (_initialize_arm_tdep): Allocate prologue_cache.
4186 (check_prologue_cache): Update.
4187 (save_prologue_cache): Update.
4188 (arm_gdbarch_init): Update.
4190 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4192 * stabsread.c (update_method_name_from_physname): Call complaint()
4195 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4197 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
4198 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
4199 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
4201 * blockframe.c: Include "gdbcmd.h" and "command.h".
4202 (backtrace_below_main): New variable.
4203 (file_frame_chain_valid, func_frame_chain_valid)
4204 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
4205 (generic_func_frame_chain_valid): Remove functions.
4206 (frame_chain_valid, do_flush_frames_sfunc): New functions.
4207 (_initialize_blockframe): New function.
4208 * Makefile.in (blockframe.o): Update dependencies.
4209 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
4210 comment. Call frame_chain_valid ().
4211 * frame.h: Remove old prototypes. Add prototype for
4212 frame_chain_valid and update comments to match.
4213 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
4215 * gdbarch.h: Regenerated.
4216 * gdbarch.c: Regenerated.
4218 * alpha-tdep.c (alpha_gdbarch_init): Don't call
4219 set_gdbarch_frame_chain_valid.
4220 * avr-tdep.c (avr_gdbarch_init): Likewise.
4221 * cris-tdep.c (cris_gdbarch_init): Likewise.
4222 * frv-tdep.c (frv_gdbarch_init): Likewise.
4223 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
4224 * i386-tdep.c (i386_svr4_init_abi): Likewise.
4225 (i386_nw_init_abi): Likewise.
4226 (i386_gdbarch_init): Likewise.
4227 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
4228 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
4229 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
4230 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
4231 * mips-tdep.c (mips_gdbarch_init): Likewise.
4232 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
4233 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
4234 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
4235 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
4236 * s390-tdep.c (s390_gdbarch_init): Likewise.
4237 * sh-tdep.c (sh_gdbarch_init): Likewise.
4238 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
4239 * v850-tdep.c (v850_gdbarch_init): Likewise.
4240 * vax-tdep.c (vax_gdbarch_init): Likewise.
4241 * x86-64-tdep.c (x86_64_init_abi): Likewise.
4243 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
4244 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
4245 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
4246 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
4247 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
4248 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
4249 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
4250 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
4252 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
4254 * Makefile.in (acconfig_h): Remove incorrect macro.
4256 (osabi.o): Update dependencies.
4257 * configure.tgt: Set gdb_osabi based on target triplet.
4258 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
4259 * configure: Regenerated.
4260 * config.in: Regenerated.
4261 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
4262 (GDB_OSABI_DEFAULT): Define if not already defined.
4263 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
4264 (set_osabi_string): New variables.
4265 (gdbarch_register_osabi): Add new OS ABI to
4266 gdb_osabi_available_names.
4267 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
4268 (set_osabi, show_osabi): New functions.
4269 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
4271 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4273 * arch-utils.c (gdbarch_info_init): Set osabi to
4274 GDB_OSABI_UNINITIALIZED.
4275 * gdbarch.sh: Add osabi to struct gdbarch and to struct
4276 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
4277 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
4278 * gdbarch.c: Regenerated.
4279 * gdbarch.h: Regenerated.
4280 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
4282 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
4283 * osabi.h (enum gdb_osabi): Move to defs.h.
4284 (gdbarch_init_osabi): Update prototype.
4285 * defs.h (enum gdb_osabi): Moved here.
4286 * Makefile.in: Update dependencies.
4288 * alpha-tdep.h: Don't include "osabi.h".
4289 (struct gdbarch_tdep): Remove osabi member.
4290 * alpha-tdep.c: Include "osabi.h".
4291 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4292 iterate over arches. Update call to gdbarch_init_osabi.
4293 (alpha_dump_tdep): Don't dump osabi.
4294 * alpha-linux-tdep.c: Include "osabi.h".
4295 * alpha-osf1-tdep.c: Include "osabi.h".
4296 * alphafbsd-tdep.c: Include "osabi.h".
4297 * alphanbsd-tdep.c: Include "osabi.h".
4299 * arm-tdep.h: Don't include "osabi.h".
4300 (struct gdbarch_tdep): Remove osabi member.
4301 * arm-tdep.c: Include "osabi.h".
4302 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4303 iterate over arches. Update call to gdbarch_init_osabi.
4304 (arm_dump_tdep): Don't dump osabi.
4305 * arm-linux-tdep.c: Include "osabi.h".
4306 * armnbsd-tdep.c: Include "osabi.h".
4308 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
4309 Update call to gdbarch_init_osabi.
4311 * i386-tdep.h: Don't include "osabi.h".
4312 (struct gdbarch_tdep): Remove osabi member.
4313 * i386-tdep.c: Include "osabi.h".
4314 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4315 iterate over arches. Update call to gdbarch_init_osabi.
4316 (i386_dump_tdep): Don't dump osabi.
4317 * i386-linux-tdep.c: Include "osabi.h".
4318 * i386-sol2-tdep.c: Include "osabi.h".
4319 * i386bsd-tdep.c: Include "osabi.h".
4320 * i386gnu-tdep.c: Include "osabi.h".
4321 * i386ly-tdep.c: Include "osabi.h".
4322 * i386nbsd-tdep.c: Include "osabi.h".
4323 * i386obsd-tdep.c: Include "osabi.h".
4325 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
4326 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4327 check osabi when iterating over arches. Update call to
4329 (mips_dump_tdep): Don't dump osabi.
4331 * ns32k-tdep.h: Don't include "osabi.h".
4332 (struct gdbarch_tdep): Remove.
4333 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
4334 gdbarch_lookup_osabi. Don't iterate over arches. Don't
4335 allocate tdep. Update call to gdbarch_init_osabi.
4336 (ns32k_dump_tdep): Remove.
4337 (_initialize_ns32k_tdep): Update call to gdbarch_register.
4338 * ns32knbsd-tdep.c: Include "osabi.h".
4340 * ppc-tdep.h: Don't include "osabi.h".
4341 (struct gdbarch_tdep): Remove osabi member.
4342 * rs6000-tdep.c: Include "osabi.h".
4343 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
4344 osabi when iterating over arches. Update call to
4346 (rs6000_dump_tdep): Don't dump osabi.
4347 * ppc-linux-tdep.c: Include "osabi.h".
4348 * ppcnbsd-tdep.c: Include "osabi.h".
4350 * sh-tdep.h: Don't include "osabi.h".
4351 (struct gdbarch_tdep): Remove osabi member.
4352 * sh-tdep.c: Include "osabi.h".
4353 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4354 iterate over arches. Update call to gdbarch_init_osabi.
4355 (sh_dump_tdep): Don't dump osabi.
4356 * shnbsd-tdep.c: Include "osabi.h".
4358 * sparc-tdep.c: Include "osabi.h".
4359 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4360 iterate over arches. Update call to gdbarch_init_osabi.
4361 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
4364 * vax-tdep.h: Don't include "osabi.h".
4365 (struct gdbarch_tdep): Remove.
4366 * vax-tdep.c: Include "osabi.h".
4367 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4368 iterate over arches. Don't allocate tdep. Update call
4369 to gdbarch_init_osabi.
4370 (vax_dump_tdep): Remove.
4371 (_initialize_vax_tdep): Update call to gdbarch_register.
4373 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4375 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
4377 (breakpoint_re_set_one): Don't fetch the value for a disabled
4380 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4382 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
4383 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
4384 (COERCE_FLOAT_TO_DOUBLE): Remove.
4385 * gdbarch.c: Regenerate.
4386 * gdbarch.h: Regenerate.
4387 * Makefile.in: Remove value_h from gdbarch_h.
4388 * valops.c (coerce_float_to_double): New variable.
4389 (default_coerce_float_to_double): Remove.
4390 (standard_coerce_float_to_double): Remove.
4391 (value_arg_coerce): Use coerce_float_to_double.
4392 (_initialize_valops): Add "set coerce-float-to-double".
4393 * value.h (default_coerce_float_to_double): Remove prototype.
4394 (standard_coerce_float_to_double): Remove prototype.
4396 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
4398 * mdebugread.c (parse_symbol): Likewise.
4399 * stabsread.c (define_symbol): Mark all functions as prototyped.
4401 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
4402 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
4403 set_gdbarch_coerce_float_to_double.
4404 * arm-tdep.c (arm_gdbarch_init): Likewise.
4405 * frv-tdep.c (frv_gdbarch_init): Likewise.
4406 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
4407 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
4408 * mips-tdep.c (mips_gdbarch_init): Likewise.
4409 (mips_coerce_float_to_double): Remove.
4410 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
4411 (rs6000_coerce_float_to_double): Remove.
4412 * s390-tdep.c (s390_gdbarch_init): Likewise.
4413 * sh-tdep.c (sh_gdbarch_init): Likewise.
4414 (sh_coerce_float_to_double): Remove.
4415 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
4416 (sparc_coerce_float_to_double): Remove.
4417 * v850-tdep.c (v850_gdbarch_init): Likewise.
4418 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
4419 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
4420 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
4421 (hppa_coerce_float_to_double): Remove prototype.
4422 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
4424 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4426 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
4428 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4430 Suggested by Stewart Brown <sb24@avaya.com>:
4431 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
4432 in recursive calls. Handle TYPE_CODE_TYPEDEF.
4433 (c_type_print_varspec_suffix): Likewise.
4435 2003-01-04 Mark Kettenis <kettenis@gnu.org>
4437 * configure.in: Don't set and AC_SUBST SUBDIRS.
4438 * configure: Regenerated.
4440 * configure.in: Remove code dealing with shared libraries.
4441 * Makefile.in: Remove HLDFLAGS and HLDENV.
4442 * configure: Regenerated.
4444 2003-01-04 Andrew Cagney <ac131313@redhat.com>
4446 * frame.c (deprecated_frame_xmalloc): New function.
4447 (deprecated_set_frame_saved_regs_hack): New function.
4448 (deprecated_set_frame_extra_info_hack): New function.
4449 * frame.h (deprecated_frame_xmalloc): Declare.
4450 (deprecated_set_frame_saved_regs_hack): Declare.
4451 (deprecated_set_frame_extra_info_hack): Declare.
4453 2003-01-04 Mark Kettenis <kettenis@gnu.org>
4455 * configure.in: Move code that provides the --enable-gdbtk option
4456 right after the code that handles the --enable-tui option, and
4458 * configure: Regenerated.
4460 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
4461 AC_CHECK_FUNCS and remove the old check for pread64.
4462 * acinclude.m4 (AC_GNU_SOURCE): New macro.
4463 * acconfig.h (_GNU_SOURCE): Add.
4464 (HAVE_PREAD64): Remove.
4465 * configure, aclocal.m4, config.in: Regenerated.
4467 2003-01-03 Andrew Cagney <ac131313@redhat.com>
4469 * alpha-tdep.c: Use get_frame_saved_regs.
4470 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4471 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
4472 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
4473 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
4474 * vax-tdep.c, xstormy16-tdep.c: Ditto.
4476 2003-01-03 Mark Kettenis <kettenis@gnu.org>
4478 * configure.in: Remove all use of the SUBDIRS variable; add
4479 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
4480 code providing the --enable-multi-ice option, and move it right in
4481 front of the code that checks whether gdbserver is supported.
4483 * configure: Regenerated.
4484 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
4487 2003-01-03 Andrew Cagney <cagney@redhat.com>
4489 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
4490 * avr-tdep.c, cris-tdep.c: Ditto.
4491 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
4492 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
4494 2003-01-03 Mark Kettenis <kettenis@gnu.org>
4496 * configure.in: Remove --enable-netrom option.
4497 * configure: Regenerated.
4499 2003-01-03 Mark Kettenis <kettenis@gnu.org>
4501 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
4502 declaration for `struct re_pattern_buffer' instead.
4503 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
4505 2003-01-03 J. Brobecker <brobecker@gnat.com>
4507 * mdebugread.c (parse_symbol): Count until the stEnd matching
4510 2003-01-02 Mark Kettenis <kettenis@gnu.org>
4512 * configure.in: Remove --with-cpu option.
4513 subscripts. Remove evil changequotes here.
4514 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
4515 * config.in, configure: Regenerated.
4517 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
4518 * configure.in: Cleanup section that sources GDB and BFD configure
4519 subscripts. Remove evil changequotes here.
4520 * config.in, configure: Regenerated.
4522 2003-01-02 Andrew Cagney <ac131313@redhat.com>
4524 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
4525 frame accessor methods.
4526 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4527 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
4528 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
4529 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
4530 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
4531 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
4532 * z8k-tdep.c: Ditto.
4534 2003-01-02 Mark Kettenis <kettenis@gnu.org>
4536 * configure.in: Remove UI_OUT configuration code.
4537 * ada-lang.c: Update assuming UI_OUT is always true.
4538 * Makefile.in (UIOUT_CFLAGS): Remove.
4539 * configure: Regenerated.
4540 * TODO: Remove blurb about elimination of -DUI_OUT.
4542 * configure.in: Move code that provides the --enable-gdbcli,
4543 --enable-gdbmi options right before the code that handles the
4544 --enable-tui option. Polish a bit.
4545 * configure: Regenerated.
4547 * configure.in: Rewrite check for GNU regex and the
4548 --without-included regex option, and move it into the "Checks for
4549 library functions" section. This makes us use the system regex
4550 again by default on systems with version 2 of the GNU C library.
4551 This was apparently broken.
4552 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
4553 * acconfig.h (USE_INCLUDED_REGEX): Remove.
4554 * config.in, configure: Regenerated.
4556 * configure.in: Move code that provides the --enable-tui option
4557 before the "Checks for libraries" section. Polish the code
4558 somewhat and set need_curses to yes if we build the TUI. Rewrite
4559 code that looks for a library providing termcap functionality to
4560 match more closely what's done in the Readline library, and move
4561 it into to the "Checks for libraries" section.
4562 * configure: Regenerated.
4563 * Makefile.in (TERMCAP): Remove variable.
4564 * config/i386/go32.mh (TERMCAP): Remove variable.
4566 2003-01-02 Andrew Cagney <ac131313@redhat.com>
4568 * MAINTAINERS: Mention gdb_mbuild.sh.
4569 * gdb_mbuild.sh: Rewrite.
4571 2003-01-02 Mark Kettenis <kettenis@gnu.org>
4573 * configure.in: Fix typo in last change.
4574 * config.in, configure: Regenerated.
4576 2003-01-02 Andrew Cagney <ac131313@redhat.com>
4578 * valarith.c (value_binop): Delete obsolete code and comments.
4579 * configure.host: Ditto.
4580 * buildsym.h (make_blockvector): Ditto.
4581 * buildsym.c (make_blockvector): Ditto.
4582 * defs.h (enum language): Ditto.
4583 (chill_demangle): Ditto.
4584 * elfread.c (elf_symtab_read): Ditto.
4585 * dwarfread.c (CHILL_PRODUCER): Ditto.
4586 (set_cu_language): Ditto.
4587 (handle_producer): Ditto.
4588 * expprint.c (print_subexp): Ditto.
4589 * gdbtypes.c (chill_varying_type): Ditto.
4590 * gdbtypes.h (builtin_type_chill_bool): Ditto.
4591 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
4592 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
4593 (chill_varying_type): Ditto.
4594 * language.h (_LANG_chill): Ditto.
4595 * language.c (binop_result_type, integral_type): Ditto.
4596 (character_type, string_type, structured_type): Ditto.
4597 (lang_bool_type, binop_type_check): Ditto.
4598 * stabsread.h (os9k_stabs): Ditto.
4599 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
4600 (define_symbol, read_type, read_struct_fields): Ditto.
4601 (read_array_type, read_enum_type, read_huge_number): Ditto.
4602 (read_range_type, start_stabs): Ditto.
4603 * symfile.c (init_filename_language_table): Ditto.
4604 (add_psymbol_with_dem_name_to_list): Ditto.
4605 * symtab.c (symbol_init_language_specific): Ditto.
4606 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
4607 * symtab.h (struct general_symbol_info): Ditto.
4608 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
4609 * typeprint.c (typedef_print): Ditto.
4610 * utils.c (fprintf_symbol_filtered): Ditto.
4611 * valops.c (value_cast, search_struct_field, value_slice): Delete
4613 (varying_to_slice): Delete function.
4614 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
4615 (varying_to_slice): Delete declaration.
4616 * MAINTAINERS: Update.
4618 2003-01-02 Mark Kettenis <kettenis@gnu.org>
4620 * configure.in: Reorganize "Checks for library functions section"
4621 a bit. Remove check for `btowc' and `isascii' functions.
4622 * configure: Regenerated.
4624 * acconfig.h (_MSE_INT_H): Remove.
4625 * configure.in: Create "Checks for header files" section, and move
4626 appropriate tests there. Don't check for objlist.h, wchar.h,
4627 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
4628 misdetection fix. Also add "Checks for types", "Checks for
4629 compiler characteristics" and "Checks for library functions"
4631 * config.in, configure: Regenerated.
4633 * configure.in: Create "Checks for programs" section, and move
4634 appropriate tests there.
4636 2003-01-01 Mark Kettenis <kettenis@gnu.org>
4638 * configure.in: Create "Checks for libraries" section, and move
4639 appropriate tests there. Cleanup check for wctype in libw. Use
4640 AC_SEARCH_LIBS to see whether we need libsocket.
4641 * configure: Regenerated.
4643 For older changes see ChangeLog-2002
4649 version-control: never