1 2003-04-02 Bob Rossi <bob_rossi@cox.net>
3 * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o".
4 (SUBDIR_MI_SRCS): Add "mi-cmd-file.c".
5 (mi-cmd-file.o): Update dependencies.
7 2003-04-01 Kevin Buettner <kevinb@redhat.com>
9 * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
10 (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.
12 2003-04-01 Adam Fedor <fedor@gnu.org>
14 * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
15 * language.h (struct language_defn): Add la_demangle.
16 (language_demangle): Declare.
17 * language.c (language_demangle): New function.
18 (unk_lang_demangle): Likewise.
19 (unknown_language_defn, auto_language_defn, local_language_defn):
20 Add ukn_lang_demangle.
21 * ada-lang.c (ada_language_defn): Add NULL for la_demangle element.
22 * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise.
23 * c-lang.c (c_language_defn, asm_language_defn): Likewise.
24 (cplus_language_defn): Add cplus_demangle for la_demangle element.
25 * jv-lang.c (java_demangle): New function
26 (java_language_defn): Use it for la_demangle element.
27 * objc-lang.c (objc_demangle): Add options argument
28 (objc_language_defn): Use objc_demangle for la_demangle element.
29 * maint.c (maintenance_demangle): Replace switch with
30 call to language_demangle.
31 * utils.c (fprintf_symbol_filtered): Likewise.
33 2003-04-01 Andrew Cagney <cagney@redhat.com>
35 * printcmd.c (print_frame_nameless_args): Delete #ifdef
36 NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
37 PRINT_TYPELESS_INTEGER.
38 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
41 2003-04-01 Andrew Cagney <cagney@redhat.com>
43 * Makefile.in (d10v-tdep.o): Update dependencies.
44 * d10v-tdep.c: Include "frame-base.h".
45 (d10v_frame_unwind): Make constant.
46 (d10v_frame_base_address): New function.
47 (d10v_frame_base): New variable.
48 (d10v_gdbarch_init): Set frame_base default.
49 (struct d10v_unwind_cache): Add the field "prev_sp". Update
51 (d10v_frame_unwind_cache): Set and use "prev_sp".
52 (d10v_frame_this_id): Use the previous frame's inner most stack
53 address and this frame's func address for the frame ID. Use
54 frame_id_build. Don't analyze beyond the current instruction.
56 2003-04-01 Andrew Cagney <cagney@redhat.com>
58 * frame.h (get_frame_locals_address, get_frame_args_address):
59 Refer to the base address, instead of the address of the first
62 2003-04-01 Andrew Cagney <cagney@redhat.com>
64 Add frame debug info addresses:
65 * frame-base.c: New file.
66 * frame-base.h: New file.
67 * frame.h (struct frame_base): Add opaque declaration.
68 (get_frame_base): Update comment.
69 (get_frame_base_address): Declare.
70 (get_frame_locals_address): Declare.
71 (get_frame_args_address): Declare.
72 (struct frame_info): Add "base" and "base_cache". Update
73 comments on the unwinder.
74 * frame.c: Include "frame-base.h".
75 (get_frame_locals_address): New function.
76 (get_frame_base_address): New function.
77 (get_frame_args_address): New function.
78 * findvar.c (read_var_value): Use get_frame_locals_address and
79 get_frame_args_address.
80 * stack.c (frame_info): Use get_frame_locals_address and
81 get_frame_args_address.
82 (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
83 moved to "frame-base.c".
84 * printcmd.c (print_frame_nameless_args): Ditto.
85 * symtab.h (address_class): Update comments.
86 * dwarf2loc.c (dwarf_expr_frame_base): Add note about
87 get_frame_base_address.
88 * dwarf2expr.c (execute_stack_op): Ditto.
89 * Makefile.in (frame_base_h): Define.
90 (frame.o): Update dependencies.
91 (frame-base.o): Add dependencies.
92 (SFILES): Add frame-base.c.
93 (COMMON_OBS): Add frame-base.o.
95 2003-04-01 Andrew Cagney <cagney@redhat.com>
97 * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
98 CALL_DUMMY_LENGTH): Ditto.
99 * gdbarch.c: Re-generate.
100 * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
101 (CALL_DUMMY_LENGTH): Delete macro.
102 * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
103 * arm-tdep.c (arm_gdbarch_init): Ditto.
104 * avr-tdep.c (avr_gdbarch_init): Ditto.
105 * cris-tdep.c (cris_gdbarch_init): Ditto.
106 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
107 * frv-tdep.c (frv_gdbarch_init): Ditto.
108 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
109 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
110 * i386-tdep.c (i386_gdbarch_init): Ditto.
111 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
112 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
113 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
114 * mips-tdep.c (mips_gdbarch_init): Ditto.
115 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
116 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
117 * s390-tdep.c (s390_gdbarch_init): Ditto.
118 * sh-tdep.c (sh_gdbarch_init): Ditto.
119 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
120 * v850-tdep.c (v850_gdbarch_init): Ditto.
121 * vax-tdep.c (vax_gdbarch_init): Ditto.
122 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
124 2003-04-01 Corinna Vinschen <vinschen@redhat.com>
126 * frame.c (get_prev_frame): Disable call to inside_entry_file().
128 2003-04-01 Andrew Cagney <cagney@redhat.com>
130 * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
131 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
132 * gdbarch.h, gdbarch.c: Re-generate.
133 * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
134 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
135 * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
136 * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
137 (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
138 * infcmd.c (run_stack_dummy): Simplify assuming
139 CALL_DUMMY_BREAKPOINT_OFFSET_P.
140 * infrun.c (handle_inferior_event): Ditto.
141 * alpha-tdep.c (alpha_gdbarch_init): Do not set
142 call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
143 * arm-tdep.c (arm_gdbarch_init): Ditto.
144 * avr-tdep.c (avr_gdbarch_init): Ditto.
145 * cris-tdep.c (cris_gdbarch_init): Ditto.
146 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
147 * frv-tdep.c (frv_gdbarch_init): Ditto.
148 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
149 * i386-tdep.c (i386_gdbarch_init): Ditto.
150 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
151 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
152 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
153 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
154 * mips-tdep.c (mips_gdbarch_init): Ditto.
155 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
156 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
157 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
158 * s390-tdep.c (s390_gdbarch_init): Ditto.
159 * sh-tdep.c (sh_gdbarch_init): Ditto.
160 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
161 * v850-tdep.c (v850_gdbarch_init): Ditto.
162 * vax-tdep.c (vax_gdbarch_init): Ditto.
163 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
165 2003-04-01 Daniel Jacobowitz <drow@mvista.com>
167 * symfile.c (symfile_relocate_debug_section): Update call to
168 bfd_simple_get_relocated_section_contents.
170 2003-03-31 Andrew Cagney <cagney@redhat.com>
172 * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
173 * gdbarch.h, gdbarch.c: Regenerate.
174 * inferior.h (FIX_CALL_DUMMY): Delete macro.
175 * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
177 * frame.h (generic_fix_call_dummy): Delete declaration.
178 * dummy-frame.h: Update comment.
179 * dummy-frame.c (generic_fix_call_dummy): Delete function.
180 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
182 * sh-tdep.c (sh_gdbarch_init): Ditto.
183 * s390-tdep.c (s390_gdbarch_init): Ditto.
184 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
185 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
186 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
187 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
188 * i386-tdep.c (i386_gdbarch_init): Ditto.
189 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
190 * frv-tdep.c (frv_gdbarch_init): Ditto.
191 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
192 * cris-tdep.c (cris_gdbarch_init): Ditto.
193 * avr-tdep.c (avr_gdbarch_init): Ditto.
194 * arm-tdep.c (arm_gdbarch_init): Ditto.
196 2003-03-31 J. Brobecker <brobecker@gnat.com>
198 * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
199 (INIT_FRAME_AP): Likewise.
200 (EXTRA_FRAME_INFO): Likewise.
202 2003-03-31 Andrew Cagney <cagney@redhat.com>
204 * gdbarch.sh: Include "symfile.h".
205 (CALL_DUMMY_ADDRESS): Default to entry_point_address.
206 * gdbarch.h, gdbarch.c: Re-generate.
207 * inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
208 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
209 call_dummy_address, the default is at entry_point_address.
210 * v850-tdep.c (v850_gdbarch_init): Ditto.
211 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
212 * sh-tdep.c (sh_gdbarch_init): Ditto.
213 * s390-tdep.c (s390_gdbarch_init): Ditto.
214 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
215 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
216 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
217 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
218 * i386-tdep.c (i386_gdbarch_init): Ditto.
219 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
220 * frv-tdep.c (frv_gdbarch_init): Ditto.
221 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
222 * cris-tdep.c (cris_gdbarch_init): Ditto.
223 * arm-tdep.c (arm_gdbarch_init): Ditto.
225 2003-03-31 Andrew Cagney <cagney@redhat.com>
227 * gdbarch.sh (CALL_DUMMY_P): Delete.
228 * gdbarch.h, gdbarch.c: Re-generate.
229 * inferior.h (CALL_DUMMY_P): Delete macro.
230 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
231 * vax-tdep.c (vax_gdbarch_init): Update.
232 * v850-tdep.c (v850_gdbarch_init): Update.
233 * sparc-tdep.c (sparc_gdbarch_init): Update.
234 * sh-tdep.c (sh_gdbarch_init): Update.
235 * s390-tdep.c (s390_gdbarch_init): Update.
236 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
237 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
238 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
239 * mips-tdep.c (mips_gdbarch_init): Update.
240 * mcore-tdep.c (mcore_gdbarch_init): Update.
241 * m68k-tdep.c (m68k_gdbarch_init): Update.
242 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
243 * ia64-tdep.c (ia64_gdbarch_init): Update.
244 * i386-tdep.c (i386_gdbarch_init): Update.
245 * h8300-tdep.c (h8300_gdbarch_init): Update.
246 * frv-tdep.c (frv_gdbarch_init): Update.
247 * d10v-tdep.c (d10v_gdbarch_init): Update.
248 * cris-tdep.c (cris_gdbarch_init): Update.
249 * breakpoint.c (deprecated_frame_in_dummy): Update.
250 * avr-tdep.c (avr_gdbarch_init): Update.
251 * alpha-tdep.c (alpha_gdbarch_init): Update.
252 * arm-tdep.c (arm_gdbarch_init): Update.
253 * dummy-frame.c (dummy_frame_this_id): Update comments.
254 * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
255 * frame.c (legacy_get_prev_frame): Ditto.
256 * valops.c (call_function_by_hand): Delete function.
257 (hand_function_call): Rename to call_function_by_hand
259 2003-03-30 Andrew Cagney <cagney@redhat.com>
261 2002-11-10 Klee Dienes <kdienes@apple.com>
262 * value.h (struct value): Update comment.
264 2003-03-30 Andrew Cagney <cagney@redhat.com>
266 * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
268 (d10v_gdbarch_init): Do not set fp_regnum.
270 * frame.c (get_frame_base): Force ID initialization.
271 (get_prev_frame): Move computation of the frame ID from here ...
272 (get_frame_id): ... to here.
273 (legacy_get_prev_frame): Mark the frame ID as valid.
274 * frame.h (struct frame_info): Add field "id_p".
276 2003-03-30 Mark Kettenis <kettenis@gnu.org>
278 * i386-tdep.c (i386_store_struct_return): Removed.
279 (i386_gdbarch_init): Don't set deprecated_store_struct_return.
281 2003-03-30 Andrew Cagney <cagney@redhat.com>
283 * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
284 * gdbarch.h, gdbarch.c: Regenerate.
285 * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
286 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
287 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
288 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
289 * i386-tdep.c (i386_gdbarch_init): Ditto.
290 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
291 * cris-tdep.c (cris_gdbarch_init): Ditto.
292 * vax-tdep.c (vax_gdbarch_init): Ditto.
293 * s390-tdep.c (s390_gdbarch_init): Ditto.
294 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
295 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
296 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
297 * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
298 * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
299 * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
300 * sparc-tdep.c (sparc_gdbarch_init): Update.
301 * sh-tdep.c (sh_gdbarch_init): Update.
302 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
303 * mips-tdep.c (mips_gdbarch_init): Update.
304 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
305 * ia64-tdep.c (ia64_gdbarch_init): Update.
306 * frv-tdep.c (frv_gdbarch_init): Update.
307 * avr-tdep.c (avr_gdbarch_init): Update.
308 * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
309 DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
310 instead of when push_dummy_call is not available.
312 2003-03-30 Andrew Cagney <cagney@redhat.com>
314 * infttrace.c: Include "gdbthread.h".
315 (parent_attach_all): Fix function signature.
316 (call_ptrace): Update call.
317 * Makefile.in (infttrace.o): Update dependencies.
319 2003-03-30 Andrew Cagney <cagney@redhat.com>
321 * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
323 * gdbarch.h, gdbarch.c: Regenerate.
324 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
325 * x86-64-tdep.c (x86_64_init_abi): Update.
326 * v850-tdep.c (v850_gdbarch_init): Update.
327 * sparc-tdep.c (sparc_gdbarch_init): Update.
328 * sh-tdep.c (sh_gdbarch_init): Update.
329 * s390-tdep.c (s390_gdbarch_init): Update.
330 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
331 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
332 * mips-tdep.c (mips_gdbarch_init): Update.
333 * mcore-tdep.c (mcore_gdbarch_init): Update.
334 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
335 * ia64-tdep.c (ia64_gdbarch_init): Update.
336 * i386-tdep.c (i386_gdbarch_init): Update.
337 * h8300-tdep.c (h8300_gdbarch_init): Update.
338 * frv-tdep.c (frv_gdbarch_init): Update.
339 * cris-tdep.c (cris_gdbarch_init): Update.
340 * avr-tdep.c (avr_gdbarch_init): Update.
341 * arm-tdep.c (arm_gdbarch_init): Update.
342 * valops.c (hand_function_call): Update.
344 2003-03-29 Andrew Cagney <cagney@redhat.com>
346 * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
347 sizeof_call_dummy_words.
348 * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
350 * gdbarch.h: Regenerate.
352 2003-03-29 Andrew Cagney <cagney@redhat.com>
354 * infttrace.h: New file.
355 * hpread.c: Include "gdb_assert.h" and "somsolib.h".
356 (hpread_get_textlow): Detect an uninitialized dn_bufp.
357 (hpread_read_doc_function_type): Detect an initialized type1.
358 (hpread_quick_traverse): Initialize mod_name_string.
359 * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
360 (som_solib_get_solib_by_pc): Declare.
361 (so_lib_thread_start_addr): Declare.
362 (no_shared_libraries): Declare.
363 * somread.c (init_import_symbols): Make static. Add forward
365 * config/pa/nm-hppah.h: Include "infttrace.h" for
367 (hppa_insert_hw_watchpoint): Declare.
368 (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
369 * hppah-nat.c: Include "gdb_string.h".
370 (parent_attach_all): Delete extern declaration, moved to
372 (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
374 (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
375 * Makefile.in (infttrace_h): Define.
376 (hpread.o): Update dependencies.
377 (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
378 * hppa-hpux-tdep.c: Include "gdb_string.h".
379 * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
380 * infrun.c (handle_inferior_event): Always initialize
381 stepped_after_stopped_by_watchpoint. Add default and remove
382 fallthrough in switch statement.
383 * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
385 (hppa_remove_hw_watchpoint): Ditto.
387 2003-03-29 Andrew Cagney <cagney@redhat.com>
389 * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
392 2003-03-29 Richard Earnshaw <rearnsha@arm.com>
394 * arm-tdep.c (arm_push_arguments): Delete.
395 (struct stack_item): New type.
396 (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
397 (arm_store_struct_return): Delte.
398 (arm_gdbarch_init): Register arm_push_dummy_call. Don't register
399 arm_push_arguments or arm_store_struct_return.
401 2003-03-28 Andrew Cagney <cagney@redhat.com>
403 * Makefile.in (d10v-tdep.o): Update dependencies.
404 * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
405 * d10v-tdep.c: Include "remote.h".
406 (target_resume_hook): Delete extern declaration.
407 (target_wait_loop_hook): Ditto.
408 (tdisassemble_command): Eliminate assignment in "if" conditional.
409 (d10v_ts2_register_sim_regno): Eliminate call to
410 legacy_register_sim_regno.
411 (d10v_ts3_register_sim_regno): Ditto.
413 2003-03-28 Jeff Johnston <jjohnstn@redhat.com>
415 * thread.c: Reindented.
417 * linux-proc.c: Ditto.
419 2003-03-28 Bob Rossi <bob_rossi@cox.net>
421 * MAINTAINERS (write after approval): Add myself.
423 2003-03-27 Theodore A. Roth <troth@openavr.org>
425 * objc-exp.y: Add missing semi-colons.
427 2003-03-27 Andrew Cagney <cagney@redhat.com>
429 * regcache.c (write_sp): Delete function and references.
430 * inferior.h (write_sp): Delete declaration.
431 * valops.c (hand_function_call): Replace write_sp with
433 * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
434 (sparc_pop_frame): Ditto.
436 2003-03-27 Andrew Cagney <cagney@redhat.com>
438 * NEWS: Mention removal of support for hppa*-*-bsd* and
439 hppa*-*-osf* natives, and hppa*-*-pro* target.
440 * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
441 * config/pa/xm-pa.h: Obsolete file.
442 * config/pa/xm-hppab.h: Obsolete file.
443 * config/pa/nm-hppab.h: Obsolete file.
444 * config/pa/tm-hppab.h: Obsolete file.
445 * config/pa/tm-hppao.h: Obsolete file.
446 * config/pa/nm-hppao.h: Obsolete file.
447 * config/pa/tm-pro.h: Obsolete file.
448 * config/pa/hppaosf.mt: Obsolete file.
449 * config/pa/hppaosf.mh: Obsolete file.
450 * config/pa/hppapro.mt: Obsolete file.
451 * config/pa/hppabsd.mt: Obsolete file.
452 * config/pa/hppabsd.mh: Obsolete file.
453 * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
454 * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
457 2003-03-27 Andrew Cagney <cagney@redhat.com>
459 * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
460 push_arguments. Don't set push_return_address or write_sp.
461 (d10v_push_dummy_call): Replace d10v_push_arguments.
462 (d10v_push_return_address, d10v_write_sp): Delete function,
463 handled by push_dummy_call.
465 2003-03-26 Andrew Cagney <cagney@redhat.com>
467 * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
468 (push_dummy_call): New pure multi-arch replacement with gdbarch,
469 regcache and dummy_addr parameters.
470 * gdbarch.h, gdbarch.c: Re-generate.
471 * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
472 available; assume it will handle stack alignment and return
473 address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
474 legacy_push_arguments.
475 (legacy_push_arguments): Rename default_push_arguments.
476 * value.h (legacy_push_arguments): Rename default_push_arguments.
477 * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
478 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
479 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
480 * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
481 * config/i386/tm-symmetry.h: Update.
482 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
483 * x86-64-tdep.c (x86_64_init_abi): Update.
484 * v850-tdep.c (v850_gdbarch_init): Update.
485 * sparc-tdep.c (sparc_gdbarch_init): Update.
486 * sh-tdep.c (sh_gdbarch_init): Update.
487 * s390-tdep.c (s390_gdbarch_init): Update.
488 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
489 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
490 * mips-tdep.c (mips_gdbarch_init): Update.
491 * mcore-tdep.c (mcore_gdbarch_init): Update.
492 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
493 * ia64-tdep.c (ia64_gdbarch_init): Update.
494 * i386-tdep.c (i386_gdbarch_init): Update.
495 * hppa-tdep.c (hppa_gdbarch_init): Update.
496 * h8300-tdep.c (h8300_gdbarch_init): Update.
497 * frv-tdep.c (frv_gdbarch_init): Update.
498 * d10v-tdep.c (d10v_gdbarch_init): Update.
499 * cris-tdep.c (cris_gdbarch_init): Update.
500 * avr-tdep.c (avr_gdbarch_init): Update.
501 * arm-tdep.c (arm_gdbarch_init): Update.
502 * arm-linux-tdep.c (arm_linux_init_abi): Update.
503 * alpha-tdep.c (alpha_gdbarch_init): Update.
505 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
507 * signals/signals.c (do_target_signal_to_host): Correct realtime
510 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
512 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
513 (struct sal_chain, map_catch_names): Remove.
514 (catch_exception_command_1): Don't call
515 handle_gnu_4_16_catch_command.
517 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
519 From Mark Dettinger <dettinge@de.ibm.com>:
520 * dwarf2cfi.c (read_2u): Increment pointer by two.
522 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
524 * signals/signals.c: Fix typos in last change.
526 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
528 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
529 not already defined. Use __SIGRTMIN if available.
530 (target_signal_from_host): Remove SIGRTMIN block.
531 (do_target_signal_to_host): Remove SIGRTMIN block; check that
532 the signal is within the realtime range.
534 2003-03-25 Adam Fedor <fedor@gnu.org>
536 * Makefile.in (infrun.o): Add $(language_h)
537 * infrun.c (handle_inferior_event): Use skip_language_trampoline
538 for language specific trampolines.
539 * language.h (struct language_defn): Add skip_trampoline.
540 (skip_language_trampoline): Declare.
541 * language.c (unk_lang_trampoline, skip_language_trampoline):
543 (unknown_language_defn, auto_language_defn, local_language_defn):
544 Add ukn_lang_trampoline.
545 * ada-lang.c (ada_language_defn): Add NULL for language
546 specific skip_trampoline.
547 * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
548 scm-lang.c: Likewise.
549 * objc-lang.c (objc_skip_trampoline): New function.
550 (objc_language_defn): Add objc_skip_trampoline.
552 2003-03-25 Andrew Cagney <cagney@redhat.com>
554 * frame.c (get_prev_frame): Delay validating a frame's ID -
555 non-NULL, didn't go backwards - until an attempt to unwind it to
558 2003-03-25 Andrew Cagney <cagney@redhat.com>
560 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
561 EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
562 * gdbarch.h, gdbarch.c: Re-generate.
563 * config/sparc/tm-sparc.h
564 (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
565 * sparc-tdep.c (sparc_gdbarch_init): Set
566 deprecated_extra_stack_alignment_needed.
567 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
568 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
569 extra_stack_alignment_needed.
570 * v850-tdep.c (v850_gdbarch_init): Ditto.
571 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
572 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
573 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
574 * cris-tdep.c (cris_gdbarch_init): Ditto.
575 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
576 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
578 2003-03-25 Andrew Cagney <cagney@redhat.com>
580 * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
582 * gdbarch.h, gdbarch.c: Regenerate.
583 * d10v-tdep.c (d10v_store_struct_return): Delete function.
584 (d10v_push_arguments): Set the struct return register.
585 (d10v_gdbarch_init): Update.
586 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
587 * x86-64-tdep.c (x86_64_init_abi): Update.
588 * vax-tdep.c (vax_gdbarch_init): Update.
589 * v850-tdep.c (v850_gdbarch_init): Update.
590 * sparc-tdep.c (sparc_gdbarch_init): Update.
591 * sh-tdep.c (sh_gdbarch_init): Update.
592 * s390-tdep.c (s390_gdbarch_init): Update.
593 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
594 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
595 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
596 * mips-tdep.c (mips_gdbarch_init): Update.
597 * mcore-tdep.c (mcore_gdbarch_init): Update.
598 * m68k-tdep.c (m68k_gdbarch_init): Update.
599 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
600 * ia64-tdep.c (ia64_gdbarch_init): Update.
601 * i386-tdep.c (i386_gdbarch_init): Update.
602 * hppa-tdep.c (hppa_gdbarch_init): Update.
603 * h8300-tdep.c (h8300_gdbarch_init): Update.
604 * frv-tdep.c (frv_gdbarch_init): Update.
605 * cris-tdep.c (cris_gdbarch_init): Update.
606 * avr-tdep.c (avr_gdbarch_init): Update.
607 * arm-tdep.c (arm_gdbarch_init): Update.
608 * alpha-tdep.c (alpha_gdbarch_init): Update.
610 2003-03-25 Andrew Cagney <cagney@redhat.com>
612 * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
613 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
614 CALL_DUMMY_STACK_ADJUST with a predicate variable.
615 * gdbarch.h, gdbarch.c: Regenerate.
616 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
617 call_dummy_stack_adjust_p.
618 * vax-tdep.c (vax_gdbarch_init): Ditto.
619 * v850-tdep.c (v850_gdbarch_init): Ditto.
620 * sh-tdep.c (sh_gdbarch_init): Ditto.
621 * s390-tdep.c (s390_gdbarch_init): Ditto.
622 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
623 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
624 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
625 * mips-tdep.c (mips_gdbarch_init): Ditto.
626 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
627 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
628 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
629 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
630 * i386-tdep.c (i386_gdbarch_init): Ditto.
631 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
632 * frv-tdep.c (frv_gdbarch_init): Ditto.
633 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
634 * cris-tdep.c (cris_gdbarch_init): Ditto.
635 * avr-tdep.c (avr_gdbarch_init): Ditto.
636 * arm-tdep.c (arm_gdbarch_init): Ditto.
637 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
638 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
639 * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
640 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
641 * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
642 call_dummy_stack_adjust_p.
643 * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
644 (CALL_DUMMY_STACK_ADJUST): Delete macro.
645 * sparc-tdep.c (sparc32_push_arguments): Update.
646 * valops.c (hand_function_call): Update.
648 2003-03-25 Corinna Vinschen <vinschen@redhat.com>
650 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
651 set_gdbarch_char_signed.
653 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
656 * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
658 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
660 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
661 (_initialize_arm_tdep): Don't set tm_print_insn.
663 2003-03-24 Adam Fedor <fedor@gnu.org>
665 * Makefile.in (YYOBJ): Add objc-exp.tab.o
666 * objc-lang.h: Add multiple inclusion protection.
667 (start_msglist, add_msglist, end_msglist): Additional declarations.
669 2003-03-24 Richard Earnshaw <rearnsha@arm.com>
671 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
672 value was renamed to ARM_FLOAT_SOFT_FPA.
674 2003-03-23 Andrew Cagney <cagney@redhat.com>
676 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
677 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
678 * gdbarch.h, gdbarch.c: Regenerate.
679 * valops.c (hand_function_call): Update.
680 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
681 * frame.c (legacy_saved_regs_this_id): Update.
682 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
683 * dummy-frame.h: Update.
684 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
685 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
686 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
687 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
688 * config/m68k/tm-sun3.h: Update.
689 * blockframe.c (inside_main_func, frame_chain_valid): Update.
690 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
691 * x86-64-tdep.c (x86_64_init_abi): Update.
692 * vax-tdep.c (vax_gdbarch_init): Update.
693 * v850-tdep.c (v850_gdbarch_init): Update.
694 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
695 * sh-tdep.c (sh_gdbarch_init): Update.
696 * s390-tdep.c (s390_gdbarch_init): Update.
697 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
698 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
699 (frame_get_saved_regs): Update.
700 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
701 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
702 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
703 * mips-tdep.c (mips_gdbarch_init): Update.
704 * mcore-tdep.c (mcore_gdbarch_init): Update.
705 * m68k-tdep.c (m68k_gdbarch_init): Update.
706 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
707 * ia64-tdep.c (ia64_gdbarch_init): Update.
708 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
709 * i386-interix-tdep.c (i386_interix_init_abi): Update.
710 (i386_interix_back_one_frame): Update.
711 * hppa-tdep.c (hppa_gdbarch_init): Update.
712 (hppa_init_extra_frame_info): Update.
713 * h8300-tdep.c (h8300_gdbarch_init): Update.
714 * frv-tdep.c (frv_gdbarch_init): Update.
715 * cris-tdep.c (cris_gdbarch_init): Update.
716 * avr-tdep.c (avr_gdbarch_init): Update.
717 * arm-tdep.c (arm_gdbarch_init): Update.
718 * alpha-tdep.c (alpha_gdbarch_init): Update.
720 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
722 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
723 (arm_get_fp_model): Declare.
724 * arm-tdep.c (fp_model_strings): New string array.
725 (arm_fp_model, current_fp_model): New variables.
726 (arm_get_fp_model): New function.
727 (arm_set_fp): New function.
728 (set_fp_model_sfunc): New function.
729 (show_fp_model): New function.
730 (_initialize_arm_tdep): Add new command to set/show the FPU.
731 (arm_extract_return_value): Use arm_get_fp_model.
732 (arm_store_return_value): Likewise.
733 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
734 to initialize the floating-point data types.
735 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
738 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
740 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
741 the current setting of each value.
742 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
743 new_set and new_show. Use add_setshow_cmd_full and
744 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
745 commands and add new version as subcommands of "set/show arm".
747 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
749 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
750 (set_arm_command, show_arm_command): New functions.
751 (_initialize_arm_tdep): Add them.
752 (num_disassembly_options): Renamed from num_flavor_options.
753 (valid_disassembly_styles): Renamed from valid_flavors.
754 (disassembly_style): Renamed from disassembly_flavor.
755 (set_disassembly_style_sfunc): Renamed from
756 set_disassembly_flavor_sfunc.
757 (set_disassembly_style): Renamed from set_disassembly_flavor.
758 (arm_othernames): Updated.
759 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
760 command. Add "set/show arm disassembly" commands. Deprecate
761 "othernames" command.
763 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
765 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
766 (arm-tdep.o): Depend on elf_arm_h.
768 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
770 * Makefile.in (coff_internal_h): Define.
771 (arm-tdep.o): Update dependencies.
773 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
775 * arm-tdep.c (prologue_cache): Delete.
776 (check_prologue_cache, save_prologue_cache): Delete.
777 (arm_scan_prologue): Don't check or update the prologue_cache.
778 (arm_gdb_arch_init): Don't initialize it.
779 (_initialize_arm_tdep): Likewise.
781 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
783 * MAINTAINERS (tui): Maintainer of tui code.
785 2003-03-21 Corinna Vinschen <vinschen@redhat.com>
787 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
788 (i386-cygwin-tdep.o): Add dependencies.
789 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
790 * i386-cygwin-tdep.c: New file.
791 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
792 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
794 2003-03-20 Andrew Cagney <cagney@redhat.com>
796 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
797 (handle_inferior_event): Remove code calling
798 DYNAMIC_TRAMPOLINE_NEXTPC.
800 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
801 already has a full path.
803 * main.c (gdb_main): Return 1.
804 (captured_main): Call error to report an invalid interpreter.
806 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
807 * alpha-osf1-tdep.c: Include "gdb_string.h".
809 2003-03-19 J. Brobecker <brobecker@gnat.com>
811 Continuing work to convert the hppa targets to multiarch partial.
813 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
814 method, now that hppa_push_dummy_frame has a conformant prototype.
815 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
816 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
817 for the switch to multiarch partial.
819 2003-03-19 Kevin Buettner <kevinb@redhat.com>
821 * mdebugread.c (parse_symbol): For stEnd, we're done counting
824 2003-03-18 Kevin Buettner <kevinb@redhat.com>
826 * mips-tdep.c (mips_register_name): Fix fencepost error involving
827 NUM_REGS bounds check.
829 2003-03-18 Kevin Buettner <kevinb@redhat.com>
831 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
832 * mips-tdep.c (gdb_assert.h): Include.
833 (mips_generic_reg_names, mips_processor_reg_names): Make static.
834 (mips_register_name): Handle integer registers explicitly. Add
836 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
837 (mips_lsi33k_reg_names): Don't list integer registers; they're
838 handled by mips_register_name() now.
839 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
840 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
841 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
842 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
843 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
845 2003-03-18 Andrew Cagney <cagney@redhat.com>
847 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
849 * gdbtypes.h (print_scalar_formatted): Update declaration.
850 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
852 2003-03-18 J. Brobecker <brobecker@gnat.com>
854 * infrun.c (observer.h): Add #include.
855 (normal_stop): Add call to observer_notify_normal_stop.
856 * Makefile.in (infrun.o): Add dependency on observer.h.
858 2003-03-18 J. Brobecker <brobecker@gnat.com>
860 Continuing work to convert the hppa targets to multiarch partial.
861 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
862 parameter. Reformat comment.
863 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
864 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
865 to match new profile.
867 2003-03-18 J. Brobecker <brobecker@gnat.com>
869 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
870 appear to be working in any case.
872 2003-03-18 J. Brobecker <brobecker@gnat.com>
874 * observer.c (observer_test_first_observer): New static variable.
875 (observer_test_second_observer): Likewise.
876 (observer_test_third_observer): Likewise.
877 (observer_test_first_notification_function): New static function.
878 (observer_test_second_notification_function): Likewise.
879 (observer_test_third_notification_function): Likewise.
881 2003-03-17 J. Brobecker <brobecker@gnat.com>
883 * hppa-tdep.c (gdb_assert.h): Add missing #include.
884 * somsolib.c (gdb_assert.h): Likewise.
885 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
886 (somsolib.o): Likewise.
888 2003-03-17 Andrew Cagney <cagney@redhat.com>
890 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
891 BFD. Simplify setting of di.endian.
893 2003-03-17 Andrew Cagney <cagney@redhat.com>
895 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
896 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
898 From Elena Zannoni <ezannoni@redhat.com>
899 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
900 vector and floating-point parameters.
901 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
903 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
905 2003-03-17 Fernando Nasser <fnasser@redhat.com>
907 * MAINTAINERS: Remove my name from several maintainership roles.
909 2003-03-17 Andrew Cagney <cagney@redhat.com>
911 Fix frame off-by-one bug.
912 * frame-unwind.h (frame_this_id_ftype): Replace
913 frame_unwind_id_ftype.
914 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
915 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
916 with "prev_register".
917 * frame-unwind.c (frame_unwind_find_by_pc): Return
918 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
920 * dummy-frame.c (cached_find_dummy_frame): Delete function.
921 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
922 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
923 (dummy_frame_unwind): Update.
924 * sentinel-frame.c (sentinel_frame_prev_register): Replace
925 sentinel_frame_register_unwind.
926 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
927 (sentinel_frame_unwinder): Update.
928 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
929 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
930 * frame.c (create_sentinel_frame): Update. Initialize
931 "prologue_cache" instead of "unwind_cache".
932 (frame_register_unwind): Call this frame's prev_register with the
933 next frame and this frame's prologue cache.
934 (get_prev_frame): Simplify. Always call prev frame's this_id with
935 this frame and prev frame's prologue cache. Document that this
936 call is shifted one to the left when compared to the
937 frame_register_unwind call.
938 (legacy_saved_regs_prev_register): Replace
939 frame_saved_regs_register_unwind.
940 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
941 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
942 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
943 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
944 (d10v_frame_unwind): Update.
945 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
946 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
947 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
948 "saved_regs" with "this_saved_regs".
950 2003-03-16 Andrew Cagney <cagney@redhat.com>
952 * frame.c (frame_pop): Don't call target_store_registers. Fix
953 problem reported by Mark Kettenis.
955 2003-03-16 Mark Kettenis <kettenis@gnu.org>
957 * i386-tdep.c (i386_register_type): Renamed from
958 i386_register_virtual_type. Adjust function signature.
959 (i386_gdbarch_init): Set register_type instead of
960 deprecated_max_register_raw_size,
961 deprecated_max_register_virtual_size and register_virtual_type.
963 2003-03-14 Andrew Cagney <cagney@redhat.com>
965 * frame.c (get_prev_frame): When a legacy frame, always call
966 legacy_get_prev_frame. Simplify unwind code using assumption that
968 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
969 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
970 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
972 2003-03-14 Andrew Cagney <cagney@redhat.com>
974 * frame.c (get_saved_register): Delete function.
975 * frame.h (get_saved_register): Delete declaration.
976 * xstormy16-tdep.c: Update comment.
977 * regcache.h: Update comments.
978 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
979 get_saved_register and extract_address, use
980 frame_read_unsigned_register.
981 (sparc_frame_saved_pc): Ditto.
982 (sparc_get_saved_register): Instead of get_saved_register, use
984 (sparc_pop_frame): Ditto.
985 * findvar.c: Update comments.
986 (value_of_register): Call frame_register instead of
988 (value_from_register): Ditto.
989 * config/sparc/tm-sparc.h: Update comment.
990 * breakpoint.c: Update comment.
992 2003-03-14 Andrew Cagney <cagney@redhat.com>
994 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
996 * gdbarch.h, gdbarch.c: Re-generate.
997 * frame.h: Update comments.
998 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
999 * x86-64-tdep.c (x86_64_init_abi): Update.
1000 * sparc-tdep.c (sparc_gdbarch_init): Update.
1001 * sh-tdep.c (sh_gdbarch_init): Update.
1002 * mips-tdep.c (mips_gdbarch_init): Update.
1003 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1004 * cris-tdep.c (cris_gdbarch_init): Update.
1005 * ia64-tdep.c (ia64_gdbarch_init): Update.
1006 * frame.c (frame_register): Update.
1007 (get_saved_register): Update.
1008 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
1010 2003-03-13 Andrew Cagney <cagney@redhat.com>
1012 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
1013 * gdbarch.h, gdbarch.c: Regenerate.
1014 * valops.c (hand_function_call): Update comment.
1015 * stack.c (return_command): Update comment.
1016 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
1017 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
1018 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1019 * x86-64-tdep.c (x86_64_init_abi): Update.
1020 * vax-tdep.c (vax_gdbarch_init): Update.
1021 * v850-tdep.c (v850_gdbarch_init): Update.
1022 * sparc-tdep.c (sparc_gdbarch_init): Update.
1023 * sh-tdep.c (sh_gdbarch_init): Update.
1024 * s390-tdep.c (s390_gdbarch_init): Update.
1025 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1026 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1027 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1028 * mips-tdep.c (mips_gdbarch_init): Update.
1029 * mcore-tdep.c (mcore_gdbarch_init): Update.
1030 * m68k-tdep.c (m68k_gdbarch_init): Update.
1031 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1032 * ia64-tdep.c (ia64_gdbarch_init): Update.
1033 * i386-tdep.c (i386_gdbarch_init): Update.
1034 * hppa-tdep.c (hppa_gdbarch_init): Update.
1035 * h8300-tdep.c (h8300_gdbarch_init): Update.
1036 * frv-tdep.c (frv_gdbarch_init): Update.
1037 * cris-tdep.c (cris_gdbarch_init): Update.
1038 * avr-tdep.c (avr_gdbarch_init): Update.
1039 * arm-tdep.c (arm_gdbarch_init): Update.
1040 * alpha-tdep.c (alpha_gdbarch_init): Update.
1042 2003-03-13 Andrew Cagney <cagney@redhat.com>
1044 * frame.c (legacy_frame_p): New function.
1045 (get_prev_frame): Use legacy_frame_p.
1046 * frame.h (legacy_frame_p): Declare.
1048 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
1050 * MAINTAINERS (write after approval): Alphabetically
1053 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
1055 * MAINTAINERS (write after approval): Add myself.
1057 2003-03-12 Andrew Cagney <cagney@redhat.com>
1059 * frame.c (get_prev_frame): Rename the frame parameter to
1061 (get_next_frame, legacy_get_prev_frame): Ditto.
1063 2003-03-12 Andrew Cagney <cagney@redhat.com>
1065 * frame.c (get_current_frame): Check target_has_registers before
1066 checking target_has_stack.
1067 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
1068 instead of deprecated_selected_frame.
1069 * findvar.c (value_of_register): Pass "frame", not
1070 deprecated_selected_frame, to value_of_builtin_reg.
1072 2003-03-12 Andrew Cagney <cagney@redhat.com>
1074 * regcache.c (regcache_cooked_write_signed): New function.
1075 (regcache_cooked_write_unsigned): New function.
1076 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
1077 (regcache_cooked_read_signed): Fix regnum in range assertion.
1078 * regcache.h (regcache_cooked_write_signed): Declare.
1079 (regcache_cooked_write_unsigned): Declare.
1081 2003-03-12 Andrew Cagney <cagney@redhat.com>
1083 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1084 * gdbarch.h, gdbarch.c: Re-generate.
1085 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1086 * x86-64-tdep.h: Update.
1087 * x86-64-tdep.c (x86_64_init_abi): Update.
1088 * v850-tdep.c (v850_gdbarch_init): Update.
1089 * sparc-tdep.c (sparc_gdbarch_init): Update.
1090 * sh-tdep.c (sh_gdbarch_init): Update.
1091 * s390-tdep.c (s390_gdbarch_init): Update.
1092 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1093 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1094 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1095 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1096 * mips-tdep.c (mips_gdbarch_init): Update.
1097 * mcore-tdep.c (mcore_gdbarch_init): Update.
1098 * m68k-tdep.c (m68k_gdbarch_init): Update.
1099 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1100 * ia64-tdep.c (ia64_gdbarch_init): Update.
1101 * i386-tdep.c (i386_gdbarch_init): Update.
1102 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1103 * hppa-tdep.c (hppa_gdbarch_init): Update.
1104 * h8300-tdep.c (h8300_gdbarch_init): Update.
1105 * frv-tdep.c (frv_gdbarch_init): Update.
1106 * cris-tdep.c (cris_gdbarch_init): Update.
1107 * avr-tdep.c (avr_gdbarch_init): Update.
1108 * arm-tdep.c (arm_gdbarch_init): Update.
1109 * alpha-tdep.c (alpha_gdbarch_init): Update.
1110 * sh-tdep.c (sh_init_extra_frame_info): Update.
1111 (sh64_init_extra_frame_info): Update.
1112 * ns32knbsd-nat.c (frame_num_args): Update.
1113 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1114 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1115 (xstormy16_frame_chain_valid): Update.
1116 * vax-tdep.c (vax_saved_pc_after_call): Update.
1117 * v850-tdep.c (v850_frame_chain): Update.
1118 (v850_pop_frame): Update.
1119 (v850_init_extra_frame_info): Update.
1120 * sparc-tdep.c (setup_arbitrary_frame): Update.
1121 * ns32k-tdep.c (umax_frame_num_args): Update.
1122 * s390-tdep.c (s390_pop_frame_regular): Update.
1123 * mn10300-tdep.c (mn10300_frame_chain): Update.
1124 (mn10300_pop_frame_regular): Update.
1125 (mn10300_init_extra_frame_info): Update.
1126 * mips-tdep.c (mips_init_frame_pc_first): Update.
1127 (mips_frame_chain): Update.
1128 (mips_pop_frame): Update.
1129 * mcore-tdep.c (mcore_frame_chain): Update.
1130 (mcore_pop_frame): Update.
1131 (mcore_init_extra_frame_info): Update.
1132 * arch-utils.c (init_frame_pc_default): Update.
1133 * m68k-tdep.c (isi_frame_num_args): Update.
1134 (delta68_frame_num_args): Update.
1135 (news_frame_num_args): Update.
1136 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1137 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1138 (alpha_frame_chain): Update.
1139 (alpha_pop_frame): Update.
1140 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1141 (hppa_init_extra_frame_info): Update.
1142 (hppa_frame_chain): Update.
1143 (hppa_frame_chain_valid): Update.
1144 * cris-tdep.c (cris_init_extra_frame_info): Update.
1145 * avr-tdep.c (avr_init_extra_frame_info): Update.
1146 * arm-tdep.c (arm_frame_chain_valid): Update.
1147 (arm_init_extra_frame_info): Update.
1148 (arm_pop_frame): Update.
1149 * frame.c (frame_pc_unwind): Update.
1150 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1151 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1152 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1153 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1154 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1155 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1157 2003-03-12 Andrew Cagney <cagney@redhat.com>
1159 Eliminate the need for POP_FRAME.
1160 * frame.c (do_frame_unwind_register): New function.
1161 (frame_pop): When no POP_FRAME, pop the frame using register
1162 unwind and a scratch regcache.
1163 (frame_saved_regs_pop): Delete function.
1164 (trad_frame_unwinder): Update.
1165 * d10v-tdep.c (d10v_frame_pop): Delete function.
1166 (d10v_frame_unwind): Update.
1167 * sentinel-frame.c (sentinel_frame_pop): Delete function.
1168 (sentinel_frame_unwinder): Update.
1169 * dummy-frame.c (dummy_frame_pop): Delete function.
1170 (dummy_frame_unwind): Update.
1171 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
1172 (struct frame_unwind): Update.
1174 2003-03-11 Kevin Buettner <kevinb@redhat.com>
1176 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
1177 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
1178 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
1179 Do range checks on register number obtained from debugging info.
1180 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
1181 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
1182 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
1184 (do_fp_register_row): Fix typo which caused double type to be
1185 used when attempting to unpack a float.
1187 2003-03-11 J. Brobecker <brobecker@gnat.com>
1189 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
1191 2003-03-11 Andrew Cagney <cagney@redhat.com>
1193 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
1194 frame. Problem found by Corinna Vinschen.
1196 2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
1198 * doublest.c (floatformat_from_length): Accept also
1199 the real size of 'long double' type.
1201 2003-03-10 Daniel Jacobowitz <drow@mvista.com>
1203 From Klee Dienes <kdienes@apple.com>:
1204 * breakpoint.c (bpstat_copy): Copy the command lines as well
1205 as the old value, to match what is freed in bpstat_clear.
1207 2003-03-10 David Carlton <carlton@math.stanford.edu>
1209 * minsyms.c (add_minsym_to_hash_table): Replace
1210 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
1211 (compare_minimal_symbols, compact_minimal_symbols)
1212 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
1213 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
1214 of DEPRECATED_SYMBOL_MATCHES_NAME.
1215 (lookup_minimal_symbol_solib_trampoline): Ditto.
1217 2003-03-10 Andrew Cagney <cagney@redhat.com>
1219 * regcache.h (regcache_cooked_read_ftype): Define.
1220 (regcache_save, regcache_restore): Add a cooked_read parameter.
1221 * regcache.c (regcache_save, regcache_restore): Update.
1222 (do_cooked_read): New function.
1223 (regcache_cpy): Pass do_cooked_read to regcache_save and
1226 2003-03-10 Andrew Cagney <cagney@redhat.com>
1228 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1229 * gdbarch.h, gdbarch.c: Re-generate.
1230 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1231 * x86-64-tdep.h: Update.
1232 * x86-64-tdep.c (x86_64_init_abi): Update.
1233 * v850-tdep.c (v850_gdbarch_init): Update.
1234 * sparc-tdep.c (sparc_gdbarch_init): Update.
1235 * sh-tdep.c (sh_gdbarch_init): Update.
1236 * s390-tdep.c (s390_gdbarch_init): Update.
1237 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1238 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1239 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1240 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1241 * mips-tdep.c (mips_gdbarch_init): Update.
1242 * mcore-tdep.c (mcore_gdbarch_init): Update.
1243 * m68k-tdep.c (m68k_gdbarch_init): Update.
1244 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1245 * ia64-tdep.c (ia64_gdbarch_init): Update.
1246 * i386-tdep.c (i386_gdbarch_init): Update.
1247 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1248 * hppa-tdep.c (hppa_gdbarch_init): Update.
1249 * h8300-tdep.c (h8300_gdbarch_init): Update.
1250 * frv-tdep.c (frv_gdbarch_init): Update.
1251 * cris-tdep.c (cris_gdbarch_init): Update.
1252 * avr-tdep.c (avr_gdbarch_init): Update.
1253 * arm-tdep.c (arm_gdbarch_init): Update.
1254 * alpha-tdep.c (alpha_gdbarch_init): Update.
1255 * sh-tdep.c (sh_init_extra_frame_info): Update.
1256 (sh64_init_extra_frame_info): Update.
1257 * ns32knbsd-nat.c (frame_num_args): Update.
1258 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1259 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1260 (xstormy16_frame_chain_valid): Update.
1261 * vax-tdep.c (vax_saved_pc_after_call): Update.
1262 * v850-tdep.c (v850_frame_chain): Update.
1263 (v850_pop_frame): Update.
1264 (v850_init_extra_frame_info): Update.
1265 * sparc-tdep.c (setup_arbitrary_frame): Update.
1266 * ns32k-tdep.c (umax_frame_num_args): Update.
1267 * s390-tdep.c (s390_pop_frame_regular): Update.
1268 * mn10300-tdep.c (mn10300_frame_chain): Update.
1269 (mn10300_pop_frame_regular): Update.
1270 (mn10300_init_extra_frame_info): Update.
1271 * mips-tdep.c (mips_init_frame_pc_first): Update.
1272 (mips_frame_chain): Update.
1273 (mips_pop_frame): Update.
1274 * mcore-tdep.c (mcore_frame_chain): Update.
1275 (mcore_pop_frame): Update.
1276 (mcore_init_extra_frame_info): Update.
1277 * arch-utils.c (init_frame_pc_default): Update.
1278 * m68k-tdep.c (isi_frame_num_args): Update.
1279 (delta68_frame_num_args): Update.
1280 (news_frame_num_args): Update.
1281 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1282 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1283 (alpha_frame_chain): Update.
1284 (alpha_pop_frame): Update.
1285 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1286 (hppa_init_extra_frame_info): Update.
1287 (hppa_frame_chain): Update.
1288 (hppa_frame_chain_valid): Update.
1289 * cris-tdep.c (cris_init_extra_frame_info): Update.
1290 * avr-tdep.c (avr_init_extra_frame_info): Update.
1291 * arm-tdep.c (arm_frame_chain_valid): Update.
1292 (arm_init_extra_frame_info): Update.
1293 (arm_pop_frame): Update.
1294 * frame.c (frame_pc_unwind): Update.
1295 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1296 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1297 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1298 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1299 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1300 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1302 2003-03-10 Andrew Cagney <cagney@redhat.com>
1304 * gdbarch.sh (gdbarch_unwind_pc): New method.
1305 * gdbarch.h, gdbarch.c: Regenerate.
1306 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
1307 but use read_pc and FRAME_SAVED_PC as fall backs.
1308 (frame_saved_regs_pc_unwind): Delete function.
1309 (trad_frame_unwinder): Update.
1310 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
1311 (struct frame_unwind): Update.
1312 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
1313 (dummy_frame_unwind): Update.
1314 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
1315 (sentinel_frame_unwinder): Update.
1316 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
1317 (d10v_frame_unwind): Update.
1318 (d10v_unwind_pc): New function.
1319 (d10v_gdbarch_init): Set unwind_pc.
1321 2003-03-10 Andrew Cagney <cagney@redhat.com>
1323 * gdbarch.h: Re-generate.
1325 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
1327 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
1330 2003-03-08 Mark Kettenis <kettenis@gnu.org>
1332 * gdbarch.sh (save_dummy_frame_tos): Add comment.
1334 2003-03-08 Andrew Cagney <cagney@redhat.com>
1336 * cli-out.c: Update copyright.
1337 (cli_out_data): Define typedef. Use instead of ui_out_data.
1339 2003-03-08 Andrew Cagney <cagney@redhat.com>
1341 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
1344 2003-03-07 Andrew Cagney <cagney@redhat.com>
1346 * gdbarch.sh: Don't generate two macro definitions when an
1347 undefined macro taking no arguments.
1348 * gdbarch.h: Regenerate.
1350 2002-03-07 Michal Ludvig <mludvig@suse.cz>
1352 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
1353 (x86_64_unwind_dummy_id): New functions.
1354 (x86_64_init_abi): Register these two new functions.
1356 2003-03-07 Michal Ludvig <mludvig@suse.cz>
1358 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
1359 (x86_64_skip_prologue): Move prologue detection to
1361 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
1363 2003-03-05 Andrew Cagney <cagney@redhat.com>
1365 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
1366 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
1367 * frame.c (get_prev_frame): Restructure the frame ID unwind code
1368 to use unwind_dummy_id when a dummy frame.
1369 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
1371 * gdbarch.h, gdbarch.c: Regneerate.
1373 2003-03-05 Andrew Cagney <cagney@redhat.com>
1375 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
1376 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
1377 Do not use d10v_read_sp or d10v_read_fp when obtaining register
1380 2003-03-05 Andrew Cagney <cagney@redhat.com>
1382 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
1383 (struct d10v_unwind_cache): Delete field "frameless". Replace
1384 "next_addr" with "sp_offset". Add "r11_offset".
1385 (d10v_frame_unwind_cache): Update.
1386 (prologue_find_regs): Update. When "mv r11, sp", save the
1387 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
1388 RN was saved in r11_offset.
1390 2003-03-05 Andrew Cagney <cagney@redhat.com>
1392 * frame.c (deprecated_update_frame_pc_hack): Also update the the
1393 cached PC value in the next frame.
1395 2003-03-05 Andrew Cagney <cagney@redhat.com>
1397 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
1398 "id_unwind_cache" with "id".
1399 (frame_id_unwind): Delete declaration.
1400 * frame.c (frame_id_unwind): Delete function.
1401 (get_prev_frame): Call the frame id unwind method directly. Store
1402 the returned next frame's ID value in NEXT_FRAME. Note that there
1403 is a problem with the wrong unwind ID being called with the wrong
1406 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
1408 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
1410 2003-03-05 James Ingham <jingham@apple.com>
1411 Daniel Jacobowitz <drow@mvista.com>
1413 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
1414 (auto_cp_abi): New variable.
1415 (current_cp_abi, num_cp_abis): Make static.
1416 (CP_ABI_MAX): Define.
1417 (cp_abis): Turn into an array.
1418 (value_virtual_fn_field): Fix formatting.
1419 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
1421 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
1422 (list_cp_abis, _initialize_cp_abi): New functions.
1423 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
1424 declarations for cp_abis, num_cp_abis, current_cp_abi, and
1425 switch_to_cp_abi. Update prototype for register_cp_abi.
1426 * Makefile.in (cp-abi.o): Update dependencies.
1427 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
1428 instead of switch_to_cp_abi.
1429 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
1431 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
1433 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
1435 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
1437 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
1438 * dwarf2loc.c: Include "regcache.h".
1439 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
1441 * Makefile.in (dwarf2loc.o): Update dependencies.
1443 2003-03-04 Theodore A. Roth <troth@openavr.org>
1445 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
1446 number of io registers reported by remote target is not a multiple of
1449 2003-03-04 David Carlton <carlton@math.stanford.edu>
1451 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
1452 (lookup_symbol_aux_psymtabs): Update call to
1453 lookup_partial_symbol.
1454 (lookup_transparent_type, find_main_psymtab)
1455 (make_symbol_overload_list): Ditto.
1457 2003-03-04 Kazu Hirata <kazu@cs.umass.edu>
1459 * MAINTAINERS (Write after approval): Update my email address.
1461 2003-03-03 Andrew Cagney <cagney@redhat.com>
1463 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
1464 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
1465 predicate. Replace MAX_REGISTER_RAW_SIZE.
1466 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
1467 MAX_REGISTER_VIRTUAL_SIZE.
1468 * regcache.c (legacy_max_register_raw_size): New function.
1469 (legacy_max_register_virtual_size): New function.
1470 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
1471 (MAX_REGISTER_RAW_SIZE): Define.
1472 (legacy_max_register_raw_size): Declare.
1473 (legacy_max_register_virtual_size): Declare.
1474 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1475 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
1476 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1477 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1478 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1479 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1480 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1481 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1482 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1483 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1484 * vax-tdep.c (vax_gdbarch_init): Update.
1485 * v850-tdep.c (v850_gdbarch_init): Update.
1486 * sparc-tdep.c (sparc_gdbarch_init): Update.
1487 * sh-tdep.c (sh_gdbarch_init): Update.
1488 * s390-tdep.c (s390_gdbarch_init): Update.
1489 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1490 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1491 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1492 * mips-tdep.c (mips_gdbarch_init): Update.
1493 * mcore-tdep.c (mcore_gdbarch_init): Update.
1494 * m68k-tdep.c (m68k_gdbarch_init): Update.
1495 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1496 * ia64-tdep.c (ia64_gdbarch_init): Update.
1497 * i386-tdep.c (i386_gdbarch_init): Update.
1498 * hppa-tdep.c (hppa_gdbarch_init): Update.
1499 * h8300-tdep.c (h8300_gdbarch_init): Update.
1500 * frv-tdep.c (frv_gdbarch_init): Update.
1501 * cris-tdep.c (cris_gdbarch_init): Update.
1502 * avr-tdep.c (avr_gdbarch_init): Update.
1503 * arm-tdep.c (arm_gdbarch_init): Update.
1504 * alpha-tdep.c (alpha_gdbarch_init): Update.
1505 * d10v-tdep.c (d10v_gdbarch_init): Do not set
1506 max_register_raw_size or max_register_virtual_size.
1508 2003-03-03 David Carlton <carlton@math.stanford.edu>
1510 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
1511 SYMBOL_MATCHES_NAME, add comment.
1512 (SYMBOL_MATCHES_NATURAL_NAME): New.
1513 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
1514 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
1515 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
1516 * symtab.c (lookup_partial_symbol): Use
1517 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
1519 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
1520 SYMBOL_MATCHES_NAME.
1523 2003-03-03 David Carlton <carlton@math.stanford.edu>
1525 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
1526 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
1527 by regexp matching against SYMBOL_NATURAL_NAME.
1529 2003-03-03 David Carlton <carlton@math.stanford.edu>
1531 * linespec.c (find_method): Extract code into collect_methods.
1532 (collect_methods): New.
1534 2003-03-02 Mark Kettenis <kettenis@gnu.org>
1536 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
1539 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
1540 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1542 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
1544 * arch-utils.c (generic_register_byte): Fix to use the loop index
1545 and not regnum when summing the size of all registers up to regnum.
1547 2003-03-01 Andrew Cagney <cagney@redhat.com>
1549 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
1550 FRAME_INIT_SAVED_REGS.
1551 * gdbarch.h, gdbarch.c: Regenerate.
1552 * stack.c (frame_info): Update.
1553 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
1554 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
1555 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
1556 * ns32k-tdep.c (ns32k_pop_frame): Update.
1557 * mips-tdep.c (mips_pop_frame): Update.
1558 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
1559 * ia64-tdep.c (ia64_frame_chain): Update.
1560 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
1561 (ia64_frameless_function_invocation): Update.
1562 (ia64_init_extra_frame_info): Update.
1563 (ia64_pop_frame_regular): Update.
1564 * frame.h (struct frame_info): Update comment.
1565 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
1566 * frame.c (frame_saved_regs_register_unwind): Update.
1567 (frame_saved_regs_register_unwind): Update.
1568 (deprecated_generic_get_saved_register): Update.
1569 * cris-tdep.c: Update comment.
1570 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
1572 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1573 * x86-64-tdep.c (x86_64_init_abi): Update.
1574 * vax-tdep.c (vax_gdbarch_init): Update.
1575 * v850-tdep.c (v850_gdbarch_init): Update.
1576 * sparc-tdep.c (sparc_gdbarch_init): Update.
1577 * sh-tdep.c (sh_gdbarch_init): Update.
1578 * s390-tdep.c (s390_gdbarch_init): Update.
1579 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1580 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1581 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1582 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1583 * mips-tdep.c (mips_gdbarch_init): Update.
1584 * mcore-tdep.c (mcore_gdbarch_init): Update.
1585 * m68k-tdep.c (m68k_gdbarch_init): Update.
1586 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1587 * ia64-tdep.c (ia64_gdbarch_init): Update.
1588 * i386-tdep.c (i386_gdbarch_init): Update.
1589 * frv-tdep.c (frv_gdbarch_init): Update.
1590 * avr-tdep.c (avr_gdbarch_init): Update.
1591 * arm-tdep.c (arm_gdbarch_init): Update.
1592 * alpha-tdep.c (alpha_gdbarch_init): Update.
1594 2003-03-01 Andrew Cagney <cagney@redhat.com>
1596 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
1597 option enum and switch. When no windows, set the interpreter to
1600 2003-03-01 Andrew Cagney <cagney@redhat.com>
1602 * main.c (captured_main): Replace magic option characters with an
1605 2003-03-01 Andrew Cagney <cagney@redhat.com>
1607 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
1608 INIT_EXTRA_FRAME_INFO.
1609 * gdbarch.h, gdbarch.c: Regenerate.
1610 * arm-tdep.c: Update comments.
1611 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
1612 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
1613 * frame.h, avr-tdep.c: Ditto.
1614 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
1615 (create_new_frame, legacy_get_prev_frame): Ditto.
1616 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
1617 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
1618 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
1619 deprecated_init_extra_frame_info instead of init_extra_frame_info.
1620 * x86-64-tdep.c (x86_64_init_abi): Ditto.
1621 * v850-tdep.c (v850_gdbarch_init): Ditto.
1622 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1623 * sh-tdep.c (sh_gdbarch_init): Ditto.
1624 * s390-tdep.c (s390_gdbarch_init): Ditto.
1625 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
1626 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1627 * mips-tdep.c (mips_gdbarch_init): Ditto.
1628 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1629 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1630 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1631 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
1632 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
1633 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1634 * frv-tdep.c (frv_gdbarch_init): Ditto.
1635 * cris-tdep.c (cris_gdbarch_init): Ditto.
1636 * avr-tdep.c (avr_gdbarch_init): Ditto.
1637 * arm-tdep.c (arm_gdbarch_init): Ditto.
1638 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1639 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1641 2003-03-01 Andrew Cagney <cagney@redhat.com>
1643 * gdbarch.sh (register_type): New function with predicate.
1644 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
1645 * gdbarch.h, gdbarch.c: Re-generate.
1646 * arch-utils.c (generic_register_byte): Use generic_register_size.
1647 (generic_register_size): When available, use
1648 gdbarch_register_type.
1649 * regcache.c (init_regcache_descr): When available, initialize the
1650 register type array using gdbarch_register_type. If the
1651 architecture supplies gdbarch_register_type, do not use the legacy
1653 * d10v-tdep.c (d10v_register_type): Replace
1654 d10v_register_virtual_type.
1655 (d10v_gdbarch_init): Set register_type instead of
1656 register_virtual_type.
1658 2003-03-01 Andrew Cagney <cagney@redhat.com>
1660 * Makefile.in (ax-gdb.o): Update dependencies.
1661 * ax-gdb.c: Include "regcache.h".
1662 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
1663 * findvar.c (value_of_register): Ditto.
1664 * infcmd.c (default_print_registers_info): Ditto.
1666 2003-03-01 Mark Kettenis <kettenis@gnu.org>
1668 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
1669 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1671 2003-03-01 Mark Kettenis <kettenis@gnu.org>
1673 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
1676 2003-02-28 Daniel Jacobowitz <drow@mvista.com>
1678 * Makefile.in (dwarf2loc.o): Update dependencies.
1679 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
1680 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
1681 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
1682 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
1683 (locexpr_tracepoint_var_ref): New function.
1684 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
1686 2003-02-28 Andrew Cagney <cagney@redhat.com>
1688 * regcache.c (register_size): New function.
1689 * regcache.h (register_size): Declare
1690 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
1691 max_register_size instead of MAX_REGISTER_RAW_SIZE.
1693 2003-02-28 David Carlton <carlton@math.stanford.edu>
1695 * linespec.c (decode_compound): Extract code into find_method.
1698 2003-02-28 J. Brobecker <brobecker@gnat.com>
1700 * Makefile.in: Add rules to build and link in observer.o.
1702 2003-02-27 J. Brobecker <brobecker@gnat.com>
1704 * observer.c: Minor comments edits.
1706 2003-02-27 J. Brobecker <brobecker@gnat.com>
1708 * observer.h, observer.c: New file.
1710 2003-02-27 Andrew Cagney <cagney@redhat.com>
1712 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
1714 2003-02-27 Stephane Carrez <stcarrez@nerim.fr>
1716 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
1717 (M6812_OP_STS_EXT): Likewise.
1718 (m6811_prologue): Use the above to recognize prologue.
1719 (m6812_prologue): Likewise.
1721 2003-02-27 David Carlton <carlton@math.stanford.edu>
1723 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
1725 (compare_psymbols): Ditto.
1726 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
1728 2003-02-27 Michael Snyder <msnyder@redhat.com>
1730 * f-lang.c (build_fortran_types): New function.
1731 (_initialize_f_language): Gdbarch-register built-in fortran types.
1732 * doublest.c (extract_floating): Fix warning text.
1734 2003-02-27 Andrew Cagney <cagney@redhat.com>
1736 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
1737 predicate. Replaces PUSH_DUMMY_FRAME.
1738 * gdbarch.h, gdbarch.c: Regnerate.
1739 * valops.c (hand_function_call): Update. Call
1740 generic_push_dummy_frame directly.
1741 * vax-tdep.c (vax_gdbarch_init): Update.
1742 * sparc-tdep.c (sparc_gdbarch_init): Update.
1743 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1744 * m68k-tdep.c (m68k_gdbarch_init): Update.
1745 * hppa-tdep.c (hppa_gdbarch_init): Update.
1746 * alpha-tdep.c (alpha_gdbarch_init): Update.
1747 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1748 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1749 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
1750 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
1751 push_dummy_frame to generic_push_dummy_frame.
1752 * v850-tdep.c (v850_gdbarch_init): Ditto.
1753 * sh-tdep.c (sh_gdbarch_init): Ditto.
1754 * s390-tdep.c (s390_gdbarch_init): Ditto.
1755 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1756 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1757 * mips-tdep.c (mips_gdbarch_init): Ditto.
1758 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1759 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1760 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1761 * i386-tdep.c (i386_gdbarch_init): Ditto.
1762 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1763 * frv-tdep.c (frv_gdbarch_init): Ditto.
1764 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1765 * cris-tdep.c (cris_gdbarch_init): Ditto.
1766 * avr-tdep.c (avr_gdbarch_init): Ditto.
1767 * arm-tdep.c (arm_gdbarch_init): Ditto.
1769 2003-02-26 Kevin Buettner <kevinb@redhat.com>
1771 * mips-tdep.c (show_mips_abi): New function.
1772 (_initialize_mips_tdep): Use show_mips_abi() to implement the
1773 command ``show mips abi''.
1775 2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
1777 From Elena Zannoni <ezannoni@redhat.com>
1778 * dbxread.c (process_one_symbol): Only record line 0 if one or
1779 more sline entries have been seen for the function.
1781 2003-02-26 Michael Chastain <mec@shout.net>
1783 * configure: Regenerate with autoconf 000227.
1785 2003-02-26 Michael Chastain <mec@shout.net>
1788 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
1789 for old libc5/glibc.
1790 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
1792 2003-02-26 Kris Warkentin <kewarken@qnx.com>
1794 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
1795 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
1797 2003-02-26 Michael Chastain <mec@shout.net>
1799 * configure.in: New variable HAVE_UINTPTR_T.
1800 * configure, config.in: Regenerated.
1802 2003-02-26 Daniel Jacobowitz <drow@mvista.com>
1805 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
1807 2003-02-25 Andrew Cagney <cagney@redhat.com>
1809 * frame.c (get_prev_frame): Add comment on check for
1810 inside_entry_func. Only check for inside_entry_file when not a
1811 dummy and not a sentinel. Check that the new frame is not inner
1814 2003-02-25 Andrew Cagney <cagney@redhat.com>
1816 * frame.c (frame_debug): New variable.
1817 (_initialize_frame): Add "set/show debug frame" command.
1818 (get_prev_frame): When frame_debug, print reason why unwind
1821 2003-02-25 Michael Chastain <mec@shout.net>
1823 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
1824 to avoid uintptr_t definition problems.
1826 2003-02-25 David Carlton <carlton@math.stanford.edu>
1828 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
1829 (SYMBOL_LINKAGE_NAME): Ditto.
1830 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
1831 SYMBOL_LINKAGE_NAME.
1832 (struct general_symbol_info): Expand comment.
1833 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
1834 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
1835 (SYMBOL_MATCHES_REGEXP): Ditto.
1836 * symtab.c (symbol_natural_name): New function.
1837 * objfiles.h: Replace all uses of SYMBOL_NAME by
1838 DEPRECATED_SYMBOL_NAME.
1839 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
1840 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
1841 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
1842 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
1843 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
1844 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
1845 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
1846 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
1847 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
1848 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
1850 * ada-exp.y: Update copyright.
1851 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
1852 * cp-valprint.c: Ditto.
1854 2003-02-25 Jeff Johnston <jjohnstn@redhat.com>
1856 * infptrace.c (detach): Do not flag error if ptrace detach fails
1857 and errno is set to ESRCH.
1859 2003-02-24 Andrew Cagney <cagney@redhat.com>
1861 * infptrace.c (udot_info): Change type of udot_off to long. Use
1862 paddr when printing udot_off's value.
1864 2003-02-24 David Carlton <carlton@math.stanford.edu>
1866 * symtab.c (make_symbol_overload_list): Only read in partial
1867 symtabs containing a matching partial symbol.
1869 2003-02-24 David Carlton <carlton@math.stanford.edu>
1871 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
1872 do the comparison, not strcmp.
1873 * symfile.c (compare_psymbols): Ditto.
1874 * defs.h: Declare strcmp_iw_ordered.
1875 * utils.c (strcmp_iw_ordered): New function.
1877 2003-02-24 Jim Blandy <jimb@redhat.com>
1879 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
1880 support, shared libs): Remove my name from here, to better reflect
1883 2003-02-24 Kris Warkentin <kewarken@qnx.com>
1885 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
1886 (target_ops): Add to_have_continuable_watchpoint.
1887 * target.c (update_current_target): Add INHERIT line for
1888 to_have_continuable_watchpoint.
1889 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
1890 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
1891 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
1892 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
1894 2003-02-24 Elena Zannoni <ezannoni@redhat.com>
1896 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
1899 2003-02-24 Kris Warkentin <kewarken@qnx.com>
1901 * solib.c (solib_open): Call target defined search function after
1902 failing with solib-search-path.
1903 * solist.h (target_so_ops): Add find_and_open_solib function hook and
1904 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
1906 2003-02-24 Kris Warkentin <kewarken@qnx.com>
1908 * MAINTAINERS: Add myself to Write After section.
1910 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1912 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
1914 2003-02-22 Stephane Carrez <stcarrez@nerim.fr>
1916 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
1917 (m68hc11_add_reggroups): New function.
1918 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
1919 (m68hc11_gdbarch_init): Install the reggroups.
1920 (_initialize_m68hc11_tdep): Initialize them.
1922 2003-02-21 James E Wilson <wilson@tuliptree.org>
1924 * MAINTAINERS: Update my email address.
1926 2003-02-21 David Carlton <carlton@math.stanford.edu>
1928 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
1930 2003-02-21 Daniel Jacobowitz <drow@mvista.com>
1932 Based on a patch from Daniel Berlin (dberlin@dberlin.org).
1933 * symtab.h: Add opaque declarations of struct axs_value and
1935 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
1936 (struct location_funcs): New type.
1937 (struct symbol): Add "loc" to aux_value.
1938 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
1939 * dwarf2read.c: Include "dwarf2expr.h".
1940 (dwarf2_symbol_mark_computed): New function.
1941 (read_func_scope): Use it.
1942 (var_decode_location): New function.
1943 (new_symbol): Use it.
1944 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
1946 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
1947 (dwarf2expr_h, dwarf2loc_h): New variables.
1948 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
1949 (dwarf2expr.o, dwarf2loc.o): New rules.
1950 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
1951 * buildsym.c (finish_block): Handle LOC_COMPUTED and
1953 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
1954 * m2-exp.y (yylex): Likewise.
1955 * printcmd.c (address_info, print_frame_args): Likewise.
1956 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
1957 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
1958 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
1959 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
1960 * symtab.c (lookup_block_symbol): Likewise.
1962 2003-02-20 Adam Fedor <fedor@gnu.org>
1964 * symtab.h: Remove objc_specific struct
1965 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
1966 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
1967 Have language_objc use cplus_specific struct.
1969 2003-02-20 Tom Tromey <tromey@redhat.com>
1971 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
1972 TYPE_NAME, when printing a String value. PR java/1075.
1974 2003-02-20 Adam Fedor <fedor@gnu.org>
1976 * objc-lang.h (find_methods): Remove declaration.
1977 * objc-lang.c (find_methods): Make static.
1979 2003-02-20 Christopher Faylor <cgf@redhat.com>
1981 * win32-nat.c (get_image_name): Check return value from
1983 (child_xfer_memory): Ditto.
1985 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1987 * configure.in (TARGET_SYSTEM_ROOT): Set default to
1988 ${exec_prefix}/${target_alias}/sys-root. Match explicit
1989 '${exec_prefix}' (in addition to the expansion thereof) as
1991 * configure: Rebuilt.
1993 2003-02-20 David Carlton <carlton@math.stanford.edu>
1995 * symtab.c (search_symbols): Revert the search_symbols part of my
1996 2002-12-23 patch. Add comment.
1998 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
2000 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
2001 * dbxread.c (elfstab_build_psymtabs): Don't call
2002 install_minimal_symbols.
2003 (stabsect_build_psymtabs): Likewise.
2004 * elfread.c (elf_symfile_read): Call install_minimal_symbols
2006 * somread.c (som_symfile_read): Call install_minimal_symbols
2007 and do_cleanups earlier.
2008 * nlmread.c (nlm_symfile_read): Likewise.
2009 * mdebugread.c (elfmdebug_build_psymtabs): Call
2010 install_minimal_symbols and make appropriate cleanups.
2012 2003-02-20 Kevin Buettner <kevinb@redhat.com>
2014 * solib.c (reload_shared_libraries): New function.
2015 (_initialize_solib): Add callbacks for ``set solib-search-path''
2016 and ``set solib-absolute-prefix''.
2018 2003-02-20 David Carlton <carlton@math.stanford.edu>
2020 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
2022 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
2023 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
2024 * ada-typeprint.c (ada_typedef_print): Ditto.
2025 * ax-gdb.c (gen_var_ref): Ditto.
2026 * breakpoint.c (print_one_breakpoint): Ditto.
2027 * buildsym.c (finish_block): Ditto.
2028 * c-valprint.c (c_val_print): Ditto.
2029 * expprint.c (print_subexp): Ditto.
2030 * findvar.c (locate_var_value): Ditto.
2031 * infcmd.c (jump_command): Ditto.
2032 * linespec.c (decode_line_2, decode_compound): Ditto.
2033 * maint.c (maintenance_translate_address): Ditto.
2034 * objc-lang.c (compare_selectors, compare_classes): Ditto.
2035 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
2037 * p-valprint.c (pascal_val_print): Ditto.
2038 * stabsread.c (define_symbol): Ditto.
2039 * stack.c (print_frame, frame_info, print_block_frame_locals)
2040 (print_frame_arg_vars, return_command): Ditto.
2041 * symfile.c (compare_symbols, compare_psymbols): Ditto.
2042 * symmisc.c (print_symbol): Ditto.
2043 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
2044 (compare_search_syms, print_symbol_info, print_msymbol_info)
2045 (rbreak_command): Ditto.
2046 * tracepoint.c (tracepoints_info): Ditto.
2047 * typeprint.c (typedef_print): Ditto.
2048 * valops.c (value_of_variable, hand_function_call): Ditto.
2049 * cli/cli-cmds.c (edit_command, list_command): Ditto.
2050 * ada-typeprint.c: Update Copyright.
2051 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
2052 * tracepoint.c, cli/cli-cmds.c: Ditto.
2054 2003-02-20 Kevin Buettner <kevinb@redhat.com>
2056 * frame.c (generic_unwind_get_saved_register): Make non-static.
2057 * frame.h (generic_unwind_get_saved_register): Declare.
2058 * mips-tdep.c (read_next_frame_reg): Fetch register from
2059 current regcache when frame is NULL.
2060 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
2062 (mips_get_saved_register): Call generic_unwind_get_saved_register()
2063 instead of frame_register_unwind().
2065 2003-02-20 Andrew Cagney <ac131313@redhat.com>
2067 * remote-sim.c (gdbsim_insert_breakpoint)
2068 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
2071 2003-02-20 Andrew Cagney <ac131313@redhat.com>
2073 * remote.c (_initialize_remote): Add commands "set/show remote
2074 hardware-watchpoint-limit" and "set/show remote
2075 hardware-breakpoint-limit".
2076 (remote_hw_watchpoint_limit): Initialize to -1.
2077 (remote_hw_breakpoint_limit): Ditto.
2078 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
2080 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
2082 * coff-pe-read.c: New file - support reading of minimal symbols from a
2083 portable executable using the export table.
2084 * coff-pe-read.h: New file.
2085 * coffread.c: Include coff-pe-read.h.
2086 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
2087 debugging symbols found.
2088 * Makefile.in (SFILES): Add coff-pe-read.o.
2089 (coff_pe_read_h): Define.
2090 (COMMON_OBS): Add coff-pe-read.o.
2091 (coffread.o): Add coff_pe_read_h dependency.
2092 (coff-pe-read.o): New target.
2094 2003-02-19 David Carlton <carlton@math.stanford.edu>
2096 * Makefile.in (SFILES): Add block.c.
2098 (COMMON_OBS): Add block.o.
2100 (x86-64-tdep.o): Add $(block_h).
2101 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
2102 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
2103 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
2104 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
2105 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
2106 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
2107 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
2108 * value.h: Add opaque declaration for struct block.
2109 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
2110 * ada-lang.h: Ditto.
2111 * x86-64-tdep.c: #include "block.h"
2112 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
2113 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
2114 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
2115 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
2116 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
2117 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
2118 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
2119 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
2120 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
2121 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
2122 * symtab.c (block_function): Ditto.
2123 (contained_in): Ditto.
2124 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
2125 block.h. Add opaque declaration for struct block.
2126 * symtab.h: Move block_function and contained_in declarations to
2127 block.h. Add opaque declarations for struct block, struct
2129 (struct block): Move to block.h.
2130 (struct blockvector): Ditto.
2131 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
2132 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
2133 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
2134 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
2135 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
2137 * block.c: New file.
2138 * block.h: New file.
2140 2003-02-19 Theodore A. Roth <troth@openavr.org>
2142 * avr-tdep.c (avr_extract_return_value): Remove function.
2143 (avr_store_return_value): Remove function.
2144 (avr_extract_struct_value_address): Remove function.
2145 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
2147 2003-02-19 Andrew Cagney <ac131313@redhat.com>
2149 * rs6000-tdep.c: Include "gdb_assert.h".
2150 (registers_e500): Add "acc" and "spefscr".
2151 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
2152 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
2153 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
2155 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
2157 2003-02-18 Keith Seitz <keiths@redhat.com>
2159 * Makefile.in: Add gdbtk-interps.c.
2161 2003-02-18 Kevin Buettner <kevinb@redhat.com>
2163 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
2164 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
2166 2003-02-18 Andrew Cagney <cagney@redhat.com>
2168 * symtab.h (struct objfile): Add opaque declaration.
2170 2003-02-18 Elena Zannoni <ezannoni@redhat.com>
2172 From Jim Ingham <jingham@apple.com>:
2173 * dbxread.c (process_one_symbol): Use last_function_start rather
2174 than function_start_offset to find the real beginning of the
2175 current function. The latter is just the text section offset on
2176 some systems, the former is always the real function start.
2178 2003-02-17 Andrew Cagney <cagney@redhat.com>
2180 * configure.in: Revert ${target} != ${host}.
2182 2003-02-17 Andrew Cagney <ac131313@redhat.com>
2184 * configure.in (Makefile): Use the test ${target} != ${host},
2185 instead of the absence of the "nm.h" file, to determine of the
2186 configuration non-native.
2187 * configure: Regenerate.
2189 2003-02-14 Elena Zannoni <ezannoni@redhat.com>
2191 From Brian Ford <ford@vss.fsi.com>
2193 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
2194 conditionalize tui_active test.
2195 (lookup_cmd_1): Ditto.
2197 2003-02-14 Mark Kettenis <kettenis@gnu.org>
2199 * configure.in: Add check for _etext.
2200 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
2202 * config.in, configure: regenerated.
2204 2003-02-14 Daniel Jacobowitz <drow@mvista.com>
2206 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
2208 2003-02-14 Andrew Cagney <ac131313@redhat.com>
2210 * main.c (tui_version): Delete variable.
2211 (captured_main): When --tui, set interpreter_p to "tui" instead of
2212 enabling tui_version.
2213 * printcmd.c (display_command) [TUI]: Test tui_active instead of
2215 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
2216 * cli/cli-cmds.c (disassemble_command): Ditto.
2217 * defs.h (tui_version): Delete declaration.
2218 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
2219 (tui-interp.o): Add rules.
2220 (SUBDIR_TUI_OBS): Add "tui-interp.o".
2222 2003-02-14 Christopher Faylor <cgf@redhat.com>
2224 * win32-nat.c (register_loaded_dll): Correctly set address range for
2227 2003-02-12 Jason Molenda (jmolenda@apple.com)
2229 * symmisc.c (print_objfile_statistics): Include information about
2230 the number of psymtabs and symtabs in each object file.
2232 2003-02-13 Keith R Seitz <keiths@redhat.com>
2234 * main.h (struct captured_main_args): Add interpreter_p.
2235 * main.c (captured_main): Initialize interpreter_p from context.
2236 * gdb.c (main): Set interpreter_p argument.
2237 * Makefile.in (gdb.o): Add dependency for interps.h.
2239 2003-02-12 Andrew Cagney <ac131313@redhat.com>
2241 * event-top.c (cli_command_loop): Delete declaration.
2242 (_initialize_event_loop): Delete function setting event_loop_hook.
2243 * event-top.h (cli_command_loop): Declare. Update copyright.
2244 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
2245 * interps.c (current_interp_command_loop): When event_loop_p, call
2248 2003-02-12 Andrew Cagney <ac131313@redhat.com>
2250 * interps.h (interp_command_loop_ftype): Change return type to
2253 2003-02-12 Michal Ludvig <mludvig@suse.cz>
2255 * x86-64-tdep.c (x86_64_extract_return_value)
2256 (x86_64_store_return_value): Use regcache instead of regbuf.
2257 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
2258 * x86-64-linux-nat.c (fill_gregset): Use regcache.
2260 2003-02-11 Andrew Cagney <ac131313@redhat.com>
2262 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
2263 * aclocal.m4: Regenerate.
2264 * configure: Regenerate.
2266 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
2267 TCL_LD_SEARCH_FLAGS.
2269 2003-02-10 Michal Ludvig <mludvig@suse.cz>
2271 * dwarf2cfi.c: Reindented.
2273 2003-02-09 Andrew Cagney <ac131313@redhat.com>
2275 * interps.c (clear_interpreter_hooks): Convert function definition
2278 2003-02-07 David Carlton <carlton@math.stanford.edu>
2280 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
2282 2003-02-07 Kevin Buettner <kevinb@redhat.com>
2284 * gdbtypes.h (struct main_type): Move ``length'' field from here...
2285 (struct type): ...to here.
2286 (TYPE_LENGTH): Adjust to reflect different location of ``length''
2288 * gdbtypes.c (make_qualified_type): Set length on newly created type.
2289 (replace_type): Set length on all type variants for a given type.
2291 2003-02-07 Andrew Cagney <ac131313@redhat.com>
2293 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
2295 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
2297 2003-02-06 Andrew Cagney <ac131313@redhat.com>
2299 * Makefile.in (symm-nat.o): Update dependencies.
2300 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
2301 (lynx-nat.o, ia64-linux-nat.): Ditto.
2302 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
2303 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
2304 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
2306 * Makefile.in (inflow_h): Define.
2307 (procfs.o, inflow.o, procfs.o): Update dependencies.
2308 * inftarg.c (child_stop): Delete extern declaration of
2309 inferior_process_group. Include "inflow.h".
2310 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
2311 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
2312 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
2313 (our_process_group, inferior_process_group): Extern declarations.
2315 * procfs.c: Include "gdb_assert.h".
2317 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
2318 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
2319 * jv-typeprint.c (java_type_print_base): Ditto.
2320 * typeprint.c (typedef_print): Eliminate STREQ.
2321 * cli/cli-script.c (define_command, define_command): Ditto.
2322 * main.c (captured_main): Ditto.
2323 * values.c (lookup_internalvar): Ditto.
2324 * utils.c (safe_strerror, parse_escape): Eliminate assignment
2325 within `if' conditional.
2326 * linespec.c (decode_line_2): Ditto.
2327 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
2328 (bfd_openw_with_cleanup): Ditto.
2330 2003-02-07 Mark Kettenis <kettenis@gnu.org>
2332 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
2333 legacy_extract_return_value and store_return_value to
2334 legacy_return_value.
2336 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
2338 * win32-nat.c (get_relocated_section_addrs): New function. Find
2339 section load addresses for symbol handling in relocated DLLs.
2340 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
2342 2003-02-05 Fred Fish <fnf@intrinsity.com>
2344 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
2346 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
2348 (angel_RDI_info): Ditto.
2349 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
2351 (threads_continue_all_with_signals): Ditto.
2353 2003-02-05 Jim Ingham <jingham@apple.com>
2354 Keith Seitz <keiths@redhat.com>
2355 Elena Zannoni <ezannoni@redhat.com>
2356 Andrew Cagney <ac131313@redhat.com>
2358 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
2359 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
2360 (SUBDIR_MI_OBS): Add "mi-interp.o".
2361 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
2362 (SFILES): Add "interps.c".
2363 (COMMON_OBS): Add "interps.o".
2364 (interps_h, mi_main_h): Define.
2365 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
2366 (mi-main.o, main.o, event-top.o): Update dependencies.
2367 * cli/cli-interp.c: New file.
2368 * interps.h, interps.c: New files.
2369 * top.c: (gdb_init): Don't install the default interpreter, handed
2371 * main.c: Include "interps.h".
2372 (interpreter_p): Note that it should malloc'ed.
2373 (captured_command_loop): Call current_interp_command_loop.
2374 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
2375 xfree and xstrdup when updating interpreter_p. Install the
2376 default interpreter. Add hack to stop mi1's copyright notice
2378 * event-top.h (gdb_setup_readline): Declare.
2379 (gdb_disable_readline): Declare.
2380 * event-top.c: Include "interps.h".
2381 (display_gdb_prompt): Call current_interp_display_prompt_p.
2382 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
2383 gdb_stdlog, and gdb_stdtarg.
2384 (_initialize_event_loop): Don't call gdb_setup_readline.
2385 * cli-out.c (cli_out_set_stream): New function.
2386 * cli-out.h (cli_out_set_stream): Declare.
2388 2003-02-06 Mark Kettenis <kettenis@gnu.org>
2390 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
2391 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
2392 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
2393 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
2394 config/i386/i386v42mp.mt: Removed.
2396 2003-02-05 Mark Kettenis <kettenis@gnu.org>
2398 * configure.tgt (*-*-solaris*): Set gdb_osabi to
2401 2003-02-05 Michael Chastain <mec@shout.net>
2403 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
2404 2.12.1 and earlier versions.
2406 2003-02-05 Andrew Cagney <ac131313@redhat.com>
2408 Remove orphaned hosts, targets and files.
2409 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
2410 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
2411 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
2412 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
2413 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
2414 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
2415 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
2416 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
2417 * config/sparc/tm-sp64sim.h: Delete.
2418 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
2420 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
2421 mips*-dec-mach3* targets.
2423 2003-02-04 Michael Chastain <mec@shout.net>
2425 * NEWS: Fix typo: sepcifying -> specifying.
2427 2003-02-04 Michael Chastain <mec@shout.net>
2429 * dwarfread.c: Add documentation on the state of dwarf-1,
2430 looking towards obsoletion.
2432 2003-02-03 Michael Chastain <mec@shout.net>
2434 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
2435 gdb/testsuite/gdb.c++/pr-1023.exp.
2437 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2439 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
2440 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
2442 * utils.c (init_page_info): Delete reference to MPW in comments.
2443 * main.c (captured_main): Delete #ifdef MPW.
2445 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2447 * NEWS: Note that the m32r-*-elf* is obsolete.
2448 * monitor.c (monitor_expect): Obsolete reference to m32r.
2449 * configure.tgt: Mark m32r-*-elf* as obsolete.
2450 * MAINTAINERS: Mark m32k as obsolete.
2451 * m32r-rom.c: Obsolete file.
2452 * config/m32r/m32r.mt: Obsolete file.
2453 * config/m32r/tm-m32r.h: Obsolete file.
2454 * m32r-stub.c: Obsolete file.
2455 * m32r-tdep.c: Obsolete file.
2457 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2459 * NEWS: Mention that the z8k-zilog-none is obsolete.
2460 * MAINTAINERS: Mark z8k as obsolete.
2461 * configure.tgt: Obsolete the z8k-*-coff* target.
2462 * config/z8k/z8k.mt: Obsolete file.
2463 * config/z8k/tm-z8k.h: Obsolete file.
2464 * z8k-tdep.c: Obsolete file.
2466 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2468 * NEWS: Mention that the mn10200-elf is obsolete.
2469 * configure.tgt: Obsolete mn10200-*-* target.
2470 * breakpoint.c (update_breakpoints_after_exec): Update comment to
2471 mention that the mn10200 is obsolete.
2472 * breakpoint.h: Ditto.
2473 * MAINTAINERS: Mark the mn10200-elf as obsolete.
2474 * config/mn10200/mn10200.mt: Obsolete file.
2475 * config/mn10200/tm-mn10200.h: Obsolete file.
2476 * mn10200-tdep.c: Obsolete file.
2478 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2480 * MAINTAINERS: Mark h8500 as obsolete.
2481 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
2482 * findvar.c (value_from_register): Ditto.
2483 * h8500-tdep.c: Mark file as obsolete.
2484 * config/h8500/h8500.mt: Ditto.
2485 * config/h8500/tm-h8500.h: Ditto.
2486 * NEWS: Mention that h8500 is obsolete.
2488 2003-02-04 David Carlton <carlton@math.stanford.edu>
2490 * objfiles.c (allocate_objfile): Always set name. Add comment at
2492 * jv-lang.c (get_dynamics_objfile): Add comment.
2494 2003-02-04 David Carlton <carlton@math.stanford.edu>
2496 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
2497 * printcmd.c (build_address_symbolic): Replace uses of
2498 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
2499 SYMBOL_NAME, and asm_demangle.
2502 2003-02-04 David Carlton <carlton@math.stanford.edu>
2504 * linespec.c (decode_compound): Extract code into
2506 (lookup_prefix_sym): New function.
2508 2003-02-04 David Carlton <carlton@math.stanford.edu>
2510 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
2511 FLOAT_COERCION_BADNESS.
2512 * gdbtypes.c (rank_one_type): Replace all uses of
2513 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
2515 2003-02-04 Jim Blandy <jimb@redhat.com>
2517 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
2518 section, let dwarf_macinfo_section point to it, not
2521 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
2523 Pointed out by Anton Blanchard <anton@samba.org>.
2524 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
2525 (ppc_linux_at_sigtramp_return_path): Use it.
2527 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
2529 * defs.h (streq): Add prototype.
2530 * utils.c (streq): New function.
2532 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
2533 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
2534 * mdebugread.c (new_symbol): Likewise.
2535 * stabsread.c (define_symbol): Likewise.
2536 * coffread.c (process_coff_symbol): Likewise.
2537 * dwarfread.c (new_symbol): Likewise.
2539 * minsyms.c (prim_record_minimal_symbol_and_info): Use
2540 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
2542 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
2543 SYMBOL_INIT_DEMANGLED_NAME.
2544 * objfiles.c: Include "hashtab.h".
2545 (allocate_objfile): Call htab_set_functions_ex for the
2546 demangled_names_hash.
2547 (free_objfile): Call htab_delete for the demangled_names_hash.
2548 * objfiles.h (struct htab): Add declaration.
2549 (struct objfile): Add demangled_names_hash.
2550 * symfile.c: Include "hashtab.h".
2551 (reread_symbols): Call htab_delete for the demangled_names_hash.
2552 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
2553 SYMBOL_NAME in the bcache.
2554 * symtab.c: Include "hashtab.h". Update comments.
2555 (create_demangled_names_hash, symbol_set_names): New functions.
2556 (symbol_find_demangled_name): New function, broken out from
2557 symbol_init_demangled_names.
2558 (symbol_init_demangled_names): Use it.
2559 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
2560 (SYMBOL_SET_NAMES): New macro.
2561 (symbol_set_names): Add prototype.
2563 2003-02-03 Jim Blandy <jimb@redhat.com>
2565 Use a single, consistent representation for an empty minimal
2566 symbol table in an objfile.
2567 * objfiles.c (terminate_minimal_symbol_table): New function.
2568 (allocate_objfile): Call it.
2569 * objfiles.h (terminate_minimal_symbol_table): New declaration.
2570 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
2572 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
2573 objfile has minimal symbols, compare minimal_symbol_count to zero,
2574 instead of comparing msymbols with NULL.
2575 * objfiles.c (have_minimal_symbols): Same.
2576 * solib-sunos.c (solib_add_common_symbols): Call
2577 terminate_minimal_symbol_table.
2578 * symfile.c (reread_symbols): Same.
2580 2003-02-03 Kevin Buettner <kevinb@redhat.com>
2582 * s390-tdep.c (s390_address_class_type_flags)
2583 (s390_address_class_type_flags_to_name)
2584 (s390_address_class_name_to_type_flags): New functions.
2585 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
2586 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
2588 2003-02-03 Michael Snyder <msnyder@redhat.com>
2590 * arm-tdep.c: Fix spell-o in comment.
2592 2003-02-03 Michal Ludvig <mludvig@suse.cz>
2594 * dwarf2cfi.c (pointer_encoding): Added new parameter.
2595 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
2596 error messages to contain BFD filename.
2598 2003-02-02 Elena Zannoni <ezannoni@redhat.com>
2600 Fix PR gdb/742 gdb/743 gdb/877
2601 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
2602 (do_mixed_source_and_assembly): Use
2603 make_cleanup_ui_out_tuple_begin_end and
2604 make_cleanup_ui_out_tuple_begin_end.
2605 (do_mixed_source_and_assembly): Ditto.
2606 * thread.c (do_captured_list_thread_ids): Ditto.
2607 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
2608 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
2609 ui_out_tuple_end): Delete prototypes.
2610 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
2611 ui_out_list_end, ui_out_tuple_end): Delete.
2613 From Kevin Buettner <kevinb@redhat.com>:
2614 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
2615 * ui-out.c (make_cleanup_ui_out_table_begin_end)
2616 (do_cleanup_table_end): New functions.
2617 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
2618 Use cleanups to invoke_ui_out_tuple_end().
2619 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
2620 * cli/cli-setshow.c (cmd_show_list): Use
2621 make_cleanup_ui_out_tuple_begin_end.
2623 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2625 * frame.c (frame_unwind_register): New function.
2626 (frame_unwind_unsigned_register): Use.
2627 (frame_unwind_signed_register): Use.
2628 (frame_read_register): New function.
2629 * frame.h (frame_unwind_register): Declare.
2630 (frame_read_register): Declare.
2632 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
2633 and frame_unwind_register instead of read_memory, write_register
2634 and deprecated_write_register_bytes.
2636 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2638 * frame.h: Note that namelen can be negative.
2639 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
2642 * NEWS: Mention that the d10v's `regs' command is deprecated.
2643 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
2644 (d10v_print_registers_info): New function.
2645 (show_regs): Call d10v_print_registers_info.
2646 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
2648 2003-02-02 Mark Kettenis <kettenis@gnu.org>
2650 * stack.c (print_frame_info): Restore call to annotate_frame_begin
2651 lost in the previous patch.
2653 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2655 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
2656 * stack.c (print_frame_info_base): Output complete FRAME tuple
2657 for synthesized frames.
2659 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2661 * mips-nat.c (zerobuf): Delete.
2662 (fetch_inferior_registers): Alloc local zerobuf.
2663 (fetch_core_registers): Alloc local zerobuf.
2664 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
2665 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
2666 * thread-db.c (thread_db_store_registers): Ditto.
2667 * sh-tdep.c (sh_do_register): Ditto.
2668 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
2669 * remote-sim.c (gdbsim_store_register): Ditto.
2670 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
2671 * remote-e7000.c (fetch_regs_from_dump): Ditto.
2672 * monitor.c (monitor_supply_register): Ditto.
2673 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
2674 * mips-nat.c (fetch_inferior_registers): Ditto.
2675 * m68klinux-nat.c (fetch_register): Ditto.
2676 * lynx-nat.c (fetch_inferior_registers): Ditto.
2677 (fetch_inferior_registers): Ditto.
2678 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
2679 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
2680 (hpux_thread_store_registers): Ditto.
2681 * hppah-nat.c (fetch_register): Ditto.
2682 * hppab-nat.c (fetch_register): Ditto.
2683 * hppa-tdep.c (pa_register_look_aside): Ditto.
2684 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
2685 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
2687 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2689 * gdbarch.sh: Explictly specify all method levels. When a
2690 variable with an empty level, provide a non-multi-arch default.
2691 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
2692 * gdbarch.h: Re-generate.
2693 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
2694 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
2696 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2698 * defs.h (host_pointer_to_address): Delete declaration.
2699 (address_to_host_pointer): Delete declaration.
2700 * utils.c (host_pointer_to_address): Delete function.
2701 (address_to_host_pointer): Delete function.
2702 * procfs.c (procfs_address_to_host_pointer): New function.
2703 * procfs.c (proc_set_watchpoint): Use.
2704 (procfs_can_use_hw_breakpoint): Update comments.
2705 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
2706 (som_solib_add): Use.
2707 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
2708 * hppa-tdep.c (unwind_command): Use.
2710 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2712 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
2715 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
2716 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
2717 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
2718 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
2719 (define_symbol): Update.
2720 * symfile.c (generic_load): Remove references to nindy.
2721 * symtab.c: Remove references to nindy.
2723 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2725 * infcmd.c (print_float_info): Delete code conditional on
2727 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
2728 * config/m68k/nm-apollo68b.h: Ditto.
2729 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
2730 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
2731 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
2733 2003-02-01 Mark Kettenis <kettenis@gnu.org>
2735 * config/i386/tm-i386os9k.h: Removed.
2737 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
2738 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
2739 they're identical to i[3456]86-*-sysv* now.
2740 * config/i386/i386v32.mh: Removed.
2741 * config/i386/xm-i386v32.h: Removed.
2742 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
2744 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
2746 * config/i386/i386dgux.mh: Removed.
2747 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
2749 * configure.in: Fix typo.
2750 * configure: Regenerated.
2752 2003-01-31 David Carlton <carlton@math.stanford.edu>
2754 * dwarf2read.c (dwarf2_locate_sections): Set
2755 dwarf_ranges_section.
2757 2003-01-31 Andrew Cagney <ac131313@redhat.com>
2759 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
2760 * utils.c: Update comments documenting legitimate uses of PTR.
2762 * utils.c: Re-indent.
2764 * config/djgpp/fnchange.lst: Delete nindy files.
2765 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
2766 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
2767 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
2768 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
2769 * nindy-share/README, nindy-share/Onindy.c: Delete files.
2770 * nindy-tdep.c, nindy-share/Makefile: Delete files.
2771 * Makefile.in (init.c): Remove nindy references.
2772 (saber_gdb): Delete rule.
2773 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
2774 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
2776 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
2777 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
2778 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
2779 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
2781 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
2782 * saber.suppress: Delete file.
2784 2003-01-31 Daniel Jacobowitz <drow@mvista.com>
2786 * dbxread.c (stabs_data): New static variable.
2787 (fill_symbuf): Support an in-memory buffer for stabs data.
2788 (stabs_seek): New function.
2789 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
2790 (read_ofile_symtab): Use stabs_seek.
2791 (elfstab_build_psymtabs): Take an asection* instead of
2792 an offset and size. Relocate the stabs data if necessary.
2793 Save the section* for dbx_psymtab_to_symtab.
2794 * dwarf2read.c: Add section variables for each debug section.
2795 (dwarf2_locate_sections): Fill them in.
2796 (dwarf2_read_section): Take an asection* argument.
2797 Relocate the section contents if necessary.
2798 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
2799 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
2800 it to dwarf2_read_section.
2801 (dwarf2_build_frame_info): Update callers.
2802 * elfread.c (elf_symfile_read): Update call to
2803 elfstab_build_psymtabs.
2804 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
2805 (DBX_STAB_SECTION): New macro.
2806 * stabsread.h (elfstab_build_psymtabs): Update prototype.
2807 * symfile.c (symfile_dummy_outputs): New function.
2808 (symfile_relocate_debug_section): New function.
2809 * symfile.h (symfile_relocate_debug_section): Add prototype.
2811 2003-01-31 Richard Henderson <rth@redhat.com>
2813 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
2814 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
2815 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
2816 * alpha-tdep.c (alpha_register_name): Add "unique".
2817 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
2818 (ALPHA_UNIQUE_REGNUM): New.
2819 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
2821 2003-01-31 Andrew Cagney <ac131313@redhat.com>
2823 * README: Remove reference to Ericsson 1800 monitor.
2824 * Makefile.in (remote-es.o): Delete rule.
2825 (ALLDEPFILES): Delete remote-es.c.
2826 * remote-es.c: Delete file.
2827 * config/m68k/es1800.mt: Delete file.
2828 * config/djgpp/fnchange.lst: Update.
2829 * configure.tgt: Delete m68*-ericsson-* target.
2831 2003-01-31 Adam Fedor <fedor@gnu.org>
2833 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
2834 Remove duplicate/shadowing variable of same name.
2836 2003-01-30 Jim Blandy <jimb@redhat.com>
2838 * symfile.c (find_separate_debug_file): Assert that the objfile's
2839 directory name we compute ends with a slash, and then assume that
2840 that's so everywhere we use it.
2842 2003-01-30 Daniel Jacobowitz <drow@mvista.com>
2844 * valops.c (value_assign): Flush frame cache after stores to memory
2847 2003-01-30 Andrew Cagney <ac131313@redhat.com>
2849 * Makefile.in (mon960-rom.o): Delete rule.
2850 * mon960-rom.c: Delete file.
2852 2003-01-30 Andrew Cagney <ac131313@redhat.com>
2854 * d10v-tdep.c: Include "frame-unwind.h".
2855 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
2857 (next_addr, uses_frame): Delete.
2858 (struct d10v_unwind_cache): Define.
2859 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
2860 Use info instead of next_addr and uses_frame globals.
2861 (d10v_frame_init_saved_regs): Delete function.
2862 (d10v_init_extra_frame_info): Delete function.
2863 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
2864 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
2865 init_frame_pc or frame_saved_pc.
2866 (d10v_pop_frame): Delete function.
2867 (do_d10v_pop_frame): Delete function.
2868 (d10v_frame_chain): Delete function.
2869 (d10v_frame_chain_valid): Delete function.
2870 (d10v_frame_pc_unwind): New function.
2871 (d10v_frame_id_unwind): New function.
2872 (saved_regs_unwinder): New function.
2873 (d10v_frame_register_unwind): New function.
2874 (d10v_frame_pop): New function.
2875 (d10v_frame_unwind): New variable.
2876 (d10v_frame_p): New function.
2877 (d10v_frame_saved_pc): Delete function.
2878 * Makefile.in (d10v-tdep.o): Update dependencies.
2880 2003-01-30 J. Brobecker <brobecker@gnat.com>
2882 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
2883 causing some regressions due to a change in the default value
2886 2003-01-29 Richard Henderson <rth@redhat.com>
2887 Elena Zannoni <ezannoni@redhat.com>
2888 Daniel Jacobowitz <drow@mvista.com>
2891 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
2893 (RANGES_SECTION): New.
2894 (dwarf_ranges_buffer): New variable.
2895 (struct comp_unit_head): Add member "die".
2896 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
2897 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
2898 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
2899 (dwarf2_locate_sections): Likewise.
2900 (dwarf2_build_psymtabs): Read .debug_ranges.
2901 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
2902 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
2903 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
2904 Look for DW_AT_ranges and return the bounding box.
2906 2003-01-29 Brian Ford <ford@vss.fsi.com>
2908 * win32-nat.c (cygwin_pid): Removed as unused.
2909 (child_attach): Try fall back to Cygwin pid.
2911 2003-01-29 Jim Blandy <jimb@redhat.com>
2913 * objfiles.h (struct objfile): Doc fix.
2915 2003-01-29 Andrew Cagney <ac131313@redhat.com>
2917 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
2918 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
2919 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
2920 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
2921 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
2922 (FRAME_SAVED_PC): Change to a function with predicate.
2923 * gdbarch.h, gdbarch.c: Re-generate.
2925 2003-01-28 Andrew Cagney <ac131313@redhat.com>
2927 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
2929 * complaints.c (complain): Delete function.
2930 * complaints.h (struct deprecated_complaint): Delete definition.
2931 (complain): Delete declaration.
2933 2003-01-28 Kevin Buettner <kevinb@redhat.com>
2935 * mips-tdep.c (mips_init_extra_frame_info): Return early for
2938 2003-01-27 Andrew Cagney <ac131313@redhat.com>
2940 * sentinel-frame.h, sentinel-frame.c: New files.
2941 * Makefile.in (frame.o): Update dependencies.
2942 (SFILES): Add sentinel-frame.c.
2943 (sentinel_frame_h): Define.
2944 (COMMON_OBS): Add sentinel-frame.o.
2945 (sentinel-frame.o): Specify dependencies.
2946 * frame.c: Include "sentinel-frame.h".
2947 (frame_register_unwind): Rewrite assuming that there is always a a
2949 (frame_register, generic_unwind_get_saved_register): Ditto.
2950 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
2951 (create_sentinel_frame, unwind_to_current_frame): New functions.
2952 (get_current_frame): Rewrite using create_sentinel_frame and
2953 unwind_to_current_frame. When possible, always create a frame.
2954 (create_new_frame): Set next to the sentinel frame.
2955 (get_next_frame): Rewrite. Don't go below the level 0 frame.
2956 (deprecated_update_frame_pc_hack): Update the next frame's PC and
2957 ID cache when necessary.
2958 (frame_saved_regs_id_unwind): Use frame_relative_level.
2959 (deprecated_generic_get_saved_register): Use frame_relative_level,
2960 get_frame_saved_regs, get_frame_pc, get_frame_base and
2962 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
2965 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
2967 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
2969 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
2971 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
2972 (maintenance_set_profile_cmd): Use error () instead of warning ().
2974 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
2976 * configure.in: Check that -pg works if using --enable-profiling.
2977 Check for monstartup and _mcleanup regardless of --enable-profiling.
2978 * maint.c: Check for monstartup and _mcleanup before using them.
2979 * config.in: Regenerated.
2980 * configure: Regenerated.
2982 2003-01-24 Nick Clifton <nickc@redhat.com>
2986 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
2988 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
2989 (sh2e_show_regs): New.
2990 (sh_gdbarch_init): Handle bfd_mach_sh2e.
2991 * config/sh/tm-sh.h: Added sh2e to comments.
2993 2003-01-23 Jim Blandy <jimb@redhat.com>
2995 * symfile.c (syms_from_objfile): Don't print the "(no debugging
2996 symbols found)" message here; we haven't checked for a separate
2997 debug info file yet, so we don't know yet.
2998 (symbol_file_add_with_addrs_or_offsets): Print it here, after
2999 we've looked everywhere. Also, there's no need to print a special
3000 message when we're loading the separate debug info file: the one
3001 symbol_file_add prints is fine.
3003 2003-01-23 Alexander Larsson <alexl@redhat.com>
3004 Jim Blandy <jimb@redhat.com>
3006 Add support for executables whose debug info has been separated
3007 out into a separate file, leaving only a link behind.
3008 * objfiles.h (struct objfile): New fields: separate_debug_objfile
3009 and separate_debug_objfile_backlink.
3010 (put_objfile_before): New declaration.
3011 * symfile.c: #include "filenames.h".
3012 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
3013 debug info in a separate file, read that, too. Save the addrs
3014 argument, so we can use it again to read the separated debug info;
3015 syms_from_objfile modifies the table we pass it.
3016 (reread_symbols): After re-reading an objfile, call
3017 reread_separate_symbols to refresh its separate debug info
3018 objfile, if it has one.
3019 (reread_separate_symbols, find_separate_debug_file,
3020 get_debug_link_info, separate_debug_file_exists): New functions.
3021 (debug_file_directory): New global var.
3022 (_initialize_symfile): Initialize debug_file_directory, and
3023 provide the new `set debug-file-directory' command to let the user
3025 * objfiles.c (free_objfile): If this objfile has its debug info in
3026 a separate objfile, free that one too. If this is itself a
3027 separate debug info objfile, clear our parent's backlink.
3028 (put_objfile_before): New function.
3029 * utils.c (gnu_debuglink_crc32): New function.
3030 * defs.h (gnu_debuglink_crc32): New declaration.
3031 * Makefile.in (symfile.o): Note dependency on "filenames.h".
3032 * configure.in: Handle --with-separate-debug-dir config option.
3033 * acinclude.m4 (AC_DEFINE_DIR): New macro.
3034 * acconfig.h (DEBUGDIR): New macro.
3035 * configure, aclocal.m4, config.in: Regenerated.
3037 2003-01-22 Jim Blandy <jimb@redhat.com>
3039 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
3040 like the old symbol_file_add, but taking new arguments: you can
3041 now pass in either a `struct section_addr_info' list to say where
3042 each section is loaded, or a `struct section_offsets' table. Pass
3043 these new arguments through to syms_from_objfile as appropriate.
3044 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
3045 with the appropriate quiescent values for the new arguments.
3047 * symfile.c: #include "gdb_assert.h".
3048 (syms_from_objfile): Add the ability to pass in a section offset
3049 table directly, as an alternative to the section_addr_info table.
3050 Document arguments better.
3051 (symbol_file_add): Pass extra arguments to syms_from_objfile.
3052 * symfile.h (syms_from_objfile): Update declaration.
3053 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
3055 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
3057 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
3059 Original patch by Tom Tromey <tromey@cygnus.com> and
3060 Jason Molenda <jmolenda@apple.com>.
3061 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
3062 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
3063 * NEWS: Mention profiling.
3064 * configure.in (--enable-gdbtk): Fix typo.
3065 (--enable-profiling): New. Set PROFILE_CFLAGS.
3066 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
3068 (profiling_state): New variable.
3069 (mcleanup_wrapper): New function.
3070 (_initialize_maint): Remove NOTYET, fix call to
3071 add_setshow_boolean_cmd for "maint set profile".
3072 * configure: Regenerated.
3074 2003-01-21 Martin M. Hunt <hunt@redhat.com>
3076 * Makefile.in (install-gdbtk): Install PNG images too.
3078 2003-01-21 Andrew Cagney <ac131313@redhat.com>
3080 * exec.c (text_start): Delete global variable.
3081 (exec_file_attach): Make text_start local to the function.
3082 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
3083 * valops.c (hand_function_call): Delete code that handles
3084 BEFORE_TEXT_END and AFTER_TEXT_END.
3085 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
3086 of CALL_DUMMY_LOCATION.
3087 * gdbarch.c: Regenerate.
3088 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
3089 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
3090 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
3091 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
3092 (text_end): Delete extern declaration.
3094 2003-01-21 Andrew Cagney <ac131313@redhat.com>
3096 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
3097 * blockframe.c (backtrace_below_main): Move to "frame.c".
3098 (frame_chain_valid): Delete check for backtrace_below_main.
3099 (_initialize_blockframe): Delete initialization, move ``set
3100 backtrace-below-main'' command to "frame.c".
3101 (do_flush_frames_sfunc): Delete function.
3102 * frame.c: Include "command.h" and "gdbcmd.h".
3103 (frame_type_from_pc): New function.
3104 (create_new_frame): Use frame_type_from_pc.
3105 (legacy_get_prev_frame): New function.
3106 (get_prev_frame): Rewrite. When an old style frame, call
3107 legacy_get_prev_frame. Otherwize, unwind the PC first.
3108 (_initialize_frame): Add ``set backtrace-below-main'' command.
3109 * Makefile.in (frame.o): Update dependencies.
3111 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3113 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
3114 DEPRECATED_REGISTERS_INFO.
3116 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3118 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
3119 Maintainers'. Update `Various Maintainers'.
3121 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3123 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
3124 * gdbarch.sh (POP_FRAME): Change to function with predicate.
3125 Suppress actual parameters when `-'.
3126 * gdbarch.h, gdbarch.c: Regenerate.
3128 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3130 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
3131 code handling dummy frames.
3133 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3135 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
3136 (struct frame_unwind): Add field pop.
3137 * frame.h (frame_pop): Declare.
3138 * frame.c (frame_saved_regs_pop): New function.
3139 (trad_frame_unwinder): Add frame_saved_regs_pop.
3140 (frame_pop): New function.
3141 * dummy-frame.c (dummy_frame_pop): New function.
3142 (discard_innermost_dummy): New function.
3143 (generic_pop_dummy_frame): Use discard_innermost_dummy.
3144 (dummy_frame_unwind): Add dummy_frame_pop.
3145 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
3146 * valops.c (hand_function_call): Ditto.
3147 * stack.c (return_command): Ditto.
3149 2003-01-18 Andrew Cagney <ac131313@redhat.com>
3151 * cris-tdep.c: Fix function declaration indentation.
3152 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
3153 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
3154 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
3155 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
3156 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
3157 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
3159 2003-01-18 Michael Chastain <mec@shout.net>
3161 * README (Unpacking and Installation -- quick overview):
3162 Warn against ".../gdb-5.3/gdb/configure".
3164 2003-01-18 Andrew Cagney <ac131313@redhat.com>
3166 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
3167 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
3168 (struct frame_unwind): Declare opaque.
3169 (dummy_frame_p): Declare function.
3170 * dummy-frame.c (dummy_frame_id_unwind): Make static.
3171 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
3172 * dummy-frame.c: Include "frame-unwind.h".
3173 (dummy_frame_p): New function.
3174 (dummy_frame_unwind): New variable.
3175 * frame.c: Include "frame-unwind.h".
3176 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
3177 to use the new unwind field.
3178 (set_unwind_by_pc): Delete function.
3179 (create_new_frame, get_prev_frame): Set unwind field using
3180 frame_unwind_find_by_pc.
3181 (trad_frame_unwind, trad_frame_unwinder): New variables.
3182 * frame.h (trad_frame_unwind): Declare variable.
3183 (frame_id_unwind_ftype): Delete declaration.
3184 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
3185 (struct frame_unwind): Declare opaque.
3186 (struct frame_info): Replace the fields id_unwind, pc_unwind and
3187 register_unwind with a single unwind pointer.
3188 * frame-unwind.h, frame-unwind.c: New files.
3189 * Makefile.in (SFILES): Add frame-unwind.c.
3190 (frame_unwind_h): Define.
3191 (COMMON_OBS): Add frame-unwind.o.
3192 (frame-unwind.o): Specify dependencies.
3193 (frame.o, dummy-frame.o): Update dependencies.
3195 2003-01-18 Andrew Cagney <ac131313@redhat.com>
3197 * ada-valprint.c: Eliminate PTR.
3198 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
3199 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
3200 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
3201 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
3202 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
3203 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
3204 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
3206 2003-01-17 Andrew Cagney <ac131313@redhat.com>
3208 * main.c (captured_main): Don't use PTR.
3209 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
3210 * gdbtypes.c (lookup_primitive_typename): Ditto.
3211 (lookup_struct_elt_type): Ditto.
3212 * f-valprint.c (info_common_command): Ditto.
3213 (list_all_visible_commons): Ditto.
3214 * jv-typeprint.c (java_type_print_base): Ditto.
3216 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
3217 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
3218 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
3219 i386-interix-nat.c and i386-interix-tdep.c. Rename
3220 m68klinux-nat.c and m68klinux-tdep.c. Rename
3221 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
3222 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
3223 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
3224 * main.c (captured_main): Use xfree, not free.
3226 2003-01-16 Andrew Cagney <ac131313@redhat.com>
3228 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
3229 ID back using a parameter.
3230 * frame.c (frame_id_unwind): Update call.
3231 (frame_saved_regs_id_unwind): Update.
3232 * dummy-frame.c (dummy_frame_id_unwind): Update function.
3233 * dummy-frame.h (struct frame_id): Add opaque declaration.
3234 (dummy_frame_id_unwind): Update declaration.
3236 2003-01-15 Andrew Cagney <ac131313@redhat.com>
3238 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
3240 2003-01-15 Stephen P. Smith <ischis2@cox.net>
3242 * MAINTAINERS (Stephen P. Smith): Updated email address.
3244 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
3247 * breakpoint.c (until_break_command): Add new argument. Use it to
3248 decide whether to stop only at the current frame or not.
3249 * breakpoint.h (until_break_command): Update prototype.
3250 * infcmd.c (until_command): Add new argument to until_break_command
3252 (advance_command): New function.
3253 (_initialize_infcmd): Update help string for 'until' command.
3254 Add new 'advance' command.
3256 2003-01-14 David Carlton <carlton@math.stanford.edu>
3258 * linespec.c (decode_line_1): Normalize comments.
3260 (locate_first_half): Ditto.
3261 (decode_compound): Ditto.
3262 (symtab_from_filename): Ditto.
3263 (decode_all_digits): Ditto.
3264 (decode_dollar): Ditto.
3265 (find_methods): Ditto.
3266 (find_toplevel_char): Ditto.
3268 2003-01-13 Andrew Cagney <ac131313@redhat.com>
3270 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
3271 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
3272 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
3273 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
3274 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
3275 * language.c, language.h, m32r-tdep.c: Update copyright.
3276 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
3277 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
3278 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
3279 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
3280 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
3281 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
3283 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
3285 * stabsread.h (process_later, resolve_cfront_continuation):
3287 Update copyright years.
3288 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
3289 Update copyright year.
3290 * dbxread.c(struct cont_elem): Obsolete.
3291 (process_later, process_now): Obsolete functions.
3292 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
3293 Update copyright year.
3294 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
3295 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
3296 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
3297 (parse_partial_symbols): Obsolete cfront support.
3299 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
3301 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
3302 read_cfront_baseclasses, read_cfront_member_functions,
3303 resolve_cfront_continuation,read_cfront_static_fields,
3304 copy_cfront_struct_fields): Obsolete functions.
3305 (define_symbol, read_one_struct_field): Obsolete cfront support.
3306 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
3307 Update Copyright year.
3309 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
3311 * stack.c (print_frame_info, print_stack_frame_base_stub,
3312 print_stack_frame_base, show_and_print_stack_frame_stub,
3313 show_and_print_stack_frame, print_only_stack_frame_stub,
3314 print_only_stack_frame): Delete functions.
3315 (print_stack_frame_stub): Call print_frame_info instead of
3316 print_frame_info_base.
3317 (print_frame_info_base): Rename to print_frame_info.
3318 (backtrace_command_1): Call print_frame_info, instead of
3319 print_frame_info_base.
3320 (current_frame_command): Call print_stack_frame, instead of
3321 print_only_stack_frame.
3322 (frame_command): Call print_stack_frame, instead of
3323 show_and_print_stack_frame.
3324 (up_command): Ditto.
3325 (down_command): Ditto.
3326 * frame.h (print_only_stack_frame): Delete prototype.
3327 * infrun.c (normal_stop): Call print_stack_frame, instead of
3328 show_and_print_stack_frame.
3329 * thread.c (info_threads_command): Call print_stack_frame, instead
3330 of print_only_stack_frame.
3332 2003-01-13 Andrew Cagney <ac131313@redhat.com>
3334 * README (Graphical interface to GDB): Update URL. Point at
3337 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
3340 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3342 * symtab.c (find_pc_sect_line): Don't consider end-of-function
3345 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3347 * thread-db.c (attach_thread): Prototype.
3348 (struct private_thread_info): Remove lwpid. Add thread handle (th),
3349 thread information (ti), and valid flags (th_valid, ti_valid).
3350 (attach_thread): Move target_pid_to_str call to after the thread
3351 is added to GDB's list. Initialize the cache.
3352 (thread_get_info_callback, thread_db_map_id2thr)
3353 (thread_db_get_info): New functions.
3354 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
3355 (thread_db_store_registers, thread_db_thread_alive)
3356 (thread_db_get_thread_local_address): Use them.
3357 (thread_db_pid_to_str): Likewise. Return "Missing" instead
3358 of calling error() for threads in unknown state.
3360 (clear_lwpid_callback): New function.
3361 (thread_db_resume): Use it to clear the cache.
3363 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3365 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
3366 (resume_callback): Remove dead code.
3368 2003-01-13 Andrew Cagney <ac131313@redhat.com>
3370 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
3372 * gdbarch.h, gdbarch.c: Regenerate.
3373 * stack.c (frame_info): Only initialize the saved registers when
3374 FRAME_INIT_SAVED_REGS_P.
3375 * frame.c (frame_saved_regs_register_unwind): Assert
3376 FRAME_INIT_SAVED_REGS_P.
3377 (deprecated_generic_get_saved_register): Ditto.
3379 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3381 * source.c (openp): Squelch warning about "filename".
3383 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3385 * source.c (openp): If the file does not exist don't necessarily
3388 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3391 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
3392 (integer_types_same_name_p): New function.
3393 (rank_one_type): Use it.
3394 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
3396 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3398 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
3400 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
3401 * configure.in: Add --with-sysroot.
3402 * configure: Regenerated.
3403 * main.c (gdb_sysroot): New variable.
3404 (captured_main): Initialize gdb_sysroot.
3405 * defs.h (gdb_sysroot): New extern declaration.
3406 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
3408 2003-01-12 Michael Chastain <mec@shout.net>
3410 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
3412 2003-01-12 Michael Chastain <mec@shout.net>
3414 * top.c (print_gdb_version): Bump copyright year to 2003.
3416 2003-01-12 David Carlton <carlton@bactrian.org>
3418 * linespec.c (symtab_from_filename): Rename variable 's' to
3421 2003-01-12 Andrew Cagney <ac131313@redhat.com>
3423 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
3425 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
3427 2003-01-12 Andrew Cagney <ac131313@redhat.com>
3429 * d10v-tdep.c: Include "gdb_assert.h".
3430 (d10v_store_return_value): Rewrite to match current interface.
3431 (d10v_extract_struct_value_address): Ditto.
3432 (d10v_extract_return_value): Ditto.
3433 (d10v_gdbarch_init): Set store_restore_value,
3434 extract_struct_value_address and extract_return_value.
3436 2003-01-12 J. Brobecker <brobecker@gnat.com>
3438 * hpread.c (set_namestring): New procedure replacing the
3439 SET_NAMESTRING macro.
3440 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
3441 by calls to set_namestring.
3443 2003-01-11 J. Brobecker <brobecker@gnat.com>
3445 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
3446 a compilation warning.
3447 (hpread_process_one_debug_symbol): Likewise.
3449 2003-01-10 David Carlton <carlton@math.stanford.edu>
3451 * linespec.c (decode_line_1): Rename variable 's' to
3453 (decode_all_digits): Rename argument 's' to 'file_symtab'.
3454 (decode_dollar): Ditto.
3455 (decode_variable): Ditto.
3456 (symbol_found): Ditto.
3458 2003-01-09 Michael Chastain <mec@shout.net>
3460 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
3462 2003-01-07 Corinna Vinschen <vinschen@redhat.com>
3464 * win32-nat.c (set_process_privilege): New function.
3465 (child_attach): Call set_process_privilege() to enable the
3466 SE_DEBUG_NAME user privilege if available in process token.
3468 2003-01-10 J. Brobecker <brobecker@gnat.com>
3470 * hpread.c (hpread_process_one_debug_symbol): Fix a small
3471 compilation error in the previous revision.
3473 2003-01-09 David Carlton <carlton@math.stanford.edu>
3475 * linespec.c: Update copyright.
3477 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
3479 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
3481 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
3483 2003-01-09 Andrew Cagney <ac131313@redhat.com>
3485 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
3487 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
3488 (frame_saved_regs_zalloc): Update.
3489 (frame_saved_regs_register_unwind): Update.
3490 (create_new_frame): Update.
3491 (get_prev_frame): Update.
3492 (frame_extra_info_zalloc): Update.
3493 (deprecated_get_frame_saved_regs): Update.
3494 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
3495 * cris-tdep.c: Update comment.
3497 * somsolib.h: Fix function indentation.
3498 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
3499 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
3500 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
3501 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
3502 * somsolib.c, inftarg.c: Remove assignment in if conditional.
3504 * infrun.c (follow_fork): Use ISO C definition.
3505 * expprint.c (print_subexp): Use xfree instead of free.
3506 * charset.c: Include "gdb_string.h" instead of <string.h>.
3507 (register_iconv_charsets): Use ISO C definition.
3508 (host_charset, target_charset): Ditto.
3509 * Makefile.in (charset.o): Update dependencies.
3510 (mi-cmd-env.o): Update dependencies.
3512 2003-01-08 Andrew Cagney <cagney@redhat.com>
3514 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
3517 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3519 * gdb_mbuild.sh: Add --keep option. When specified, keep the
3520 build directories. Save edited gdb output in Mbuild.log. If a
3521 build fails, remove any final GDB executable.
3523 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3525 * gdb_mbuild.sh: Edit the output of `maint print architecture'
3526 replacing hex constants with function names and stripping leading
3527 file name directory prefixes.
3529 2003-01-08 Andrew Cagney <cagney@redhat.com>
3531 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
3534 2003-01-08 David Carlton <carlton@math.stanford.edu>
3536 * linespec.c (decode_line_1): Move code into decode_variable.
3537 (decode_variable): New function.
3539 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3541 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
3543 2003-01-08 Andrew Cagney <cagney@redhat.com>
3545 * cris-tdep.c (cris_frame_init_saved_regs): Use
3546 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
3548 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
3549 (sh64_nofp_frame_init_saved_regs): Ditto.
3550 (sh_fp_frame_init_saved_regs): Ditto.
3551 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
3552 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
3553 * mcore-tdep.c (analyze_dummy_frame): Ditto.
3554 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3556 2003-01-08 Daniel Jacobowitz <drow@mvista.com>
3558 * minsyms.c (lookup_minimal_symbol): Update comment.
3559 (lookup_minimal_symbol_text): Update comment. Use the hash table.
3560 (lookup_minimal_symbol_solib_trampoline): Likewise.
3562 2003-01-08 Andrew Cagney <cagney@redhat.com>
3564 * d10v-tdep.c (d10v_init_extra_frame_info): Use
3565 frame_relative_level.
3567 * alpha-tdep.c: Use get_frame_extra_info.
3568 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3569 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
3570 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
3571 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
3573 * alpha-tdep.c: Use get_next_frame.
3574 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3575 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
3576 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
3577 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
3578 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
3579 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
3580 * xstormy16-tdep.c: Ditto.
3582 2003-01-07 Andrew Cagney <cagney@redhat.com>
3584 * alpha-tdep.c: Use get_frame_base.
3585 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3586 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
3587 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
3588 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
3589 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
3590 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
3591 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
3592 * config/sparc/tm-sparc.h: Ditto.
3594 2003-01-07 Andrew Cagney <cagney@redhat.com>
3596 * frame.c (deprecated_get_frame_context): New function.
3597 (deprecated_set_frame_context): New function.
3598 * frame.h (deprecated_get_frame_context): Declare.
3599 (deprecated_set_frame_context): Declare.
3600 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
3601 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
3603 2003-01-07 Andrew Cagney <cagney@redhat.com>
3605 * frame.c (deprecated_set_frame_next_hack): New function.
3606 (deprecated_set_frame_prev_hack): New function.
3607 * frame.h (deprecated_set_frame_next_hack): Declare.
3608 (deprecated_set_frame_prev_hack): Declare.
3609 * mcore-tdep.c (analyze_dummy_frame): Use
3610 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
3611 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3613 2003-01-07 David Carlton <carlton@math.stanford.edu>
3615 * linespec.c (decode_line_1): Move code into decode_dollar.
3616 (decode_dollar): New function.
3618 2003-01-07 Andrew Cagney <cagney@redhat.com>
3620 * arm-tdep.c (arm_init_extra_frame_info): Use
3621 deprecated_update_frame_base_hack.
3622 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
3623 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3624 (fix_frame_pointer): Ditto.
3625 (mn10300_analyze_prologue): Ditto.
3627 2003-01-07 Andrew Cagney <cagney@redhat.com>
3629 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
3630 extra_info using frame_extra_info_zalloc.
3631 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
3632 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
3633 (sh64_init_extra_frame_info): Ditto.
3634 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
3635 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
3636 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
3637 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
3638 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
3639 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
3640 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
3641 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
3642 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
3643 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
3644 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
3645 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
3647 * mn10300-tdep.c (analyze_dummy_frame): Use
3648 deprecated_set_frame_extra_info_hack.
3649 * mcore-tdep.c (analyze_dummy_frame): Ditto.
3651 2003-01-07 J. Brobecker <brobecker@gnat.com>
3653 * mdebugread.c (parse_symbol): Skip stProc entries which storage
3654 class is not scText. These do not define "real" procedures.
3655 (parse_partial_symbols): Likewise.
3657 2003-01-06 Michael Snyder <msnyder@redhat.com>
3659 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
3661 2003-01-06 Andrew Cagney <ac131313@redhat.com>
3663 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
3664 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
3665 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
3666 deprecated_frame_xmalloc_with_cleanup.
3667 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
3668 deprecated_frame_xmalloc.
3669 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
3670 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
3672 2003-01-06 Andrew Cagney <cagney@redhat.com>
3674 * x86-64-linux-tdep.c: Include "osabi.h".
3675 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
3677 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
3679 2003-01-06 Andrew Cagney <cagney@redhat.com>
3681 * MAINTAINERS (Target Instruction Set Architectures): Update
3682 arm-elf. Can be built with -Werror, has been multiarched.
3684 * value.h (unpack_long): Make buffer parameter constant.
3685 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
3686 * scm-lang.h (scm_parse): Ditto.
3687 * defs.h (extract_typed_address, extract_address): Ditto.
3688 (extract_long_unsigned_integer): Ditto.
3689 * inferior.h (unsigned_pointer_to_address): Ditto.
3690 (signed_pointer_to_address): Ditto.
3691 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
3692 * gdbarch.h, gdbarch.c: Regenerate.
3693 * findvar.c (extract_long_unsigned_integer): Update.
3694 (extract_address): Update.
3695 (extract_typed_address): Update.
3696 (unsigned_pointer_to_address): Update.
3697 * values.c (unpack_long): Update.
3698 (unpack_double): Update.
3699 (unpack_pointer): Update.
3700 (unpack_field_as_long): Update.
3701 * d10v-tdep.c (d10v_pointer_to_address): Update.
3702 * avr-tdep.c (avr_pointer_to_address): Update.
3703 * scm-lang.c (scm_unpack): Update.
3704 * findvar.c (signed_pointer_to_address): Update.
3706 2003-01-06 Michal Ludvig <mludvig@suse.cz>
3708 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
3709 since it is in i386-tdep.c.
3711 2003-01-06 J. Brobecker <brobecker@gnat.com>
3713 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
3714 failure introduced in the previous change.
3716 2003-01-05 Michael Chastain <mec@shout.net>
3718 * README: Remove references to deleted remote-*.c files:
3719 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
3720 remote-nrom.c, remote-os9k.c, remote-udi.c.
3722 2003-01-05 Mark Kettenis <kettenis@gnu.org>
3724 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
3725 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
3726 i386_get_longjmp_target.
3728 2003-01-05 Andrew Cagney <ac131313@redhat.com>
3730 * arm-tdep.c (prologue_cache): Change to a pointer.
3731 (_initialize_arm_tdep): Allocate prologue_cache.
3732 (check_prologue_cache): Update.
3733 (save_prologue_cache): Update.
3734 (arm_gdbarch_init): Update.
3736 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3738 * stabsread.c (update_method_name_from_physname): Call complaint()
3741 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3743 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
3744 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
3745 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
3747 * blockframe.c: Include "gdbcmd.h" and "command.h".
3748 (backtrace_below_main): New variable.
3749 (file_frame_chain_valid, func_frame_chain_valid)
3750 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
3751 (generic_func_frame_chain_valid): Remove functions.
3752 (frame_chain_valid, do_flush_frames_sfunc): New functions.
3753 (_initialize_blockframe): New function.
3754 * Makefile.in (blockframe.o): Update dependencies.
3755 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
3756 comment. Call frame_chain_valid ().
3757 * frame.h: Remove old prototypes. Add prototype for
3758 frame_chain_valid and update comments to match.
3759 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
3761 * gdbarch.h: Regenerated.
3762 * gdbarch.c: Regenerated.
3764 * alpha-tdep.c (alpha_gdbarch_init): Don't call
3765 set_gdbarch_frame_chain_valid.
3766 * avr-tdep.c (avr_gdbarch_init): Likewise.
3767 * cris-tdep.c (cris_gdbarch_init): Likewise.
3768 * frv-tdep.c (frv_gdbarch_init): Likewise.
3769 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
3770 * i386-tdep.c (i386_svr4_init_abi): Likewise.
3771 (i386_nw_init_abi): Likewise.
3772 (i386_gdbarch_init): Likewise.
3773 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
3774 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
3775 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
3776 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
3777 * mips-tdep.c (mips_gdbarch_init): Likewise.
3778 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
3779 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
3780 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
3781 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3782 * s390-tdep.c (s390_gdbarch_init): Likewise.
3783 * sh-tdep.c (sh_gdbarch_init): Likewise.
3784 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3785 * v850-tdep.c (v850_gdbarch_init): Likewise.
3786 * vax-tdep.c (vax_gdbarch_init): Likewise.
3787 * x86-64-tdep.c (x86_64_init_abi): Likewise.
3789 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
3790 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
3791 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
3792 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
3793 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
3794 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
3795 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
3796 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
3798 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
3800 * Makefile.in (acconfig_h): Remove incorrect macro.
3802 (osabi.o): Update dependencies.
3803 * configure.tgt: Set gdb_osabi based on target triplet.
3804 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
3805 * configure: Regenerated.
3806 * config.in: Regenerated.
3807 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
3808 (GDB_OSABI_DEFAULT): Define if not already defined.
3809 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
3810 (set_osabi_string): New variables.
3811 (gdbarch_register_osabi): Add new OS ABI to
3812 gdb_osabi_available_names.
3813 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
3814 (set_osabi, show_osabi): New functions.
3815 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
3817 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3819 * arch-utils.c (gdbarch_info_init): Set osabi to
3820 GDB_OSABI_UNINITIALIZED.
3821 * gdbarch.sh: Add osabi to struct gdbarch and to struct
3822 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
3823 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
3824 * gdbarch.c: Regenerated.
3825 * gdbarch.h: Regenerated.
3826 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
3828 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
3829 * osabi.h (enum gdb_osabi): Move to defs.h.
3830 (gdbarch_init_osabi): Update prototype.
3831 * defs.h (enum gdb_osabi): Moved here.
3832 * Makefile.in: Update dependencies.
3834 * alpha-tdep.h: Don't include "osabi.h".
3835 (struct gdbarch_tdep): Remove osabi member.
3836 * alpha-tdep.c: Include "osabi.h".
3837 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3838 iterate over arches. Update call to gdbarch_init_osabi.
3839 (alpha_dump_tdep): Don't dump osabi.
3840 * alpha-linux-tdep.c: Include "osabi.h".
3841 * alpha-osf1-tdep.c: Include "osabi.h".
3842 * alphafbsd-tdep.c: Include "osabi.h".
3843 * alphanbsd-tdep.c: Include "osabi.h".
3845 * arm-tdep.h: Don't include "osabi.h".
3846 (struct gdbarch_tdep): Remove osabi member.
3847 * arm-tdep.c: Include "osabi.h".
3848 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3849 iterate over arches. Update call to gdbarch_init_osabi.
3850 (arm_dump_tdep): Don't dump osabi.
3851 * arm-linux-tdep.c: Include "osabi.h".
3852 * armnbsd-tdep.c: Include "osabi.h".
3854 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
3855 Update call to gdbarch_init_osabi.
3857 * i386-tdep.h: Don't include "osabi.h".
3858 (struct gdbarch_tdep): Remove osabi member.
3859 * i386-tdep.c: Include "osabi.h".
3860 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3861 iterate over arches. Update call to gdbarch_init_osabi.
3862 (i386_dump_tdep): Don't dump osabi.
3863 * i386-linux-tdep.c: Include "osabi.h".
3864 * i386-sol2-tdep.c: Include "osabi.h".
3865 * i386bsd-tdep.c: Include "osabi.h".
3866 * i386gnu-tdep.c: Include "osabi.h".
3867 * i386ly-tdep.c: Include "osabi.h".
3868 * i386nbsd-tdep.c: Include "osabi.h".
3869 * i386obsd-tdep.c: Include "osabi.h".
3871 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
3872 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3873 check osabi when iterating over arches. Update call to
3875 (mips_dump_tdep): Don't dump osabi.
3877 * ns32k-tdep.h: Don't include "osabi.h".
3878 (struct gdbarch_tdep): Remove.
3879 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
3880 gdbarch_lookup_osabi. Don't iterate over arches. Don't
3881 allocate tdep. Update call to gdbarch_init_osabi.
3882 (ns32k_dump_tdep): Remove.
3883 (_initialize_ns32k_tdep): Update call to gdbarch_register.
3884 * ns32knbsd-tdep.c: Include "osabi.h".
3886 * ppc-tdep.h: Don't include "osabi.h".
3887 (struct gdbarch_tdep): Remove osabi member.
3888 * rs6000-tdep.c: Include "osabi.h".
3889 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
3890 osabi when iterating over arches. Update call to
3892 (rs6000_dump_tdep): Don't dump osabi.
3893 * ppc-linux-tdep.c: Include "osabi.h".
3894 * ppcnbsd-tdep.c: Include "osabi.h".
3896 * sh-tdep.h: Don't include "osabi.h".
3897 (struct gdbarch_tdep): Remove osabi member.
3898 * sh-tdep.c: Include "osabi.h".
3899 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3900 iterate over arches. Update call to gdbarch_init_osabi.
3901 (sh_dump_tdep): Don't dump osabi.
3902 * shnbsd-tdep.c: Include "osabi.h".
3904 * sparc-tdep.c: Include "osabi.h".
3905 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3906 iterate over arches. Update call to gdbarch_init_osabi.
3907 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
3910 * vax-tdep.h: Don't include "osabi.h".
3911 (struct gdbarch_tdep): Remove.
3912 * vax-tdep.c: Include "osabi.h".
3913 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3914 iterate over arches. Don't allocate tdep. Update call
3915 to gdbarch_init_osabi.
3916 (vax_dump_tdep): Remove.
3917 (_initialize_vax_tdep): Update call to gdbarch_register.
3919 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3921 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
3923 (breakpoint_re_set_one): Don't fetch the value for a disabled
3926 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3928 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
3929 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
3930 (COERCE_FLOAT_TO_DOUBLE): Remove.
3931 * gdbarch.c: Regenerate.
3932 * gdbarch.h: Regenerate.
3933 * Makefile.in: Remove value_h from gdbarch_h.
3934 * valops.c (coerce_float_to_double): New variable.
3935 (default_coerce_float_to_double): Remove.
3936 (standard_coerce_float_to_double): Remove.
3937 (value_arg_coerce): Use coerce_float_to_double.
3938 (_initialize_valops): Add "set coerce-float-to-double".
3939 * value.h (default_coerce_float_to_double): Remove prototype.
3940 (standard_coerce_float_to_double): Remove prototype.
3942 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
3944 * mdebugread.c (parse_symbol): Likewise.
3945 * stabsread.c (define_symbol): Mark all functions as prototyped.
3947 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
3948 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
3949 set_gdbarch_coerce_float_to_double.
3950 * arm-tdep.c (arm_gdbarch_init): Likewise.
3951 * frv-tdep.c (frv_gdbarch_init): Likewise.
3952 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
3953 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
3954 * mips-tdep.c (mips_gdbarch_init): Likewise.
3955 (mips_coerce_float_to_double): Remove.
3956 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3957 (rs6000_coerce_float_to_double): Remove.
3958 * s390-tdep.c (s390_gdbarch_init): Likewise.
3959 * sh-tdep.c (sh_gdbarch_init): Likewise.
3960 (sh_coerce_float_to_double): Remove.
3961 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3962 (sparc_coerce_float_to_double): Remove.
3963 * v850-tdep.c (v850_gdbarch_init): Likewise.
3964 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
3965 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3966 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
3967 (hppa_coerce_float_to_double): Remove prototype.
3968 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3970 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3972 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
3974 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3976 Suggested by Stewart Brown <sb24@avaya.com>:
3977 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
3978 in recursive calls. Handle TYPE_CODE_TYPEDEF.
3979 (c_type_print_varspec_suffix): Likewise.
3981 2003-01-04 Mark Kettenis <kettenis@gnu.org>
3983 * configure.in: Don't set and AC_SUBST SUBDIRS.
3984 * configure: Regenerated.
3986 * configure.in: Remove code dealing with shared libraries.
3987 * Makefile.in: Remove HLDFLAGS and HLDENV.
3988 * configure: Regenerated.
3990 2003-01-04 Andrew Cagney <ac131313@redhat.com>
3992 * frame.c (deprecated_frame_xmalloc): New function.
3993 (deprecated_set_frame_saved_regs_hack): New function.
3994 (deprecated_set_frame_extra_info_hack): New function.
3995 * frame.h (deprecated_frame_xmalloc): Declare.
3996 (deprecated_set_frame_saved_regs_hack): Declare.
3997 (deprecated_set_frame_extra_info_hack): Declare.
3999 2003-01-04 Mark Kettenis <kettenis@gnu.org>
4001 * configure.in: Move code that provides the --enable-gdbtk option
4002 right after the code that handles the --enable-tui option, and
4004 * configure: Regenerated.
4006 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
4007 AC_CHECK_FUNCS and remove the old check for pread64.
4008 * acinclude.m4 (AC_GNU_SOURCE): New macro.
4009 * acconfig.h (_GNU_SOURCE): Add.
4010 (HAVE_PREAD64): Remove.
4011 * configure, aclocal.m4, config.in: Regenerated.
4013 2003-01-03 Andrew Cagney <ac131313@redhat.com>
4015 * alpha-tdep.c: Use get_frame_saved_regs.
4016 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4017 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
4018 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
4019 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
4020 * vax-tdep.c, xstormy16-tdep.c: Ditto.
4022 2003-01-03 Mark Kettenis <kettenis@gnu.org>
4024 * configure.in: Remove all use of the SUBDIRS variable; add
4025 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
4026 code providing the --enable-multi-ice option, and move it right in
4027 front of the code that checks whether gdbserver is supported.
4029 * configure: Regenerated.
4030 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
4033 2003-01-03 Andrew Cagney <cagney@redhat.com>
4035 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
4036 * avr-tdep.c, cris-tdep.c: Ditto.
4037 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
4038 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
4040 2003-01-03 Mark Kettenis <kettenis@gnu.org>
4042 * configure.in: Remove --enable-netrom option.
4043 * configure: Regenerated.
4045 2003-01-03 Mark Kettenis <kettenis@gnu.org>
4047 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
4048 declaration for `struct re_pattern_buffer' instead.
4049 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
4051 2003-01-03 J. Brobecker <brobecker@gnat.com>
4053 * mdebugread.c (parse_symbol): Count until the stEnd matching
4056 2003-01-02 Mark Kettenis <kettenis@gnu.org>
4058 * configure.in: Remove --with-cpu option.
4059 subscripts. Remove evil changequotes here.
4060 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
4061 * config.in, configure: Regenerated.
4063 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
4064 * configure.in: Cleanup section that sources GDB and BFD configure
4065 subscripts. Remove evil changequotes here.
4066 * config.in, configure: Regenerated.
4068 2003-01-02 Andrew Cagney <ac131313@redhat.com>
4070 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
4071 frame accessor methods.
4072 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4073 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
4074 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
4075 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
4076 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
4077 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
4078 * z8k-tdep.c: Ditto.
4080 2003-01-02 Mark Kettenis <kettenis@gnu.org>
4082 * configure.in: Remove UI_OUT configuration code.
4083 * ada-lang.c: Update assuming UI_OUT is always true.
4084 * Makefile.in (UIOUT_CFLAGS): Remove.
4085 * configure: Regenerated.
4086 * TODO: Remove blurb about elimination of -DUI_OUT.
4088 * configure.in: Move code that provides the --enable-gdbcli,
4089 --enable-gdbmi options right before the code that handles the
4090 --enable-tui option. Polish a bit.
4091 * configure: Regenerated.
4093 * configure.in: Rewrite check for GNU regex and the
4094 --without-included regex option, and move it into the "Checks for
4095 library functions" section. This makes us use the system regex
4096 again by default on systems with version 2 of the GNU C library.
4097 This was apparently broken.
4098 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
4099 * acconfig.h (USE_INCLUDED_REGEX): Remove.
4100 * config.in, configure: Regenerated.
4102 * configure.in: Move code that provides the --enable-tui option
4103 before the "Checks for libraries" section. Polish the code
4104 somewhat and set need_curses to yes if we build the TUI. Rewrite
4105 code that looks for a library providing termcap functionality to
4106 match more closely what's done in the Readline library, and move
4107 it into to the "Checks for libraries" section.
4108 * configure: Regenerated.
4109 * Makefile.in (TERMCAP): Remove variable.
4110 * config/i386/go32.mh (TERMCAP): Remove variable.
4112 2003-01-02 Andrew Cagney <ac131313@redhat.com>
4114 * MAINTAINERS: Mention gdb_mbuild.sh.
4115 * gdb_mbuild.sh: Rewrite.
4117 2003-01-02 Mark Kettenis <kettenis@gnu.org>
4119 * configure.in: Fix typo in last change.
4120 * config.in, configure: Regenerated.
4122 2003-01-02 Andrew Cagney <ac131313@redhat.com>
4124 * valarith.c (value_binop): Delete obsolete code and comments.
4125 * configure.host: Ditto.
4126 * buildsym.h (make_blockvector): Ditto.
4127 * buildsym.c (make_blockvector): Ditto.
4128 * defs.h (enum language): Ditto.
4129 (chill_demangle): Ditto.
4130 * elfread.c (elf_symtab_read): Ditto.
4131 * dwarfread.c (CHILL_PRODUCER): Ditto.
4132 (set_cu_language): Ditto.
4133 (handle_producer): Ditto.
4134 * expprint.c (print_subexp): Ditto.
4135 * gdbtypes.c (chill_varying_type): Ditto.
4136 * gdbtypes.h (builtin_type_chill_bool): Ditto.
4137 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
4138 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
4139 (chill_varying_type): Ditto.
4140 * language.h (_LANG_chill): Ditto.
4141 * language.c (binop_result_type, integral_type): Ditto.
4142 (character_type, string_type, structured_type): Ditto.
4143 (lang_bool_type, binop_type_check): Ditto.
4144 * stabsread.h (os9k_stabs): Ditto.
4145 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
4146 (define_symbol, read_type, read_struct_fields): Ditto.
4147 (read_array_type, read_enum_type, read_huge_number): Ditto.
4148 (read_range_type, start_stabs): Ditto.
4149 * symfile.c (init_filename_language_table): Ditto.
4150 (add_psymbol_with_dem_name_to_list): Ditto.
4151 * symtab.c (symbol_init_language_specific): Ditto.
4152 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
4153 * symtab.h (struct general_symbol_info): Ditto.
4154 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
4155 * typeprint.c (typedef_print): Ditto.
4156 * utils.c (fprintf_symbol_filtered): Ditto.
4157 * valops.c (value_cast, search_struct_field, value_slice): Delete
4159 (varying_to_slice): Delete function.
4160 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
4161 (varying_to_slice): Delete declaration.
4162 * MAINTAINERS: Update.
4164 2003-01-02 Mark Kettenis <kettenis@gnu.org>
4166 * configure.in: Reorganize "Checks for library functions section"
4167 a bit. Remove check for `btowc' and `isascii' functions.
4168 * configure: Regenerated.
4170 * acconfig.h (_MSE_INT_H): Remove.
4171 * configure.in: Create "Checks for header files" section, and move
4172 appropriate tests there. Don't check for objlist.h, wchar.h,
4173 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
4174 misdetection fix. Also add "Checks for types", "Checks for
4175 compiler characteristics" and "Checks for library functions"
4177 * config.in, configure: Regenerated.
4179 * configure.in: Create "Checks for programs" section, and move
4180 appropriate tests there.
4182 2003-01-01 Mark Kettenis <kettenis@gnu.org>
4184 * configure.in: Create "Checks for libraries" section, and move
4185 appropriate tests there. Cleanup check for wctype in libw. Use
4186 AC_SEARCH_LIBS to see whether we need libsocket.
4187 * configure: Regenerated.
4189 For older changes see ChangeLog-2002
4195 version-control: never