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