1 2003-03-31 J. Brobecker <brobecker@gnat.com>
3 * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
4 (INIT_FRAME_AP): Likewise.
5 (EXTRA_FRAME_INFO): Likewise.
7 2003-03-31 Andrew Cagney <cagney@redhat.com>
9 * gdbarch.sh: Include "symfile.h".
10 (CALL_DUMMY_ADDRESS): Default to entry_point_address.
11 * gdbarch.h, gdbarch.c: Re-generate.
12 * inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
13 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
14 call_dummy_address, the default is at entry_point_address.
15 * v850-tdep.c (v850_gdbarch_init): Ditto.
16 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
17 * sh-tdep.c (sh_gdbarch_init): Ditto.
18 * s390-tdep.c (s390_gdbarch_init): Ditto.
19 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
20 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
21 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
22 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
23 * i386-tdep.c (i386_gdbarch_init): Ditto.
24 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
25 * frv-tdep.c (frv_gdbarch_init): Ditto.
26 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
27 * cris-tdep.c (cris_gdbarch_init): Ditto.
28 * arm-tdep.c (arm_gdbarch_init): Ditto.
30 2003-03-31 Andrew Cagney <cagney@redhat.com>
32 * gdbarch.sh (CALL_DUMMY_P): Delete.
33 * gdbarch.h, gdbarch.c: Re-generate.
34 * inferior.h (CALL_DUMMY_P): Delete macro.
35 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
36 * vax-tdep.c (vax_gdbarch_init): Update.
37 * v850-tdep.c (v850_gdbarch_init): Update.
38 * sparc-tdep.c (sparc_gdbarch_init): Update.
39 * sh-tdep.c (sh_gdbarch_init): Update.
40 * s390-tdep.c (s390_gdbarch_init): Update.
41 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
42 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
43 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
44 * mips-tdep.c (mips_gdbarch_init): Update.
45 * mcore-tdep.c (mcore_gdbarch_init): Update.
46 * m68k-tdep.c (m68k_gdbarch_init): Update.
47 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
48 * ia64-tdep.c (ia64_gdbarch_init): Update.
49 * i386-tdep.c (i386_gdbarch_init): Update.
50 * h8300-tdep.c (h8300_gdbarch_init): Update.
51 * frv-tdep.c (frv_gdbarch_init): Update.
52 * d10v-tdep.c (d10v_gdbarch_init): Update.
53 * cris-tdep.c (cris_gdbarch_init): Update.
54 * breakpoint.c (deprecated_frame_in_dummy): Update.
55 * avr-tdep.c (avr_gdbarch_init): Update.
56 * alpha-tdep.c (alpha_gdbarch_init): Update.
57 * arm-tdep.c (arm_gdbarch_init): Update.
58 * dummy-frame.c (dummy_frame_this_id): Update comments.
59 * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
60 * frame.c (legacy_get_prev_frame): Ditto.
61 * valops.c (call_function_by_hand): Delete function.
62 (hand_function_call): Rename to call_function_by_hand
64 2003-03-30 Andrew Cagney <cagney@redhat.com>
66 2002-11-10 Klee Dienes <kdienes@apple.com>
67 * value.h (struct value): Update comment.
69 2003-03-30 Andrew Cagney <cagney@redhat.com>
71 * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
73 (d10v_gdbarch_init): Do not set fp_regnum.
75 * frame.c (get_frame_base): Force ID initialization.
76 (get_prev_frame): Move computation of the frame ID from here ...
77 (get_frame_id): ... to here.
78 (legacy_get_prev_frame): Mark the frame ID as valid.
79 * frame.h (struct frame_info): Add field "id_p".
81 2003-03-30 Mark Kettenis <kettenis@gnu.org>
83 * i386-tdep.c (i386_store_struct_return): Removed.
84 (i386_gdbarch_init): Don't set deprecated_store_struct_return.
86 2003-03-30 Andrew Cagney <cagney@redhat.com>
88 * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
89 * gdbarch.h, gdbarch.c: Regenerate.
90 * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
91 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
92 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
93 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
94 * i386-tdep.c (i386_gdbarch_init): Ditto.
95 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
96 * cris-tdep.c (cris_gdbarch_init): Ditto.
97 * vax-tdep.c (vax_gdbarch_init): Ditto.
98 * s390-tdep.c (s390_gdbarch_init): Ditto.
99 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
100 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
101 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
102 * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
103 * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
104 * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
105 * sparc-tdep.c (sparc_gdbarch_init): Update.
106 * sh-tdep.c (sh_gdbarch_init): Update.
107 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
108 * mips-tdep.c (mips_gdbarch_init): Update.
109 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
110 * ia64-tdep.c (ia64_gdbarch_init): Update.
111 * frv-tdep.c (frv_gdbarch_init): Update.
112 * avr-tdep.c (avr_gdbarch_init): Update.
113 * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
114 DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
115 instead of when push_dummy_call is not available.
117 2003-03-30 Andrew Cagney <cagney@redhat.com>
119 * infttrace.c: Include "gdbthread.h".
120 (parent_attach_all): Fix function signature.
121 (call_ptrace): Update call.
122 * Makefile.in (infttrace.o): Update dependencies.
124 2003-03-30 Andrew Cagney <cagney@redhat.com>
126 * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
128 * gdbarch.h, gdbarch.c: Regenerate.
129 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
130 * x86-64-tdep.c (x86_64_init_abi): Update.
131 * v850-tdep.c (v850_gdbarch_init): Update.
132 * sparc-tdep.c (sparc_gdbarch_init): Update.
133 * sh-tdep.c (sh_gdbarch_init): Update.
134 * s390-tdep.c (s390_gdbarch_init): Update.
135 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
136 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
137 * mips-tdep.c (mips_gdbarch_init): Update.
138 * mcore-tdep.c (mcore_gdbarch_init): Update.
139 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
140 * ia64-tdep.c (ia64_gdbarch_init): Update.
141 * i386-tdep.c (i386_gdbarch_init): Update.
142 * h8300-tdep.c (h8300_gdbarch_init): Update.
143 * frv-tdep.c (frv_gdbarch_init): Update.
144 * cris-tdep.c (cris_gdbarch_init): Update.
145 * avr-tdep.c (avr_gdbarch_init): Update.
146 * arm-tdep.c (arm_gdbarch_init): Update.
147 * valops.c (hand_function_call): Update.
149 2003-03-29 Andrew Cagney <cagney@redhat.com>
151 * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
152 sizeof_call_dummy_words.
153 * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
155 * gdbarch.h: Regenerate.
157 2003-03-29 Andrew Cagney <cagney@redhat.com>
159 * infttrace.h: New file.
160 * hpread.c: Include "gdb_assert.h" and "somsolib.h".
161 (hpread_get_textlow): Detect an uninitialized dn_bufp.
162 (hpread_read_doc_function_type): Detect an initialized type1.
163 (hpread_quick_traverse): Initialize mod_name_string.
164 * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
165 (som_solib_get_solib_by_pc): Declare.
166 (so_lib_thread_start_addr): Declare.
167 (no_shared_libraries): Declare.
168 * somread.c (init_import_symbols): Make static. Add forward
170 * config/pa/nm-hppah.h: Include "infttrace.h" for
172 (hppa_insert_hw_watchpoint): Declare.
173 (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
174 * hppah-nat.c: Include "gdb_string.h".
175 (parent_attach_all): Delete extern declaration, moved to
177 (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
179 (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
180 * Makefile.in (infttrace_h): Define.
181 (hpread.o): Update dependencies.
182 (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
183 * hppa-hpux-tdep.c: Include "gdb_string.h".
184 * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
185 * infrun.c (handle_inferior_event): Always initialize
186 stepped_after_stopped_by_watchpoint. Add default and remove
187 fallthrough in switch statement.
188 * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
190 (hppa_remove_hw_watchpoint): Ditto.
192 2003-03-29 Andrew Cagney <cagney@redhat.com>
194 * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
197 2003-03-29 Richard Earnshaw <rearnsha@arm.com>
199 * arm-tdep.c (arm_push_arguments): Delete.
200 (struct stack_item): New type.
201 (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
202 (arm_store_struct_return): Delte.
203 (arm_gdbarch_init): Register arm_push_dummy_call. Don't register
204 arm_push_arguments or arm_store_struct_return.
206 2003-03-28 Andrew Cagney <cagney@redhat.com>
208 * Makefile.in (d10v-tdep.o): Update dependencies.
209 * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
210 * d10v-tdep.c: Include "remote.h".
211 (target_resume_hook): Delete extern declaration.
212 (target_wait_loop_hook): Ditto.
213 (tdisassemble_command): Eliminate assignment in "if" conditional.
214 (d10v_ts2_register_sim_regno): Eliminate call to
215 legacy_register_sim_regno.
216 (d10v_ts3_register_sim_regno): Ditto.
218 2003-03-28 Jeff Johnston <jjohnstn@redhat.com>
220 * thread.c: Reindented.
222 * linux-proc.c: Ditto.
224 2003-03-28 Bob Rossi <bob_rossi@cox.net>
226 * MAINTAINERS (write after approval): Add myself.
228 2003-03-27 Theodore A. Roth <troth@openavr.org>
230 * objc-exp.y: Add missing semi-colons.
232 2003-03-27 Andrew Cagney <cagney@redhat.com>
234 * regcache.c (write_sp): Delete function and references.
235 * inferior.h (write_sp): Delete declaration.
236 * valops.c (hand_function_call): Replace write_sp with
238 * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
239 (sparc_pop_frame): Ditto.
241 2003-03-27 Andrew Cagney <cagney@redhat.com>
243 * NEWS: Mention removal of support for hppa*-*-bsd* and
244 hppa*-*-osf* natives, and hppa*-*-pro* target.
245 * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
246 * config/pa/xm-pa.h: Obsolete file.
247 * config/pa/xm-hppab.h: Obsolete file.
248 * config/pa/nm-hppab.h: Obsolete file.
249 * config/pa/tm-hppab.h: Obsolete file.
250 * config/pa/tm-hppao.h: Obsolete file.
251 * config/pa/nm-hppao.h: Obsolete file.
252 * config/pa/tm-pro.h: Obsolete file.
253 * config/pa/hppaosf.mt: Obsolete file.
254 * config/pa/hppaosf.mh: Obsolete file.
255 * config/pa/hppapro.mt: Obsolete file.
256 * config/pa/hppabsd.mt: Obsolete file.
257 * config/pa/hppabsd.mh: Obsolete file.
258 * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
259 * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
262 2003-03-27 Andrew Cagney <cagney@redhat.com>
264 * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
265 push_arguments. Don't set push_return_address or write_sp.
266 (d10v_push_dummy_call): Replace d10v_push_arguments.
267 (d10v_push_return_address, d10v_write_sp): Delete function,
268 handled by push_dummy_call.
270 2003-03-26 Andrew Cagney <cagney@redhat.com>
272 * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
273 (push_dummy_call): New pure multi-arch replacement with gdbarch,
274 regcache and dummy_addr parameters.
275 * gdbarch.h, gdbarch.c: Re-generate.
276 * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
277 available; assume it will handle stack alignment and return
278 address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
279 legacy_push_arguments.
280 (legacy_push_arguments): Rename default_push_arguments.
281 * value.h (legacy_push_arguments): Rename default_push_arguments.
282 * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
283 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
284 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
285 * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
286 * config/i386/tm-symmetry.h: Update.
287 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
288 * x86-64-tdep.c (x86_64_init_abi): Update.
289 * v850-tdep.c (v850_gdbarch_init): Update.
290 * sparc-tdep.c (sparc_gdbarch_init): Update.
291 * sh-tdep.c (sh_gdbarch_init): Update.
292 * s390-tdep.c (s390_gdbarch_init): Update.
293 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
294 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
295 * mips-tdep.c (mips_gdbarch_init): Update.
296 * mcore-tdep.c (mcore_gdbarch_init): Update.
297 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
298 * ia64-tdep.c (ia64_gdbarch_init): Update.
299 * i386-tdep.c (i386_gdbarch_init): Update.
300 * hppa-tdep.c (hppa_gdbarch_init): Update.
301 * h8300-tdep.c (h8300_gdbarch_init): Update.
302 * frv-tdep.c (frv_gdbarch_init): Update.
303 * d10v-tdep.c (d10v_gdbarch_init): Update.
304 * cris-tdep.c (cris_gdbarch_init): Update.
305 * avr-tdep.c (avr_gdbarch_init): Update.
306 * arm-tdep.c (arm_gdbarch_init): Update.
307 * arm-linux-tdep.c (arm_linux_init_abi): Update.
308 * alpha-tdep.c (alpha_gdbarch_init): Update.
310 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
312 * signals/signals.c (do_target_signal_to_host): Correct realtime
315 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
317 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
318 (struct sal_chain, map_catch_names): Remove.
319 (catch_exception_command_1): Don't call
320 handle_gnu_4_16_catch_command.
322 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
324 From Mark Dettinger <dettinge@de.ibm.com>:
325 * dwarf2cfi.c (read_2u): Increment pointer by two.
327 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
329 * signals/signals.c: Fix typos in last change.
331 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
333 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
334 not already defined. Use __SIGRTMIN if available.
335 (target_signal_from_host): Remove SIGRTMIN block.
336 (do_target_signal_to_host): Remove SIGRTMIN block; check that
337 the signal is within the realtime range.
339 2003-03-25 Adam Fedor <fedor@gnu.org>
341 * Makefile.in (infrun.o): Add $(language_h)
342 * infrun.c (handle_inferior_event): Use skip_language_trampoline
343 for language specific trampolines.
344 * language.h (struct language_defn): Add skip_trampoline.
345 (skip_language_trampoline): Declare.
346 * language.c (unk_lang_trampoline, skip_language_trampoline):
348 (unknown_language_defn, auto_language_defn, local_language_defn):
349 Add ukn_lang_trampoline.
350 * ada-lang.c (ada_language_defn): Add NULL for language
351 specific skip_trampoline.
352 * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
353 scm-lang.c: Likewise.
354 * objc-lang.c (objc_skip_trampoline): New function.
355 (objc_language_defn): Add objc_skip_trampoline.
357 2003-03-25 Andrew Cagney <cagney@redhat.com>
359 * frame.c (get_prev_frame): Delay validating a frame's ID -
360 non-NULL, didn't go backwards - until an attempt to unwind it to
363 2003-03-25 Andrew Cagney <cagney@redhat.com>
365 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
366 EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
367 * gdbarch.h, gdbarch.c: Re-generate.
368 * config/sparc/tm-sparc.h
369 (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
370 * sparc-tdep.c (sparc_gdbarch_init): Set
371 deprecated_extra_stack_alignment_needed.
372 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
373 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
374 extra_stack_alignment_needed.
375 * v850-tdep.c (v850_gdbarch_init): Ditto.
376 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
377 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
378 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
379 * cris-tdep.c (cris_gdbarch_init): Ditto.
380 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
381 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
383 2003-03-25 Andrew Cagney <cagney@redhat.com>
385 * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
387 * gdbarch.h, gdbarch.c: Regenerate.
388 * d10v-tdep.c (d10v_store_struct_return): Delete function.
389 (d10v_push_arguments): Set the struct return register.
390 (d10v_gdbarch_init): Update.
391 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
392 * x86-64-tdep.c (x86_64_init_abi): Update.
393 * vax-tdep.c (vax_gdbarch_init): Update.
394 * v850-tdep.c (v850_gdbarch_init): Update.
395 * sparc-tdep.c (sparc_gdbarch_init): Update.
396 * sh-tdep.c (sh_gdbarch_init): Update.
397 * s390-tdep.c (s390_gdbarch_init): Update.
398 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
399 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
400 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
401 * mips-tdep.c (mips_gdbarch_init): Update.
402 * mcore-tdep.c (mcore_gdbarch_init): Update.
403 * m68k-tdep.c (m68k_gdbarch_init): Update.
404 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
405 * ia64-tdep.c (ia64_gdbarch_init): Update.
406 * i386-tdep.c (i386_gdbarch_init): Update.
407 * hppa-tdep.c (hppa_gdbarch_init): Update.
408 * h8300-tdep.c (h8300_gdbarch_init): Update.
409 * frv-tdep.c (frv_gdbarch_init): Update.
410 * cris-tdep.c (cris_gdbarch_init): Update.
411 * avr-tdep.c (avr_gdbarch_init): Update.
412 * arm-tdep.c (arm_gdbarch_init): Update.
413 * alpha-tdep.c (alpha_gdbarch_init): Update.
415 2003-03-25 Andrew Cagney <cagney@redhat.com>
417 * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
418 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
419 CALL_DUMMY_STACK_ADJUST with a predicate variable.
420 * gdbarch.h, gdbarch.c: Regenerate.
421 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
422 call_dummy_stack_adjust_p.
423 * vax-tdep.c (vax_gdbarch_init): Ditto.
424 * v850-tdep.c (v850_gdbarch_init): Ditto.
425 * sh-tdep.c (sh_gdbarch_init): Ditto.
426 * s390-tdep.c (s390_gdbarch_init): Ditto.
427 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
428 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
429 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
430 * mips-tdep.c (mips_gdbarch_init): Ditto.
431 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
432 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
433 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
434 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
435 * i386-tdep.c (i386_gdbarch_init): Ditto.
436 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
437 * frv-tdep.c (frv_gdbarch_init): Ditto.
438 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
439 * cris-tdep.c (cris_gdbarch_init): Ditto.
440 * avr-tdep.c (avr_gdbarch_init): Ditto.
441 * arm-tdep.c (arm_gdbarch_init): Ditto.
442 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
443 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
444 * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
445 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
446 * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
447 call_dummy_stack_adjust_p.
448 * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
449 (CALL_DUMMY_STACK_ADJUST): Delete macro.
450 * sparc-tdep.c (sparc32_push_arguments): Update.
451 * valops.c (hand_function_call): Update.
453 2003-03-25 Corinna Vinschen <vinschen@redhat.com>
455 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
456 set_gdbarch_char_signed.
458 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
461 * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
463 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
465 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
466 (_initialize_arm_tdep): Don't set tm_print_insn.
468 2003-03-24 Adam Fedor <fedor@gnu.org>
470 * Makefile.in (YYOBJ): Add objc-exp.tab.o
471 * objc-lang.h: Add multiple inclusion protection.
472 (start_msglist, add_msglist, end_msglist): Additional declarations.
474 2003-03-24 Richard Earnshaw <rearnsha@arm.com>
476 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
477 value was renamed to ARM_FLOAT_SOFT_FPA.
479 2003-03-23 Andrew Cagney <cagney@redhat.com>
481 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
482 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
483 * gdbarch.h, gdbarch.c: Regenerate.
484 * valops.c (hand_function_call): Update.
485 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
486 * frame.c (legacy_saved_regs_this_id): Update.
487 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
488 * dummy-frame.h: Update.
489 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
490 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
491 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
492 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
493 * config/m68k/tm-sun3.h: Update.
494 * blockframe.c (inside_main_func, frame_chain_valid): Update.
495 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
496 * x86-64-tdep.c (x86_64_init_abi): Update.
497 * vax-tdep.c (vax_gdbarch_init): Update.
498 * v850-tdep.c (v850_gdbarch_init): Update.
499 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
500 * sh-tdep.c (sh_gdbarch_init): Update.
501 * s390-tdep.c (s390_gdbarch_init): Update.
502 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
503 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
504 (frame_get_saved_regs): Update.
505 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
506 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
507 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
508 * mips-tdep.c (mips_gdbarch_init): Update.
509 * mcore-tdep.c (mcore_gdbarch_init): Update.
510 * m68k-tdep.c (m68k_gdbarch_init): Update.
511 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
512 * ia64-tdep.c (ia64_gdbarch_init): Update.
513 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
514 * i386-interix-tdep.c (i386_interix_init_abi): Update.
515 (i386_interix_back_one_frame): Update.
516 * hppa-tdep.c (hppa_gdbarch_init): Update.
517 (hppa_init_extra_frame_info): Update.
518 * h8300-tdep.c (h8300_gdbarch_init): Update.
519 * frv-tdep.c (frv_gdbarch_init): Update.
520 * cris-tdep.c (cris_gdbarch_init): Update.
521 * avr-tdep.c (avr_gdbarch_init): Update.
522 * arm-tdep.c (arm_gdbarch_init): Update.
523 * alpha-tdep.c (alpha_gdbarch_init): Update.
525 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
527 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
528 (arm_get_fp_model): Declare.
529 * arm-tdep.c (fp_model_strings): New string array.
530 (arm_fp_model, current_fp_model): New variables.
531 (arm_get_fp_model): New function.
532 (arm_set_fp): New function.
533 (set_fp_model_sfunc): New function.
534 (show_fp_model): New function.
535 (_initialize_arm_tdep): Add new command to set/show the FPU.
536 (arm_extract_return_value): Use arm_get_fp_model.
537 (arm_store_return_value): Likewise.
538 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
539 to initialize the floating-point data types.
540 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
543 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
545 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
546 the current setting of each value.
547 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
548 new_set and new_show. Use add_setshow_cmd_full and
549 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
550 commands and add new version as subcommands of "set/show arm".
552 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
554 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
555 (set_arm_command, show_arm_command): New functions.
556 (_initialize_arm_tdep): Add them.
557 (num_disassembly_options): Renamed from num_flavor_options.
558 (valid_disassembly_styles): Renamed from valid_flavors.
559 (disassembly_style): Renamed from disassembly_flavor.
560 (set_disassembly_style_sfunc): Renamed from
561 set_disassembly_flavor_sfunc.
562 (set_disassembly_style): Renamed from set_disassembly_flavor.
563 (arm_othernames): Updated.
564 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
565 command. Add "set/show arm disassembly" commands. Deprecate
566 "othernames" command.
568 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
570 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
571 (arm-tdep.o): Depend on elf_arm_h.
573 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
575 * Makefile.in (coff_internal_h): Define.
576 (arm-tdep.o): Update dependencies.
578 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
580 * arm-tdep.c (prologue_cache): Delete.
581 (check_prologue_cache, save_prologue_cache): Delete.
582 (arm_scan_prologue): Don't check or update the prologue_cache.
583 (arm_gdb_arch_init): Don't initialize it.
584 (_initialize_arm_tdep): Likewise.
586 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
588 * MAINTAINERS (tui): Maintainer of tui code.
590 2003-03-21 Corinna Vinschen <vinschen@redhat.com>
592 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
593 (i386-cygwin-tdep.o): Add dependencies.
594 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
595 * i386-cygwin-tdep.c: New file.
596 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
597 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
599 2003-03-20 Andrew Cagney <cagney@redhat.com>
601 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
602 (handle_inferior_event): Remove code calling
603 DYNAMIC_TRAMPOLINE_NEXTPC.
605 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
606 already has a full path.
608 * main.c (gdb_main): Return 1.
609 (captured_main): Call error to report an invalid interpreter.
611 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
612 * alpha-osf1-tdep.c: Include "gdb_string.h".
614 2003-03-19 J. Brobecker <brobecker@gnat.com>
616 Continuing work to convert the hppa targets to multiarch partial.
618 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
619 method, now that hppa_push_dummy_frame has a conformant prototype.
620 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
621 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
622 for the switch to multiarch partial.
624 2003-03-19 Kevin Buettner <kevinb@redhat.com>
626 * mdebugread.c (parse_symbol): For stEnd, we're done counting
629 2003-03-18 Kevin Buettner <kevinb@redhat.com>
631 * mips-tdep.c (mips_register_name): Fix fencepost error involving
632 NUM_REGS bounds check.
634 2003-03-18 Kevin Buettner <kevinb@redhat.com>
636 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
637 * mips-tdep.c (gdb_assert.h): Include.
638 (mips_generic_reg_names, mips_processor_reg_names): Make static.
639 (mips_register_name): Handle integer registers explicitly. Add
641 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
642 (mips_lsi33k_reg_names): Don't list integer registers; they're
643 handled by mips_register_name() now.
644 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
645 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
646 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
647 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
648 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
650 2003-03-18 Andrew Cagney <cagney@redhat.com>
652 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
654 * gdbtypes.h (print_scalar_formatted): Update declaration.
655 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
657 2003-03-18 J. Brobecker <brobecker@gnat.com>
659 * infrun.c (observer.h): Add #include.
660 (normal_stop): Add call to observer_notify_normal_stop.
661 * Makefile.in (infrun.o): Add dependency on observer.h.
663 2003-03-18 J. Brobecker <brobecker@gnat.com>
665 Continuing work to convert the hppa targets to multiarch partial.
666 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
667 parameter. Reformat comment.
668 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
669 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
670 to match new profile.
672 2003-03-18 J. Brobecker <brobecker@gnat.com>
674 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
675 appear to be working in any case.
677 2003-03-18 J. Brobecker <brobecker@gnat.com>
679 * observer.c (observer_test_first_observer): New static variable.
680 (observer_test_second_observer): Likewise.
681 (observer_test_third_observer): Likewise.
682 (observer_test_first_notification_function): New static function.
683 (observer_test_second_notification_function): Likewise.
684 (observer_test_third_notification_function): Likewise.
686 2003-03-17 J. Brobecker <brobecker@gnat.com>
688 * hppa-tdep.c (gdb_assert.h): Add missing #include.
689 * somsolib.c (gdb_assert.h): Likewise.
690 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
691 (somsolib.o): Likewise.
693 2003-03-17 Andrew Cagney <cagney@redhat.com>
695 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
696 BFD. Simplify setting of di.endian.
698 2003-03-17 Andrew Cagney <cagney@redhat.com>
700 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
701 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
703 From Elena Zannoni <ezannoni@redhat.com>
704 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
705 vector and floating-point parameters.
706 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
708 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
710 2003-03-17 Fernando Nasser <fnasser@redhat.com>
712 * MAINTAINERS: Remove my name from several maintainership roles.
714 2003-03-17 Andrew Cagney <cagney@redhat.com>
716 Fix frame off-by-one bug.
717 * frame-unwind.h (frame_this_id_ftype): Replace
718 frame_unwind_id_ftype.
719 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
720 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
721 with "prev_register".
722 * frame-unwind.c (frame_unwind_find_by_pc): Return
723 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
725 * dummy-frame.c (cached_find_dummy_frame): Delete function.
726 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
727 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
728 (dummy_frame_unwind): Update.
729 * sentinel-frame.c (sentinel_frame_prev_register): Replace
730 sentinel_frame_register_unwind.
731 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
732 (sentinel_frame_unwinder): Update.
733 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
734 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
735 * frame.c (create_sentinel_frame): Update. Initialize
736 "prologue_cache" instead of "unwind_cache".
737 (frame_register_unwind): Call this frame's prev_register with the
738 next frame and this frame's prologue cache.
739 (get_prev_frame): Simplify. Always call prev frame's this_id with
740 this frame and prev frame's prologue cache. Document that this
741 call is shifted one to the left when compared to the
742 frame_register_unwind call.
743 (legacy_saved_regs_prev_register): Replace
744 frame_saved_regs_register_unwind.
745 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
746 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
747 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
748 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
749 (d10v_frame_unwind): Update.
750 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
751 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
752 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
753 "saved_regs" with "this_saved_regs".
755 2003-03-16 Andrew Cagney <cagney@redhat.com>
757 * frame.c (frame_pop): Don't call target_store_registers. Fix
758 problem reported by Mark Kettenis.
760 2003-03-16 Mark Kettenis <kettenis@gnu.org>
762 * i386-tdep.c (i386_register_type): Renamed from
763 i386_register_virtual_type. Adjust function signature.
764 (i386_gdbarch_init): Set register_type instead of
765 deprecated_max_register_raw_size,
766 deprecated_max_register_virtual_size and register_virtual_type.
768 2003-03-14 Andrew Cagney <cagney@redhat.com>
770 * frame.c (get_prev_frame): When a legacy frame, always call
771 legacy_get_prev_frame. Simplify unwind code using assumption that
773 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
774 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
775 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
777 2003-03-14 Andrew Cagney <cagney@redhat.com>
779 * frame.c (get_saved_register): Delete function.
780 * frame.h (get_saved_register): Delete declaration.
781 * xstormy16-tdep.c: Update comment.
782 * regcache.h: Update comments.
783 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
784 get_saved_register and extract_address, use
785 frame_read_unsigned_register.
786 (sparc_frame_saved_pc): Ditto.
787 (sparc_get_saved_register): Instead of get_saved_register, use
789 (sparc_pop_frame): Ditto.
790 * findvar.c: Update comments.
791 (value_of_register): Call frame_register instead of
793 (value_from_register): Ditto.
794 * config/sparc/tm-sparc.h: Update comment.
795 * breakpoint.c: Update comment.
797 2003-03-14 Andrew Cagney <cagney@redhat.com>
799 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
801 * gdbarch.h, gdbarch.c: Re-generate.
802 * frame.h: Update comments.
803 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
804 * x86-64-tdep.c (x86_64_init_abi): Update.
805 * sparc-tdep.c (sparc_gdbarch_init): Update.
806 * sh-tdep.c (sh_gdbarch_init): Update.
807 * mips-tdep.c (mips_gdbarch_init): Update.
808 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
809 * cris-tdep.c (cris_gdbarch_init): Update.
810 * ia64-tdep.c (ia64_gdbarch_init): Update.
811 * frame.c (frame_register): Update.
812 (get_saved_register): Update.
813 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
815 2003-03-13 Andrew Cagney <cagney@redhat.com>
817 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
818 * gdbarch.h, gdbarch.c: Regenerate.
819 * valops.c (hand_function_call): Update comment.
820 * stack.c (return_command): Update comment.
821 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
822 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
823 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
824 * x86-64-tdep.c (x86_64_init_abi): Update.
825 * vax-tdep.c (vax_gdbarch_init): Update.
826 * v850-tdep.c (v850_gdbarch_init): Update.
827 * sparc-tdep.c (sparc_gdbarch_init): Update.
828 * sh-tdep.c (sh_gdbarch_init): Update.
829 * s390-tdep.c (s390_gdbarch_init): Update.
830 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
831 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
832 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
833 * mips-tdep.c (mips_gdbarch_init): Update.
834 * mcore-tdep.c (mcore_gdbarch_init): Update.
835 * m68k-tdep.c (m68k_gdbarch_init): Update.
836 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
837 * ia64-tdep.c (ia64_gdbarch_init): Update.
838 * i386-tdep.c (i386_gdbarch_init): Update.
839 * hppa-tdep.c (hppa_gdbarch_init): Update.
840 * h8300-tdep.c (h8300_gdbarch_init): Update.
841 * frv-tdep.c (frv_gdbarch_init): Update.
842 * cris-tdep.c (cris_gdbarch_init): Update.
843 * avr-tdep.c (avr_gdbarch_init): Update.
844 * arm-tdep.c (arm_gdbarch_init): Update.
845 * alpha-tdep.c (alpha_gdbarch_init): Update.
847 2003-03-13 Andrew Cagney <cagney@redhat.com>
849 * frame.c (legacy_frame_p): New function.
850 (get_prev_frame): Use legacy_frame_p.
851 * frame.h (legacy_frame_p): Declare.
853 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
855 * MAINTAINERS (write after approval): Alphabetically
858 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
860 * MAINTAINERS (write after approval): Add myself.
862 2003-03-12 Andrew Cagney <cagney@redhat.com>
864 * frame.c (get_prev_frame): Rename the frame parameter to
866 (get_next_frame, legacy_get_prev_frame): Ditto.
868 2003-03-12 Andrew Cagney <cagney@redhat.com>
870 * frame.c (get_current_frame): Check target_has_registers before
871 checking target_has_stack.
872 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
873 instead of deprecated_selected_frame.
874 * findvar.c (value_of_register): Pass "frame", not
875 deprecated_selected_frame, to value_of_builtin_reg.
877 2003-03-12 Andrew Cagney <cagney@redhat.com>
879 * regcache.c (regcache_cooked_write_signed): New function.
880 (regcache_cooked_write_unsigned): New function.
881 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
882 (regcache_cooked_read_signed): Fix regnum in range assertion.
883 * regcache.h (regcache_cooked_write_signed): Declare.
884 (regcache_cooked_write_unsigned): Declare.
886 2003-03-12 Andrew Cagney <cagney@redhat.com>
888 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
889 * gdbarch.h, gdbarch.c: Re-generate.
890 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
891 * x86-64-tdep.h: Update.
892 * x86-64-tdep.c (x86_64_init_abi): Update.
893 * v850-tdep.c (v850_gdbarch_init): Update.
894 * sparc-tdep.c (sparc_gdbarch_init): Update.
895 * sh-tdep.c (sh_gdbarch_init): Update.
896 * s390-tdep.c (s390_gdbarch_init): Update.
897 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
898 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
899 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
900 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
901 * mips-tdep.c (mips_gdbarch_init): Update.
902 * mcore-tdep.c (mcore_gdbarch_init): Update.
903 * m68k-tdep.c (m68k_gdbarch_init): Update.
904 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
905 * ia64-tdep.c (ia64_gdbarch_init): Update.
906 * i386-tdep.c (i386_gdbarch_init): Update.
907 * i386-interix-tdep.c (i386_interix_init_abi): Update.
908 * hppa-tdep.c (hppa_gdbarch_init): Update.
909 * h8300-tdep.c (h8300_gdbarch_init): Update.
910 * frv-tdep.c (frv_gdbarch_init): Update.
911 * cris-tdep.c (cris_gdbarch_init): Update.
912 * avr-tdep.c (avr_gdbarch_init): Update.
913 * arm-tdep.c (arm_gdbarch_init): Update.
914 * alpha-tdep.c (alpha_gdbarch_init): Update.
915 * sh-tdep.c (sh_init_extra_frame_info): Update.
916 (sh64_init_extra_frame_info): Update.
917 * ns32knbsd-nat.c (frame_num_args): Update.
918 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
919 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
920 (xstormy16_frame_chain_valid): Update.
921 * vax-tdep.c (vax_saved_pc_after_call): Update.
922 * v850-tdep.c (v850_frame_chain): Update.
923 (v850_pop_frame): Update.
924 (v850_init_extra_frame_info): Update.
925 * sparc-tdep.c (setup_arbitrary_frame): Update.
926 * ns32k-tdep.c (umax_frame_num_args): Update.
927 * s390-tdep.c (s390_pop_frame_regular): Update.
928 * mn10300-tdep.c (mn10300_frame_chain): Update.
929 (mn10300_pop_frame_regular): Update.
930 (mn10300_init_extra_frame_info): Update.
931 * mips-tdep.c (mips_init_frame_pc_first): Update.
932 (mips_frame_chain): Update.
933 (mips_pop_frame): Update.
934 * mcore-tdep.c (mcore_frame_chain): Update.
935 (mcore_pop_frame): Update.
936 (mcore_init_extra_frame_info): Update.
937 * arch-utils.c (init_frame_pc_default): Update.
938 * m68k-tdep.c (isi_frame_num_args): Update.
939 (delta68_frame_num_args): Update.
940 (news_frame_num_args): Update.
941 * ia64-tdep.c (ia64_pop_frame_regular): Update.
942 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
943 (alpha_frame_chain): Update.
944 (alpha_pop_frame): Update.
945 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
946 (hppa_init_extra_frame_info): Update.
947 (hppa_frame_chain): Update.
948 (hppa_frame_chain_valid): Update.
949 * cris-tdep.c (cris_init_extra_frame_info): Update.
950 * avr-tdep.c (avr_init_extra_frame_info): Update.
951 * arm-tdep.c (arm_frame_chain_valid): Update.
952 (arm_init_extra_frame_info): Update.
953 (arm_pop_frame): Update.
954 * frame.c (frame_pc_unwind): Update.
955 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
956 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
957 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
958 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
959 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
960 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
962 2003-03-12 Andrew Cagney <cagney@redhat.com>
964 Eliminate the need for POP_FRAME.
965 * frame.c (do_frame_unwind_register): New function.
966 (frame_pop): When no POP_FRAME, pop the frame using register
967 unwind and a scratch regcache.
968 (frame_saved_regs_pop): Delete function.
969 (trad_frame_unwinder): Update.
970 * d10v-tdep.c (d10v_frame_pop): Delete function.
971 (d10v_frame_unwind): Update.
972 * sentinel-frame.c (sentinel_frame_pop): Delete function.
973 (sentinel_frame_unwinder): Update.
974 * dummy-frame.c (dummy_frame_pop): Delete function.
975 (dummy_frame_unwind): Update.
976 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
977 (struct frame_unwind): Update.
979 2003-03-11 Kevin Buettner <kevinb@redhat.com>
981 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
982 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
983 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
984 Do range checks on register number obtained from debugging info.
985 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
986 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
987 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
989 (do_fp_register_row): Fix typo which caused double type to be
990 used when attempting to unpack a float.
992 2003-03-11 J. Brobecker <brobecker@gnat.com>
994 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
996 2003-03-11 Andrew Cagney <cagney@redhat.com>
998 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
999 frame. Problem found by Corinna Vinschen.
1001 2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
1003 * doublest.c (floatformat_from_length): Accept also
1004 the real size of 'long double' type.
1006 2003-03-10 Daniel Jacobowitz <drow@mvista.com>
1008 From Klee Dienes <kdienes@apple.com>:
1009 * breakpoint.c (bpstat_copy): Copy the command lines as well
1010 as the old value, to match what is freed in bpstat_clear.
1012 2003-03-10 David Carlton <carlton@math.stanford.edu>
1014 * minsyms.c (add_minsym_to_hash_table): Replace
1015 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
1016 (compare_minimal_symbols, compact_minimal_symbols)
1017 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
1018 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
1019 of DEPRECATED_SYMBOL_MATCHES_NAME.
1020 (lookup_minimal_symbol_solib_trampoline): Ditto.
1022 2003-03-10 Andrew Cagney <cagney@redhat.com>
1024 * regcache.h (regcache_cooked_read_ftype): Define.
1025 (regcache_save, regcache_restore): Add a cooked_read parameter.
1026 * regcache.c (regcache_save, regcache_restore): Update.
1027 (do_cooked_read): New function.
1028 (regcache_cpy): Pass do_cooked_read to regcache_save and
1031 2003-03-10 Andrew Cagney <cagney@redhat.com>
1033 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1034 * gdbarch.h, gdbarch.c: Re-generate.
1035 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1036 * x86-64-tdep.h: Update.
1037 * x86-64-tdep.c (x86_64_init_abi): Update.
1038 * v850-tdep.c (v850_gdbarch_init): Update.
1039 * sparc-tdep.c (sparc_gdbarch_init): Update.
1040 * sh-tdep.c (sh_gdbarch_init): Update.
1041 * s390-tdep.c (s390_gdbarch_init): Update.
1042 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1043 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1044 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1045 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1046 * mips-tdep.c (mips_gdbarch_init): Update.
1047 * mcore-tdep.c (mcore_gdbarch_init): Update.
1048 * m68k-tdep.c (m68k_gdbarch_init): Update.
1049 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1050 * ia64-tdep.c (ia64_gdbarch_init): Update.
1051 * i386-tdep.c (i386_gdbarch_init): Update.
1052 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1053 * hppa-tdep.c (hppa_gdbarch_init): Update.
1054 * h8300-tdep.c (h8300_gdbarch_init): Update.
1055 * frv-tdep.c (frv_gdbarch_init): Update.
1056 * cris-tdep.c (cris_gdbarch_init): Update.
1057 * avr-tdep.c (avr_gdbarch_init): Update.
1058 * arm-tdep.c (arm_gdbarch_init): Update.
1059 * alpha-tdep.c (alpha_gdbarch_init): Update.
1060 * sh-tdep.c (sh_init_extra_frame_info): Update.
1061 (sh64_init_extra_frame_info): Update.
1062 * ns32knbsd-nat.c (frame_num_args): Update.
1063 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1064 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1065 (xstormy16_frame_chain_valid): Update.
1066 * vax-tdep.c (vax_saved_pc_after_call): Update.
1067 * v850-tdep.c (v850_frame_chain): Update.
1068 (v850_pop_frame): Update.
1069 (v850_init_extra_frame_info): Update.
1070 * sparc-tdep.c (setup_arbitrary_frame): Update.
1071 * ns32k-tdep.c (umax_frame_num_args): Update.
1072 * s390-tdep.c (s390_pop_frame_regular): Update.
1073 * mn10300-tdep.c (mn10300_frame_chain): Update.
1074 (mn10300_pop_frame_regular): Update.
1075 (mn10300_init_extra_frame_info): Update.
1076 * mips-tdep.c (mips_init_frame_pc_first): Update.
1077 (mips_frame_chain): Update.
1078 (mips_pop_frame): Update.
1079 * mcore-tdep.c (mcore_frame_chain): Update.
1080 (mcore_pop_frame): Update.
1081 (mcore_init_extra_frame_info): Update.
1082 * arch-utils.c (init_frame_pc_default): Update.
1083 * m68k-tdep.c (isi_frame_num_args): Update.
1084 (delta68_frame_num_args): Update.
1085 (news_frame_num_args): Update.
1086 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1087 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1088 (alpha_frame_chain): Update.
1089 (alpha_pop_frame): Update.
1090 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1091 (hppa_init_extra_frame_info): Update.
1092 (hppa_frame_chain): Update.
1093 (hppa_frame_chain_valid): Update.
1094 * cris-tdep.c (cris_init_extra_frame_info): Update.
1095 * avr-tdep.c (avr_init_extra_frame_info): Update.
1096 * arm-tdep.c (arm_frame_chain_valid): Update.
1097 (arm_init_extra_frame_info): Update.
1098 (arm_pop_frame): Update.
1099 * frame.c (frame_pc_unwind): Update.
1100 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1101 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1102 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1103 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1104 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1105 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1107 2003-03-10 Andrew Cagney <cagney@redhat.com>
1109 * gdbarch.sh (gdbarch_unwind_pc): New method.
1110 * gdbarch.h, gdbarch.c: Regenerate.
1111 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
1112 but use read_pc and FRAME_SAVED_PC as fall backs.
1113 (frame_saved_regs_pc_unwind): Delete function.
1114 (trad_frame_unwinder): Update.
1115 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
1116 (struct frame_unwind): Update.
1117 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
1118 (dummy_frame_unwind): Update.
1119 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
1120 (sentinel_frame_unwinder): Update.
1121 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
1122 (d10v_frame_unwind): Update.
1123 (d10v_unwind_pc): New function.
1124 (d10v_gdbarch_init): Set unwind_pc.
1126 2003-03-10 Andrew Cagney <cagney@redhat.com>
1128 * gdbarch.h: Re-generate.
1130 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
1132 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
1135 2003-03-08 Mark Kettenis <kettenis@gnu.org>
1137 * gdbarch.sh (save_dummy_frame_tos): Add comment.
1139 2003-03-08 Andrew Cagney <cagney@redhat.com>
1141 * cli-out.c: Update copyright.
1142 (cli_out_data): Define typedef. Use instead of ui_out_data.
1144 2003-03-08 Andrew Cagney <cagney@redhat.com>
1146 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
1149 2003-03-07 Andrew Cagney <cagney@redhat.com>
1151 * gdbarch.sh: Don't generate two macro definitions when an
1152 undefined macro taking no arguments.
1153 * gdbarch.h: Regenerate.
1155 2002-03-07 Michal Ludvig <mludvig@suse.cz>
1157 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
1158 (x86_64_unwind_dummy_id): New functions.
1159 (x86_64_init_abi): Register these two new functions.
1161 2003-03-07 Michal Ludvig <mludvig@suse.cz>
1163 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
1164 (x86_64_skip_prologue): Move prologue detection to
1166 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
1168 2003-03-05 Andrew Cagney <cagney@redhat.com>
1170 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
1171 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
1172 * frame.c (get_prev_frame): Restructure the frame ID unwind code
1173 to use unwind_dummy_id when a dummy frame.
1174 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
1176 * gdbarch.h, gdbarch.c: Regneerate.
1178 2003-03-05 Andrew Cagney <cagney@redhat.com>
1180 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
1181 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
1182 Do not use d10v_read_sp or d10v_read_fp when obtaining register
1185 2003-03-05 Andrew Cagney <cagney@redhat.com>
1187 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
1188 (struct d10v_unwind_cache): Delete field "frameless". Replace
1189 "next_addr" with "sp_offset". Add "r11_offset".
1190 (d10v_frame_unwind_cache): Update.
1191 (prologue_find_regs): Update. When "mv r11, sp", save the
1192 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
1193 RN was saved in r11_offset.
1195 2003-03-05 Andrew Cagney <cagney@redhat.com>
1197 * frame.c (deprecated_update_frame_pc_hack): Also update the the
1198 cached PC value in the next frame.
1200 2003-03-05 Andrew Cagney <cagney@redhat.com>
1202 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
1203 "id_unwind_cache" with "id".
1204 (frame_id_unwind): Delete declaration.
1205 * frame.c (frame_id_unwind): Delete function.
1206 (get_prev_frame): Call the frame id unwind method directly. Store
1207 the returned next frame's ID value in NEXT_FRAME. Note that there
1208 is a problem with the wrong unwind ID being called with the wrong
1211 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
1213 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
1215 2003-03-05 James Ingham <jingham@apple.com>
1216 Daniel Jacobowitz <drow@mvista.com>
1218 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
1219 (auto_cp_abi): New variable.
1220 (current_cp_abi, num_cp_abis): Make static.
1221 (CP_ABI_MAX): Define.
1222 (cp_abis): Turn into an array.
1223 (value_virtual_fn_field): Fix formatting.
1224 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
1226 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
1227 (list_cp_abis, _initialize_cp_abi): New functions.
1228 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
1229 declarations for cp_abis, num_cp_abis, current_cp_abi, and
1230 switch_to_cp_abi. Update prototype for register_cp_abi.
1231 * Makefile.in (cp-abi.o): Update dependencies.
1232 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
1233 instead of switch_to_cp_abi.
1234 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
1236 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
1238 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
1240 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
1242 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
1243 * dwarf2loc.c: Include "regcache.h".
1244 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
1246 * Makefile.in (dwarf2loc.o): Update dependencies.
1248 2003-03-04 Theodore A. Roth <troth@openavr.org>
1250 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
1251 number of io registers reported by remote target is not a multiple of
1254 2003-03-04 David Carlton <carlton@math.stanford.edu>
1256 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
1257 (lookup_symbol_aux_psymtabs): Update call to
1258 lookup_partial_symbol.
1259 (lookup_transparent_type, find_main_psymtab)
1260 (make_symbol_overload_list): Ditto.
1262 2003-03-04 Kazu Hirata <kazu@cs.umass.edu>
1264 * MAINTAINERS (Write after approval): Update my email address.
1266 2003-03-03 Andrew Cagney <cagney@redhat.com>
1268 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
1269 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
1270 predicate. Replace MAX_REGISTER_RAW_SIZE.
1271 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
1272 MAX_REGISTER_VIRTUAL_SIZE.
1273 * regcache.c (legacy_max_register_raw_size): New function.
1274 (legacy_max_register_virtual_size): New function.
1275 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
1276 (MAX_REGISTER_RAW_SIZE): Define.
1277 (legacy_max_register_raw_size): Declare.
1278 (legacy_max_register_virtual_size): Declare.
1279 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1280 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
1281 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1282 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1283 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1284 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1285 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1286 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1287 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1288 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1289 * vax-tdep.c (vax_gdbarch_init): Update.
1290 * v850-tdep.c (v850_gdbarch_init): Update.
1291 * sparc-tdep.c (sparc_gdbarch_init): Update.
1292 * sh-tdep.c (sh_gdbarch_init): Update.
1293 * s390-tdep.c (s390_gdbarch_init): Update.
1294 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1295 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1296 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1297 * mips-tdep.c (mips_gdbarch_init): Update.
1298 * mcore-tdep.c (mcore_gdbarch_init): Update.
1299 * m68k-tdep.c (m68k_gdbarch_init): Update.
1300 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1301 * ia64-tdep.c (ia64_gdbarch_init): Update.
1302 * i386-tdep.c (i386_gdbarch_init): Update.
1303 * hppa-tdep.c (hppa_gdbarch_init): Update.
1304 * h8300-tdep.c (h8300_gdbarch_init): Update.
1305 * frv-tdep.c (frv_gdbarch_init): Update.
1306 * cris-tdep.c (cris_gdbarch_init): Update.
1307 * avr-tdep.c (avr_gdbarch_init): Update.
1308 * arm-tdep.c (arm_gdbarch_init): Update.
1309 * alpha-tdep.c (alpha_gdbarch_init): Update.
1310 * d10v-tdep.c (d10v_gdbarch_init): Do not set
1311 max_register_raw_size or max_register_virtual_size.
1313 2003-03-03 David Carlton <carlton@math.stanford.edu>
1315 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
1316 SYMBOL_MATCHES_NAME, add comment.
1317 (SYMBOL_MATCHES_NATURAL_NAME): New.
1318 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
1319 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
1320 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
1321 * symtab.c (lookup_partial_symbol): Use
1322 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
1324 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
1325 SYMBOL_MATCHES_NAME.
1328 2003-03-03 David Carlton <carlton@math.stanford.edu>
1330 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
1331 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
1332 by regexp matching against SYMBOL_NATURAL_NAME.
1334 2003-03-03 David Carlton <carlton@math.stanford.edu>
1336 * linespec.c (find_method): Extract code into collect_methods.
1337 (collect_methods): New.
1339 2003-03-02 Mark Kettenis <kettenis@gnu.org>
1341 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
1344 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
1345 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1347 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
1349 * arch-utils.c (generic_register_byte): Fix to use the loop index
1350 and not regnum when summing the size of all registers up to regnum.
1352 2003-03-01 Andrew Cagney <cagney@redhat.com>
1354 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
1355 FRAME_INIT_SAVED_REGS.
1356 * gdbarch.h, gdbarch.c: Regenerate.
1357 * stack.c (frame_info): Update.
1358 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
1359 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
1360 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
1361 * ns32k-tdep.c (ns32k_pop_frame): Update.
1362 * mips-tdep.c (mips_pop_frame): Update.
1363 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
1364 * ia64-tdep.c (ia64_frame_chain): Update.
1365 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
1366 (ia64_frameless_function_invocation): Update.
1367 (ia64_init_extra_frame_info): Update.
1368 (ia64_pop_frame_regular): Update.
1369 * frame.h (struct frame_info): Update comment.
1370 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
1371 * frame.c (frame_saved_regs_register_unwind): Update.
1372 (frame_saved_regs_register_unwind): Update.
1373 (deprecated_generic_get_saved_register): Update.
1374 * cris-tdep.c: Update comment.
1375 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
1377 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1378 * x86-64-tdep.c (x86_64_init_abi): Update.
1379 * vax-tdep.c (vax_gdbarch_init): Update.
1380 * v850-tdep.c (v850_gdbarch_init): Update.
1381 * sparc-tdep.c (sparc_gdbarch_init): Update.
1382 * sh-tdep.c (sh_gdbarch_init): Update.
1383 * s390-tdep.c (s390_gdbarch_init): Update.
1384 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1385 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1386 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1387 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1388 * mips-tdep.c (mips_gdbarch_init): Update.
1389 * mcore-tdep.c (mcore_gdbarch_init): Update.
1390 * m68k-tdep.c (m68k_gdbarch_init): Update.
1391 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1392 * ia64-tdep.c (ia64_gdbarch_init): Update.
1393 * i386-tdep.c (i386_gdbarch_init): Update.
1394 * frv-tdep.c (frv_gdbarch_init): Update.
1395 * avr-tdep.c (avr_gdbarch_init): Update.
1396 * arm-tdep.c (arm_gdbarch_init): Update.
1397 * alpha-tdep.c (alpha_gdbarch_init): Update.
1399 2003-03-01 Andrew Cagney <cagney@redhat.com>
1401 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
1402 option enum and switch. When no windows, set the interpreter to
1405 2003-03-01 Andrew Cagney <cagney@redhat.com>
1407 * main.c (captured_main): Replace magic option characters with an
1410 2003-03-01 Andrew Cagney <cagney@redhat.com>
1412 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
1413 INIT_EXTRA_FRAME_INFO.
1414 * gdbarch.h, gdbarch.c: Regenerate.
1415 * arm-tdep.c: Update comments.
1416 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
1417 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
1418 * frame.h, avr-tdep.c: Ditto.
1419 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
1420 (create_new_frame, legacy_get_prev_frame): Ditto.
1421 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
1422 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
1423 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
1424 deprecated_init_extra_frame_info instead of init_extra_frame_info.
1425 * x86-64-tdep.c (x86_64_init_abi): Ditto.
1426 * v850-tdep.c (v850_gdbarch_init): Ditto.
1427 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1428 * sh-tdep.c (sh_gdbarch_init): Ditto.
1429 * s390-tdep.c (s390_gdbarch_init): Ditto.
1430 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
1431 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1432 * mips-tdep.c (mips_gdbarch_init): Ditto.
1433 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1434 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1435 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1436 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
1437 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
1438 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1439 * frv-tdep.c (frv_gdbarch_init): Ditto.
1440 * cris-tdep.c (cris_gdbarch_init): Ditto.
1441 * avr-tdep.c (avr_gdbarch_init): Ditto.
1442 * arm-tdep.c (arm_gdbarch_init): Ditto.
1443 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1444 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1446 2003-03-01 Andrew Cagney <cagney@redhat.com>
1448 * gdbarch.sh (register_type): New function with predicate.
1449 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
1450 * gdbarch.h, gdbarch.c: Re-generate.
1451 * arch-utils.c (generic_register_byte): Use generic_register_size.
1452 (generic_register_size): When available, use
1453 gdbarch_register_type.
1454 * regcache.c (init_regcache_descr): When available, initialize the
1455 register type array using gdbarch_register_type. If the
1456 architecture supplies gdbarch_register_type, do not use the legacy
1458 * d10v-tdep.c (d10v_register_type): Replace
1459 d10v_register_virtual_type.
1460 (d10v_gdbarch_init): Set register_type instead of
1461 register_virtual_type.
1463 2003-03-01 Andrew Cagney <cagney@redhat.com>
1465 * Makefile.in (ax-gdb.o): Update dependencies.
1466 * ax-gdb.c: Include "regcache.h".
1467 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
1468 * findvar.c (value_of_register): Ditto.
1469 * infcmd.c (default_print_registers_info): Ditto.
1471 2003-03-01 Mark Kettenis <kettenis@gnu.org>
1473 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
1474 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1476 2003-03-01 Mark Kettenis <kettenis@gnu.org>
1478 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
1481 2003-02-28 Daniel Jacobowitz <drow@mvista.com>
1483 * Makefile.in (dwarf2loc.o): Update dependencies.
1484 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
1485 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
1486 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
1487 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
1488 (locexpr_tracepoint_var_ref): New function.
1489 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
1491 2003-02-28 Andrew Cagney <cagney@redhat.com>
1493 * regcache.c (register_size): New function.
1494 * regcache.h (register_size): Declare
1495 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
1496 max_register_size instead of MAX_REGISTER_RAW_SIZE.
1498 2003-02-28 David Carlton <carlton@math.stanford.edu>
1500 * linespec.c (decode_compound): Extract code into find_method.
1503 2003-02-28 J. Brobecker <brobecker@gnat.com>
1505 * Makefile.in: Add rules to build and link in observer.o.
1507 2003-02-27 J. Brobecker <brobecker@gnat.com>
1509 * observer.c: Minor comments edits.
1511 2003-02-27 J. Brobecker <brobecker@gnat.com>
1513 * observer.h, observer.c: New file.
1515 2003-02-27 Andrew Cagney <cagney@redhat.com>
1517 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
1519 2003-02-27 Stephane Carrez <stcarrez@nerim.fr>
1521 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
1522 (M6812_OP_STS_EXT): Likewise.
1523 (m6811_prologue): Use the above to recognize prologue.
1524 (m6812_prologue): Likewise.
1526 2003-02-27 David Carlton <carlton@math.stanford.edu>
1528 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
1530 (compare_psymbols): Ditto.
1531 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
1533 2003-02-27 Michael Snyder <msnyder@redhat.com>
1535 * f-lang.c (build_fortran_types): New function.
1536 (_initialize_f_language): Gdbarch-register built-in fortran types.
1537 * doublest.c (extract_floating): Fix warning text.
1539 2003-02-27 Andrew Cagney <cagney@redhat.com>
1541 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
1542 predicate. Replaces PUSH_DUMMY_FRAME.
1543 * gdbarch.h, gdbarch.c: Regnerate.
1544 * valops.c (hand_function_call): Update. Call
1545 generic_push_dummy_frame directly.
1546 * vax-tdep.c (vax_gdbarch_init): Update.
1547 * sparc-tdep.c (sparc_gdbarch_init): Update.
1548 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1549 * m68k-tdep.c (m68k_gdbarch_init): Update.
1550 * hppa-tdep.c (hppa_gdbarch_init): Update.
1551 * alpha-tdep.c (alpha_gdbarch_init): Update.
1552 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1553 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1554 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
1555 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
1556 push_dummy_frame to generic_push_dummy_frame.
1557 * v850-tdep.c (v850_gdbarch_init): Ditto.
1558 * sh-tdep.c (sh_gdbarch_init): Ditto.
1559 * s390-tdep.c (s390_gdbarch_init): Ditto.
1560 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1561 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1562 * mips-tdep.c (mips_gdbarch_init): Ditto.
1563 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1564 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1565 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1566 * i386-tdep.c (i386_gdbarch_init): Ditto.
1567 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1568 * frv-tdep.c (frv_gdbarch_init): Ditto.
1569 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1570 * cris-tdep.c (cris_gdbarch_init): Ditto.
1571 * avr-tdep.c (avr_gdbarch_init): Ditto.
1572 * arm-tdep.c (arm_gdbarch_init): Ditto.
1574 2003-02-26 Kevin Buettner <kevinb@redhat.com>
1576 * mips-tdep.c (show_mips_abi): New function.
1577 (_initialize_mips_tdep): Use show_mips_abi() to implement the
1578 command ``show mips abi''.
1580 2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
1582 From Elena Zannoni <ezannoni@redhat.com>
1583 * dbxread.c (process_one_symbol): Only record line 0 if one or
1584 more sline entries have been seen for the function.
1586 2003-02-26 Michael Chastain <mec@shout.net>
1588 * configure: Regenerate with autoconf 000227.
1590 2003-02-26 Michael Chastain <mec@shout.net>
1593 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
1594 for old libc5/glibc.
1595 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
1597 2003-02-26 Kris Warkentin <kewarken@qnx.com>
1599 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
1600 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
1602 2003-02-26 Michael Chastain <mec@shout.net>
1604 * configure.in: New variable HAVE_UINTPTR_T.
1605 * configure, config.in: Regenerated.
1607 2003-02-26 Daniel Jacobowitz <drow@mvista.com>
1610 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
1612 2003-02-25 Andrew Cagney <cagney@redhat.com>
1614 * frame.c (get_prev_frame): Add comment on check for
1615 inside_entry_func. Only check for inside_entry_file when not a
1616 dummy and not a sentinel. Check that the new frame is not inner
1619 2003-02-25 Andrew Cagney <cagney@redhat.com>
1621 * frame.c (frame_debug): New variable.
1622 (_initialize_frame): Add "set/show debug frame" command.
1623 (get_prev_frame): When frame_debug, print reason why unwind
1626 2003-02-25 Michael Chastain <mec@shout.net>
1628 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
1629 to avoid uintptr_t definition problems.
1631 2003-02-25 David Carlton <carlton@math.stanford.edu>
1633 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
1634 (SYMBOL_LINKAGE_NAME): Ditto.
1635 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
1636 SYMBOL_LINKAGE_NAME.
1637 (struct general_symbol_info): Expand comment.
1638 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
1639 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
1640 (SYMBOL_MATCHES_REGEXP): Ditto.
1641 * symtab.c (symbol_natural_name): New function.
1642 * objfiles.h: Replace all uses of SYMBOL_NAME by
1643 DEPRECATED_SYMBOL_NAME.
1644 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
1645 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
1646 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
1647 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
1648 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
1649 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
1650 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
1651 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
1652 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
1653 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
1655 * ada-exp.y: Update copyright.
1656 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
1657 * cp-valprint.c: Ditto.
1659 2003-02-25 Jeff Johnston <jjohnstn@redhat.com>
1661 * infptrace.c (detach): Do not flag error if ptrace detach fails
1662 and errno is set to ESRCH.
1664 2003-02-24 Andrew Cagney <cagney@redhat.com>
1666 * infptrace.c (udot_info): Change type of udot_off to long. Use
1667 paddr when printing udot_off's value.
1669 2003-02-24 David Carlton <carlton@math.stanford.edu>
1671 * symtab.c (make_symbol_overload_list): Only read in partial
1672 symtabs containing a matching partial symbol.
1674 2003-02-24 David Carlton <carlton@math.stanford.edu>
1676 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
1677 do the comparison, not strcmp.
1678 * symfile.c (compare_psymbols): Ditto.
1679 * defs.h: Declare strcmp_iw_ordered.
1680 * utils.c (strcmp_iw_ordered): New function.
1682 2003-02-24 Jim Blandy <jimb@redhat.com>
1684 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
1685 support, shared libs): Remove my name from here, to better reflect
1688 2003-02-24 Kris Warkentin <kewarken@qnx.com>
1690 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
1691 (target_ops): Add to_have_continuable_watchpoint.
1692 * target.c (update_current_target): Add INHERIT line for
1693 to_have_continuable_watchpoint.
1694 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
1695 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
1696 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
1697 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
1699 2003-02-24 Elena Zannoni <ezannoni@redhat.com>
1701 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
1704 2003-02-24 Kris Warkentin <kewarken@qnx.com>
1706 * solib.c (solib_open): Call target defined search function after
1707 failing with solib-search-path.
1708 * solist.h (target_so_ops): Add find_and_open_solib function hook and
1709 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
1711 2003-02-24 Kris Warkentin <kewarken@qnx.com>
1713 * MAINTAINERS: Add myself to Write After section.
1715 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1717 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
1719 2003-02-22 Stephane Carrez <stcarrez@nerim.fr>
1721 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
1722 (m68hc11_add_reggroups): New function.
1723 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
1724 (m68hc11_gdbarch_init): Install the reggroups.
1725 (_initialize_m68hc11_tdep): Initialize them.
1727 2003-02-21 James E Wilson <wilson@tuliptree.org>
1729 * MAINTAINERS: Update my email address.
1731 2003-02-21 David Carlton <carlton@math.stanford.edu>
1733 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
1735 2003-02-21 Daniel Jacobowitz <drow@mvista.com>
1737 Based on a patch from Daniel Berlin (dberlin@dberlin.org).
1738 * symtab.h: Add opaque declarations of struct axs_value and
1740 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
1741 (struct location_funcs): New type.
1742 (struct symbol): Add "loc" to aux_value.
1743 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
1744 * dwarf2read.c: Include "dwarf2expr.h".
1745 (dwarf2_symbol_mark_computed): New function.
1746 (read_func_scope): Use it.
1747 (var_decode_location): New function.
1748 (new_symbol): Use it.
1749 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
1751 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
1752 (dwarf2expr_h, dwarf2loc_h): New variables.
1753 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
1754 (dwarf2expr.o, dwarf2loc.o): New rules.
1755 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
1756 * buildsym.c (finish_block): Handle LOC_COMPUTED and
1758 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
1759 * m2-exp.y (yylex): Likewise.
1760 * printcmd.c (address_info, print_frame_args): Likewise.
1761 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
1762 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
1763 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
1764 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
1765 * symtab.c (lookup_block_symbol): Likewise.
1767 2003-02-20 Adam Fedor <fedor@gnu.org>
1769 * symtab.h: Remove objc_specific struct
1770 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
1771 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
1772 Have language_objc use cplus_specific struct.
1774 2003-02-20 Tom Tromey <tromey@redhat.com>
1776 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
1777 TYPE_NAME, when printing a String value. PR java/1075.
1779 2003-02-20 Adam Fedor <fedor@gnu.org>
1781 * objc-lang.h (find_methods): Remove declaration.
1782 * objc-lang.c (find_methods): Make static.
1784 2003-02-20 Christopher Faylor <cgf@redhat.com>
1786 * win32-nat.c (get_image_name): Check return value from
1788 (child_xfer_memory): Ditto.
1790 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1792 * configure.in (TARGET_SYSTEM_ROOT): Set default to
1793 ${exec_prefix}/${target_alias}/sys-root. Match explicit
1794 '${exec_prefix}' (in addition to the expansion thereof) as
1796 * configure: Rebuilt.
1798 2003-02-20 David Carlton <carlton@math.stanford.edu>
1800 * symtab.c (search_symbols): Revert the search_symbols part of my
1801 2002-12-23 patch. Add comment.
1803 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
1805 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
1806 * dbxread.c (elfstab_build_psymtabs): Don't call
1807 install_minimal_symbols.
1808 (stabsect_build_psymtabs): Likewise.
1809 * elfread.c (elf_symfile_read): Call install_minimal_symbols
1811 * somread.c (som_symfile_read): Call install_minimal_symbols
1812 and do_cleanups earlier.
1813 * nlmread.c (nlm_symfile_read): Likewise.
1814 * mdebugread.c (elfmdebug_build_psymtabs): Call
1815 install_minimal_symbols and make appropriate cleanups.
1817 2003-02-20 Kevin Buettner <kevinb@redhat.com>
1819 * solib.c (reload_shared_libraries): New function.
1820 (_initialize_solib): Add callbacks for ``set solib-search-path''
1821 and ``set solib-absolute-prefix''.
1823 2003-02-20 David Carlton <carlton@math.stanford.edu>
1825 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
1827 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
1828 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
1829 * ada-typeprint.c (ada_typedef_print): Ditto.
1830 * ax-gdb.c (gen_var_ref): Ditto.
1831 * breakpoint.c (print_one_breakpoint): Ditto.
1832 * buildsym.c (finish_block): Ditto.
1833 * c-valprint.c (c_val_print): Ditto.
1834 * expprint.c (print_subexp): Ditto.
1835 * findvar.c (locate_var_value): Ditto.
1836 * infcmd.c (jump_command): Ditto.
1837 * linespec.c (decode_line_2, decode_compound): Ditto.
1838 * maint.c (maintenance_translate_address): Ditto.
1839 * objc-lang.c (compare_selectors, compare_classes): Ditto.
1840 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
1842 * p-valprint.c (pascal_val_print): Ditto.
1843 * stabsread.c (define_symbol): Ditto.
1844 * stack.c (print_frame, frame_info, print_block_frame_locals)
1845 (print_frame_arg_vars, return_command): Ditto.
1846 * symfile.c (compare_symbols, compare_psymbols): Ditto.
1847 * symmisc.c (print_symbol): Ditto.
1848 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
1849 (compare_search_syms, print_symbol_info, print_msymbol_info)
1850 (rbreak_command): Ditto.
1851 * tracepoint.c (tracepoints_info): Ditto.
1852 * typeprint.c (typedef_print): Ditto.
1853 * valops.c (value_of_variable, hand_function_call): Ditto.
1854 * cli/cli-cmds.c (edit_command, list_command): Ditto.
1855 * ada-typeprint.c: Update Copyright.
1856 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
1857 * tracepoint.c, cli/cli-cmds.c: Ditto.
1859 2003-02-20 Kevin Buettner <kevinb@redhat.com>
1861 * frame.c (generic_unwind_get_saved_register): Make non-static.
1862 * frame.h (generic_unwind_get_saved_register): Declare.
1863 * mips-tdep.c (read_next_frame_reg): Fetch register from
1864 current regcache when frame is NULL.
1865 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
1867 (mips_get_saved_register): Call generic_unwind_get_saved_register()
1868 instead of frame_register_unwind().
1870 2003-02-20 Andrew Cagney <ac131313@redhat.com>
1872 * remote-sim.c (gdbsim_insert_breakpoint)
1873 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
1876 2003-02-20 Andrew Cagney <ac131313@redhat.com>
1878 * remote.c (_initialize_remote): Add commands "set/show remote
1879 hardware-watchpoint-limit" and "set/show remote
1880 hardware-breakpoint-limit".
1881 (remote_hw_watchpoint_limit): Initialize to -1.
1882 (remote_hw_breakpoint_limit): Ditto.
1883 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
1885 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
1887 * coff-pe-read.c: New file - support reading of minimal symbols from a
1888 portable executable using the export table.
1889 * coff-pe-read.h: New file.
1890 * coffread.c: Include coff-pe-read.h.
1891 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
1892 debugging symbols found.
1893 * Makefile.in (SFILES): Add coff-pe-read.o.
1894 (coff_pe_read_h): Define.
1895 (COMMON_OBS): Add coff-pe-read.o.
1896 (coffread.o): Add coff_pe_read_h dependency.
1897 (coff-pe-read.o): New target.
1899 2003-02-19 David Carlton <carlton@math.stanford.edu>
1901 * Makefile.in (SFILES): Add block.c.
1903 (COMMON_OBS): Add block.o.
1905 (x86-64-tdep.o): Add $(block_h).
1906 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
1907 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
1908 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
1909 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
1910 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
1911 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
1912 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
1913 * value.h: Add opaque declaration for struct block.
1914 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
1915 * ada-lang.h: Ditto.
1916 * x86-64-tdep.c: #include "block.h"
1917 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
1918 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
1919 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
1920 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
1921 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
1922 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
1923 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
1924 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
1925 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
1926 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
1927 * symtab.c (block_function): Ditto.
1928 (contained_in): Ditto.
1929 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
1930 block.h. Add opaque declaration for struct block.
1931 * symtab.h: Move block_function and contained_in declarations to
1932 block.h. Add opaque declarations for struct block, struct
1934 (struct block): Move to block.h.
1935 (struct blockvector): Ditto.
1936 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
1937 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
1938 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
1939 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
1940 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
1942 * block.c: New file.
1943 * block.h: New file.
1945 2003-02-19 Theodore A. Roth <troth@openavr.org>
1947 * avr-tdep.c (avr_extract_return_value): Remove function.
1948 (avr_store_return_value): Remove function.
1949 (avr_extract_struct_value_address): Remove function.
1950 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
1952 2003-02-19 Andrew Cagney <ac131313@redhat.com>
1954 * rs6000-tdep.c: Include "gdb_assert.h".
1955 (registers_e500): Add "acc" and "spefscr".
1956 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
1957 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
1958 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
1960 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
1962 2003-02-18 Keith Seitz <keiths@redhat.com>
1964 * Makefile.in: Add gdbtk-interps.c.
1966 2003-02-18 Kevin Buettner <kevinb@redhat.com>
1968 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
1969 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
1971 2003-02-18 Andrew Cagney <cagney@redhat.com>
1973 * symtab.h (struct objfile): Add opaque declaration.
1975 2003-02-18 Elena Zannoni <ezannoni@redhat.com>
1977 From Jim Ingham <jingham@apple.com>:
1978 * dbxread.c (process_one_symbol): Use last_function_start rather
1979 than function_start_offset to find the real beginning of the
1980 current function. The latter is just the text section offset on
1981 some systems, the former is always the real function start.
1983 2003-02-17 Andrew Cagney <cagney@redhat.com>
1985 * configure.in: Revert ${target} != ${host}.
1987 2003-02-17 Andrew Cagney <ac131313@redhat.com>
1989 * configure.in (Makefile): Use the test ${target} != ${host},
1990 instead of the absence of the "nm.h" file, to determine of the
1991 configuration non-native.
1992 * configure: Regenerate.
1994 2003-02-14 Elena Zannoni <ezannoni@redhat.com>
1996 From Brian Ford <ford@vss.fsi.com>
1998 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
1999 conditionalize tui_active test.
2000 (lookup_cmd_1): Ditto.
2002 2003-02-14 Mark Kettenis <kettenis@gnu.org>
2004 * configure.in: Add check for _etext.
2005 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
2007 * config.in, configure: regenerated.
2009 2003-02-14 Daniel Jacobowitz <drow@mvista.com>
2011 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
2013 2003-02-14 Andrew Cagney <ac131313@redhat.com>
2015 * main.c (tui_version): Delete variable.
2016 (captured_main): When --tui, set interpreter_p to "tui" instead of
2017 enabling tui_version.
2018 * printcmd.c (display_command) [TUI]: Test tui_active instead of
2020 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
2021 * cli/cli-cmds.c (disassemble_command): Ditto.
2022 * defs.h (tui_version): Delete declaration.
2023 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
2024 (tui-interp.o): Add rules.
2025 (SUBDIR_TUI_OBS): Add "tui-interp.o".
2027 2003-02-14 Christopher Faylor <cgf@redhat.com>
2029 * win32-nat.c (register_loaded_dll): Correctly set address range for
2032 2003-02-12 Jason Molenda (jmolenda@apple.com)
2034 * symmisc.c (print_objfile_statistics): Include information about
2035 the number of psymtabs and symtabs in each object file.
2037 2003-02-13 Keith R Seitz <keiths@redhat.com>
2039 * main.h (struct captured_main_args): Add interpreter_p.
2040 * main.c (captured_main): Initialize interpreter_p from context.
2041 * gdb.c (main): Set interpreter_p argument.
2042 * Makefile.in (gdb.o): Add dependency for interps.h.
2044 2003-02-12 Andrew Cagney <ac131313@redhat.com>
2046 * event-top.c (cli_command_loop): Delete declaration.
2047 (_initialize_event_loop): Delete function setting event_loop_hook.
2048 * event-top.h (cli_command_loop): Declare. Update copyright.
2049 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
2050 * interps.c (current_interp_command_loop): When event_loop_p, call
2053 2003-02-12 Andrew Cagney <ac131313@redhat.com>
2055 * interps.h (interp_command_loop_ftype): Change return type to
2058 2003-02-12 Michal Ludvig <mludvig@suse.cz>
2060 * x86-64-tdep.c (x86_64_extract_return_value)
2061 (x86_64_store_return_value): Use regcache instead of regbuf.
2062 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
2063 * x86-64-linux-nat.c (fill_gregset): Use regcache.
2065 2003-02-11 Andrew Cagney <ac131313@redhat.com>
2067 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
2068 * aclocal.m4: Regenerate.
2069 * configure: Regenerate.
2071 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
2072 TCL_LD_SEARCH_FLAGS.
2074 2003-02-10 Michal Ludvig <mludvig@suse.cz>
2076 * dwarf2cfi.c: Reindented.
2078 2003-02-09 Andrew Cagney <ac131313@redhat.com>
2080 * interps.c (clear_interpreter_hooks): Convert function definition
2083 2003-02-07 David Carlton <carlton@math.stanford.edu>
2085 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
2087 2003-02-07 Kevin Buettner <kevinb@redhat.com>
2089 * gdbtypes.h (struct main_type): Move ``length'' field from here...
2090 (struct type): ...to here.
2091 (TYPE_LENGTH): Adjust to reflect different location of ``length''
2093 * gdbtypes.c (make_qualified_type): Set length on newly created type.
2094 (replace_type): Set length on all type variants for a given type.
2096 2003-02-07 Andrew Cagney <ac131313@redhat.com>
2098 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
2100 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
2102 2003-02-06 Andrew Cagney <ac131313@redhat.com>
2104 * Makefile.in (symm-nat.o): Update dependencies.
2105 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
2106 (lynx-nat.o, ia64-linux-nat.): Ditto.
2107 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
2108 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
2109 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
2111 * Makefile.in (inflow_h): Define.
2112 (procfs.o, inflow.o, procfs.o): Update dependencies.
2113 * inftarg.c (child_stop): Delete extern declaration of
2114 inferior_process_group. Include "inflow.h".
2115 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
2116 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
2117 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
2118 (our_process_group, inferior_process_group): Extern declarations.
2120 * procfs.c: Include "gdb_assert.h".
2122 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
2123 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
2124 * jv-typeprint.c (java_type_print_base): Ditto.
2125 * typeprint.c (typedef_print): Eliminate STREQ.
2126 * cli/cli-script.c (define_command, define_command): Ditto.
2127 * main.c (captured_main): Ditto.
2128 * values.c (lookup_internalvar): Ditto.
2129 * utils.c (safe_strerror, parse_escape): Eliminate assignment
2130 within `if' conditional.
2131 * linespec.c (decode_line_2): Ditto.
2132 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
2133 (bfd_openw_with_cleanup): Ditto.
2135 2003-02-07 Mark Kettenis <kettenis@gnu.org>
2137 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
2138 legacy_extract_return_value and store_return_value to
2139 legacy_return_value.
2141 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
2143 * win32-nat.c (get_relocated_section_addrs): New function. Find
2144 section load addresses for symbol handling in relocated DLLs.
2145 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
2147 2003-02-05 Fred Fish <fnf@intrinsity.com>
2149 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
2151 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
2153 (angel_RDI_info): Ditto.
2154 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
2156 (threads_continue_all_with_signals): Ditto.
2158 2003-02-05 Jim Ingham <jingham@apple.com>
2159 Keith Seitz <keiths@redhat.com>
2160 Elena Zannoni <ezannoni@redhat.com>
2161 Andrew Cagney <ac131313@redhat.com>
2163 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
2164 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
2165 (SUBDIR_MI_OBS): Add "mi-interp.o".
2166 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
2167 (SFILES): Add "interps.c".
2168 (COMMON_OBS): Add "interps.o".
2169 (interps_h, mi_main_h): Define.
2170 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
2171 (mi-main.o, main.o, event-top.o): Update dependencies.
2172 * cli/cli-interp.c: New file.
2173 * interps.h, interps.c: New files.
2174 * top.c: (gdb_init): Don't install the default interpreter, handed
2176 * main.c: Include "interps.h".
2177 (interpreter_p): Note that it should malloc'ed.
2178 (captured_command_loop): Call current_interp_command_loop.
2179 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
2180 xfree and xstrdup when updating interpreter_p. Install the
2181 default interpreter. Add hack to stop mi1's copyright notice
2183 * event-top.h (gdb_setup_readline): Declare.
2184 (gdb_disable_readline): Declare.
2185 * event-top.c: Include "interps.h".
2186 (display_gdb_prompt): Call current_interp_display_prompt_p.
2187 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
2188 gdb_stdlog, and gdb_stdtarg.
2189 (_initialize_event_loop): Don't call gdb_setup_readline.
2190 * cli-out.c (cli_out_set_stream): New function.
2191 * cli-out.h (cli_out_set_stream): Declare.
2193 2003-02-06 Mark Kettenis <kettenis@gnu.org>
2195 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
2196 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
2197 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
2198 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
2199 config/i386/i386v42mp.mt: Removed.
2201 2003-02-05 Mark Kettenis <kettenis@gnu.org>
2203 * configure.tgt (*-*-solaris*): Set gdb_osabi to
2206 2003-02-05 Michael Chastain <mec@shout.net>
2208 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
2209 2.12.1 and earlier versions.
2211 2003-02-05 Andrew Cagney <ac131313@redhat.com>
2213 Remove orphaned hosts, targets and files.
2214 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
2215 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
2216 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
2217 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
2218 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
2219 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
2220 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
2221 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
2222 * config/sparc/tm-sp64sim.h: Delete.
2223 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
2225 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
2226 mips*-dec-mach3* targets.
2228 2003-02-04 Michael Chastain <mec@shout.net>
2230 * NEWS: Fix typo: sepcifying -> specifying.
2232 2003-02-04 Michael Chastain <mec@shout.net>
2234 * dwarfread.c: Add documentation on the state of dwarf-1,
2235 looking towards obsoletion.
2237 2003-02-03 Michael Chastain <mec@shout.net>
2239 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
2240 gdb/testsuite/gdb.c++/pr-1023.exp.
2242 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2244 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
2245 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
2247 * utils.c (init_page_info): Delete reference to MPW in comments.
2248 * main.c (captured_main): Delete #ifdef MPW.
2250 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2252 * NEWS: Note that the m32r-*-elf* is obsolete.
2253 * monitor.c (monitor_expect): Obsolete reference to m32r.
2254 * configure.tgt: Mark m32r-*-elf* as obsolete.
2255 * MAINTAINERS: Mark m32k as obsolete.
2256 * m32r-rom.c: Obsolete file.
2257 * config/m32r/m32r.mt: Obsolete file.
2258 * config/m32r/tm-m32r.h: Obsolete file.
2259 * m32r-stub.c: Obsolete file.
2260 * m32r-tdep.c: Obsolete file.
2262 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2264 * NEWS: Mention that the z8k-zilog-none is obsolete.
2265 * MAINTAINERS: Mark z8k as obsolete.
2266 * configure.tgt: Obsolete the z8k-*-coff* target.
2267 * config/z8k/z8k.mt: Obsolete file.
2268 * config/z8k/tm-z8k.h: Obsolete file.
2269 * z8k-tdep.c: Obsolete file.
2271 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2273 * NEWS: Mention that the mn10200-elf is obsolete.
2274 * configure.tgt: Obsolete mn10200-*-* target.
2275 * breakpoint.c (update_breakpoints_after_exec): Update comment to
2276 mention that the mn10200 is obsolete.
2277 * breakpoint.h: Ditto.
2278 * MAINTAINERS: Mark the mn10200-elf as obsolete.
2279 * config/mn10200/mn10200.mt: Obsolete file.
2280 * config/mn10200/tm-mn10200.h: Obsolete file.
2281 * mn10200-tdep.c: Obsolete file.
2283 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2285 * MAINTAINERS: Mark h8500 as obsolete.
2286 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
2287 * findvar.c (value_from_register): Ditto.
2288 * h8500-tdep.c: Mark file as obsolete.
2289 * config/h8500/h8500.mt: Ditto.
2290 * config/h8500/tm-h8500.h: Ditto.
2291 * NEWS: Mention that h8500 is obsolete.
2293 2003-02-04 David Carlton <carlton@math.stanford.edu>
2295 * objfiles.c (allocate_objfile): Always set name. Add comment at
2297 * jv-lang.c (get_dynamics_objfile): Add comment.
2299 2003-02-04 David Carlton <carlton@math.stanford.edu>
2301 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
2302 * printcmd.c (build_address_symbolic): Replace uses of
2303 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
2304 SYMBOL_NAME, and asm_demangle.
2307 2003-02-04 David Carlton <carlton@math.stanford.edu>
2309 * linespec.c (decode_compound): Extract code into
2311 (lookup_prefix_sym): New function.
2313 2003-02-04 David Carlton <carlton@math.stanford.edu>
2315 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
2316 FLOAT_COERCION_BADNESS.
2317 * gdbtypes.c (rank_one_type): Replace all uses of
2318 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
2320 2003-02-04 Jim Blandy <jimb@redhat.com>
2322 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
2323 section, let dwarf_macinfo_section point to it, not
2326 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
2328 Pointed out by Anton Blanchard <anton@samba.org>.
2329 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
2330 (ppc_linux_at_sigtramp_return_path): Use it.
2332 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
2334 * defs.h (streq): Add prototype.
2335 * utils.c (streq): New function.
2337 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
2338 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
2339 * mdebugread.c (new_symbol): Likewise.
2340 * stabsread.c (define_symbol): Likewise.
2341 * coffread.c (process_coff_symbol): Likewise.
2342 * dwarfread.c (new_symbol): Likewise.
2344 * minsyms.c (prim_record_minimal_symbol_and_info): Use
2345 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
2347 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
2348 SYMBOL_INIT_DEMANGLED_NAME.
2349 * objfiles.c: Include "hashtab.h".
2350 (allocate_objfile): Call htab_set_functions_ex for the
2351 demangled_names_hash.
2352 (free_objfile): Call htab_delete for the demangled_names_hash.
2353 * objfiles.h (struct htab): Add declaration.
2354 (struct objfile): Add demangled_names_hash.
2355 * symfile.c: Include "hashtab.h".
2356 (reread_symbols): Call htab_delete for the demangled_names_hash.
2357 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
2358 SYMBOL_NAME in the bcache.
2359 * symtab.c: Include "hashtab.h". Update comments.
2360 (create_demangled_names_hash, symbol_set_names): New functions.
2361 (symbol_find_demangled_name): New function, broken out from
2362 symbol_init_demangled_names.
2363 (symbol_init_demangled_names): Use it.
2364 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
2365 (SYMBOL_SET_NAMES): New macro.
2366 (symbol_set_names): Add prototype.
2368 2003-02-03 Jim Blandy <jimb@redhat.com>
2370 Use a single, consistent representation for an empty minimal
2371 symbol table in an objfile.
2372 * objfiles.c (terminate_minimal_symbol_table): New function.
2373 (allocate_objfile): Call it.
2374 * objfiles.h (terminate_minimal_symbol_table): New declaration.
2375 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
2377 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
2378 objfile has minimal symbols, compare minimal_symbol_count to zero,
2379 instead of comparing msymbols with NULL.
2380 * objfiles.c (have_minimal_symbols): Same.
2381 * solib-sunos.c (solib_add_common_symbols): Call
2382 terminate_minimal_symbol_table.
2383 * symfile.c (reread_symbols): Same.
2385 2003-02-03 Kevin Buettner <kevinb@redhat.com>
2387 * s390-tdep.c (s390_address_class_type_flags)
2388 (s390_address_class_type_flags_to_name)
2389 (s390_address_class_name_to_type_flags): New functions.
2390 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
2391 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
2393 2003-02-03 Michael Snyder <msnyder@redhat.com>
2395 * arm-tdep.c: Fix spell-o in comment.
2397 2003-02-03 Michal Ludvig <mludvig@suse.cz>
2399 * dwarf2cfi.c (pointer_encoding): Added new parameter.
2400 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
2401 error messages to contain BFD filename.
2403 2003-02-02 Elena Zannoni <ezannoni@redhat.com>
2405 Fix PR gdb/742 gdb/743 gdb/877
2406 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
2407 (do_mixed_source_and_assembly): Use
2408 make_cleanup_ui_out_tuple_begin_end and
2409 make_cleanup_ui_out_tuple_begin_end.
2410 (do_mixed_source_and_assembly): Ditto.
2411 * thread.c (do_captured_list_thread_ids): Ditto.
2412 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
2413 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
2414 ui_out_tuple_end): Delete prototypes.
2415 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
2416 ui_out_list_end, ui_out_tuple_end): Delete.
2418 From Kevin Buettner <kevinb@redhat.com>:
2419 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
2420 * ui-out.c (make_cleanup_ui_out_table_begin_end)
2421 (do_cleanup_table_end): New functions.
2422 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
2423 Use cleanups to invoke_ui_out_tuple_end().
2424 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
2425 * cli/cli-setshow.c (cmd_show_list): Use
2426 make_cleanup_ui_out_tuple_begin_end.
2428 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2430 * frame.c (frame_unwind_register): New function.
2431 (frame_unwind_unsigned_register): Use.
2432 (frame_unwind_signed_register): Use.
2433 (frame_read_register): New function.
2434 * frame.h (frame_unwind_register): Declare.
2435 (frame_read_register): Declare.
2437 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
2438 and frame_unwind_register instead of read_memory, write_register
2439 and deprecated_write_register_bytes.
2441 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2443 * frame.h: Note that namelen can be negative.
2444 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
2447 * NEWS: Mention that the d10v's `regs' command is deprecated.
2448 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
2449 (d10v_print_registers_info): New function.
2450 (show_regs): Call d10v_print_registers_info.
2451 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
2453 2003-02-02 Mark Kettenis <kettenis@gnu.org>
2455 * stack.c (print_frame_info): Restore call to annotate_frame_begin
2456 lost in the previous patch.
2458 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2460 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
2461 * stack.c (print_frame_info_base): Output complete FRAME tuple
2462 for synthesized frames.
2464 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2466 * mips-nat.c (zerobuf): Delete.
2467 (fetch_inferior_registers): Alloc local zerobuf.
2468 (fetch_core_registers): Alloc local zerobuf.
2469 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
2470 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
2471 * thread-db.c (thread_db_store_registers): Ditto.
2472 * sh-tdep.c (sh_do_register): Ditto.
2473 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
2474 * remote-sim.c (gdbsim_store_register): Ditto.
2475 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
2476 * remote-e7000.c (fetch_regs_from_dump): Ditto.
2477 * monitor.c (monitor_supply_register): Ditto.
2478 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
2479 * mips-nat.c (fetch_inferior_registers): Ditto.
2480 * m68klinux-nat.c (fetch_register): Ditto.
2481 * lynx-nat.c (fetch_inferior_registers): Ditto.
2482 (fetch_inferior_registers): Ditto.
2483 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
2484 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
2485 (hpux_thread_store_registers): Ditto.
2486 * hppah-nat.c (fetch_register): Ditto.
2487 * hppab-nat.c (fetch_register): Ditto.
2488 * hppa-tdep.c (pa_register_look_aside): Ditto.
2489 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
2490 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
2492 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2494 * gdbarch.sh: Explictly specify all method levels. When a
2495 variable with an empty level, provide a non-multi-arch default.
2496 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
2497 * gdbarch.h: Re-generate.
2498 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
2499 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
2501 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2503 * defs.h (host_pointer_to_address): Delete declaration.
2504 (address_to_host_pointer): Delete declaration.
2505 * utils.c (host_pointer_to_address): Delete function.
2506 (address_to_host_pointer): Delete function.
2507 * procfs.c (procfs_address_to_host_pointer): New function.
2508 * procfs.c (proc_set_watchpoint): Use.
2509 (procfs_can_use_hw_breakpoint): Update comments.
2510 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
2511 (som_solib_add): Use.
2512 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
2513 * hppa-tdep.c (unwind_command): Use.
2515 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2517 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
2520 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
2521 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
2522 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
2523 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
2524 (define_symbol): Update.
2525 * symfile.c (generic_load): Remove references to nindy.
2526 * symtab.c: Remove references to nindy.
2528 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2530 * infcmd.c (print_float_info): Delete code conditional on
2532 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
2533 * config/m68k/nm-apollo68b.h: Ditto.
2534 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
2535 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
2536 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
2538 2003-02-01 Mark Kettenis <kettenis@gnu.org>
2540 * config/i386/tm-i386os9k.h: Removed.
2542 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
2543 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
2544 they're identical to i[3456]86-*-sysv* now.
2545 * config/i386/i386v32.mh: Removed.
2546 * config/i386/xm-i386v32.h: Removed.
2547 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
2549 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
2551 * config/i386/i386dgux.mh: Removed.
2552 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
2554 * configure.in: Fix typo.
2555 * configure: Regenerated.
2557 2003-01-31 David Carlton <carlton@math.stanford.edu>
2559 * dwarf2read.c (dwarf2_locate_sections): Set
2560 dwarf_ranges_section.
2562 2003-01-31 Andrew Cagney <ac131313@redhat.com>
2564 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
2565 * utils.c: Update comments documenting legitimate uses of PTR.
2567 * utils.c: Re-indent.
2569 * config/djgpp/fnchange.lst: Delete nindy files.
2570 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
2571 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
2572 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
2573 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
2574 * nindy-share/README, nindy-share/Onindy.c: Delete files.
2575 * nindy-tdep.c, nindy-share/Makefile: Delete files.
2576 * Makefile.in (init.c): Remove nindy references.
2577 (saber_gdb): Delete rule.
2578 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
2579 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
2581 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
2582 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
2583 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
2584 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
2586 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
2587 * saber.suppress: Delete file.
2589 2003-01-31 Daniel Jacobowitz <drow@mvista.com>
2591 * dbxread.c (stabs_data): New static variable.
2592 (fill_symbuf): Support an in-memory buffer for stabs data.
2593 (stabs_seek): New function.
2594 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
2595 (read_ofile_symtab): Use stabs_seek.
2596 (elfstab_build_psymtabs): Take an asection* instead of
2597 an offset and size. Relocate the stabs data if necessary.
2598 Save the section* for dbx_psymtab_to_symtab.
2599 * dwarf2read.c: Add section variables for each debug section.
2600 (dwarf2_locate_sections): Fill them in.
2601 (dwarf2_read_section): Take an asection* argument.
2602 Relocate the section contents if necessary.
2603 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
2604 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
2605 it to dwarf2_read_section.
2606 (dwarf2_build_frame_info): Update callers.
2607 * elfread.c (elf_symfile_read): Update call to
2608 elfstab_build_psymtabs.
2609 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
2610 (DBX_STAB_SECTION): New macro.
2611 * stabsread.h (elfstab_build_psymtabs): Update prototype.
2612 * symfile.c (symfile_dummy_outputs): New function.
2613 (symfile_relocate_debug_section): New function.
2614 * symfile.h (symfile_relocate_debug_section): Add prototype.
2616 2003-01-31 Richard Henderson <rth@redhat.com>
2618 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
2619 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
2620 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
2621 * alpha-tdep.c (alpha_register_name): Add "unique".
2622 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
2623 (ALPHA_UNIQUE_REGNUM): New.
2624 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
2626 2003-01-31 Andrew Cagney <ac131313@redhat.com>
2628 * README: Remove reference to Ericsson 1800 monitor.
2629 * Makefile.in (remote-es.o): Delete rule.
2630 (ALLDEPFILES): Delete remote-es.c.
2631 * remote-es.c: Delete file.
2632 * config/m68k/es1800.mt: Delete file.
2633 * config/djgpp/fnchange.lst: Update.
2634 * configure.tgt: Delete m68*-ericsson-* target.
2636 2003-01-31 Adam Fedor <fedor@gnu.org>
2638 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
2639 Remove duplicate/shadowing variable of same name.
2641 2003-01-30 Jim Blandy <jimb@redhat.com>
2643 * symfile.c (find_separate_debug_file): Assert that the objfile's
2644 directory name we compute ends with a slash, and then assume that
2645 that's so everywhere we use it.
2647 2003-01-30 Daniel Jacobowitz <drow@mvista.com>
2649 * valops.c (value_assign): Flush frame cache after stores to memory
2652 2003-01-30 Andrew Cagney <ac131313@redhat.com>
2654 * Makefile.in (mon960-rom.o): Delete rule.
2655 * mon960-rom.c: Delete file.
2657 2003-01-30 Andrew Cagney <ac131313@redhat.com>
2659 * d10v-tdep.c: Include "frame-unwind.h".
2660 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
2662 (next_addr, uses_frame): Delete.
2663 (struct d10v_unwind_cache): Define.
2664 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
2665 Use info instead of next_addr and uses_frame globals.
2666 (d10v_frame_init_saved_regs): Delete function.
2667 (d10v_init_extra_frame_info): Delete function.
2668 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
2669 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
2670 init_frame_pc or frame_saved_pc.
2671 (d10v_pop_frame): Delete function.
2672 (do_d10v_pop_frame): Delete function.
2673 (d10v_frame_chain): Delete function.
2674 (d10v_frame_chain_valid): Delete function.
2675 (d10v_frame_pc_unwind): New function.
2676 (d10v_frame_id_unwind): New function.
2677 (saved_regs_unwinder): New function.
2678 (d10v_frame_register_unwind): New function.
2679 (d10v_frame_pop): New function.
2680 (d10v_frame_unwind): New variable.
2681 (d10v_frame_p): New function.
2682 (d10v_frame_saved_pc): Delete function.
2683 * Makefile.in (d10v-tdep.o): Update dependencies.
2685 2003-01-30 J. Brobecker <brobecker@gnat.com>
2687 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
2688 causing some regressions due to a change in the default value
2691 2003-01-29 Richard Henderson <rth@redhat.com>
2692 Elena Zannoni <ezannoni@redhat.com>
2693 Daniel Jacobowitz <drow@mvista.com>
2696 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
2698 (RANGES_SECTION): New.
2699 (dwarf_ranges_buffer): New variable.
2700 (struct comp_unit_head): Add member "die".
2701 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
2702 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
2703 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
2704 (dwarf2_locate_sections): Likewise.
2705 (dwarf2_build_psymtabs): Read .debug_ranges.
2706 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
2707 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
2708 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
2709 Look for DW_AT_ranges and return the bounding box.
2711 2003-01-29 Brian Ford <ford@vss.fsi.com>
2713 * win32-nat.c (cygwin_pid): Removed as unused.
2714 (child_attach): Try fall back to Cygwin pid.
2716 2003-01-29 Jim Blandy <jimb@redhat.com>
2718 * objfiles.h (struct objfile): Doc fix.
2720 2003-01-29 Andrew Cagney <ac131313@redhat.com>
2722 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
2723 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
2724 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
2725 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
2726 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
2727 (FRAME_SAVED_PC): Change to a function with predicate.
2728 * gdbarch.h, gdbarch.c: Re-generate.
2730 2003-01-28 Andrew Cagney <ac131313@redhat.com>
2732 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
2734 * complaints.c (complain): Delete function.
2735 * complaints.h (struct deprecated_complaint): Delete definition.
2736 (complain): Delete declaration.
2738 2003-01-28 Kevin Buettner <kevinb@redhat.com>
2740 * mips-tdep.c (mips_init_extra_frame_info): Return early for
2743 2003-01-27 Andrew Cagney <ac131313@redhat.com>
2745 * sentinel-frame.h, sentinel-frame.c: New files.
2746 * Makefile.in (frame.o): Update dependencies.
2747 (SFILES): Add sentinel-frame.c.
2748 (sentinel_frame_h): Define.
2749 (COMMON_OBS): Add sentinel-frame.o.
2750 (sentinel-frame.o): Specify dependencies.
2751 * frame.c: Include "sentinel-frame.h".
2752 (frame_register_unwind): Rewrite assuming that there is always a a
2754 (frame_register, generic_unwind_get_saved_register): Ditto.
2755 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
2756 (create_sentinel_frame, unwind_to_current_frame): New functions.
2757 (get_current_frame): Rewrite using create_sentinel_frame and
2758 unwind_to_current_frame. When possible, always create a frame.
2759 (create_new_frame): Set next to the sentinel frame.
2760 (get_next_frame): Rewrite. Don't go below the level 0 frame.
2761 (deprecated_update_frame_pc_hack): Update the next frame's PC and
2762 ID cache when necessary.
2763 (frame_saved_regs_id_unwind): Use frame_relative_level.
2764 (deprecated_generic_get_saved_register): Use frame_relative_level,
2765 get_frame_saved_regs, get_frame_pc, get_frame_base and
2767 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
2770 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
2772 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
2774 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
2776 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
2777 (maintenance_set_profile_cmd): Use error () instead of warning ().
2779 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
2781 * configure.in: Check that -pg works if using --enable-profiling.
2782 Check for monstartup and _mcleanup regardless of --enable-profiling.
2783 * maint.c: Check for monstartup and _mcleanup before using them.
2784 * config.in: Regenerated.
2785 * configure: Regenerated.
2787 2003-01-24 Nick Clifton <nickc@redhat.com>
2791 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
2793 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
2794 (sh2e_show_regs): New.
2795 (sh_gdbarch_init): Handle bfd_mach_sh2e.
2796 * config/sh/tm-sh.h: Added sh2e to comments.
2798 2003-01-23 Jim Blandy <jimb@redhat.com>
2800 * symfile.c (syms_from_objfile): Don't print the "(no debugging
2801 symbols found)" message here; we haven't checked for a separate
2802 debug info file yet, so we don't know yet.
2803 (symbol_file_add_with_addrs_or_offsets): Print it here, after
2804 we've looked everywhere. Also, there's no need to print a special
2805 message when we're loading the separate debug info file: the one
2806 symbol_file_add prints is fine.
2808 2003-01-23 Alexander Larsson <alexl@redhat.com>
2809 Jim Blandy <jimb@redhat.com>
2811 Add support for executables whose debug info has been separated
2812 out into a separate file, leaving only a link behind.
2813 * objfiles.h (struct objfile): New fields: separate_debug_objfile
2814 and separate_debug_objfile_backlink.
2815 (put_objfile_before): New declaration.
2816 * symfile.c: #include "filenames.h".
2817 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
2818 debug info in a separate file, read that, too. Save the addrs
2819 argument, so we can use it again to read the separated debug info;
2820 syms_from_objfile modifies the table we pass it.
2821 (reread_symbols): After re-reading an objfile, call
2822 reread_separate_symbols to refresh its separate debug info
2823 objfile, if it has one.
2824 (reread_separate_symbols, find_separate_debug_file,
2825 get_debug_link_info, separate_debug_file_exists): New functions.
2826 (debug_file_directory): New global var.
2827 (_initialize_symfile): Initialize debug_file_directory, and
2828 provide the new `set debug-file-directory' command to let the user
2830 * objfiles.c (free_objfile): If this objfile has its debug info in
2831 a separate objfile, free that one too. If this is itself a
2832 separate debug info objfile, clear our parent's backlink.
2833 (put_objfile_before): New function.
2834 * utils.c (gnu_debuglink_crc32): New function.
2835 * defs.h (gnu_debuglink_crc32): New declaration.
2836 * Makefile.in (symfile.o): Note dependency on "filenames.h".
2837 * configure.in: Handle --with-separate-debug-dir config option.
2838 * acinclude.m4 (AC_DEFINE_DIR): New macro.
2839 * acconfig.h (DEBUGDIR): New macro.
2840 * configure, aclocal.m4, config.in: Regenerated.
2842 2003-01-22 Jim Blandy <jimb@redhat.com>
2844 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
2845 like the old symbol_file_add, but taking new arguments: you can
2846 now pass in either a `struct section_addr_info' list to say where
2847 each section is loaded, or a `struct section_offsets' table. Pass
2848 these new arguments through to syms_from_objfile as appropriate.
2849 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
2850 with the appropriate quiescent values for the new arguments.
2852 * symfile.c: #include "gdb_assert.h".
2853 (syms_from_objfile): Add the ability to pass in a section offset
2854 table directly, as an alternative to the section_addr_info table.
2855 Document arguments better.
2856 (symbol_file_add): Pass extra arguments to syms_from_objfile.
2857 * symfile.h (syms_from_objfile): Update declaration.
2858 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
2860 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
2862 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
2864 Original patch by Tom Tromey <tromey@cygnus.com> and
2865 Jason Molenda <jmolenda@apple.com>.
2866 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
2867 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
2868 * NEWS: Mention profiling.
2869 * configure.in (--enable-gdbtk): Fix typo.
2870 (--enable-profiling): New. Set PROFILE_CFLAGS.
2871 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
2873 (profiling_state): New variable.
2874 (mcleanup_wrapper): New function.
2875 (_initialize_maint): Remove NOTYET, fix call to
2876 add_setshow_boolean_cmd for "maint set profile".
2877 * configure: Regenerated.
2879 2003-01-21 Martin M. Hunt <hunt@redhat.com>
2881 * Makefile.in (install-gdbtk): Install PNG images too.
2883 2003-01-21 Andrew Cagney <ac131313@redhat.com>
2885 * exec.c (text_start): Delete global variable.
2886 (exec_file_attach): Make text_start local to the function.
2887 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
2888 * valops.c (hand_function_call): Delete code that handles
2889 BEFORE_TEXT_END and AFTER_TEXT_END.
2890 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
2891 of CALL_DUMMY_LOCATION.
2892 * gdbarch.c: Regenerate.
2893 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
2894 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
2895 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
2896 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
2897 (text_end): Delete extern declaration.
2899 2003-01-21 Andrew Cagney <ac131313@redhat.com>
2901 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
2902 * blockframe.c (backtrace_below_main): Move to "frame.c".
2903 (frame_chain_valid): Delete check for backtrace_below_main.
2904 (_initialize_blockframe): Delete initialization, move ``set
2905 backtrace-below-main'' command to "frame.c".
2906 (do_flush_frames_sfunc): Delete function.
2907 * frame.c: Include "command.h" and "gdbcmd.h".
2908 (frame_type_from_pc): New function.
2909 (create_new_frame): Use frame_type_from_pc.
2910 (legacy_get_prev_frame): New function.
2911 (get_prev_frame): Rewrite. When an old style frame, call
2912 legacy_get_prev_frame. Otherwize, unwind the PC first.
2913 (_initialize_frame): Add ``set backtrace-below-main'' command.
2914 * Makefile.in (frame.o): Update dependencies.
2916 2003-01-19 Andrew Cagney <ac131313@redhat.com>
2918 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
2919 DEPRECATED_REGISTERS_INFO.
2921 2003-01-19 Andrew Cagney <ac131313@redhat.com>
2923 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
2924 Maintainers'. Update `Various Maintainers'.
2926 2003-01-19 Andrew Cagney <ac131313@redhat.com>
2928 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
2929 * gdbarch.sh (POP_FRAME): Change to function with predicate.
2930 Suppress actual parameters when `-'.
2931 * gdbarch.h, gdbarch.c: Regenerate.
2933 2003-01-19 Andrew Cagney <ac131313@redhat.com>
2935 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
2936 code handling dummy frames.
2938 2003-01-19 Andrew Cagney <ac131313@redhat.com>
2940 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
2941 (struct frame_unwind): Add field pop.
2942 * frame.h (frame_pop): Declare.
2943 * frame.c (frame_saved_regs_pop): New function.
2944 (trad_frame_unwinder): Add frame_saved_regs_pop.
2945 (frame_pop): New function.
2946 * dummy-frame.c (dummy_frame_pop): New function.
2947 (discard_innermost_dummy): New function.
2948 (generic_pop_dummy_frame): Use discard_innermost_dummy.
2949 (dummy_frame_unwind): Add dummy_frame_pop.
2950 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
2951 * valops.c (hand_function_call): Ditto.
2952 * stack.c (return_command): Ditto.
2954 2003-01-18 Andrew Cagney <ac131313@redhat.com>
2956 * cris-tdep.c: Fix function declaration indentation.
2957 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
2958 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
2959 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
2960 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
2961 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
2962 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
2964 2003-01-18 Michael Chastain <mec@shout.net>
2966 * README (Unpacking and Installation -- quick overview):
2967 Warn against ".../gdb-5.3/gdb/configure".
2969 2003-01-18 Andrew Cagney <ac131313@redhat.com>
2971 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
2972 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
2973 (struct frame_unwind): Declare opaque.
2974 (dummy_frame_p): Declare function.
2975 * dummy-frame.c (dummy_frame_id_unwind): Make static.
2976 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
2977 * dummy-frame.c: Include "frame-unwind.h".
2978 (dummy_frame_p): New function.
2979 (dummy_frame_unwind): New variable.
2980 * frame.c: Include "frame-unwind.h".
2981 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
2982 to use the new unwind field.
2983 (set_unwind_by_pc): Delete function.
2984 (create_new_frame, get_prev_frame): Set unwind field using
2985 frame_unwind_find_by_pc.
2986 (trad_frame_unwind, trad_frame_unwinder): New variables.
2987 * frame.h (trad_frame_unwind): Declare variable.
2988 (frame_id_unwind_ftype): Delete declaration.
2989 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
2990 (struct frame_unwind): Declare opaque.
2991 (struct frame_info): Replace the fields id_unwind, pc_unwind and
2992 register_unwind with a single unwind pointer.
2993 * frame-unwind.h, frame-unwind.c: New files.
2994 * Makefile.in (SFILES): Add frame-unwind.c.
2995 (frame_unwind_h): Define.
2996 (COMMON_OBS): Add frame-unwind.o.
2997 (frame-unwind.o): Specify dependencies.
2998 (frame.o, dummy-frame.o): Update dependencies.
3000 2003-01-18 Andrew Cagney <ac131313@redhat.com>
3002 * ada-valprint.c: Eliminate PTR.
3003 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
3004 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
3005 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
3006 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
3007 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
3008 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
3009 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
3011 2003-01-17 Andrew Cagney <ac131313@redhat.com>
3013 * main.c (captured_main): Don't use PTR.
3014 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
3015 * gdbtypes.c (lookup_primitive_typename): Ditto.
3016 (lookup_struct_elt_type): Ditto.
3017 * f-valprint.c (info_common_command): Ditto.
3018 (list_all_visible_commons): Ditto.
3019 * jv-typeprint.c (java_type_print_base): Ditto.
3021 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
3022 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
3023 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
3024 i386-interix-nat.c and i386-interix-tdep.c. Rename
3025 m68klinux-nat.c and m68klinux-tdep.c. Rename
3026 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
3027 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
3028 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
3029 * main.c (captured_main): Use xfree, not free.
3031 2003-01-16 Andrew Cagney <ac131313@redhat.com>
3033 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
3034 ID back using a parameter.
3035 * frame.c (frame_id_unwind): Update call.
3036 (frame_saved_regs_id_unwind): Update.
3037 * dummy-frame.c (dummy_frame_id_unwind): Update function.
3038 * dummy-frame.h (struct frame_id): Add opaque declaration.
3039 (dummy_frame_id_unwind): Update declaration.
3041 2003-01-15 Andrew Cagney <ac131313@redhat.com>
3043 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
3045 2003-01-15 Stephen P. Smith <ischis2@cox.net>
3047 * MAINTAINERS (Stephen P. Smith): Updated email address.
3049 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
3052 * breakpoint.c (until_break_command): Add new argument. Use it to
3053 decide whether to stop only at the current frame or not.
3054 * breakpoint.h (until_break_command): Update prototype.
3055 * infcmd.c (until_command): Add new argument to until_break_command
3057 (advance_command): New function.
3058 (_initialize_infcmd): Update help string for 'until' command.
3059 Add new 'advance' command.
3061 2003-01-14 David Carlton <carlton@math.stanford.edu>
3063 * linespec.c (decode_line_1): Normalize comments.
3065 (locate_first_half): Ditto.
3066 (decode_compound): Ditto.
3067 (symtab_from_filename): Ditto.
3068 (decode_all_digits): Ditto.
3069 (decode_dollar): Ditto.
3070 (find_methods): Ditto.
3071 (find_toplevel_char): Ditto.
3073 2003-01-13 Andrew Cagney <ac131313@redhat.com>
3075 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
3076 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
3077 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
3078 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
3079 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
3080 * language.c, language.h, m32r-tdep.c: Update copyright.
3081 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
3082 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
3083 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
3084 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
3085 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
3086 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
3088 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
3090 * stabsread.h (process_later, resolve_cfront_continuation):
3092 Update copyright years.
3093 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
3094 Update copyright year.
3095 * dbxread.c(struct cont_elem): Obsolete.
3096 (process_later, process_now): Obsolete functions.
3097 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
3098 Update copyright year.
3099 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
3100 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
3101 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
3102 (parse_partial_symbols): Obsolete cfront support.
3104 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
3106 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
3107 read_cfront_baseclasses, read_cfront_member_functions,
3108 resolve_cfront_continuation,read_cfront_static_fields,
3109 copy_cfront_struct_fields): Obsolete functions.
3110 (define_symbol, read_one_struct_field): Obsolete cfront support.
3111 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
3112 Update Copyright year.
3114 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
3116 * stack.c (print_frame_info, print_stack_frame_base_stub,
3117 print_stack_frame_base, show_and_print_stack_frame_stub,
3118 show_and_print_stack_frame, print_only_stack_frame_stub,
3119 print_only_stack_frame): Delete functions.
3120 (print_stack_frame_stub): Call print_frame_info instead of
3121 print_frame_info_base.
3122 (print_frame_info_base): Rename to print_frame_info.
3123 (backtrace_command_1): Call print_frame_info, instead of
3124 print_frame_info_base.
3125 (current_frame_command): Call print_stack_frame, instead of
3126 print_only_stack_frame.
3127 (frame_command): Call print_stack_frame, instead of
3128 show_and_print_stack_frame.
3129 (up_command): Ditto.
3130 (down_command): Ditto.
3131 * frame.h (print_only_stack_frame): Delete prototype.
3132 * infrun.c (normal_stop): Call print_stack_frame, instead of
3133 show_and_print_stack_frame.
3134 * thread.c (info_threads_command): Call print_stack_frame, instead
3135 of print_only_stack_frame.
3137 2003-01-13 Andrew Cagney <ac131313@redhat.com>
3139 * README (Graphical interface to GDB): Update URL. Point at
3142 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
3145 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3147 * symtab.c (find_pc_sect_line): Don't consider end-of-function
3150 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3152 * thread-db.c (attach_thread): Prototype.
3153 (struct private_thread_info): Remove lwpid. Add thread handle (th),
3154 thread information (ti), and valid flags (th_valid, ti_valid).
3155 (attach_thread): Move target_pid_to_str call to after the thread
3156 is added to GDB's list. Initialize the cache.
3157 (thread_get_info_callback, thread_db_map_id2thr)
3158 (thread_db_get_info): New functions.
3159 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
3160 (thread_db_store_registers, thread_db_thread_alive)
3161 (thread_db_get_thread_local_address): Use them.
3162 (thread_db_pid_to_str): Likewise. Return "Missing" instead
3163 of calling error() for threads in unknown state.
3165 (clear_lwpid_callback): New function.
3166 (thread_db_resume): Use it to clear the cache.
3168 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3170 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
3171 (resume_callback): Remove dead code.
3173 2003-01-13 Andrew Cagney <ac131313@redhat.com>
3175 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
3177 * gdbarch.h, gdbarch.c: Regenerate.
3178 * stack.c (frame_info): Only initialize the saved registers when
3179 FRAME_INIT_SAVED_REGS_P.
3180 * frame.c (frame_saved_regs_register_unwind): Assert
3181 FRAME_INIT_SAVED_REGS_P.
3182 (deprecated_generic_get_saved_register): Ditto.
3184 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3186 * source.c (openp): Squelch warning about "filename".
3188 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3190 * source.c (openp): If the file does not exist don't necessarily
3193 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3196 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
3197 (integer_types_same_name_p): New function.
3198 (rank_one_type): Use it.
3199 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
3201 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
3203 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
3205 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
3206 * configure.in: Add --with-sysroot.
3207 * configure: Regenerated.
3208 * main.c (gdb_sysroot): New variable.
3209 (captured_main): Initialize gdb_sysroot.
3210 * defs.h (gdb_sysroot): New extern declaration.
3211 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
3213 2003-01-12 Michael Chastain <mec@shout.net>
3215 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
3217 2003-01-12 Michael Chastain <mec@shout.net>
3219 * top.c (print_gdb_version): Bump copyright year to 2003.
3221 2003-01-12 David Carlton <carlton@bactrian.org>
3223 * linespec.c (symtab_from_filename): Rename variable 's' to
3226 2003-01-12 Andrew Cagney <ac131313@redhat.com>
3228 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
3230 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
3232 2003-01-12 Andrew Cagney <ac131313@redhat.com>
3234 * d10v-tdep.c: Include "gdb_assert.h".
3235 (d10v_store_return_value): Rewrite to match current interface.
3236 (d10v_extract_struct_value_address): Ditto.
3237 (d10v_extract_return_value): Ditto.
3238 (d10v_gdbarch_init): Set store_restore_value,
3239 extract_struct_value_address and extract_return_value.
3241 2003-01-12 J. Brobecker <brobecker@gnat.com>
3243 * hpread.c (set_namestring): New procedure replacing the
3244 SET_NAMESTRING macro.
3245 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
3246 by calls to set_namestring.
3248 2003-01-11 J. Brobecker <brobecker@gnat.com>
3250 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
3251 a compilation warning.
3252 (hpread_process_one_debug_symbol): Likewise.
3254 2003-01-10 David Carlton <carlton@math.stanford.edu>
3256 * linespec.c (decode_line_1): Rename variable 's' to
3258 (decode_all_digits): Rename argument 's' to 'file_symtab'.
3259 (decode_dollar): Ditto.
3260 (decode_variable): Ditto.
3261 (symbol_found): Ditto.
3263 2003-01-09 Michael Chastain <mec@shout.net>
3265 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
3267 2003-01-07 Corinna Vinschen <vinschen@redhat.com>
3269 * win32-nat.c (set_process_privilege): New function.
3270 (child_attach): Call set_process_privilege() to enable the
3271 SE_DEBUG_NAME user privilege if available in process token.
3273 2003-01-10 J. Brobecker <brobecker@gnat.com>
3275 * hpread.c (hpread_process_one_debug_symbol): Fix a small
3276 compilation error in the previous revision.
3278 2003-01-09 David Carlton <carlton@math.stanford.edu>
3280 * linespec.c: Update copyright.
3282 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
3284 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
3286 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
3288 2003-01-09 Andrew Cagney <ac131313@redhat.com>
3290 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
3292 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
3293 (frame_saved_regs_zalloc): Update.
3294 (frame_saved_regs_register_unwind): Update.
3295 (create_new_frame): Update.
3296 (get_prev_frame): Update.
3297 (frame_extra_info_zalloc): Update.
3298 (deprecated_get_frame_saved_regs): Update.
3299 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
3300 * cris-tdep.c: Update comment.
3302 * somsolib.h: Fix function indentation.
3303 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
3304 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
3305 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
3306 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
3307 * somsolib.c, inftarg.c: Remove assignment in if conditional.
3309 * infrun.c (follow_fork): Use ISO C definition.
3310 * expprint.c (print_subexp): Use xfree instead of free.
3311 * charset.c: Include "gdb_string.h" instead of <string.h>.
3312 (register_iconv_charsets): Use ISO C definition.
3313 (host_charset, target_charset): Ditto.
3314 * Makefile.in (charset.o): Update dependencies.
3315 (mi-cmd-env.o): Update dependencies.
3317 2003-01-08 Andrew Cagney <cagney@redhat.com>
3319 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
3322 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3324 * gdb_mbuild.sh: Add --keep option. When specified, keep the
3325 build directories. Save edited gdb output in Mbuild.log. If a
3326 build fails, remove any final GDB executable.
3328 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3330 * gdb_mbuild.sh: Edit the output of `maint print architecture'
3331 replacing hex constants with function names and stripping leading
3332 file name directory prefixes.
3334 2003-01-08 Andrew Cagney <cagney@redhat.com>
3336 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
3339 2003-01-08 David Carlton <carlton@math.stanford.edu>
3341 * linespec.c (decode_line_1): Move code into decode_variable.
3342 (decode_variable): New function.
3344 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3346 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
3348 2003-01-08 Andrew Cagney <cagney@redhat.com>
3350 * cris-tdep.c (cris_frame_init_saved_regs): Use
3351 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
3353 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
3354 (sh64_nofp_frame_init_saved_regs): Ditto.
3355 (sh_fp_frame_init_saved_regs): Ditto.
3356 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
3357 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
3358 * mcore-tdep.c (analyze_dummy_frame): Ditto.
3359 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3361 2003-01-08 Daniel Jacobowitz <drow@mvista.com>
3363 * minsyms.c (lookup_minimal_symbol): Update comment.
3364 (lookup_minimal_symbol_text): Update comment. Use the hash table.
3365 (lookup_minimal_symbol_solib_trampoline): Likewise.
3367 2003-01-08 Andrew Cagney <cagney@redhat.com>
3369 * d10v-tdep.c (d10v_init_extra_frame_info): Use
3370 frame_relative_level.
3372 * alpha-tdep.c: Use get_frame_extra_info.
3373 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3374 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
3375 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
3376 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
3378 * alpha-tdep.c: Use get_next_frame.
3379 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3380 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
3381 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
3382 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
3383 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
3384 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
3385 * xstormy16-tdep.c: Ditto.
3387 2003-01-07 Andrew Cagney <cagney@redhat.com>
3389 * alpha-tdep.c: Use get_frame_base.
3390 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3391 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
3392 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
3393 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
3394 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
3395 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
3396 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
3397 * config/sparc/tm-sparc.h: Ditto.
3399 2003-01-07 Andrew Cagney <cagney@redhat.com>
3401 * frame.c (deprecated_get_frame_context): New function.
3402 (deprecated_set_frame_context): New function.
3403 * frame.h (deprecated_get_frame_context): Declare.
3404 (deprecated_set_frame_context): Declare.
3405 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
3406 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
3408 2003-01-07 Andrew Cagney <cagney@redhat.com>
3410 * frame.c (deprecated_set_frame_next_hack): New function.
3411 (deprecated_set_frame_prev_hack): New function.
3412 * frame.h (deprecated_set_frame_next_hack): Declare.
3413 (deprecated_set_frame_prev_hack): Declare.
3414 * mcore-tdep.c (analyze_dummy_frame): Use
3415 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
3416 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3418 2003-01-07 David Carlton <carlton@math.stanford.edu>
3420 * linespec.c (decode_line_1): Move code into decode_dollar.
3421 (decode_dollar): New function.
3423 2003-01-07 Andrew Cagney <cagney@redhat.com>
3425 * arm-tdep.c (arm_init_extra_frame_info): Use
3426 deprecated_update_frame_base_hack.
3427 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
3428 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3429 (fix_frame_pointer): Ditto.
3430 (mn10300_analyze_prologue): Ditto.
3432 2003-01-07 Andrew Cagney <cagney@redhat.com>
3434 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
3435 extra_info using frame_extra_info_zalloc.
3436 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
3437 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
3438 (sh64_init_extra_frame_info): Ditto.
3439 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
3440 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
3441 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
3442 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
3443 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
3444 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
3445 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
3446 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
3447 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
3448 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
3449 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
3450 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
3452 * mn10300-tdep.c (analyze_dummy_frame): Use
3453 deprecated_set_frame_extra_info_hack.
3454 * mcore-tdep.c (analyze_dummy_frame): Ditto.
3456 2003-01-07 J. Brobecker <brobecker@gnat.com>
3458 * mdebugread.c (parse_symbol): Skip stProc entries which storage
3459 class is not scText. These do not define "real" procedures.
3460 (parse_partial_symbols): Likewise.
3462 2003-01-06 Michael Snyder <msnyder@redhat.com>
3464 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
3466 2003-01-06 Andrew Cagney <ac131313@redhat.com>
3468 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
3469 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
3470 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
3471 deprecated_frame_xmalloc_with_cleanup.
3472 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
3473 deprecated_frame_xmalloc.
3474 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
3475 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
3477 2003-01-06 Andrew Cagney <cagney@redhat.com>
3479 * x86-64-linux-tdep.c: Include "osabi.h".
3480 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
3482 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
3484 2003-01-06 Andrew Cagney <cagney@redhat.com>
3486 * MAINTAINERS (Target Instruction Set Architectures): Update
3487 arm-elf. Can be built with -Werror, has been multiarched.
3489 * value.h (unpack_long): Make buffer parameter constant.
3490 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
3491 * scm-lang.h (scm_parse): Ditto.
3492 * defs.h (extract_typed_address, extract_address): Ditto.
3493 (extract_long_unsigned_integer): Ditto.
3494 * inferior.h (unsigned_pointer_to_address): Ditto.
3495 (signed_pointer_to_address): Ditto.
3496 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
3497 * gdbarch.h, gdbarch.c: Regenerate.
3498 * findvar.c (extract_long_unsigned_integer): Update.
3499 (extract_address): Update.
3500 (extract_typed_address): Update.
3501 (unsigned_pointer_to_address): Update.
3502 * values.c (unpack_long): Update.
3503 (unpack_double): Update.
3504 (unpack_pointer): Update.
3505 (unpack_field_as_long): Update.
3506 * d10v-tdep.c (d10v_pointer_to_address): Update.
3507 * avr-tdep.c (avr_pointer_to_address): Update.
3508 * scm-lang.c (scm_unpack): Update.
3509 * findvar.c (signed_pointer_to_address): Update.
3511 2003-01-06 Michal Ludvig <mludvig@suse.cz>
3513 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
3514 since it is in i386-tdep.c.
3516 2003-01-06 J. Brobecker <brobecker@gnat.com>
3518 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
3519 failure introduced in the previous change.
3521 2003-01-05 Michael Chastain <mec@shout.net>
3523 * README: Remove references to deleted remote-*.c files:
3524 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
3525 remote-nrom.c, remote-os9k.c, remote-udi.c.
3527 2003-01-05 Mark Kettenis <kettenis@gnu.org>
3529 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
3530 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
3531 i386_get_longjmp_target.
3533 2003-01-05 Andrew Cagney <ac131313@redhat.com>
3535 * arm-tdep.c (prologue_cache): Change to a pointer.
3536 (_initialize_arm_tdep): Allocate prologue_cache.
3537 (check_prologue_cache): Update.
3538 (save_prologue_cache): Update.
3539 (arm_gdbarch_init): Update.
3541 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3543 * stabsread.c (update_method_name_from_physname): Call complaint()
3546 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3548 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
3549 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
3550 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
3552 * blockframe.c: Include "gdbcmd.h" and "command.h".
3553 (backtrace_below_main): New variable.
3554 (file_frame_chain_valid, func_frame_chain_valid)
3555 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
3556 (generic_func_frame_chain_valid): Remove functions.
3557 (frame_chain_valid, do_flush_frames_sfunc): New functions.
3558 (_initialize_blockframe): New function.
3559 * Makefile.in (blockframe.o): Update dependencies.
3560 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
3561 comment. Call frame_chain_valid ().
3562 * frame.h: Remove old prototypes. Add prototype for
3563 frame_chain_valid and update comments to match.
3564 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
3566 * gdbarch.h: Regenerated.
3567 * gdbarch.c: Regenerated.
3569 * alpha-tdep.c (alpha_gdbarch_init): Don't call
3570 set_gdbarch_frame_chain_valid.
3571 * avr-tdep.c (avr_gdbarch_init): Likewise.
3572 * cris-tdep.c (cris_gdbarch_init): Likewise.
3573 * frv-tdep.c (frv_gdbarch_init): Likewise.
3574 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
3575 * i386-tdep.c (i386_svr4_init_abi): Likewise.
3576 (i386_nw_init_abi): Likewise.
3577 (i386_gdbarch_init): Likewise.
3578 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
3579 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
3580 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
3581 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
3582 * mips-tdep.c (mips_gdbarch_init): Likewise.
3583 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
3584 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
3585 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
3586 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3587 * s390-tdep.c (s390_gdbarch_init): Likewise.
3588 * sh-tdep.c (sh_gdbarch_init): Likewise.
3589 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3590 * v850-tdep.c (v850_gdbarch_init): Likewise.
3591 * vax-tdep.c (vax_gdbarch_init): Likewise.
3592 * x86-64-tdep.c (x86_64_init_abi): Likewise.
3594 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
3595 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
3596 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
3597 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
3598 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
3599 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
3600 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
3601 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
3603 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
3605 * Makefile.in (acconfig_h): Remove incorrect macro.
3607 (osabi.o): Update dependencies.
3608 * configure.tgt: Set gdb_osabi based on target triplet.
3609 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
3610 * configure: Regenerated.
3611 * config.in: Regenerated.
3612 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
3613 (GDB_OSABI_DEFAULT): Define if not already defined.
3614 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
3615 (set_osabi_string): New variables.
3616 (gdbarch_register_osabi): Add new OS ABI to
3617 gdb_osabi_available_names.
3618 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
3619 (set_osabi, show_osabi): New functions.
3620 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
3622 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3624 * arch-utils.c (gdbarch_info_init): Set osabi to
3625 GDB_OSABI_UNINITIALIZED.
3626 * gdbarch.sh: Add osabi to struct gdbarch and to struct
3627 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
3628 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
3629 * gdbarch.c: Regenerated.
3630 * gdbarch.h: Regenerated.
3631 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
3633 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
3634 * osabi.h (enum gdb_osabi): Move to defs.h.
3635 (gdbarch_init_osabi): Update prototype.
3636 * defs.h (enum gdb_osabi): Moved here.
3637 * Makefile.in: Update dependencies.
3639 * alpha-tdep.h: Don't include "osabi.h".
3640 (struct gdbarch_tdep): Remove osabi member.
3641 * alpha-tdep.c: Include "osabi.h".
3642 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3643 iterate over arches. Update call to gdbarch_init_osabi.
3644 (alpha_dump_tdep): Don't dump osabi.
3645 * alpha-linux-tdep.c: Include "osabi.h".
3646 * alpha-osf1-tdep.c: Include "osabi.h".
3647 * alphafbsd-tdep.c: Include "osabi.h".
3648 * alphanbsd-tdep.c: Include "osabi.h".
3650 * arm-tdep.h: Don't include "osabi.h".
3651 (struct gdbarch_tdep): Remove osabi member.
3652 * arm-tdep.c: Include "osabi.h".
3653 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3654 iterate over arches. Update call to gdbarch_init_osabi.
3655 (arm_dump_tdep): Don't dump osabi.
3656 * arm-linux-tdep.c: Include "osabi.h".
3657 * armnbsd-tdep.c: Include "osabi.h".
3659 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
3660 Update call to gdbarch_init_osabi.
3662 * i386-tdep.h: Don't include "osabi.h".
3663 (struct gdbarch_tdep): Remove osabi member.
3664 * i386-tdep.c: Include "osabi.h".
3665 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3666 iterate over arches. Update call to gdbarch_init_osabi.
3667 (i386_dump_tdep): Don't dump osabi.
3668 * i386-linux-tdep.c: Include "osabi.h".
3669 * i386-sol2-tdep.c: Include "osabi.h".
3670 * i386bsd-tdep.c: Include "osabi.h".
3671 * i386gnu-tdep.c: Include "osabi.h".
3672 * i386ly-tdep.c: Include "osabi.h".
3673 * i386nbsd-tdep.c: Include "osabi.h".
3674 * i386obsd-tdep.c: Include "osabi.h".
3676 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
3677 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3678 check osabi when iterating over arches. Update call to
3680 (mips_dump_tdep): Don't dump osabi.
3682 * ns32k-tdep.h: Don't include "osabi.h".
3683 (struct gdbarch_tdep): Remove.
3684 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
3685 gdbarch_lookup_osabi. Don't iterate over arches. Don't
3686 allocate tdep. Update call to gdbarch_init_osabi.
3687 (ns32k_dump_tdep): Remove.
3688 (_initialize_ns32k_tdep): Update call to gdbarch_register.
3689 * ns32knbsd-tdep.c: Include "osabi.h".
3691 * ppc-tdep.h: Don't include "osabi.h".
3692 (struct gdbarch_tdep): Remove osabi member.
3693 * rs6000-tdep.c: Include "osabi.h".
3694 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
3695 osabi when iterating over arches. Update call to
3697 (rs6000_dump_tdep): Don't dump osabi.
3698 * ppc-linux-tdep.c: Include "osabi.h".
3699 * ppcnbsd-tdep.c: Include "osabi.h".
3701 * sh-tdep.h: Don't include "osabi.h".
3702 (struct gdbarch_tdep): Remove osabi member.
3703 * sh-tdep.c: Include "osabi.h".
3704 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3705 iterate over arches. Update call to gdbarch_init_osabi.
3706 (sh_dump_tdep): Don't dump osabi.
3707 * shnbsd-tdep.c: Include "osabi.h".
3709 * sparc-tdep.c: Include "osabi.h".
3710 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3711 iterate over arches. Update call to gdbarch_init_osabi.
3712 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
3715 * vax-tdep.h: Don't include "osabi.h".
3716 (struct gdbarch_tdep): Remove.
3717 * vax-tdep.c: Include "osabi.h".
3718 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3719 iterate over arches. Don't allocate tdep. Update call
3720 to gdbarch_init_osabi.
3721 (vax_dump_tdep): Remove.
3722 (_initialize_vax_tdep): Update call to gdbarch_register.
3724 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3726 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
3728 (breakpoint_re_set_one): Don't fetch the value for a disabled
3731 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3733 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
3734 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
3735 (COERCE_FLOAT_TO_DOUBLE): Remove.
3736 * gdbarch.c: Regenerate.
3737 * gdbarch.h: Regenerate.
3738 * Makefile.in: Remove value_h from gdbarch_h.
3739 * valops.c (coerce_float_to_double): New variable.
3740 (default_coerce_float_to_double): Remove.
3741 (standard_coerce_float_to_double): Remove.
3742 (value_arg_coerce): Use coerce_float_to_double.
3743 (_initialize_valops): Add "set coerce-float-to-double".
3744 * value.h (default_coerce_float_to_double): Remove prototype.
3745 (standard_coerce_float_to_double): Remove prototype.
3747 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
3749 * mdebugread.c (parse_symbol): Likewise.
3750 * stabsread.c (define_symbol): Mark all functions as prototyped.
3752 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
3753 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
3754 set_gdbarch_coerce_float_to_double.
3755 * arm-tdep.c (arm_gdbarch_init): Likewise.
3756 * frv-tdep.c (frv_gdbarch_init): Likewise.
3757 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
3758 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
3759 * mips-tdep.c (mips_gdbarch_init): Likewise.
3760 (mips_coerce_float_to_double): Remove.
3761 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3762 (rs6000_coerce_float_to_double): Remove.
3763 * s390-tdep.c (s390_gdbarch_init): Likewise.
3764 * sh-tdep.c (sh_gdbarch_init): Likewise.
3765 (sh_coerce_float_to_double): Remove.
3766 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3767 (sparc_coerce_float_to_double): Remove.
3768 * v850-tdep.c (v850_gdbarch_init): Likewise.
3769 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
3770 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3771 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
3772 (hppa_coerce_float_to_double): Remove prototype.
3773 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3775 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3777 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
3779 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3781 Suggested by Stewart Brown <sb24@avaya.com>:
3782 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
3783 in recursive calls. Handle TYPE_CODE_TYPEDEF.
3784 (c_type_print_varspec_suffix): Likewise.
3786 2003-01-04 Mark Kettenis <kettenis@gnu.org>
3788 * configure.in: Don't set and AC_SUBST SUBDIRS.
3789 * configure: Regenerated.
3791 * configure.in: Remove code dealing with shared libraries.
3792 * Makefile.in: Remove HLDFLAGS and HLDENV.
3793 * configure: Regenerated.
3795 2003-01-04 Andrew Cagney <ac131313@redhat.com>
3797 * frame.c (deprecated_frame_xmalloc): New function.
3798 (deprecated_set_frame_saved_regs_hack): New function.
3799 (deprecated_set_frame_extra_info_hack): New function.
3800 * frame.h (deprecated_frame_xmalloc): Declare.
3801 (deprecated_set_frame_saved_regs_hack): Declare.
3802 (deprecated_set_frame_extra_info_hack): Declare.
3804 2003-01-04 Mark Kettenis <kettenis@gnu.org>
3806 * configure.in: Move code that provides the --enable-gdbtk option
3807 right after the code that handles the --enable-tui option, and
3809 * configure: Regenerated.
3811 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
3812 AC_CHECK_FUNCS and remove the old check for pread64.
3813 * acinclude.m4 (AC_GNU_SOURCE): New macro.
3814 * acconfig.h (_GNU_SOURCE): Add.
3815 (HAVE_PREAD64): Remove.
3816 * configure, aclocal.m4, config.in: Regenerated.
3818 2003-01-03 Andrew Cagney <ac131313@redhat.com>
3820 * alpha-tdep.c: Use get_frame_saved_regs.
3821 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3822 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
3823 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
3824 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
3825 * vax-tdep.c, xstormy16-tdep.c: Ditto.
3827 2003-01-03 Mark Kettenis <kettenis@gnu.org>
3829 * configure.in: Remove all use of the SUBDIRS variable; add
3830 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
3831 code providing the --enable-multi-ice option, and move it right in
3832 front of the code that checks whether gdbserver is supported.
3834 * configure: Regenerated.
3835 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
3838 2003-01-03 Andrew Cagney <cagney@redhat.com>
3840 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
3841 * avr-tdep.c, cris-tdep.c: Ditto.
3842 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
3843 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
3845 2003-01-03 Mark Kettenis <kettenis@gnu.org>
3847 * configure.in: Remove --enable-netrom option.
3848 * configure: Regenerated.
3850 2003-01-03 Mark Kettenis <kettenis@gnu.org>
3852 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
3853 declaration for `struct re_pattern_buffer' instead.
3854 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
3856 2003-01-03 J. Brobecker <brobecker@gnat.com>
3858 * mdebugread.c (parse_symbol): Count until the stEnd matching
3861 2003-01-02 Mark Kettenis <kettenis@gnu.org>
3863 * configure.in: Remove --with-cpu option.
3864 subscripts. Remove evil changequotes here.
3865 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
3866 * config.in, configure: Regenerated.
3868 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
3869 * configure.in: Cleanup section that sources GDB and BFD configure
3870 subscripts. Remove evil changequotes here.
3871 * config.in, configure: Regenerated.
3873 2003-01-02 Andrew Cagney <ac131313@redhat.com>
3875 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
3876 frame accessor methods.
3877 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3878 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
3879 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
3880 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
3881 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
3882 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
3883 * z8k-tdep.c: Ditto.
3885 2003-01-02 Mark Kettenis <kettenis@gnu.org>
3887 * configure.in: Remove UI_OUT configuration code.
3888 * ada-lang.c: Update assuming UI_OUT is always true.
3889 * Makefile.in (UIOUT_CFLAGS): Remove.
3890 * configure: Regenerated.
3891 * TODO: Remove blurb about elimination of -DUI_OUT.
3893 * configure.in: Move code that provides the --enable-gdbcli,
3894 --enable-gdbmi options right before the code that handles the
3895 --enable-tui option. Polish a bit.
3896 * configure: Regenerated.
3898 * configure.in: Rewrite check for GNU regex and the
3899 --without-included regex option, and move it into the "Checks for
3900 library functions" section. This makes us use the system regex
3901 again by default on systems with version 2 of the GNU C library.
3902 This was apparently broken.
3903 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
3904 * acconfig.h (USE_INCLUDED_REGEX): Remove.
3905 * config.in, configure: Regenerated.
3907 * configure.in: Move code that provides the --enable-tui option
3908 before the "Checks for libraries" section. Polish the code
3909 somewhat and set need_curses to yes if we build the TUI. Rewrite
3910 code that looks for a library providing termcap functionality to
3911 match more closely what's done in the Readline library, and move
3912 it into to the "Checks for libraries" section.
3913 * configure: Regenerated.
3914 * Makefile.in (TERMCAP): Remove variable.
3915 * config/i386/go32.mh (TERMCAP): Remove variable.
3917 2003-01-02 Andrew Cagney <ac131313@redhat.com>
3919 * MAINTAINERS: Mention gdb_mbuild.sh.
3920 * gdb_mbuild.sh: Rewrite.
3922 2003-01-02 Mark Kettenis <kettenis@gnu.org>
3924 * configure.in: Fix typo in last change.
3925 * config.in, configure: Regenerated.
3927 2003-01-02 Andrew Cagney <ac131313@redhat.com>
3929 * valarith.c (value_binop): Delete obsolete code and comments.
3930 * configure.host: Ditto.
3931 * buildsym.h (make_blockvector): Ditto.
3932 * buildsym.c (make_blockvector): Ditto.
3933 * defs.h (enum language): Ditto.
3934 (chill_demangle): Ditto.
3935 * elfread.c (elf_symtab_read): Ditto.
3936 * dwarfread.c (CHILL_PRODUCER): Ditto.
3937 (set_cu_language): Ditto.
3938 (handle_producer): Ditto.
3939 * expprint.c (print_subexp): Ditto.
3940 * gdbtypes.c (chill_varying_type): Ditto.
3941 * gdbtypes.h (builtin_type_chill_bool): Ditto.
3942 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
3943 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
3944 (chill_varying_type): Ditto.
3945 * language.h (_LANG_chill): Ditto.
3946 * language.c (binop_result_type, integral_type): Ditto.
3947 (character_type, string_type, structured_type): Ditto.
3948 (lang_bool_type, binop_type_check): Ditto.
3949 * stabsread.h (os9k_stabs): Ditto.
3950 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
3951 (define_symbol, read_type, read_struct_fields): Ditto.
3952 (read_array_type, read_enum_type, read_huge_number): Ditto.
3953 (read_range_type, start_stabs): Ditto.
3954 * symfile.c (init_filename_language_table): Ditto.
3955 (add_psymbol_with_dem_name_to_list): Ditto.
3956 * symtab.c (symbol_init_language_specific): Ditto.
3957 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
3958 * symtab.h (struct general_symbol_info): Ditto.
3959 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
3960 * typeprint.c (typedef_print): Ditto.
3961 * utils.c (fprintf_symbol_filtered): Ditto.
3962 * valops.c (value_cast, search_struct_field, value_slice): Delete
3964 (varying_to_slice): Delete function.
3965 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
3966 (varying_to_slice): Delete declaration.
3967 * MAINTAINERS: Update.
3969 2003-01-02 Mark Kettenis <kettenis@gnu.org>
3971 * configure.in: Reorganize "Checks for library functions section"
3972 a bit. Remove check for `btowc' and `isascii' functions.
3973 * configure: Regenerated.
3975 * acconfig.h (_MSE_INT_H): Remove.
3976 * configure.in: Create "Checks for header files" section, and move
3977 appropriate tests there. Don't check for objlist.h, wchar.h,
3978 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
3979 misdetection fix. Also add "Checks for types", "Checks for
3980 compiler characteristics" and "Checks for library functions"
3982 * config.in, configure: Regenerated.
3984 * configure.in: Create "Checks for programs" section, and move
3985 appropriate tests there.
3987 2003-01-01 Mark Kettenis <kettenis@gnu.org>
3989 * configure.in: Create "Checks for libraries" section, and move
3990 appropriate tests there. Cleanup check for wctype in libw. Use
3991 AC_SEARCH_LIBS to see whether we need libsocket.
3992 * configure: Regenerated.
3994 For older changes see ChangeLog-2002
4000 version-control: never