1 2003-04-04 Andrew Cagney <cagney@redhat.com>
3 * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build.
4 * dummy-frame.c (dummy_frame_this_id): Use frame_id_build.
5 * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and
7 (d10v_unwind_dummy_id): Use frame_id_build.
8 * frame.c (find_frame_sal): Use get_frame_pc.
9 (create_new_frame): Use deprecated_update_frame_pc_hack and
10 deprecated_update_frame_base_hack.
11 (create_sentinel_frame): Add comment about ->pc going away.
12 (get_prev_frame): Add comment about ->pc going away.
13 (legacy_get_prev_frame): Use get_frame_base, get_frame_pc,
14 frame_id_build, deprecated_update_frame_pc_hack and
15 deprecated_update_frame_base_hack.
16 (select_frame): Use get_frame_pc.
17 (legacy_saved_regs_this_id): Use frame_id_build.
19 2003-04-04 Elena Zannoni <ezannoni@redhat.com>
21 * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the
23 (classify_argument): Handle enumerations and references.
25 2003-04-04 Andrew Cagney <cagney@redhat.com>
27 * frame.c (create_sentinel_frame): Initialize the sentinel frame's
30 2003-04-01 Adam Fedor <fedor@gnu.org>
32 * gdb/objc-lang.c (selectors_info): Replace calls to
33 SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with
35 (classes_info, find_methods): Likewise.
37 2003-04-03 Kevin Buettner <kevinb@redhat.com>
39 * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
40 ``mach'' to the value determined by bfd_default_set_arch_mach().
42 2003-04-02 Bob Rossi <bob_rossi@cox.net>
44 * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o".
45 (SUBDIR_MI_SRCS): Add "mi-cmd-file.c".
46 (mi-cmd-file.o): Update dependencies.
48 2003-04-01 Kevin Buettner <kevinb@redhat.com>
50 * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
51 (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.
53 2003-04-01 Adam Fedor <fedor@gnu.org>
55 * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
56 * language.h (struct language_defn): Add la_demangle.
57 (language_demangle): Declare.
58 * language.c (language_demangle): New function.
59 (unk_lang_demangle): Likewise.
60 (unknown_language_defn, auto_language_defn, local_language_defn):
61 Add ukn_lang_demangle.
62 * ada-lang.c (ada_language_defn): Add NULL for la_demangle element.
63 * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise.
64 * c-lang.c (c_language_defn, asm_language_defn): Likewise.
65 (cplus_language_defn): Add cplus_demangle for la_demangle element.
66 * jv-lang.c (java_demangle): New function
67 (java_language_defn): Use it for la_demangle element.
68 * objc-lang.c (objc_demangle): Add options argument
69 (objc_language_defn): Use objc_demangle for la_demangle element.
70 * maint.c (maintenance_demangle): Replace switch with
71 call to language_demangle.
72 * utils.c (fprintf_symbol_filtered): Likewise.
74 2003-04-01 Andrew Cagney <cagney@redhat.com>
76 * printcmd.c (print_frame_nameless_args): Delete #ifdef
77 NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
78 PRINT_TYPELESS_INTEGER.
79 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
82 2003-04-01 Andrew Cagney <cagney@redhat.com>
84 * Makefile.in (d10v-tdep.o): Update dependencies.
85 * d10v-tdep.c: Include "frame-base.h".
86 (d10v_frame_unwind): Make constant.
87 (d10v_frame_base_address): New function.
88 (d10v_frame_base): New variable.
89 (d10v_gdbarch_init): Set frame_base default.
90 (struct d10v_unwind_cache): Add the field "prev_sp". Update
92 (d10v_frame_unwind_cache): Set and use "prev_sp".
93 (d10v_frame_this_id): Use the previous frame's inner most stack
94 address and this frame's func address for the frame ID. Use
95 frame_id_build. Don't analyze beyond the current instruction.
97 2003-04-01 Andrew Cagney <cagney@redhat.com>
99 * frame.h (get_frame_locals_address, get_frame_args_address):
100 Refer to the base address, instead of the address of the first
103 2003-04-01 Andrew Cagney <cagney@redhat.com>
105 Add frame debug info addresses:
106 * frame-base.c: New file.
107 * frame-base.h: New file.
108 * frame.h (struct frame_base): Add opaque declaration.
109 (get_frame_base): Update comment.
110 (get_frame_base_address): Declare.
111 (get_frame_locals_address): Declare.
112 (get_frame_args_address): Declare.
113 (struct frame_info): Add "base" and "base_cache". Update
114 comments on the unwinder.
115 * frame.c: Include "frame-base.h".
116 (get_frame_locals_address): New function.
117 (get_frame_base_address): New function.
118 (get_frame_args_address): New function.
119 * findvar.c (read_var_value): Use get_frame_locals_address and
120 get_frame_args_address.
121 * stack.c (frame_info): Use get_frame_locals_address and
122 get_frame_args_address.
123 (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
124 moved to "frame-base.c".
125 * printcmd.c (print_frame_nameless_args): Ditto.
126 * symtab.h (address_class): Update comments.
127 * dwarf2loc.c (dwarf_expr_frame_base): Add note about
128 get_frame_base_address.
129 * dwarf2expr.c (execute_stack_op): Ditto.
130 * Makefile.in (frame_base_h): Define.
131 (frame.o): Update dependencies.
132 (frame-base.o): Add dependencies.
133 (SFILES): Add frame-base.c.
134 (COMMON_OBS): Add frame-base.o.
136 2003-04-01 Andrew Cagney <cagney@redhat.com>
138 * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
139 CALL_DUMMY_LENGTH): Ditto.
140 * gdbarch.c: Re-generate.
141 * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
142 (CALL_DUMMY_LENGTH): Delete macro.
143 * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
144 * arm-tdep.c (arm_gdbarch_init): Ditto.
145 * avr-tdep.c (avr_gdbarch_init): Ditto.
146 * cris-tdep.c (cris_gdbarch_init): Ditto.
147 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
148 * frv-tdep.c (frv_gdbarch_init): Ditto.
149 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
150 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
151 * i386-tdep.c (i386_gdbarch_init): Ditto.
152 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
153 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
154 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
155 * mips-tdep.c (mips_gdbarch_init): Ditto.
156 * mn10300-tdep.c (mn10300_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 Corinna Vinschen <vinschen@redhat.com>
167 * frame.c (get_prev_frame): Disable call to inside_entry_file().
169 2003-04-01 Andrew Cagney <cagney@redhat.com>
171 * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
172 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
173 * gdbarch.h, gdbarch.c: Re-generate.
174 * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
175 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
176 * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
177 * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
178 (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
179 * infcmd.c (run_stack_dummy): Simplify assuming
180 CALL_DUMMY_BREAKPOINT_OFFSET_P.
181 * infrun.c (handle_inferior_event): Ditto.
182 * alpha-tdep.c (alpha_gdbarch_init): Do not set
183 call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
184 * arm-tdep.c (arm_gdbarch_init): Ditto.
185 * avr-tdep.c (avr_gdbarch_init): Ditto.
186 * cris-tdep.c (cris_gdbarch_init): Ditto.
187 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
188 * frv-tdep.c (frv_gdbarch_init): Ditto.
189 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
190 * i386-tdep.c (i386_gdbarch_init): Ditto.
191 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
192 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
193 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
194 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
195 * mips-tdep.c (mips_gdbarch_init): Ditto.
196 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
197 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
198 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
199 * s390-tdep.c (s390_gdbarch_init): Ditto.
200 * sh-tdep.c (sh_gdbarch_init): Ditto.
201 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
202 * v850-tdep.c (v850_gdbarch_init): Ditto.
203 * vax-tdep.c (vax_gdbarch_init): Ditto.
204 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
206 2003-04-01 Daniel Jacobowitz <drow@mvista.com>
208 * symfile.c (symfile_relocate_debug_section): Update call to
209 bfd_simple_get_relocated_section_contents.
211 2003-03-31 Andrew Cagney <cagney@redhat.com>
213 * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
214 * gdbarch.h, gdbarch.c: Regenerate.
215 * inferior.h (FIX_CALL_DUMMY): Delete macro.
216 * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
218 * frame.h (generic_fix_call_dummy): Delete declaration.
219 * dummy-frame.h: Update comment.
220 * dummy-frame.c (generic_fix_call_dummy): Delete function.
221 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
223 * sh-tdep.c (sh_gdbarch_init): Ditto.
224 * s390-tdep.c (s390_gdbarch_init): Ditto.
225 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
226 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
227 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
228 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
229 * i386-tdep.c (i386_gdbarch_init): Ditto.
230 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
231 * frv-tdep.c (frv_gdbarch_init): Ditto.
232 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
233 * cris-tdep.c (cris_gdbarch_init): Ditto.
234 * avr-tdep.c (avr_gdbarch_init): Ditto.
235 * arm-tdep.c (arm_gdbarch_init): Ditto.
237 2003-03-31 J. Brobecker <brobecker@gnat.com>
239 * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
240 (INIT_FRAME_AP): Likewise.
241 (EXTRA_FRAME_INFO): Likewise.
243 2003-03-31 Andrew Cagney <cagney@redhat.com>
245 * gdbarch.sh: Include "symfile.h".
246 (CALL_DUMMY_ADDRESS): Default to entry_point_address.
247 * gdbarch.h, gdbarch.c: Re-generate.
248 * inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
249 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
250 call_dummy_address, the default is at entry_point_address.
251 * v850-tdep.c (v850_gdbarch_init): Ditto.
252 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
253 * sh-tdep.c (sh_gdbarch_init): Ditto.
254 * s390-tdep.c (s390_gdbarch_init): Ditto.
255 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
256 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
257 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
258 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
259 * i386-tdep.c (i386_gdbarch_init): Ditto.
260 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
261 * frv-tdep.c (frv_gdbarch_init): Ditto.
262 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
263 * cris-tdep.c (cris_gdbarch_init): Ditto.
264 * arm-tdep.c (arm_gdbarch_init): Ditto.
266 2003-03-31 Andrew Cagney <cagney@redhat.com>
268 * gdbarch.sh (CALL_DUMMY_P): Delete.
269 * gdbarch.h, gdbarch.c: Re-generate.
270 * inferior.h (CALL_DUMMY_P): Delete macro.
271 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
272 * vax-tdep.c (vax_gdbarch_init): Update.
273 * v850-tdep.c (v850_gdbarch_init): Update.
274 * sparc-tdep.c (sparc_gdbarch_init): Update.
275 * sh-tdep.c (sh_gdbarch_init): Update.
276 * s390-tdep.c (s390_gdbarch_init): Update.
277 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
278 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
279 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
280 * mips-tdep.c (mips_gdbarch_init): Update.
281 * mcore-tdep.c (mcore_gdbarch_init): Update.
282 * m68k-tdep.c (m68k_gdbarch_init): Update.
283 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
284 * ia64-tdep.c (ia64_gdbarch_init): Update.
285 * i386-tdep.c (i386_gdbarch_init): Update.
286 * h8300-tdep.c (h8300_gdbarch_init): Update.
287 * frv-tdep.c (frv_gdbarch_init): Update.
288 * d10v-tdep.c (d10v_gdbarch_init): Update.
289 * cris-tdep.c (cris_gdbarch_init): Update.
290 * breakpoint.c (deprecated_frame_in_dummy): Update.
291 * avr-tdep.c (avr_gdbarch_init): Update.
292 * alpha-tdep.c (alpha_gdbarch_init): Update.
293 * arm-tdep.c (arm_gdbarch_init): Update.
294 * dummy-frame.c (dummy_frame_this_id): Update comments.
295 * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
296 * frame.c (legacy_get_prev_frame): Ditto.
297 * valops.c (call_function_by_hand): Delete function.
298 (hand_function_call): Rename to call_function_by_hand
300 2003-03-30 Andrew Cagney <cagney@redhat.com>
302 2002-11-10 Klee Dienes <kdienes@apple.com>
303 * value.h (struct value): Update comment.
305 2003-03-30 Andrew Cagney <cagney@redhat.com>
307 * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
309 (d10v_gdbarch_init): Do not set fp_regnum.
311 * frame.c (get_frame_base): Force ID initialization.
312 (get_prev_frame): Move computation of the frame ID from here ...
313 (get_frame_id): ... to here.
314 (legacy_get_prev_frame): Mark the frame ID as valid.
315 * frame.h (struct frame_info): Add field "id_p".
317 2003-03-30 Mark Kettenis <kettenis@gnu.org>
319 * i386-tdep.c (i386_store_struct_return): Removed.
320 (i386_gdbarch_init): Don't set deprecated_store_struct_return.
322 2003-03-30 Andrew Cagney <cagney@redhat.com>
324 * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
325 * gdbarch.h, gdbarch.c: Regenerate.
326 * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
327 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
328 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
329 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
330 * i386-tdep.c (i386_gdbarch_init): Ditto.
331 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
332 * cris-tdep.c (cris_gdbarch_init): Ditto.
333 * vax-tdep.c (vax_gdbarch_init): Ditto.
334 * s390-tdep.c (s390_gdbarch_init): Ditto.
335 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
336 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
337 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
338 * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
339 * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
340 * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
341 * sparc-tdep.c (sparc_gdbarch_init): Update.
342 * sh-tdep.c (sh_gdbarch_init): Update.
343 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
344 * mips-tdep.c (mips_gdbarch_init): Update.
345 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
346 * ia64-tdep.c (ia64_gdbarch_init): Update.
347 * frv-tdep.c (frv_gdbarch_init): Update.
348 * avr-tdep.c (avr_gdbarch_init): Update.
349 * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
350 DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
351 instead of when push_dummy_call is not available.
353 2003-03-30 Andrew Cagney <cagney@redhat.com>
355 * infttrace.c: Include "gdbthread.h".
356 (parent_attach_all): Fix function signature.
357 (call_ptrace): Update call.
358 * Makefile.in (infttrace.o): Update dependencies.
360 2003-03-30 Andrew Cagney <cagney@redhat.com>
362 * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
364 * gdbarch.h, gdbarch.c: Regenerate.
365 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
366 * x86-64-tdep.c (x86_64_init_abi): Update.
367 * v850-tdep.c (v850_gdbarch_init): Update.
368 * sparc-tdep.c (sparc_gdbarch_init): Update.
369 * sh-tdep.c (sh_gdbarch_init): Update.
370 * s390-tdep.c (s390_gdbarch_init): Update.
371 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
372 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
373 * mips-tdep.c (mips_gdbarch_init): Update.
374 * mcore-tdep.c (mcore_gdbarch_init): Update.
375 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
376 * ia64-tdep.c (ia64_gdbarch_init): Update.
377 * i386-tdep.c (i386_gdbarch_init): Update.
378 * h8300-tdep.c (h8300_gdbarch_init): Update.
379 * frv-tdep.c (frv_gdbarch_init): Update.
380 * cris-tdep.c (cris_gdbarch_init): Update.
381 * avr-tdep.c (avr_gdbarch_init): Update.
382 * arm-tdep.c (arm_gdbarch_init): Update.
383 * valops.c (hand_function_call): Update.
385 2003-03-29 Andrew Cagney <cagney@redhat.com>
387 * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
388 sizeof_call_dummy_words.
389 * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
391 * gdbarch.h: Regenerate.
393 2003-03-29 Andrew Cagney <cagney@redhat.com>
395 * infttrace.h: New file.
396 * hpread.c: Include "gdb_assert.h" and "somsolib.h".
397 (hpread_get_textlow): Detect an uninitialized dn_bufp.
398 (hpread_read_doc_function_type): Detect an initialized type1.
399 (hpread_quick_traverse): Initialize mod_name_string.
400 * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
401 (som_solib_get_solib_by_pc): Declare.
402 (so_lib_thread_start_addr): Declare.
403 (no_shared_libraries): Declare.
404 * somread.c (init_import_symbols): Make static. Add forward
406 * config/pa/nm-hppah.h: Include "infttrace.h" for
408 (hppa_insert_hw_watchpoint): Declare.
409 (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
410 * hppah-nat.c: Include "gdb_string.h".
411 (parent_attach_all): Delete extern declaration, moved to
413 (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
415 (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
416 * Makefile.in (infttrace_h): Define.
417 (hpread.o): Update dependencies.
418 (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
419 * hppa-hpux-tdep.c: Include "gdb_string.h".
420 * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
421 * infrun.c (handle_inferior_event): Always initialize
422 stepped_after_stopped_by_watchpoint. Add default and remove
423 fallthrough in switch statement.
424 * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
426 (hppa_remove_hw_watchpoint): Ditto.
428 2003-03-29 Andrew Cagney <cagney@redhat.com>
430 * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
433 2003-03-29 Richard Earnshaw <rearnsha@arm.com>
435 * arm-tdep.c (arm_push_arguments): Delete.
436 (struct stack_item): New type.
437 (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
438 (arm_store_struct_return): Delte.
439 (arm_gdbarch_init): Register arm_push_dummy_call. Don't register
440 arm_push_arguments or arm_store_struct_return.
442 2003-03-28 Andrew Cagney <cagney@redhat.com>
444 * Makefile.in (d10v-tdep.o): Update dependencies.
445 * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
446 * d10v-tdep.c: Include "remote.h".
447 (target_resume_hook): Delete extern declaration.
448 (target_wait_loop_hook): Ditto.
449 (tdisassemble_command): Eliminate assignment in "if" conditional.
450 (d10v_ts2_register_sim_regno): Eliminate call to
451 legacy_register_sim_regno.
452 (d10v_ts3_register_sim_regno): Ditto.
454 2003-03-28 Jeff Johnston <jjohnstn@redhat.com>
456 * thread.c: Reindented.
458 * linux-proc.c: Ditto.
460 2003-03-28 Bob Rossi <bob_rossi@cox.net>
462 * MAINTAINERS (write after approval): Add myself.
464 2003-03-27 Theodore A. Roth <troth@openavr.org>
466 * objc-exp.y: Add missing semi-colons.
468 2003-03-27 Andrew Cagney <cagney@redhat.com>
470 * regcache.c (write_sp): Delete function and references.
471 * inferior.h (write_sp): Delete declaration.
472 * valops.c (hand_function_call): Replace write_sp with
474 * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
475 (sparc_pop_frame): Ditto.
477 2003-03-27 Andrew Cagney <cagney@redhat.com>
479 * NEWS: Mention removal of support for hppa*-*-bsd* and
480 hppa*-*-osf* natives, and hppa*-*-pro* target.
481 * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
482 * config/pa/xm-pa.h: Obsolete file.
483 * config/pa/xm-hppab.h: Obsolete file.
484 * config/pa/nm-hppab.h: Obsolete file.
485 * config/pa/tm-hppab.h: Obsolete file.
486 * config/pa/tm-hppao.h: Obsolete file.
487 * config/pa/nm-hppao.h: Obsolete file.
488 * config/pa/tm-pro.h: Obsolete file.
489 * config/pa/hppaosf.mt: Obsolete file.
490 * config/pa/hppaosf.mh: Obsolete file.
491 * config/pa/hppapro.mt: Obsolete file.
492 * config/pa/hppabsd.mt: Obsolete file.
493 * config/pa/hppabsd.mh: Obsolete file.
494 * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
495 * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
498 2003-03-27 Andrew Cagney <cagney@redhat.com>
500 * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
501 push_arguments. Don't set push_return_address or write_sp.
502 (d10v_push_dummy_call): Replace d10v_push_arguments.
503 (d10v_push_return_address, d10v_write_sp): Delete function,
504 handled by push_dummy_call.
506 2003-03-26 Andrew Cagney <cagney@redhat.com>
508 * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
509 (push_dummy_call): New pure multi-arch replacement with gdbarch,
510 regcache and dummy_addr parameters.
511 * gdbarch.h, gdbarch.c: Re-generate.
512 * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
513 available; assume it will handle stack alignment and return
514 address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
515 legacy_push_arguments.
516 (legacy_push_arguments): Rename default_push_arguments.
517 * value.h (legacy_push_arguments): Rename default_push_arguments.
518 * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
519 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
520 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
521 * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
522 * config/i386/tm-symmetry.h: Update.
523 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
524 * x86-64-tdep.c (x86_64_init_abi): Update.
525 * v850-tdep.c (v850_gdbarch_init): Update.
526 * sparc-tdep.c (sparc_gdbarch_init): Update.
527 * sh-tdep.c (sh_gdbarch_init): Update.
528 * s390-tdep.c (s390_gdbarch_init): Update.
529 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
530 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
531 * mips-tdep.c (mips_gdbarch_init): Update.
532 * mcore-tdep.c (mcore_gdbarch_init): Update.
533 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
534 * ia64-tdep.c (ia64_gdbarch_init): Update.
535 * i386-tdep.c (i386_gdbarch_init): Update.
536 * hppa-tdep.c (hppa_gdbarch_init): Update.
537 * h8300-tdep.c (h8300_gdbarch_init): Update.
538 * frv-tdep.c (frv_gdbarch_init): Update.
539 * d10v-tdep.c (d10v_gdbarch_init): Update.
540 * cris-tdep.c (cris_gdbarch_init): Update.
541 * avr-tdep.c (avr_gdbarch_init): Update.
542 * arm-tdep.c (arm_gdbarch_init): Update.
543 * arm-linux-tdep.c (arm_linux_init_abi): Update.
544 * alpha-tdep.c (alpha_gdbarch_init): Update.
546 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
548 * signals/signals.c (do_target_signal_to_host): Correct realtime
551 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
553 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
554 (struct sal_chain, map_catch_names): Remove.
555 (catch_exception_command_1): Don't call
556 handle_gnu_4_16_catch_command.
558 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
560 From Mark Dettinger <dettinge@de.ibm.com>:
561 * dwarf2cfi.c (read_2u): Increment pointer by two.
563 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
565 * signals/signals.c: Fix typos in last change.
567 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
569 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
570 not already defined. Use __SIGRTMIN if available.
571 (target_signal_from_host): Remove SIGRTMIN block.
572 (do_target_signal_to_host): Remove SIGRTMIN block; check that
573 the signal is within the realtime range.
575 2003-03-25 Adam Fedor <fedor@gnu.org>
577 * Makefile.in (infrun.o): Add $(language_h)
578 * infrun.c (handle_inferior_event): Use skip_language_trampoline
579 for language specific trampolines.
580 * language.h (struct language_defn): Add skip_trampoline.
581 (skip_language_trampoline): Declare.
582 * language.c (unk_lang_trampoline, skip_language_trampoline):
584 (unknown_language_defn, auto_language_defn, local_language_defn):
585 Add ukn_lang_trampoline.
586 * ada-lang.c (ada_language_defn): Add NULL for language
587 specific skip_trampoline.
588 * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
589 scm-lang.c: Likewise.
590 * objc-lang.c (objc_skip_trampoline): New function.
591 (objc_language_defn): Add objc_skip_trampoline.
593 2003-03-25 Andrew Cagney <cagney@redhat.com>
595 * frame.c (get_prev_frame): Delay validating a frame's ID -
596 non-NULL, didn't go backwards - until an attempt to unwind it to
599 2003-03-25 Andrew Cagney <cagney@redhat.com>
601 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
602 EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
603 * gdbarch.h, gdbarch.c: Re-generate.
604 * config/sparc/tm-sparc.h
605 (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
606 * sparc-tdep.c (sparc_gdbarch_init): Set
607 deprecated_extra_stack_alignment_needed.
608 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
609 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
610 extra_stack_alignment_needed.
611 * v850-tdep.c (v850_gdbarch_init): Ditto.
612 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
613 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
614 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
615 * cris-tdep.c (cris_gdbarch_init): Ditto.
616 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
617 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
619 2003-03-25 Andrew Cagney <cagney@redhat.com>
621 * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
623 * gdbarch.h, gdbarch.c: Regenerate.
624 * d10v-tdep.c (d10v_store_struct_return): Delete function.
625 (d10v_push_arguments): Set the struct return register.
626 (d10v_gdbarch_init): Update.
627 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
628 * x86-64-tdep.c (x86_64_init_abi): Update.
629 * vax-tdep.c (vax_gdbarch_init): Update.
630 * v850-tdep.c (v850_gdbarch_init): Update.
631 * sparc-tdep.c (sparc_gdbarch_init): Update.
632 * sh-tdep.c (sh_gdbarch_init): Update.
633 * s390-tdep.c (s390_gdbarch_init): Update.
634 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
635 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
636 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
637 * mips-tdep.c (mips_gdbarch_init): Update.
638 * mcore-tdep.c (mcore_gdbarch_init): Update.
639 * m68k-tdep.c (m68k_gdbarch_init): Update.
640 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
641 * ia64-tdep.c (ia64_gdbarch_init): Update.
642 * i386-tdep.c (i386_gdbarch_init): Update.
643 * hppa-tdep.c (hppa_gdbarch_init): Update.
644 * h8300-tdep.c (h8300_gdbarch_init): Update.
645 * frv-tdep.c (frv_gdbarch_init): Update.
646 * cris-tdep.c (cris_gdbarch_init): Update.
647 * avr-tdep.c (avr_gdbarch_init): Update.
648 * arm-tdep.c (arm_gdbarch_init): Update.
649 * alpha-tdep.c (alpha_gdbarch_init): Update.
651 2003-03-25 Andrew Cagney <cagney@redhat.com>
653 * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
654 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
655 CALL_DUMMY_STACK_ADJUST with a predicate variable.
656 * gdbarch.h, gdbarch.c: Regenerate.
657 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
658 call_dummy_stack_adjust_p.
659 * vax-tdep.c (vax_gdbarch_init): Ditto.
660 * v850-tdep.c (v850_gdbarch_init): Ditto.
661 * sh-tdep.c (sh_gdbarch_init): Ditto.
662 * s390-tdep.c (s390_gdbarch_init): Ditto.
663 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
664 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
665 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
666 * mips-tdep.c (mips_gdbarch_init): Ditto.
667 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
668 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
669 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
670 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
671 * i386-tdep.c (i386_gdbarch_init): Ditto.
672 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
673 * frv-tdep.c (frv_gdbarch_init): Ditto.
674 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
675 * cris-tdep.c (cris_gdbarch_init): Ditto.
676 * avr-tdep.c (avr_gdbarch_init): Ditto.
677 * arm-tdep.c (arm_gdbarch_init): Ditto.
678 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
679 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
680 * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
681 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
682 * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
683 call_dummy_stack_adjust_p.
684 * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
685 (CALL_DUMMY_STACK_ADJUST): Delete macro.
686 * sparc-tdep.c (sparc32_push_arguments): Update.
687 * valops.c (hand_function_call): Update.
689 2003-03-25 Corinna Vinschen <vinschen@redhat.com>
691 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
692 set_gdbarch_char_signed.
694 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
697 * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
699 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
701 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
702 (_initialize_arm_tdep): Don't set tm_print_insn.
704 2003-03-24 Adam Fedor <fedor@gnu.org>
706 * Makefile.in (YYOBJ): Add objc-exp.tab.o
707 * objc-lang.h: Add multiple inclusion protection.
708 (start_msglist, add_msglist, end_msglist): Additional declarations.
710 2003-03-24 Richard Earnshaw <rearnsha@arm.com>
712 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
713 value was renamed to ARM_FLOAT_SOFT_FPA.
715 2003-03-23 Andrew Cagney <cagney@redhat.com>
717 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
718 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
719 * gdbarch.h, gdbarch.c: Regenerate.
720 * valops.c (hand_function_call): Update.
721 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
722 * frame.c (legacy_saved_regs_this_id): Update.
723 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
724 * dummy-frame.h: Update.
725 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
726 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
727 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
728 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
729 * config/m68k/tm-sun3.h: Update.
730 * blockframe.c (inside_main_func, frame_chain_valid): Update.
731 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
732 * x86-64-tdep.c (x86_64_init_abi): Update.
733 * vax-tdep.c (vax_gdbarch_init): Update.
734 * v850-tdep.c (v850_gdbarch_init): Update.
735 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
736 * sh-tdep.c (sh_gdbarch_init): Update.
737 * s390-tdep.c (s390_gdbarch_init): Update.
738 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
739 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
740 (frame_get_saved_regs): Update.
741 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
742 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
743 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
744 * mips-tdep.c (mips_gdbarch_init): Update.
745 * mcore-tdep.c (mcore_gdbarch_init): Update.
746 * m68k-tdep.c (m68k_gdbarch_init): Update.
747 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
748 * ia64-tdep.c (ia64_gdbarch_init): Update.
749 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
750 * i386-interix-tdep.c (i386_interix_init_abi): Update.
751 (i386_interix_back_one_frame): Update.
752 * hppa-tdep.c (hppa_gdbarch_init): Update.
753 (hppa_init_extra_frame_info): Update.
754 * h8300-tdep.c (h8300_gdbarch_init): Update.
755 * frv-tdep.c (frv_gdbarch_init): Update.
756 * cris-tdep.c (cris_gdbarch_init): Update.
757 * avr-tdep.c (avr_gdbarch_init): Update.
758 * arm-tdep.c (arm_gdbarch_init): Update.
759 * alpha-tdep.c (alpha_gdbarch_init): Update.
761 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
763 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
764 (arm_get_fp_model): Declare.
765 * arm-tdep.c (fp_model_strings): New string array.
766 (arm_fp_model, current_fp_model): New variables.
767 (arm_get_fp_model): New function.
768 (arm_set_fp): New function.
769 (set_fp_model_sfunc): New function.
770 (show_fp_model): New function.
771 (_initialize_arm_tdep): Add new command to set/show the FPU.
772 (arm_extract_return_value): Use arm_get_fp_model.
773 (arm_store_return_value): Likewise.
774 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
775 to initialize the floating-point data types.
776 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
779 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
781 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
782 the current setting of each value.
783 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
784 new_set and new_show. Use add_setshow_cmd_full and
785 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
786 commands and add new version as subcommands of "set/show arm".
788 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
790 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
791 (set_arm_command, show_arm_command): New functions.
792 (_initialize_arm_tdep): Add them.
793 (num_disassembly_options): Renamed from num_flavor_options.
794 (valid_disassembly_styles): Renamed from valid_flavors.
795 (disassembly_style): Renamed from disassembly_flavor.
796 (set_disassembly_style_sfunc): Renamed from
797 set_disassembly_flavor_sfunc.
798 (set_disassembly_style): Renamed from set_disassembly_flavor.
799 (arm_othernames): Updated.
800 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
801 command. Add "set/show arm disassembly" commands. Deprecate
802 "othernames" command.
804 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
806 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
807 (arm-tdep.o): Depend on elf_arm_h.
809 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
811 * Makefile.in (coff_internal_h): Define.
812 (arm-tdep.o): Update dependencies.
814 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
816 * arm-tdep.c (prologue_cache): Delete.
817 (check_prologue_cache, save_prologue_cache): Delete.
818 (arm_scan_prologue): Don't check or update the prologue_cache.
819 (arm_gdb_arch_init): Don't initialize it.
820 (_initialize_arm_tdep): Likewise.
822 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
824 * MAINTAINERS (tui): Maintainer of tui code.
826 2003-03-21 Corinna Vinschen <vinschen@redhat.com>
828 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
829 (i386-cygwin-tdep.o): Add dependencies.
830 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
831 * i386-cygwin-tdep.c: New file.
832 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
833 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
835 2003-03-20 Andrew Cagney <cagney@redhat.com>
837 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
838 (handle_inferior_event): Remove code calling
839 DYNAMIC_TRAMPOLINE_NEXTPC.
841 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
842 already has a full path.
844 * main.c (gdb_main): Return 1.
845 (captured_main): Call error to report an invalid interpreter.
847 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
848 * alpha-osf1-tdep.c: Include "gdb_string.h".
850 2003-03-19 J. Brobecker <brobecker@gnat.com>
852 Continuing work to convert the hppa targets to multiarch partial.
854 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
855 method, now that hppa_push_dummy_frame has a conformant prototype.
856 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
857 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
858 for the switch to multiarch partial.
860 2003-03-19 Kevin Buettner <kevinb@redhat.com>
862 * mdebugread.c (parse_symbol): For stEnd, we're done counting
865 2003-03-18 Kevin Buettner <kevinb@redhat.com>
867 * mips-tdep.c (mips_register_name): Fix fencepost error involving
868 NUM_REGS bounds check.
870 2003-03-18 Kevin Buettner <kevinb@redhat.com>
872 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
873 * mips-tdep.c (gdb_assert.h): Include.
874 (mips_generic_reg_names, mips_processor_reg_names): Make static.
875 (mips_register_name): Handle integer registers explicitly. Add
877 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
878 (mips_lsi33k_reg_names): Don't list integer registers; they're
879 handled by mips_register_name() now.
880 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
881 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
882 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
883 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
884 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
886 2003-03-18 Andrew Cagney <cagney@redhat.com>
888 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
890 * gdbtypes.h (print_scalar_formatted): Update declaration.
891 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
893 2003-03-18 J. Brobecker <brobecker@gnat.com>
895 * infrun.c (observer.h): Add #include.
896 (normal_stop): Add call to observer_notify_normal_stop.
897 * Makefile.in (infrun.o): Add dependency on observer.h.
899 2003-03-18 J. Brobecker <brobecker@gnat.com>
901 Continuing work to convert the hppa targets to multiarch partial.
902 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
903 parameter. Reformat comment.
904 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
905 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
906 to match new profile.
908 2003-03-18 J. Brobecker <brobecker@gnat.com>
910 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
911 appear to be working in any case.
913 2003-03-18 J. Brobecker <brobecker@gnat.com>
915 * observer.c (observer_test_first_observer): New static variable.
916 (observer_test_second_observer): Likewise.
917 (observer_test_third_observer): Likewise.
918 (observer_test_first_notification_function): New static function.
919 (observer_test_second_notification_function): Likewise.
920 (observer_test_third_notification_function): Likewise.
922 2003-03-17 J. Brobecker <brobecker@gnat.com>
924 * hppa-tdep.c (gdb_assert.h): Add missing #include.
925 * somsolib.c (gdb_assert.h): Likewise.
926 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
927 (somsolib.o): Likewise.
929 2003-03-17 Andrew Cagney <cagney@redhat.com>
931 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
932 BFD. Simplify setting of di.endian.
934 2003-03-17 Andrew Cagney <cagney@redhat.com>
936 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
937 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
939 From Elena Zannoni <ezannoni@redhat.com>
940 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
941 vector and floating-point parameters.
942 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
944 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
946 2003-03-17 Fernando Nasser <fnasser@redhat.com>
948 * MAINTAINERS: Remove my name from several maintainership roles.
950 2003-03-17 Andrew Cagney <cagney@redhat.com>
952 Fix frame off-by-one bug.
953 * frame-unwind.h (frame_this_id_ftype): Replace
954 frame_unwind_id_ftype.
955 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
956 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
957 with "prev_register".
958 * frame-unwind.c (frame_unwind_find_by_pc): Return
959 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
961 * dummy-frame.c (cached_find_dummy_frame): Delete function.
962 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
963 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
964 (dummy_frame_unwind): Update.
965 * sentinel-frame.c (sentinel_frame_prev_register): Replace
966 sentinel_frame_register_unwind.
967 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
968 (sentinel_frame_unwinder): Update.
969 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
970 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
971 * frame.c (create_sentinel_frame): Update. Initialize
972 "prologue_cache" instead of "unwind_cache".
973 (frame_register_unwind): Call this frame's prev_register with the
974 next frame and this frame's prologue cache.
975 (get_prev_frame): Simplify. Always call prev frame's this_id with
976 this frame and prev frame's prologue cache. Document that this
977 call is shifted one to the left when compared to the
978 frame_register_unwind call.
979 (legacy_saved_regs_prev_register): Replace
980 frame_saved_regs_register_unwind.
981 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
982 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
983 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
984 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
985 (d10v_frame_unwind): Update.
986 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
987 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
988 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
989 "saved_regs" with "this_saved_regs".
991 2003-03-16 Andrew Cagney <cagney@redhat.com>
993 * frame.c (frame_pop): Don't call target_store_registers. Fix
994 problem reported by Mark Kettenis.
996 2003-03-16 Mark Kettenis <kettenis@gnu.org>
998 * i386-tdep.c (i386_register_type): Renamed from
999 i386_register_virtual_type. Adjust function signature.
1000 (i386_gdbarch_init): Set register_type instead of
1001 deprecated_max_register_raw_size,
1002 deprecated_max_register_virtual_size and register_virtual_type.
1004 2003-03-14 Andrew Cagney <cagney@redhat.com>
1006 * frame.c (get_prev_frame): When a legacy frame, always call
1007 legacy_get_prev_frame. Simplify unwind code using assumption that
1008 the unwinder is new.
1009 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
1010 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
1011 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
1013 2003-03-14 Andrew Cagney <cagney@redhat.com>
1015 * frame.c (get_saved_register): Delete function.
1016 * frame.h (get_saved_register): Delete declaration.
1017 * xstormy16-tdep.c: Update comment.
1018 * regcache.h: Update comments.
1019 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
1020 get_saved_register and extract_address, use
1021 frame_read_unsigned_register.
1022 (sparc_frame_saved_pc): Ditto.
1023 (sparc_get_saved_register): Instead of get_saved_register, use
1025 (sparc_pop_frame): Ditto.
1026 * findvar.c: Update comments.
1027 (value_of_register): Call frame_register instead of
1029 (value_from_register): Ditto.
1030 * config/sparc/tm-sparc.h: Update comment.
1031 * breakpoint.c: Update comment.
1033 2003-03-14 Andrew Cagney <cagney@redhat.com>
1035 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
1037 * gdbarch.h, gdbarch.c: Re-generate.
1038 * frame.h: Update comments.
1039 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1040 * x86-64-tdep.c (x86_64_init_abi): Update.
1041 * sparc-tdep.c (sparc_gdbarch_init): Update.
1042 * sh-tdep.c (sh_gdbarch_init): Update.
1043 * mips-tdep.c (mips_gdbarch_init): Update.
1044 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1045 * cris-tdep.c (cris_gdbarch_init): Update.
1046 * ia64-tdep.c (ia64_gdbarch_init): Update.
1047 * frame.c (frame_register): Update.
1048 (get_saved_register): Update.
1049 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
1051 2003-03-13 Andrew Cagney <cagney@redhat.com>
1053 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
1054 * gdbarch.h, gdbarch.c: Regenerate.
1055 * valops.c (hand_function_call): Update comment.
1056 * stack.c (return_command): Update comment.
1057 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
1058 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
1059 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1060 * x86-64-tdep.c (x86_64_init_abi): Update.
1061 * vax-tdep.c (vax_gdbarch_init): Update.
1062 * v850-tdep.c (v850_gdbarch_init): Update.
1063 * sparc-tdep.c (sparc_gdbarch_init): Update.
1064 * sh-tdep.c (sh_gdbarch_init): Update.
1065 * s390-tdep.c (s390_gdbarch_init): Update.
1066 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1067 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1068 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1069 * mips-tdep.c (mips_gdbarch_init): Update.
1070 * mcore-tdep.c (mcore_gdbarch_init): Update.
1071 * m68k-tdep.c (m68k_gdbarch_init): Update.
1072 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1073 * ia64-tdep.c (ia64_gdbarch_init): Update.
1074 * i386-tdep.c (i386_gdbarch_init): Update.
1075 * hppa-tdep.c (hppa_gdbarch_init): Update.
1076 * h8300-tdep.c (h8300_gdbarch_init): Update.
1077 * frv-tdep.c (frv_gdbarch_init): Update.
1078 * cris-tdep.c (cris_gdbarch_init): Update.
1079 * avr-tdep.c (avr_gdbarch_init): Update.
1080 * arm-tdep.c (arm_gdbarch_init): Update.
1081 * alpha-tdep.c (alpha_gdbarch_init): Update.
1083 2003-03-13 Andrew Cagney <cagney@redhat.com>
1085 * frame.c (legacy_frame_p): New function.
1086 (get_prev_frame): Use legacy_frame_p.
1087 * frame.h (legacy_frame_p): Declare.
1089 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
1091 * MAINTAINERS (write after approval): Alphabetically
1094 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
1096 * MAINTAINERS (write after approval): Add myself.
1098 2003-03-12 Andrew Cagney <cagney@redhat.com>
1100 * frame.c (get_prev_frame): Rename the frame parameter to
1102 (get_next_frame, legacy_get_prev_frame): Ditto.
1104 2003-03-12 Andrew Cagney <cagney@redhat.com>
1106 * frame.c (get_current_frame): Check target_has_registers before
1107 checking target_has_stack.
1108 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
1109 instead of deprecated_selected_frame.
1110 * findvar.c (value_of_register): Pass "frame", not
1111 deprecated_selected_frame, to value_of_builtin_reg.
1113 2003-03-12 Andrew Cagney <cagney@redhat.com>
1115 * regcache.c (regcache_cooked_write_signed): New function.
1116 (regcache_cooked_write_unsigned): New function.
1117 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
1118 (regcache_cooked_read_signed): Fix regnum in range assertion.
1119 * regcache.h (regcache_cooked_write_signed): Declare.
1120 (regcache_cooked_write_unsigned): Declare.
1122 2003-03-12 Andrew Cagney <cagney@redhat.com>
1124 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1125 * gdbarch.h, gdbarch.c: Re-generate.
1126 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1127 * x86-64-tdep.h: Update.
1128 * x86-64-tdep.c (x86_64_init_abi): Update.
1129 * v850-tdep.c (v850_gdbarch_init): Update.
1130 * sparc-tdep.c (sparc_gdbarch_init): Update.
1131 * sh-tdep.c (sh_gdbarch_init): Update.
1132 * s390-tdep.c (s390_gdbarch_init): Update.
1133 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1134 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1135 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1136 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1137 * mips-tdep.c (mips_gdbarch_init): Update.
1138 * mcore-tdep.c (mcore_gdbarch_init): Update.
1139 * m68k-tdep.c (m68k_gdbarch_init): Update.
1140 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1141 * ia64-tdep.c (ia64_gdbarch_init): Update.
1142 * i386-tdep.c (i386_gdbarch_init): Update.
1143 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1144 * hppa-tdep.c (hppa_gdbarch_init): Update.
1145 * h8300-tdep.c (h8300_gdbarch_init): Update.
1146 * frv-tdep.c (frv_gdbarch_init): Update.
1147 * cris-tdep.c (cris_gdbarch_init): Update.
1148 * avr-tdep.c (avr_gdbarch_init): Update.
1149 * arm-tdep.c (arm_gdbarch_init): Update.
1150 * alpha-tdep.c (alpha_gdbarch_init): Update.
1151 * sh-tdep.c (sh_init_extra_frame_info): Update.
1152 (sh64_init_extra_frame_info): Update.
1153 * ns32knbsd-nat.c (frame_num_args): Update.
1154 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1155 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1156 (xstormy16_frame_chain_valid): Update.
1157 * vax-tdep.c (vax_saved_pc_after_call): Update.
1158 * v850-tdep.c (v850_frame_chain): Update.
1159 (v850_pop_frame): Update.
1160 (v850_init_extra_frame_info): Update.
1161 * sparc-tdep.c (setup_arbitrary_frame): Update.
1162 * ns32k-tdep.c (umax_frame_num_args): Update.
1163 * s390-tdep.c (s390_pop_frame_regular): Update.
1164 * mn10300-tdep.c (mn10300_frame_chain): Update.
1165 (mn10300_pop_frame_regular): Update.
1166 (mn10300_init_extra_frame_info): Update.
1167 * mips-tdep.c (mips_init_frame_pc_first): Update.
1168 (mips_frame_chain): Update.
1169 (mips_pop_frame): Update.
1170 * mcore-tdep.c (mcore_frame_chain): Update.
1171 (mcore_pop_frame): Update.
1172 (mcore_init_extra_frame_info): Update.
1173 * arch-utils.c (init_frame_pc_default): Update.
1174 * m68k-tdep.c (isi_frame_num_args): Update.
1175 (delta68_frame_num_args): Update.
1176 (news_frame_num_args): Update.
1177 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1178 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1179 (alpha_frame_chain): Update.
1180 (alpha_pop_frame): Update.
1181 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1182 (hppa_init_extra_frame_info): Update.
1183 (hppa_frame_chain): Update.
1184 (hppa_frame_chain_valid): Update.
1185 * cris-tdep.c (cris_init_extra_frame_info): Update.
1186 * avr-tdep.c (avr_init_extra_frame_info): Update.
1187 * arm-tdep.c (arm_frame_chain_valid): Update.
1188 (arm_init_extra_frame_info): Update.
1189 (arm_pop_frame): Update.
1190 * frame.c (frame_pc_unwind): Update.
1191 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1192 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1193 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1194 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1195 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1196 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1198 2003-03-12 Andrew Cagney <cagney@redhat.com>
1200 Eliminate the need for POP_FRAME.
1201 * frame.c (do_frame_unwind_register): New function.
1202 (frame_pop): When no POP_FRAME, pop the frame using register
1203 unwind and a scratch regcache.
1204 (frame_saved_regs_pop): Delete function.
1205 (trad_frame_unwinder): Update.
1206 * d10v-tdep.c (d10v_frame_pop): Delete function.
1207 (d10v_frame_unwind): Update.
1208 * sentinel-frame.c (sentinel_frame_pop): Delete function.
1209 (sentinel_frame_unwinder): Update.
1210 * dummy-frame.c (dummy_frame_pop): Delete function.
1211 (dummy_frame_unwind): Update.
1212 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
1213 (struct frame_unwind): Update.
1215 2003-03-11 Kevin Buettner <kevinb@redhat.com>
1217 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
1218 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
1219 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
1220 Do range checks on register number obtained from debugging info.
1221 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
1222 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
1223 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
1225 (do_fp_register_row): Fix typo which caused double type to be
1226 used when attempting to unpack a float.
1228 2003-03-11 J. Brobecker <brobecker@gnat.com>
1230 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
1232 2003-03-11 Andrew Cagney <cagney@redhat.com>
1234 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
1235 frame. Problem found by Corinna Vinschen.
1237 2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
1239 * doublest.c (floatformat_from_length): Accept also
1240 the real size of 'long double' type.
1242 2003-03-10 Daniel Jacobowitz <drow@mvista.com>
1244 From Klee Dienes <kdienes@apple.com>:
1245 * breakpoint.c (bpstat_copy): Copy the command lines as well
1246 as the old value, to match what is freed in bpstat_clear.
1248 2003-03-10 David Carlton <carlton@math.stanford.edu>
1250 * minsyms.c (add_minsym_to_hash_table): Replace
1251 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
1252 (compare_minimal_symbols, compact_minimal_symbols)
1253 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
1254 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
1255 of DEPRECATED_SYMBOL_MATCHES_NAME.
1256 (lookup_minimal_symbol_solib_trampoline): Ditto.
1258 2003-03-10 Andrew Cagney <cagney@redhat.com>
1260 * regcache.h (regcache_cooked_read_ftype): Define.
1261 (regcache_save, regcache_restore): Add a cooked_read parameter.
1262 * regcache.c (regcache_save, regcache_restore): Update.
1263 (do_cooked_read): New function.
1264 (regcache_cpy): Pass do_cooked_read to regcache_save and
1267 2003-03-10 Andrew Cagney <cagney@redhat.com>
1269 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1270 * gdbarch.h, gdbarch.c: Re-generate.
1271 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1272 * x86-64-tdep.h: Update.
1273 * x86-64-tdep.c (x86_64_init_abi): Update.
1274 * v850-tdep.c (v850_gdbarch_init): Update.
1275 * sparc-tdep.c (sparc_gdbarch_init): Update.
1276 * sh-tdep.c (sh_gdbarch_init): Update.
1277 * s390-tdep.c (s390_gdbarch_init): Update.
1278 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1279 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1280 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1281 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1282 * mips-tdep.c (mips_gdbarch_init): Update.
1283 * mcore-tdep.c (mcore_gdbarch_init): Update.
1284 * m68k-tdep.c (m68k_gdbarch_init): Update.
1285 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1286 * ia64-tdep.c (ia64_gdbarch_init): Update.
1287 * i386-tdep.c (i386_gdbarch_init): Update.
1288 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1289 * hppa-tdep.c (hppa_gdbarch_init): Update.
1290 * h8300-tdep.c (h8300_gdbarch_init): Update.
1291 * frv-tdep.c (frv_gdbarch_init): Update.
1292 * cris-tdep.c (cris_gdbarch_init): Update.
1293 * avr-tdep.c (avr_gdbarch_init): Update.
1294 * arm-tdep.c (arm_gdbarch_init): Update.
1295 * alpha-tdep.c (alpha_gdbarch_init): Update.
1296 * sh-tdep.c (sh_init_extra_frame_info): Update.
1297 (sh64_init_extra_frame_info): Update.
1298 * ns32knbsd-nat.c (frame_num_args): Update.
1299 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1300 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1301 (xstormy16_frame_chain_valid): Update.
1302 * vax-tdep.c (vax_saved_pc_after_call): Update.
1303 * v850-tdep.c (v850_frame_chain): Update.
1304 (v850_pop_frame): Update.
1305 (v850_init_extra_frame_info): Update.
1306 * sparc-tdep.c (setup_arbitrary_frame): Update.
1307 * ns32k-tdep.c (umax_frame_num_args): Update.
1308 * s390-tdep.c (s390_pop_frame_regular): Update.
1309 * mn10300-tdep.c (mn10300_frame_chain): Update.
1310 (mn10300_pop_frame_regular): Update.
1311 (mn10300_init_extra_frame_info): Update.
1312 * mips-tdep.c (mips_init_frame_pc_first): Update.
1313 (mips_frame_chain): Update.
1314 (mips_pop_frame): Update.
1315 * mcore-tdep.c (mcore_frame_chain): Update.
1316 (mcore_pop_frame): Update.
1317 (mcore_init_extra_frame_info): Update.
1318 * arch-utils.c (init_frame_pc_default): Update.
1319 * m68k-tdep.c (isi_frame_num_args): Update.
1320 (delta68_frame_num_args): Update.
1321 (news_frame_num_args): Update.
1322 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1323 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1324 (alpha_frame_chain): Update.
1325 (alpha_pop_frame): Update.
1326 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1327 (hppa_init_extra_frame_info): Update.
1328 (hppa_frame_chain): Update.
1329 (hppa_frame_chain_valid): Update.
1330 * cris-tdep.c (cris_init_extra_frame_info): Update.
1331 * avr-tdep.c (avr_init_extra_frame_info): Update.
1332 * arm-tdep.c (arm_frame_chain_valid): Update.
1333 (arm_init_extra_frame_info): Update.
1334 (arm_pop_frame): Update.
1335 * frame.c (frame_pc_unwind): Update.
1336 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1337 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1338 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1339 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1340 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1341 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1343 2003-03-10 Andrew Cagney <cagney@redhat.com>
1345 * gdbarch.sh (gdbarch_unwind_pc): New method.
1346 * gdbarch.h, gdbarch.c: Regenerate.
1347 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
1348 but use read_pc and FRAME_SAVED_PC as fall backs.
1349 (frame_saved_regs_pc_unwind): Delete function.
1350 (trad_frame_unwinder): Update.
1351 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
1352 (struct frame_unwind): Update.
1353 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
1354 (dummy_frame_unwind): Update.
1355 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
1356 (sentinel_frame_unwinder): Update.
1357 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
1358 (d10v_frame_unwind): Update.
1359 (d10v_unwind_pc): New function.
1360 (d10v_gdbarch_init): Set unwind_pc.
1362 2003-03-10 Andrew Cagney <cagney@redhat.com>
1364 * gdbarch.h: Re-generate.
1366 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
1368 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
1371 2003-03-08 Mark Kettenis <kettenis@gnu.org>
1373 * gdbarch.sh (save_dummy_frame_tos): Add comment.
1375 2003-03-08 Andrew Cagney <cagney@redhat.com>
1377 * cli-out.c: Update copyright.
1378 (cli_out_data): Define typedef. Use instead of ui_out_data.
1380 2003-03-08 Andrew Cagney <cagney@redhat.com>
1382 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
1385 2003-03-07 Andrew Cagney <cagney@redhat.com>
1387 * gdbarch.sh: Don't generate two macro definitions when an
1388 undefined macro taking no arguments.
1389 * gdbarch.h: Regenerate.
1391 2002-03-07 Michal Ludvig <mludvig@suse.cz>
1393 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
1394 (x86_64_unwind_dummy_id): New functions.
1395 (x86_64_init_abi): Register these two new functions.
1397 2003-03-07 Michal Ludvig <mludvig@suse.cz>
1399 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
1400 (x86_64_skip_prologue): Move prologue detection to
1402 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
1404 2003-03-05 Andrew Cagney <cagney@redhat.com>
1406 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
1407 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
1408 * frame.c (get_prev_frame): Restructure the frame ID unwind code
1409 to use unwind_dummy_id when a dummy frame.
1410 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
1412 * gdbarch.h, gdbarch.c: Regneerate.
1414 2003-03-05 Andrew Cagney <cagney@redhat.com>
1416 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
1417 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
1418 Do not use d10v_read_sp or d10v_read_fp when obtaining register
1421 2003-03-05 Andrew Cagney <cagney@redhat.com>
1423 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
1424 (struct d10v_unwind_cache): Delete field "frameless". Replace
1425 "next_addr" with "sp_offset". Add "r11_offset".
1426 (d10v_frame_unwind_cache): Update.
1427 (prologue_find_regs): Update. When "mv r11, sp", save the
1428 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
1429 RN was saved in r11_offset.
1431 2003-03-05 Andrew Cagney <cagney@redhat.com>
1433 * frame.c (deprecated_update_frame_pc_hack): Also update the the
1434 cached PC value in the next frame.
1436 2003-03-05 Andrew Cagney <cagney@redhat.com>
1438 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
1439 "id_unwind_cache" with "id".
1440 (frame_id_unwind): Delete declaration.
1441 * frame.c (frame_id_unwind): Delete function.
1442 (get_prev_frame): Call the frame id unwind method directly. Store
1443 the returned next frame's ID value in NEXT_FRAME. Note that there
1444 is a problem with the wrong unwind ID being called with the wrong
1447 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
1449 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
1451 2003-03-05 James Ingham <jingham@apple.com>
1452 Daniel Jacobowitz <drow@mvista.com>
1454 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
1455 (auto_cp_abi): New variable.
1456 (current_cp_abi, num_cp_abis): Make static.
1457 (CP_ABI_MAX): Define.
1458 (cp_abis): Turn into an array.
1459 (value_virtual_fn_field): Fix formatting.
1460 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
1462 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
1463 (list_cp_abis, _initialize_cp_abi): New functions.
1464 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
1465 declarations for cp_abis, num_cp_abis, current_cp_abi, and
1466 switch_to_cp_abi. Update prototype for register_cp_abi.
1467 * Makefile.in (cp-abi.o): Update dependencies.
1468 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
1469 instead of switch_to_cp_abi.
1470 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
1472 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
1474 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
1476 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
1478 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
1479 * dwarf2loc.c: Include "regcache.h".
1480 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
1482 * Makefile.in (dwarf2loc.o): Update dependencies.
1484 2003-03-04 Theodore A. Roth <troth@openavr.org>
1486 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
1487 number of io registers reported by remote target is not a multiple of
1490 2003-03-04 David Carlton <carlton@math.stanford.edu>
1492 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
1493 (lookup_symbol_aux_psymtabs): Update call to
1494 lookup_partial_symbol.
1495 (lookup_transparent_type, find_main_psymtab)
1496 (make_symbol_overload_list): Ditto.
1498 2003-03-04 Kazu Hirata <kazu@cs.umass.edu>
1500 * MAINTAINERS (Write after approval): Update my email address.
1502 2003-03-03 Andrew Cagney <cagney@redhat.com>
1504 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
1505 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
1506 predicate. Replace MAX_REGISTER_RAW_SIZE.
1507 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
1508 MAX_REGISTER_VIRTUAL_SIZE.
1509 * regcache.c (legacy_max_register_raw_size): New function.
1510 (legacy_max_register_virtual_size): New function.
1511 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
1512 (MAX_REGISTER_RAW_SIZE): Define.
1513 (legacy_max_register_raw_size): Declare.
1514 (legacy_max_register_virtual_size): Declare.
1515 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1516 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
1517 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1518 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1519 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1520 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1521 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1522 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1523 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1524 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1525 * vax-tdep.c (vax_gdbarch_init): Update.
1526 * v850-tdep.c (v850_gdbarch_init): Update.
1527 * sparc-tdep.c (sparc_gdbarch_init): Update.
1528 * sh-tdep.c (sh_gdbarch_init): Update.
1529 * s390-tdep.c (s390_gdbarch_init): Update.
1530 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1531 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1532 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1533 * mips-tdep.c (mips_gdbarch_init): Update.
1534 * mcore-tdep.c (mcore_gdbarch_init): Update.
1535 * m68k-tdep.c (m68k_gdbarch_init): Update.
1536 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1537 * ia64-tdep.c (ia64_gdbarch_init): Update.
1538 * i386-tdep.c (i386_gdbarch_init): Update.
1539 * hppa-tdep.c (hppa_gdbarch_init): Update.
1540 * h8300-tdep.c (h8300_gdbarch_init): Update.
1541 * frv-tdep.c (frv_gdbarch_init): Update.
1542 * cris-tdep.c (cris_gdbarch_init): Update.
1543 * avr-tdep.c (avr_gdbarch_init): Update.
1544 * arm-tdep.c (arm_gdbarch_init): Update.
1545 * alpha-tdep.c (alpha_gdbarch_init): Update.
1546 * d10v-tdep.c (d10v_gdbarch_init): Do not set
1547 max_register_raw_size or max_register_virtual_size.
1549 2003-03-03 David Carlton <carlton@math.stanford.edu>
1551 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
1552 SYMBOL_MATCHES_NAME, add comment.
1553 (SYMBOL_MATCHES_NATURAL_NAME): New.
1554 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
1555 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
1556 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
1557 * symtab.c (lookup_partial_symbol): Use
1558 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
1560 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
1561 SYMBOL_MATCHES_NAME.
1564 2003-03-03 David Carlton <carlton@math.stanford.edu>
1566 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
1567 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
1568 by regexp matching against SYMBOL_NATURAL_NAME.
1570 2003-03-03 David Carlton <carlton@math.stanford.edu>
1572 * linespec.c (find_method): Extract code into collect_methods.
1573 (collect_methods): New.
1575 2003-03-02 Mark Kettenis <kettenis@gnu.org>
1577 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
1580 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
1581 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1583 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
1585 * arch-utils.c (generic_register_byte): Fix to use the loop index
1586 and not regnum when summing the size of all registers up to regnum.
1588 2003-03-01 Andrew Cagney <cagney@redhat.com>
1590 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
1591 FRAME_INIT_SAVED_REGS.
1592 * gdbarch.h, gdbarch.c: Regenerate.
1593 * stack.c (frame_info): Update.
1594 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
1595 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
1596 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
1597 * ns32k-tdep.c (ns32k_pop_frame): Update.
1598 * mips-tdep.c (mips_pop_frame): Update.
1599 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
1600 * ia64-tdep.c (ia64_frame_chain): Update.
1601 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
1602 (ia64_frameless_function_invocation): Update.
1603 (ia64_init_extra_frame_info): Update.
1604 (ia64_pop_frame_regular): Update.
1605 * frame.h (struct frame_info): Update comment.
1606 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
1607 * frame.c (frame_saved_regs_register_unwind): Update.
1608 (frame_saved_regs_register_unwind): Update.
1609 (deprecated_generic_get_saved_register): Update.
1610 * cris-tdep.c: Update comment.
1611 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
1613 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1614 * x86-64-tdep.c (x86_64_init_abi): Update.
1615 * vax-tdep.c (vax_gdbarch_init): Update.
1616 * v850-tdep.c (v850_gdbarch_init): Update.
1617 * sparc-tdep.c (sparc_gdbarch_init): Update.
1618 * sh-tdep.c (sh_gdbarch_init): Update.
1619 * s390-tdep.c (s390_gdbarch_init): Update.
1620 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1621 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1622 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1623 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1624 * mips-tdep.c (mips_gdbarch_init): Update.
1625 * mcore-tdep.c (mcore_gdbarch_init): Update.
1626 * m68k-tdep.c (m68k_gdbarch_init): Update.
1627 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1628 * ia64-tdep.c (ia64_gdbarch_init): Update.
1629 * i386-tdep.c (i386_gdbarch_init): Update.
1630 * frv-tdep.c (frv_gdbarch_init): Update.
1631 * avr-tdep.c (avr_gdbarch_init): Update.
1632 * arm-tdep.c (arm_gdbarch_init): Update.
1633 * alpha-tdep.c (alpha_gdbarch_init): Update.
1635 2003-03-01 Andrew Cagney <cagney@redhat.com>
1637 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
1638 option enum and switch. When no windows, set the interpreter to
1641 2003-03-01 Andrew Cagney <cagney@redhat.com>
1643 * main.c (captured_main): Replace magic option characters with an
1646 2003-03-01 Andrew Cagney <cagney@redhat.com>
1648 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
1649 INIT_EXTRA_FRAME_INFO.
1650 * gdbarch.h, gdbarch.c: Regenerate.
1651 * arm-tdep.c: Update comments.
1652 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
1653 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
1654 * frame.h, avr-tdep.c: Ditto.
1655 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
1656 (create_new_frame, legacy_get_prev_frame): Ditto.
1657 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
1658 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
1659 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
1660 deprecated_init_extra_frame_info instead of init_extra_frame_info.
1661 * x86-64-tdep.c (x86_64_init_abi): Ditto.
1662 * v850-tdep.c (v850_gdbarch_init): Ditto.
1663 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1664 * sh-tdep.c (sh_gdbarch_init): Ditto.
1665 * s390-tdep.c (s390_gdbarch_init): Ditto.
1666 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
1667 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1668 * mips-tdep.c (mips_gdbarch_init): Ditto.
1669 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1670 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1671 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1672 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
1673 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
1674 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1675 * frv-tdep.c (frv_gdbarch_init): Ditto.
1676 * cris-tdep.c (cris_gdbarch_init): Ditto.
1677 * avr-tdep.c (avr_gdbarch_init): Ditto.
1678 * arm-tdep.c (arm_gdbarch_init): Ditto.
1679 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1680 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1682 2003-03-01 Andrew Cagney <cagney@redhat.com>
1684 * gdbarch.sh (register_type): New function with predicate.
1685 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
1686 * gdbarch.h, gdbarch.c: Re-generate.
1687 * arch-utils.c (generic_register_byte): Use generic_register_size.
1688 (generic_register_size): When available, use
1689 gdbarch_register_type.
1690 * regcache.c (init_regcache_descr): When available, initialize the
1691 register type array using gdbarch_register_type. If the
1692 architecture supplies gdbarch_register_type, do not use the legacy
1694 * d10v-tdep.c (d10v_register_type): Replace
1695 d10v_register_virtual_type.
1696 (d10v_gdbarch_init): Set register_type instead of
1697 register_virtual_type.
1699 2003-03-01 Andrew Cagney <cagney@redhat.com>
1701 * Makefile.in (ax-gdb.o): Update dependencies.
1702 * ax-gdb.c: Include "regcache.h".
1703 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
1704 * findvar.c (value_of_register): Ditto.
1705 * infcmd.c (default_print_registers_info): Ditto.
1707 2003-03-01 Mark Kettenis <kettenis@gnu.org>
1709 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
1710 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1712 2003-03-01 Mark Kettenis <kettenis@gnu.org>
1714 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
1717 2003-02-28 Daniel Jacobowitz <drow@mvista.com>
1719 * Makefile.in (dwarf2loc.o): Update dependencies.
1720 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
1721 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
1722 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
1723 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
1724 (locexpr_tracepoint_var_ref): New function.
1725 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
1727 2003-02-28 Andrew Cagney <cagney@redhat.com>
1729 * regcache.c (register_size): New function.
1730 * regcache.h (register_size): Declare
1731 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
1732 max_register_size instead of MAX_REGISTER_RAW_SIZE.
1734 2003-02-28 David Carlton <carlton@math.stanford.edu>
1736 * linespec.c (decode_compound): Extract code into find_method.
1739 2003-02-28 J. Brobecker <brobecker@gnat.com>
1741 * Makefile.in: Add rules to build and link in observer.o.
1743 2003-02-27 J. Brobecker <brobecker@gnat.com>
1745 * observer.c: Minor comments edits.
1747 2003-02-27 J. Brobecker <brobecker@gnat.com>
1749 * observer.h, observer.c: New file.
1751 2003-02-27 Andrew Cagney <cagney@redhat.com>
1753 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
1755 2003-02-27 Stephane Carrez <stcarrez@nerim.fr>
1757 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
1758 (M6812_OP_STS_EXT): Likewise.
1759 (m6811_prologue): Use the above to recognize prologue.
1760 (m6812_prologue): Likewise.
1762 2003-02-27 David Carlton <carlton@math.stanford.edu>
1764 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
1766 (compare_psymbols): Ditto.
1767 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
1769 2003-02-27 Michael Snyder <msnyder@redhat.com>
1771 * f-lang.c (build_fortran_types): New function.
1772 (_initialize_f_language): Gdbarch-register built-in fortran types.
1773 * doublest.c (extract_floating): Fix warning text.
1775 2003-02-27 Andrew Cagney <cagney@redhat.com>
1777 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
1778 predicate. Replaces PUSH_DUMMY_FRAME.
1779 * gdbarch.h, gdbarch.c: Regnerate.
1780 * valops.c (hand_function_call): Update. Call
1781 generic_push_dummy_frame directly.
1782 * vax-tdep.c (vax_gdbarch_init): Update.
1783 * sparc-tdep.c (sparc_gdbarch_init): Update.
1784 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1785 * m68k-tdep.c (m68k_gdbarch_init): Update.
1786 * hppa-tdep.c (hppa_gdbarch_init): Update.
1787 * alpha-tdep.c (alpha_gdbarch_init): Update.
1788 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1789 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1790 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
1791 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
1792 push_dummy_frame to generic_push_dummy_frame.
1793 * v850-tdep.c (v850_gdbarch_init): Ditto.
1794 * sh-tdep.c (sh_gdbarch_init): Ditto.
1795 * s390-tdep.c (s390_gdbarch_init): Ditto.
1796 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1797 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1798 * mips-tdep.c (mips_gdbarch_init): Ditto.
1799 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1800 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1801 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1802 * i386-tdep.c (i386_gdbarch_init): Ditto.
1803 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1804 * frv-tdep.c (frv_gdbarch_init): Ditto.
1805 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1806 * cris-tdep.c (cris_gdbarch_init): Ditto.
1807 * avr-tdep.c (avr_gdbarch_init): Ditto.
1808 * arm-tdep.c (arm_gdbarch_init): Ditto.
1810 2003-02-26 Kevin Buettner <kevinb@redhat.com>
1812 * mips-tdep.c (show_mips_abi): New function.
1813 (_initialize_mips_tdep): Use show_mips_abi() to implement the
1814 command ``show mips abi''.
1816 2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
1818 From Elena Zannoni <ezannoni@redhat.com>
1819 * dbxread.c (process_one_symbol): Only record line 0 if one or
1820 more sline entries have been seen for the function.
1822 2003-02-26 Michael Chastain <mec@shout.net>
1824 * configure: Regenerate with autoconf 000227.
1826 2003-02-26 Michael Chastain <mec@shout.net>
1829 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
1830 for old libc5/glibc.
1831 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
1833 2003-02-26 Kris Warkentin <kewarken@qnx.com>
1835 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
1836 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
1838 2003-02-26 Michael Chastain <mec@shout.net>
1840 * configure.in: New variable HAVE_UINTPTR_T.
1841 * configure, config.in: Regenerated.
1843 2003-02-26 Daniel Jacobowitz <drow@mvista.com>
1846 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
1848 2003-02-25 Andrew Cagney <cagney@redhat.com>
1850 * frame.c (get_prev_frame): Add comment on check for
1851 inside_entry_func. Only check for inside_entry_file when not a
1852 dummy and not a sentinel. Check that the new frame is not inner
1855 2003-02-25 Andrew Cagney <cagney@redhat.com>
1857 * frame.c (frame_debug): New variable.
1858 (_initialize_frame): Add "set/show debug frame" command.
1859 (get_prev_frame): When frame_debug, print reason why unwind
1862 2003-02-25 Michael Chastain <mec@shout.net>
1864 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
1865 to avoid uintptr_t definition problems.
1867 2003-02-25 David Carlton <carlton@math.stanford.edu>
1869 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
1870 (SYMBOL_LINKAGE_NAME): Ditto.
1871 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
1872 SYMBOL_LINKAGE_NAME.
1873 (struct general_symbol_info): Expand comment.
1874 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
1875 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
1876 (SYMBOL_MATCHES_REGEXP): Ditto.
1877 * symtab.c (symbol_natural_name): New function.
1878 * objfiles.h: Replace all uses of SYMBOL_NAME by
1879 DEPRECATED_SYMBOL_NAME.
1880 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
1881 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
1882 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
1883 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
1884 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
1885 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
1886 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
1887 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
1888 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
1889 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
1891 * ada-exp.y: Update copyright.
1892 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
1893 * cp-valprint.c: Ditto.
1895 2003-02-25 Jeff Johnston <jjohnstn@redhat.com>
1897 * infptrace.c (detach): Do not flag error if ptrace detach fails
1898 and errno is set to ESRCH.
1900 2003-02-24 Andrew Cagney <cagney@redhat.com>
1902 * infptrace.c (udot_info): Change type of udot_off to long. Use
1903 paddr when printing udot_off's value.
1905 2003-02-24 David Carlton <carlton@math.stanford.edu>
1907 * symtab.c (make_symbol_overload_list): Only read in partial
1908 symtabs containing a matching partial symbol.
1910 2003-02-24 David Carlton <carlton@math.stanford.edu>
1912 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
1913 do the comparison, not strcmp.
1914 * symfile.c (compare_psymbols): Ditto.
1915 * defs.h: Declare strcmp_iw_ordered.
1916 * utils.c (strcmp_iw_ordered): New function.
1918 2003-02-24 Jim Blandy <jimb@redhat.com>
1920 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
1921 support, shared libs): Remove my name from here, to better reflect
1924 2003-02-24 Kris Warkentin <kewarken@qnx.com>
1926 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
1927 (target_ops): Add to_have_continuable_watchpoint.
1928 * target.c (update_current_target): Add INHERIT line for
1929 to_have_continuable_watchpoint.
1930 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
1931 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
1932 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
1933 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
1935 2003-02-24 Elena Zannoni <ezannoni@redhat.com>
1937 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
1940 2003-02-24 Kris Warkentin <kewarken@qnx.com>
1942 * solib.c (solib_open): Call target defined search function after
1943 failing with solib-search-path.
1944 * solist.h (target_so_ops): Add find_and_open_solib function hook and
1945 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
1947 2003-02-24 Kris Warkentin <kewarken@qnx.com>
1949 * MAINTAINERS: Add myself to Write After section.
1951 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1953 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
1955 2003-02-22 Stephane Carrez <stcarrez@nerim.fr>
1957 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
1958 (m68hc11_add_reggroups): New function.
1959 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
1960 (m68hc11_gdbarch_init): Install the reggroups.
1961 (_initialize_m68hc11_tdep): Initialize them.
1963 2003-02-21 James E Wilson <wilson@tuliptree.org>
1965 * MAINTAINERS: Update my email address.
1967 2003-02-21 David Carlton <carlton@math.stanford.edu>
1969 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
1971 2003-02-21 Daniel Jacobowitz <drow@mvista.com>
1973 Based on a patch from Daniel Berlin (dberlin@dberlin.org).
1974 * symtab.h: Add opaque declarations of struct axs_value and
1976 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
1977 (struct location_funcs): New type.
1978 (struct symbol): Add "loc" to aux_value.
1979 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
1980 * dwarf2read.c: Include "dwarf2expr.h".
1981 (dwarf2_symbol_mark_computed): New function.
1982 (read_func_scope): Use it.
1983 (var_decode_location): New function.
1984 (new_symbol): Use it.
1985 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
1987 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
1988 (dwarf2expr_h, dwarf2loc_h): New variables.
1989 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
1990 (dwarf2expr.o, dwarf2loc.o): New rules.
1991 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
1992 * buildsym.c (finish_block): Handle LOC_COMPUTED and
1994 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
1995 * m2-exp.y (yylex): Likewise.
1996 * printcmd.c (address_info, print_frame_args): Likewise.
1997 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
1998 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
1999 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
2000 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
2001 * symtab.c (lookup_block_symbol): Likewise.
2003 2003-02-20 Adam Fedor <fedor@gnu.org>
2005 * symtab.h: Remove objc_specific struct
2006 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
2007 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
2008 Have language_objc use cplus_specific struct.
2010 2003-02-20 Tom Tromey <tromey@redhat.com>
2012 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
2013 TYPE_NAME, when printing a String value. PR java/1075.
2015 2003-02-20 Adam Fedor <fedor@gnu.org>
2017 * objc-lang.h (find_methods): Remove declaration.
2018 * objc-lang.c (find_methods): Make static.
2020 2003-02-20 Christopher Faylor <cgf@redhat.com>
2022 * win32-nat.c (get_image_name): Check return value from
2024 (child_xfer_memory): Ditto.
2026 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
2028 * configure.in (TARGET_SYSTEM_ROOT): Set default to
2029 ${exec_prefix}/${target_alias}/sys-root. Match explicit
2030 '${exec_prefix}' (in addition to the expansion thereof) as
2032 * configure: Rebuilt.
2034 2003-02-20 David Carlton <carlton@math.stanford.edu>
2036 * symtab.c (search_symbols): Revert the search_symbols part of my
2037 2002-12-23 patch. Add comment.
2039 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
2041 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
2042 * dbxread.c (elfstab_build_psymtabs): Don't call
2043 install_minimal_symbols.
2044 (stabsect_build_psymtabs): Likewise.
2045 * elfread.c (elf_symfile_read): Call install_minimal_symbols
2047 * somread.c (som_symfile_read): Call install_minimal_symbols
2048 and do_cleanups earlier.
2049 * nlmread.c (nlm_symfile_read): Likewise.
2050 * mdebugread.c (elfmdebug_build_psymtabs): Call
2051 install_minimal_symbols and make appropriate cleanups.
2053 2003-02-20 Kevin Buettner <kevinb@redhat.com>
2055 * solib.c (reload_shared_libraries): New function.
2056 (_initialize_solib): Add callbacks for ``set solib-search-path''
2057 and ``set solib-absolute-prefix''.
2059 2003-02-20 David Carlton <carlton@math.stanford.edu>
2061 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
2063 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
2064 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
2065 * ada-typeprint.c (ada_typedef_print): Ditto.
2066 * ax-gdb.c (gen_var_ref): Ditto.
2067 * breakpoint.c (print_one_breakpoint): Ditto.
2068 * buildsym.c (finish_block): Ditto.
2069 * c-valprint.c (c_val_print): Ditto.
2070 * expprint.c (print_subexp): Ditto.
2071 * findvar.c (locate_var_value): Ditto.
2072 * infcmd.c (jump_command): Ditto.
2073 * linespec.c (decode_line_2, decode_compound): Ditto.
2074 * maint.c (maintenance_translate_address): Ditto.
2075 * objc-lang.c (compare_selectors, compare_classes): Ditto.
2076 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
2078 * p-valprint.c (pascal_val_print): Ditto.
2079 * stabsread.c (define_symbol): Ditto.
2080 * stack.c (print_frame, frame_info, print_block_frame_locals)
2081 (print_frame_arg_vars, return_command): Ditto.
2082 * symfile.c (compare_symbols, compare_psymbols): Ditto.
2083 * symmisc.c (print_symbol): Ditto.
2084 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
2085 (compare_search_syms, print_symbol_info, print_msymbol_info)
2086 (rbreak_command): Ditto.
2087 * tracepoint.c (tracepoints_info): Ditto.
2088 * typeprint.c (typedef_print): Ditto.
2089 * valops.c (value_of_variable, hand_function_call): Ditto.
2090 * cli/cli-cmds.c (edit_command, list_command): Ditto.
2091 * ada-typeprint.c: Update Copyright.
2092 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
2093 * tracepoint.c, cli/cli-cmds.c: Ditto.
2095 2003-02-20 Kevin Buettner <kevinb@redhat.com>
2097 * frame.c (generic_unwind_get_saved_register): Make non-static.
2098 * frame.h (generic_unwind_get_saved_register): Declare.
2099 * mips-tdep.c (read_next_frame_reg): Fetch register from
2100 current regcache when frame is NULL.
2101 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
2103 (mips_get_saved_register): Call generic_unwind_get_saved_register()
2104 instead of frame_register_unwind().
2106 2003-02-20 Andrew Cagney <ac131313@redhat.com>
2108 * remote-sim.c (gdbsim_insert_breakpoint)
2109 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
2112 2003-02-20 Andrew Cagney <ac131313@redhat.com>
2114 * remote.c (_initialize_remote): Add commands "set/show remote
2115 hardware-watchpoint-limit" and "set/show remote
2116 hardware-breakpoint-limit".
2117 (remote_hw_watchpoint_limit): Initialize to -1.
2118 (remote_hw_breakpoint_limit): Ditto.
2119 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
2121 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
2123 * coff-pe-read.c: New file - support reading of minimal symbols from a
2124 portable executable using the export table.
2125 * coff-pe-read.h: New file.
2126 * coffread.c: Include coff-pe-read.h.
2127 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
2128 debugging symbols found.
2129 * Makefile.in (SFILES): Add coff-pe-read.o.
2130 (coff_pe_read_h): Define.
2131 (COMMON_OBS): Add coff-pe-read.o.
2132 (coffread.o): Add coff_pe_read_h dependency.
2133 (coff-pe-read.o): New target.
2135 2003-02-19 David Carlton <carlton@math.stanford.edu>
2137 * Makefile.in (SFILES): Add block.c.
2139 (COMMON_OBS): Add block.o.
2141 (x86-64-tdep.o): Add $(block_h).
2142 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
2143 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
2144 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
2145 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
2146 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
2147 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
2148 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
2149 * value.h: Add opaque declaration for struct block.
2150 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
2151 * ada-lang.h: Ditto.
2152 * x86-64-tdep.c: #include "block.h"
2153 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
2154 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
2155 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
2156 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
2157 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
2158 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
2159 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
2160 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
2161 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
2162 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
2163 * symtab.c (block_function): Ditto.
2164 (contained_in): Ditto.
2165 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
2166 block.h. Add opaque declaration for struct block.
2167 * symtab.h: Move block_function and contained_in declarations to
2168 block.h. Add opaque declarations for struct block, struct
2170 (struct block): Move to block.h.
2171 (struct blockvector): Ditto.
2172 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
2173 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
2174 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
2175 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
2176 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
2178 * block.c: New file.
2179 * block.h: New file.
2181 2003-02-19 Theodore A. Roth <troth@openavr.org>
2183 * avr-tdep.c (avr_extract_return_value): Remove function.
2184 (avr_store_return_value): Remove function.
2185 (avr_extract_struct_value_address): Remove function.
2186 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
2188 2003-02-19 Andrew Cagney <ac131313@redhat.com>
2190 * rs6000-tdep.c: Include "gdb_assert.h".
2191 (registers_e500): Add "acc" and "spefscr".
2192 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
2193 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
2194 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
2196 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
2198 2003-02-18 Keith Seitz <keiths@redhat.com>
2200 * Makefile.in: Add gdbtk-interps.c.
2202 2003-02-18 Kevin Buettner <kevinb@redhat.com>
2204 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
2205 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
2207 2003-02-18 Andrew Cagney <cagney@redhat.com>
2209 * symtab.h (struct objfile): Add opaque declaration.
2211 2003-02-18 Elena Zannoni <ezannoni@redhat.com>
2213 From Jim Ingham <jingham@apple.com>:
2214 * dbxread.c (process_one_symbol): Use last_function_start rather
2215 than function_start_offset to find the real beginning of the
2216 current function. The latter is just the text section offset on
2217 some systems, the former is always the real function start.
2219 2003-02-17 Andrew Cagney <cagney@redhat.com>
2221 * configure.in: Revert ${target} != ${host}.
2223 2003-02-17 Andrew Cagney <ac131313@redhat.com>
2225 * configure.in (Makefile): Use the test ${target} != ${host},
2226 instead of the absence of the "nm.h" file, to determine of the
2227 configuration non-native.
2228 * configure: Regenerate.
2230 2003-02-14 Elena Zannoni <ezannoni@redhat.com>
2232 From Brian Ford <ford@vss.fsi.com>
2234 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
2235 conditionalize tui_active test.
2236 (lookup_cmd_1): Ditto.
2238 2003-02-14 Mark Kettenis <kettenis@gnu.org>
2240 * configure.in: Add check for _etext.
2241 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
2243 * config.in, configure: regenerated.
2245 2003-02-14 Daniel Jacobowitz <drow@mvista.com>
2247 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
2249 2003-02-14 Andrew Cagney <ac131313@redhat.com>
2251 * main.c (tui_version): Delete variable.
2252 (captured_main): When --tui, set interpreter_p to "tui" instead of
2253 enabling tui_version.
2254 * printcmd.c (display_command) [TUI]: Test tui_active instead of
2256 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
2257 * cli/cli-cmds.c (disassemble_command): Ditto.
2258 * defs.h (tui_version): Delete declaration.
2259 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
2260 (tui-interp.o): Add rules.
2261 (SUBDIR_TUI_OBS): Add "tui-interp.o".
2263 2003-02-14 Christopher Faylor <cgf@redhat.com>
2265 * win32-nat.c (register_loaded_dll): Correctly set address range for
2268 2003-02-12 Jason Molenda (jmolenda@apple.com)
2270 * symmisc.c (print_objfile_statistics): Include information about
2271 the number of psymtabs and symtabs in each object file.
2273 2003-02-13 Keith R Seitz <keiths@redhat.com>
2275 * main.h (struct captured_main_args): Add interpreter_p.
2276 * main.c (captured_main): Initialize interpreter_p from context.
2277 * gdb.c (main): Set interpreter_p argument.
2278 * Makefile.in (gdb.o): Add dependency for interps.h.
2280 2003-02-12 Andrew Cagney <ac131313@redhat.com>
2282 * event-top.c (cli_command_loop): Delete declaration.
2283 (_initialize_event_loop): Delete function setting event_loop_hook.
2284 * event-top.h (cli_command_loop): Declare. Update copyright.
2285 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
2286 * interps.c (current_interp_command_loop): When event_loop_p, call
2289 2003-02-12 Andrew Cagney <ac131313@redhat.com>
2291 * interps.h (interp_command_loop_ftype): Change return type to
2294 2003-02-12 Michal Ludvig <mludvig@suse.cz>
2296 * x86-64-tdep.c (x86_64_extract_return_value)
2297 (x86_64_store_return_value): Use regcache instead of regbuf.
2298 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
2299 * x86-64-linux-nat.c (fill_gregset): Use regcache.
2301 2003-02-11 Andrew Cagney <ac131313@redhat.com>
2303 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
2304 * aclocal.m4: Regenerate.
2305 * configure: Regenerate.
2307 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
2308 TCL_LD_SEARCH_FLAGS.
2310 2003-02-10 Michal Ludvig <mludvig@suse.cz>
2312 * dwarf2cfi.c: Reindented.
2314 2003-02-09 Andrew Cagney <ac131313@redhat.com>
2316 * interps.c (clear_interpreter_hooks): Convert function definition
2319 2003-02-07 David Carlton <carlton@math.stanford.edu>
2321 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
2323 2003-02-07 Kevin Buettner <kevinb@redhat.com>
2325 * gdbtypes.h (struct main_type): Move ``length'' field from here...
2326 (struct type): ...to here.
2327 (TYPE_LENGTH): Adjust to reflect different location of ``length''
2329 * gdbtypes.c (make_qualified_type): Set length on newly created type.
2330 (replace_type): Set length on all type variants for a given type.
2332 2003-02-07 Andrew Cagney <ac131313@redhat.com>
2334 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
2336 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
2338 2003-02-06 Andrew Cagney <ac131313@redhat.com>
2340 * Makefile.in (symm-nat.o): Update dependencies.
2341 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
2342 (lynx-nat.o, ia64-linux-nat.): Ditto.
2343 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
2344 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
2345 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
2347 * Makefile.in (inflow_h): Define.
2348 (procfs.o, inflow.o, procfs.o): Update dependencies.
2349 * inftarg.c (child_stop): Delete extern declaration of
2350 inferior_process_group. Include "inflow.h".
2351 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
2352 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
2353 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
2354 (our_process_group, inferior_process_group): Extern declarations.
2356 * procfs.c: Include "gdb_assert.h".
2358 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
2359 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
2360 * jv-typeprint.c (java_type_print_base): Ditto.
2361 * typeprint.c (typedef_print): Eliminate STREQ.
2362 * cli/cli-script.c (define_command, define_command): Ditto.
2363 * main.c (captured_main): Ditto.
2364 * values.c (lookup_internalvar): Ditto.
2365 * utils.c (safe_strerror, parse_escape): Eliminate assignment
2366 within `if' conditional.
2367 * linespec.c (decode_line_2): Ditto.
2368 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
2369 (bfd_openw_with_cleanup): Ditto.
2371 2003-02-07 Mark Kettenis <kettenis@gnu.org>
2373 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
2374 legacy_extract_return_value and store_return_value to
2375 legacy_return_value.
2377 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
2379 * win32-nat.c (get_relocated_section_addrs): New function. Find
2380 section load addresses for symbol handling in relocated DLLs.
2381 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
2383 2003-02-05 Fred Fish <fnf@intrinsity.com>
2385 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
2387 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
2389 (angel_RDI_info): Ditto.
2390 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
2392 (threads_continue_all_with_signals): Ditto.
2394 2003-02-05 Jim Ingham <jingham@apple.com>
2395 Keith Seitz <keiths@redhat.com>
2396 Elena Zannoni <ezannoni@redhat.com>
2397 Andrew Cagney <ac131313@redhat.com>
2399 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
2400 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
2401 (SUBDIR_MI_OBS): Add "mi-interp.o".
2402 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
2403 (SFILES): Add "interps.c".
2404 (COMMON_OBS): Add "interps.o".
2405 (interps_h, mi_main_h): Define.
2406 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
2407 (mi-main.o, main.o, event-top.o): Update dependencies.
2408 * cli/cli-interp.c: New file.
2409 * interps.h, interps.c: New files.
2410 * top.c: (gdb_init): Don't install the default interpreter, handed
2412 * main.c: Include "interps.h".
2413 (interpreter_p): Note that it should malloc'ed.
2414 (captured_command_loop): Call current_interp_command_loop.
2415 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
2416 xfree and xstrdup when updating interpreter_p. Install the
2417 default interpreter. Add hack to stop mi1's copyright notice
2419 * event-top.h (gdb_setup_readline): Declare.
2420 (gdb_disable_readline): Declare.
2421 * event-top.c: Include "interps.h".
2422 (display_gdb_prompt): Call current_interp_display_prompt_p.
2423 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
2424 gdb_stdlog, and gdb_stdtarg.
2425 (_initialize_event_loop): Don't call gdb_setup_readline.
2426 * cli-out.c (cli_out_set_stream): New function.
2427 * cli-out.h (cli_out_set_stream): Declare.
2429 2003-02-06 Mark Kettenis <kettenis@gnu.org>
2431 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
2432 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
2433 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
2434 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
2435 config/i386/i386v42mp.mt: Removed.
2437 2003-02-05 Mark Kettenis <kettenis@gnu.org>
2439 * configure.tgt (*-*-solaris*): Set gdb_osabi to
2442 2003-02-05 Michael Chastain <mec@shout.net>
2444 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
2445 2.12.1 and earlier versions.
2447 2003-02-05 Andrew Cagney <ac131313@redhat.com>
2449 Remove orphaned hosts, targets and files.
2450 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
2451 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
2452 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
2453 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
2454 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
2455 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
2456 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
2457 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
2458 * config/sparc/tm-sp64sim.h: Delete.
2459 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
2461 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
2462 mips*-dec-mach3* targets.
2464 2003-02-04 Michael Chastain <mec@shout.net>
2466 * NEWS: Fix typo: sepcifying -> specifying.
2468 2003-02-04 Michael Chastain <mec@shout.net>
2470 * dwarfread.c: Add documentation on the state of dwarf-1,
2471 looking towards obsoletion.
2473 2003-02-03 Michael Chastain <mec@shout.net>
2475 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
2476 gdb/testsuite/gdb.c++/pr-1023.exp.
2478 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2480 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
2481 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
2483 * utils.c (init_page_info): Delete reference to MPW in comments.
2484 * main.c (captured_main): Delete #ifdef MPW.
2486 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2488 * NEWS: Note that the m32r-*-elf* is obsolete.
2489 * monitor.c (monitor_expect): Obsolete reference to m32r.
2490 * configure.tgt: Mark m32r-*-elf* as obsolete.
2491 * MAINTAINERS: Mark m32k as obsolete.
2492 * m32r-rom.c: Obsolete file.
2493 * config/m32r/m32r.mt: Obsolete file.
2494 * config/m32r/tm-m32r.h: Obsolete file.
2495 * m32r-stub.c: Obsolete file.
2496 * m32r-tdep.c: Obsolete file.
2498 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2500 * NEWS: Mention that the z8k-zilog-none is obsolete.
2501 * MAINTAINERS: Mark z8k as obsolete.
2502 * configure.tgt: Obsolete the z8k-*-coff* target.
2503 * config/z8k/z8k.mt: Obsolete file.
2504 * config/z8k/tm-z8k.h: Obsolete file.
2505 * z8k-tdep.c: Obsolete file.
2507 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2509 * NEWS: Mention that the mn10200-elf is obsolete.
2510 * configure.tgt: Obsolete mn10200-*-* target.
2511 * breakpoint.c (update_breakpoints_after_exec): Update comment to
2512 mention that the mn10200 is obsolete.
2513 * breakpoint.h: Ditto.
2514 * MAINTAINERS: Mark the mn10200-elf as obsolete.
2515 * config/mn10200/mn10200.mt: Obsolete file.
2516 * config/mn10200/tm-mn10200.h: Obsolete file.
2517 * mn10200-tdep.c: Obsolete file.
2519 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2521 * MAINTAINERS: Mark h8500 as obsolete.
2522 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
2523 * findvar.c (value_from_register): Ditto.
2524 * h8500-tdep.c: Mark file as obsolete.
2525 * config/h8500/h8500.mt: Ditto.
2526 * config/h8500/tm-h8500.h: Ditto.
2527 * NEWS: Mention that h8500 is obsolete.
2529 2003-02-04 David Carlton <carlton@math.stanford.edu>
2531 * objfiles.c (allocate_objfile): Always set name. Add comment at
2533 * jv-lang.c (get_dynamics_objfile): Add comment.
2535 2003-02-04 David Carlton <carlton@math.stanford.edu>
2537 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
2538 * printcmd.c (build_address_symbolic): Replace uses of
2539 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
2540 SYMBOL_NAME, and asm_demangle.
2543 2003-02-04 David Carlton <carlton@math.stanford.edu>
2545 * linespec.c (decode_compound): Extract code into
2547 (lookup_prefix_sym): New function.
2549 2003-02-04 David Carlton <carlton@math.stanford.edu>
2551 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
2552 FLOAT_COERCION_BADNESS.
2553 * gdbtypes.c (rank_one_type): Replace all uses of
2554 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
2556 2003-02-04 Jim Blandy <jimb@redhat.com>
2558 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
2559 section, let dwarf_macinfo_section point to it, not
2562 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
2564 Pointed out by Anton Blanchard <anton@samba.org>.
2565 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
2566 (ppc_linux_at_sigtramp_return_path): Use it.
2568 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
2570 * defs.h (streq): Add prototype.
2571 * utils.c (streq): New function.
2573 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
2574 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
2575 * mdebugread.c (new_symbol): Likewise.
2576 * stabsread.c (define_symbol): Likewise.
2577 * coffread.c (process_coff_symbol): Likewise.
2578 * dwarfread.c (new_symbol): Likewise.
2580 * minsyms.c (prim_record_minimal_symbol_and_info): Use
2581 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
2583 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
2584 SYMBOL_INIT_DEMANGLED_NAME.
2585 * objfiles.c: Include "hashtab.h".
2586 (allocate_objfile): Call htab_set_functions_ex for the
2587 demangled_names_hash.
2588 (free_objfile): Call htab_delete for the demangled_names_hash.
2589 * objfiles.h (struct htab): Add declaration.
2590 (struct objfile): Add demangled_names_hash.
2591 * symfile.c: Include "hashtab.h".
2592 (reread_symbols): Call htab_delete for the demangled_names_hash.
2593 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
2594 SYMBOL_NAME in the bcache.
2595 * symtab.c: Include "hashtab.h". Update comments.
2596 (create_demangled_names_hash, symbol_set_names): New functions.
2597 (symbol_find_demangled_name): New function, broken out from
2598 symbol_init_demangled_names.
2599 (symbol_init_demangled_names): Use it.
2600 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
2601 (SYMBOL_SET_NAMES): New macro.
2602 (symbol_set_names): Add prototype.
2604 2003-02-03 Jim Blandy <jimb@redhat.com>
2606 Use a single, consistent representation for an empty minimal
2607 symbol table in an objfile.
2608 * objfiles.c (terminate_minimal_symbol_table): New function.
2609 (allocate_objfile): Call it.
2610 * objfiles.h (terminate_minimal_symbol_table): New declaration.
2611 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
2613 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
2614 objfile has minimal symbols, compare minimal_symbol_count to zero,
2615 instead of comparing msymbols with NULL.
2616 * objfiles.c (have_minimal_symbols): Same.
2617 * solib-sunos.c (solib_add_common_symbols): Call
2618 terminate_minimal_symbol_table.
2619 * symfile.c (reread_symbols): Same.
2621 2003-02-03 Kevin Buettner <kevinb@redhat.com>
2623 * s390-tdep.c (s390_address_class_type_flags)
2624 (s390_address_class_type_flags_to_name)
2625 (s390_address_class_name_to_type_flags): New functions.
2626 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
2627 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
2629 2003-02-03 Michael Snyder <msnyder@redhat.com>
2631 * arm-tdep.c: Fix spell-o in comment.
2633 2003-02-03 Michal Ludvig <mludvig@suse.cz>
2635 * dwarf2cfi.c (pointer_encoding): Added new parameter.
2636 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
2637 error messages to contain BFD filename.
2639 2003-02-02 Elena Zannoni <ezannoni@redhat.com>
2641 Fix PR gdb/742 gdb/743 gdb/877
2642 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
2643 (do_mixed_source_and_assembly): Use
2644 make_cleanup_ui_out_tuple_begin_end and
2645 make_cleanup_ui_out_tuple_begin_end.
2646 (do_mixed_source_and_assembly): Ditto.
2647 * thread.c (do_captured_list_thread_ids): Ditto.
2648 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
2649 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
2650 ui_out_tuple_end): Delete prototypes.
2651 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
2652 ui_out_list_end, ui_out_tuple_end): Delete.
2654 From Kevin Buettner <kevinb@redhat.com>:
2655 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
2656 * ui-out.c (make_cleanup_ui_out_table_begin_end)
2657 (do_cleanup_table_end): New functions.
2658 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
2659 Use cleanups to invoke_ui_out_tuple_end().
2660 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
2661 * cli/cli-setshow.c (cmd_show_list): Use
2662 make_cleanup_ui_out_tuple_begin_end.
2664 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2666 * frame.c (frame_unwind_register): New function.
2667 (frame_unwind_unsigned_register): Use.
2668 (frame_unwind_signed_register): Use.
2669 (frame_read_register): New function.
2670 * frame.h (frame_unwind_register): Declare.
2671 (frame_read_register): Declare.
2673 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
2674 and frame_unwind_register instead of read_memory, write_register
2675 and deprecated_write_register_bytes.
2677 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2679 * frame.h: Note that namelen can be negative.
2680 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
2683 * NEWS: Mention that the d10v's `regs' command is deprecated.
2684 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
2685 (d10v_print_registers_info): New function.
2686 (show_regs): Call d10v_print_registers_info.
2687 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
2689 2003-02-02 Mark Kettenis <kettenis@gnu.org>
2691 * stack.c (print_frame_info): Restore call to annotate_frame_begin
2692 lost in the previous patch.
2694 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2696 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
2697 * stack.c (print_frame_info_base): Output complete FRAME tuple
2698 for synthesized frames.
2700 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2702 * mips-nat.c (zerobuf): Delete.
2703 (fetch_inferior_registers): Alloc local zerobuf.
2704 (fetch_core_registers): Alloc local zerobuf.
2705 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
2706 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
2707 * thread-db.c (thread_db_store_registers): Ditto.
2708 * sh-tdep.c (sh_do_register): Ditto.
2709 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
2710 * remote-sim.c (gdbsim_store_register): Ditto.
2711 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
2712 * remote-e7000.c (fetch_regs_from_dump): Ditto.
2713 * monitor.c (monitor_supply_register): Ditto.
2714 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
2715 * mips-nat.c (fetch_inferior_registers): Ditto.
2716 * m68klinux-nat.c (fetch_register): Ditto.
2717 * lynx-nat.c (fetch_inferior_registers): Ditto.
2718 (fetch_inferior_registers): Ditto.
2719 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
2720 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
2721 (hpux_thread_store_registers): Ditto.
2722 * hppah-nat.c (fetch_register): Ditto.
2723 * hppab-nat.c (fetch_register): Ditto.
2724 * hppa-tdep.c (pa_register_look_aside): Ditto.
2725 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
2726 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
2728 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2730 * gdbarch.sh: Explictly specify all method levels. When a
2731 variable with an empty level, provide a non-multi-arch default.
2732 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
2733 * gdbarch.h: Re-generate.
2734 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
2735 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
2737 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2739 * defs.h (host_pointer_to_address): Delete declaration.
2740 (address_to_host_pointer): Delete declaration.
2741 * utils.c (host_pointer_to_address): Delete function.
2742 (address_to_host_pointer): Delete function.
2743 * procfs.c (procfs_address_to_host_pointer): New function.
2744 * procfs.c (proc_set_watchpoint): Use.
2745 (procfs_can_use_hw_breakpoint): Update comments.
2746 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
2747 (som_solib_add): Use.
2748 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
2749 * hppa-tdep.c (unwind_command): Use.
2751 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2753 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
2756 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
2757 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
2758 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
2759 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
2760 (define_symbol): Update.
2761 * symfile.c (generic_load): Remove references to nindy.
2762 * symtab.c: Remove references to nindy.
2764 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2766 * infcmd.c (print_float_info): Delete code conditional on
2768 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
2769 * config/m68k/nm-apollo68b.h: Ditto.
2770 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
2771 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
2772 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
2774 2003-02-01 Mark Kettenis <kettenis@gnu.org>
2776 * config/i386/tm-i386os9k.h: Removed.
2778 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
2779 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
2780 they're identical to i[3456]86-*-sysv* now.
2781 * config/i386/i386v32.mh: Removed.
2782 * config/i386/xm-i386v32.h: Removed.
2783 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
2785 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
2787 * config/i386/i386dgux.mh: Removed.
2788 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
2790 * configure.in: Fix typo.
2791 * configure: Regenerated.
2793 2003-01-31 David Carlton <carlton@math.stanford.edu>
2795 * dwarf2read.c (dwarf2_locate_sections): Set
2796 dwarf_ranges_section.
2798 2003-01-31 Andrew Cagney <ac131313@redhat.com>
2800 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
2801 * utils.c: Update comments documenting legitimate uses of PTR.
2803 * utils.c: Re-indent.
2805 * config/djgpp/fnchange.lst: Delete nindy files.
2806 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
2807 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
2808 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
2809 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
2810 * nindy-share/README, nindy-share/Onindy.c: Delete files.
2811 * nindy-tdep.c, nindy-share/Makefile: Delete files.
2812 * Makefile.in (init.c): Remove nindy references.
2813 (saber_gdb): Delete rule.
2814 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
2815 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
2817 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
2818 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
2819 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
2820 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
2822 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
2823 * saber.suppress: Delete file.
2825 2003-01-31 Daniel Jacobowitz <drow@mvista.com>
2827 * dbxread.c (stabs_data): New static variable.
2828 (fill_symbuf): Support an in-memory buffer for stabs data.
2829 (stabs_seek): New function.
2830 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
2831 (read_ofile_symtab): Use stabs_seek.
2832 (elfstab_build_psymtabs): Take an asection* instead of
2833 an offset and size. Relocate the stabs data if necessary.
2834 Save the section* for dbx_psymtab_to_symtab.
2835 * dwarf2read.c: Add section variables for each debug section.
2836 (dwarf2_locate_sections): Fill them in.
2837 (dwarf2_read_section): Take an asection* argument.
2838 Relocate the section contents if necessary.
2839 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
2840 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
2841 it to dwarf2_read_section.
2842 (dwarf2_build_frame_info): Update callers.
2843 * elfread.c (elf_symfile_read): Update call to
2844 elfstab_build_psymtabs.
2845 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
2846 (DBX_STAB_SECTION): New macro.
2847 * stabsread.h (elfstab_build_psymtabs): Update prototype.
2848 * symfile.c (symfile_dummy_outputs): New function.
2849 (symfile_relocate_debug_section): New function.
2850 * symfile.h (symfile_relocate_debug_section): Add prototype.
2852 2003-01-31 Richard Henderson <rth@redhat.com>
2854 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
2855 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
2856 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
2857 * alpha-tdep.c (alpha_register_name): Add "unique".
2858 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
2859 (ALPHA_UNIQUE_REGNUM): New.
2860 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
2862 2003-01-31 Andrew Cagney <ac131313@redhat.com>
2864 * README: Remove reference to Ericsson 1800 monitor.
2865 * Makefile.in (remote-es.o): Delete rule.
2866 (ALLDEPFILES): Delete remote-es.c.
2867 * remote-es.c: Delete file.
2868 * config/m68k/es1800.mt: Delete file.
2869 * config/djgpp/fnchange.lst: Update.
2870 * configure.tgt: Delete m68*-ericsson-* target.
2872 2003-01-31 Adam Fedor <fedor@gnu.org>
2874 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
2875 Remove duplicate/shadowing variable of same name.
2877 2003-01-30 Jim Blandy <jimb@redhat.com>
2879 * symfile.c (find_separate_debug_file): Assert that the objfile's
2880 directory name we compute ends with a slash, and then assume that
2881 that's so everywhere we use it.
2883 2003-01-30 Daniel Jacobowitz <drow@mvista.com>
2885 * valops.c (value_assign): Flush frame cache after stores to memory
2888 2003-01-30 Andrew Cagney <ac131313@redhat.com>
2890 * Makefile.in (mon960-rom.o): Delete rule.
2891 * mon960-rom.c: Delete file.
2893 2003-01-30 Andrew Cagney <ac131313@redhat.com>
2895 * d10v-tdep.c: Include "frame-unwind.h".
2896 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
2898 (next_addr, uses_frame): Delete.
2899 (struct d10v_unwind_cache): Define.
2900 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
2901 Use info instead of next_addr and uses_frame globals.
2902 (d10v_frame_init_saved_regs): Delete function.
2903 (d10v_init_extra_frame_info): Delete function.
2904 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
2905 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
2906 init_frame_pc or frame_saved_pc.
2907 (d10v_pop_frame): Delete function.
2908 (do_d10v_pop_frame): Delete function.
2909 (d10v_frame_chain): Delete function.
2910 (d10v_frame_chain_valid): Delete function.
2911 (d10v_frame_pc_unwind): New function.
2912 (d10v_frame_id_unwind): New function.
2913 (saved_regs_unwinder): New function.
2914 (d10v_frame_register_unwind): New function.
2915 (d10v_frame_pop): New function.
2916 (d10v_frame_unwind): New variable.
2917 (d10v_frame_p): New function.
2918 (d10v_frame_saved_pc): Delete function.
2919 * Makefile.in (d10v-tdep.o): Update dependencies.
2921 2003-01-30 J. Brobecker <brobecker@gnat.com>
2923 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
2924 causing some regressions due to a change in the default value
2927 2003-01-29 Richard Henderson <rth@redhat.com>
2928 Elena Zannoni <ezannoni@redhat.com>
2929 Daniel Jacobowitz <drow@mvista.com>
2932 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
2934 (RANGES_SECTION): New.
2935 (dwarf_ranges_buffer): New variable.
2936 (struct comp_unit_head): Add member "die".
2937 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
2938 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
2939 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
2940 (dwarf2_locate_sections): Likewise.
2941 (dwarf2_build_psymtabs): Read .debug_ranges.
2942 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
2943 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
2944 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
2945 Look for DW_AT_ranges and return the bounding box.
2947 2003-01-29 Brian Ford <ford@vss.fsi.com>
2949 * win32-nat.c (cygwin_pid): Removed as unused.
2950 (child_attach): Try fall back to Cygwin pid.
2952 2003-01-29 Jim Blandy <jimb@redhat.com>
2954 * objfiles.h (struct objfile): Doc fix.
2956 2003-01-29 Andrew Cagney <ac131313@redhat.com>
2958 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
2959 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
2960 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
2961 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
2962 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
2963 (FRAME_SAVED_PC): Change to a function with predicate.
2964 * gdbarch.h, gdbarch.c: Re-generate.
2966 2003-01-28 Andrew Cagney <ac131313@redhat.com>
2968 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
2970 * complaints.c (complain): Delete function.
2971 * complaints.h (struct deprecated_complaint): Delete definition.
2972 (complain): Delete declaration.
2974 2003-01-28 Kevin Buettner <kevinb@redhat.com>
2976 * mips-tdep.c (mips_init_extra_frame_info): Return early for
2979 2003-01-27 Andrew Cagney <ac131313@redhat.com>
2981 * sentinel-frame.h, sentinel-frame.c: New files.
2982 * Makefile.in (frame.o): Update dependencies.
2983 (SFILES): Add sentinel-frame.c.
2984 (sentinel_frame_h): Define.
2985 (COMMON_OBS): Add sentinel-frame.o.
2986 (sentinel-frame.o): Specify dependencies.
2987 * frame.c: Include "sentinel-frame.h".
2988 (frame_register_unwind): Rewrite assuming that there is always a a
2990 (frame_register, generic_unwind_get_saved_register): Ditto.
2991 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
2992 (create_sentinel_frame, unwind_to_current_frame): New functions.
2993 (get_current_frame): Rewrite using create_sentinel_frame and
2994 unwind_to_current_frame. When possible, always create a frame.
2995 (create_new_frame): Set next to the sentinel frame.
2996 (get_next_frame): Rewrite. Don't go below the level 0 frame.
2997 (deprecated_update_frame_pc_hack): Update the next frame's PC and
2998 ID cache when necessary.
2999 (frame_saved_regs_id_unwind): Use frame_relative_level.
3000 (deprecated_generic_get_saved_register): Use frame_relative_level,
3001 get_frame_saved_regs, get_frame_pc, get_frame_base and
3003 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
3006 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
3008 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
3010 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
3012 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
3013 (maintenance_set_profile_cmd): Use error () instead of warning ().
3015 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
3017 * configure.in: Check that -pg works if using --enable-profiling.
3018 Check for monstartup and _mcleanup regardless of --enable-profiling.
3019 * maint.c: Check for monstartup and _mcleanup before using them.
3020 * config.in: Regenerated.
3021 * configure: Regenerated.
3023 2003-01-24 Nick Clifton <nickc@redhat.com>
3027 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
3029 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
3030 (sh2e_show_regs): New.
3031 (sh_gdbarch_init): Handle bfd_mach_sh2e.
3032 * config/sh/tm-sh.h: Added sh2e to comments.
3034 2003-01-23 Jim Blandy <jimb@redhat.com>
3036 * symfile.c (syms_from_objfile): Don't print the "(no debugging
3037 symbols found)" message here; we haven't checked for a separate
3038 debug info file yet, so we don't know yet.
3039 (symbol_file_add_with_addrs_or_offsets): Print it here, after
3040 we've looked everywhere. Also, there's no need to print a special
3041 message when we're loading the separate debug info file: the one
3042 symbol_file_add prints is fine.
3044 2003-01-23 Alexander Larsson <alexl@redhat.com>
3045 Jim Blandy <jimb@redhat.com>
3047 Add support for executables whose debug info has been separated
3048 out into a separate file, leaving only a link behind.
3049 * objfiles.h (struct objfile): New fields: separate_debug_objfile
3050 and separate_debug_objfile_backlink.
3051 (put_objfile_before): New declaration.
3052 * symfile.c: #include "filenames.h".
3053 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
3054 debug info in a separate file, read that, too. Save the addrs
3055 argument, so we can use it again to read the separated debug info;
3056 syms_from_objfile modifies the table we pass it.
3057 (reread_symbols): After re-reading an objfile, call
3058 reread_separate_symbols to refresh its separate debug info
3059 objfile, if it has one.
3060 (reread_separate_symbols, find_separate_debug_file,
3061 get_debug_link_info, separate_debug_file_exists): New functions.
3062 (debug_file_directory): New global var.
3063 (_initialize_symfile): Initialize debug_file_directory, and
3064 provide the new `set debug-file-directory' command to let the user
3066 * objfiles.c (free_objfile): If this objfile has its debug info in
3067 a separate objfile, free that one too. If this is itself a
3068 separate debug info objfile, clear our parent's backlink.
3069 (put_objfile_before): New function.
3070 * utils.c (gnu_debuglink_crc32): New function.
3071 * defs.h (gnu_debuglink_crc32): New declaration.
3072 * Makefile.in (symfile.o): Note dependency on "filenames.h".
3073 * configure.in: Handle --with-separate-debug-dir config option.
3074 * acinclude.m4 (AC_DEFINE_DIR): New macro.
3075 * acconfig.h (DEBUGDIR): New macro.
3076 * configure, aclocal.m4, config.in: Regenerated.
3078 2003-01-22 Jim Blandy <jimb@redhat.com>
3080 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
3081 like the old symbol_file_add, but taking new arguments: you can
3082 now pass in either a `struct section_addr_info' list to say where
3083 each section is loaded, or a `struct section_offsets' table. Pass
3084 these new arguments through to syms_from_objfile as appropriate.
3085 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
3086 with the appropriate quiescent values for the new arguments.
3088 * symfile.c: #include "gdb_assert.h".
3089 (syms_from_objfile): Add the ability to pass in a section offset
3090 table directly, as an alternative to the section_addr_info table.
3091 Document arguments better.
3092 (symbol_file_add): Pass extra arguments to syms_from_objfile.
3093 * symfile.h (syms_from_objfile): Update declaration.
3094 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
3096 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
3098 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
3100 Original patch by Tom Tromey <tromey@cygnus.com> and
3101 Jason Molenda <jmolenda@apple.com>.
3102 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
3103 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
3104 * NEWS: Mention profiling.
3105 * configure.in (--enable-gdbtk): Fix typo.
3106 (--enable-profiling): New. Set PROFILE_CFLAGS.
3107 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
3109 (profiling_state): New variable.
3110 (mcleanup_wrapper): New function.
3111 (_initialize_maint): Remove NOTYET, fix call to
3112 add_setshow_boolean_cmd for "maint set profile".
3113 * configure: Regenerated.
3115 2003-01-21 Martin M. Hunt <hunt@redhat.com>
3117 * Makefile.in (install-gdbtk): Install PNG images too.
3119 2003-01-21 Andrew Cagney <ac131313@redhat.com>
3121 * exec.c (text_start): Delete global variable.
3122 (exec_file_attach): Make text_start local to the function.
3123 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
3124 * valops.c (hand_function_call): Delete code that handles
3125 BEFORE_TEXT_END and AFTER_TEXT_END.
3126 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
3127 of CALL_DUMMY_LOCATION.
3128 * gdbarch.c: Regenerate.
3129 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
3130 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
3131 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
3132 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
3133 (text_end): Delete extern declaration.
3135 2003-01-21 Andrew Cagney <ac131313@redhat.com>
3137 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
3138 * blockframe.c (backtrace_below_main): Move to "frame.c".
3139 (frame_chain_valid): Delete check for backtrace_below_main.
3140 (_initialize_blockframe): Delete initialization, move ``set
3141 backtrace-below-main'' command to "frame.c".
3142 (do_flush_frames_sfunc): Delete function.
3143 * frame.c: Include "command.h" and "gdbcmd.h".
3144 (frame_type_from_pc): New function.
3145 (create_new_frame): Use frame_type_from_pc.
3146 (legacy_get_prev_frame): New function.
3147 (get_prev_frame): Rewrite. When an old style frame, call
3148 legacy_get_prev_frame. Otherwize, unwind the PC first.
3149 (_initialize_frame): Add ``set backtrace-below-main'' command.
3150 * Makefile.in (frame.o): Update dependencies.
3152 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3154 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
3155 DEPRECATED_REGISTERS_INFO.
3157 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3159 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
3160 Maintainers'. Update `Various Maintainers'.
3162 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3164 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
3165 * gdbarch.sh (POP_FRAME): Change to function with predicate.
3166 Suppress actual parameters when `-'.
3167 * gdbarch.h, gdbarch.c: Regenerate.
3169 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3171 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
3172 code handling dummy frames.
3174 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3176 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
3177 (struct frame_unwind): Add field pop.
3178 * frame.h (frame_pop): Declare.
3179 * frame.c (frame_saved_regs_pop): New function.
3180 (trad_frame_unwinder): Add frame_saved_regs_pop.
3181 (frame_pop): New function.
3182 * dummy-frame.c (dummy_frame_pop): New function.
3183 (discard_innermost_dummy): New function.
3184 (generic_pop_dummy_frame): Use discard_innermost_dummy.
3185 (dummy_frame_unwind): Add dummy_frame_pop.
3186 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
3187 * valops.c (hand_function_call): Ditto.
3188 * stack.c (return_command): Ditto.
3190 2003-01-18 Andrew Cagney <ac131313@redhat.com>
3192 * cris-tdep.c: Fix function declaration indentation.
3193 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
3194 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
3195 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
3196 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
3197 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
3198 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
3200 2003-01-18 Michael Chastain <mec@shout.net>
3202 * README (Unpacking and Installation -- quick overview):
3203 Warn against ".../gdb-5.3/gdb/configure".
3205 2003-01-18 Andrew Cagney <ac131313@redhat.com>
3207 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
3208 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
3209 (struct frame_unwind): Declare opaque.
3210 (dummy_frame_p): Declare function.
3211 * dummy-frame.c (dummy_frame_id_unwind): Make static.
3212 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
3213 * dummy-frame.c: Include "frame-unwind.h".
3214 (dummy_frame_p): New function.
3215 (dummy_frame_unwind): New variable.
3216 * frame.c: Include "frame-unwind.h".
3217 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
3218 to use the new unwind field.
3219 (set_unwind_by_pc): Delete function.
3220 (create_new_frame, get_prev_frame): Set unwind field using
3221 frame_unwind_find_by_pc.
3222 (trad_frame_unwind, trad_frame_unwinder): New variables.
3223 * frame.h (trad_frame_unwind): Declare variable.
3224 (frame_id_unwind_ftype): Delete declaration.
3225 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
3226 (struct frame_unwind): Declare opaque.
3227 (struct frame_info): Replace the fields id_unwind, pc_unwind and
3228 register_unwind with a single unwind pointer.
3229 * frame-unwind.h, frame-unwind.c: New files.
3230 * Makefile.in (SFILES): Add frame-unwind.c.
3231 (frame_unwind_h): Define.
3232 (COMMON_OBS): Add frame-unwind.o.
3233 (frame-unwind.o): Specify dependencies.
3234 (frame.o, dummy-frame.o): Update dependencies.
3236 2003-01-18 Andrew Cagney <ac131313@redhat.com>
3238 * ada-valprint.c: Eliminate PTR.
3239 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
3240 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
3241 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
3242 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
3243 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
3244 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
3245 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
3247 2003-01-17 Andrew Cagney <ac131313@redhat.com>
3249 * main.c (captured_main): Don't use PTR.
3250 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
3251 * gdbtypes.c (lookup_primitive_typename): Ditto.
3252 (lookup_struct_elt_type): Ditto.
3253 * f-valprint.c (info_common_command): Ditto.
3254 (list_all_visible_commons): Ditto.
3255 * jv-typeprint.c (java_type_print_base): Ditto.
3257 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
3258 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
3259 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
3260 i386-interix-nat.c and i386-interix-tdep.c. Rename
3261 m68klinux-nat.c and m68klinux-tdep.c. Rename
3262 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
3263 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
3264 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
3265 * main.c (captured_main): Use xfree, not free.
3267 2003-01-16 Andrew Cagney <ac131313@redhat.com>
3269 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
3270 ID back using a parameter.
3271 * frame.c (frame_id_unwind): Update call.
3272 (frame_saved_regs_id_unwind): Update.
3273 * dummy-frame.c (dummy_frame_id_unwind): Update function.
3274 * dummy-frame.h (struct frame_id): Add opaque declaration.
3275 (dummy_frame_id_unwind): Update declaration.
3277 2003-01-15 Andrew Cagney <ac131313@redhat.com>
3279 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
3281 2003-01-15 Stephen P. Smith <ischis2@cox.net>
3283 * MAINTAINERS (Stephen P. Smith): Updated email address.
3285 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
3288 * breakpoint.c (until_break_command): Add new argument. Use it to
3289 decide whether to stop only at the current frame or not.
3290 * breakpoint.h (until_break_command): Update prototype.
3291 * infcmd.c (until_command): Add new argument to until_break_command
3293 (advance_command): New function.
3294 (_initialize_infcmd): Update help string for 'until' command.
3295 Add new 'advance' command.
3297 2003-01-14 David Carlton <carlton@math.stanford.edu>
3299 * linespec.c (decode_line_1): Normalize comments.
3301 (locate_first_half): Ditto.
3302 (decode_compound): Ditto.
3303 (symtab_from_filename): Ditto.
3304 (decode_all_digits): Ditto.
3305 (decode_dollar): Ditto.
3306 (find_methods): Ditto.
3307 (find_toplevel_char): Ditto.
3309 2003-01-13 Andrew Cagney <ac131313@redhat.com>
3311 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
3312 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
3313 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
3314 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
3315 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
3316 * language.c, language.h, m32r-tdep.c: Update copyright.
3317 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
3318 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
3319 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
3320 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
3321 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
3322 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
3324 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
3326 * stabsread.h (process_later, resolve_cfront_continuation):
3328 Update copyright years.
3329 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
3330 Update copyright year.
3331 * dbxread.c(struct cont_elem): Obsolete.
3332 (process_later, process_now): Obsolete functions.
3333 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
3334 Update copyright year.
3335 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
3336 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
3337 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
3338 (parse_partial_symbols): Obsolete cfront support.
3340 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
3342 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
3343 read_cfront_baseclasses, read_cfront_member_functions,
3344 resolve_cfront_continuation,read_cfront_static_fields,
3345 copy_cfront_struct_fields): Obsolete functions.
3346 (define_symbol, read_one_struct_field): Obsolete cfront support.
3347 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
3348 Update Copyright year.
3350 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
3352 * stack.c (print_frame_info, print_stack_frame_base_stub,
3353 print_stack_frame_base, show_and_print_stack_frame_stub,
3354 show_and_print_stack_frame, print_only_stack_frame_stub,
3355 print_only_stack_frame): Delete functions.
3356 (print_stack_frame_stub): Call print_frame_info instead of
3357 print_frame_info_base.
3358 (print_frame_info_base): Rename to print_frame_info.
3359 (backtrace_command_1): Call print_frame_info, instead of
3360 print_frame_info_base.
3361 (current_frame_command): Call print_stack_frame, instead of
3362 print_only_stack_frame.
3363 (frame_command): Call print_stack_frame, instead of
3364 show_and_print_stack_frame.
3365 (up_command): Ditto.
3366 (down_command): Ditto.
3367 * frame.h (print_only_stack_frame): Delete prototype.
3368 * infrun.c (normal_stop): Call print_stack_frame, instead of
3369 show_and_print_stack_frame.
3370 * thread.c (info_threads_command): Call print_stack_frame, instead
3371 of print_only_stack_frame.
3373 2003-01-13 Andrew Cagney <ac131313@redhat.com>
3375 * README (Graphical interface to GDB): Update URL. Point at
3378 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
3381 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3383 * symtab.c (find_pc_sect_line): Don't consider end-of-function
3386 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3388 * thread-db.c (attach_thread): Prototype.
3389 (struct private_thread_info): Remove lwpid. Add thread handle (th),
3390 thread information (ti), and valid flags (th_valid, ti_valid).
3391 (attach_thread): Move target_pid_to_str call to after the thread
3392 is added to GDB's list. Initialize the cache.
3393 (thread_get_info_callback, thread_db_map_id2thr)
3394 (thread_db_get_info): New functions.
3395 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
3396 (thread_db_store_registers, thread_db_thread_alive)
3397 (thread_db_get_thread_local_address): Use them.
3398 (thread_db_pid_to_str): Likewise. Return "Missing" instead
3399 of calling error() for threads in unknown state.
3401 (clear_lwpid_callback): New function.
3402 (thread_db_resume): Use it to clear the cache.
3404 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3406 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
3407 (resume_callback): Remove dead code.
3409 2003-01-13 Andrew Cagney <ac131313@redhat.com>
3411 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
3413 * gdbarch.h, gdbarch.c: Regenerate.
3414 * stack.c (frame_info): Only initialize the saved registers when
3415 FRAME_INIT_SAVED_REGS_P.
3416 * frame.c (frame_saved_regs_register_unwind): Assert
3417 FRAME_INIT_SAVED_REGS_P.
3418 (deprecated_generic_get_saved_register): Ditto.
3420 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3422 * source.c (openp): Squelch warning about "filename".
3424 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3426 * source.c (openp): If the file does not exist don't necessarily
3429 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3432 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
3433 (integer_types_same_name_p): New function.
3434 (rank_one_type): Use it.
3435 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
3437 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3439 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
3441 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
3442 * configure.in: Add --with-sysroot.
3443 * configure: Regenerated.
3444 * main.c (gdb_sysroot): New variable.
3445 (captured_main): Initialize gdb_sysroot.
3446 * defs.h (gdb_sysroot): New extern declaration.
3447 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
3449 2003-01-12 Michael Chastain <mec@shout.net>
3451 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
3453 2003-01-12 Michael Chastain <mec@shout.net>
3455 * top.c (print_gdb_version): Bump copyright year to 2003.
3457 2003-01-12 David Carlton <carlton@bactrian.org>
3459 * linespec.c (symtab_from_filename): Rename variable 's' to
3462 2003-01-12 Andrew Cagney <ac131313@redhat.com>
3464 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
3466 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
3468 2003-01-12 Andrew Cagney <ac131313@redhat.com>
3470 * d10v-tdep.c: Include "gdb_assert.h".
3471 (d10v_store_return_value): Rewrite to match current interface.
3472 (d10v_extract_struct_value_address): Ditto.
3473 (d10v_extract_return_value): Ditto.
3474 (d10v_gdbarch_init): Set store_restore_value,
3475 extract_struct_value_address and extract_return_value.
3477 2003-01-12 J. Brobecker <brobecker@gnat.com>
3479 * hpread.c (set_namestring): New procedure replacing the
3480 SET_NAMESTRING macro.
3481 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
3482 by calls to set_namestring.
3484 2003-01-11 J. Brobecker <brobecker@gnat.com>
3486 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
3487 a compilation warning.
3488 (hpread_process_one_debug_symbol): Likewise.
3490 2003-01-10 David Carlton <carlton@math.stanford.edu>
3492 * linespec.c (decode_line_1): Rename variable 's' to
3494 (decode_all_digits): Rename argument 's' to 'file_symtab'.
3495 (decode_dollar): Ditto.
3496 (decode_variable): Ditto.
3497 (symbol_found): Ditto.
3499 2003-01-09 Michael Chastain <mec@shout.net>
3501 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
3503 2003-01-07 Corinna Vinschen <vinschen@redhat.com>
3505 * win32-nat.c (set_process_privilege): New function.
3506 (child_attach): Call set_process_privilege() to enable the
3507 SE_DEBUG_NAME user privilege if available in process token.
3509 2003-01-10 J. Brobecker <brobecker@gnat.com>
3511 * hpread.c (hpread_process_one_debug_symbol): Fix a small
3512 compilation error in the previous revision.
3514 2003-01-09 David Carlton <carlton@math.stanford.edu>
3516 * linespec.c: Update copyright.
3518 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
3520 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
3522 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
3524 2003-01-09 Andrew Cagney <ac131313@redhat.com>
3526 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
3528 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
3529 (frame_saved_regs_zalloc): Update.
3530 (frame_saved_regs_register_unwind): Update.
3531 (create_new_frame): Update.
3532 (get_prev_frame): Update.
3533 (frame_extra_info_zalloc): Update.
3534 (deprecated_get_frame_saved_regs): Update.
3535 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
3536 * cris-tdep.c: Update comment.
3538 * somsolib.h: Fix function indentation.
3539 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
3540 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
3541 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
3542 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
3543 * somsolib.c, inftarg.c: Remove assignment in if conditional.
3545 * infrun.c (follow_fork): Use ISO C definition.
3546 * expprint.c (print_subexp): Use xfree instead of free.
3547 * charset.c: Include "gdb_string.h" instead of <string.h>.
3548 (register_iconv_charsets): Use ISO C definition.
3549 (host_charset, target_charset): Ditto.
3550 * Makefile.in (charset.o): Update dependencies.
3551 (mi-cmd-env.o): Update dependencies.
3553 2003-01-08 Andrew Cagney <cagney@redhat.com>
3555 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
3558 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3560 * gdb_mbuild.sh: Add --keep option. When specified, keep the
3561 build directories. Save edited gdb output in Mbuild.log. If a
3562 build fails, remove any final GDB executable.
3564 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3566 * gdb_mbuild.sh: Edit the output of `maint print architecture'
3567 replacing hex constants with function names and stripping leading
3568 file name directory prefixes.
3570 2003-01-08 Andrew Cagney <cagney@redhat.com>
3572 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
3575 2003-01-08 David Carlton <carlton@math.stanford.edu>
3577 * linespec.c (decode_line_1): Move code into decode_variable.
3578 (decode_variable): New function.
3580 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3582 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
3584 2003-01-08 Andrew Cagney <cagney@redhat.com>
3586 * cris-tdep.c (cris_frame_init_saved_regs): Use
3587 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
3589 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
3590 (sh64_nofp_frame_init_saved_regs): Ditto.
3591 (sh_fp_frame_init_saved_regs): Ditto.
3592 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
3593 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
3594 * mcore-tdep.c (analyze_dummy_frame): Ditto.
3595 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3597 2003-01-08 Daniel Jacobowitz <drow@mvista.com>
3599 * minsyms.c (lookup_minimal_symbol): Update comment.
3600 (lookup_minimal_symbol_text): Update comment. Use the hash table.
3601 (lookup_minimal_symbol_solib_trampoline): Likewise.
3603 2003-01-08 Andrew Cagney <cagney@redhat.com>
3605 * d10v-tdep.c (d10v_init_extra_frame_info): Use
3606 frame_relative_level.
3608 * alpha-tdep.c: Use get_frame_extra_info.
3609 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3610 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
3611 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
3612 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
3614 * alpha-tdep.c: Use get_next_frame.
3615 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3616 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
3617 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
3618 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
3619 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
3620 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
3621 * xstormy16-tdep.c: Ditto.
3623 2003-01-07 Andrew Cagney <cagney@redhat.com>
3625 * alpha-tdep.c: Use get_frame_base.
3626 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3627 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
3628 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
3629 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
3630 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
3631 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
3632 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
3633 * config/sparc/tm-sparc.h: Ditto.
3635 2003-01-07 Andrew Cagney <cagney@redhat.com>
3637 * frame.c (deprecated_get_frame_context): New function.
3638 (deprecated_set_frame_context): New function.
3639 * frame.h (deprecated_get_frame_context): Declare.
3640 (deprecated_set_frame_context): Declare.
3641 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
3642 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
3644 2003-01-07 Andrew Cagney <cagney@redhat.com>
3646 * frame.c (deprecated_set_frame_next_hack): New function.
3647 (deprecated_set_frame_prev_hack): New function.
3648 * frame.h (deprecated_set_frame_next_hack): Declare.
3649 (deprecated_set_frame_prev_hack): Declare.
3650 * mcore-tdep.c (analyze_dummy_frame): Use
3651 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
3652 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3654 2003-01-07 David Carlton <carlton@math.stanford.edu>
3656 * linespec.c (decode_line_1): Move code into decode_dollar.
3657 (decode_dollar): New function.
3659 2003-01-07 Andrew Cagney <cagney@redhat.com>
3661 * arm-tdep.c (arm_init_extra_frame_info): Use
3662 deprecated_update_frame_base_hack.
3663 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
3664 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3665 (fix_frame_pointer): Ditto.
3666 (mn10300_analyze_prologue): Ditto.
3668 2003-01-07 Andrew Cagney <cagney@redhat.com>
3670 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
3671 extra_info using frame_extra_info_zalloc.
3672 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
3673 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
3674 (sh64_init_extra_frame_info): Ditto.
3675 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
3676 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
3677 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
3678 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
3679 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
3680 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
3681 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
3682 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
3683 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
3684 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
3685 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
3686 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
3688 * mn10300-tdep.c (analyze_dummy_frame): Use
3689 deprecated_set_frame_extra_info_hack.
3690 * mcore-tdep.c (analyze_dummy_frame): Ditto.
3692 2003-01-07 J. Brobecker <brobecker@gnat.com>
3694 * mdebugread.c (parse_symbol): Skip stProc entries which storage
3695 class is not scText. These do not define "real" procedures.
3696 (parse_partial_symbols): Likewise.
3698 2003-01-06 Michael Snyder <msnyder@redhat.com>
3700 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
3702 2003-01-06 Andrew Cagney <ac131313@redhat.com>
3704 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
3705 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
3706 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
3707 deprecated_frame_xmalloc_with_cleanup.
3708 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
3709 deprecated_frame_xmalloc.
3710 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
3711 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
3713 2003-01-06 Andrew Cagney <cagney@redhat.com>
3715 * x86-64-linux-tdep.c: Include "osabi.h".
3716 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
3718 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
3720 2003-01-06 Andrew Cagney <cagney@redhat.com>
3722 * MAINTAINERS (Target Instruction Set Architectures): Update
3723 arm-elf. Can be built with -Werror, has been multiarched.
3725 * value.h (unpack_long): Make buffer parameter constant.
3726 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
3727 * scm-lang.h (scm_parse): Ditto.
3728 * defs.h (extract_typed_address, extract_address): Ditto.
3729 (extract_long_unsigned_integer): Ditto.
3730 * inferior.h (unsigned_pointer_to_address): Ditto.
3731 (signed_pointer_to_address): Ditto.
3732 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
3733 * gdbarch.h, gdbarch.c: Regenerate.
3734 * findvar.c (extract_long_unsigned_integer): Update.
3735 (extract_address): Update.
3736 (extract_typed_address): Update.
3737 (unsigned_pointer_to_address): Update.
3738 * values.c (unpack_long): Update.
3739 (unpack_double): Update.
3740 (unpack_pointer): Update.
3741 (unpack_field_as_long): Update.
3742 * d10v-tdep.c (d10v_pointer_to_address): Update.
3743 * avr-tdep.c (avr_pointer_to_address): Update.
3744 * scm-lang.c (scm_unpack): Update.
3745 * findvar.c (signed_pointer_to_address): Update.
3747 2003-01-06 Michal Ludvig <mludvig@suse.cz>
3749 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
3750 since it is in i386-tdep.c.
3752 2003-01-06 J. Brobecker <brobecker@gnat.com>
3754 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
3755 failure introduced in the previous change.
3757 2003-01-05 Michael Chastain <mec@shout.net>
3759 * README: Remove references to deleted remote-*.c files:
3760 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
3761 remote-nrom.c, remote-os9k.c, remote-udi.c.
3763 2003-01-05 Mark Kettenis <kettenis@gnu.org>
3765 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
3766 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
3767 i386_get_longjmp_target.
3769 2003-01-05 Andrew Cagney <ac131313@redhat.com>
3771 * arm-tdep.c (prologue_cache): Change to a pointer.
3772 (_initialize_arm_tdep): Allocate prologue_cache.
3773 (check_prologue_cache): Update.
3774 (save_prologue_cache): Update.
3775 (arm_gdbarch_init): Update.
3777 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3779 * stabsread.c (update_method_name_from_physname): Call complaint()
3782 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3784 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
3785 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
3786 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
3788 * blockframe.c: Include "gdbcmd.h" and "command.h".
3789 (backtrace_below_main): New variable.
3790 (file_frame_chain_valid, func_frame_chain_valid)
3791 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
3792 (generic_func_frame_chain_valid): Remove functions.
3793 (frame_chain_valid, do_flush_frames_sfunc): New functions.
3794 (_initialize_blockframe): New function.
3795 * Makefile.in (blockframe.o): Update dependencies.
3796 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
3797 comment. Call frame_chain_valid ().
3798 * frame.h: Remove old prototypes. Add prototype for
3799 frame_chain_valid and update comments to match.
3800 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
3802 * gdbarch.h: Regenerated.
3803 * gdbarch.c: Regenerated.
3805 * alpha-tdep.c (alpha_gdbarch_init): Don't call
3806 set_gdbarch_frame_chain_valid.
3807 * avr-tdep.c (avr_gdbarch_init): Likewise.
3808 * cris-tdep.c (cris_gdbarch_init): Likewise.
3809 * frv-tdep.c (frv_gdbarch_init): Likewise.
3810 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
3811 * i386-tdep.c (i386_svr4_init_abi): Likewise.
3812 (i386_nw_init_abi): Likewise.
3813 (i386_gdbarch_init): Likewise.
3814 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
3815 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
3816 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
3817 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
3818 * mips-tdep.c (mips_gdbarch_init): Likewise.
3819 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
3820 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
3821 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
3822 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3823 * s390-tdep.c (s390_gdbarch_init): Likewise.
3824 * sh-tdep.c (sh_gdbarch_init): Likewise.
3825 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3826 * v850-tdep.c (v850_gdbarch_init): Likewise.
3827 * vax-tdep.c (vax_gdbarch_init): Likewise.
3828 * x86-64-tdep.c (x86_64_init_abi): Likewise.
3830 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
3831 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
3832 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
3833 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
3834 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
3835 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
3836 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
3837 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
3839 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
3841 * Makefile.in (acconfig_h): Remove incorrect macro.
3843 (osabi.o): Update dependencies.
3844 * configure.tgt: Set gdb_osabi based on target triplet.
3845 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
3846 * configure: Regenerated.
3847 * config.in: Regenerated.
3848 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
3849 (GDB_OSABI_DEFAULT): Define if not already defined.
3850 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
3851 (set_osabi_string): New variables.
3852 (gdbarch_register_osabi): Add new OS ABI to
3853 gdb_osabi_available_names.
3854 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
3855 (set_osabi, show_osabi): New functions.
3856 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
3858 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3860 * arch-utils.c (gdbarch_info_init): Set osabi to
3861 GDB_OSABI_UNINITIALIZED.
3862 * gdbarch.sh: Add osabi to struct gdbarch and to struct
3863 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
3864 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
3865 * gdbarch.c: Regenerated.
3866 * gdbarch.h: Regenerated.
3867 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
3869 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
3870 * osabi.h (enum gdb_osabi): Move to defs.h.
3871 (gdbarch_init_osabi): Update prototype.
3872 * defs.h (enum gdb_osabi): Moved here.
3873 * Makefile.in: Update dependencies.
3875 * alpha-tdep.h: Don't include "osabi.h".
3876 (struct gdbarch_tdep): Remove osabi member.
3877 * alpha-tdep.c: Include "osabi.h".
3878 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3879 iterate over arches. Update call to gdbarch_init_osabi.
3880 (alpha_dump_tdep): Don't dump osabi.
3881 * alpha-linux-tdep.c: Include "osabi.h".
3882 * alpha-osf1-tdep.c: Include "osabi.h".
3883 * alphafbsd-tdep.c: Include "osabi.h".
3884 * alphanbsd-tdep.c: Include "osabi.h".
3886 * arm-tdep.h: Don't include "osabi.h".
3887 (struct gdbarch_tdep): Remove osabi member.
3888 * arm-tdep.c: Include "osabi.h".
3889 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3890 iterate over arches. Update call to gdbarch_init_osabi.
3891 (arm_dump_tdep): Don't dump osabi.
3892 * arm-linux-tdep.c: Include "osabi.h".
3893 * armnbsd-tdep.c: Include "osabi.h".
3895 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
3896 Update call to gdbarch_init_osabi.
3898 * i386-tdep.h: Don't include "osabi.h".
3899 (struct gdbarch_tdep): Remove osabi member.
3900 * i386-tdep.c: Include "osabi.h".
3901 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3902 iterate over arches. Update call to gdbarch_init_osabi.
3903 (i386_dump_tdep): Don't dump osabi.
3904 * i386-linux-tdep.c: Include "osabi.h".
3905 * i386-sol2-tdep.c: Include "osabi.h".
3906 * i386bsd-tdep.c: Include "osabi.h".
3907 * i386gnu-tdep.c: Include "osabi.h".
3908 * i386ly-tdep.c: Include "osabi.h".
3909 * i386nbsd-tdep.c: Include "osabi.h".
3910 * i386obsd-tdep.c: Include "osabi.h".
3912 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
3913 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3914 check osabi when iterating over arches. Update call to
3916 (mips_dump_tdep): Don't dump osabi.
3918 * ns32k-tdep.h: Don't include "osabi.h".
3919 (struct gdbarch_tdep): Remove.
3920 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
3921 gdbarch_lookup_osabi. Don't iterate over arches. Don't
3922 allocate tdep. Update call to gdbarch_init_osabi.
3923 (ns32k_dump_tdep): Remove.
3924 (_initialize_ns32k_tdep): Update call to gdbarch_register.
3925 * ns32knbsd-tdep.c: Include "osabi.h".
3927 * ppc-tdep.h: Don't include "osabi.h".
3928 (struct gdbarch_tdep): Remove osabi member.
3929 * rs6000-tdep.c: Include "osabi.h".
3930 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
3931 osabi when iterating over arches. Update call to
3933 (rs6000_dump_tdep): Don't dump osabi.
3934 * ppc-linux-tdep.c: Include "osabi.h".
3935 * ppcnbsd-tdep.c: Include "osabi.h".
3937 * sh-tdep.h: Don't include "osabi.h".
3938 (struct gdbarch_tdep): Remove osabi member.
3939 * sh-tdep.c: Include "osabi.h".
3940 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3941 iterate over arches. Update call to gdbarch_init_osabi.
3942 (sh_dump_tdep): Don't dump osabi.
3943 * shnbsd-tdep.c: Include "osabi.h".
3945 * sparc-tdep.c: Include "osabi.h".
3946 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3947 iterate over arches. Update call to gdbarch_init_osabi.
3948 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
3951 * vax-tdep.h: Don't include "osabi.h".
3952 (struct gdbarch_tdep): Remove.
3953 * vax-tdep.c: Include "osabi.h".
3954 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3955 iterate over arches. Don't allocate tdep. Update call
3956 to gdbarch_init_osabi.
3957 (vax_dump_tdep): Remove.
3958 (_initialize_vax_tdep): Update call to gdbarch_register.
3960 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3962 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
3964 (breakpoint_re_set_one): Don't fetch the value for a disabled
3967 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3969 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
3970 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
3971 (COERCE_FLOAT_TO_DOUBLE): Remove.
3972 * gdbarch.c: Regenerate.
3973 * gdbarch.h: Regenerate.
3974 * Makefile.in: Remove value_h from gdbarch_h.
3975 * valops.c (coerce_float_to_double): New variable.
3976 (default_coerce_float_to_double): Remove.
3977 (standard_coerce_float_to_double): Remove.
3978 (value_arg_coerce): Use coerce_float_to_double.
3979 (_initialize_valops): Add "set coerce-float-to-double".
3980 * value.h (default_coerce_float_to_double): Remove prototype.
3981 (standard_coerce_float_to_double): Remove prototype.
3983 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
3985 * mdebugread.c (parse_symbol): Likewise.
3986 * stabsread.c (define_symbol): Mark all functions as prototyped.
3988 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
3989 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
3990 set_gdbarch_coerce_float_to_double.
3991 * arm-tdep.c (arm_gdbarch_init): Likewise.
3992 * frv-tdep.c (frv_gdbarch_init): Likewise.
3993 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
3994 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
3995 * mips-tdep.c (mips_gdbarch_init): Likewise.
3996 (mips_coerce_float_to_double): Remove.
3997 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3998 (rs6000_coerce_float_to_double): Remove.
3999 * s390-tdep.c (s390_gdbarch_init): Likewise.
4000 * sh-tdep.c (sh_gdbarch_init): Likewise.
4001 (sh_coerce_float_to_double): Remove.
4002 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
4003 (sparc_coerce_float_to_double): Remove.
4004 * v850-tdep.c (v850_gdbarch_init): Likewise.
4005 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
4006 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
4007 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
4008 (hppa_coerce_float_to_double): Remove prototype.
4009 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
4011 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4013 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
4015 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4017 Suggested by Stewart Brown <sb24@avaya.com>:
4018 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
4019 in recursive calls. Handle TYPE_CODE_TYPEDEF.
4020 (c_type_print_varspec_suffix): Likewise.
4022 2003-01-04 Mark Kettenis <kettenis@gnu.org>
4024 * configure.in: Don't set and AC_SUBST SUBDIRS.
4025 * configure: Regenerated.
4027 * configure.in: Remove code dealing with shared libraries.
4028 * Makefile.in: Remove HLDFLAGS and HLDENV.
4029 * configure: Regenerated.
4031 2003-01-04 Andrew Cagney <ac131313@redhat.com>
4033 * frame.c (deprecated_frame_xmalloc): New function.
4034 (deprecated_set_frame_saved_regs_hack): New function.
4035 (deprecated_set_frame_extra_info_hack): New function.
4036 * frame.h (deprecated_frame_xmalloc): Declare.
4037 (deprecated_set_frame_saved_regs_hack): Declare.
4038 (deprecated_set_frame_extra_info_hack): Declare.
4040 2003-01-04 Mark Kettenis <kettenis@gnu.org>
4042 * configure.in: Move code that provides the --enable-gdbtk option
4043 right after the code that handles the --enable-tui option, and
4045 * configure: Regenerated.
4047 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
4048 AC_CHECK_FUNCS and remove the old check for pread64.
4049 * acinclude.m4 (AC_GNU_SOURCE): New macro.
4050 * acconfig.h (_GNU_SOURCE): Add.
4051 (HAVE_PREAD64): Remove.
4052 * configure, aclocal.m4, config.in: Regenerated.
4054 2003-01-03 Andrew Cagney <ac131313@redhat.com>
4056 * alpha-tdep.c: Use get_frame_saved_regs.
4057 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4058 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
4059 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
4060 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
4061 * vax-tdep.c, xstormy16-tdep.c: Ditto.
4063 2003-01-03 Mark Kettenis <kettenis@gnu.org>
4065 * configure.in: Remove all use of the SUBDIRS variable; add
4066 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
4067 code providing the --enable-multi-ice option, and move it right in
4068 front of the code that checks whether gdbserver is supported.
4070 * configure: Regenerated.
4071 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
4074 2003-01-03 Andrew Cagney <cagney@redhat.com>
4076 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
4077 * avr-tdep.c, cris-tdep.c: Ditto.
4078 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
4079 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
4081 2003-01-03 Mark Kettenis <kettenis@gnu.org>
4083 * configure.in: Remove --enable-netrom option.
4084 * configure: Regenerated.
4086 2003-01-03 Mark Kettenis <kettenis@gnu.org>
4088 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
4089 declaration for `struct re_pattern_buffer' instead.
4090 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
4092 2003-01-03 J. Brobecker <brobecker@gnat.com>
4094 * mdebugread.c (parse_symbol): Count until the stEnd matching
4097 2003-01-02 Mark Kettenis <kettenis@gnu.org>
4099 * configure.in: Remove --with-cpu option.
4100 subscripts. Remove evil changequotes here.
4101 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
4102 * config.in, configure: Regenerated.
4104 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
4105 * configure.in: Cleanup section that sources GDB and BFD configure
4106 subscripts. Remove evil changequotes here.
4107 * config.in, configure: Regenerated.
4109 2003-01-02 Andrew Cagney <ac131313@redhat.com>
4111 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
4112 frame accessor methods.
4113 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4114 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
4115 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
4116 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
4117 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
4118 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
4119 * z8k-tdep.c: Ditto.
4121 2003-01-02 Mark Kettenis <kettenis@gnu.org>
4123 * configure.in: Remove UI_OUT configuration code.
4124 * ada-lang.c: Update assuming UI_OUT is always true.
4125 * Makefile.in (UIOUT_CFLAGS): Remove.
4126 * configure: Regenerated.
4127 * TODO: Remove blurb about elimination of -DUI_OUT.
4129 * configure.in: Move code that provides the --enable-gdbcli,
4130 --enable-gdbmi options right before the code that handles the
4131 --enable-tui option. Polish a bit.
4132 * configure: Regenerated.
4134 * configure.in: Rewrite check for GNU regex and the
4135 --without-included regex option, and move it into the "Checks for
4136 library functions" section. This makes us use the system regex
4137 again by default on systems with version 2 of the GNU C library.
4138 This was apparently broken.
4139 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
4140 * acconfig.h (USE_INCLUDED_REGEX): Remove.
4141 * config.in, configure: Regenerated.
4143 * configure.in: Move code that provides the --enable-tui option
4144 before the "Checks for libraries" section. Polish the code
4145 somewhat and set need_curses to yes if we build the TUI. Rewrite
4146 code that looks for a library providing termcap functionality to
4147 match more closely what's done in the Readline library, and move
4148 it into to the "Checks for libraries" section.
4149 * configure: Regenerated.
4150 * Makefile.in (TERMCAP): Remove variable.
4151 * config/i386/go32.mh (TERMCAP): Remove variable.
4153 2003-01-02 Andrew Cagney <ac131313@redhat.com>
4155 * MAINTAINERS: Mention gdb_mbuild.sh.
4156 * gdb_mbuild.sh: Rewrite.
4158 2003-01-02 Mark Kettenis <kettenis@gnu.org>
4160 * configure.in: Fix typo in last change.
4161 * config.in, configure: Regenerated.
4163 2003-01-02 Andrew Cagney <ac131313@redhat.com>
4165 * valarith.c (value_binop): Delete obsolete code and comments.
4166 * configure.host: Ditto.
4167 * buildsym.h (make_blockvector): Ditto.
4168 * buildsym.c (make_blockvector): Ditto.
4169 * defs.h (enum language): Ditto.
4170 (chill_demangle): Ditto.
4171 * elfread.c (elf_symtab_read): Ditto.
4172 * dwarfread.c (CHILL_PRODUCER): Ditto.
4173 (set_cu_language): Ditto.
4174 (handle_producer): Ditto.
4175 * expprint.c (print_subexp): Ditto.
4176 * gdbtypes.c (chill_varying_type): Ditto.
4177 * gdbtypes.h (builtin_type_chill_bool): Ditto.
4178 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
4179 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
4180 (chill_varying_type): Ditto.
4181 * language.h (_LANG_chill): Ditto.
4182 * language.c (binop_result_type, integral_type): Ditto.
4183 (character_type, string_type, structured_type): Ditto.
4184 (lang_bool_type, binop_type_check): Ditto.
4185 * stabsread.h (os9k_stabs): Ditto.
4186 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
4187 (define_symbol, read_type, read_struct_fields): Ditto.
4188 (read_array_type, read_enum_type, read_huge_number): Ditto.
4189 (read_range_type, start_stabs): Ditto.
4190 * symfile.c (init_filename_language_table): Ditto.
4191 (add_psymbol_with_dem_name_to_list): Ditto.
4192 * symtab.c (symbol_init_language_specific): Ditto.
4193 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
4194 * symtab.h (struct general_symbol_info): Ditto.
4195 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
4196 * typeprint.c (typedef_print): Ditto.
4197 * utils.c (fprintf_symbol_filtered): Ditto.
4198 * valops.c (value_cast, search_struct_field, value_slice): Delete
4200 (varying_to_slice): Delete function.
4201 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
4202 (varying_to_slice): Delete declaration.
4203 * MAINTAINERS: Update.
4205 2003-01-02 Mark Kettenis <kettenis@gnu.org>
4207 * configure.in: Reorganize "Checks for library functions section"
4208 a bit. Remove check for `btowc' and `isascii' functions.
4209 * configure: Regenerated.
4211 * acconfig.h (_MSE_INT_H): Remove.
4212 * configure.in: Create "Checks for header files" section, and move
4213 appropriate tests there. Don't check for objlist.h, wchar.h,
4214 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
4215 misdetection fix. Also add "Checks for types", "Checks for
4216 compiler characteristics" and "Checks for library functions"
4218 * config.in, configure: Regenerated.
4220 * configure.in: Create "Checks for programs" section, and move
4221 appropriate tests there.
4223 2003-01-01 Mark Kettenis <kettenis@gnu.org>
4225 * configure.in: Create "Checks for libraries" section, and move
4226 appropriate tests there. Cleanup check for wctype in libw. Use
4227 AC_SEARCH_LIBS to see whether we need libsocket.
4228 * configure: Regenerated.
4230 For older changes see ChangeLog-2002
4236 version-control: never