2003-03-31 Chris Demetriou <cgd@broadcom.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
ed234cf8
AC
12003-03-30 Andrew Cagney <cagney@redhat.com>
2
3 2002-11-10 Klee Dienes <kdienes@apple.com>
4 * value.h (struct value): Update comment.
5
06c77151
AC
62003-03-30 Andrew Cagney <cagney@redhat.com>
7
6c2b5168
AC
8 * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
9 D10V_FP_REGNUM.
10 (d10v_gdbarch_init): Do not set fp_regnum.
11
06c77151
AC
12 * frame.c (get_frame_base): Force ID initialization.
13 (get_prev_frame): Move computation of the frame ID from here ...
14 (get_frame_id): ... to here.
15 (legacy_get_prev_frame): Mark the frame ID as valid.
16 * frame.h (struct frame_info): Add field "id_p".
17
97a1a11c
MK
182003-03-30 Mark Kettenis <kettenis@gnu.org>
19
20 * i386-tdep.c (i386_store_struct_return): Removed.
21 (i386_gdbarch_init): Don't set deprecated_store_struct_return.
22
6c0e89ed
AC
232003-03-30 Andrew Cagney <cagney@redhat.com>
24
25 * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
26 * gdbarch.h, gdbarch.c: Regenerate.
27 * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
28 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
29 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
30 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
31 * i386-tdep.c (i386_gdbarch_init): Ditto.
32 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
33 * cris-tdep.c (cris_gdbarch_init): Ditto.
34 * vax-tdep.c (vax_gdbarch_init): Ditto.
35 * s390-tdep.c (s390_gdbarch_init): Ditto.
36 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
37 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
38 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
39 * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
40 * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
41 * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
42 * sparc-tdep.c (sparc_gdbarch_init): Update.
43 * sh-tdep.c (sh_gdbarch_init): Update.
44 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
45 * mips-tdep.c (mips_gdbarch_init): Update.
46 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
47 * ia64-tdep.c (ia64_gdbarch_init): Update.
48 * frv-tdep.c (frv_gdbarch_init): Update.
49 * avr-tdep.c (avr_gdbarch_init): Update.
50 * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
51 DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
52 instead of when push_dummy_call is not available.
53
f7dd6af2
AC
542003-03-30 Andrew Cagney <cagney@redhat.com>
55
56 * infttrace.c: Include "gdbthread.h".
57 (parent_attach_all): Fix function signature.
58 (call_ptrace): Update call.
59 * Makefile.in (infttrace.o): Update dependencies.
60
28f617b3
AC
612003-03-30 Andrew Cagney <cagney@redhat.com>
62
63 * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
64 PUSH_RETURN_ADDRESS.
65 * gdbarch.h, gdbarch.c: Regenerate.
66 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
67 * x86-64-tdep.c (x86_64_init_abi): Update.
68 * v850-tdep.c (v850_gdbarch_init): Update.
69 * sparc-tdep.c (sparc_gdbarch_init): Update.
70 * sh-tdep.c (sh_gdbarch_init): Update.
71 * s390-tdep.c (s390_gdbarch_init): Update.
72 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
73 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
74 * mips-tdep.c (mips_gdbarch_init): Update.
75 * mcore-tdep.c (mcore_gdbarch_init): Update.
76 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
77 * ia64-tdep.c (ia64_gdbarch_init): Update.
78 * i386-tdep.c (i386_gdbarch_init): Update.
79 * h8300-tdep.c (h8300_gdbarch_init): Update.
80 * frv-tdep.c (frv_gdbarch_init): Update.
81 * cris-tdep.c (cris_gdbarch_init): Update.
82 * avr-tdep.c (avr_gdbarch_init): Update.
83 * arm-tdep.c (arm_gdbarch_init): Update.
84 * valops.c (hand_function_call): Update.
85
4d628cd7
AC
862003-03-29 Andrew Cagney <cagney@redhat.com>
87
88 * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
89 sizeof_call_dummy_words.
90 * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
91 define.
92 * gdbarch.h: Regenerate.
93
65e82032
AC
942003-03-29 Andrew Cagney <cagney@redhat.com>
95
96 * infttrace.h: New file.
97 * hpread.c: Include "gdb_assert.h" and "somsolib.h".
98 (hpread_get_textlow): Detect an uninitialized dn_bufp.
99 (hpread_read_doc_function_type): Detect an initialized type1.
100 (hpread_quick_traverse): Initialize mod_name_string.
101 * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
102 (som_solib_get_solib_by_pc): Declare.
103 (so_lib_thread_start_addr): Declare.
104 (no_shared_libraries): Declare.
105 * somread.c (init_import_symbols): Make static. Add forward
106 declaration.
107 * config/pa/nm-hppah.h: Include "infttrace.h" for
108 parent_attach_all.
109 (hppa_insert_hw_watchpoint): Declare.
110 (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
111 * hppah-nat.c: Include "gdb_string.h".
112 (parent_attach_all): Delete extern declaration, moved to
113 "infttrace.h".
114 (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
115 int.
116 (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
117 * Makefile.in (infttrace_h): Define.
118 (hpread.o): Update dependencies.
119 (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
120 * hppa-hpux-tdep.c: Include "gdb_string.h".
121 * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
122 * infrun.c (handle_inferior_event): Always initialize
123 stepped_after_stopped_by_watchpoint. Add default and remove
124 fallthrough in switch statement.
125 * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
126 parameter to int.
127 (hppa_remove_hw_watchpoint): Ditto.
128
2c3bbe77
AC
1292003-03-29 Andrew Cagney <cagney@redhat.com>
130
131 * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
132 offset.
133
2dd604e7
RE
1342003-03-29 Richard Earnshaw <rearnsha@arm.com>
135
136 * arm-tdep.c (arm_push_arguments): Delete.
137 (struct stack_item): New type.
138 (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
139 (arm_store_struct_return): Delte.
140 (arm_gdbarch_init): Register arm_push_dummy_call. Don't register
141 arm_push_arguments or arm_store_struct_return.
142
e8933a55
AC
1432003-03-28 Andrew Cagney <cagney@redhat.com>
144
145 * Makefile.in (d10v-tdep.o): Update dependencies.
146 * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
147 * d10v-tdep.c: Include "remote.h".
148 (target_resume_hook): Delete extern declaration.
149 (target_wait_loop_hook): Ditto.
150 (tdisassemble_command): Eliminate assignment in "if" conditional.
151 (d10v_ts2_register_sim_regno): Eliminate call to
152 legacy_register_sim_regno.
153 (d10v_ts3_register_sim_regno): Ditto.
154
6949171e
JJ
1552003-03-28 Jeff Johnston <jjohnstn@redhat.com>
156
157 * thread.c: Reindented.
158 * lin-lwp.c: Ditto.
159 * linux-proc.c: Ditto.
160
98c7071f
BR
1612003-03-28 Bob Rossi <bob_rossi@cox.net>
162
163 * MAINTAINERS (write after approval): Add myself.
164
5edc9ca6
TR
1652003-03-27 Theodore A. Roth <troth@openavr.org>
166
167 * objc-exp.y: Add missing semi-colons.
168
378bfd1b
AC
1692003-03-27 Andrew Cagney <cagney@redhat.com>
170
171 * regcache.c (write_sp): Delete function and references.
172 * inferior.h (write_sp): Delete declaration.
173 * valops.c (hand_function_call): Replace write_sp with
174 TARGET_WRITE_SP.
175 * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
176 (sparc_pop_frame): Ditto.
177
56056df7
AC
1782003-03-27 Andrew Cagney <cagney@redhat.com>
179
180 * NEWS: Mention removal of support for hppa*-*-bsd* and
181 hppa*-*-osf* natives, and hppa*-*-pro* target.
182 * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
183 * config/pa/xm-pa.h: Obsolete file.
184 * config/pa/xm-hppab.h: Obsolete file.
185 * config/pa/nm-hppab.h: Obsolete file.
186 * config/pa/tm-hppab.h: Obsolete file.
187 * config/pa/tm-hppao.h: Obsolete file.
188 * config/pa/nm-hppao.h: Obsolete file.
189 * config/pa/tm-pro.h: Obsolete file.
190 * config/pa/hppaosf.mt: Obsolete file.
191 * config/pa/hppaosf.mh: Obsolete file.
192 * config/pa/hppapro.mt: Obsolete file.
193 * config/pa/hppabsd.mt: Obsolete file.
194 * config/pa/hppabsd.mh: Obsolete file.
195 * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
196 * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
197 hppa*-*-osf*.
198
5873a88d
AC
1992003-03-27 Andrew Cagney <cagney@redhat.com>
200
201 * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
202 push_arguments. Don't set push_return_address or write_sp.
203 (d10v_push_dummy_call): Replace d10v_push_arguments.
204 (d10v_push_return_address, d10v_write_sp): Delete function,
205 handled by push_dummy_call.
206
b81774d8
AC
2072003-03-26 Andrew Cagney <cagney@redhat.com>
208
209 * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
210 (push_dummy_call): New pure multi-arch replacement with gdbarch,
211 regcache and dummy_addr parameters.
212 * gdbarch.h, gdbarch.c: Re-generate.
213 * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
214 available; assume it will handle stack alignment and return
215 address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
216 legacy_push_arguments.
217 (legacy_push_arguments): Rename default_push_arguments.
218 * value.h (legacy_push_arguments): Rename default_push_arguments.
219 * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
220 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
221 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
222 * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
223 * config/i386/tm-symmetry.h: Update.
224 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
225 * x86-64-tdep.c (x86_64_init_abi): Update.
226 * v850-tdep.c (v850_gdbarch_init): Update.
227 * sparc-tdep.c (sparc_gdbarch_init): Update.
228 * sh-tdep.c (sh_gdbarch_init): Update.
229 * s390-tdep.c (s390_gdbarch_init): Update.
230 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
231 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
232 * mips-tdep.c (mips_gdbarch_init): Update.
233 * mcore-tdep.c (mcore_gdbarch_init): Update.
234 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
235 * ia64-tdep.c (ia64_gdbarch_init): Update.
236 * i386-tdep.c (i386_gdbarch_init): Update.
237 * hppa-tdep.c (hppa_gdbarch_init): Update.
238 * h8300-tdep.c (h8300_gdbarch_init): Update.
239 * frv-tdep.c (frv_gdbarch_init): Update.
240 * d10v-tdep.c (d10v_gdbarch_init): Update.
241 * cris-tdep.c (cris_gdbarch_init): Update.
242 * avr-tdep.c (avr_gdbarch_init): Update.
243 * arm-tdep.c (arm_gdbarch_init): Update.
244 * arm-linux-tdep.c (arm_linux_init_abi): Update.
245 * alpha-tdep.c (alpha_gdbarch_init): Update.
246
f541410f
DJ
2472003-03-26 Daniel Jacobowitz <drow@mvista.com>
248
249 * signals/signals.c (do_target_signal_to_host): Correct realtime
250 signal range test.
251
69f567ae
DJ
2522003-03-26 Daniel Jacobowitz <drow@mvista.com>
253
254 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
255 (struct sal_chain, map_catch_names): Remove.
256 (catch_exception_command_1): Don't call
257 handle_gnu_4_16_catch_command.
258
d5d14a5a
DJ
2592003-03-26 Daniel Jacobowitz <drow@mvista.com>
260
261 From Mark Dettinger <dettinge@de.ibm.com>:
262 * dwarf2cfi.c (read_2u): Increment pointer by two.
263
bdd73e22
DJ
2642003-03-26 Daniel Jacobowitz <drow@mvista.com>
265
266 * signals/signals.c: Fix typos in last change.
267
960cb555
DJ
2682003-03-26 Daniel Jacobowitz <drow@mvista.com>
269
270 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
271 not already defined. Use __SIGRTMIN if available.
272 (target_signal_from_host): Remove SIGRTMIN block.
273 (do_target_signal_to_host): Remove SIGRTMIN block; check that
274 the signal is within the realtime range.
275
f636b87d
AF
2762003-03-25 Adam Fedor <fedor@gnu.org>
277
278 * Makefile.in (infrun.o): Add $(language_h)
279 * infrun.c (handle_inferior_event): Use skip_language_trampoline
280 for language specific trampolines.
281 * language.h (struct language_defn): Add skip_trampoline.
282 (skip_language_trampoline): Declare.
283 * language.c (unk_lang_trampoline, skip_language_trampoline):
284 New functions.
285 (unknown_language_defn, auto_language_defn, local_language_defn):
286 Add ukn_lang_trampoline.
287 * ada-lang.c (ada_language_defn): Add NULL for language
288 specific skip_trampoline.
289 * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
290 scm-lang.c: Likewise.
291 * objc-lang.c (objc_skip_trampoline): New function.
292 (objc_language_defn): Add objc_skip_trampoline.
293
28f617b3 2942003-03-25 Andrew Cagney <cagney@redhat.com>
270c3b1d
AC
295
296 * frame.c (get_prev_frame): Delay validating a frame's ID -
297 non-NULL, didn't go backwards - until an attempt to unwind it to
298 the previous frame.
299
f933a9c5
AC
3002003-03-25 Andrew Cagney <cagney@redhat.com>
301
302 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
303 EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
304 * gdbarch.h, gdbarch.c: Re-generate.
305 * config/sparc/tm-sparc.h
306 (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
307 * sparc-tdep.c (sparc_gdbarch_init): Set
308 deprecated_extra_stack_alignment_needed.
309 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
310 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
311 extra_stack_alignment_needed.
312 * v850-tdep.c (v850_gdbarch_init): Ditto.
313 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
314 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
315 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
316 * cris-tdep.c (cris_gdbarch_init): Ditto.
317 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
318 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
319
4183d812
AC
3202003-03-25 Andrew Cagney <cagney@redhat.com>
321
322 * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
323 STORE_STRUCT_RETURN.
324 * gdbarch.h, gdbarch.c: Regenerate.
325 * d10v-tdep.c (d10v_store_struct_return): Delete function.
326 (d10v_push_arguments): Set the struct return register.
327 (d10v_gdbarch_init): Update.
328 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
329 * x86-64-tdep.c (x86_64_init_abi): Update.
330 * vax-tdep.c (vax_gdbarch_init): Update.
331 * v850-tdep.c (v850_gdbarch_init): Update.
332 * sparc-tdep.c (sparc_gdbarch_init): Update.
333 * sh-tdep.c (sh_gdbarch_init): Update.
334 * s390-tdep.c (s390_gdbarch_init): Update.
335 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
336 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
337 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
338 * mips-tdep.c (mips_gdbarch_init): Update.
339 * mcore-tdep.c (mcore_gdbarch_init): Update.
340 * m68k-tdep.c (m68k_gdbarch_init): Update.
341 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
342 * ia64-tdep.c (ia64_gdbarch_init): Update.
343 * i386-tdep.c (i386_gdbarch_init): Update.
344 * hppa-tdep.c (hppa_gdbarch_init): Update.
345 * h8300-tdep.c (h8300_gdbarch_init): Update.
346 * frv-tdep.c (frv_gdbarch_init): Update.
347 * cris-tdep.c (cris_gdbarch_init): Update.
348 * avr-tdep.c (avr_gdbarch_init): Update.
349 * arm-tdep.c (arm_gdbarch_init): Update.
350 * alpha-tdep.c (alpha_gdbarch_init): Update.
351
1bf6d5cc
AC
3522003-03-25 Andrew Cagney <cagney@redhat.com>
353
354 * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
355 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
356 CALL_DUMMY_STACK_ADJUST with a predicate variable.
357 * gdbarch.h, gdbarch.c: Regenerate.
358 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
359 call_dummy_stack_adjust_p.
360 * vax-tdep.c (vax_gdbarch_init): Ditto.
361 * v850-tdep.c (v850_gdbarch_init): Ditto.
362 * sh-tdep.c (sh_gdbarch_init): Ditto.
363 * s390-tdep.c (s390_gdbarch_init): Ditto.
364 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
365 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
366 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
367 * mips-tdep.c (mips_gdbarch_init): Ditto.
368 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
369 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
370 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
371 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
372 * i386-tdep.c (i386_gdbarch_init): Ditto.
373 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
374 * frv-tdep.c (frv_gdbarch_init): Ditto.
375 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
376 * cris-tdep.c (cris_gdbarch_init): Ditto.
377 * avr-tdep.c (avr_gdbarch_init): Ditto.
378 * arm-tdep.c (arm_gdbarch_init): Ditto.
379 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
380 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
381 * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
382 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
383 * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
384 call_dummy_stack_adjust_p.
385 * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
386 (CALL_DUMMY_STACK_ADJUST): Delete macro.
387 * sparc-tdep.c (sparc32_push_arguments): Update.
388 * valops.c (hand_function_call): Update.
389
71c08af0
CV
3902003-03-25 Corinna Vinschen <vinschen@redhat.com>
391
392 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
393 set_gdbarch_char_signed.
394
30757f90
RE
3952003-03-25 Richard Earnshaw <rearnsha@arm.com>
396
397 PR cli/548
398 * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
399
03d48a7d
RE
4002003-03-25 Richard Earnshaw <rearnsha@arm.com>
401
402 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
403 (_initialize_arm_tdep): Don't set tm_print_insn.
404
2cf6873c
AF
4052003-03-24 Adam Fedor <fedor@gnu.org>
406
407 * Makefile.in (YYOBJ): Add objc-exp.tab.o
408 * objc-lang.h: Add multiple inclusion protection.
409 (start_msglist, add_msglist, end_msglist): Additional declarations.
410
17c0759e
RE
4112003-03-24 Richard Earnshaw <rearnsha@arm.com>
412
413 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
414 value was renamed to ARM_FLOAT_SOFT_FPA.
415
618ce49f
AC
4162003-03-23 Andrew Cagney <cagney@redhat.com>
417
418 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
419 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
420 * gdbarch.h, gdbarch.c: Regenerate.
421 * valops.c (hand_function_call): Update.
422 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
423 * frame.c (legacy_saved_regs_this_id): Update.
424 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
425 * dummy-frame.h: Update.
426 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
427 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
428 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
429 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
430 * config/m68k/tm-sun3.h: Update.
431 * blockframe.c (inside_main_func, frame_chain_valid): Update.
432 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
433 * x86-64-tdep.c (x86_64_init_abi): Update.
434 * vax-tdep.c (vax_gdbarch_init): Update.
435 * v850-tdep.c (v850_gdbarch_init): Update.
436 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
437 * sh-tdep.c (sh_gdbarch_init): Update.
438 * s390-tdep.c (s390_gdbarch_init): Update.
439 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
440 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
441 (frame_get_saved_regs): Update.
442 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
443 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
444 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
445 * mips-tdep.c (mips_gdbarch_init): Update.
446 * mcore-tdep.c (mcore_gdbarch_init): Update.
447 * m68k-tdep.c (m68k_gdbarch_init): Update.
448 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
449 * ia64-tdep.c (ia64_gdbarch_init): Update.
450 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
451 * i386-interix-tdep.c (i386_interix_init_abi): Update.
452 (i386_interix_back_one_frame): Update.
453 * hppa-tdep.c (hppa_gdbarch_init): Update.
454 (hppa_init_extra_frame_info): Update.
455 * h8300-tdep.c (h8300_gdbarch_init): Update.
456 * frv-tdep.c (frv_gdbarch_init): Update.
457 * cris-tdep.c (cris_gdbarch_init): Update.
458 * avr-tdep.c (avr_gdbarch_init): Update.
459 * arm-tdep.c (arm_gdbarch_init): Update.
460 * alpha-tdep.c (alpha_gdbarch_init): Update.
461
fd50bc42
RE
4622003-03-22 Richard Earnshaw <rearnsha@arm.com>
463
464 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
465 (arm_get_fp_model): Declare.
466 * arm-tdep.c (fp_model_strings): New string array.
467 (arm_fp_model, current_fp_model): New variables.
468 (arm_get_fp_model): New function.
469 (arm_set_fp): New function.
470 (set_fp_model_sfunc): New function.
471 (show_fp_model): New function.
472 (_initialize_arm_tdep): Add new command to set/show the FPU.
473 (arm_extract_return_value): Use arm_get_fp_model.
474 (arm_store_return_value): Likewise.
475 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
476 to initialize the floating-point data types.
477 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
478 model is FPA.
479
26304000
RE
4802003-03-22 Richard Earnshaw <rearnsha@arm.com>
481
482 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
483 the current setting of each value.
484 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
485 new_set and new_show. Use add_setshow_cmd_full and
486 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
487 commands and add new version as subcommands of "set/show arm".
488
afd7eef0
RE
4892003-03-22 Richard Earnshaw <rearnsha@arm.com>
490
491 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
492 (set_arm_command, show_arm_command): New functions.
493 (_initialize_arm_tdep): Add them.
494 (num_disassembly_options): Renamed from num_flavor_options.
495 (valid_disassembly_styles): Renamed from valid_flavors.
496 (disassembly_style): Renamed from disassembly_flavor.
497 (set_disassembly_style_sfunc): Renamed from
498 set_disassembly_flavor_sfunc.
499 (set_disassembly_style): Renamed from set_disassembly_flavor.
500 (arm_othernames): Updated.
501 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
502 command. Add "set/show arm disassembly" commands. Deprecate
503 "othernames" command.
504
299a7944
RE
5052003-03-22 Richard Earnshaw <rearnsha@arm.com>
506
507 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
508 (arm-tdep.o): Depend on elf_arm_h.
509
c1dac9e6
RE
5102003-03-22 Richard Earnshaw <rearnsha@arm.com>
511
512 * Makefile.in (coff_internal_h): Define.
513 (arm-tdep.o): Update dependencies.
514
2702d96c
RE
5152003-03-22 Richard Earnshaw <rearnsha@arm.com>
516
517 * arm-tdep.c (prologue_cache): Delete.
518 (check_prologue_cache, save_prologue_cache): Delete.
519 (arm_scan_prologue): Don't check or update the prologue_cache.
520 (arm_gdb_arch_init): Don't initialize it.
521 (_initialize_arm_tdep): Likewise.
522
27d5d74b
SC
5232003-03-21 Stephane Carrez <stcarrez@nerim.fr>
524
525 * MAINTAINERS (tui): Maintainer of tui code.
526
1762d96d
CV
5272003-03-21 Corinna Vinschen <vinschen@redhat.com>
528
529 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
530 (i386-cygwin-tdep.o): Add dependencies.
531 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
532 * i386-cygwin-tdep.c: New file.
533 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
534 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
535
4c2e2391
AC
5362003-03-20 Andrew Cagney <cagney@redhat.com>
537
f20d38b7
AC
538 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
539 (handle_inferior_event): Remove code calling
540 DYNAMIC_TRAMPOLINE_NEXTPC.
541
0022b738
AC
542 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
543 already has a full path.
544
864dbc90
AC
545 * main.c (gdb_main): Return 1.
546 (captured_main): Call error to report an invalid interpreter.
547
4c2e2391
AC
548 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
549 * alpha-osf1-tdep.c: Include "gdb_string.h".
550
5ef7553b
JB
5512003-03-19 J. Brobecker <brobecker@gnat.com>
552
553 Continuing work to convert the hppa targets to multiarch partial.
554
555 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
556 method, now that hppa_push_dummy_frame has a conformant prototype.
557 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
558 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
559 for the switch to multiarch partial.
560
7bde8967
KB
5612003-03-19 Kevin Buettner <kevinb@redhat.com>
562
563 * mdebugread.c (parse_symbol): For stEnd, we're done counting
564 when iss is issNull.
565
b006a9e9
KB
5662003-03-18 Kevin Buettner <kevinb@redhat.com>
567
568 * mips-tdep.c (mips_register_name): Fix fencepost error involving
569 NUM_REGS bounds check.
570
5e2e9765
KB
5712003-03-18 Kevin Buettner <kevinb@redhat.com>
572
573 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
574 * mips-tdep.c (gdb_assert.h): Include.
575 (mips_generic_reg_names, mips_processor_reg_names): Make static.
576 (mips_register_name): Handle integer registers explicitly. Add
577 bounds checking.
578 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
579 (mips_lsi33k_reg_names): Don't list integer registers; they're
580 handled by mips_register_name() now.
581 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
582 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
583 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
584 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
585 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
586
a2867626
AC
5872003-03-18 Andrew Cagney <cagney@redhat.com>
588
589 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
590 a void pointer.
591 * gdbtypes.h (print_scalar_formatted): Update declaration.
592 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
593
06600e06
JB
5942003-03-18 J. Brobecker <brobecker@gnat.com>
595
596 * infrun.c (observer.h): Add #include.
597 (normal_stop): Add call to observer_notify_normal_stop.
598 * Makefile.in (infrun.o): Add dependency on observer.h.
599
7daf4f5b
JB
6002003-03-18 J. Brobecker <brobecker@gnat.com>
601
602 Continuing work to convert the hppa targets to multiarch partial.
603 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
604 parameter. Reformat comment.
605 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
606 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
607 to match new profile.
608
3371ccc0
JB
6092003-03-18 J. Brobecker <brobecker@gnat.com>
610
611 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
612 appear to be working in any case.
613
4fbe891e
JB
6142003-03-18 J. Brobecker <brobecker@gnat.com>
615
616 * observer.c (observer_test_first_observer): New static variable.
617 (observer_test_second_observer): Likewise.
618 (observer_test_third_observer): Likewise.
619 (observer_test_first_notification_function): New static function.
620 (observer_test_second_notification_function): Likewise.
621 (observer_test_third_notification_function): Likewise.
622
a7ff40e7
JB
6232003-03-17 J. Brobecker <brobecker@gnat.com>
624
625 * hppa-tdep.c (gdb_assert.h): Add missing #include.
626 * somsolib.c (gdb_assert.h): Likewise.
627 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
628 (somsolib.o): Likewise.
629
26ca4152
AC
6302003-03-17 Andrew Cagney <cagney@redhat.com>
631
632 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
633 BFD. Simplify setting of di.endian.
634
0a613259
AC
6352003-03-17 Andrew Cagney <cagney@redhat.com>
636
637 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
638 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
639
640 From Elena Zannoni <ezannoni@redhat.com>
641 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
642 vector and floating-point parameters.
643 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
644 convention.
645 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
646
1132738f
FN
6472003-03-17 Fernando Nasser <fnasser@redhat.com>
648
649 * MAINTAINERS: Remove my name from several maintainership roles.
650
6dc42492
AC
6512003-03-17 Andrew Cagney <cagney@redhat.com>
652
653 Fix frame off-by-one bug.
654 * frame-unwind.h (frame_this_id_ftype): Replace
655 frame_unwind_id_ftype.
656 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
657 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
658 with "prev_register".
659 * frame-unwind.c (frame_unwind_find_by_pc): Return
660 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
661 comment.
662 * dummy-frame.c (cached_find_dummy_frame): Delete function.
663 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
664 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
665 (dummy_frame_unwind): Update.
666 * sentinel-frame.c (sentinel_frame_prev_register): Replace
667 sentinel_frame_register_unwind.
668 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
669 (sentinel_frame_unwinder): Update.
670 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
671 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
672 * frame.c (create_sentinel_frame): Update. Initialize
673 "prologue_cache" instead of "unwind_cache".
674 (frame_register_unwind): Call this frame's prev_register with the
675 next frame and this frame's prologue cache.
676 (get_prev_frame): Simplify. Always call prev frame's this_id with
677 this frame and prev frame's prologue cache. Document that this
678 call is shifted one to the left when compared to the
679 frame_register_unwind call.
680 (legacy_saved_regs_prev_register): Replace
681 frame_saved_regs_register_unwind.
682 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
683 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
684 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
685 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
686 (d10v_frame_unwind): Update.
687 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
688 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
689 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
690 "saved_regs" with "this_saved_regs".
691
efd710d6
AC
6922003-03-16 Andrew Cagney <cagney@redhat.com>
693
694 * frame.c (frame_pop): Don't call target_store_registers. Fix
695 problem reported by Mark Kettenis.
696
4e259f09
MK
6972003-03-16 Mark Kettenis <kettenis@gnu.org>
698
699 * i386-tdep.c (i386_register_type): Renamed from
700 i386_register_virtual_type. Adjust function signature.
701 (i386_gdbarch_init): Set register_type instead of
702 deprecated_max_register_raw_size,
703 deprecated_max_register_virtual_size and register_virtual_type.
704
055bb976
AC
7052003-03-14 Andrew Cagney <cagney@redhat.com>
706
707 * frame.c (get_prev_frame): When a legacy frame, always call
708 legacy_get_prev_frame. Simplify unwind code using assumption that
709 the unwinder is new.
710 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
711 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
712 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
713
ac2adee5
AC
7142003-03-14 Andrew Cagney <cagney@redhat.com>
715
716 * frame.c (get_saved_register): Delete function.
717 * frame.h (get_saved_register): Delete declaration.
718 * xstormy16-tdep.c: Update comment.
719 * regcache.h: Update comments.
720 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
721 get_saved_register and extract_address, use
722 frame_read_unsigned_register.
723 (sparc_frame_saved_pc): Ditto.
724 (sparc_get_saved_register): Instead of get_saved_register, use
725 frame_register.
726 (sparc_pop_frame): Ditto.
727 * findvar.c: Update comments.
728 (value_of_register): Call frame_register instead of
729 get_saved_register.
730 (value_from_register): Ditto.
731 * config/sparc/tm-sparc.h: Update comment.
732 * breakpoint.c: Update comment.
733
129c1cd6
AC
7342003-03-14 Andrew Cagney <cagney@redhat.com>
735
736 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
737 GET_SAVED_REGISTER.
738 * gdbarch.h, gdbarch.c: Re-generate.
739 * frame.h: Update comments.
740 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
741 * x86-64-tdep.c (x86_64_init_abi): Update.
742 * sparc-tdep.c (sparc_gdbarch_init): Update.
743 * sh-tdep.c (sh_gdbarch_init): Update.
744 * mips-tdep.c (mips_gdbarch_init): Update.
745 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
746 * cris-tdep.c (cris_gdbarch_init): Update.
747 * ia64-tdep.c (ia64_gdbarch_init): Update.
748 * frame.c (frame_register): Update.
749 (get_saved_register): Update.
750 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
751
749b82f6
AC
7522003-03-13 Andrew Cagney <cagney@redhat.com>
753
754 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
755 * gdbarch.h, gdbarch.c: Regenerate.
756 * valops.c (hand_function_call): Update comment.
757 * stack.c (return_command): Update comment.
758 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
759 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
760 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
761 * x86-64-tdep.c (x86_64_init_abi): Update.
762 * vax-tdep.c (vax_gdbarch_init): Update.
763 * v850-tdep.c (v850_gdbarch_init): Update.
764 * sparc-tdep.c (sparc_gdbarch_init): Update.
765 * sh-tdep.c (sh_gdbarch_init): Update.
766 * s390-tdep.c (s390_gdbarch_init): Update.
767 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
768 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
769 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
770 * mips-tdep.c (mips_gdbarch_init): Update.
771 * mcore-tdep.c (mcore_gdbarch_init): Update.
772 * m68k-tdep.c (m68k_gdbarch_init): Update.
773 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
774 * ia64-tdep.c (ia64_gdbarch_init): Update.
775 * i386-tdep.c (i386_gdbarch_init): Update.
776 * hppa-tdep.c (hppa_gdbarch_init): Update.
777 * h8300-tdep.c (h8300_gdbarch_init): Update.
778 * frv-tdep.c (frv_gdbarch_init): Update.
779 * cris-tdep.c (cris_gdbarch_init): Update.
780 * avr-tdep.c (avr_gdbarch_init): Update.
781 * arm-tdep.c (arm_gdbarch_init): Update.
782 * alpha-tdep.c (alpha_gdbarch_init): Update.
783
1594fa56
AC
7842003-03-13 Andrew Cagney <cagney@redhat.com>
785
786 * frame.c (legacy_frame_p): New function.
787 (get_prev_frame): Use legacy_frame_p.
788 * frame.h (legacy_frame_p): Declare.
789
7717fda3
V
7902003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
791
792 * MAINTAINERS (write after approval): Alphabetically
793 listing corrected.
794
0c67cbe9
V
7952003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
796
797 * MAINTAINERS (write after approval): Add myself.
798
03febf99
AC
7992003-03-12 Andrew Cagney <cagney@redhat.com>
800
801 * frame.c (get_prev_frame): Rename the frame parameter to
802 "this_frame".
803 (get_next_frame, legacy_get_prev_frame): Ditto.
804
0a1e1ca1
AC
8052003-03-12 Andrew Cagney <cagney@redhat.com>
806
807 * frame.c (get_current_frame): Check target_has_registers before
808 checking target_has_stack.
809 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
810 instead of deprecated_selected_frame.
811 * findvar.c (value_of_register): Pass "frame", not
812 deprecated_selected_frame, to value_of_builtin_reg.
813
a66a9c23
AC
8142003-03-12 Andrew Cagney <cagney@redhat.com>
815
816 * regcache.c (regcache_cooked_write_signed): New function.
817 (regcache_cooked_write_unsigned): New function.
818 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
819 (regcache_cooked_read_signed): Fix regnum in range assertion.
820 * regcache.h (regcache_cooked_write_signed): Declare.
821 (regcache_cooked_write_unsigned): Declare.
822
8bedc050
AC
8232003-03-12 Andrew Cagney <cagney@redhat.com>
824
825 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
826 * gdbarch.h, gdbarch.c: Re-generate.
827 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
828 * x86-64-tdep.h: Update.
829 * x86-64-tdep.c (x86_64_init_abi): Update.
830 * v850-tdep.c (v850_gdbarch_init): Update.
831 * sparc-tdep.c (sparc_gdbarch_init): Update.
832 * sh-tdep.c (sh_gdbarch_init): Update.
833 * s390-tdep.c (s390_gdbarch_init): Update.
834 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
835 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
836 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
837 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
838 * mips-tdep.c (mips_gdbarch_init): Update.
839 * mcore-tdep.c (mcore_gdbarch_init): Update.
840 * m68k-tdep.c (m68k_gdbarch_init): Update.
841 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
842 * ia64-tdep.c (ia64_gdbarch_init): Update.
843 * i386-tdep.c (i386_gdbarch_init): Update.
844 * i386-interix-tdep.c (i386_interix_init_abi): Update.
845 * hppa-tdep.c (hppa_gdbarch_init): Update.
846 * h8300-tdep.c (h8300_gdbarch_init): Update.
847 * frv-tdep.c (frv_gdbarch_init): Update.
848 * cris-tdep.c (cris_gdbarch_init): Update.
849 * avr-tdep.c (avr_gdbarch_init): Update.
850 * arm-tdep.c (arm_gdbarch_init): Update.
851 * alpha-tdep.c (alpha_gdbarch_init): Update.
852 * sh-tdep.c (sh_init_extra_frame_info): Update.
853 (sh64_init_extra_frame_info): Update.
854 * ns32knbsd-nat.c (frame_num_args): Update.
855 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
856 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
857 (xstormy16_frame_chain_valid): Update.
858 * vax-tdep.c (vax_saved_pc_after_call): Update.
859 * v850-tdep.c (v850_frame_chain): Update.
860 (v850_pop_frame): Update.
861 (v850_init_extra_frame_info): Update.
862 * sparc-tdep.c (setup_arbitrary_frame): Update.
863 * ns32k-tdep.c (umax_frame_num_args): Update.
864 * s390-tdep.c (s390_pop_frame_regular): Update.
865 * mn10300-tdep.c (mn10300_frame_chain): Update.
866 (mn10300_pop_frame_regular): Update.
867 (mn10300_init_extra_frame_info): Update.
868 * mips-tdep.c (mips_init_frame_pc_first): Update.
869 (mips_frame_chain): Update.
870 (mips_pop_frame): Update.
871 * mcore-tdep.c (mcore_frame_chain): Update.
872 (mcore_pop_frame): Update.
873 (mcore_init_extra_frame_info): Update.
874 * arch-utils.c (init_frame_pc_default): Update.
875 * m68k-tdep.c (isi_frame_num_args): Update.
876 (delta68_frame_num_args): Update.
877 (news_frame_num_args): Update.
878 * ia64-tdep.c (ia64_pop_frame_regular): Update.
879 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
880 (alpha_frame_chain): Update.
881 (alpha_pop_frame): Update.
882 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
883 (hppa_init_extra_frame_info): Update.
884 (hppa_frame_chain): Update.
885 (hppa_frame_chain_valid): Update.
886 * cris-tdep.c (cris_init_extra_frame_info): Update.
887 * avr-tdep.c (avr_init_extra_frame_info): Update.
888 * arm-tdep.c (arm_frame_chain_valid): Update.
889 (arm_init_extra_frame_info): Update.
890 (arm_pop_frame): Update.
891 * frame.c (frame_pc_unwind): Update.
892 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
893 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
894 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
895 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
896 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
897 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
898
7a25a7c1
AC
8992003-03-12 Andrew Cagney <cagney@redhat.com>
900
901 Eliminate the need for POP_FRAME.
902 * frame.c (do_frame_unwind_register): New function.
903 (frame_pop): When no POP_FRAME, pop the frame using register
904 unwind and a scratch regcache.
905 (frame_saved_regs_pop): Delete function.
906 (trad_frame_unwinder): Update.
907 * d10v-tdep.c (d10v_frame_pop): Delete function.
908 (d10v_frame_unwind): Update.
909 * sentinel-frame.c (sentinel_frame_pop): Delete function.
910 (sentinel_frame_unwinder): Update.
911 * dummy-frame.c (dummy_frame_pop): Delete function.
912 (dummy_frame_unwind): Update.
913 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
914 (struct frame_unwind): Update.
915
2f38ef89
KB
9162003-03-11 Kevin Buettner <kevinb@redhat.com>
917
918 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
919 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
920 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
921 Do range checks on register number obtained from debugging info.
922 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
923 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
924 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
925 mapping function.
926 (do_fp_register_row): Fix typo which caused double type to be
927 used when attempting to unpack a float.
928
552f4abf
JB
9292003-03-11 J. Brobecker <brobecker@gnat.com>
930
931 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
932
e0d2ae16
AC
9332003-03-11 Andrew Cagney <cagney@redhat.com>
934
935 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
936 frame. Problem found by Corinna Vinschen.
937
ddbfdd06
PM
9382003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
939
940 * doublest.c (floatformat_from_length): Accept also
941 the real size of 'long double' type.
942
088b2ddc 9432003-03-10 Daniel Jacobowitz <drow@mvista.com>
31cc81e9 944
088b2ddc 945 From Klee Dienes <kdienes@apple.com>:
31cc81e9
DJ
946 * breakpoint.c (bpstat_copy): Copy the command lines as well
947 as the old value, to match what is freed in bpstat_clear.
948
f56f77c1
DC
9492003-03-10 David Carlton <carlton@math.stanford.edu>
950
951 * minsyms.c (add_minsym_to_hash_table): Replace
952 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
953 (compare_minimal_symbols, compact_minimal_symbols)
954 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
955 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
956 of DEPRECATED_SYMBOL_MATCHES_NAME.
957 (lookup_minimal_symbol_solib_trampoline): Ditto.
958
5602984a
AC
9592003-03-10 Andrew Cagney <cagney@redhat.com>
960
961 * regcache.h (regcache_cooked_read_ftype): Define.
962 (regcache_save, regcache_restore): Add a cooked_read parameter.
963 * regcache.c (regcache_save, regcache_restore): Update.
964 (do_cooked_read): New function.
965 (regcache_cpy): Pass do_cooked_read to regcache_save and
966 regcache_restore.
967
8bedc050
AC
9682003-03-10 Andrew Cagney <cagney@redhat.com>
969
970 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
971 * gdbarch.h, gdbarch.c: Re-generate.
972 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
973 * x86-64-tdep.h: Update.
974 * x86-64-tdep.c (x86_64_init_abi): Update.
975 * v850-tdep.c (v850_gdbarch_init): Update.
976 * sparc-tdep.c (sparc_gdbarch_init): Update.
977 * sh-tdep.c (sh_gdbarch_init): Update.
978 * s390-tdep.c (s390_gdbarch_init): Update.
979 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
980 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
981 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
982 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
983 * mips-tdep.c (mips_gdbarch_init): Update.
984 * mcore-tdep.c (mcore_gdbarch_init): Update.
985 * m68k-tdep.c (m68k_gdbarch_init): Update.
986 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
987 * ia64-tdep.c (ia64_gdbarch_init): Update.
988 * i386-tdep.c (i386_gdbarch_init): Update.
989 * i386-interix-tdep.c (i386_interix_init_abi): Update.
990 * hppa-tdep.c (hppa_gdbarch_init): Update.
991 * h8300-tdep.c (h8300_gdbarch_init): Update.
992 * frv-tdep.c (frv_gdbarch_init): Update.
993 * cris-tdep.c (cris_gdbarch_init): Update.
994 * avr-tdep.c (avr_gdbarch_init): Update.
995 * arm-tdep.c (arm_gdbarch_init): Update.
996 * alpha-tdep.c (alpha_gdbarch_init): Update.
997 * sh-tdep.c (sh_init_extra_frame_info): Update.
998 (sh64_init_extra_frame_info): Update.
999 * ns32knbsd-nat.c (frame_num_args): Update.
1000 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1001 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1002 (xstormy16_frame_chain_valid): Update.
1003 * vax-tdep.c (vax_saved_pc_after_call): Update.
1004 * v850-tdep.c (v850_frame_chain): Update.
1005 (v850_pop_frame): Update.
1006 (v850_init_extra_frame_info): Update.
1007 * sparc-tdep.c (setup_arbitrary_frame): Update.
1008 * ns32k-tdep.c (umax_frame_num_args): Update.
1009 * s390-tdep.c (s390_pop_frame_regular): Update.
1010 * mn10300-tdep.c (mn10300_frame_chain): Update.
1011 (mn10300_pop_frame_regular): Update.
1012 (mn10300_init_extra_frame_info): Update.
1013 * mips-tdep.c (mips_init_frame_pc_first): Update.
1014 (mips_frame_chain): Update.
1015 (mips_pop_frame): Update.
1016 * mcore-tdep.c (mcore_frame_chain): Update.
1017 (mcore_pop_frame): Update.
1018 (mcore_init_extra_frame_info): Update.
1019 * arch-utils.c (init_frame_pc_default): Update.
1020 * m68k-tdep.c (isi_frame_num_args): Update.
1021 (delta68_frame_num_args): Update.
1022 (news_frame_num_args): Update.
1023 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1024 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1025 (alpha_frame_chain): Update.
1026 (alpha_pop_frame): Update.
1027 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1028 (hppa_init_extra_frame_info): Update.
1029 (hppa_frame_chain): Update.
1030 (hppa_frame_chain_valid): Update.
1031 * cris-tdep.c (cris_init_extra_frame_info): Update.
1032 * avr-tdep.c (avr_init_extra_frame_info): Update.
1033 * arm-tdep.c (arm_frame_chain_valid): Update.
1034 (arm_init_extra_frame_info): Update.
1035 (arm_pop_frame): Update.
1036 * frame.c (frame_pc_unwind): Update.
1037 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1038 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1039 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1040 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1041 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1042 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1043
12cc2063
AC
10442003-03-10 Andrew Cagney <cagney@redhat.com>
1045
1046 * gdbarch.sh (gdbarch_unwind_pc): New method.
1047 * gdbarch.h, gdbarch.c: Regenerate.
1048 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
1049 but use read_pc and FRAME_SAVED_PC as fall backs.
1050 (frame_saved_regs_pc_unwind): Delete function.
1051 (trad_frame_unwinder): Update.
1052 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
1053 (struct frame_unwind): Update.
1054 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
1055 (dummy_frame_unwind): Update.
1056 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
1057 (sentinel_frame_unwinder): Update.
1058 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
1059 (d10v_frame_unwind): Update.
1060 (d10v_unwind_pc): New function.
1061 (d10v_gdbarch_init): Set unwind_pc.
1062
ef840a37
AC
10632003-03-10 Andrew Cagney <cagney@redhat.com>
1064
a2ce2e56
AC
1065 * gdbarch.h: Re-generate.
1066
ef840a37
AC
1067 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
1068 PC.
1069 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
1070 the PC register.
1071
08f3424b
MK
10722003-03-08 Mark Kettenis <kettenis@gnu.org>
1073
1074 * gdbarch.sh (save_dummy_frame_tos): Add comment.
1075
1248ede2
AC
10762003-03-08 Andrew Cagney <cagney@redhat.com>
1077
1078 * cli-out.c: Update copyright.
1079 (cli_out_data): Define typedef. Use instead of ui_out_data.
1080
f49bacc8
AC
10812003-03-08 Andrew Cagney <cagney@redhat.com>
1082
1083 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
1084 the result.
1085
9b05f993
AC
10862003-03-07 Andrew Cagney <cagney@redhat.com>
1087
1088 * gdbarch.sh: Don't generate two macro definitions when an
1089 undefined macro taking no arguments.
1090 * gdbarch.h: Regenerate.
1091
166f4c7b
ML
10922002-03-07 Michal Ludvig <mludvig@suse.cz>
1093
1094 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
1095 (x86_64_unwind_dummy_id): New functions.
1096 (x86_64_init_abi): Register these two new functions.
1097
6d686a84
ML
10982003-03-07 Michal Ludvig <mludvig@suse.cz>
1099
1100 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
1101 (x86_64_skip_prologue): Move prologue detection to
1102 separate function.
1103 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
1104
6314f104
AC
11052003-03-05 Andrew Cagney <cagney@redhat.com>
1106
1107 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
1108 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
1109 * frame.c (get_prev_frame): Restructure the frame ID unwind code
1110 to use unwind_dummy_id when a dummy frame.
1111 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
1112 predicate.
1113 * gdbarch.h, gdbarch.c: Regneerate.
1114
ceea5145
AC
11152003-03-05 Andrew Cagney <cagney@redhat.com>
1116
1117 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
1118 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
1119 Do not use d10v_read_sp or d10v_read_fp when obtaining register
1120 values.
1121
0d843116
AC
11222003-03-05 Andrew Cagney <cagney@redhat.com>
1123
1124 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
1125 (struct d10v_unwind_cache): Delete field "frameless". Replace
1126 "next_addr" with "sp_offset". Add "r11_offset".
1127 (d10v_frame_unwind_cache): Update.
1128 (prologue_find_regs): Update. When "mv r11, sp", save the
1129 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
1130 RN was saved in r11_offset.
1131
b2579786
AC
11322003-03-05 Andrew Cagney <cagney@redhat.com>
1133
1134 * frame.c (deprecated_update_frame_pc_hack): Also update the the
1135 cached PC value in the next frame.
1136
218e5956
AC
11372003-03-05 Andrew Cagney <cagney@redhat.com>
1138
1139 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
1140 "id_unwind_cache" with "id".
1141 (frame_id_unwind): Delete declaration.
1142 * frame.c (frame_id_unwind): Delete function.
1143 (get_prev_frame): Call the frame id unwind method directly. Store
1144 the returned next frame's ID value in NEXT_FRAME. Note that there
1145 is a problem with the wrong unwind ID being called with the wrong
1146 unwind cache.
1147
ed363b1b
DJ
11482003-03-05 Daniel Jacobowitz <drow@mvista.com>
1149
1150 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
1151
fe1f4a5e
DJ
11522003-03-05 James Ingham <jingham@apple.com>
1153 Daniel Jacobowitz <drow@mvista.com>
1154
1155 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
1156 (auto_cp_abi): New variable.
1157 (current_cp_abi, num_cp_abis): Make static.
1158 (CP_ABI_MAX): Define.
1159 (cp_abis): Turn into an array.
1160 (value_virtual_fn_field): Fix formatting.
1161 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
1162 takes a pointer.
1163 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
1164 (list_cp_abis, _initialize_cp_abi): New functions.
1165 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
1166 declarations for cp_abis, num_cp_abis, current_cp_abi, and
1167 switch_to_cp_abi. Update prototype for register_cp_abi.
1168 * Makefile.in (cp-abi.o): Update dependencies.
1169 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
1170 instead of switch_to_cp_abi.
1171 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
1172 register_cp_abi.
1173 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
1174 register_cp_abi.
1175 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
1176
e4adbba9
DJ
11772003-03-05 Daniel Jacobowitz <drow@mvista.com>
1178
1179 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
1180 * dwarf2loc.c: Include "regcache.h".
1181 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
1182 register_size.
1183 * Makefile.in (dwarf2loc.o): Update dependencies.
1184
91ccbfc1
TR
11852003-03-04 Theodore A. Roth <troth@openavr.org>
1186
1187 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
1188 number of io registers reported by remote target is not a multiple of
1189 step.
1190
3d4e8fd2
DC
11912003-03-04 David Carlton <carlton@math.stanford.edu>
1192
1193 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
1194 (lookup_symbol_aux_psymtabs): Update call to
1195 lookup_partial_symbol.
1196 (lookup_transparent_type, find_main_psymtab)
1197 (make_symbol_overload_list): Ditto.
1198
ed42d87b
KH
11992003-03-04 Kazu Hirata <kazu@cs.umass.edu>
1200
1201 * MAINTAINERS (Write after approval): Update my email address.
1202
a0ed5532
AC
12032003-03-03 Andrew Cagney <cagney@redhat.com>
1204
1205 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
1206 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
1207 predicate. Replace MAX_REGISTER_RAW_SIZE.
1208 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
1209 MAX_REGISTER_VIRTUAL_SIZE.
1210 * regcache.c (legacy_max_register_raw_size): New function.
1211 (legacy_max_register_virtual_size): New function.
1212 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
1213 (MAX_REGISTER_RAW_SIZE): Define.
1214 (legacy_max_register_raw_size): Declare.
1215 (legacy_max_register_virtual_size): Declare.
1216 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1217 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
1218 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1219 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1220 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1221 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1222 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1223 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1224 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1225 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1226 * vax-tdep.c (vax_gdbarch_init): Update.
1227 * v850-tdep.c (v850_gdbarch_init): Update.
1228 * sparc-tdep.c (sparc_gdbarch_init): Update.
1229 * sh-tdep.c (sh_gdbarch_init): Update.
1230 * s390-tdep.c (s390_gdbarch_init): Update.
1231 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1232 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1233 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1234 * mips-tdep.c (mips_gdbarch_init): Update.
1235 * mcore-tdep.c (mcore_gdbarch_init): Update.
1236 * m68k-tdep.c (m68k_gdbarch_init): Update.
1237 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1238 * ia64-tdep.c (ia64_gdbarch_init): Update.
1239 * i386-tdep.c (i386_gdbarch_init): Update.
1240 * hppa-tdep.c (hppa_gdbarch_init): Update.
1241 * h8300-tdep.c (h8300_gdbarch_init): Update.
1242 * frv-tdep.c (frv_gdbarch_init): Update.
1243 * cris-tdep.c (cris_gdbarch_init): Update.
1244 * avr-tdep.c (avr_gdbarch_init): Update.
1245 * arm-tdep.c (arm_gdbarch_init): Update.
1246 * alpha-tdep.c (alpha_gdbarch_init): Update.
1247 * d10v-tdep.c (d10v_gdbarch_init): Do not set
1248 max_register_raw_size or max_register_virtual_size.
1249
8e437497
DC
12502003-03-03 David Carlton <carlton@math.stanford.edu>
1251
1252 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
1253 SYMBOL_MATCHES_NAME, add comment.
1254 (SYMBOL_MATCHES_NATURAL_NAME): New.
1255 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
1256 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
1257 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
1258 * symtab.c (lookup_partial_symbol): Use
1259 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
1260 unhelpful comment.
1261 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
1262 SYMBOL_MATCHES_NAME.
1263 Fix for PR c++/33.
1264
25120b0d
DC
12652003-03-03 David Carlton <carlton@math.stanford.edu>
1266
1267 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
1268 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
1269 by regexp matching against SYMBOL_NATURAL_NAME.
1270
78a11fb4
DC
12712003-03-03 David Carlton <carlton@math.stanford.edu>
1272
1273 * linespec.c (find_method): Extract code into collect_methods.
1274 (collect_methods): New.
1275
645dd519
MK
12762003-03-02 Mark Kettenis <kettenis@gnu.org>
1277
b4700d91
MK
1278 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
1279 get_frame_base.
1280
645dd519
MK
1281 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
1282 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1283
0aa7e1aa
SC
12842003-03-02 Stephane Carrez <stcarrez@nerim.fr>
1285
1286 * arch-utils.c (generic_register_byte): Fix to use the loop index
1287 and not regnum when summing the size of all registers up to regnum.
1288
f30ee0bc
AC
12892003-03-01 Andrew Cagney <cagney@redhat.com>
1290
1291 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
1292 FRAME_INIT_SAVED_REGS.
1293 * gdbarch.h, gdbarch.c: Regenerate.
1294 * stack.c (frame_info): Update.
1295 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
1296 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
1297 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
1298 * ns32k-tdep.c (ns32k_pop_frame): Update.
1299 * mips-tdep.c (mips_pop_frame): Update.
1300 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
1301 * ia64-tdep.c (ia64_frame_chain): Update.
1302 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
1303 (ia64_frameless_function_invocation): Update.
1304 (ia64_init_extra_frame_info): Update.
1305 (ia64_pop_frame_regular): Update.
1306 * frame.h (struct frame_info): Update comment.
1307 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
1308 * frame.c (frame_saved_regs_register_unwind): Update.
1309 (frame_saved_regs_register_unwind): Update.
1310 (deprecated_generic_get_saved_register): Update.
1311 * cris-tdep.c: Update comment.
1312 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
1313 Rename macro.
1314 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1315 * x86-64-tdep.c (x86_64_init_abi): Update.
1316 * vax-tdep.c (vax_gdbarch_init): Update.
1317 * v850-tdep.c (v850_gdbarch_init): Update.
1318 * sparc-tdep.c (sparc_gdbarch_init): Update.
1319 * sh-tdep.c (sh_gdbarch_init): Update.
1320 * s390-tdep.c (s390_gdbarch_init): Update.
1321 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1322 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1323 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1324 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1325 * mips-tdep.c (mips_gdbarch_init): Update.
1326 * mcore-tdep.c (mcore_gdbarch_init): Update.
1327 * m68k-tdep.c (m68k_gdbarch_init): Update.
1328 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1329 * ia64-tdep.c (ia64_gdbarch_init): Update.
1330 * i386-tdep.c (i386_gdbarch_init): Update.
1331 * frv-tdep.c (frv_gdbarch_init): Update.
1332 * avr-tdep.c (avr_gdbarch_init): Update.
1333 * arm-tdep.c (arm_gdbarch_init): Update.
1334 * alpha-tdep.c (alpha_gdbarch_init): Update.
1335
42fa7c0f
AC
13362003-03-01 Andrew Cagney <cagney@redhat.com>
1337
1338 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
1339 option enum and switch. When no windows, set the interpreter to
1340 INTERP_CONSOLE.
1341
49c7e338
AC
13422003-03-01 Andrew Cagney <cagney@redhat.com>
1343
1344 * main.c (captured_main): Replace magic option characters with an
1345 enum.
1346
e9582e71
AC
13472003-03-01 Andrew Cagney <cagney@redhat.com>
1348
1349 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
1350 INIT_EXTRA_FRAME_INFO.
1351 * gdbarch.h, gdbarch.c: Regenerate.
1352 * arm-tdep.c: Update comments.
1353 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
1354 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
1355 * frame.h, avr-tdep.c: Ditto.
1356 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
1357 (create_new_frame, legacy_get_prev_frame): Ditto.
1358 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
1359 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
1360 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
1361 deprecated_init_extra_frame_info instead of init_extra_frame_info.
1362 * x86-64-tdep.c (x86_64_init_abi): Ditto.
1363 * v850-tdep.c (v850_gdbarch_init): Ditto.
1364 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1365 * sh-tdep.c (sh_gdbarch_init): Ditto.
1366 * s390-tdep.c (s390_gdbarch_init): Ditto.
1367 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
1368 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1369 * mips-tdep.c (mips_gdbarch_init): Ditto.
1370 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1371 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1372 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1373 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
1374 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
1375 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1376 * frv-tdep.c (frv_gdbarch_init): Ditto.
1377 * cris-tdep.c (cris_gdbarch_init): Ditto.
1378 * avr-tdep.c (avr_gdbarch_init): Ditto.
1379 * arm-tdep.c (arm_gdbarch_init): Ditto.
1380 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1381 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1382
35cac7cf
AC
13832003-03-01 Andrew Cagney <cagney@redhat.com>
1384
1385 * gdbarch.sh (register_type): New function with predicate.
1386 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
1387 * gdbarch.h, gdbarch.c: Re-generate.
1388 * arch-utils.c (generic_register_byte): Use generic_register_size.
1389 (generic_register_size): When available, use
1390 gdbarch_register_type.
1391 * regcache.c (init_regcache_descr): When available, initialize the
1392 register type array using gdbarch_register_type. If the
1393 architecture supplies gdbarch_register_type, do not use the legacy
1394 regcache layout.
1395 * d10v-tdep.c (d10v_register_type): Replace
1396 d10v_register_virtual_type.
1397 (d10v_gdbarch_init): Set register_type instead of
1398 register_virtual_type.
1399
7b83296f
AC
14002003-03-01 Andrew Cagney <cagney@redhat.com>
1401
1402 * Makefile.in (ax-gdb.o): Update dependencies.
1403 * ax-gdb.c: Include "regcache.h".
1404 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
1405 * findvar.c (value_of_register): Ditto.
1406 * infcmd.c (default_print_registers_info): Ditto.
1407
eadc1c87
MK
14082003-03-01 Mark Kettenis <kettenis@gnu.org>
1409
1410 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
1411 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1412
14143612
MK
14132003-03-01 Mark Kettenis <kettenis@gnu.org>
1414
1415 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
1416 of STREQ.
1417
a55cc764
DJ
14182003-02-28 Daniel Jacobowitz <drow@mvista.com>
1419
1420 * Makefile.in (dwarf2loc.o): Update dependencies.
1421 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
1422 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
1423 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
1424 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
1425 (locexpr_tracepoint_var_ref): New function.
1426 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
1427
08a617da
AC
14282003-02-28 Andrew Cagney <cagney@redhat.com>
1429
1430 * regcache.c (register_size): New function.
1431 * regcache.h (register_size): Declare
1432 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
1433 max_register_size instead of MAX_REGISTER_RAW_SIZE.
1434
4224873a
DC
14352003-02-28 David Carlton <carlton@math.stanford.edu>
1436
1437 * linespec.c (decode_compound): Extract code into find_method.
1438 (find_method): New.
1439
ccdc5d7f
JB
14402003-02-28 J. Brobecker <brobecker@gnat.com>
1441
1442 * Makefile.in: Add rules to build and link in observer.o.
1443
974e8ced
JB
14442003-02-27 J. Brobecker <brobecker@gnat.com>
1445
1446 * observer.c: Minor comments edits.
1447
7a28f973
JB
14482003-02-27 J. Brobecker <brobecker@gnat.com>
1449
1450 * observer.h, observer.c: New file.
1451
27cddce2
AC
14522003-02-27 Andrew Cagney <cagney@redhat.com>
1453
1454 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
1455
b94a41a1
SC
14562003-02-27 Stephane Carrez <stcarrez@nerim.fr>
1457
1458 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
1459 (M6812_OP_STS_EXT): Likewise.
1460 (m6811_prologue): Use the above to recognize prologue.
1461 (m6812_prologue): Likewise.
1462
c8be8951
DC
14632003-02-27 David Carlton <carlton@math.stanford.edu>
1464
1465 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
1466 SYMBOL_PRINT_NAME.
1467 (compare_psymbols): Ditto.
1468 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
1469
d05bb1fc
MS
14702003-02-27 Michael Snyder <msnyder@redhat.com>
1471
4e845cd3
MS
1472 * f-lang.c (build_fortran_types): New function.
1473 (_initialize_f_language): Gdbarch-register built-in fortran types.
d05bb1fc
MS
1474 * doublest.c (extract_floating): Fix warning text.
1475
f3824013
AC
14762003-02-27 Andrew Cagney <cagney@redhat.com>
1477
1478 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
1479 predicate. Replaces PUSH_DUMMY_FRAME.
1480 * gdbarch.h, gdbarch.c: Regnerate.
1481 * valops.c (hand_function_call): Update. Call
1482 generic_push_dummy_frame directly.
1483 * vax-tdep.c (vax_gdbarch_init): Update.
1484 * sparc-tdep.c (sparc_gdbarch_init): Update.
1485 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1486 * m68k-tdep.c (m68k_gdbarch_init): Update.
1487 * hppa-tdep.c (hppa_gdbarch_init): Update.
1488 * alpha-tdep.c (alpha_gdbarch_init): Update.
1489 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1490 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1491 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
1492 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
1493 push_dummy_frame to generic_push_dummy_frame.
1494 * v850-tdep.c (v850_gdbarch_init): Ditto.
1495 * sh-tdep.c (sh_gdbarch_init): Ditto.
1496 * s390-tdep.c (s390_gdbarch_init): Ditto.
1497 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1498 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1499 * mips-tdep.c (mips_gdbarch_init): Ditto.
1500 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1501 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1502 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1503 * i386-tdep.c (i386_gdbarch_init): Ditto.
1504 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1505 * frv-tdep.c (frv_gdbarch_init): Ditto.
1506 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1507 * cris-tdep.c (cris_gdbarch_init): Ditto.
1508 * avr-tdep.c (avr_gdbarch_init): Ditto.
1509 * arm-tdep.c (arm_gdbarch_init): Ditto.
1510
ad188201
KB
15112003-02-26 Kevin Buettner <kevinb@redhat.com>
1512
1513 * mips-tdep.c (show_mips_abi): New function.
1514 (_initialize_mips_tdep): Use show_mips_abi() to implement the
1515 command ``show mips abi''.
1516
6b37567a
JJ
15172003-02-26 Jeff Johnston <jjohnstn@redhat.com>
1518
1519 From Elena Zannoni <ezannoni@redhat.com>
1520 * dbxread.c (process_one_symbol): Only record line 0 if one or
1521 more sline entries have been seen for the function.
1522
d3e0a5bf
MC
15232003-02-26 Michael Chastain <mec@shout.net>
1524
1525 * configure: Regenerate with autoconf 000227.
1526
18972eea
MC
15272003-02-26 Michael Chastain <mec@shout.net>
1528
1529 Close PR build/660.
1530 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
1531 for old libc5/glibc.
1532 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
1533
0bbde931
KW
15342003-02-26 Kris Warkentin <kewarken@qnx.com>
1535
1536 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
1537 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
1538
27ca5dad
MC
15392003-02-26 Michael Chastain <mec@shout.net>
1540
1541 * configure.in: New variable HAVE_UINTPTR_T.
1542 * configure, config.in: Regenerated.
1543
6f88d630
DJ
15442003-02-26 Daniel Jacobowitz <drow@mvista.com>
1545
1546 Fix PR build/1097.
1547 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
1548
b14185ce
AC
15492003-02-25 Andrew Cagney <cagney@redhat.com>
1550
1551 * frame.c (get_prev_frame): Add comment on check for
1552 inside_entry_func. Only check for inside_entry_file when not a
1553 dummy and not a sentinel. Check that the new frame is not inner
1554 to the old frame.
1555
ac2bd0a9
AC
15562003-02-25 Andrew Cagney <cagney@redhat.com>
1557
1558 * frame.c (frame_debug): New variable.
1559 (_initialize_frame): Add "set/show debug frame" command.
1560 (get_prev_frame): When frame_debug, print reason why unwind
1561 failed.
1562
b18a0fd2
MC
15632003-02-25 Michael Chastain <mec@shout.net>
1564
1565 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
1566 to avoid uintptr_t definition problems.
1567
22abf04a
DC
15682003-02-25 David Carlton <carlton@math.stanford.edu>
1569
1570 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
1571 (SYMBOL_LINKAGE_NAME): Ditto.
1572 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
1573 SYMBOL_LINKAGE_NAME.
1574 (struct general_symbol_info): Expand comment.
1575 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
1576 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
1577 (SYMBOL_MATCHES_REGEXP): Ditto.
1578 * symtab.c (symbol_natural_name): New function.
1579 * objfiles.h: Replace all uses of SYMBOL_NAME by
1580 DEPRECATED_SYMBOL_NAME.
1581 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
1582 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
1583 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
1584 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
1585 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
1586 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
1587 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
1588 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
1589 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
1590 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
1591 * ada-exp.y: Ditto.
1592 * ada-exp.y: Update copyright.
1593 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
1594 * cp-valprint.c: Ditto.
1595
1a5848f6
JJ
15962003-02-25 Jeff Johnston <jjohnstn@redhat.com>
1597
1598 * infptrace.c (detach): Do not flag error if ptrace detach fails
1599 and errno is set to ESRCH.
1600
7343d46a
AC
16012003-02-24 Andrew Cagney <cagney@redhat.com>
1602
1603 * infptrace.c (udot_info): Change type of udot_off to long. Use
1604 paddr when printing udot_off's value.
1605
49fa1dc2
DC
16062003-02-24 David Carlton <carlton@math.stanford.edu>
1607
1608 * symtab.c (make_symbol_overload_list): Only read in partial
1609 symtabs containing a matching partial symbol.
1610
0fe19209
DC
16112003-02-24 David Carlton <carlton@math.stanford.edu>
1612
1613 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
1614 do the comparison, not strcmp.
1615 * symfile.c (compare_psymbols): Ditto.
1616 * defs.h: Declare strcmp_iw_ordered.
1617 * utils.c (strcmp_iw_ordered): New function.
1618
8e3ee7b5
JB
16192003-02-24 Jim Blandy <jimb@redhat.com>
1620
1621 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
1622 support, shared libs): Remove my name from here, to better reflect
1623 reality.
1624
7df1a324
KW
16252003-02-24 Kris Warkentin <kewarken@qnx.com>
1626
1627 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
1628 (target_ops): Add to_have_continuable_watchpoint.
1629 * target.c (update_current_target): Add INHERIT line for
1630 to_have_continuable_watchpoint.
1631 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
1632 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
1633 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
1634 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
1635
d1c76907
EZ
16362003-02-24 Elena Zannoni <ezannoni@redhat.com>
1637
1638 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
1639 maintainership.
1640
2610b0bf
KW
16412003-02-24 Kris Warkentin <kewarken@qnx.com>
1642
f46169db
KW
1643 * solib.c (solib_open): Call target defined search function after
1644 failing with solib-search-path.
1645 * solist.h (target_so_ops): Add find_and_open_solib function hook and
1646 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
2610b0bf 1647
9a3c34fe
KW
16482003-02-24 Kris Warkentin <kewarken@qnx.com>
1649
f46169db 1650 * MAINTAINERS: Add myself to Write After section.
9a3c34fe 1651
2417dd25
SC
16522003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1653
1654 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
1655
b631436b
SC
16562003-02-22 Stephane Carrez <stcarrez@nerim.fr>
1657
1658 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
1659 (m68hc11_add_reggroups): New function.
1660 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
1661 (m68hc11_gdbarch_init): Install the reggroups.
1662 (_initialize_m68hc11_tdep): Initialize them.
1663
0aa8c1e4
JW
16642003-02-21 James E Wilson <wilson@tuliptree.org>
1665
1666 * MAINTAINERS: Update my email address.
1667
50ceaba5
DC
16682003-02-21 David Carlton <carlton@math.stanford.edu>
1669
1670 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
1671
4c2df51b
DJ
16722003-02-21 Daniel Jacobowitz <drow@mvista.com>
1673
1674 Based on a patch from Daniel Berlin (dberlin@dberlin.org).
1675 * symtab.h: Add opaque declarations of struct axs_value and
1676 struct agent_expr.
1677 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
1678 (struct location_funcs): New type.
1679 (struct symbol): Add "loc" to aux_value.
1680 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
1681 * dwarf2read.c: Include "dwarf2expr.h".
1682 (dwarf2_symbol_mark_computed): New function.
1683 (read_func_scope): Use it.
1684 (var_decode_location): New function.
1685 (new_symbol): Use it.
1686 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
1687
1688 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
1689 (dwarf2expr_h, dwarf2loc_h): New variables.
1690 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
1691 (dwarf2expr.o, dwarf2loc.o): New rules.
1692 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
1693 * buildsym.c (finish_block): Handle LOC_COMPUTED and
1694 LOC_COMPUTED_ARG.
1695 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
1696 * m2-exp.y (yylex): Likewise.
1697 * printcmd.c (address_info, print_frame_args): Likewise.
1698 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
1699 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
1700 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
1701 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
1702 * symtab.c (lookup_block_symbol): Likewise.
1703
5784d15e
AF
17042003-02-20 Adam Fedor <fedor@gnu.org>
1705
1706 * symtab.h: Remove objc_specific struct
1707 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
1708 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
1709 Have language_objc use cplus_specific struct.
1710
d4cad8db
TT
17112003-02-20 Tom Tromey <tromey@redhat.com>
1712
1713 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
1714 TYPE_NAME, when printing a String value. PR java/1075.
1715
2f9a90b4
AF
17162003-02-20 Adam Fedor <fedor@gnu.org>
1717
d38074a8 1718 * objc-lang.h (find_methods): Remove declaration.
2f9a90b4
AF
1719 * objc-lang.c (find_methods): Make static.
1720
6f17862b
CF
17212003-02-20 Christopher Faylor <cgf@redhat.com>
1722
1723 * win32-nat.c (get_image_name): Check return value from
1724 ReadProcessMemory.
1725 (child_xfer_memory): Ditto.
1726
715d1656
AO
17272003-02-20 Alexandre Oliva <aoliva@redhat.com>
1728
1729 * configure.in (TARGET_SYSTEM_ROOT): Set default to
1730 ${exec_prefix}/${target_alias}/sys-root. Match explicit
1731 '${exec_prefix}' (in addition to the expansion thereof) as
1732 relocatable.
1733 * configure: Rebuilt.
1734
b1262a02
DC
17352003-02-20 David Carlton <carlton@math.stanford.edu>
1736
1737 * symtab.c (search_symbols): Revert the search_symbols part of my
1738 2002-12-23 patch. Add comment.
1739
7134143f
DJ
17402002-02-20 Daniel Jacobowitz <drow@mvista.com>
1741
1742 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
1743 * dbxread.c (elfstab_build_psymtabs): Don't call
1744 install_minimal_symbols.
1745 (stabsect_build_psymtabs): Likewise.
1746 * elfread.c (elf_symfile_read): Call install_minimal_symbols
1747 earlier.
1748 * somread.c (som_symfile_read): Call install_minimal_symbols
1749 and do_cleanups earlier.
1750 * nlmread.c (nlm_symfile_read): Likewise.
1751 * mdebugread.c (elfmdebug_build_psymtabs): Call
1752 install_minimal_symbols and make appropriate cleanups.
1753
cf466558
KB
17542003-02-20 Kevin Buettner <kevinb@redhat.com>
1755
1756 * solib.c (reload_shared_libraries): New function.
1757 (_initialize_solib): Add callbacks for ``set solib-search-path''
1758 and ``set solib-absolute-prefix''.
1759
de5ad195
DC
17602003-02-20 David Carlton <carlton@math.stanford.edu>
1761
1762 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
1763 expand comment.
1764 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
1765 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
1766 * ada-typeprint.c (ada_typedef_print): Ditto.
1767 * ax-gdb.c (gen_var_ref): Ditto.
1768 * breakpoint.c (print_one_breakpoint): Ditto.
1769 * buildsym.c (finish_block): Ditto.
1770 * c-valprint.c (c_val_print): Ditto.
1771 * expprint.c (print_subexp): Ditto.
1772 * findvar.c (locate_var_value): Ditto.
1773 * infcmd.c (jump_command): Ditto.
1774 * linespec.c (decode_line_2, decode_compound): Ditto.
1775 * maint.c (maintenance_translate_address): Ditto.
1776 * objc-lang.c (compare_selectors, compare_classes): Ditto.
1777 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
1778 Ditto.
1779 * p-valprint.c (pascal_val_print): Ditto.
1780 * stabsread.c (define_symbol): Ditto.
1781 * stack.c (print_frame, frame_info, print_block_frame_locals)
1782 (print_frame_arg_vars, return_command): Ditto.
1783 * symfile.c (compare_symbols, compare_psymbols): Ditto.
1784 * symmisc.c (print_symbol): Ditto.
1785 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
1786 (compare_search_syms, print_symbol_info, print_msymbol_info)
1787 (rbreak_command): Ditto.
1788 * tracepoint.c (tracepoints_info): Ditto.
1789 * typeprint.c (typedef_print): Ditto.
1790 * valops.c (value_of_variable, hand_function_call): Ditto.
1791 * cli/cli-cmds.c (edit_command, list_command): Ditto.
1792 * ada-typeprint.c: Update Copyright.
1793 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
1794 * tracepoint.c, cli/cli-cmds.c: Ditto.
1795
f796e4be
KB
17962003-02-20 Kevin Buettner <kevinb@redhat.com>
1797
1798 * frame.c (generic_unwind_get_saved_register): Make non-static.
1799 * frame.h (generic_unwind_get_saved_register): Declare.
1800 * mips-tdep.c (read_next_frame_reg): Fetch register from
1801 current regcache when frame is NULL.
1802 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
1803 that must be NULL.
1804 (mips_get_saved_register): Call generic_unwind_get_saved_register()
1805 instead of frame_register_unwind().
1806
836cc9f4
AC
18072003-02-20 Andrew Cagney <ac131313@redhat.com>
1808
1809 * remote-sim.c (gdbsim_insert_breakpoint)
1810 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
1811 code.
1812
501eef12
AC
18132003-02-20 Andrew Cagney <ac131313@redhat.com>
1814
1815 * remote.c (_initialize_remote): Add commands "set/show remote
1816 hardware-watchpoint-limit" and "set/show remote
1817 hardware-breakpoint-limit".
1818 (remote_hw_watchpoint_limit): Initialize to -1.
1819 (remote_hw_breakpoint_limit): Ditto.
1820 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
1821
1b6bc7e0
CF
18222003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
1823
1824 * coff-pe-read.c: New file - support reading of minimal symbols from a
1825 portable executable using the export table.
1826 * coff-pe-read.h: New file.
1827 * coffread.c: Include coff-pe-read.h.
1828 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
1829 debugging symbols found.
1830 * Makefile.in (SFILES): Add coff-pe-read.o.
1831 (coff_pe_read_h): Define.
1832 (COMMON_OBS): Add coff-pe-read.o.
1833 (coffread.o): Add coff_pe_read_h dependency.
1834 (coff-pe-read.o): New target.
1835
fe898f56
DC
18362003-02-19 David Carlton <carlton@math.stanford.edu>
1837
1838 * Makefile.in (SFILES): Add block.c.
1839 (block_h): New.
1840 (COMMON_OBS): Add block.o.
1841 (block.o): New.
1842 (x86-64-tdep.o): Add $(block_h).
1843 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
1844 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
1845 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
1846 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
1847 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
1848 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
1849 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
1850 * value.h: Add opaque declaration for struct block.
1851 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
1852 * ada-lang.h: Ditto.
1853 * x86-64-tdep.c: #include "block.h"
1854 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
1855 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
1856 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
1857 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
1858 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
1859 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
1860 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
1861 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
1862 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
1863 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
1864 * symtab.c (block_function): Ditto.
1865 (contained_in): Ditto.
1866 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
1867 block.h. Add opaque declaration for struct block.
1868 * symtab.h: Move block_function and contained_in declarations to
1869 block.h. Add opaque declarations for struct block, struct
1870 blockvector.
1871 (struct block): Move to block.h.
1872 (struct blockvector): Ditto.
1873 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
1874 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
1875 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
1876 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
1877 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
1878 Ditto.
1879 * block.c: New file.
1880 * block.h: New file.
1881
173345b5
TR
18822003-02-19 Theodore A. Roth <troth@openavr.org>
1883
1884 * avr-tdep.c (avr_extract_return_value): Remove function.
1885 (avr_store_return_value): Remove function.
1886 (avr_extract_struct_value_address): Remove function.
1887 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
1888
338ef23d
AC
18892003-02-19 Andrew Cagney <ac131313@redhat.com>
1890
1891 * rs6000-tdep.c: Include "gdb_assert.h".
1892 (registers_e500): Add "acc" and "spefscr".
1893 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
1894 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
1895 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
1896 really is "r0".
1897 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
1898
5412f5f3
KS
18992003-02-18 Keith Seitz <keiths@redhat.com>
1900
1901 * Makefile.in: Add gdbtk-interps.c.
1902
881324eb
KB
19032003-02-18 Kevin Buettner <kevinb@redhat.com>
1904
1905 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
1906 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
1907
6a2f5abf
AC
19082003-02-18 Andrew Cagney <cagney@redhat.com>
1909
1910 * symtab.h (struct objfile): Add opaque declaration.
1911
54c7009d
EZ
19122003-02-18 Elena Zannoni <ezannoni@redhat.com>
1913
1914 From Jim Ingham <jingham@apple.com>:
1915 * dbxread.c (process_one_symbol): Use last_function_start rather
1916 than function_start_offset to find the real beginning of the
1917 current function. The latter is just the text section offset on
1918 some systems, the former is always the real function start.
1919
7ee6d7eb
AC
19202003-02-17 Andrew Cagney <cagney@redhat.com>
1921
1922 * configure.in: Revert ${target} != ${host}.
1923
2846da9b
AC
19242003-02-17 Andrew Cagney <ac131313@redhat.com>
1925
1926 * configure.in (Makefile): Use the test ${target} != ${host},
1927 instead of the absence of the "nm.h" file, to determine of the
1928 configuration non-native.
1929 * configure: Regenerate.
1930
3b27aeea
EZ
19312003-02-14 Elena Zannoni <ezannoni@redhat.com>
1932
1933 From Brian Ford <ford@vss.fsi.com>
1934
1935 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
1936 conditionalize tui_active test.
1937 (lookup_cmd_1): Ditto.
1938
b0b1c2c0
MK
19392003-02-14 Mark Kettenis <kettenis@gnu.org>
1940
1941 * configure.in: Add check for _etext.
1942 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
1943 available.
1944 * config.in, configure: regenerated.
1945
8f05cde5
DJ
19462003-02-14 Daniel Jacobowitz <drow@mvista.com>
1947
1948 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
1949
021e7609
AC
19502003-02-14 Andrew Cagney <ac131313@redhat.com>
1951
1952 * main.c (tui_version): Delete variable.
1953 (captured_main): When --tui, set interpreter_p to "tui" instead of
1954 enabling tui_version.
1955 * printcmd.c (display_command) [TUI]: Test tui_active instead of
1956 tui_version.
1957 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
1958 * cli/cli-cmds.c (disassemble_command): Ditto.
1959 * defs.h (tui_version): Delete declaration.
1960 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
1961 (tui-interp.o): Add rules.
1962 (SUBDIR_TUI_OBS): Add "tui-interp.o".
1963
e325dcec
CF
19642003-02-14 Christopher Faylor <cgf@redhat.com>
1965
36ffb041 1966 * win32-nat.c (register_loaded_dll): Correctly set address range for
e325dcec
CF
1967 just-loaded dll.
1968
c4f90d87
JM
19692003-02-12 Jason Molenda (jmolenda@apple.com)
1970
1971 * symmisc.c (print_objfile_statistics): Include information about
1972 the number of psymtabs and symtabs in each object file.
1973
e46e5ccd
KS
19742003-02-13 Keith R Seitz <keiths@redhat.com>
1975
1976 * main.h (struct captured_main_args): Add interpreter_p.
1977 * main.c (captured_main): Initialize interpreter_p from context.
1978 * gdb.c (main): Set interpreter_p argument.
1979 * Makefile.in (gdb.o): Add dependency for interps.h.
1980
fe97fe9c
AC
19812003-02-12 Andrew Cagney <ac131313@redhat.com>
1982
1983 * event-top.c (cli_command_loop): Delete declaration.
1984 (_initialize_event_loop): Delete function setting event_loop_hook.
1985 * event-top.h (cli_command_loop): Declare. Update copyright.
1986 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
1987 * interps.c (current_interp_command_loop): When event_loop_p, call
1988 cli_command_loop.
1989
1cdac4ef
AC
19902003-02-12 Andrew Cagney <ac131313@redhat.com>
1991
1992 * interps.h (interp_command_loop_ftype): Change return type to
1993 void.
1994
48037ead
ML
19952003-02-12 Michal Ludvig <mludvig@suse.cz>
1996
1997 * x86-64-tdep.c (x86_64_extract_return_value)
1998 (x86_64_store_return_value): Use regcache instead of regbuf.
1999 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
2000 * x86-64-linux-nat.c (fill_gregset): Use regcache.
2001
033afc63
AC
20022003-02-11 Andrew Cagney <ac131313@redhat.com>
2003
2004 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
2005 * aclocal.m4: Regenerate.
2006 * configure: Regenerate.
2007
2008 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
2009 TCL_LD_SEARCH_FLAGS.
2010
40d02bca
ML
20112003-02-10 Michal Ludvig <mludvig@suse.cz>
2012
2013 * dwarf2cfi.c: Reindented.
2014
11308a41
AC
20152003-02-09 Andrew Cagney <ac131313@redhat.com>
2016
2017 * interps.c (clear_interpreter_hooks): Convert function definition
2018 to ISO C.
2019
e1c1c0f6
DC
20202003-02-07 David Carlton <carlton@math.stanford.edu>
2021
2022 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
2023
ab5d3da6
KB
20242003-02-07 Kevin Buettner <kevinb@redhat.com>
2025
2026 * gdbtypes.h (struct main_type): Move ``length'' field from here...
2027 (struct type): ...to here.
2028 (TYPE_LENGTH): Adjust to reflect different location of ``length''
2029 field.
2030 * gdbtypes.c (make_qualified_type): Set length on newly created type.
2031 (replace_type): Set length on all type variants for a given type.
2032
b8a92b82
AC
20332003-02-07 Andrew Cagney <ac131313@redhat.com>
2034
2035 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
2036 <sys/stat.h>.
2037 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
2038
5cb316ef
AC
20392003-02-06 Andrew Cagney <ac131313@redhat.com>
2040
2555fe1a
AC
2041 * Makefile.in (symm-nat.o): Update dependencies.
2042 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
2043 (lynx-nat.o, ia64-linux-nat.): Ditto.
2044 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
2045 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
2046 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
2047
44270758
AC
2048 * Makefile.in (inflow_h): Define.
2049 (procfs.o, inflow.o, procfs.o): Update dependencies.
2050 * inftarg.c (child_stop): Delete extern declaration of
2051 inferior_process_group. Include "inflow.h".
2052 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
2053 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
2054 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
2055 (our_process_group, inferior_process_group): Extern declarations.
2056
df8f7274
AC
2057 * procfs.c: Include "gdb_assert.h".
2058
5cb316ef
AC
2059 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
2060 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
2061 * jv-typeprint.c (java_type_print_base): Ditto.
2062 * typeprint.c (typedef_print): Eliminate STREQ.
2063 * cli/cli-script.c (define_command, define_command): Ditto.
2064 * main.c (captured_main): Ditto.
2065 * values.c (lookup_internalvar): Ditto.
2066 * utils.c (safe_strerror, parse_escape): Eliminate assignment
2067 within `if' conditional.
2068 * linespec.c (decode_line_2): Ditto.
2069 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
2070 (bfd_openw_with_cleanup): Ditto.
2071
2a28ccea
MK
20722003-02-07 Mark Kettenis <kettenis@gnu.org>
2073
2074 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
2075 legacy_extract_return_value and store_return_value to
2076 legacy_return_value.
2077
786b8124
CF
20782003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
2079
2080 * win32-nat.c (get_relocated_section_addrs): New function. Find
2081 section load addresses for symbol handling in relocated DLLs.
2082 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
2083
b871e4ec
FF
20842003-02-05 Fred Fish <fnf@intrinsity.com>
2085
2086 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
2087 '=' and '!='.
2088 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
2089 with '&' and '=='.
2090 (angel_RDI_info): Ditto.
2091 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
2092 with '&' and '!='.
2093 (threads_continue_all_with_signals): Ditto.
2094
4389a95a
AC
20952003-02-05 Jim Ingham <jingham@apple.com>
2096 Keith Seitz <keiths@redhat.com>
2097 Elena Zannoni <ezannoni@redhat.com>
2098 Andrew Cagney <ac131313@redhat.com>
2099
2100 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
2101 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
2102 (SUBDIR_MI_OBS): Add "mi-interp.o".
2103 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
2104 (SFILES): Add "interps.c".
2105 (COMMON_OBS): Add "interps.o".
2106 (interps_h, mi_main_h): Define.
2107 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
2108 (mi-main.o, main.o, event-top.o): Update dependencies.
2109 * cli/cli-interp.c: New file.
2110 * interps.h, interps.c: New files.
2111 * top.c: (gdb_init): Don't install the default interpreter, handed
2112 by captured_main.
2113 * main.c: Include "interps.h".
2114 (interpreter_p): Note that it should malloc'ed.
2115 (captured_command_loop): Call current_interp_command_loop.
2116 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
2117 xfree and xstrdup when updating interpreter_p. Install the
2118 default interpreter. Add hack to stop mi1's copyright notice
2119 being encoded.
2120 * event-top.h (gdb_setup_readline): Declare.
2121 (gdb_disable_readline): Declare.
2122 * event-top.c: Include "interps.h".
2123 (display_gdb_prompt): Call current_interp_display_prompt_p.
2124 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
2125 gdb_stdlog, and gdb_stdtarg.
2126 (_initialize_event_loop): Don't call gdb_setup_readline.
2127 * cli-out.c (cli_out_set_stream): New function.
2128 * cli-out.h (cli_out_set_stream): Declare.
2129
ff3b5810
MK
21302003-02-06 Mark Kettenis <kettenis@gnu.org>
2131
2132 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
2133 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
2134 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
2135 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
2136 config/i386/i386v42mp.mt: Removed.
2137
5b729aa5
MK
21382003-02-05 Mark Kettenis <kettenis@gnu.org>
2139
2140 * configure.tgt (*-*-solaris*): Set gdb_osabi to
2141 GDB_OSABI_SOLARIS.
2142
8cc15142
MC
21432003-02-05 Michael Chastain <mec@shout.net>
2144
2145 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
2146 2.12.1 and earlier versions.
2147
5aa5d4b9
AC
21482003-02-05 Andrew Cagney <ac131313@redhat.com>
2149
2150 Remove orphaned hosts, targets and files.
2151 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
2152 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
2153 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
2154 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
2155 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
2156 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
2157 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
2158 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
2159 * config/sparc/tm-sp64sim.h: Delete.
2160 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
2161 hosts.
2162 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
2163 mips*-dec-mach3* targets.
2164
b68767c1
MC
21652003-02-04 Michael Chastain <mec@shout.net>
2166
2167 * NEWS: Fix typo: sepcifying -> specifying.
2168
5ae7ca1d
MC
21692003-02-04 Michael Chastain <mec@shout.net>
2170
2171 * dwarfread.c: Add documentation on the state of dwarf-1,
2172 looking towards obsoletion.
2173
d08a4280
MC
21742003-02-03 Michael Chastain <mec@shout.net>
2175
2176 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
2177 gdb/testsuite/gdb.c++/pr-1023.exp.
2178
e9be73e4
AC
21792003-02-04 Andrew Cagney <ac131313@redhat.com>
2180
2181 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
2182 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
2183
2184 * utils.c (init_page_info): Delete reference to MPW in comments.
2185 * main.c (captured_main): Delete #ifdef MPW.
2186
05d57f6f
AC
21872003-02-04 Andrew Cagney <ac131313@redhat.com>
2188
2189 * NEWS: Note that the m32r-*-elf* is obsolete.
2190 * monitor.c (monitor_expect): Obsolete reference to m32r.
2191 * configure.tgt: Mark m32r-*-elf* as obsolete.
2192 * MAINTAINERS: Mark m32k as obsolete.
2193 * m32r-rom.c: Obsolete file.
2194 * config/m32r/m32r.mt: Obsolete file.
2195 * config/m32r/tm-m32r.h: Obsolete file.
2196 * m32r-stub.c: Obsolete file.
2197 * m32r-tdep.c: Obsolete file.
2198
8b0e5691
AC
21992003-02-04 Andrew Cagney <ac131313@redhat.com>
2200
2201 * NEWS: Mention that the z8k-zilog-none is obsolete.
2202 * MAINTAINERS: Mark z8k as obsolete.
2203 * configure.tgt: Obsolete the z8k-*-coff* target.
2204 * config/z8k/z8k.mt: Obsolete file.
2205 * config/z8k/tm-z8k.h: Obsolete file.
2206 * z8k-tdep.c: Obsolete file.
2207
67f16606
AC
22082003-02-04 Andrew Cagney <ac131313@redhat.com>
2209
2210 * NEWS: Mention that the mn10200-elf is obsolete.
2211 * configure.tgt: Obsolete mn10200-*-* target.
2212 * breakpoint.c (update_breakpoints_after_exec): Update comment to
2213 mention that the mn10200 is obsolete.
2214 * breakpoint.h: Ditto.
2215 * MAINTAINERS: Mark the mn10200-elf as obsolete.
2216 * config/mn10200/mn10200.mt: Obsolete file.
2217 * config/mn10200/tm-mn10200.h: Obsolete file.
2218 * mn10200-tdep.c: Obsolete file.
2219
fd2299bd
AC
22202003-02-04 Andrew Cagney <ac131313@redhat.com>
2221
2222 * MAINTAINERS: Mark h8500 as obsolete.
2223 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
2224 * findvar.c (value_from_register): Ditto.
2225 * h8500-tdep.c: Mark file as obsolete.
2226 * config/h8500/h8500.mt: Ditto.
2227 * config/h8500/tm-h8500.h: Ditto.
2228 * NEWS: Mention that h8500 is obsolete.
2229
eb9a305d
DC
22302003-02-04 David Carlton <carlton@math.stanford.edu>
2231
2232 * objfiles.c (allocate_objfile): Always set name. Add comment at
2233 start of function.
2234 * jv-lang.c (get_dynamics_objfile): Add comment.
2235
406fc7fb
DC
22362003-02-04 David Carlton <carlton@math.stanford.edu>
2237
2238 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
2239 * printcmd.c (build_address_symbolic): Replace uses of
2240 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
2241 SYMBOL_NAME, and asm_demangle.
2242 Update copyright.
2243
93d91629
DC
22442003-02-04 David Carlton <carlton@math.stanford.edu>
2245
2246 * linespec.c (decode_compound): Extract code into
2247 lookup_prefix_sym.
2248 (lookup_prefix_sym): New function.
2249
1c5cb38e
DC
22502003-02-04 David Carlton <carlton@math.stanford.edu>
2251
2252 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
2253 FLOAT_COERCION_BADNESS.
2254 * gdbtypes.c (rank_one_type): Replace all uses of
2255 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
2256
0cf824c9
JB
22572003-02-04 Jim Blandy <jimb@redhat.com>
2258
2259 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
2260 section, let dwarf_macinfo_section point to it, not
2261 dwarf_loc_section.
2262
a2d356b0
DJ
22632003-02-04 Daniel Jacobowitz <drow@mvista.com>
2264
2265 Pointed out by Anton Blanchard <anton@samba.org>.
2266 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
2267 (ppc_linux_at_sigtramp_return_path): Use it.
2268
2de7ced7
DJ
22692003-02-04 Daniel Jacobowitz <drow@mvista.com>
2270
2271 * defs.h (streq): Add prototype.
2272 * utils.c (streq): New function.
2273
2274 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
2275 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
2276 * mdebugread.c (new_symbol): Likewise.
2277 * stabsread.c (define_symbol): Likewise.
2278 * coffread.c (process_coff_symbol): Likewise.
2279 * dwarfread.c (new_symbol): Likewise.
2280
2281 * minsyms.c (prim_record_minimal_symbol_and_info): Use
2282 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
2283 here.
2284 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
2285 SYMBOL_INIT_DEMANGLED_NAME.
2286 * objfiles.c: Include "hashtab.h".
2287 (allocate_objfile): Call htab_set_functions_ex for the
2288 demangled_names_hash.
2289 (free_objfile): Call htab_delete for the demangled_names_hash.
2290 * objfiles.h (struct htab): Add declaration.
2291 (struct objfile): Add demangled_names_hash.
2292 * symfile.c: Include "hashtab.h".
2293 (reread_symbols): Call htab_delete for the demangled_names_hash.
2294 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
2295 SYMBOL_NAME in the bcache.
2296 * symtab.c: Include "hashtab.h". Update comments.
2297 (create_demangled_names_hash, symbol_set_names): New functions.
2298 (symbol_find_demangled_name): New function, broken out from
2299 symbol_init_demangled_names.
2300 (symbol_init_demangled_names): Use it.
2301 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
2302 (SYMBOL_SET_NAMES): New macro.
2303 (symbol_set_names): Add prototype.
2304
15831452
JB
23052003-02-03 Jim Blandy <jimb@redhat.com>
2306
2307 Use a single, consistent representation for an empty minimal
2308 symbol table in an objfile.
2309 * objfiles.c (terminate_minimal_symbol_table): New function.
2310 (allocate_objfile): Call it.
2311 * objfiles.h (terminate_minimal_symbol_table): New declaration.
2312 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
2313 non-NULL.
2314 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
2315 objfile has minimal symbols, compare minimal_symbol_count to zero,
2316 instead of comparing msymbols with NULL.
2317 * objfiles.c (have_minimal_symbols): Same.
2318 * solib-sunos.c (solib_add_common_symbols): Call
2319 terminate_minimal_symbol_table.
2320 * symfile.c (reread_symbols): Same.
2321
ffc65945
KB
23222003-02-03 Kevin Buettner <kevinb@redhat.com>
2323
2324 * s390-tdep.c (s390_address_class_type_flags)
2325 (s390_address_class_type_flags_to_name)
2326 (s390_address_class_name_to_type_flags): New functions.
2327 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
2328 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
2329
f211c6d4
MS
23302003-02-03 Michael Snyder <msnyder@redhat.com>
2331
2332 * arm-tdep.c: Fix spell-o in comment.
2333
659b0389
ML
23342003-02-03 Michal Ludvig <mludvig@suse.cz>
2335
2336 * dwarf2cfi.c (pointer_encoding): Added new parameter.
2337 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
2338 error messages to contain BFD filename.
2339
3b31d625
EZ
23402003-02-02 Elena Zannoni <ezannoni@redhat.com>
2341
997b089a 2342 Fix PR gdb/742 gdb/743 gdb/877
3b31d625
EZ
2343 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
2344 (do_mixed_source_and_assembly): Use
2345 make_cleanup_ui_out_tuple_begin_end and
2346 make_cleanup_ui_out_tuple_begin_end.
2347 (do_mixed_source_and_assembly): Ditto.
2348 * thread.c (do_captured_list_thread_ids): Ditto.
2349 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
2350 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
2351 ui_out_tuple_end): Delete prototypes.
2352 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
2353 ui_out_list_end, ui_out_tuple_end): Delete.
2354
2355 From Kevin Buettner <kevinb@redhat.com>:
2356 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
2357 * ui-out.c (make_cleanup_ui_out_table_begin_end)
2358 (do_cleanup_table_end): New functions.
2359 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
2360 Use cleanups to invoke_ui_out_tuple_end().
2361 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
2362 * cli/cli-setshow.c (cmd_show_list): Use
2363 make_cleanup_ui_out_tuple_begin_end.
2364
5b181d62
AC
23652003-02-02 Andrew Cagney <ac131313@redhat.com>
2366
2367 * frame.c (frame_unwind_register): New function.
2368 (frame_unwind_unsigned_register): Use.
2369 (frame_unwind_signed_register): Use.
2370 (frame_read_register): New function.
2371 * frame.h (frame_unwind_register): Declare.
2372 (frame_read_register): Declare.
2373
2374 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
2375 and frame_unwind_register instead of read_memory, write_register
2376 and deprecated_write_register_bytes.
2377
5f601589
AC
23782003-02-02 Andrew Cagney <ac131313@redhat.com>
2379
2380 * frame.h: Note that namelen can be negative.
2381 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
2382 NAME's length.
2383
2384 * NEWS: Mention that the d10v's `regs' command is deprecated.
2385 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
2386 (d10v_print_registers_info): New function.
2387 (show_regs): Call d10v_print_registers_info.
2388 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
2389
6a3fe0a4
MK
23902003-02-02 Mark Kettenis <kettenis@gnu.org>
2391
2392 * stack.c (print_frame_info): Restore call to annotate_frame_begin
2393 lost in the previous patch.
2394
075559bc
AC
23952003-02-01 Andrew Cagney <ac131313@redhat.com>
2396
2397 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
2398 * stack.c (print_frame_info_base): Output complete FRAME tuple
2399 for synthesized frames.
2400
6789195b
AC
24012003-02-02 Andrew Cagney <ac131313@redhat.com>
2402
2403 * mips-nat.c (zerobuf): Delete.
2404 (fetch_inferior_registers): Alloc local zerobuf.
2405 (fetch_core_registers): Alloc local zerobuf.
2406 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
2407 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
2408 * thread-db.c (thread_db_store_registers): Ditto.
2409 * sh-tdep.c (sh_do_register): Ditto.
2410 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
2411 * remote-sim.c (gdbsim_store_register): Ditto.
2412 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
2413 * remote-e7000.c (fetch_regs_from_dump): Ditto.
2414 * monitor.c (monitor_supply_register): Ditto.
2415 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
2416 * mips-nat.c (fetch_inferior_registers): Ditto.
2417 * m68klinux-nat.c (fetch_register): Ditto.
2418 * lynx-nat.c (fetch_inferior_registers): Ditto.
2419 (fetch_inferior_registers): Ditto.
2420 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
2421 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
2422 (hpux_thread_store_registers): Ditto.
2423 * hppah-nat.c (fetch_register): Ditto.
2424 * hppab-nat.c (fetch_register): Ditto.
2425 * hppa-tdep.c (pa_register_look_aside): Ditto.
2426 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
2427 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
2428
e669114a
AC
24292003-02-01 Andrew Cagney <ac131313@redhat.com>
2430
2431 * gdbarch.sh: Explictly specify all method levels. When a
2432 variable with an empty level, provide a non-multi-arch default.
2433 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
2434 * gdbarch.h: Re-generate.
2435 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
2436 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
2437
9a043c1d
AC
24382003-02-01 Andrew Cagney <ac131313@redhat.com>
2439
2440 * defs.h (host_pointer_to_address): Delete declaration.
2441 (address_to_host_pointer): Delete declaration.
2442 * utils.c (host_pointer_to_address): Delete function.
2443 (address_to_host_pointer): Delete function.
2444 * procfs.c (procfs_address_to_host_pointer): New function.
2445 * procfs.c (proc_set_watchpoint): Use.
2446 (procfs_can_use_hw_breakpoint): Update comments.
2447 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
2448 (som_solib_add): Use.
2449 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
2450 * hppa-tdep.c (unwind_command): Use.
2451
7ca9f392
AC
24522003-02-01 Andrew Cagney <ac131313@redhat.com>
2453
94bbfd30
AC
2454 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
2455 strlen d_name.
2456
7ca9f392
AC
2457 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
2458 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
2459 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
2460 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
2461 (define_symbol): Update.
2462 * symfile.c (generic_load): Remove references to nindy.
2463 * symtab.c: Remove references to nindy.
2464
31a85ea2
AC
24652003-02-01 Andrew Cagney <ac131313@redhat.com>
2466
2467 * infcmd.c (print_float_info): Delete code conditional on
2468 FLOAT_INFO.
2469 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
2470 * config/m68k/nm-apollo68b.h: Ditto.
2471 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
2472 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
2473 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
2474
f6e85fc8
MK
24752003-02-01 Mark Kettenis <kettenis@gnu.org>
2476
6015b6a0
MK
2477 * config/i386/tm-i386os9k.h: Removed.
2478
f7a30bdf
MK
2479 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
2480 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
2481 they're identical to i[3456]86-*-sysv* now.
2482 * config/i386/i386v32.mh: Removed.
2483 * config/i386/xm-i386v32.h: Removed.
2484 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
2485
28d52111
MK
2486 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
2487
4d3f6bce
MK
2488 * config/i386/i386dgux.mh: Removed.
2489 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
2490
f6e85fc8
MK
2491 * configure.in: Fix typo.
2492 * configure: Regenerated.
2493
53955967
DC
24942003-01-31 David Carlton <carlton@math.stanford.edu>
2495
2496 * dwarf2read.c (dwarf2_locate_sections): Set
2497 dwarf_ranges_section.
2498
b1364885
AC
24992003-01-31 Andrew Cagney <ac131313@redhat.com>
2500
8dbb1c65
AC
2501 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
2502 * utils.c: Update comments documenting legitimate uses of PTR.
2503
8731e58e
AC
2504 * utils.c: Re-indent.
2505
b1364885
AC
2506 * config/djgpp/fnchange.lst: Delete nindy files.
2507 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
2508 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
2509 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
2510 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
2511 * nindy-share/README, nindy-share/Onindy.c: Delete files.
2512 * nindy-tdep.c, nindy-share/Makefile: Delete files.
2513 * Makefile.in (init.c): Remove nindy references.
2514 (saber_gdb): Delete rule.
2515 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
2516 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
2517 and a68v-nat.c.
2518 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
2519 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
2520 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
2521 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
2522 nindy-share/stop.h.
2523 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
2524 * saber.suppress: Delete file.
2525
086df311
DJ
25262003-01-31 Daniel Jacobowitz <drow@mvista.com>
2527
2528 * dbxread.c (stabs_data): New static variable.
2529 (fill_symbuf): Support an in-memory buffer for stabs data.
2530 (stabs_seek): New function.
2531 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
2532 (read_ofile_symtab): Use stabs_seek.
2533 (elfstab_build_psymtabs): Take an asection* instead of
2534 an offset and size. Relocate the stabs data if necessary.
2535 Save the section* for dbx_psymtab_to_symtab.
2536 * dwarf2read.c: Add section variables for each debug section.
2537 (dwarf2_locate_sections): Fill them in.
2538 (dwarf2_read_section): Take an asection* argument.
2539 Relocate the section contents if necessary.
2540 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
2541 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
2542 it to dwarf2_read_section.
2543 (dwarf2_build_frame_info): Update callers.
2544 * elfread.c (elf_symfile_read): Update call to
2545 elfstab_build_psymtabs.
2546 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
2547 (DBX_STAB_SECTION): New macro.
2548 * stabsread.h (elfstab_build_psymtabs): Update prototype.
2549 * symfile.c (symfile_dummy_outputs): New function.
2550 (symfile_relocate_debug_section): New function.
2551 * symfile.h (symfile_relocate_debug_section): Add prototype.
2552
87d1b352
RH
25532003-01-31 Richard Henderson <rth@redhat.com>
2554
2555 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
2556 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
2557 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
2558 * alpha-tdep.c (alpha_register_name): Add "unique".
2559 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
2560 (ALPHA_UNIQUE_REGNUM): New.
2561 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
2562
c48861fb
AC
25632003-01-31 Andrew Cagney <ac131313@redhat.com>
2564
2565 * README: Remove reference to Ericsson 1800 monitor.
2566 * Makefile.in (remote-es.o): Delete rule.
2567 (ALLDEPFILES): Delete remote-es.c.
2568 * remote-es.c: Delete file.
2569 * config/m68k/es1800.mt: Delete file.
2570 * config/djgpp/fnchange.lst: Update.
2571 * configure.tgt: Delete m68*-ericsson-* target.
2572
d764a824
AF
25732003-01-31 Adam Fedor <fedor@gnu.org>
2574
2575 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
2576 Remove duplicate/shadowing variable of same name.
2577
fe36c4f4
JB
25782003-01-30 Jim Blandy <jimb@redhat.com>
2579
2580 * symfile.c (find_separate_debug_file): Assert that the objfile's
2581 directory name we compute ends with a slash, and then assume that
2582 that's so everywhere we use it.
2583
cb741690
DJ
25842003-01-30 Daniel Jacobowitz <drow@mvista.com>
2585
2586 * valops.c (value_assign): Flush frame cache after stores to memory
2587 also.
2588
96ee5227
AC
25892003-01-30 Andrew Cagney <ac131313@redhat.com>
2590
2591 * Makefile.in (mon960-rom.o): Delete rule.
2592 * mon960-rom.c: Delete file.
2593
7f6104a9
AC
25942003-01-30 Andrew Cagney <ac131313@redhat.com>
2595
2596 * d10v-tdep.c: Include "frame-unwind.h".
2597 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
2598 list.
2599 (next_addr, uses_frame): Delete.
2600 (struct d10v_unwind_cache): Define.
2601 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
2602 Use info instead of next_addr and uses_frame globals.
2603 (d10v_frame_init_saved_regs): Delete function.
2604 (d10v_init_extra_frame_info): Delete function.
2605 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
2606 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
2607 init_frame_pc or frame_saved_pc.
2608 (d10v_pop_frame): Delete function.
2609 (do_d10v_pop_frame): Delete function.
2610 (d10v_frame_chain): Delete function.
2611 (d10v_frame_chain_valid): Delete function.
2612 (d10v_frame_pc_unwind): New function.
2613 (d10v_frame_id_unwind): New function.
2614 (saved_regs_unwinder): New function.
2615 (d10v_frame_register_unwind): New function.
2616 (d10v_frame_pop): New function.
2617 (d10v_frame_unwind): New variable.
2618 (d10v_frame_p): New function.
2619 (d10v_frame_saved_pc): Delete function.
2620 * Makefile.in (d10v-tdep.o): Update dependencies.
2621
cad2e848
JB
26222003-01-30 J. Brobecker <brobecker@gnat.com>
2623
2624 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
2625 causing some regressions due to a change in the default value
2626 for this macro.
2627
af34e669
DJ
26282003-01-29 Richard Henderson <rth@redhat.com>
2629 Elena Zannoni <ezannoni@redhat.com>
2630 Daniel Jacobowitz <drow@mvista.com>
2631
2632 Fix PR gdb/961.
2633 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
2634 variables.
2635 (RANGES_SECTION): New.
2636 (dwarf_ranges_buffer): New variable.
2637 (struct comp_unit_head): Add member "die".
2638 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
2639 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
2640 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
2641 (dwarf2_locate_sections): Likewise.
2642 (dwarf2_build_psymtabs): Read .debug_ranges.
2643 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
2644 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
2645 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
2646 Look for DW_AT_ranges and return the bounding box.
2647
baa93fa6
CF
26482003-01-29 Brian Ford <ford@vss.fsi.com>
2649
2650 * win32-nat.c (cygwin_pid): Removed as unused.
2651 (child_attach): Try fall back to Cygwin pid.
2652
c63f977f
JB
26532003-01-29 Jim Blandy <jimb@redhat.com>
2654
2655 * objfiles.h (struct objfile): Doc fix.
2656
d62d1979
AC
26572003-01-29 Andrew Cagney <ac131313@redhat.com>
2658
2659 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
2660 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
2661 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
2662 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
2663 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
2664 (FRAME_SAVED_PC): Change to a function with predicate.
2665 * gdbarch.h, gdbarch.c: Re-generate.
2666
1ae18a04
AC
26672003-01-28 Andrew Cagney <ac131313@redhat.com>
2668
52287340
AC
2669 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
2670
1ae18a04
AC
2671 * complaints.c (complain): Delete function.
2672 * complaints.h (struct deprecated_complaint): Delete definition.
2673 (complain): Delete declaration.
2674
f2c16bd6
KB
26752003-01-28 Kevin Buettner <kevinb@redhat.com>
2676
2677 * mips-tdep.c (mips_init_extra_frame_info): Return early for
2678 dummy frames.
2679
a94dd1fd
AC
26802003-01-27 Andrew Cagney <ac131313@redhat.com>
2681
2682 * sentinel-frame.h, sentinel-frame.c: New files.
2683 * Makefile.in (frame.o): Update dependencies.
2684 (SFILES): Add sentinel-frame.c.
2685 (sentinel_frame_h): Define.
2686 (COMMON_OBS): Add sentinel-frame.o.
2687 (sentinel-frame.o): Specify dependencies.
2688 * frame.c: Include "sentinel-frame.h".
2689 (frame_register_unwind): Rewrite assuming that there is always a a
2690 ->next frame.
2691 (frame_register, generic_unwind_get_saved_register): Ditto.
2692 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
2693 (create_sentinel_frame, unwind_to_current_frame): New functions.
2694 (get_current_frame): Rewrite using create_sentinel_frame and
2695 unwind_to_current_frame. When possible, always create a frame.
2696 (create_new_frame): Set next to the sentinel frame.
2697 (get_next_frame): Rewrite. Don't go below the level 0 frame.
2698 (deprecated_update_frame_pc_hack): Update the next frame's PC and
2699 ID cache when necessary.
2700 (frame_saved_regs_id_unwind): Use frame_relative_level.
2701 (deprecated_generic_get_saved_register): Use frame_relative_level,
2702 get_frame_saved_regs, get_frame_pc, get_frame_base and
2703 get_next_frame.
2704 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
2705 frame_register.
2706
5378adc4
DJ
27072003-01-27 Daniel Jacobowitz <drow@mvista.com>
2708
2709 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
2710
51ee2ddc
DJ
27112003-01-27 Daniel Jacobowitz <drow@mvista.com>
2712
2713 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
2714 (maintenance_set_profile_cmd): Use error () instead of warning ().
2715
d9feb4e7
DJ
27162003-01-27 Daniel Jacobowitz <drow@mvista.com>
2717
2718 * configure.in: Check that -pg works if using --enable-profiling.
2719 Check for monstartup and _mcleanup regardless of --enable-profiling.
2720 * maint.c: Check for monstartup and _mcleanup before using them.
2721 * config.in: Regenerated.
2722 * configure: Regenerated.
2723
2d188dd3
NC
27242003-01-24 Nick Clifton <nickc@redhat.com>
2725
2726 * Add sh2e support:
2727
2728 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
2729
2730 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
2731 (sh2e_show_regs): New.
2732 (sh_gdbarch_init): Handle bfd_mach_sh2e.
2733 * config/sh/tm-sh.h: Added sh2e to comments.
2734
cb3c37b2
JB
27352003-01-23 Jim Blandy <jimb@redhat.com>
2736
2737 * symfile.c (syms_from_objfile): Don't print the "(no debugging
2738 symbols found)" message here; we haven't checked for a separate
2739 debug info file yet, so we don't know yet.
2740 (symbol_file_add_with_addrs_or_offsets): Print it here, after
2741 we've looked everywhere. Also, there's no need to print a special
2742 message when we're loading the separate debug info file: the one
2743 symbol_file_add prints is fine.
2744
5b5d99cf
JB
27452003-01-23 Alexander Larsson <alexl@redhat.com>
2746 Jim Blandy <jimb@redhat.com>
2747
2748 Add support for executables whose debug info has been separated
2749 out into a separate file, leaving only a link behind.
2750 * objfiles.h (struct objfile): New fields: separate_debug_objfile
2751 and separate_debug_objfile_backlink.
2752 (put_objfile_before): New declaration.
2753 * symfile.c: #include "filenames.h".
2754 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
2755 debug info in a separate file, read that, too. Save the addrs
2756 argument, so we can use it again to read the separated debug info;
2757 syms_from_objfile modifies the table we pass it.
2758 (reread_symbols): After re-reading an objfile, call
2759 reread_separate_symbols to refresh its separate debug info
2760 objfile, if it has one.
2761 (reread_separate_symbols, find_separate_debug_file,
2762 get_debug_link_info, separate_debug_file_exists): New functions.
2763 (debug_file_directory): New global var.
2764 (_initialize_symfile): Initialize debug_file_directory, and
2765 provide the new `set debug-file-directory' command to let the user
2766 change it.
2767 * objfiles.c (free_objfile): If this objfile has its debug info in
2768 a separate objfile, free that one too. If this is itself a
2769 separate debug info objfile, clear our parent's backlink.
2770 (put_objfile_before): New function.
2771 * utils.c (gnu_debuglink_crc32): New function.
2772 * defs.h (gnu_debuglink_crc32): New declaration.
2773 * Makefile.in (symfile.o): Note dependency on "filenames.h".
2774 * configure.in: Handle --with-separate-debug-dir config option.
2775 * acinclude.m4 (AC_DEFINE_DIR): New macro.
2776 * acconfig.h (DEBUGDIR): New macro.
2777 * configure, aclocal.m4, config.in: Regenerated.
2778
7e8580c1
JB
27792003-01-22 Jim Blandy <jimb@redhat.com>
2780
7904e09f
JB
2781 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
2782 like the old symbol_file_add, but taking new arguments: you can
2783 now pass in either a `struct section_addr_info' list to say where
2784 each section is loaded, or a `struct section_offsets' table. Pass
2785 these new arguments through to syms_from_objfile as appropriate.
2786 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
2787 with the appropriate quiescent values for the new arguments.
2788
7e8580c1
JB
2789 * symfile.c: #include "gdb_assert.h".
2790 (syms_from_objfile): Add the ability to pass in a section offset
2791 table directly, as an alternative to the section_addr_info table.
2792 Document arguments better.
2793 (symbol_file_add): Pass extra arguments to syms_from_objfile.
2794 * symfile.h (syms_from_objfile): Update declaration.
2795 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
2796 syms_from_objfile.
2797 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
2798
d28f9cdf
DJ
27992003-01-22 Daniel Jacobowitz <drow@mvista.com>
2800
2801 Original patch by Tom Tromey <tromey@cygnus.com> and
2802 Jason Molenda <jmolenda@apple.com>.
2803 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
2804 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
2805 * NEWS: Mention profiling.
2806 * configure.in (--enable-gdbtk): Fix typo.
2807 (--enable-profiling): New. Set PROFILE_CFLAGS.
2808 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
2809 Fill in function.
2810 (profiling_state): New variable.
2811 (mcleanup_wrapper): New function.
2812 (_initialize_maint): Remove NOTYET, fix call to
2813 add_setshow_boolean_cmd for "maint set profile".
2814 * configure: Regenerated.
2815
df21e465
MH
28162003-01-21 Martin M. Hunt <hunt@redhat.com>
2817
2818 * Makefile.in (install-gdbtk): Install PNG images too.
2819
73c1f219
AC
28202003-01-21 Andrew Cagney <ac131313@redhat.com>
2821
2822 * exec.c (text_start): Delete global variable.
2823 (exec_file_attach): Make text_start local to the function.
2824 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
2825 * valops.c (hand_function_call): Delete code that handles
2826 BEFORE_TEXT_END and AFTER_TEXT_END.
2827 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
2828 of CALL_DUMMY_LOCATION.
2829 * gdbarch.c: Regenerate.
2830 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
2831 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
2832 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
2833 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
2834 (text_end): Delete extern declaration.
2835
eb4f72c5
AC
28362003-01-21 Andrew Cagney <ac131313@redhat.com>
2837
2838 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
2839 * blockframe.c (backtrace_below_main): Move to "frame.c".
2840 (frame_chain_valid): Delete check for backtrace_below_main.
2841 (_initialize_blockframe): Delete initialization, move ``set
2842 backtrace-below-main'' command to "frame.c".
2843 (do_flush_frames_sfunc): Delete function.
2844 * frame.c: Include "command.h" and "gdbcmd.h".
2845 (frame_type_from_pc): New function.
2846 (create_new_frame): Use frame_type_from_pc.
2847 (legacy_get_prev_frame): New function.
2848 (get_prev_frame): Rewrite. When an old style frame, call
2849 legacy_get_prev_frame. Otherwize, unwind the PC first.
2850 (_initialize_frame): Add ``set backtrace-below-main'' command.
2851 * Makefile.in (frame.o): Update dependencies.
2852
778ce8cc
AC
28532003-01-19 Andrew Cagney <ac131313@redhat.com>
2854
2855 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
2856 DEPRECATED_REGISTERS_INFO.
2857
01c193c8
AC
28582003-01-19 Andrew Cagney <ac131313@redhat.com>
2859
2860 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
2861 Maintainers'. Update `Various Maintainers'.
2862
dedc2a2b
AC
28632003-01-19 Andrew Cagney <ac131313@redhat.com>
2864
2865 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
2866 * gdbarch.sh (POP_FRAME): Change to function with predicate.
2867 Suppress actual parameters when `-'.
2868 * gdbarch.h, gdbarch.c: Regenerate.
2869
b7261c70
AC
28702003-01-19 Andrew Cagney <ac131313@redhat.com>
2871
2872 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
2873 code handling dummy frames.
2874
dbe9fe58
AC
28752003-01-19 Andrew Cagney <ac131313@redhat.com>
2876
2877 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
2878 (struct frame_unwind): Add field pop.
2879 * frame.h (frame_pop): Declare.
2880 * frame.c (frame_saved_regs_pop): New function.
2881 (trad_frame_unwinder): Add frame_saved_regs_pop.
2882 (frame_pop): New function.
2883 * dummy-frame.c (dummy_frame_pop): New function.
2884 (discard_innermost_dummy): New function.
2885 (generic_pop_dummy_frame): Use discard_innermost_dummy.
2886 (dummy_frame_unwind): Add dummy_frame_pop.
2887 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
2888 * valops.c (hand_function_call): Ditto.
2889 * stack.c (return_command): Ditto.
2890
570b8f7c
AC
28912003-01-18 Andrew Cagney <ac131313@redhat.com>
2892
2893 * cris-tdep.c: Fix function declaration indentation.
2894 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
2895 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
2896 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
2897 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
2898 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
2899 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
2900
29012003-01-18 Michael Chastain <mec@shout.net>
eaec4d85
MC
2902
2903 * README (Unpacking and Installation -- quick overview):
2904 Warn against ".../gdb-5.3/gdb/configure".
2905
494cca16
AC
29062003-01-18 Andrew Cagney <ac131313@redhat.com>
2907
2908 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
2909 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
2910 (struct frame_unwind): Declare opaque.
2911 (dummy_frame_p): Declare function.
2912 * dummy-frame.c (dummy_frame_id_unwind): Make static.
2913 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
2914 * dummy-frame.c: Include "frame-unwind.h".
2915 (dummy_frame_p): New function.
2916 (dummy_frame_unwind): New variable.
2917 * frame.c: Include "frame-unwind.h".
2918 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
2919 to use the new unwind field.
2920 (set_unwind_by_pc): Delete function.
2921 (create_new_frame, get_prev_frame): Set unwind field using
2922 frame_unwind_find_by_pc.
2923 (trad_frame_unwind, trad_frame_unwinder): New variables.
2924 * frame.h (trad_frame_unwind): Declare variable.
2925 (frame_id_unwind_ftype): Delete declaration.
2926 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
2927 (struct frame_unwind): Declare opaque.
2928 (struct frame_info): Replace the fields id_unwind, pc_unwind and
2929 register_unwind with a single unwind pointer.
2930 * frame-unwind.h, frame-unwind.c: New files.
2931 * Makefile.in (SFILES): Add frame-unwind.c.
2932 (frame_unwind_h): Define.
2933 (COMMON_OBS): Add frame-unwind.o.
2934 (frame-unwind.o): Specify dependencies.
2935 (frame.o, dummy-frame.o): Update dependencies.
2936
4efb68b1
AC
29372003-01-18 Andrew Cagney <ac131313@redhat.com>
2938
2939 * ada-valprint.c: Eliminate PTR.
2940 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
2941 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
2942 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
2943 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
2944 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
2945 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
2946 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
2947
a84d24ee
AC
29482003-01-17 Andrew Cagney <ac131313@redhat.com>
2949
762f08a3
AC
2950 * main.c (captured_main): Don't use PTR.
2951 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
2952 * gdbtypes.c (lookup_primitive_typename): Ditto.
2953 (lookup_struct_elt_type): Ditto.
2954 * f-valprint.c (info_common_command): Ditto.
2955 (list_all_visible_commons): Ditto.
2956 * jv-typeprint.c (java_type_print_base): Ditto.
2957
a84d24ee
AC
2958 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
2959 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
2960 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
2961 i386-interix-nat.c and i386-interix-tdep.c. Rename
2962 m68klinux-nat.c and m68klinux-tdep.c. Rename
2963 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
2964 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
2965 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
2966 * main.c (captured_main): Use xfree, not free.
2967
c170fb60
AC
29682003-01-16 Andrew Cagney <ac131313@redhat.com>
2969
2970 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
2971 ID back using a parameter.
2972 * frame.c (frame_id_unwind): Update call.
2973 (frame_saved_regs_id_unwind): Update.
2974 * dummy-frame.c (dummy_frame_id_unwind): Update function.
2975 * dummy-frame.h (struct frame_id): Add opaque declaration.
2976 (dummy_frame_id_unwind): Update declaration.
2977
867f3898
AC
29782003-01-15 Andrew Cagney <ac131313@redhat.com>
2979
2980 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
2981
40622be8 29822003-01-15 Stephen P. Smith <ischis2@cox.net>
de3a8c23 2983
40622be8 2984 * MAINTAINERS (Stephen P. Smith): Updated email address.
de3a8c23 2985
ae66c1fc
EZ
29862003-01-14 Elena Zannoni <ezannoni@redhat.com>
2987
997b089a 2988 Fix PR gdb/898
ae66c1fc
EZ
2989 * breakpoint.c (until_break_command): Add new argument. Use it to
2990 decide whether to stop only at the current frame or not.
2991 * breakpoint.h (until_break_command): Update prototype.
2992 * infcmd.c (until_command): Add new argument to until_break_command
2993 call.
2994 (advance_command): New function.
2995 (_initialize_infcmd): Update help string for 'until' command.
2996 Add new 'advance' command.
2997
a04257e6
DC
29982003-01-14 David Carlton <carlton@math.stanford.edu>
2999
3000 * linespec.c (decode_line_1): Normalize comments.
3001 (set_flags): Ditto.
3002 (locate_first_half): Ditto.
3003 (decode_compound): Ditto.
3004 (symtab_from_filename): Ditto.
3005 (decode_all_digits): Ditto.
3006 (decode_dollar): Ditto.
3007 (find_methods): Ditto.
3008 (find_toplevel_char): Ditto.
3009
1bac305b
AC
30102003-01-13 Andrew Cagney <ac131313@redhat.com>
3011
3012 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
3013 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
3014 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
3015 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
3016 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
3017 * language.c, language.h, m32r-tdep.c: Update copyright.
3018 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
3019 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
3020 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
3021 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
3022 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
3023 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
3024
25caa7a8
EZ
30252003-01-13 Elena Zannoni <ezannoni@redhat.com>
3026
3027 * stabsread.h (process_later, resolve_cfront_continuation):
3028 Obsolete.
3029 Update copyright years.
3030 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
3031 Update copyright year.
3032 * dbxread.c(struct cont_elem): Obsolete.
3033 (process_later, process_now): Obsolete functions.
3034 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
3035 Update copyright year.
3036 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
3037 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
3038 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
3039 (parse_partial_symbols): Obsolete cfront support.
3040 * stabsread.c
3041 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
3042 macros.
3043 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
3044 read_cfront_baseclasses, read_cfront_member_functions,
3045 resolve_cfront_continuation,read_cfront_static_fields,
3046 copy_cfront_struct_fields): Obsolete functions.
3047 (define_symbol, read_one_struct_field): Obsolete cfront support.
3048 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
3049 Update Copyright year.
3050
7789c6f5
EZ
30512003-01-13 Elena Zannoni <ezannoni@redhat.com>
3052
3053 * stack.c (print_frame_info, print_stack_frame_base_stub,
3054 print_stack_frame_base, show_and_print_stack_frame_stub,
3055 show_and_print_stack_frame, print_only_stack_frame_stub,
3056 print_only_stack_frame): Delete functions.
3057 (print_stack_frame_stub): Call print_frame_info instead of
3058 print_frame_info_base.
3059 (print_frame_info_base): Rename to print_frame_info.
3060 (backtrace_command_1): Call print_frame_info, instead of
3061 print_frame_info_base.
3062 (current_frame_command): Call print_stack_frame, instead of
3063 print_only_stack_frame.
3064 (frame_command): Call print_stack_frame, instead of
3065 show_and_print_stack_frame.
3066 (up_command): Ditto.
3067 (down_command): Ditto.
3068 * frame.h (print_only_stack_frame): Delete prototype.
3069 * infrun.c (normal_stop): Call print_stack_frame, instead of
3070 show_and_print_stack_frame.
3071 * thread.c (info_threads_command): Call print_stack_frame, instead
3072 of print_only_stack_frame.
3073
3f5a3016
AC
30742003-01-13 Andrew Cagney <ac131313@redhat.com>
3075
d99ba314
AC
3076 * README (Graphical interface to GDB): Update URL. Point at
3077 gdb/links/.
3078
3f5a3016
AC
3079 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
3080 version match.
3081
083ae935
DJ
30822003-01-13 Daniel Jacobowitz <drow@mvista.com>
3083
3084 * symtab.c (find_pc_sect_line): Don't consider end-of-function
3085 lines.
3086
5365276c
DJ
30872003-01-13 Daniel Jacobowitz <drow@mvista.com>
3088
3089 * thread-db.c (attach_thread): Prototype.
3090 (struct private_thread_info): Remove lwpid. Add thread handle (th),
3091 thread information (ti), and valid flags (th_valid, ti_valid).
3092 (attach_thread): Move target_pid_to_str call to after the thread
3093 is added to GDB's list. Initialize the cache.
3094 (thread_get_info_callback, thread_db_map_id2thr)
3095 (thread_db_get_info): New functions.
3096 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
3097 (thread_db_store_registers, thread_db_thread_alive)
3098 (thread_db_get_thread_local_address): Use them.
3099 (thread_db_pid_to_str): Likewise. Return "Missing" instead
3100 of calling error() for threads in unknown state.
3101
3102 (clear_lwpid_callback): New function.
3103 (thread_db_resume): Use it to clear the cache.
3104
9fc30b6b
DJ
31052003-01-13 Daniel Jacobowitz <drow@mvista.com>
3106
3107 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
3108 (resume_callback): Remove dead code.
3109
8f871025
AC
31102003-01-13 Andrew Cagney <ac131313@redhat.com>
3111
3112 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
3113 predicate.
3114 * gdbarch.h, gdbarch.c: Regenerate.
3115 * stack.c (frame_info): Only initialize the saved registers when
3116 FRAME_INIT_SAVED_REGS_P.
3117 * frame.c (frame_saved_regs_register_unwind): Assert
3118 FRAME_INIT_SAVED_REGS_P.
3119 (deprecated_generic_get_saved_register): Ditto.
3120
3f565f1e
DJ
31212003-01-13 Daniel Jacobowitz <drow@mvista.com>
3122
3123 * source.c (openp): Squelch warning about "filename".
3124
072b1022
DJ
31252003-01-13 Daniel Jacobowitz <drow@mvista.com>
3126
3127 * source.c (openp): If the file does not exist don't necessarily
3128 search the path.
3129
973ccf8b
DJ
31302003-01-13 Daniel Jacobowitz <drow@mvista.com>
3131
3132 Fix PR gdb/872.
3133 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
3134 (integer_types_same_name_p): New function.
3135 (rank_one_type): Use it.
3136 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
3137
030292b7
DJ
31382003-01-13 Daniel Jacobowitz <drow@mvista.com>
3139
3140 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
3141 variables.
3142 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
3143 * configure.in: Add --with-sysroot.
3144 * configure: Regenerated.
3145 * main.c (gdb_sysroot): New variable.
3146 (captured_main): Initialize gdb_sysroot.
3147 * defs.h (gdb_sysroot): New extern declaration.
3148 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
3149
afb5d334
MC
31502003-01-12 Michael Chastain <mec@shout.net>
3151
3152 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
3153
751ceeb4
MC
31542003-01-12 Michael Chastain <mec@shout.net>
3155
3156 * top.c (print_gdb_version): Bump copyright year to 2003.
3157
94cd26f8
DC
31582003-01-12 David Carlton <carlton@bactrian.org>
3159
3160 * linespec.c (symtab_from_filename): Rename variable 's' to
3161 'file_symtab'.
3162
1ce79225
AC
31632003-01-12 Andrew Cagney <ac131313@redhat.com>
3164
3165 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
3166 dummy frame.
3167 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
3168
fa1fd571
AC
31692003-01-12 Andrew Cagney <ac131313@redhat.com>
3170
3171 * d10v-tdep.c: Include "gdb_assert.h".
3172 (d10v_store_return_value): Rewrite to match current interface.
3173 (d10v_extract_struct_value_address): Ditto.
3174 (d10v_extract_return_value): Ditto.
3175 (d10v_gdbarch_init): Set store_restore_value,
3176 extract_struct_value_address and extract_return_value.
3177
68b8d23e
JB
31782003-01-12 J. Brobecker <brobecker@gnat.com>
3179
3180 * hpread.c (set_namestring): New procedure replacing the
3181 SET_NAMESTRING macro.
3182 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
3183 by calls to set_namestring.
3184
31852003-01-11 J. Brobecker <brobecker@gnat.com>
1fb309ea
JB
3186
3187 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
3188 a compilation warning.
3189 (hpread_process_one_debug_symbol): Likewise.
3190
88d262ca
DC
31912003-01-10 David Carlton <carlton@math.stanford.edu>
3192
3193 * linespec.c (decode_line_1): Rename variable 's' to
3194 'file_symtab'.
3195 (decode_all_digits): Rename argument 's' to 'file_symtab'.
3196 (decode_dollar): Ditto.
3197 (decode_variable): Ditto.
3198 (symbol_found): Ditto.
3199
86669319
MC
32002003-01-09 Michael Chastain <mec@shout.net>
3201
3202 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
3203
616a9dc4
CV
32042003-01-07 Corinna Vinschen <vinschen@redhat.com>
3205
3206 * win32-nat.c (set_process_privilege): New function.
3207 (child_attach): Call set_process_privilege() to enable the
3208 SE_DEBUG_NAME user privilege if available in process token.
3209
3269bcfa
JB
32102003-01-10 J. Brobecker <brobecker@gnat.com>
3211
3212 * hpread.c (hpread_process_one_debug_symbol): Fix a small
3213 compilation error in the previous revision.
3214
2b0ee454
DC
32152003-01-09 David Carlton <carlton@math.stanford.edu>
3216
3217 * linespec.c: Update copyright.
3218
b3ba1b44
DJ
32192003-01-09 Daniel Jacobowitz <drow@mvista.com>
3220
3221 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
3222 than inferior_ptid.
3223 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
3224
4ef3f3be
AC
32252003-01-09 Andrew Cagney <ac131313@redhat.com>
3226
479ab5a0
AC
3227 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
3228 Update comments.
3229 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
3230 (frame_saved_regs_zalloc): Update.
3231 (frame_saved_regs_register_unwind): Update.
3232 (create_new_frame): Update.
3233 (get_prev_frame): Update.
3234 (frame_extra_info_zalloc): Update.
3235 (deprecated_get_frame_saved_regs): Update.
3236 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
3237 * cris-tdep.c: Update comment.
3238
bde58177
AC
3239 * somsolib.h: Fix function indentation.
3240 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
3241 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
3242 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
3243 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
3244 * somsolib.c, inftarg.c: Remove assignment in if conditional.
3245
4ef3f3be
AC
3246 * infrun.c (follow_fork): Use ISO C definition.
3247 * expprint.c (print_subexp): Use xfree instead of free.
3248 * charset.c: Include "gdb_string.h" instead of <string.h>.
3249 (register_iconv_charsets): Use ISO C definition.
3250 (host_charset, target_charset): Ditto.
3251 * Makefile.in (charset.o): Update dependencies.
3252 (mi-cmd-env.o): Update dependencies.
3253
1c615f7a
AC
32542003-01-08 Andrew Cagney <cagney@redhat.com>
3255
3256 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
3257 get_frame_base.
3258
c9a1dc08
AC
32592003-01-08 Andrew Cagney <ac131313@redhat.com>
3260
3261 * gdb_mbuild.sh: Add --keep option. When specified, keep the
3262 build directories. Save edited gdb output in Mbuild.log. If a
3263 build fails, remove any final GDB executable.
3264
dbad9d94
AC
32652003-01-08 Andrew Cagney <ac131313@redhat.com>
3266
3267 * gdb_mbuild.sh: Edit the output of `maint print architecture'
3268 replacing hex constants with function names and stripping leading
3269 file name directory prefixes.
3270
8d357cca
AC
32712003-01-08 Andrew Cagney <cagney@redhat.com>
3272
3273 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
3274 get_frame_base.
3275
bca02a8a
DC
32762003-01-08 David Carlton <carlton@math.stanford.edu>
3277
3278 * linespec.c (decode_line_1): Move code into decode_variable.
3279 (decode_variable): New function.
3280
7f8ab3a0
AC
32812003-01-08 Andrew Cagney <ac131313@redhat.com>
3282
3283 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
3284
7b5849cc
AC
32852003-01-08 Andrew Cagney <cagney@redhat.com>
3286
3287 * cris-tdep.c (cris_frame_init_saved_regs): Use
3288 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
3289 saved_regs buffer.
3290 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
3291 (sh64_nofp_frame_init_saved_regs): Ditto.
3292 (sh_fp_frame_init_saved_regs): Ditto.
3293 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
3294 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
3295 * mcore-tdep.c (analyze_dummy_frame): Ditto.
3296 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3297
72a5efb3
DJ
32982003-01-08 Daniel Jacobowitz <drow@mvista.com>
3299
3300 * minsyms.c (lookup_minimal_symbol): Update comment.
3301 (lookup_minimal_symbol_text): Update comment. Use the hash table.
3302 (lookup_minimal_symbol_solib_trampoline): Likewise.
3303
11c02a10
AC
33042003-01-08 Andrew Cagney <cagney@redhat.com>
3305
aab3ea25
AC
3306 * d10v-tdep.c (d10v_init_extra_frame_info): Use
3307 frame_relative_level.
3308
da50a4b7
AC
3309 * alpha-tdep.c: Use get_frame_extra_info.
3310 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3311 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
3312 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
3313 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
3314
11c02a10
AC
3315 * alpha-tdep.c: Use get_next_frame.
3316 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3317 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
3318 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
3319 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
3320 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
3321 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
3322 * xstormy16-tdep.c: Ditto.
3323
1e2330ba
AC
33242003-01-07 Andrew Cagney <cagney@redhat.com>
3325
3326 * alpha-tdep.c: Use get_frame_base.
3327 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3328 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
3329 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
3330 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
3331 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
3332 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
3333 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
3334 * config/sparc/tm-sparc.h: Ditto.
3335
2d75187b
AC
33362003-01-07 Andrew Cagney <cagney@redhat.com>
3337
3338 * frame.c (deprecated_get_frame_context): New function.
3339 (deprecated_set_frame_context): New function.
3340 * frame.h (deprecated_get_frame_context): Declare.
3341 (deprecated_set_frame_context): Declare.
3342 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
3343 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
3344
483d36b2
AC
33452003-01-07 Andrew Cagney <cagney@redhat.com>
3346
3347 * frame.c (deprecated_set_frame_next_hack): New function.
3348 (deprecated_set_frame_prev_hack): New function.
3349 * frame.h (deprecated_set_frame_next_hack): Declare.
3350 (deprecated_set_frame_prev_hack): Declare.
3351 * mcore-tdep.c (analyze_dummy_frame): Use
3352 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
3353 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3354
14e91ac5
DC
33552003-01-07 David Carlton <carlton@math.stanford.edu>
3356
3357 * linespec.c (decode_line_1): Move code into decode_dollar.
3358 (decode_dollar): New function.
3359
b0c6b05c
AC
33602003-01-07 Andrew Cagney <cagney@redhat.com>
3361
3362 * arm-tdep.c (arm_init_extra_frame_info): Use
3363 deprecated_update_frame_base_hack.
3364 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
3365 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3366 (fix_frame_pointer): Ditto.
3367 (mn10300_analyze_prologue): Ditto.
3368
a00a19e9
AC
33692003-01-07 Andrew Cagney <cagney@redhat.com>
3370
3371 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
3372 extra_info using frame_extra_info_zalloc.
3373 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
3374 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
3375 (sh64_init_extra_frame_info): Ditto.
3376 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
3377 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
3378 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
3379 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
3380 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
3381 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
3382 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
3383 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
3384 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
3385 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
3386 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
3387 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
3388
3389 * mn10300-tdep.c (analyze_dummy_frame): Use
3390 deprecated_set_frame_extra_info_hack.
3391 * mcore-tdep.c (analyze_dummy_frame): Ditto.
3392
1fb4c65b
JB
33932003-01-07 J. Brobecker <brobecker@gnat.com>
3394
3395 * mdebugread.c (parse_symbol): Skip stProc entries which storage
3396 class is not scText. These do not define "real" procedures.
3397 (parse_partial_symbols): Likewise.
3398
9fe7d6bf
MS
33992003-01-06 Michael Snyder <msnyder@redhat.com>
3400
3401 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
3402
f6c609c4
AC
34032003-01-06 Andrew Cagney <ac131313@redhat.com>
3404
3405 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
3406 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
3407 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
3408 deprecated_frame_xmalloc_with_cleanup.
3409 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
3410 deprecated_frame_xmalloc.
3411 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
3412 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
3413
d995ff4b
AC
34142003-01-06 Andrew Cagney <cagney@redhat.com>
3415
84dc46cb
AC
3416 * x86-64-linux-tdep.c: Include "osabi.h".
3417 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
3418
d995ff4b
AC
3419 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
3420
66140c26
AC
34212003-01-06 Andrew Cagney <cagney@redhat.com>
3422
3423 * MAINTAINERS (Target Instruction Set Architectures): Update
3424 arm-elf. Can be built with -Werror, has been multiarched.
3425
3426 * value.h (unpack_long): Make buffer parameter constant.
3427 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
3428 * scm-lang.h (scm_parse): Ditto.
3429 * defs.h (extract_typed_address, extract_address): Ditto.
3430 (extract_long_unsigned_integer): Ditto.
3431 * inferior.h (unsigned_pointer_to_address): Ditto.
3432 (signed_pointer_to_address): Ditto.
3433 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
3434 * gdbarch.h, gdbarch.c: Regenerate.
3435 * findvar.c (extract_long_unsigned_integer): Update.
3436 (extract_address): Update.
3437 (extract_typed_address): Update.
3438 (unsigned_pointer_to_address): Update.
3439 * values.c (unpack_long): Update.
3440 (unpack_double): Update.
3441 (unpack_pointer): Update.
3442 (unpack_field_as_long): Update.
3443 * d10v-tdep.c (d10v_pointer_to_address): Update.
3444 * avr-tdep.c (avr_pointer_to_address): Update.
3445 * scm-lang.c (scm_unpack): Update.
3446 * findvar.c (signed_pointer_to_address): Update.
3447
b089b3da
ML
34482003-01-06 Michal Ludvig <mludvig@suse.cz>
3449
3450 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
3451 since it is in i386-tdep.c.
3452
aff87235
JB
34532003-01-06 J. Brobecker <brobecker@gnat.com>
3454
3455 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
3456 failure introduced in the previous change.
3457
34f5e845
MC
34582003-01-05 Michael Chastain <mec@shout.net>
3459
3460 * README: Remove references to deleted remote-*.c files:
3461 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
3462 remote-nrom.c, remote-os9k.c, remote-udi.c.
3463
28bcfd30
MK
34642003-01-05 Mark Kettenis <kettenis@gnu.org>
3465
3466 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
3467 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
3468 i386_get_longjmp_target.
3469
15a5b3ee
AC
34702003-01-05 Andrew Cagney <ac131313@redhat.com>
3471
3472 * arm-tdep.c (prologue_cache): Change to a pointer.
3473 (_initialize_arm_tdep): Allocate prologue_cache.
3474 (check_prologue_cache): Update.
3475 (save_prologue_cache): Update.
3476 (arm_gdbarch_init): Update.
3477
c263362b
DJ
34782003-01-04 Daniel Jacobowitz <drow@mvista.com>
3479
3480 * stabsread.c (update_method_name_from_physname): Call complaint()
3481 instead of error.
3482
51603483
DJ
34832003-01-04 Daniel Jacobowitz <drow@mvista.com>
3484
3485 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
3486 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
3487 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
3488
3489 * blockframe.c: Include "gdbcmd.h" and "command.h".
3490 (backtrace_below_main): New variable.
3491 (file_frame_chain_valid, func_frame_chain_valid)
3492 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
3493 (generic_func_frame_chain_valid): Remove functions.
3494 (frame_chain_valid, do_flush_frames_sfunc): New functions.
3495 (_initialize_blockframe): New function.
3496 * Makefile.in (blockframe.o): Update dependencies.
3497 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
3498 comment. Call frame_chain_valid ().
3499 * frame.h: Remove old prototypes. Add prototype for
3500 frame_chain_valid and update comments to match.
3501 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
3502 Remove old comment.
3503 * gdbarch.h: Regenerated.
3504 * gdbarch.c: Regenerated.
3505
3506 * alpha-tdep.c (alpha_gdbarch_init): Don't call
3507 set_gdbarch_frame_chain_valid.
3508 * avr-tdep.c (avr_gdbarch_init): Likewise.
3509 * cris-tdep.c (cris_gdbarch_init): Likewise.
3510 * frv-tdep.c (frv_gdbarch_init): Likewise.
3511 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
3512 * i386-tdep.c (i386_svr4_init_abi): Likewise.
3513 (i386_nw_init_abi): Likewise.
3514 (i386_gdbarch_init): Likewise.
3515 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
3516 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
3517 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
3518 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
3519 * mips-tdep.c (mips_gdbarch_init): Likewise.
3520 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
3521 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
3522 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
3523 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3524 * s390-tdep.c (s390_gdbarch_init): Likewise.
3525 * sh-tdep.c (sh_gdbarch_init): Likewise.
3526 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3527 * v850-tdep.c (v850_gdbarch_init): Likewise.
3528 * vax-tdep.c (vax_gdbarch_init): Likewise.
3529 * x86-64-tdep.c (x86_64_init_abi): Likewise.
3530
3531 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
3532 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
3533 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
3534 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
3535 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
3536 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
3537 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
3538 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
3539
b00a8037
DJ
35402002-01-04 Daniel Jacobowitz <drow@mvista.com>
3541
3542 * Makefile.in (acconfig_h): Remove incorrect macro.
3543 (config_h): Define.
3544 (osabi.o): Update dependencies.
3545 * configure.tgt: Set gdb_osabi based on target triplet.
3546 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
3547 * configure: Regenerated.
3548 * config.in: Regenerated.
3549 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
3550 (GDB_OSABI_DEFAULT): Define if not already defined.
3551 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
3552 (set_osabi_string): New variables.
3553 (gdbarch_register_osabi): Add new OS ABI to
3554 gdb_osabi_available_names.
3555 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
3556 (set_osabi, show_osabi): New functions.
3557 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
3558
4be87837
DJ
35592003-01-04 Daniel Jacobowitz <drow@mvista.com>
3560
3561 * arch-utils.c (gdbarch_info_init): Set osabi to
3562 GDB_OSABI_UNINITIALIZED.
3563 * gdbarch.sh: Add osabi to struct gdbarch and to struct
3564 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
3565 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
3566 * gdbarch.c: Regenerated.
3567 * gdbarch.h: Regenerated.
3568 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
3569 there's no BFD.
3570 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
3571 * osabi.h (enum gdb_osabi): Move to defs.h.
3572 (gdbarch_init_osabi): Update prototype.
3573 * defs.h (enum gdb_osabi): Moved here.
3574 * Makefile.in: Update dependencies.
3575
3576 * alpha-tdep.h: Don't include "osabi.h".
3577 (struct gdbarch_tdep): Remove osabi member.
3578 * alpha-tdep.c: Include "osabi.h".
3579 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3580 iterate over arches. Update call to gdbarch_init_osabi.
3581 (alpha_dump_tdep): Don't dump osabi.
3582 * alpha-linux-tdep.c: Include "osabi.h".
3583 * alpha-osf1-tdep.c: Include "osabi.h".
3584 * alphafbsd-tdep.c: Include "osabi.h".
3585 * alphanbsd-tdep.c: Include "osabi.h".
3586
3587 * arm-tdep.h: Don't include "osabi.h".
3588 (struct gdbarch_tdep): Remove osabi member.
3589 * arm-tdep.c: Include "osabi.h".
3590 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3591 iterate over arches. Update call to gdbarch_init_osabi.
3592 (arm_dump_tdep): Don't dump osabi.
3593 * arm-linux-tdep.c: Include "osabi.h".
3594 * armnbsd-tdep.c: Include "osabi.h".
3595
3596 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
3597 Update call to gdbarch_init_osabi.
3598
3599 * i386-tdep.h: Don't include "osabi.h".
3600 (struct gdbarch_tdep): Remove osabi member.
3601 * i386-tdep.c: Include "osabi.h".
3602 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3603 iterate over arches. Update call to gdbarch_init_osabi.
3604 (i386_dump_tdep): Don't dump osabi.
3605 * i386-linux-tdep.c: Include "osabi.h".
3606 * i386-sol2-tdep.c: Include "osabi.h".
3607 * i386bsd-tdep.c: Include "osabi.h".
3608 * i386gnu-tdep.c: Include "osabi.h".
3609 * i386ly-tdep.c: Include "osabi.h".
3610 * i386nbsd-tdep.c: Include "osabi.h".
3611 * i386obsd-tdep.c: Include "osabi.h".
3612
3613 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
3614 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3615 check osabi when iterating over arches. Update call to
3616 gdbarch_init_osabi.
3617 (mips_dump_tdep): Don't dump osabi.
3618
3619 * ns32k-tdep.h: Don't include "osabi.h".
3620 (struct gdbarch_tdep): Remove.
3621 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
3622 gdbarch_lookup_osabi. Don't iterate over arches. Don't
3623 allocate tdep. Update call to gdbarch_init_osabi.
3624 (ns32k_dump_tdep): Remove.
3625 (_initialize_ns32k_tdep): Update call to gdbarch_register.
3626 * ns32knbsd-tdep.c: Include "osabi.h".
3627
3628 * ppc-tdep.h: Don't include "osabi.h".
3629 (struct gdbarch_tdep): Remove osabi member.
3630 * rs6000-tdep.c: Include "osabi.h".
3631 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
3632 osabi when iterating over arches. Update call to
3633 gdbarch_init_osabi.
3634 (rs6000_dump_tdep): Don't dump osabi.
3635 * ppc-linux-tdep.c: Include "osabi.h".
3636 * ppcnbsd-tdep.c: Include "osabi.h".
3637
3638 * sh-tdep.h: Don't include "osabi.h".
3639 (struct gdbarch_tdep): Remove osabi member.
3640 * sh-tdep.c: Include "osabi.h".
3641 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3642 iterate over arches. Update call to gdbarch_init_osabi.
3643 (sh_dump_tdep): Don't dump osabi.
3644 * shnbsd-tdep.c: Include "osabi.h".
3645
3646 * sparc-tdep.c: Include "osabi.h".
3647 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3648 iterate over arches. Update call to gdbarch_init_osabi.
3649 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
3650 tdep structure.
3651
3652 * vax-tdep.h: Don't include "osabi.h".
3653 (struct gdbarch_tdep): Remove.
3654 * vax-tdep.c: Include "osabi.h".
3655 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3656 iterate over arches. Don't allocate tdep. Update call
3657 to gdbarch_init_osabi.
3658 (vax_dump_tdep): Remove.
3659 (_initialize_vax_tdep): Update call to gdbarch_register.
3660
a881cf8e
DJ
36612003-01-04 Daniel Jacobowitz <drow@mvista.com>
3662
3663 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
3664 entirely.
3665 (breakpoint_re_set_one): Don't fetch the value for a disabled
3666 watchpoint.
3667
1e698235
DJ
36682003-01-04 Daniel Jacobowitz <drow@mvista.com>
3669
3670 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
3671 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
3672 (COERCE_FLOAT_TO_DOUBLE): Remove.
3673 * gdbarch.c: Regenerate.
3674 * gdbarch.h: Regenerate.
3675 * Makefile.in: Remove value_h from gdbarch_h.
3676 * valops.c (coerce_float_to_double): New variable.
3677 (default_coerce_float_to_double): Remove.
3678 (standard_coerce_float_to_double): Remove.
3679 (value_arg_coerce): Use coerce_float_to_double.
3680 (_initialize_valops): Add "set coerce-float-to-double".
3681 * value.h (default_coerce_float_to_double): Remove prototype.
3682 (standard_coerce_float_to_double): Remove prototype.
3683
3684 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
3685 prototyped.
3686 * mdebugread.c (parse_symbol): Likewise.
3687 * stabsread.c (define_symbol): Mark all functions as prototyped.
3688
3689 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
3690 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
3691 set_gdbarch_coerce_float_to_double.
3692 * arm-tdep.c (arm_gdbarch_init): Likewise.
3693 * frv-tdep.c (frv_gdbarch_init): Likewise.
3694 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
3695 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
3696 * mips-tdep.c (mips_gdbarch_init): Likewise.
3697 (mips_coerce_float_to_double): Remove.
3698 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3699 (rs6000_coerce_float_to_double): Remove.
3700 * s390-tdep.c (s390_gdbarch_init): Likewise.
3701 * sh-tdep.c (sh_gdbarch_init): Likewise.
3702 (sh_coerce_float_to_double): Remove.
3703 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3704 (sparc_coerce_float_to_double): Remove.
3705 * v850-tdep.c (v850_gdbarch_init): Likewise.
3706 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
3707 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3708 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
3709 (hppa_coerce_float_to_double): Remove prototype.
3710 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3711
f436a26a
DJ
37122003-01-04 Daniel Jacobowitz <drow@mvista.com>
3713
3714 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
3715
248f8055
DJ
37162003-01-04 Daniel Jacobowitz <drow@mvista.com>
3717
3718 Suggested by Stewart Brown <sb24@avaya.com>:
3719 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
3720 in recursive calls. Handle TYPE_CODE_TYPEDEF.
3721 (c_type_print_varspec_suffix): Likewise.
3722
72cfdc76
MK
37232003-01-04 Mark Kettenis <kettenis@gnu.org>
3724
bfd260bb
MK
3725 * configure.in: Don't set and AC_SUBST SUBDIRS.
3726 * configure: Regenerated.
3727
72cfdc76
MK
3728 * configure.in: Remove code dealing with shared libraries.
3729 * Makefile.in: Remove HLDFLAGS and HLDENV.
3730 * configure: Regenerated.
3731
c8b8a898
AC
37322003-01-04 Andrew Cagney <ac131313@redhat.com>
3733
3734 * frame.c (deprecated_frame_xmalloc): New function.
3735 (deprecated_set_frame_saved_regs_hack): New function.
3736 (deprecated_set_frame_extra_info_hack): New function.
3737 * frame.h (deprecated_frame_xmalloc): Declare.
3738 (deprecated_set_frame_saved_regs_hack): Declare.
3739 (deprecated_set_frame_extra_info_hack): Declare.
3740
14abd0fb
MK
37412003-01-04 Mark Kettenis <kettenis@gnu.org>
3742
8ee53726
MK
3743 * configure.in: Move code that provides the --enable-gdbtk option
3744 right after the code that handles the --enable-tui option, and
3745 polish it somewhat.
3746 * configure: Regenerated.
3747
14abd0fb
MK
3748 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
3749 AC_CHECK_FUNCS and remove the old check for pread64.
3750 * acinclude.m4 (AC_GNU_SOURCE): New macro.
3751 * acconfig.h (_GNU_SOURCE): Add.
3752 (HAVE_PREAD64): Remove.
3753 * configure, aclocal.m4, config.in: Regenerated.
3754
b2fb4676
AC
37552003-01-03 Andrew Cagney <ac131313@redhat.com>
3756
3757 * alpha-tdep.c: Use get_frame_saved_regs.
3758 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3759 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
3760 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
3761 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
3762 * vax-tdep.c, xstormy16-tdep.c: Ditto.
3763
8dcde887
MK
37642003-01-03 Mark Kettenis <kettenis@gnu.org>
3765
3766 * configure.in: Remove all use of the SUBDIRS variable; add
3767 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
3768 code providing the --enable-multi-ice option, and move it right in
3769 front of the code that checks whether gdbserver is supported.
3770 Polish that too.
3771 * configure: Regenerated.
3772 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
3773 @SUBDIRS@.
3774
8ccd593b
AC
37752003-01-03 Andrew Cagney <cagney@redhat.com>
3776
3777 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
3778 * avr-tdep.c, cris-tdep.c: Ditto.
3779 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
3780 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
3781
91151a06
MK
37822003-01-03 Mark Kettenis <kettenis@gnu.org>
3783
3784 * configure.in: Remove --enable-netrom option.
3785 * configure: Regenerated.
3786
8fe84d01
MK
37872003-01-03 Mark Kettenis <kettenis@gnu.org>
3788
3789 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
3790 declaration for `struct re_pattern_buffer' instead.
3791 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
3792
f0394be6
JB
37932003-01-03 J. Brobecker <brobecker@gnat.com>
3794
3795 * mdebugread.c (parse_symbol): Count until the stEnd matching
3796 the structure name.
3797
27e9bf90
MK
37982003-01-02 Mark Kettenis <kettenis@gnu.org>
3799
93d331ba
MK
3800 * configure.in: Remove --with-cpu option.
3801 subscripts. Remove evil changequotes here.
3802 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
3803 * config.in, configure: Regenerated.
3804
27e9bf90
MK
3805 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
3806 * configure.in: Cleanup section that sources GDB and BFD configure
3807 subscripts. Remove evil changequotes here.
3808 * config.in, configure: Regenerated.
3809
50abf9e5
AC
38102003-01-02 Andrew Cagney <ac131313@redhat.com>
3811
3812 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
3813 frame accessor methods.
3814 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3815 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
3816 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
3817 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
3818 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
3819 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
3820 * z8k-tdep.c: Ditto.
3821
287c1a40
MK
38222003-01-02 Mark Kettenis <kettenis@gnu.org>
3823
f5dbc56d
MK
3824 * configure.in: Remove UI_OUT configuration code.
3825 * ada-lang.c: Update assuming UI_OUT is always true.
3826 * Makefile.in (UIOUT_CFLAGS): Remove.
3827 * configure: Regenerated.
3828 * TODO: Remove blurb about elimination of -DUI_OUT.
3829
627af7ea
MK
3830 * configure.in: Move code that provides the --enable-gdbcli,
3831 --enable-gdbmi options right before the code that handles the
3832 --enable-tui option. Polish a bit.
3833 * configure: Regenerated.
3834
06825bd1
MK
3835 * configure.in: Rewrite check for GNU regex and the
3836 --without-included regex option, and move it into the "Checks for
3837 library functions" section. This makes us use the system regex
3838 again by default on systems with version 2 of the GNU C library.
3839 This was apparently broken.
3840 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
3841 * acconfig.h (USE_INCLUDED_REGEX): Remove.
3842 * config.in, configure: Regenerated.
3843
287c1a40
MK
3844 * configure.in: Move code that provides the --enable-tui option
3845 before the "Checks for libraries" section. Polish the code
3846 somewhat and set need_curses to yes if we build the TUI. Rewrite
3847 code that looks for a library providing termcap functionality to
3848 match more closely what's done in the Readline library, and move
3849 it into to the "Checks for libraries" section.
3850 * configure: Regenerated.
3851 * Makefile.in (TERMCAP): Remove variable.
3852 * config/i386/go32.mh (TERMCAP): Remove variable.
3853
684e56bf
AC
38542003-01-02 Andrew Cagney <ac131313@redhat.com>
3855
3856 * MAINTAINERS: Mention gdb_mbuild.sh.
3857 * gdb_mbuild.sh: Rewrite.
3858
e1ea1d75
MK
38592003-01-02 Mark Kettenis <kettenis@gnu.org>
3860
3861 * configure.in: Fix typo in last change.
3862 * config.in, configure: Regenerated.
3863
1b831c93
AC
38642003-01-02 Andrew Cagney <ac131313@redhat.com>
3865
3866 * valarith.c (value_binop): Delete obsolete code and comments.
3867 * configure.host: Ditto.
3868 * buildsym.h (make_blockvector): Ditto.
3869 * buildsym.c (make_blockvector): Ditto.
3870 * defs.h (enum language): Ditto.
3871 (chill_demangle): Ditto.
3872 * elfread.c (elf_symtab_read): Ditto.
3873 * dwarfread.c (CHILL_PRODUCER): Ditto.
3874 (set_cu_language): Ditto.
3875 (handle_producer): Ditto.
3876 * expprint.c (print_subexp): Ditto.
3877 * gdbtypes.c (chill_varying_type): Ditto.
3878 * gdbtypes.h (builtin_type_chill_bool): Ditto.
3879 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
3880 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
3881 (chill_varying_type): Ditto.
3882 * language.h (_LANG_chill): Ditto.
3883 * language.c (binop_result_type, integral_type): Ditto.
3884 (character_type, string_type, structured_type): Ditto.
3885 (lang_bool_type, binop_type_check): Ditto.
3886 * stabsread.h (os9k_stabs): Ditto.
3887 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
3888 (define_symbol, read_type, read_struct_fields): Ditto.
3889 (read_array_type, read_enum_type, read_huge_number): Ditto.
3890 (read_range_type, start_stabs): Ditto.
3891 * symfile.c (init_filename_language_table): Ditto.
3892 (add_psymbol_with_dem_name_to_list): Ditto.
3893 * symtab.c (symbol_init_language_specific): Ditto.
3894 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
3895 * symtab.h (struct general_symbol_info): Ditto.
3896 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
3897 * typeprint.c (typedef_print): Ditto.
3898 * utils.c (fprintf_symbol_filtered): Ditto.
3899 * valops.c (value_cast, search_struct_field, value_slice): Delete
3900 obsolete code.
3901 (varying_to_slice): Delete function.
3902 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
3903 (varying_to_slice): Delete declaration.
3904 * MAINTAINERS: Update.
3905
8bb2c122
MK
39062003-01-02 Mark Kettenis <kettenis@gnu.org>
3907
97bf5e38
MK
3908 * configure.in: Reorganize "Checks for library functions section"
3909 a bit. Remove check for `btowc' and `isascii' functions.
3910 * configure: Regenerated.
3911
5ee754fc
MK
3912 * acconfig.h (_MSE_INT_H): Remove.
3913 * configure.in: Create "Checks for header files" section, and move
3914 appropriate tests there. Don't check for objlist.h, wchar.h,
3915 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
3916 misdetection fix. Also add "Checks for types", "Checks for
3917 compiler characteristics" and "Checks for library functions"
3918 sections.
3919 * config.in, configure: Regenerated.
3920
8bb2c122
MK
3921 * configure.in: Create "Checks for programs" section, and move
3922 appropriate tests there.
3923
9a156167
MK
39242003-01-01 Mark Kettenis <kettenis@gnu.org>
3925
3926 * configure.in: Create "Checks for libraries" section, and move
3927 appropriate tests there. Cleanup check for wctype in libw. Use
3928 AC_SEARCH_LIBS to see whether we need libsocket.
3929 * configure: Regenerated.
3930
a80e2bcb 3931For older changes see ChangeLog-2002
c906108c
SS
3932\f
3933Local Variables:
3934mode: change-log
3935left-margin: 8
3936fill-column: 74
3937version-control: never
3938End:
This page took 0.987919 seconds and 4 git commands to generate.