]> Git Repo - binutils.git/blame - gdb/ChangeLog
2003-03-17 Andrew Cagney <[email protected]>
[binutils.git] / gdb / ChangeLog
CommitLineData
0a613259
AC
12003-03-17 Andrew Cagney <[email protected]>
2
3 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
4 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
5
6 From Elena Zannoni <[email protected]>
7 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
8 vector and floating-point parameters.
9 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
10 convention.
11 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
12
1132738f
FN
132003-03-17 Fernando Nasser <[email protected]>
14
15 * MAINTAINERS: Remove my name from several maintainership roles.
16
6dc42492
AC
172003-03-17 Andrew Cagney <[email protected]>
18
19 Fix frame off-by-one bug.
20 * frame-unwind.h (frame_this_id_ftype): Replace
21 frame_unwind_id_ftype.
22 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
23 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
24 with "prev_register".
25 * frame-unwind.c (frame_unwind_find_by_pc): Return
26 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
27 comment.
28 * dummy-frame.c (cached_find_dummy_frame): Delete function.
29 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
30 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
31 (dummy_frame_unwind): Update.
32 * sentinel-frame.c (sentinel_frame_prev_register): Replace
33 sentinel_frame_register_unwind.
34 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
35 (sentinel_frame_unwinder): Update.
36 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
37 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
38 * frame.c (create_sentinel_frame): Update. Initialize
39 "prologue_cache" instead of "unwind_cache".
40 (frame_register_unwind): Call this frame's prev_register with the
41 next frame and this frame's prologue cache.
42 (get_prev_frame): Simplify. Always call prev frame's this_id with
43 this frame and prev frame's prologue cache. Document that this
44 call is shifted one to the left when compared to the
45 frame_register_unwind call.
46 (legacy_saved_regs_prev_register): Replace
47 frame_saved_regs_register_unwind.
48 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
49 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
50 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
51 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
52 (d10v_frame_unwind): Update.
53 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
54 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
55 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
56 "saved_regs" with "this_saved_regs".
57
efd710d6
AC
582003-03-16 Andrew Cagney <[email protected]>
59
60 * frame.c (frame_pop): Don't call target_store_registers. Fix
61 problem reported by Mark Kettenis.
62
4e259f09
MK
632003-03-16 Mark Kettenis <[email protected]>
64
65 * i386-tdep.c (i386_register_type): Renamed from
66 i386_register_virtual_type. Adjust function signature.
67 (i386_gdbarch_init): Set register_type instead of
68 deprecated_max_register_raw_size,
69 deprecated_max_register_virtual_size and register_virtual_type.
70
055bb976
AC
712003-03-14 Andrew Cagney <[email protected]>
72
73 * frame.c (get_prev_frame): When a legacy frame, always call
74 legacy_get_prev_frame. Simplify unwind code using assumption that
75 the unwinder is new.
76 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
77 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
78 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
79
ac2adee5
AC
802003-03-14 Andrew Cagney <[email protected]>
81
82 * frame.c (get_saved_register): Delete function.
83 * frame.h (get_saved_register): Delete declaration.
84 * xstormy16-tdep.c: Update comment.
85 * regcache.h: Update comments.
86 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
87 get_saved_register and extract_address, use
88 frame_read_unsigned_register.
89 (sparc_frame_saved_pc): Ditto.
90 (sparc_get_saved_register): Instead of get_saved_register, use
91 frame_register.
92 (sparc_pop_frame): Ditto.
93 * findvar.c: Update comments.
94 (value_of_register): Call frame_register instead of
95 get_saved_register.
96 (value_from_register): Ditto.
97 * config/sparc/tm-sparc.h: Update comment.
98 * breakpoint.c: Update comment.
99
129c1cd6
AC
1002003-03-14 Andrew Cagney <[email protected]>
101
102 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
103 GET_SAVED_REGISTER.
104 * gdbarch.h, gdbarch.c: Re-generate.
105 * frame.h: Update comments.
106 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
107 * x86-64-tdep.c (x86_64_init_abi): Update.
108 * sparc-tdep.c (sparc_gdbarch_init): Update.
109 * sh-tdep.c (sh_gdbarch_init): Update.
110 * mips-tdep.c (mips_gdbarch_init): Update.
111 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
112 * cris-tdep.c (cris_gdbarch_init): Update.
113 * ia64-tdep.c (ia64_gdbarch_init): Update.
114 * frame.c (frame_register): Update.
115 (get_saved_register): Update.
116 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
117
749b82f6
AC
1182003-03-13 Andrew Cagney <[email protected]>
119
120 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
121 * gdbarch.h, gdbarch.c: Regenerate.
122 * valops.c (hand_function_call): Update comment.
123 * stack.c (return_command): Update comment.
124 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
125 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
126 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
127 * x86-64-tdep.c (x86_64_init_abi): Update.
128 * vax-tdep.c (vax_gdbarch_init): Update.
129 * v850-tdep.c (v850_gdbarch_init): Update.
130 * sparc-tdep.c (sparc_gdbarch_init): Update.
131 * sh-tdep.c (sh_gdbarch_init): Update.
132 * s390-tdep.c (s390_gdbarch_init): Update.
133 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
134 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
135 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
136 * mips-tdep.c (mips_gdbarch_init): Update.
137 * mcore-tdep.c (mcore_gdbarch_init): Update.
138 * m68k-tdep.c (m68k_gdbarch_init): Update.
139 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
140 * ia64-tdep.c (ia64_gdbarch_init): Update.
141 * i386-tdep.c (i386_gdbarch_init): Update.
142 * hppa-tdep.c (hppa_gdbarch_init): Update.
143 * h8300-tdep.c (h8300_gdbarch_init): Update.
144 * frv-tdep.c (frv_gdbarch_init): Update.
145 * cris-tdep.c (cris_gdbarch_init): Update.
146 * avr-tdep.c (avr_gdbarch_init): Update.
147 * arm-tdep.c (arm_gdbarch_init): Update.
148 * alpha-tdep.c (alpha_gdbarch_init): Update.
149
1594fa56
AC
1502003-03-13 Andrew Cagney <[email protected]>
151
152 * frame.c (legacy_frame_p): New function.
153 (get_prev_frame): Use legacy_frame_p.
154 * frame.h (legacy_frame_p): Declare.
155
7717fda3
V
1562003-03-13 D. Venkatasubramanian <[email protected]>
157
158 * MAINTAINERS (write after approval): Alphabetically
159 listing corrected.
160
0c67cbe9
V
1612003-03-13 D. Venkatasubramanian <[email protected]>
162
163 * MAINTAINERS (write after approval): Add myself.
164
03febf99
AC
1652003-03-12 Andrew Cagney <[email protected]>
166
167 * frame.c (get_prev_frame): Rename the frame parameter to
168 "this_frame".
169 (get_next_frame, legacy_get_prev_frame): Ditto.
170
0a1e1ca1
AC
1712003-03-12 Andrew Cagney <[email protected]>
172
173 * frame.c (get_current_frame): Check target_has_registers before
174 checking target_has_stack.
175 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
176 instead of deprecated_selected_frame.
177 * findvar.c (value_of_register): Pass "frame", not
178 deprecated_selected_frame, to value_of_builtin_reg.
179
a66a9c23
AC
1802003-03-12 Andrew Cagney <[email protected]>
181
182 * regcache.c (regcache_cooked_write_signed): New function.
183 (regcache_cooked_write_unsigned): New function.
184 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
185 (regcache_cooked_read_signed): Fix regnum in range assertion.
186 * regcache.h (regcache_cooked_write_signed): Declare.
187 (regcache_cooked_write_unsigned): Declare.
188
8bedc050
AC
1892003-03-12 Andrew Cagney <[email protected]>
190
191 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
192 * gdbarch.h, gdbarch.c: Re-generate.
193 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
194 * x86-64-tdep.h: Update.
195 * x86-64-tdep.c (x86_64_init_abi): Update.
196 * v850-tdep.c (v850_gdbarch_init): Update.
197 * sparc-tdep.c (sparc_gdbarch_init): Update.
198 * sh-tdep.c (sh_gdbarch_init): Update.
199 * s390-tdep.c (s390_gdbarch_init): Update.
200 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
201 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
202 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
203 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
204 * mips-tdep.c (mips_gdbarch_init): Update.
205 * mcore-tdep.c (mcore_gdbarch_init): Update.
206 * m68k-tdep.c (m68k_gdbarch_init): Update.
207 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
208 * ia64-tdep.c (ia64_gdbarch_init): Update.
209 * i386-tdep.c (i386_gdbarch_init): Update.
210 * i386-interix-tdep.c (i386_interix_init_abi): Update.
211 * hppa-tdep.c (hppa_gdbarch_init): Update.
212 * h8300-tdep.c (h8300_gdbarch_init): Update.
213 * frv-tdep.c (frv_gdbarch_init): Update.
214 * cris-tdep.c (cris_gdbarch_init): Update.
215 * avr-tdep.c (avr_gdbarch_init): Update.
216 * arm-tdep.c (arm_gdbarch_init): Update.
217 * alpha-tdep.c (alpha_gdbarch_init): Update.
218 * sh-tdep.c (sh_init_extra_frame_info): Update.
219 (sh64_init_extra_frame_info): Update.
220 * ns32knbsd-nat.c (frame_num_args): Update.
221 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
222 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
223 (xstormy16_frame_chain_valid): Update.
224 * vax-tdep.c (vax_saved_pc_after_call): Update.
225 * v850-tdep.c (v850_frame_chain): Update.
226 (v850_pop_frame): Update.
227 (v850_init_extra_frame_info): Update.
228 * sparc-tdep.c (setup_arbitrary_frame): Update.
229 * ns32k-tdep.c (umax_frame_num_args): Update.
230 * s390-tdep.c (s390_pop_frame_regular): Update.
231 * mn10300-tdep.c (mn10300_frame_chain): Update.
232 (mn10300_pop_frame_regular): Update.
233 (mn10300_init_extra_frame_info): Update.
234 * mips-tdep.c (mips_init_frame_pc_first): Update.
235 (mips_frame_chain): Update.
236 (mips_pop_frame): Update.
237 * mcore-tdep.c (mcore_frame_chain): Update.
238 (mcore_pop_frame): Update.
239 (mcore_init_extra_frame_info): Update.
240 * arch-utils.c (init_frame_pc_default): Update.
241 * m68k-tdep.c (isi_frame_num_args): Update.
242 (delta68_frame_num_args): Update.
243 (news_frame_num_args): Update.
244 * ia64-tdep.c (ia64_pop_frame_regular): Update.
245 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
246 (alpha_frame_chain): Update.
247 (alpha_pop_frame): Update.
248 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
249 (hppa_init_extra_frame_info): Update.
250 (hppa_frame_chain): Update.
251 (hppa_frame_chain_valid): Update.
252 * cris-tdep.c (cris_init_extra_frame_info): Update.
253 * avr-tdep.c (avr_init_extra_frame_info): Update.
254 * arm-tdep.c (arm_frame_chain_valid): Update.
255 (arm_init_extra_frame_info): Update.
256 (arm_pop_frame): Update.
257 * frame.c (frame_pc_unwind): Update.
258 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
259 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
260 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
261 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
262 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
263 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
264
7a25a7c1
AC
2652003-03-12 Andrew Cagney <[email protected]>
266
267 Eliminate the need for POP_FRAME.
268 * frame.c (do_frame_unwind_register): New function.
269 (frame_pop): When no POP_FRAME, pop the frame using register
270 unwind and a scratch regcache.
271 (frame_saved_regs_pop): Delete function.
272 (trad_frame_unwinder): Update.
273 * d10v-tdep.c (d10v_frame_pop): Delete function.
274 (d10v_frame_unwind): Update.
275 * sentinel-frame.c (sentinel_frame_pop): Delete function.
276 (sentinel_frame_unwinder): Update.
277 * dummy-frame.c (dummy_frame_pop): Delete function.
278 (dummy_frame_unwind): Update.
279 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
280 (struct frame_unwind): Update.
281
2f38ef89
KB
2822003-03-11 Kevin Buettner <[email protected]>
283
284 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
285 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
286 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
287 Do range checks on register number obtained from debugging info.
288 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
289 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
290 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
291 mapping function.
292 (do_fp_register_row): Fix typo which caused double type to be
293 used when attempting to unpack a float.
294
552f4abf
JB
2952003-03-11 J. Brobecker <[email protected]>
296
297 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
298
e0d2ae16
AC
2992003-03-11 Andrew Cagney <[email protected]>
300
301 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
302 frame. Problem found by Corinna Vinschen.
303
ddbfdd06
PM
3042003-03-11 Pierre Muller <[email protected]>
305
306 * doublest.c (floatformat_from_length): Accept also
307 the real size of 'long double' type.
308
088b2ddc 3092003-03-10 Daniel Jacobowitz <[email protected]>
31cc81e9 310
088b2ddc 311 From Klee Dienes <[email protected]>:
31cc81e9
DJ
312 * breakpoint.c (bpstat_copy): Copy the command lines as well
313 as the old value, to match what is freed in bpstat_clear.
314
f56f77c1
DC
3152003-03-10 David Carlton <[email protected]>
316
317 * minsyms.c (add_minsym_to_hash_table): Replace
318 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
319 (compare_minimal_symbols, compact_minimal_symbols)
320 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
321 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
322 of DEPRECATED_SYMBOL_MATCHES_NAME.
323 (lookup_minimal_symbol_solib_trampoline): Ditto.
324
5602984a
AC
3252003-03-10 Andrew Cagney <[email protected]>
326
327 * regcache.h (regcache_cooked_read_ftype): Define.
328 (regcache_save, regcache_restore): Add a cooked_read parameter.
329 * regcache.c (regcache_save, regcache_restore): Update.
330 (do_cooked_read): New function.
331 (regcache_cpy): Pass do_cooked_read to regcache_save and
332 regcache_restore.
333
8bedc050
AC
3342003-03-10 Andrew Cagney <[email protected]>
335
336 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
337 * gdbarch.h, gdbarch.c: Re-generate.
338 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
339 * x86-64-tdep.h: Update.
340 * x86-64-tdep.c (x86_64_init_abi): Update.
341 * v850-tdep.c (v850_gdbarch_init): Update.
342 * sparc-tdep.c (sparc_gdbarch_init): Update.
343 * sh-tdep.c (sh_gdbarch_init): Update.
344 * s390-tdep.c (s390_gdbarch_init): Update.
345 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
346 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
347 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
348 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
349 * mips-tdep.c (mips_gdbarch_init): Update.
350 * mcore-tdep.c (mcore_gdbarch_init): Update.
351 * m68k-tdep.c (m68k_gdbarch_init): Update.
352 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
353 * ia64-tdep.c (ia64_gdbarch_init): Update.
354 * i386-tdep.c (i386_gdbarch_init): Update.
355 * i386-interix-tdep.c (i386_interix_init_abi): Update.
356 * hppa-tdep.c (hppa_gdbarch_init): Update.
357 * h8300-tdep.c (h8300_gdbarch_init): Update.
358 * frv-tdep.c (frv_gdbarch_init): Update.
359 * cris-tdep.c (cris_gdbarch_init): Update.
360 * avr-tdep.c (avr_gdbarch_init): Update.
361 * arm-tdep.c (arm_gdbarch_init): Update.
362 * alpha-tdep.c (alpha_gdbarch_init): Update.
363 * sh-tdep.c (sh_init_extra_frame_info): Update.
364 (sh64_init_extra_frame_info): Update.
365 * ns32knbsd-nat.c (frame_num_args): Update.
366 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
367 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
368 (xstormy16_frame_chain_valid): Update.
369 * vax-tdep.c (vax_saved_pc_after_call): Update.
370 * v850-tdep.c (v850_frame_chain): Update.
371 (v850_pop_frame): Update.
372 (v850_init_extra_frame_info): Update.
373 * sparc-tdep.c (setup_arbitrary_frame): Update.
374 * ns32k-tdep.c (umax_frame_num_args): Update.
375 * s390-tdep.c (s390_pop_frame_regular): Update.
376 * mn10300-tdep.c (mn10300_frame_chain): Update.
377 (mn10300_pop_frame_regular): Update.
378 (mn10300_init_extra_frame_info): Update.
379 * mips-tdep.c (mips_init_frame_pc_first): Update.
380 (mips_frame_chain): Update.
381 (mips_pop_frame): Update.
382 * mcore-tdep.c (mcore_frame_chain): Update.
383 (mcore_pop_frame): Update.
384 (mcore_init_extra_frame_info): Update.
385 * arch-utils.c (init_frame_pc_default): Update.
386 * m68k-tdep.c (isi_frame_num_args): Update.
387 (delta68_frame_num_args): Update.
388 (news_frame_num_args): Update.
389 * ia64-tdep.c (ia64_pop_frame_regular): Update.
390 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
391 (alpha_frame_chain): Update.
392 (alpha_pop_frame): Update.
393 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
394 (hppa_init_extra_frame_info): Update.
395 (hppa_frame_chain): Update.
396 (hppa_frame_chain_valid): Update.
397 * cris-tdep.c (cris_init_extra_frame_info): Update.
398 * avr-tdep.c (avr_init_extra_frame_info): Update.
399 * arm-tdep.c (arm_frame_chain_valid): Update.
400 (arm_init_extra_frame_info): Update.
401 (arm_pop_frame): Update.
402 * frame.c (frame_pc_unwind): Update.
403 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
404 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
405 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
406 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
407 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
408 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
409
12cc2063
AC
4102003-03-10 Andrew Cagney <[email protected]>
411
412 * gdbarch.sh (gdbarch_unwind_pc): New method.
413 * gdbarch.h, gdbarch.c: Regenerate.
414 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
415 but use read_pc and FRAME_SAVED_PC as fall backs.
416 (frame_saved_regs_pc_unwind): Delete function.
417 (trad_frame_unwinder): Update.
418 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
419 (struct frame_unwind): Update.
420 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
421 (dummy_frame_unwind): Update.
422 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
423 (sentinel_frame_unwinder): Update.
424 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
425 (d10v_frame_unwind): Update.
426 (d10v_unwind_pc): New function.
427 (d10v_gdbarch_init): Set unwind_pc.
428
ef840a37
AC
4292003-03-10 Andrew Cagney <[email protected]>
430
a2ce2e56
AC
431 * gdbarch.h: Re-generate.
432
ef840a37
AC
433 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
434 PC.
435 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
436 the PC register.
437
08f3424b
MK
4382003-03-08 Mark Kettenis <[email protected]>
439
440 * gdbarch.sh (save_dummy_frame_tos): Add comment.
441
1248ede2
AC
4422003-03-08 Andrew Cagney <[email protected]>
443
444 * cli-out.c: Update copyright.
445 (cli_out_data): Define typedef. Use instead of ui_out_data.
446
f49bacc8
AC
4472003-03-08 Andrew Cagney <[email protected]>
448
449 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
450 the result.
451
9b05f993
AC
4522003-03-07 Andrew Cagney <[email protected]>
453
454 * gdbarch.sh: Don't generate two macro definitions when an
455 undefined macro taking no arguments.
456 * gdbarch.h: Regenerate.
457
166f4c7b
ML
4582002-03-07 Michal Ludvig <[email protected]>
459
460 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
461 (x86_64_unwind_dummy_id): New functions.
462 (x86_64_init_abi): Register these two new functions.
463
6d686a84
ML
4642003-03-07 Michal Ludvig <[email protected]>
465
466 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
467 (x86_64_skip_prologue): Move prologue detection to
468 separate function.
469 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
470
6314f104
AC
4712003-03-05 Andrew Cagney <[email protected]>
472
473 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
474 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
475 * frame.c (get_prev_frame): Restructure the frame ID unwind code
476 to use unwind_dummy_id when a dummy frame.
477 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
478 predicate.
479 * gdbarch.h, gdbarch.c: Regneerate.
480
ceea5145
AC
4812003-03-05 Andrew Cagney <[email protected]>
482
483 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
484 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
485 Do not use d10v_read_sp or d10v_read_fp when obtaining register
486 values.
487
0d843116
AC
4882003-03-05 Andrew Cagney <[email protected]>
489
490 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
491 (struct d10v_unwind_cache): Delete field "frameless". Replace
492 "next_addr" with "sp_offset". Add "r11_offset".
493 (d10v_frame_unwind_cache): Update.
494 (prologue_find_regs): Update. When "mv r11, sp", save the
495 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
496 RN was saved in r11_offset.
497
b2579786
AC
4982003-03-05 Andrew Cagney <[email protected]>
499
500 * frame.c (deprecated_update_frame_pc_hack): Also update the the
501 cached PC value in the next frame.
502
218e5956
AC
5032003-03-05 Andrew Cagney <[email protected]>
504
505 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
506 "id_unwind_cache" with "id".
507 (frame_id_unwind): Delete declaration.
508 * frame.c (frame_id_unwind): Delete function.
509 (get_prev_frame): Call the frame id unwind method directly. Store
510 the returned next frame's ID value in NEXT_FRAME. Note that there
511 is a problem with the wrong unwind ID being called with the wrong
512 unwind cache.
513
ed363b1b
DJ
5142003-03-05 Daniel Jacobowitz <[email protected]>
515
516 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
517
fe1f4a5e
DJ
5182003-03-05 James Ingham <[email protected]>
519 Daniel Jacobowitz <[email protected]>
520
521 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
522 (auto_cp_abi): New variable.
523 (current_cp_abi, num_cp_abis): Make static.
524 (CP_ABI_MAX): Define.
525 (cp_abis): Turn into an array.
526 (value_virtual_fn_field): Fix formatting.
527 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
528 takes a pointer.
529 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
530 (list_cp_abis, _initialize_cp_abi): New functions.
531 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
532 declarations for cp_abis, num_cp_abis, current_cp_abi, and
533 switch_to_cp_abi. Update prototype for register_cp_abi.
534 * Makefile.in (cp-abi.o): Update dependencies.
535 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
536 instead of switch_to_cp_abi.
537 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
538 register_cp_abi.
539 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
540 register_cp_abi.
541 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
542
e4adbba9
DJ
5432003-03-05 Daniel Jacobowitz <[email protected]>
544
545 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
546 * dwarf2loc.c: Include "regcache.h".
547 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
548 register_size.
549 * Makefile.in (dwarf2loc.o): Update dependencies.
550
91ccbfc1
TR
5512003-03-04 Theodore A. Roth <[email protected]>
552
553 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
554 number of io registers reported by remote target is not a multiple of
555 step.
556
3d4e8fd2
DC
5572003-03-04 David Carlton <[email protected]>
558
559 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
560 (lookup_symbol_aux_psymtabs): Update call to
561 lookup_partial_symbol.
562 (lookup_transparent_type, find_main_psymtab)
563 (make_symbol_overload_list): Ditto.
564
ed42d87b
KH
5652003-03-04 Kazu Hirata <[email protected]>
566
567 * MAINTAINERS (Write after approval): Update my email address.
568
a0ed5532
AC
5692003-03-03 Andrew Cagney <[email protected]>
570
571 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
572 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
573 predicate. Replace MAX_REGISTER_RAW_SIZE.
574 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
575 MAX_REGISTER_VIRTUAL_SIZE.
576 * regcache.c (legacy_max_register_raw_size): New function.
577 (legacy_max_register_virtual_size): New function.
578 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
579 (MAX_REGISTER_RAW_SIZE): Define.
580 (legacy_max_register_raw_size): Declare.
581 (legacy_max_register_virtual_size): Declare.
582 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
583 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
584 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
585 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
586 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
587 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
588 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
589 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
590 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
591 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
592 * vax-tdep.c (vax_gdbarch_init): Update.
593 * v850-tdep.c (v850_gdbarch_init): Update.
594 * sparc-tdep.c (sparc_gdbarch_init): Update.
595 * sh-tdep.c (sh_gdbarch_init): Update.
596 * s390-tdep.c (s390_gdbarch_init): Update.
597 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
598 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
599 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
600 * mips-tdep.c (mips_gdbarch_init): Update.
601 * mcore-tdep.c (mcore_gdbarch_init): Update.
602 * m68k-tdep.c (m68k_gdbarch_init): Update.
603 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
604 * ia64-tdep.c (ia64_gdbarch_init): Update.
605 * i386-tdep.c (i386_gdbarch_init): Update.
606 * hppa-tdep.c (hppa_gdbarch_init): Update.
607 * h8300-tdep.c (h8300_gdbarch_init): Update.
608 * frv-tdep.c (frv_gdbarch_init): Update.
609 * cris-tdep.c (cris_gdbarch_init): Update.
610 * avr-tdep.c (avr_gdbarch_init): Update.
611 * arm-tdep.c (arm_gdbarch_init): Update.
612 * alpha-tdep.c (alpha_gdbarch_init): Update.
613 * d10v-tdep.c (d10v_gdbarch_init): Do not set
614 max_register_raw_size or max_register_virtual_size.
615
8e437497
DC
6162003-03-03 David Carlton <[email protected]>
617
618 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
619 SYMBOL_MATCHES_NAME, add comment.
620 (SYMBOL_MATCHES_NATURAL_NAME): New.
621 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
622 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
623 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
624 * symtab.c (lookup_partial_symbol): Use
625 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
626 unhelpful comment.
627 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
628 SYMBOL_MATCHES_NAME.
629 Fix for PR c++/33.
630
25120b0d
DC
6312003-03-03 David Carlton <[email protected]>
632
633 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
634 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
635 by regexp matching against SYMBOL_NATURAL_NAME.
636
78a11fb4
DC
6372003-03-03 David Carlton <[email protected]>
638
639 * linespec.c (find_method): Extract code into collect_methods.
640 (collect_methods): New.
641
645dd519
MK
6422003-03-02 Mark Kettenis <[email protected]>
643
b4700d91
MK
644 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
645 get_frame_base.
646
645dd519
MK
647 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
648 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
649
0aa7e1aa
SC
6502003-03-02 Stephane Carrez <[email protected]>
651
652 * arch-utils.c (generic_register_byte): Fix to use the loop index
653 and not regnum when summing the size of all registers up to regnum.
654
f30ee0bc
AC
6552003-03-01 Andrew Cagney <[email protected]>
656
657 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
658 FRAME_INIT_SAVED_REGS.
659 * gdbarch.h, gdbarch.c: Regenerate.
660 * stack.c (frame_info): Update.
661 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
662 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
663 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
664 * ns32k-tdep.c (ns32k_pop_frame): Update.
665 * mips-tdep.c (mips_pop_frame): Update.
666 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
667 * ia64-tdep.c (ia64_frame_chain): Update.
668 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
669 (ia64_frameless_function_invocation): Update.
670 (ia64_init_extra_frame_info): Update.
671 (ia64_pop_frame_regular): Update.
672 * frame.h (struct frame_info): Update comment.
673 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
674 * frame.c (frame_saved_regs_register_unwind): Update.
675 (frame_saved_regs_register_unwind): Update.
676 (deprecated_generic_get_saved_register): Update.
677 * cris-tdep.c: Update comment.
678 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
679 Rename macro.
680 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
681 * x86-64-tdep.c (x86_64_init_abi): Update.
682 * vax-tdep.c (vax_gdbarch_init): Update.
683 * v850-tdep.c (v850_gdbarch_init): Update.
684 * sparc-tdep.c (sparc_gdbarch_init): Update.
685 * sh-tdep.c (sh_gdbarch_init): Update.
686 * s390-tdep.c (s390_gdbarch_init): Update.
687 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
688 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
689 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
690 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
691 * mips-tdep.c (mips_gdbarch_init): Update.
692 * mcore-tdep.c (mcore_gdbarch_init): Update.
693 * m68k-tdep.c (m68k_gdbarch_init): Update.
694 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
695 * ia64-tdep.c (ia64_gdbarch_init): Update.
696 * i386-tdep.c (i386_gdbarch_init): Update.
697 * frv-tdep.c (frv_gdbarch_init): Update.
698 * avr-tdep.c (avr_gdbarch_init): Update.
699 * arm-tdep.c (arm_gdbarch_init): Update.
700 * alpha-tdep.c (alpha_gdbarch_init): Update.
701
42fa7c0f
AC
7022003-03-01 Andrew Cagney <[email protected]>
703
704 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
705 option enum and switch. When no windows, set the interpreter to
706 INTERP_CONSOLE.
707
49c7e338
AC
7082003-03-01 Andrew Cagney <[email protected]>
709
710 * main.c (captured_main): Replace magic option characters with an
711 enum.
712
e9582e71
AC
7132003-03-01 Andrew Cagney <[email protected]>
714
715 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
716 INIT_EXTRA_FRAME_INFO.
717 * gdbarch.h, gdbarch.c: Regenerate.
718 * arm-tdep.c: Update comments.
719 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
720 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
721 * frame.h, avr-tdep.c: Ditto.
722 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
723 (create_new_frame, legacy_get_prev_frame): Ditto.
724 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
725 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
726 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
727 deprecated_init_extra_frame_info instead of init_extra_frame_info.
728 * x86-64-tdep.c (x86_64_init_abi): Ditto.
729 * v850-tdep.c (v850_gdbarch_init): Ditto.
730 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
731 * sh-tdep.c (sh_gdbarch_init): Ditto.
732 * s390-tdep.c (s390_gdbarch_init): Ditto.
733 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
734 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
735 * mips-tdep.c (mips_gdbarch_init): Ditto.
736 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
737 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
738 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
739 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
740 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
741 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
742 * frv-tdep.c (frv_gdbarch_init): Ditto.
743 * cris-tdep.c (cris_gdbarch_init): Ditto.
744 * avr-tdep.c (avr_gdbarch_init): Ditto.
745 * arm-tdep.c (arm_gdbarch_init): Ditto.
746 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
747 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
748
35cac7cf
AC
7492003-03-01 Andrew Cagney <[email protected]>
750
751 * gdbarch.sh (register_type): New function with predicate.
752 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
753 * gdbarch.h, gdbarch.c: Re-generate.
754 * arch-utils.c (generic_register_byte): Use generic_register_size.
755 (generic_register_size): When available, use
756 gdbarch_register_type.
757 * regcache.c (init_regcache_descr): When available, initialize the
758 register type array using gdbarch_register_type. If the
759 architecture supplies gdbarch_register_type, do not use the legacy
760 regcache layout.
761 * d10v-tdep.c (d10v_register_type): Replace
762 d10v_register_virtual_type.
763 (d10v_gdbarch_init): Set register_type instead of
764 register_virtual_type.
765
7b83296f
AC
7662003-03-01 Andrew Cagney <[email protected]>
767
768 * Makefile.in (ax-gdb.o): Update dependencies.
769 * ax-gdb.c: Include "regcache.h".
770 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
771 * findvar.c (value_of_register): Ditto.
772 * infcmd.c (default_print_registers_info): Ditto.
773
eadc1c87
MK
7742003-03-01 Mark Kettenis <[email protected]>
775
776 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
777 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
778
14143612
MK
7792003-03-01 Mark Kettenis <[email protected]>
780
781 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
782 of STREQ.
783
a55cc764
DJ
7842003-02-28 Daniel Jacobowitz <[email protected]>
785
786 * Makefile.in (dwarf2loc.o): Update dependencies.
787 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
788 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
789 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
790 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
791 (locexpr_tracepoint_var_ref): New function.
792 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
793
08a617da
AC
7942003-02-28 Andrew Cagney <[email protected]>
795
796 * regcache.c (register_size): New function.
797 * regcache.h (register_size): Declare
798 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
799 max_register_size instead of MAX_REGISTER_RAW_SIZE.
800
4224873a
DC
8012003-02-28 David Carlton <[email protected]>
802
803 * linespec.c (decode_compound): Extract code into find_method.
804 (find_method): New.
805
ccdc5d7f
JB
8062003-02-28 J. Brobecker <[email protected]>
807
808 * Makefile.in: Add rules to build and link in observer.o.
809
974e8ced
JB
8102003-02-27 J. Brobecker <[email protected]>
811
812 * observer.c: Minor comments edits.
813
7a28f973
JB
8142003-02-27 J. Brobecker <[email protected]>
815
816 * observer.h, observer.c: New file.
817
27cddce2
AC
8182003-02-27 Andrew Cagney <[email protected]>
819
820 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
821
b94a41a1
SC
8222003-02-27 Stephane Carrez <[email protected]>
823
824 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
825 (M6812_OP_STS_EXT): Likewise.
826 (m6811_prologue): Use the above to recognize prologue.
827 (m6812_prologue): Likewise.
828
c8be8951
DC
8292003-02-27 David Carlton <[email protected]>
830
831 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
832 SYMBOL_PRINT_NAME.
833 (compare_psymbols): Ditto.
834 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
835
d05bb1fc
MS
8362003-02-27 Michael Snyder <[email protected]>
837
4e845cd3
MS
838 * f-lang.c (build_fortran_types): New function.
839 (_initialize_f_language): Gdbarch-register built-in fortran types.
d05bb1fc
MS
840 * doublest.c (extract_floating): Fix warning text.
841
f3824013
AC
8422003-02-27 Andrew Cagney <[email protected]>
843
844 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
845 predicate. Replaces PUSH_DUMMY_FRAME.
846 * gdbarch.h, gdbarch.c: Regnerate.
847 * valops.c (hand_function_call): Update. Call
848 generic_push_dummy_frame directly.
849 * vax-tdep.c (vax_gdbarch_init): Update.
850 * sparc-tdep.c (sparc_gdbarch_init): Update.
851 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
852 * m68k-tdep.c (m68k_gdbarch_init): Update.
853 * hppa-tdep.c (hppa_gdbarch_init): Update.
854 * alpha-tdep.c (alpha_gdbarch_init): Update.
855 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
856 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
857 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
858 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
859 push_dummy_frame to generic_push_dummy_frame.
860 * v850-tdep.c (v850_gdbarch_init): Ditto.
861 * sh-tdep.c (sh_gdbarch_init): Ditto.
862 * s390-tdep.c (s390_gdbarch_init): Ditto.
863 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
864 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
865 * mips-tdep.c (mips_gdbarch_init): Ditto.
866 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
867 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
868 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
869 * i386-tdep.c (i386_gdbarch_init): Ditto.
870 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
871 * frv-tdep.c (frv_gdbarch_init): Ditto.
872 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
873 * cris-tdep.c (cris_gdbarch_init): Ditto.
874 * avr-tdep.c (avr_gdbarch_init): Ditto.
875 * arm-tdep.c (arm_gdbarch_init): Ditto.
876
ad188201
KB
8772003-02-26 Kevin Buettner <[email protected]>
878
879 * mips-tdep.c (show_mips_abi): New function.
880 (_initialize_mips_tdep): Use show_mips_abi() to implement the
881 command ``show mips abi''.
882
6b37567a
JJ
8832003-02-26 Jeff Johnston <[email protected]>
884
885 From Elena Zannoni <[email protected]>
886 * dbxread.c (process_one_symbol): Only record line 0 if one or
887 more sline entries have been seen for the function.
888
d3e0a5bf
MC
8892003-02-26 Michael Chastain <[email protected]>
890
891 * configure: Regenerate with autoconf 000227.
892
18972eea
MC
8932003-02-26 Michael Chastain <[email protected]>
894
895 Close PR build/660.
896 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
897 for old libc5/glibc.
898 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
899
0bbde931
KW
9002003-02-26 Kris Warkentin <[email protected]>
901
902 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
903 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
904
27ca5dad
MC
9052003-02-26 Michael Chastain <[email protected]>
906
907 * configure.in: New variable HAVE_UINTPTR_T.
908 * configure, config.in: Regenerated.
909
6f88d630
DJ
9102003-02-26 Daniel Jacobowitz <[email protected]>
911
912 Fix PR build/1097.
913 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
914
b14185ce
AC
9152003-02-25 Andrew Cagney <[email protected]>
916
917 * frame.c (get_prev_frame): Add comment on check for
918 inside_entry_func. Only check for inside_entry_file when not a
919 dummy and not a sentinel. Check that the new frame is not inner
920 to the old frame.
921
ac2bd0a9
AC
9222003-02-25 Andrew Cagney <[email protected]>
923
924 * frame.c (frame_debug): New variable.
925 (_initialize_frame): Add "set/show debug frame" command.
926 (get_prev_frame): When frame_debug, print reason why unwind
927 failed.
928
b18a0fd2
MC
9292003-02-25 Michael Chastain <[email protected]>
930
931 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
932 to avoid uintptr_t definition problems.
933
22abf04a
DC
9342003-02-25 David Carlton <[email protected]>
935
936 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
937 (SYMBOL_LINKAGE_NAME): Ditto.
938 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
939 SYMBOL_LINKAGE_NAME.
940 (struct general_symbol_info): Expand comment.
941 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
942 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
943 (SYMBOL_MATCHES_REGEXP): Ditto.
944 * symtab.c (symbol_natural_name): New function.
945 * objfiles.h: Replace all uses of SYMBOL_NAME by
946 DEPRECATED_SYMBOL_NAME.
947 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
948 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
949 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
950 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
951 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
952 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
953 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
954 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
955 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
956 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
957 * ada-exp.y: Ditto.
958 * ada-exp.y: Update copyright.
959 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
960 * cp-valprint.c: Ditto.
961
1a5848f6
JJ
9622003-02-25 Jeff Johnston <[email protected]>
963
964 * infptrace.c (detach): Do not flag error if ptrace detach fails
965 and errno is set to ESRCH.
966
7343d46a
AC
9672003-02-24 Andrew Cagney <[email protected]>
968
969 * infptrace.c (udot_info): Change type of udot_off to long. Use
970 paddr when printing udot_off's value.
971
49fa1dc2
DC
9722003-02-24 David Carlton <[email protected]>
973
974 * symtab.c (make_symbol_overload_list): Only read in partial
975 symtabs containing a matching partial symbol.
976
0fe19209
DC
9772003-02-24 David Carlton <[email protected]>
978
979 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
980 do the comparison, not strcmp.
981 * symfile.c (compare_psymbols): Ditto.
982 * defs.h: Declare strcmp_iw_ordered.
983 * utils.c (strcmp_iw_ordered): New function.
984
8e3ee7b5
JB
9852003-02-24 Jim Blandy <[email protected]>
986
987 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
988 support, shared libs): Remove my name from here, to better reflect
989 reality.
990
7df1a324
KW
9912003-02-24 Kris Warkentin <[email protected]>
992
993 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
994 (target_ops): Add to_have_continuable_watchpoint.
995 * target.c (update_current_target): Add INHERIT line for
996 to_have_continuable_watchpoint.
997 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
998 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
999 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
1000 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
1001
d1c76907
EZ
10022003-02-24 Elena Zannoni <[email protected]>
1003
1004 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
1005 maintainership.
1006
2610b0bf
KW
10072003-02-24 Kris Warkentin <[email protected]>
1008
f46169db
KW
1009 * solib.c (solib_open): Call target defined search function after
1010 failing with solib-search-path.
1011 * solist.h (target_so_ops): Add find_and_open_solib function hook and
1012 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
2610b0bf 1013
9a3c34fe
KW
10142003-02-24 Kris Warkentin <[email protected]>
1015
f46169db 1016 * MAINTAINERS: Add myself to Write After section.
9a3c34fe 1017
2417dd25
SC
10182003-02-23 Stephane Carrez <[email protected]>
1019
1020 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
1021
b631436b
SC
10222003-02-22 Stephane Carrez <[email protected]>
1023
1024 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
1025 (m68hc11_add_reggroups): New function.
1026 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
1027 (m68hc11_gdbarch_init): Install the reggroups.
1028 (_initialize_m68hc11_tdep): Initialize them.
1029
0aa8c1e4
JW
10302003-02-21 James E Wilson <[email protected]>
1031
1032 * MAINTAINERS: Update my email address.
1033
50ceaba5
DC
10342003-02-21 David Carlton <[email protected]>
1035
1036 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
1037
4c2df51b
DJ
10382003-02-21 Daniel Jacobowitz <[email protected]>
1039
1040 Based on a patch from Daniel Berlin ([email protected]).
1041 * symtab.h: Add opaque declarations of struct axs_value and
1042 struct agent_expr.
1043 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
1044 (struct location_funcs): New type.
1045 (struct symbol): Add "loc" to aux_value.
1046 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
1047 * dwarf2read.c: Include "dwarf2expr.h".
1048 (dwarf2_symbol_mark_computed): New function.
1049 (read_func_scope): Use it.
1050 (var_decode_location): New function.
1051 (new_symbol): Use it.
1052 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
1053
1054 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
1055 (dwarf2expr_h, dwarf2loc_h): New variables.
1056 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
1057 (dwarf2expr.o, dwarf2loc.o): New rules.
1058 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
1059 * buildsym.c (finish_block): Handle LOC_COMPUTED and
1060 LOC_COMPUTED_ARG.
1061 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
1062 * m2-exp.y (yylex): Likewise.
1063 * printcmd.c (address_info, print_frame_args): Likewise.
1064 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
1065 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
1066 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
1067 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
1068 * symtab.c (lookup_block_symbol): Likewise.
1069
5784d15e
AF
10702003-02-20 Adam Fedor <[email protected]>
1071
1072 * symtab.h: Remove objc_specific struct
1073 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
1074 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
1075 Have language_objc use cplus_specific struct.
1076
d4cad8db
TT
10772003-02-20 Tom Tromey <[email protected]>
1078
1079 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
1080 TYPE_NAME, when printing a String value. PR java/1075.
1081
2f9a90b4
AF
10822003-02-20 Adam Fedor <[email protected]>
1083
d38074a8 1084 * objc-lang.h (find_methods): Remove declaration.
2f9a90b4
AF
1085 * objc-lang.c (find_methods): Make static.
1086
6f17862b
CF
10872003-02-20 Christopher Faylor <[email protected]>
1088
1089 * win32-nat.c (get_image_name): Check return value from
1090 ReadProcessMemory.
1091 (child_xfer_memory): Ditto.
1092
715d1656
AO
10932003-02-20 Alexandre Oliva <[email protected]>
1094
1095 * configure.in (TARGET_SYSTEM_ROOT): Set default to
1096 ${exec_prefix}/${target_alias}/sys-root. Match explicit
1097 '${exec_prefix}' (in addition to the expansion thereof) as
1098 relocatable.
1099 * configure: Rebuilt.
1100
b1262a02
DC
11012003-02-20 David Carlton <[email protected]>
1102
1103 * symtab.c (search_symbols): Revert the search_symbols part of my
1104 2002-12-23 patch. Add comment.
1105
7134143f
DJ
11062002-02-20 Daniel Jacobowitz <[email protected]>
1107
1108 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
1109 * dbxread.c (elfstab_build_psymtabs): Don't call
1110 install_minimal_symbols.
1111 (stabsect_build_psymtabs): Likewise.
1112 * elfread.c (elf_symfile_read): Call install_minimal_symbols
1113 earlier.
1114 * somread.c (som_symfile_read): Call install_minimal_symbols
1115 and do_cleanups earlier.
1116 * nlmread.c (nlm_symfile_read): Likewise.
1117 * mdebugread.c (elfmdebug_build_psymtabs): Call
1118 install_minimal_symbols and make appropriate cleanups.
1119
cf466558
KB
11202003-02-20 Kevin Buettner <[email protected]>
1121
1122 * solib.c (reload_shared_libraries): New function.
1123 (_initialize_solib): Add callbacks for ``set solib-search-path''
1124 and ``set solib-absolute-prefix''.
1125
de5ad195
DC
11262003-02-20 David Carlton <[email protected]>
1127
1128 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
1129 expand comment.
1130 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
1131 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
1132 * ada-typeprint.c (ada_typedef_print): Ditto.
1133 * ax-gdb.c (gen_var_ref): Ditto.
1134 * breakpoint.c (print_one_breakpoint): Ditto.
1135 * buildsym.c (finish_block): Ditto.
1136 * c-valprint.c (c_val_print): Ditto.
1137 * expprint.c (print_subexp): Ditto.
1138 * findvar.c (locate_var_value): Ditto.
1139 * infcmd.c (jump_command): Ditto.
1140 * linespec.c (decode_line_2, decode_compound): Ditto.
1141 * maint.c (maintenance_translate_address): Ditto.
1142 * objc-lang.c (compare_selectors, compare_classes): Ditto.
1143 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
1144 Ditto.
1145 * p-valprint.c (pascal_val_print): Ditto.
1146 * stabsread.c (define_symbol): Ditto.
1147 * stack.c (print_frame, frame_info, print_block_frame_locals)
1148 (print_frame_arg_vars, return_command): Ditto.
1149 * symfile.c (compare_symbols, compare_psymbols): Ditto.
1150 * symmisc.c (print_symbol): Ditto.
1151 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
1152 (compare_search_syms, print_symbol_info, print_msymbol_info)
1153 (rbreak_command): Ditto.
1154 * tracepoint.c (tracepoints_info): Ditto.
1155 * typeprint.c (typedef_print): Ditto.
1156 * valops.c (value_of_variable, hand_function_call): Ditto.
1157 * cli/cli-cmds.c (edit_command, list_command): Ditto.
1158 * ada-typeprint.c: Update Copyright.
1159 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
1160 * tracepoint.c, cli/cli-cmds.c: Ditto.
1161
f796e4be
KB
11622003-02-20 Kevin Buettner <[email protected]>
1163
1164 * frame.c (generic_unwind_get_saved_register): Make non-static.
1165 * frame.h (generic_unwind_get_saved_register): Declare.
1166 * mips-tdep.c (read_next_frame_reg): Fetch register from
1167 current regcache when frame is NULL.
1168 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
1169 that must be NULL.
1170 (mips_get_saved_register): Call generic_unwind_get_saved_register()
1171 instead of frame_register_unwind().
1172
836cc9f4
AC
11732003-02-20 Andrew Cagney <[email protected]>
1174
1175 * remote-sim.c (gdbsim_insert_breakpoint)
1176 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
1177 code.
1178
501eef12
AC
11792003-02-20 Andrew Cagney <[email protected]>
1180
1181 * remote.c (_initialize_remote): Add commands "set/show remote
1182 hardware-watchpoint-limit" and "set/show remote
1183 hardware-breakpoint-limit".
1184 (remote_hw_watchpoint_limit): Initialize to -1.
1185 (remote_hw_breakpoint_limit): Ditto.
1186 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
1187
1b6bc7e0
CF
11882003-02-19 Raoul Gough <[email protected]>
1189
1190 * coff-pe-read.c: New file - support reading of minimal symbols from a
1191 portable executable using the export table.
1192 * coff-pe-read.h: New file.
1193 * coffread.c: Include coff-pe-read.h.
1194 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
1195 debugging symbols found.
1196 * Makefile.in (SFILES): Add coff-pe-read.o.
1197 (coff_pe_read_h): Define.
1198 (COMMON_OBS): Add coff-pe-read.o.
1199 (coffread.o): Add coff_pe_read_h dependency.
1200 (coff-pe-read.o): New target.
1201
fe898f56
DC
12022003-02-19 David Carlton <[email protected]>
1203
1204 * Makefile.in (SFILES): Add block.c.
1205 (block_h): New.
1206 (COMMON_OBS): Add block.o.
1207 (block.o): New.
1208 (x86-64-tdep.o): Add $(block_h).
1209 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
1210 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
1211 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
1212 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
1213 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
1214 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
1215 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
1216 * value.h: Add opaque declaration for struct block.
1217 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
1218 * ada-lang.h: Ditto.
1219 * x86-64-tdep.c: #include "block.h"
1220 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
1221 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
1222 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
1223 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
1224 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
1225 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
1226 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
1227 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
1228 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
1229 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
1230 * symtab.c (block_function): Ditto.
1231 (contained_in): Ditto.
1232 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
1233 block.h. Add opaque declaration for struct block.
1234 * symtab.h: Move block_function and contained_in declarations to
1235 block.h. Add opaque declarations for struct block, struct
1236 blockvector.
1237 (struct block): Move to block.h.
1238 (struct blockvector): Ditto.
1239 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
1240 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
1241 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
1242 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
1243 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
1244 Ditto.
1245 * block.c: New file.
1246 * block.h: New file.
1247
173345b5
TR
12482003-02-19 Theodore A. Roth <[email protected]>
1249
1250 * avr-tdep.c (avr_extract_return_value): Remove function.
1251 (avr_store_return_value): Remove function.
1252 (avr_extract_struct_value_address): Remove function.
1253 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
1254
338ef23d
AC
12552003-02-19 Andrew Cagney <[email protected]>
1256
1257 * rs6000-tdep.c: Include "gdb_assert.h".
1258 (registers_e500): Add "acc" and "spefscr".
1259 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
1260 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
1261 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
1262 really is "r0".
1263 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
1264
5412f5f3
KS
12652003-02-18 Keith Seitz <[email protected]>
1266
1267 * Makefile.in: Add gdbtk-interps.c.
1268
881324eb
KB
12692003-02-18 Kevin Buettner <[email protected]>
1270
1271 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
1272 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
1273
6a2f5abf
AC
12742003-02-18 Andrew Cagney <[email protected]>
1275
1276 * symtab.h (struct objfile): Add opaque declaration.
1277
54c7009d
EZ
12782003-02-18 Elena Zannoni <[email protected]>
1279
1280 From Jim Ingham <[email protected]>:
1281 * dbxread.c (process_one_symbol): Use last_function_start rather
1282 than function_start_offset to find the real beginning of the
1283 current function. The latter is just the text section offset on
1284 some systems, the former is always the real function start.
1285
7ee6d7eb
AC
12862003-02-17 Andrew Cagney <[email protected]>
1287
1288 * configure.in: Revert ${target} != ${host}.
1289
2846da9b
AC
12902003-02-17 Andrew Cagney <[email protected]>
1291
1292 * configure.in (Makefile): Use the test ${target} != ${host},
1293 instead of the absence of the "nm.h" file, to determine of the
1294 configuration non-native.
1295 * configure: Regenerate.
1296
3b27aeea
EZ
12972003-02-14 Elena Zannoni <[email protected]>
1298
1299 From Brian Ford <[email protected]>
1300
1301 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
1302 conditionalize tui_active test.
1303 (lookup_cmd_1): Ditto.
1304
b0b1c2c0
MK
13052003-02-14 Mark Kettenis <[email protected]>
1306
1307 * configure.in: Add check for _etext.
1308 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
1309 available.
1310 * config.in, configure: regenerated.
1311
8f05cde5
DJ
13122003-02-14 Daniel Jacobowitz <[email protected]>
1313
1314 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
1315
021e7609
AC
13162003-02-14 Andrew Cagney <[email protected]>
1317
1318 * main.c (tui_version): Delete variable.
1319 (captured_main): When --tui, set interpreter_p to "tui" instead of
1320 enabling tui_version.
1321 * printcmd.c (display_command) [TUI]: Test tui_active instead of
1322 tui_version.
1323 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
1324 * cli/cli-cmds.c (disassemble_command): Ditto.
1325 * defs.h (tui_version): Delete declaration.
1326 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
1327 (tui-interp.o): Add rules.
1328 (SUBDIR_TUI_OBS): Add "tui-interp.o".
1329
e325dcec
CF
13302003-02-14 Christopher Faylor <[email protected]>
1331
36ffb041 1332 * win32-nat.c (register_loaded_dll): Correctly set address range for
e325dcec
CF
1333 just-loaded dll.
1334
c4f90d87
JM
13352003-02-12 Jason Molenda ([email protected])
1336
1337 * symmisc.c (print_objfile_statistics): Include information about
1338 the number of psymtabs and symtabs in each object file.
1339
e46e5ccd
KS
13402003-02-13 Keith R Seitz <[email protected]>
1341
1342 * main.h (struct captured_main_args): Add interpreter_p.
1343 * main.c (captured_main): Initialize interpreter_p from context.
1344 * gdb.c (main): Set interpreter_p argument.
1345 * Makefile.in (gdb.o): Add dependency for interps.h.
1346
fe97fe9c
AC
13472003-02-12 Andrew Cagney <[email protected]>
1348
1349 * event-top.c (cli_command_loop): Delete declaration.
1350 (_initialize_event_loop): Delete function setting event_loop_hook.
1351 * event-top.h (cli_command_loop): Declare. Update copyright.
1352 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
1353 * interps.c (current_interp_command_loop): When event_loop_p, call
1354 cli_command_loop.
1355
1cdac4ef
AC
13562003-02-12 Andrew Cagney <[email protected]>
1357
1358 * interps.h (interp_command_loop_ftype): Change return type to
1359 void.
1360
48037ead
ML
13612003-02-12 Michal Ludvig <[email protected]>
1362
1363 * x86-64-tdep.c (x86_64_extract_return_value)
1364 (x86_64_store_return_value): Use regcache instead of regbuf.
1365 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
1366 * x86-64-linux-nat.c (fill_gregset): Use regcache.
1367
033afc63
AC
13682003-02-11 Andrew Cagney <[email protected]>
1369
1370 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
1371 * aclocal.m4: Regenerate.
1372 * configure: Regenerate.
1373
1374 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
1375 TCL_LD_SEARCH_FLAGS.
1376
40d02bca
ML
13772003-02-10 Michal Ludvig <[email protected]>
1378
1379 * dwarf2cfi.c: Reindented.
1380
11308a41
AC
13812003-02-09 Andrew Cagney <[email protected]>
1382
1383 * interps.c (clear_interpreter_hooks): Convert function definition
1384 to ISO C.
1385
e1c1c0f6
DC
13862003-02-07 David Carlton <[email protected]>
1387
1388 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
1389
ab5d3da6
KB
13902003-02-07 Kevin Buettner <[email protected]>
1391
1392 * gdbtypes.h (struct main_type): Move ``length'' field from here...
1393 (struct type): ...to here.
1394 (TYPE_LENGTH): Adjust to reflect different location of ``length''
1395 field.
1396 * gdbtypes.c (make_qualified_type): Set length on newly created type.
1397 (replace_type): Set length on all type variants for a given type.
1398
b8a92b82
AC
13992003-02-07 Andrew Cagney <[email protected]>
1400
1401 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
1402 <sys/stat.h>.
1403 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
1404
5cb316ef
AC
14052003-02-06 Andrew Cagney <[email protected]>
1406
2555fe1a
AC
1407 * Makefile.in (symm-nat.o): Update dependencies.
1408 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
1409 (lynx-nat.o, ia64-linux-nat.): Ditto.
1410 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
1411 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
1412 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
1413
44270758
AC
1414 * Makefile.in (inflow_h): Define.
1415 (procfs.o, inflow.o, procfs.o): Update dependencies.
1416 * inftarg.c (child_stop): Delete extern declaration of
1417 inferior_process_group. Include "inflow.h".
1418 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
1419 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
1420 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
1421 (our_process_group, inferior_process_group): Extern declarations.
1422
df8f7274
AC
1423 * procfs.c: Include "gdb_assert.h".
1424
5cb316ef
AC
1425 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
1426 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
1427 * jv-typeprint.c (java_type_print_base): Ditto.
1428 * typeprint.c (typedef_print): Eliminate STREQ.
1429 * cli/cli-script.c (define_command, define_command): Ditto.
1430 * main.c (captured_main): Ditto.
1431 * values.c (lookup_internalvar): Ditto.
1432 * utils.c (safe_strerror, parse_escape): Eliminate assignment
1433 within `if' conditional.
1434 * linespec.c (decode_line_2): Ditto.
1435 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
1436 (bfd_openw_with_cleanup): Ditto.
1437
2a28ccea
MK
14382003-02-07 Mark Kettenis <[email protected]>
1439
1440 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
1441 legacy_extract_return_value and store_return_value to
1442 legacy_return_value.
1443
786b8124
CF
14442003-02-06 Raoul Gough <[email protected]>
1445
1446 * win32-nat.c (get_relocated_section_addrs): New function. Find
1447 section load addresses for symbol handling in relocated DLLs.
1448 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
1449
b871e4ec
FF
14502003-02-05 Fred Fish <[email protected]>
1451
1452 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
1453 '=' and '!='.
1454 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
1455 with '&' and '=='.
1456 (angel_RDI_info): Ditto.
1457 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
1458 with '&' and '!='.
1459 (threads_continue_all_with_signals): Ditto.
1460
4389a95a
AC
14612003-02-05 Jim Ingham <[email protected]>
1462 Keith Seitz <[email protected]>
1463 Elena Zannoni <[email protected]>
1464 Andrew Cagney <[email protected]>
1465
1466 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
1467 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
1468 (SUBDIR_MI_OBS): Add "mi-interp.o".
1469 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
1470 (SFILES): Add "interps.c".
1471 (COMMON_OBS): Add "interps.o".
1472 (interps_h, mi_main_h): Define.
1473 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
1474 (mi-main.o, main.o, event-top.o): Update dependencies.
1475 * cli/cli-interp.c: New file.
1476 * interps.h, interps.c: New files.
1477 * top.c: (gdb_init): Don't install the default interpreter, handed
1478 by captured_main.
1479 * main.c: Include "interps.h".
1480 (interpreter_p): Note that it should malloc'ed.
1481 (captured_command_loop): Call current_interp_command_loop.
1482 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
1483 xfree and xstrdup when updating interpreter_p. Install the
1484 default interpreter. Add hack to stop mi1's copyright notice
1485 being encoded.
1486 * event-top.h (gdb_setup_readline): Declare.
1487 (gdb_disable_readline): Declare.
1488 * event-top.c: Include "interps.h".
1489 (display_gdb_prompt): Call current_interp_display_prompt_p.
1490 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
1491 gdb_stdlog, and gdb_stdtarg.
1492 (_initialize_event_loop): Don't call gdb_setup_readline.
1493 * cli-out.c (cli_out_set_stream): New function.
1494 * cli-out.h (cli_out_set_stream): Declare.
1495
ff3b5810
MK
14962003-02-06 Mark Kettenis <[email protected]>
1497
1498 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
1499 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
1500 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
1501 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
1502 config/i386/i386v42mp.mt: Removed.
1503
5b729aa5
MK
15042003-02-05 Mark Kettenis <[email protected]>
1505
1506 * configure.tgt (*-*-solaris*): Set gdb_osabi to
1507 GDB_OSABI_SOLARIS.
1508
8cc15142
MC
15092003-02-05 Michael Chastain <[email protected]>
1510
1511 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
1512 2.12.1 and earlier versions.
1513
5aa5d4b9
AC
15142003-02-05 Andrew Cagney <[email protected]>
1515
1516 Remove orphaned hosts, targets and files.
1517 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
1518 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
1519 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
1520 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
1521 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
1522 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
1523 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
1524 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
1525 * config/sparc/tm-sp64sim.h: Delete.
1526 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
1527 hosts.
1528 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
1529 mips*-dec-mach3* targets.
1530
b68767c1
MC
15312003-02-04 Michael Chastain <[email protected]>
1532
1533 * NEWS: Fix typo: sepcifying -> specifying.
1534
5ae7ca1d
MC
15352003-02-04 Michael Chastain <[email protected]>
1536
1537 * dwarfread.c: Add documentation on the state of dwarf-1,
1538 looking towards obsoletion.
1539
d08a4280
MC
15402003-02-03 Michael Chastain <[email protected]>
1541
1542 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
1543 gdb/testsuite/gdb.c++/pr-1023.exp.
1544
e9be73e4
AC
15452003-02-04 Andrew Cagney <[email protected]>
1546
1547 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
1548 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
1549
1550 * utils.c (init_page_info): Delete reference to MPW in comments.
1551 * main.c (captured_main): Delete #ifdef MPW.
1552
05d57f6f
AC
15532003-02-04 Andrew Cagney <[email protected]>
1554
1555 * NEWS: Note that the m32r-*-elf* is obsolete.
1556 * monitor.c (monitor_expect): Obsolete reference to m32r.
1557 * configure.tgt: Mark m32r-*-elf* as obsolete.
1558 * MAINTAINERS: Mark m32k as obsolete.
1559 * m32r-rom.c: Obsolete file.
1560 * config/m32r/m32r.mt: Obsolete file.
1561 * config/m32r/tm-m32r.h: Obsolete file.
1562 * m32r-stub.c: Obsolete file.
1563 * m32r-tdep.c: Obsolete file.
1564
8b0e5691
AC
15652003-02-04 Andrew Cagney <[email protected]>
1566
1567 * NEWS: Mention that the z8k-zilog-none is obsolete.
1568 * MAINTAINERS: Mark z8k as obsolete.
1569 * configure.tgt: Obsolete the z8k-*-coff* target.
1570 * config/z8k/z8k.mt: Obsolete file.
1571 * config/z8k/tm-z8k.h: Obsolete file.
1572 * z8k-tdep.c: Obsolete file.
1573
67f16606
AC
15742003-02-04 Andrew Cagney <[email protected]>
1575
1576 * NEWS: Mention that the mn10200-elf is obsolete.
1577 * configure.tgt: Obsolete mn10200-*-* target.
1578 * breakpoint.c (update_breakpoints_after_exec): Update comment to
1579 mention that the mn10200 is obsolete.
1580 * breakpoint.h: Ditto.
1581 * MAINTAINERS: Mark the mn10200-elf as obsolete.
1582 * config/mn10200/mn10200.mt: Obsolete file.
1583 * config/mn10200/tm-mn10200.h: Obsolete file.
1584 * mn10200-tdep.c: Obsolete file.
1585
fd2299bd
AC
15862003-02-04 Andrew Cagney <[email protected]>
1587
1588 * MAINTAINERS: Mark h8500 as obsolete.
1589 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
1590 * findvar.c (value_from_register): Ditto.
1591 * h8500-tdep.c: Mark file as obsolete.
1592 * config/h8500/h8500.mt: Ditto.
1593 * config/h8500/tm-h8500.h: Ditto.
1594 * NEWS: Mention that h8500 is obsolete.
1595
eb9a305d
DC
15962003-02-04 David Carlton <[email protected]>
1597
1598 * objfiles.c (allocate_objfile): Always set name. Add comment at
1599 start of function.
1600 * jv-lang.c (get_dynamics_objfile): Add comment.
1601
406fc7fb
DC
16022003-02-04 David Carlton <[email protected]>
1603
1604 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
1605 * printcmd.c (build_address_symbolic): Replace uses of
1606 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
1607 SYMBOL_NAME, and asm_demangle.
1608 Update copyright.
1609
93d91629
DC
16102003-02-04 David Carlton <[email protected]>
1611
1612 * linespec.c (decode_compound): Extract code into
1613 lookup_prefix_sym.
1614 (lookup_prefix_sym): New function.
1615
1c5cb38e
DC
16162003-02-04 David Carlton <[email protected]>
1617
1618 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
1619 FLOAT_COERCION_BADNESS.
1620 * gdbtypes.c (rank_one_type): Replace all uses of
1621 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
1622
0cf824c9
JB
16232003-02-04 Jim Blandy <[email protected]>
1624
1625 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
1626 section, let dwarf_macinfo_section point to it, not
1627 dwarf_loc_section.
1628
a2d356b0
DJ
16292003-02-04 Daniel Jacobowitz <[email protected]>
1630
1631 Pointed out by Anton Blanchard <[email protected]>.
1632 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
1633 (ppc_linux_at_sigtramp_return_path): Use it.
1634
2de7ced7
DJ
16352003-02-04 Daniel Jacobowitz <[email protected]>
1636
1637 * defs.h (streq): Add prototype.
1638 * utils.c (streq): New function.
1639
1640 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
1641 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
1642 * mdebugread.c (new_symbol): Likewise.
1643 * stabsread.c (define_symbol): Likewise.
1644 * coffread.c (process_coff_symbol): Likewise.
1645 * dwarfread.c (new_symbol): Likewise.
1646
1647 * minsyms.c (prim_record_minimal_symbol_and_info): Use
1648 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
1649 here.
1650 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
1651 SYMBOL_INIT_DEMANGLED_NAME.
1652 * objfiles.c: Include "hashtab.h".
1653 (allocate_objfile): Call htab_set_functions_ex for the
1654 demangled_names_hash.
1655 (free_objfile): Call htab_delete for the demangled_names_hash.
1656 * objfiles.h (struct htab): Add declaration.
1657 (struct objfile): Add demangled_names_hash.
1658 * symfile.c: Include "hashtab.h".
1659 (reread_symbols): Call htab_delete for the demangled_names_hash.
1660 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
1661 SYMBOL_NAME in the bcache.
1662 * symtab.c: Include "hashtab.h". Update comments.
1663 (create_demangled_names_hash, symbol_set_names): New functions.
1664 (symbol_find_demangled_name): New function, broken out from
1665 symbol_init_demangled_names.
1666 (symbol_init_demangled_names): Use it.
1667 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
1668 (SYMBOL_SET_NAMES): New macro.
1669 (symbol_set_names): Add prototype.
1670
15831452
JB
16712003-02-03 Jim Blandy <[email protected]>
1672
1673 Use a single, consistent representation for an empty minimal
1674 symbol table in an objfile.
1675 * objfiles.c (terminate_minimal_symbol_table): New function.
1676 (allocate_objfile): Call it.
1677 * objfiles.h (terminate_minimal_symbol_table): New declaration.
1678 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
1679 non-NULL.
1680 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
1681 objfile has minimal symbols, compare minimal_symbol_count to zero,
1682 instead of comparing msymbols with NULL.
1683 * objfiles.c (have_minimal_symbols): Same.
1684 * solib-sunos.c (solib_add_common_symbols): Call
1685 terminate_minimal_symbol_table.
1686 * symfile.c (reread_symbols): Same.
1687
ffc65945
KB
16882003-02-03 Kevin Buettner <[email protected]>
1689
1690 * s390-tdep.c (s390_address_class_type_flags)
1691 (s390_address_class_type_flags_to_name)
1692 (s390_address_class_name_to_type_flags): New functions.
1693 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
1694 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
1695
f211c6d4
MS
16962003-02-03 Michael Snyder <[email protected]>
1697
1698 * arm-tdep.c: Fix spell-o in comment.
1699
659b0389
ML
17002003-02-03 Michal Ludvig <[email protected]>
1701
1702 * dwarf2cfi.c (pointer_encoding): Added new parameter.
1703 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
1704 error messages to contain BFD filename.
1705
3b31d625
EZ
17062003-02-02 Elena Zannoni <[email protected]>
1707
997b089a 1708 Fix PR gdb/742 gdb/743 gdb/877
3b31d625
EZ
1709 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
1710 (do_mixed_source_and_assembly): Use
1711 make_cleanup_ui_out_tuple_begin_end and
1712 make_cleanup_ui_out_tuple_begin_end.
1713 (do_mixed_source_and_assembly): Ditto.
1714 * thread.c (do_captured_list_thread_ids): Ditto.
1715 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
1716 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
1717 ui_out_tuple_end): Delete prototypes.
1718 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
1719 ui_out_list_end, ui_out_tuple_end): Delete.
1720
1721 From Kevin Buettner <[email protected]>:
1722 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
1723 * ui-out.c (make_cleanup_ui_out_table_begin_end)
1724 (do_cleanup_table_end): New functions.
1725 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
1726 Use cleanups to invoke_ui_out_tuple_end().
1727 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
1728 * cli/cli-setshow.c (cmd_show_list): Use
1729 make_cleanup_ui_out_tuple_begin_end.
1730
5b181d62
AC
17312003-02-02 Andrew Cagney <[email protected]>
1732
1733 * frame.c (frame_unwind_register): New function.
1734 (frame_unwind_unsigned_register): Use.
1735 (frame_unwind_signed_register): Use.
1736 (frame_read_register): New function.
1737 * frame.h (frame_unwind_register): Declare.
1738 (frame_read_register): Declare.
1739
1740 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
1741 and frame_unwind_register instead of read_memory, write_register
1742 and deprecated_write_register_bytes.
1743
5f601589
AC
17442003-02-02 Andrew Cagney <[email protected]>
1745
1746 * frame.h: Note that namelen can be negative.
1747 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
1748 NAME's length.
1749
1750 * NEWS: Mention that the d10v's `regs' command is deprecated.
1751 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
1752 (d10v_print_registers_info): New function.
1753 (show_regs): Call d10v_print_registers_info.
1754 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
1755
6a3fe0a4
MK
17562003-02-02 Mark Kettenis <[email protected]>
1757
1758 * stack.c (print_frame_info): Restore call to annotate_frame_begin
1759 lost in the previous patch.
1760
075559bc
AC
17612003-02-01 Andrew Cagney <[email protected]>
1762
1763 From 2002-11-09 Jason Molenda ([email protected])
1764 * stack.c (print_frame_info_base): Output complete FRAME tuple
1765 for synthesized frames.
1766
6789195b
AC
17672003-02-02 Andrew Cagney <[email protected]>
1768
1769 * mips-nat.c (zerobuf): Delete.
1770 (fetch_inferior_registers): Alloc local zerobuf.
1771 (fetch_core_registers): Alloc local zerobuf.
1772 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
1773 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
1774 * thread-db.c (thread_db_store_registers): Ditto.
1775 * sh-tdep.c (sh_do_register): Ditto.
1776 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
1777 * remote-sim.c (gdbsim_store_register): Ditto.
1778 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
1779 * remote-e7000.c (fetch_regs_from_dump): Ditto.
1780 * monitor.c (monitor_supply_register): Ditto.
1781 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
1782 * mips-nat.c (fetch_inferior_registers): Ditto.
1783 * m68klinux-nat.c (fetch_register): Ditto.
1784 * lynx-nat.c (fetch_inferior_registers): Ditto.
1785 (fetch_inferior_registers): Ditto.
1786 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
1787 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
1788 (hpux_thread_store_registers): Ditto.
1789 * hppah-nat.c (fetch_register): Ditto.
1790 * hppab-nat.c (fetch_register): Ditto.
1791 * hppa-tdep.c (pa_register_look_aside): Ditto.
1792 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
1793 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
1794
e669114a
AC
17952003-02-01 Andrew Cagney <[email protected]>
1796
1797 * gdbarch.sh: Explictly specify all method levels. When a
1798 variable with an empty level, provide a non-multi-arch default.
1799 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
1800 * gdbarch.h: Re-generate.
1801 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
1802 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
1803
9a043c1d
AC
18042003-02-01 Andrew Cagney <[email protected]>
1805
1806 * defs.h (host_pointer_to_address): Delete declaration.
1807 (address_to_host_pointer): Delete declaration.
1808 * utils.c (host_pointer_to_address): Delete function.
1809 (address_to_host_pointer): Delete function.
1810 * procfs.c (procfs_address_to_host_pointer): New function.
1811 * procfs.c (proc_set_watchpoint): Use.
1812 (procfs_can_use_hw_breakpoint): Update comments.
1813 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
1814 (som_solib_add): Use.
1815 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
1816 * hppa-tdep.c (unwind_command): Use.
1817
7ca9f392
AC
18182003-02-01 Andrew Cagney <[email protected]>
1819
94bbfd30
AC
1820 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
1821 strlen d_name.
1822
7ca9f392
AC
1823 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
1824 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
1825 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
1826 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
1827 (define_symbol): Update.
1828 * symfile.c (generic_load): Remove references to nindy.
1829 * symtab.c: Remove references to nindy.
1830
31a85ea2
AC
18312003-02-01 Andrew Cagney <[email protected]>
1832
1833 * infcmd.c (print_float_info): Delete code conditional on
1834 FLOAT_INFO.
1835 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
1836 * config/m68k/nm-apollo68b.h: Ditto.
1837 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
1838 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
1839 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
1840
f6e85fc8
MK
18412003-02-01 Mark Kettenis <[email protected]>
1842
6015b6a0
MK
1843 * config/i386/tm-i386os9k.h: Removed.
1844
f7a30bdf
MK
1845 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
1846 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
1847 they're identical to i[3456]86-*-sysv* now.
1848 * config/i386/i386v32.mh: Removed.
1849 * config/i386/xm-i386v32.h: Removed.
1850 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
1851
28d52111
MK
1852 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
1853
4d3f6bce
MK
1854 * config/i386/i386dgux.mh: Removed.
1855 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
1856
f6e85fc8
MK
1857 * configure.in: Fix typo.
1858 * configure: Regenerated.
1859
53955967
DC
18602003-01-31 David Carlton <[email protected]>
1861
1862 * dwarf2read.c (dwarf2_locate_sections): Set
1863 dwarf_ranges_section.
1864
b1364885
AC
18652003-01-31 Andrew Cagney <[email protected]>
1866
8dbb1c65
AC
1867 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
1868 * utils.c: Update comments documenting legitimate uses of PTR.
1869
8731e58e
AC
1870 * utils.c: Re-indent.
1871
b1364885
AC
1872 * config/djgpp/fnchange.lst: Delete nindy files.
1873 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
1874 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
1875 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
1876 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
1877 * nindy-share/README, nindy-share/Onindy.c: Delete files.
1878 * nindy-tdep.c, nindy-share/Makefile: Delete files.
1879 * Makefile.in (init.c): Remove nindy references.
1880 (saber_gdb): Delete rule.
1881 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
1882 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
1883 and a68v-nat.c.
1884 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
1885 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
1886 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
1887 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
1888 nindy-share/stop.h.
1889 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
1890 * saber.suppress: Delete file.
1891
086df311
DJ
18922003-01-31 Daniel Jacobowitz <[email protected]>
1893
1894 * dbxread.c (stabs_data): New static variable.
1895 (fill_symbuf): Support an in-memory buffer for stabs data.
1896 (stabs_seek): New function.
1897 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
1898 (read_ofile_symtab): Use stabs_seek.
1899 (elfstab_build_psymtabs): Take an asection* instead of
1900 an offset and size. Relocate the stabs data if necessary.
1901 Save the section* for dbx_psymtab_to_symtab.
1902 * dwarf2read.c: Add section variables for each debug section.
1903 (dwarf2_locate_sections): Fill them in.
1904 (dwarf2_read_section): Take an asection* argument.
1905 Relocate the section contents if necessary.
1906 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
1907 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
1908 it to dwarf2_read_section.
1909 (dwarf2_build_frame_info): Update callers.
1910 * elfread.c (elf_symfile_read): Update call to
1911 elfstab_build_psymtabs.
1912 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
1913 (DBX_STAB_SECTION): New macro.
1914 * stabsread.h (elfstab_build_psymtabs): Update prototype.
1915 * symfile.c (symfile_dummy_outputs): New function.
1916 (symfile_relocate_debug_section): New function.
1917 * symfile.h (symfile_relocate_debug_section): Add prototype.
1918
87d1b352
RH
19192003-01-31 Richard Henderson <[email protected]>
1920
1921 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
1922 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
1923 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
1924 * alpha-tdep.c (alpha_register_name): Add "unique".
1925 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
1926 (ALPHA_UNIQUE_REGNUM): New.
1927 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
1928
c48861fb
AC
19292003-01-31 Andrew Cagney <[email protected]>
1930
1931 * README: Remove reference to Ericsson 1800 monitor.
1932 * Makefile.in (remote-es.o): Delete rule.
1933 (ALLDEPFILES): Delete remote-es.c.
1934 * remote-es.c: Delete file.
1935 * config/m68k/es1800.mt: Delete file.
1936 * config/djgpp/fnchange.lst: Update.
1937 * configure.tgt: Delete m68*-ericsson-* target.
1938
d764a824
AF
19392003-01-31 Adam Fedor <[email protected]>
1940
1941 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
1942 Remove duplicate/shadowing variable of same name.
1943
fe36c4f4
JB
19442003-01-30 Jim Blandy <[email protected]>
1945
1946 * symfile.c (find_separate_debug_file): Assert that the objfile's
1947 directory name we compute ends with a slash, and then assume that
1948 that's so everywhere we use it.
1949
cb741690
DJ
19502003-01-30 Daniel Jacobowitz <[email protected]>
1951
1952 * valops.c (value_assign): Flush frame cache after stores to memory
1953 also.
1954
96ee5227
AC
19552003-01-30 Andrew Cagney <[email protected]>
1956
1957 * Makefile.in (mon960-rom.o): Delete rule.
1958 * mon960-rom.c: Delete file.
1959
7f6104a9
AC
19602003-01-30 Andrew Cagney <[email protected]>
1961
1962 * d10v-tdep.c: Include "frame-unwind.h".
1963 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
1964 list.
1965 (next_addr, uses_frame): Delete.
1966 (struct d10v_unwind_cache): Define.
1967 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
1968 Use info instead of next_addr and uses_frame globals.
1969 (d10v_frame_init_saved_regs): Delete function.
1970 (d10v_init_extra_frame_info): Delete function.
1971 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
1972 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
1973 init_frame_pc or frame_saved_pc.
1974 (d10v_pop_frame): Delete function.
1975 (do_d10v_pop_frame): Delete function.
1976 (d10v_frame_chain): Delete function.
1977 (d10v_frame_chain_valid): Delete function.
1978 (d10v_frame_pc_unwind): New function.
1979 (d10v_frame_id_unwind): New function.
1980 (saved_regs_unwinder): New function.
1981 (d10v_frame_register_unwind): New function.
1982 (d10v_frame_pop): New function.
1983 (d10v_frame_unwind): New variable.
1984 (d10v_frame_p): New function.
1985 (d10v_frame_saved_pc): Delete function.
1986 * Makefile.in (d10v-tdep.o): Update dependencies.
1987
cad2e848
JB
19882003-01-30 J. Brobecker <[email protected]>
1989
1990 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
1991 causing some regressions due to a change in the default value
1992 for this macro.
1993
af34e669
DJ
19942003-01-29 Richard Henderson <[email protected]>
1995 Elena Zannoni <[email protected]>
1996 Daniel Jacobowitz <[email protected]>
1997
1998 Fix PR gdb/961.
1999 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
2000 variables.
2001 (RANGES_SECTION): New.
2002 (dwarf_ranges_buffer): New variable.
2003 (struct comp_unit_head): Add member "die".
2004 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
2005 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
2006 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
2007 (dwarf2_locate_sections): Likewise.
2008 (dwarf2_build_psymtabs): Read .debug_ranges.
2009 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
2010 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
2011 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
2012 Look for DW_AT_ranges and return the bounding box.
2013
baa93fa6
CF
20142003-01-29 Brian Ford <[email protected]>
2015
2016 * win32-nat.c (cygwin_pid): Removed as unused.
2017 (child_attach): Try fall back to Cygwin pid.
2018
c63f977f
JB
20192003-01-29 Jim Blandy <[email protected]>
2020
2021 * objfiles.h (struct objfile): Doc fix.
2022
d62d1979
AC
20232003-01-29 Andrew Cagney <[email protected]>
2024
2025 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
2026 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
2027 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
2028 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
2029 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
2030 (FRAME_SAVED_PC): Change to a function with predicate.
2031 * gdbarch.h, gdbarch.c: Re-generate.
2032
1ae18a04
AC
20332003-01-28 Andrew Cagney <[email protected]>
2034
52287340
AC
2035 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
2036
1ae18a04
AC
2037 * complaints.c (complain): Delete function.
2038 * complaints.h (struct deprecated_complaint): Delete definition.
2039 (complain): Delete declaration.
2040
f2c16bd6
KB
20412003-01-28 Kevin Buettner <[email protected]>
2042
2043 * mips-tdep.c (mips_init_extra_frame_info): Return early for
2044 dummy frames.
2045
a94dd1fd
AC
20462003-01-27 Andrew Cagney <[email protected]>
2047
2048 * sentinel-frame.h, sentinel-frame.c: New files.
2049 * Makefile.in (frame.o): Update dependencies.
2050 (SFILES): Add sentinel-frame.c.
2051 (sentinel_frame_h): Define.
2052 (COMMON_OBS): Add sentinel-frame.o.
2053 (sentinel-frame.o): Specify dependencies.
2054 * frame.c: Include "sentinel-frame.h".
2055 (frame_register_unwind): Rewrite assuming that there is always a a
2056 ->next frame.
2057 (frame_register, generic_unwind_get_saved_register): Ditto.
2058 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
2059 (create_sentinel_frame, unwind_to_current_frame): New functions.
2060 (get_current_frame): Rewrite using create_sentinel_frame and
2061 unwind_to_current_frame. When possible, always create a frame.
2062 (create_new_frame): Set next to the sentinel frame.
2063 (get_next_frame): Rewrite. Don't go below the level 0 frame.
2064 (deprecated_update_frame_pc_hack): Update the next frame's PC and
2065 ID cache when necessary.
2066 (frame_saved_regs_id_unwind): Use frame_relative_level.
2067 (deprecated_generic_get_saved_register): Use frame_relative_level,
2068 get_frame_saved_regs, get_frame_pc, get_frame_base and
2069 get_next_frame.
2070 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
2071 frame_register.
2072
5378adc4
DJ
20732003-01-27 Daniel Jacobowitz <[email protected]>
2074
2075 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
2076
51ee2ddc
DJ
20772003-01-27 Daniel Jacobowitz <[email protected]>
2078
2079 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
2080 (maintenance_set_profile_cmd): Use error () instead of warning ().
2081
d9feb4e7
DJ
20822003-01-27 Daniel Jacobowitz <[email protected]>
2083
2084 * configure.in: Check that -pg works if using --enable-profiling.
2085 Check for monstartup and _mcleanup regardless of --enable-profiling.
2086 * maint.c: Check for monstartup and _mcleanup before using them.
2087 * config.in: Regenerated.
2088 * configure: Regenerated.
2089
2d188dd3
NC
20902003-01-24 Nick Clifton <[email protected]>
2091
2092 * Add sh2e support:
2093
2094 2002-04-02 Elena Zannoni <[email protected]>
2095
2096 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
2097 (sh2e_show_regs): New.
2098 (sh_gdbarch_init): Handle bfd_mach_sh2e.
2099 * config/sh/tm-sh.h: Added sh2e to comments.
2100
cb3c37b2
JB
21012003-01-23 Jim Blandy <[email protected]>
2102
2103 * symfile.c (syms_from_objfile): Don't print the "(no debugging
2104 symbols found)" message here; we haven't checked for a separate
2105 debug info file yet, so we don't know yet.
2106 (symbol_file_add_with_addrs_or_offsets): Print it here, after
2107 we've looked everywhere. Also, there's no need to print a special
2108 message when we're loading the separate debug info file: the one
2109 symbol_file_add prints is fine.
2110
5b5d99cf
JB
21112003-01-23 Alexander Larsson <[email protected]>
2112 Jim Blandy <[email protected]>
2113
2114 Add support for executables whose debug info has been separated
2115 out into a separate file, leaving only a link behind.
2116 * objfiles.h (struct objfile): New fields: separate_debug_objfile
2117 and separate_debug_objfile_backlink.
2118 (put_objfile_before): New declaration.
2119 * symfile.c: #include "filenames.h".
2120 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
2121 debug info in a separate file, read that, too. Save the addrs
2122 argument, so we can use it again to read the separated debug info;
2123 syms_from_objfile modifies the table we pass it.
2124 (reread_symbols): After re-reading an objfile, call
2125 reread_separate_symbols to refresh its separate debug info
2126 objfile, if it has one.
2127 (reread_separate_symbols, find_separate_debug_file,
2128 get_debug_link_info, separate_debug_file_exists): New functions.
2129 (debug_file_directory): New global var.
2130 (_initialize_symfile): Initialize debug_file_directory, and
2131 provide the new `set debug-file-directory' command to let the user
2132 change it.
2133 * objfiles.c (free_objfile): If this objfile has its debug info in
2134 a separate objfile, free that one too. If this is itself a
2135 separate debug info objfile, clear our parent's backlink.
2136 (put_objfile_before): New function.
2137 * utils.c (gnu_debuglink_crc32): New function.
2138 * defs.h (gnu_debuglink_crc32): New declaration.
2139 * Makefile.in (symfile.o): Note dependency on "filenames.h".
2140 * configure.in: Handle --with-separate-debug-dir config option.
2141 * acinclude.m4 (AC_DEFINE_DIR): New macro.
2142 * acconfig.h (DEBUGDIR): New macro.
2143 * configure, aclocal.m4, config.in: Regenerated.
2144
7e8580c1
JB
21452003-01-22 Jim Blandy <[email protected]>
2146
7904e09f
JB
2147 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
2148 like the old symbol_file_add, but taking new arguments: you can
2149 now pass in either a `struct section_addr_info' list to say where
2150 each section is loaded, or a `struct section_offsets' table. Pass
2151 these new arguments through to syms_from_objfile as appropriate.
2152 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
2153 with the appropriate quiescent values for the new arguments.
2154
7e8580c1
JB
2155 * symfile.c: #include "gdb_assert.h".
2156 (syms_from_objfile): Add the ability to pass in a section offset
2157 table directly, as an alternative to the section_addr_info table.
2158 Document arguments better.
2159 (symbol_file_add): Pass extra arguments to syms_from_objfile.
2160 * symfile.h (syms_from_objfile): Update declaration.
2161 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
2162 syms_from_objfile.
2163 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
2164
d28f9cdf
DJ
21652003-01-22 Daniel Jacobowitz <[email protected]>
2166
2167 Original patch by Tom Tromey <[email protected]> and
2168 Jason Molenda <[email protected]>.
2169 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
2170 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
2171 * NEWS: Mention profiling.
2172 * configure.in (--enable-gdbtk): Fix typo.
2173 (--enable-profiling): New. Set PROFILE_CFLAGS.
2174 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
2175 Fill in function.
2176 (profiling_state): New variable.
2177 (mcleanup_wrapper): New function.
2178 (_initialize_maint): Remove NOTYET, fix call to
2179 add_setshow_boolean_cmd for "maint set profile".
2180 * configure: Regenerated.
2181
df21e465
MH
21822003-01-21 Martin M. Hunt <[email protected]>
2183
2184 * Makefile.in (install-gdbtk): Install PNG images too.
2185
73c1f219
AC
21862003-01-21 Andrew Cagney <[email protected]>
2187
2188 * exec.c (text_start): Delete global variable.
2189 (exec_file_attach): Make text_start local to the function.
2190 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
2191 * valops.c (hand_function_call): Delete code that handles
2192 BEFORE_TEXT_END and AFTER_TEXT_END.
2193 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
2194 of CALL_DUMMY_LOCATION.
2195 * gdbarch.c: Regenerate.
2196 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
2197 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
2198 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
2199 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
2200 (text_end): Delete extern declaration.
2201
eb4f72c5
AC
22022003-01-21 Andrew Cagney <[email protected]>
2203
2204 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
2205 * blockframe.c (backtrace_below_main): Move to "frame.c".
2206 (frame_chain_valid): Delete check for backtrace_below_main.
2207 (_initialize_blockframe): Delete initialization, move ``set
2208 backtrace-below-main'' command to "frame.c".
2209 (do_flush_frames_sfunc): Delete function.
2210 * frame.c: Include "command.h" and "gdbcmd.h".
2211 (frame_type_from_pc): New function.
2212 (create_new_frame): Use frame_type_from_pc.
2213 (legacy_get_prev_frame): New function.
2214 (get_prev_frame): Rewrite. When an old style frame, call
2215 legacy_get_prev_frame. Otherwize, unwind the PC first.
2216 (_initialize_frame): Add ``set backtrace-below-main'' command.
2217 * Makefile.in (frame.o): Update dependencies.
2218
778ce8cc
AC
22192003-01-19 Andrew Cagney <[email protected]>
2220
2221 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
2222 DEPRECATED_REGISTERS_INFO.
2223
01c193c8
AC
22242003-01-19 Andrew Cagney <[email protected]>
2225
2226 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
2227 Maintainers'. Update `Various Maintainers'.
2228
dedc2a2b
AC
22292003-01-19 Andrew Cagney <[email protected]>
2230
2231 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
2232 * gdbarch.sh (POP_FRAME): Change to function with predicate.
2233 Suppress actual parameters when `-'.
2234 * gdbarch.h, gdbarch.c: Regenerate.
2235
b7261c70
AC
22362003-01-19 Andrew Cagney <[email protected]>
2237
2238 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
2239 code handling dummy frames.
2240
dbe9fe58
AC
22412003-01-19 Andrew Cagney <[email protected]>
2242
2243 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
2244 (struct frame_unwind): Add field pop.
2245 * frame.h (frame_pop): Declare.
2246 * frame.c (frame_saved_regs_pop): New function.
2247 (trad_frame_unwinder): Add frame_saved_regs_pop.
2248 (frame_pop): New function.
2249 * dummy-frame.c (dummy_frame_pop): New function.
2250 (discard_innermost_dummy): New function.
2251 (generic_pop_dummy_frame): Use discard_innermost_dummy.
2252 (dummy_frame_unwind): Add dummy_frame_pop.
2253 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
2254 * valops.c (hand_function_call): Ditto.
2255 * stack.c (return_command): Ditto.
2256
570b8f7c
AC
22572003-01-18 Andrew Cagney <[email protected]>
2258
2259 * cris-tdep.c: Fix function declaration indentation.
2260 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
2261 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
2262 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
2263 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
2264 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
2265 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
2266
22672003-01-18 Michael Chastain <[email protected]>
eaec4d85
MC
2268
2269 * README (Unpacking and Installation -- quick overview):
2270 Warn against ".../gdb-5.3/gdb/configure".
2271
494cca16
AC
22722003-01-18 Andrew Cagney <[email protected]>
2273
2274 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
2275 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
2276 (struct frame_unwind): Declare opaque.
2277 (dummy_frame_p): Declare function.
2278 * dummy-frame.c (dummy_frame_id_unwind): Make static.
2279 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
2280 * dummy-frame.c: Include "frame-unwind.h".
2281 (dummy_frame_p): New function.
2282 (dummy_frame_unwind): New variable.
2283 * frame.c: Include "frame-unwind.h".
2284 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
2285 to use the new unwind field.
2286 (set_unwind_by_pc): Delete function.
2287 (create_new_frame, get_prev_frame): Set unwind field using
2288 frame_unwind_find_by_pc.
2289 (trad_frame_unwind, trad_frame_unwinder): New variables.
2290 * frame.h (trad_frame_unwind): Declare variable.
2291 (frame_id_unwind_ftype): Delete declaration.
2292 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
2293 (struct frame_unwind): Declare opaque.
2294 (struct frame_info): Replace the fields id_unwind, pc_unwind and
2295 register_unwind with a single unwind pointer.
2296 * frame-unwind.h, frame-unwind.c: New files.
2297 * Makefile.in (SFILES): Add frame-unwind.c.
2298 (frame_unwind_h): Define.
2299 (COMMON_OBS): Add frame-unwind.o.
2300 (frame-unwind.o): Specify dependencies.
2301 (frame.o, dummy-frame.o): Update dependencies.
2302
4efb68b1
AC
23032003-01-18 Andrew Cagney <[email protected]>
2304
2305 * ada-valprint.c: Eliminate PTR.
2306 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
2307 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
2308 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
2309 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
2310 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
2311 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
2312 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
2313
a84d24ee
AC
23142003-01-17 Andrew Cagney <[email protected]>
2315
762f08a3
AC
2316 * main.c (captured_main): Don't use PTR.
2317 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
2318 * gdbtypes.c (lookup_primitive_typename): Ditto.
2319 (lookup_struct_elt_type): Ditto.
2320 * f-valprint.c (info_common_command): Ditto.
2321 (list_all_visible_commons): Ditto.
2322 * jv-typeprint.c (java_type_print_base): Ditto.
2323
a84d24ee
AC
2324 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
2325 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
2326 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
2327 i386-interix-nat.c and i386-interix-tdep.c. Rename
2328 m68klinux-nat.c and m68klinux-tdep.c. Rename
2329 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
2330 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
2331 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
2332 * main.c (captured_main): Use xfree, not free.
2333
c170fb60
AC
23342003-01-16 Andrew Cagney <[email protected]>
2335
2336 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
2337 ID back using a parameter.
2338 * frame.c (frame_id_unwind): Update call.
2339 (frame_saved_regs_id_unwind): Update.
2340 * dummy-frame.c (dummy_frame_id_unwind): Update function.
2341 * dummy-frame.h (struct frame_id): Add opaque declaration.
2342 (dummy_frame_id_unwind): Update declaration.
2343
867f3898
AC
23442003-01-15 Andrew Cagney <[email protected]>
2345
2346 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
2347
40622be8 23482003-01-15 Stephen P. Smith <[email protected]>
de3a8c23 2349
40622be8 2350 * MAINTAINERS (Stephen P. Smith): Updated email address.
de3a8c23 2351
ae66c1fc
EZ
23522003-01-14 Elena Zannoni <[email protected]>
2353
997b089a 2354 Fix PR gdb/898
ae66c1fc
EZ
2355 * breakpoint.c (until_break_command): Add new argument. Use it to
2356 decide whether to stop only at the current frame or not.
2357 * breakpoint.h (until_break_command): Update prototype.
2358 * infcmd.c (until_command): Add new argument to until_break_command
2359 call.
2360 (advance_command): New function.
2361 (_initialize_infcmd): Update help string for 'until' command.
2362 Add new 'advance' command.
2363
a04257e6
DC
23642003-01-14 David Carlton <[email protected]>
2365
2366 * linespec.c (decode_line_1): Normalize comments.
2367 (set_flags): Ditto.
2368 (locate_first_half): Ditto.
2369 (decode_compound): Ditto.
2370 (symtab_from_filename): Ditto.
2371 (decode_all_digits): Ditto.
2372 (decode_dollar): Ditto.
2373 (find_methods): Ditto.
2374 (find_toplevel_char): Ditto.
2375
1bac305b
AC
23762003-01-13 Andrew Cagney <[email protected]>
2377
2378 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
2379 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
2380 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
2381 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
2382 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
2383 * language.c, language.h, m32r-tdep.c: Update copyright.
2384 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
2385 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
2386 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
2387 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
2388 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
2389 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
2390
25caa7a8
EZ
23912003-01-13 Elena Zannoni <[email protected]>
2392
2393 * stabsread.h (process_later, resolve_cfront_continuation):
2394 Obsolete.
2395 Update copyright years.
2396 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
2397 Update copyright year.
2398 * dbxread.c(struct cont_elem): Obsolete.
2399 (process_later, process_now): Obsolete functions.
2400 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
2401 Update copyright year.
2402 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
2403 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
2404 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
2405 (parse_partial_symbols): Obsolete cfront support.
2406 * stabsread.c
2407 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
2408 macros.
2409 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
2410 read_cfront_baseclasses, read_cfront_member_functions,
2411 resolve_cfront_continuation,read_cfront_static_fields,
2412 copy_cfront_struct_fields): Obsolete functions.
2413 (define_symbol, read_one_struct_field): Obsolete cfront support.
2414 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
2415 Update Copyright year.
2416
7789c6f5
EZ
24172003-01-13 Elena Zannoni <[email protected]>
2418
2419 * stack.c (print_frame_info, print_stack_frame_base_stub,
2420 print_stack_frame_base, show_and_print_stack_frame_stub,
2421 show_and_print_stack_frame, print_only_stack_frame_stub,
2422 print_only_stack_frame): Delete functions.
2423 (print_stack_frame_stub): Call print_frame_info instead of
2424 print_frame_info_base.
2425 (print_frame_info_base): Rename to print_frame_info.
2426 (backtrace_command_1): Call print_frame_info, instead of
2427 print_frame_info_base.
2428 (current_frame_command): Call print_stack_frame, instead of
2429 print_only_stack_frame.
2430 (frame_command): Call print_stack_frame, instead of
2431 show_and_print_stack_frame.
2432 (up_command): Ditto.
2433 (down_command): Ditto.
2434 * frame.h (print_only_stack_frame): Delete prototype.
2435 * infrun.c (normal_stop): Call print_stack_frame, instead of
2436 show_and_print_stack_frame.
2437 * thread.c (info_threads_command): Call print_stack_frame, instead
2438 of print_only_stack_frame.
2439
3f5a3016
AC
24402003-01-13 Andrew Cagney <[email protected]>
2441
d99ba314
AC
2442 * README (Graphical interface to GDB): Update URL. Point at
2443 gdb/links/.
2444
3f5a3016
AC
2445 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
2446 version match.
2447
083ae935
DJ
24482003-01-13 Daniel Jacobowitz <[email protected]>
2449
2450 * symtab.c (find_pc_sect_line): Don't consider end-of-function
2451 lines.
2452
5365276c
DJ
24532003-01-13 Daniel Jacobowitz <[email protected]>
2454
2455 * thread-db.c (attach_thread): Prototype.
2456 (struct private_thread_info): Remove lwpid. Add thread handle (th),
2457 thread information (ti), and valid flags (th_valid, ti_valid).
2458 (attach_thread): Move target_pid_to_str call to after the thread
2459 is added to GDB's list. Initialize the cache.
2460 (thread_get_info_callback, thread_db_map_id2thr)
2461 (thread_db_get_info): New functions.
2462 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
2463 (thread_db_store_registers, thread_db_thread_alive)
2464 (thread_db_get_thread_local_address): Use them.
2465 (thread_db_pid_to_str): Likewise. Return "Missing" instead
2466 of calling error() for threads in unknown state.
2467
2468 (clear_lwpid_callback): New function.
2469 (thread_db_resume): Use it to clear the cache.
2470
9fc30b6b
DJ
24712003-01-13 Daniel Jacobowitz <[email protected]>
2472
2473 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
2474 (resume_callback): Remove dead code.
2475
8f871025
AC
24762003-01-13 Andrew Cagney <[email protected]>
2477
2478 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
2479 predicate.
2480 * gdbarch.h, gdbarch.c: Regenerate.
2481 * stack.c (frame_info): Only initialize the saved registers when
2482 FRAME_INIT_SAVED_REGS_P.
2483 * frame.c (frame_saved_regs_register_unwind): Assert
2484 FRAME_INIT_SAVED_REGS_P.
2485 (deprecated_generic_get_saved_register): Ditto.
2486
3f565f1e
DJ
24872003-01-13 Daniel Jacobowitz <[email protected]>
2488
2489 * source.c (openp): Squelch warning about "filename".
2490
072b1022
DJ
24912003-01-13 Daniel Jacobowitz <[email protected]>
2492
2493 * source.c (openp): If the file does not exist don't necessarily
2494 search the path.
2495
973ccf8b
DJ
24962003-01-13 Daniel Jacobowitz <[email protected]>
2497
2498 Fix PR gdb/872.
2499 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
2500 (integer_types_same_name_p): New function.
2501 (rank_one_type): Use it.
2502 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
2503
030292b7
DJ
25042003-01-13 Daniel Jacobowitz <[email protected]>
2505
2506 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
2507 variables.
2508 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
2509 * configure.in: Add --with-sysroot.
2510 * configure: Regenerated.
2511 * main.c (gdb_sysroot): New variable.
2512 (captured_main): Initialize gdb_sysroot.
2513 * defs.h (gdb_sysroot): New extern declaration.
2514 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
2515
afb5d334
MC
25162003-01-12 Michael Chastain <[email protected]>
2517
2518 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
2519
751ceeb4
MC
25202003-01-12 Michael Chastain <[email protected]>
2521
2522 * top.c (print_gdb_version): Bump copyright year to 2003.
2523
94cd26f8
DC
25242003-01-12 David Carlton <[email protected]>
2525
2526 * linespec.c (symtab_from_filename): Rename variable 's' to
2527 'file_symtab'.
2528
1ce79225
AC
25292003-01-12 Andrew Cagney <[email protected]>
2530
2531 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
2532 dummy frame.
2533 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
2534
fa1fd571
AC
25352003-01-12 Andrew Cagney <[email protected]>
2536
2537 * d10v-tdep.c: Include "gdb_assert.h".
2538 (d10v_store_return_value): Rewrite to match current interface.
2539 (d10v_extract_struct_value_address): Ditto.
2540 (d10v_extract_return_value): Ditto.
2541 (d10v_gdbarch_init): Set store_restore_value,
2542 extract_struct_value_address and extract_return_value.
2543
68b8d23e
JB
25442003-01-12 J. Brobecker <[email protected]>
2545
2546 * hpread.c (set_namestring): New procedure replacing the
2547 SET_NAMESTRING macro.
2548 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
2549 by calls to set_namestring.
2550
25512003-01-11 J. Brobecker <[email protected]>
1fb309ea
JB
2552
2553 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
2554 a compilation warning.
2555 (hpread_process_one_debug_symbol): Likewise.
2556
88d262ca
DC
25572003-01-10 David Carlton <[email protected]>
2558
2559 * linespec.c (decode_line_1): Rename variable 's' to
2560 'file_symtab'.
2561 (decode_all_digits): Rename argument 's' to 'file_symtab'.
2562 (decode_dollar): Ditto.
2563 (decode_variable): Ditto.
2564 (symbol_found): Ditto.
2565
86669319
MC
25662003-01-09 Michael Chastain <[email protected]>
2567
2568 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
2569
616a9dc4
CV
25702003-01-07 Corinna Vinschen <[email protected]>
2571
2572 * win32-nat.c (set_process_privilege): New function.
2573 (child_attach): Call set_process_privilege() to enable the
2574 SE_DEBUG_NAME user privilege if available in process token.
2575
3269bcfa
JB
25762003-01-10 J. Brobecker <[email protected]>
2577
2578 * hpread.c (hpread_process_one_debug_symbol): Fix a small
2579 compilation error in the previous revision.
2580
2b0ee454
DC
25812003-01-09 David Carlton <[email protected]>
2582
2583 * linespec.c: Update copyright.
2584
b3ba1b44
DJ
25852003-01-09 Daniel Jacobowitz <[email protected]>
2586
2587 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
2588 than inferior_ptid.
2589 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
2590
4ef3f3be
AC
25912003-01-09 Andrew Cagney <[email protected]>
2592
479ab5a0
AC
2593 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
2594 Update comments.
2595 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
2596 (frame_saved_regs_zalloc): Update.
2597 (frame_saved_regs_register_unwind): Update.
2598 (create_new_frame): Update.
2599 (get_prev_frame): Update.
2600 (frame_extra_info_zalloc): Update.
2601 (deprecated_get_frame_saved_regs): Update.
2602 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
2603 * cris-tdep.c: Update comment.
2604
bde58177
AC
2605 * somsolib.h: Fix function indentation.
2606 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
2607 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
2608 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
2609 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
2610 * somsolib.c, inftarg.c: Remove assignment in if conditional.
2611
4ef3f3be
AC
2612 * infrun.c (follow_fork): Use ISO C definition.
2613 * expprint.c (print_subexp): Use xfree instead of free.
2614 * charset.c: Include "gdb_string.h" instead of <string.h>.
2615 (register_iconv_charsets): Use ISO C definition.
2616 (host_charset, target_charset): Ditto.
2617 * Makefile.in (charset.o): Update dependencies.
2618 (mi-cmd-env.o): Update dependencies.
2619
1c615f7a
AC
26202003-01-08 Andrew Cagney <[email protected]>
2621
2622 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
2623 get_frame_base.
2624
c9a1dc08
AC
26252003-01-08 Andrew Cagney <[email protected]>
2626
2627 * gdb_mbuild.sh: Add --keep option. When specified, keep the
2628 build directories. Save edited gdb output in Mbuild.log. If a
2629 build fails, remove any final GDB executable.
2630
dbad9d94
AC
26312003-01-08 Andrew Cagney <[email protected]>
2632
2633 * gdb_mbuild.sh: Edit the output of `maint print architecture'
2634 replacing hex constants with function names and stripping leading
2635 file name directory prefixes.
2636
8d357cca
AC
26372003-01-08 Andrew Cagney <[email protected]>
2638
2639 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
2640 get_frame_base.
2641
bca02a8a
DC
26422003-01-08 David Carlton <[email protected]>
2643
2644 * linespec.c (decode_line_1): Move code into decode_variable.
2645 (decode_variable): New function.
2646
7f8ab3a0
AC
26472003-01-08 Andrew Cagney <[email protected]>
2648
2649 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
2650
7b5849cc
AC
26512003-01-08 Andrew Cagney <[email protected]>
2652
2653 * cris-tdep.c (cris_frame_init_saved_regs): Use
2654 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
2655 saved_regs buffer.
2656 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
2657 (sh64_nofp_frame_init_saved_regs): Ditto.
2658 (sh_fp_frame_init_saved_regs): Ditto.
2659 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
2660 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
2661 * mcore-tdep.c (analyze_dummy_frame): Ditto.
2662 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
2663
72a5efb3
DJ
26642003-01-08 Daniel Jacobowitz <[email protected]>
2665
2666 * minsyms.c (lookup_minimal_symbol): Update comment.
2667 (lookup_minimal_symbol_text): Update comment. Use the hash table.
2668 (lookup_minimal_symbol_solib_trampoline): Likewise.
2669
11c02a10
AC
26702003-01-08 Andrew Cagney <[email protected]>
2671
aab3ea25
AC
2672 * d10v-tdep.c (d10v_init_extra_frame_info): Use
2673 frame_relative_level.
2674
da50a4b7
AC
2675 * alpha-tdep.c: Use get_frame_extra_info.
2676 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
2677 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
2678 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
2679 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
2680
11c02a10
AC
2681 * alpha-tdep.c: Use get_next_frame.
2682 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
2683 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
2684 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
2685 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
2686 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
2687 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
2688 * xstormy16-tdep.c: Ditto.
2689
1e2330ba
AC
26902003-01-07 Andrew Cagney <[email protected]>
2691
2692 * alpha-tdep.c: Use get_frame_base.
2693 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
2694 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
2695 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
2696 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
2697 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
2698 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
2699 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
2700 * config/sparc/tm-sparc.h: Ditto.
2701
2d75187b
AC
27022003-01-07 Andrew Cagney <[email protected]>
2703
2704 * frame.c (deprecated_get_frame_context): New function.
2705 (deprecated_set_frame_context): New function.
2706 * frame.h (deprecated_get_frame_context): Declare.
2707 (deprecated_set_frame_context): Declare.
2708 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
2709 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
2710
483d36b2
AC
27112003-01-07 Andrew Cagney <[email protected]>
2712
2713 * frame.c (deprecated_set_frame_next_hack): New function.
2714 (deprecated_set_frame_prev_hack): New function.
2715 * frame.h (deprecated_set_frame_next_hack): Declare.
2716 (deprecated_set_frame_prev_hack): Declare.
2717 * mcore-tdep.c (analyze_dummy_frame): Use
2718 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
2719 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
2720
14e91ac5
DC
27212003-01-07 David Carlton <[email protected]>
2722
2723 * linespec.c (decode_line_1): Move code into decode_dollar.
2724 (decode_dollar): New function.
2725
b0c6b05c
AC
27262003-01-07 Andrew Cagney <[email protected]>
2727
2728 * arm-tdep.c (arm_init_extra_frame_info): Use
2729 deprecated_update_frame_base_hack.
2730 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
2731 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
2732 (fix_frame_pointer): Ditto.
2733 (mn10300_analyze_prologue): Ditto.
2734
a00a19e9
AC
27352003-01-07 Andrew Cagney <[email protected]>
2736
2737 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
2738 extra_info using frame_extra_info_zalloc.
2739 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
2740 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
2741 (sh64_init_extra_frame_info): Ditto.
2742 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
2743 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
2744 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
2745 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
2746 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
2747 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
2748 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
2749 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
2750 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
2751 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
2752 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
2753 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
2754
2755 * mn10300-tdep.c (analyze_dummy_frame): Use
2756 deprecated_set_frame_extra_info_hack.
2757 * mcore-tdep.c (analyze_dummy_frame): Ditto.
2758
1fb4c65b
JB
27592003-01-07 J. Brobecker <[email protected]>
2760
2761 * mdebugread.c (parse_symbol): Skip stProc entries which storage
2762 class is not scText. These do not define "real" procedures.
2763 (parse_partial_symbols): Likewise.
2764
9fe7d6bf
MS
27652003-01-06 Michael Snyder <[email protected]>
2766
2767 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
2768
f6c609c4
AC
27692003-01-06 Andrew Cagney <[email protected]>
2770
2771 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
2772 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
2773 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
2774 deprecated_frame_xmalloc_with_cleanup.
2775 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
2776 deprecated_frame_xmalloc.
2777 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
2778 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
2779
d995ff4b
AC
27802003-01-06 Andrew Cagney <[email protected]>
2781
84dc46cb
AC
2782 * x86-64-linux-tdep.c: Include "osabi.h".
2783 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
2784
d995ff4b
AC
2785 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
2786
66140c26
AC
27872003-01-06 Andrew Cagney <[email protected]>
2788
2789 * MAINTAINERS (Target Instruction Set Architectures): Update
2790 arm-elf. Can be built with -Werror, has been multiarched.
2791
2792 * value.h (unpack_long): Make buffer parameter constant.
2793 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
2794 * scm-lang.h (scm_parse): Ditto.
2795 * defs.h (extract_typed_address, extract_address): Ditto.
2796 (extract_long_unsigned_integer): Ditto.
2797 * inferior.h (unsigned_pointer_to_address): Ditto.
2798 (signed_pointer_to_address): Ditto.
2799 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
2800 * gdbarch.h, gdbarch.c: Regenerate.
2801 * findvar.c (extract_long_unsigned_integer): Update.
2802 (extract_address): Update.
2803 (extract_typed_address): Update.
2804 (unsigned_pointer_to_address): Update.
2805 * values.c (unpack_long): Update.
2806 (unpack_double): Update.
2807 (unpack_pointer): Update.
2808 (unpack_field_as_long): Update.
2809 * d10v-tdep.c (d10v_pointer_to_address): Update.
2810 * avr-tdep.c (avr_pointer_to_address): Update.
2811 * scm-lang.c (scm_unpack): Update.
2812 * findvar.c (signed_pointer_to_address): Update.
2813
b089b3da
ML
28142003-01-06 Michal Ludvig <[email protected]>
2815
2816 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
2817 since it is in i386-tdep.c.
2818
aff87235
JB
28192003-01-06 J. Brobecker <[email protected]>
2820
2821 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
2822 failure introduced in the previous change.
2823
34f5e845
MC
28242003-01-05 Michael Chastain <[email protected]>
2825
2826 * README: Remove references to deleted remote-*.c files:
2827 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
2828 remote-nrom.c, remote-os9k.c, remote-udi.c.
2829
28bcfd30
MK
28302003-01-05 Mark Kettenis <[email protected]>
2831
2832 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
2833 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
2834 i386_get_longjmp_target.
2835
15a5b3ee
AC
28362003-01-05 Andrew Cagney <[email protected]>
2837
2838 * arm-tdep.c (prologue_cache): Change to a pointer.
2839 (_initialize_arm_tdep): Allocate prologue_cache.
2840 (check_prologue_cache): Update.
2841 (save_prologue_cache): Update.
2842 (arm_gdbarch_init): Update.
2843
c263362b
DJ
28442003-01-04 Daniel Jacobowitz <[email protected]>
2845
2846 * stabsread.c (update_method_name_from_physname): Call complaint()
2847 instead of error.
2848
51603483
DJ
28492003-01-04 Daniel Jacobowitz <[email protected]>
2850
2851 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
2852 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
2853 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
2854
2855 * blockframe.c: Include "gdbcmd.h" and "command.h".
2856 (backtrace_below_main): New variable.
2857 (file_frame_chain_valid, func_frame_chain_valid)
2858 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
2859 (generic_func_frame_chain_valid): Remove functions.
2860 (frame_chain_valid, do_flush_frames_sfunc): New functions.
2861 (_initialize_blockframe): New function.
2862 * Makefile.in (blockframe.o): Update dependencies.
2863 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
2864 comment. Call frame_chain_valid ().
2865 * frame.h: Remove old prototypes. Add prototype for
2866 frame_chain_valid and update comments to match.
2867 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
2868 Remove old comment.
2869 * gdbarch.h: Regenerated.
2870 * gdbarch.c: Regenerated.
2871
2872 * alpha-tdep.c (alpha_gdbarch_init): Don't call
2873 set_gdbarch_frame_chain_valid.
2874 * avr-tdep.c (avr_gdbarch_init): Likewise.
2875 * cris-tdep.c (cris_gdbarch_init): Likewise.
2876 * frv-tdep.c (frv_gdbarch_init): Likewise.
2877 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
2878 * i386-tdep.c (i386_svr4_init_abi): Likewise.
2879 (i386_nw_init_abi): Likewise.
2880 (i386_gdbarch_init): Likewise.
2881 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
2882 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
2883 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
2884 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
2885 * mips-tdep.c (mips_gdbarch_init): Likewise.
2886 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
2887 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
2888 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
2889 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
2890 * s390-tdep.c (s390_gdbarch_init): Likewise.
2891 * sh-tdep.c (sh_gdbarch_init): Likewise.
2892 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
2893 * v850-tdep.c (v850_gdbarch_init): Likewise.
2894 * vax-tdep.c (vax_gdbarch_init): Likewise.
2895 * x86-64-tdep.c (x86_64_init_abi): Likewise.
2896
2897 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
2898 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
2899 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
2900 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
2901 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
2902 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
2903 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
2904 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
2905
b00a8037
DJ
29062002-01-04 Daniel Jacobowitz <[email protected]>
2907
2908 * Makefile.in (acconfig_h): Remove incorrect macro.
2909 (config_h): Define.
2910 (osabi.o): Update dependencies.
2911 * configure.tgt: Set gdb_osabi based on target triplet.
2912 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
2913 * configure: Regenerated.
2914 * config.in: Regenerated.
2915 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
2916 (GDB_OSABI_DEFAULT): Define if not already defined.
2917 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
2918 (set_osabi_string): New variables.
2919 (gdbarch_register_osabi): Add new OS ABI to
2920 gdb_osabi_available_names.
2921 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
2922 (set_osabi, show_osabi): New functions.
2923 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
2924
4be87837
DJ
29252003-01-04 Daniel Jacobowitz <[email protected]>
2926
2927 * arch-utils.c (gdbarch_info_init): Set osabi to
2928 GDB_OSABI_UNINITIALIZED.
2929 * gdbarch.sh: Add osabi to struct gdbarch and to struct
2930 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
2931 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
2932 * gdbarch.c: Regenerated.
2933 * gdbarch.h: Regenerated.
2934 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
2935 there's no BFD.
2936 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
2937 * osabi.h (enum gdb_osabi): Move to defs.h.
2938 (gdbarch_init_osabi): Update prototype.
2939 * defs.h (enum gdb_osabi): Moved here.
2940 * Makefile.in: Update dependencies.
2941
2942 * alpha-tdep.h: Don't include "osabi.h".
2943 (struct gdbarch_tdep): Remove osabi member.
2944 * alpha-tdep.c: Include "osabi.h".
2945 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2946 iterate over arches. Update call to gdbarch_init_osabi.
2947 (alpha_dump_tdep): Don't dump osabi.
2948 * alpha-linux-tdep.c: Include "osabi.h".
2949 * alpha-osf1-tdep.c: Include "osabi.h".
2950 * alphafbsd-tdep.c: Include "osabi.h".
2951 * alphanbsd-tdep.c: Include "osabi.h".
2952
2953 * arm-tdep.h: Don't include "osabi.h".
2954 (struct gdbarch_tdep): Remove osabi member.
2955 * arm-tdep.c: Include "osabi.h".
2956 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2957 iterate over arches. Update call to gdbarch_init_osabi.
2958 (arm_dump_tdep): Don't dump osabi.
2959 * arm-linux-tdep.c: Include "osabi.h".
2960 * armnbsd-tdep.c: Include "osabi.h".
2961
2962 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
2963 Update call to gdbarch_init_osabi.
2964
2965 * i386-tdep.h: Don't include "osabi.h".
2966 (struct gdbarch_tdep): Remove osabi member.
2967 * i386-tdep.c: Include "osabi.h".
2968 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2969 iterate over arches. Update call to gdbarch_init_osabi.
2970 (i386_dump_tdep): Don't dump osabi.
2971 * i386-linux-tdep.c: Include "osabi.h".
2972 * i386-sol2-tdep.c: Include "osabi.h".
2973 * i386bsd-tdep.c: Include "osabi.h".
2974 * i386gnu-tdep.c: Include "osabi.h".
2975 * i386ly-tdep.c: Include "osabi.h".
2976 * i386nbsd-tdep.c: Include "osabi.h".
2977 * i386obsd-tdep.c: Include "osabi.h".
2978
2979 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
2980 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2981 check osabi when iterating over arches. Update call to
2982 gdbarch_init_osabi.
2983 (mips_dump_tdep): Don't dump osabi.
2984
2985 * ns32k-tdep.h: Don't include "osabi.h".
2986 (struct gdbarch_tdep): Remove.
2987 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
2988 gdbarch_lookup_osabi. Don't iterate over arches. Don't
2989 allocate tdep. Update call to gdbarch_init_osabi.
2990 (ns32k_dump_tdep): Remove.
2991 (_initialize_ns32k_tdep): Update call to gdbarch_register.
2992 * ns32knbsd-tdep.c: Include "osabi.h".
2993
2994 * ppc-tdep.h: Don't include "osabi.h".
2995 (struct gdbarch_tdep): Remove osabi member.
2996 * rs6000-tdep.c: Include "osabi.h".
2997 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
2998 osabi when iterating over arches. Update call to
2999 gdbarch_init_osabi.
3000 (rs6000_dump_tdep): Don't dump osabi.
3001 * ppc-linux-tdep.c: Include "osabi.h".
3002 * ppcnbsd-tdep.c: Include "osabi.h".
3003
3004 * sh-tdep.h: Don't include "osabi.h".
3005 (struct gdbarch_tdep): Remove osabi member.
3006 * sh-tdep.c: Include "osabi.h".
3007 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3008 iterate over arches. Update call to gdbarch_init_osabi.
3009 (sh_dump_tdep): Don't dump osabi.
3010 * shnbsd-tdep.c: Include "osabi.h".
3011
3012 * sparc-tdep.c: Include "osabi.h".
3013 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3014 iterate over arches. Update call to gdbarch_init_osabi.
3015 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
3016 tdep structure.
3017
3018 * vax-tdep.h: Don't include "osabi.h".
3019 (struct gdbarch_tdep): Remove.
3020 * vax-tdep.c: Include "osabi.h".
3021 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3022 iterate over arches. Don't allocate tdep. Update call
3023 to gdbarch_init_osabi.
3024 (vax_dump_tdep): Remove.
3025 (_initialize_vax_tdep): Update call to gdbarch_register.
3026
a881cf8e
DJ
30272003-01-04 Daniel Jacobowitz <[email protected]>
3028
3029 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
3030 entirely.
3031 (breakpoint_re_set_one): Don't fetch the value for a disabled
3032 watchpoint.
3033
1e698235
DJ
30342003-01-04 Daniel Jacobowitz <[email protected]>
3035
3036 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
3037 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
3038 (COERCE_FLOAT_TO_DOUBLE): Remove.
3039 * gdbarch.c: Regenerate.
3040 * gdbarch.h: Regenerate.
3041 * Makefile.in: Remove value_h from gdbarch_h.
3042 * valops.c (coerce_float_to_double): New variable.
3043 (default_coerce_float_to_double): Remove.
3044 (standard_coerce_float_to_double): Remove.
3045 (value_arg_coerce): Use coerce_float_to_double.
3046 (_initialize_valops): Add "set coerce-float-to-double".
3047 * value.h (default_coerce_float_to_double): Remove prototype.
3048 (standard_coerce_float_to_double): Remove prototype.
3049
3050 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
3051 prototyped.
3052 * mdebugread.c (parse_symbol): Likewise.
3053 * stabsread.c (define_symbol): Mark all functions as prototyped.
3054
3055 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
3056 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
3057 set_gdbarch_coerce_float_to_double.
3058 * arm-tdep.c (arm_gdbarch_init): Likewise.
3059 * frv-tdep.c (frv_gdbarch_init): Likewise.
3060 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
3061 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
3062 * mips-tdep.c (mips_gdbarch_init): Likewise.
3063 (mips_coerce_float_to_double): Remove.
3064 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3065 (rs6000_coerce_float_to_double): Remove.
3066 * s390-tdep.c (s390_gdbarch_init): Likewise.
3067 * sh-tdep.c (sh_gdbarch_init): Likewise.
3068 (sh_coerce_float_to_double): Remove.
3069 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3070 (sparc_coerce_float_to_double): Remove.
3071 * v850-tdep.c (v850_gdbarch_init): Likewise.
3072 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
3073 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3074 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
3075 (hppa_coerce_float_to_double): Remove prototype.
3076 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3077
f436a26a
DJ
30782003-01-04 Daniel Jacobowitz <[email protected]>
3079
3080 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
3081
248f8055
DJ
30822003-01-04 Daniel Jacobowitz <[email protected]>
3083
3084 Suggested by Stewart Brown <[email protected]>:
3085 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
3086 in recursive calls. Handle TYPE_CODE_TYPEDEF.
3087 (c_type_print_varspec_suffix): Likewise.
3088
72cfdc76
MK
30892003-01-04 Mark Kettenis <[email protected]>
3090
bfd260bb
MK
3091 * configure.in: Don't set and AC_SUBST SUBDIRS.
3092 * configure: Regenerated.
3093
72cfdc76
MK
3094 * configure.in: Remove code dealing with shared libraries.
3095 * Makefile.in: Remove HLDFLAGS and HLDENV.
3096 * configure: Regenerated.
3097
c8b8a898
AC
30982003-01-04 Andrew Cagney <[email protected]>
3099
3100 * frame.c (deprecated_frame_xmalloc): New function.
3101 (deprecated_set_frame_saved_regs_hack): New function.
3102 (deprecated_set_frame_extra_info_hack): New function.
3103 * frame.h (deprecated_frame_xmalloc): Declare.
3104 (deprecated_set_frame_saved_regs_hack): Declare.
3105 (deprecated_set_frame_extra_info_hack): Declare.
3106
14abd0fb
MK
31072003-01-04 Mark Kettenis <[email protected]>
3108
8ee53726
MK
3109 * configure.in: Move code that provides the --enable-gdbtk option
3110 right after the code that handles the --enable-tui option, and
3111 polish it somewhat.
3112 * configure: Regenerated.
3113
14abd0fb
MK
3114 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
3115 AC_CHECK_FUNCS and remove the old check for pread64.
3116 * acinclude.m4 (AC_GNU_SOURCE): New macro.
3117 * acconfig.h (_GNU_SOURCE): Add.
3118 (HAVE_PREAD64): Remove.
3119 * configure, aclocal.m4, config.in: Regenerated.
3120
b2fb4676
AC
31212003-01-03 Andrew Cagney <[email protected]>
3122
3123 * alpha-tdep.c: Use get_frame_saved_regs.
3124 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3125 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
3126 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
3127 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
3128 * vax-tdep.c, xstormy16-tdep.c: Ditto.
3129
8dcde887
MK
31302003-01-03 Mark Kettenis <[email protected]>
3131
3132 * configure.in: Remove all use of the SUBDIRS variable; add
3133 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
3134 code providing the --enable-multi-ice option, and move it right in
3135 front of the code that checks whether gdbserver is supported.
3136 Polish that too.
3137 * configure: Regenerated.
3138 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
3139 @SUBDIRS@.
3140
8ccd593b
AC
31412003-01-03 Andrew Cagney <[email protected]>
3142
3143 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
3144 * avr-tdep.c, cris-tdep.c: Ditto.
3145 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
3146 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
3147
91151a06
MK
31482003-01-03 Mark Kettenis <[email protected]>
3149
3150 * configure.in: Remove --enable-netrom option.
3151 * configure: Regenerated.
3152
8fe84d01
MK
31532003-01-03 Mark Kettenis <[email protected]>
3154
3155 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
3156 declaration for `struct re_pattern_buffer' instead.
3157 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
3158
f0394be6
JB
31592003-01-03 J. Brobecker <[email protected]>
3160
3161 * mdebugread.c (parse_symbol): Count until the stEnd matching
3162 the structure name.
3163
27e9bf90
MK
31642003-01-02 Mark Kettenis <[email protected]>
3165
93d331ba
MK
3166 * configure.in: Remove --with-cpu option.
3167 subscripts. Remove evil changequotes here.
3168 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
3169 * config.in, configure: Regenerated.
3170
27e9bf90
MK
3171 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
3172 * configure.in: Cleanup section that sources GDB and BFD configure
3173 subscripts. Remove evil changequotes here.
3174 * config.in, configure: Regenerated.
3175
50abf9e5
AC
31762003-01-02 Andrew Cagney <[email protected]>
3177
3178 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
3179 frame accessor methods.
3180 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3181 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
3182 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
3183 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
3184 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
3185 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
3186 * z8k-tdep.c: Ditto.
3187
287c1a40
MK
31882003-01-02 Mark Kettenis <[email protected]>
3189
f5dbc56d
MK
3190 * configure.in: Remove UI_OUT configuration code.
3191 * ada-lang.c: Update assuming UI_OUT is always true.
3192 * Makefile.in (UIOUT_CFLAGS): Remove.
3193 * configure: Regenerated.
3194 * TODO: Remove blurb about elimination of -DUI_OUT.
3195
627af7ea
MK
3196 * configure.in: Move code that provides the --enable-gdbcli,
3197 --enable-gdbmi options right before the code that handles the
3198 --enable-tui option. Polish a bit.
3199 * configure: Regenerated.
3200
06825bd1
MK
3201 * configure.in: Rewrite check for GNU regex and the
3202 --without-included regex option, and move it into the "Checks for
3203 library functions" section. This makes us use the system regex
3204 again by default on systems with version 2 of the GNU C library.
3205 This was apparently broken.
3206 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
3207 * acconfig.h (USE_INCLUDED_REGEX): Remove.
3208 * config.in, configure: Regenerated.
3209
287c1a40
MK
3210 * configure.in: Move code that provides the --enable-tui option
3211 before the "Checks for libraries" section. Polish the code
3212 somewhat and set need_curses to yes if we build the TUI. Rewrite
3213 code that looks for a library providing termcap functionality to
3214 match more closely what's done in the Readline library, and move
3215 it into to the "Checks for libraries" section.
3216 * configure: Regenerated.
3217 * Makefile.in (TERMCAP): Remove variable.
3218 * config/i386/go32.mh (TERMCAP): Remove variable.
3219
684e56bf
AC
32202003-01-02 Andrew Cagney <[email protected]>
3221
3222 * MAINTAINERS: Mention gdb_mbuild.sh.
3223 * gdb_mbuild.sh: Rewrite.
3224
e1ea1d75
MK
32252003-01-02 Mark Kettenis <[email protected]>
3226
3227 * configure.in: Fix typo in last change.
3228 * config.in, configure: Regenerated.
3229
1b831c93
AC
32302003-01-02 Andrew Cagney <[email protected]>
3231
3232 * valarith.c (value_binop): Delete obsolete code and comments.
3233 * configure.host: Ditto.
3234 * buildsym.h (make_blockvector): Ditto.
3235 * buildsym.c (make_blockvector): Ditto.
3236 * defs.h (enum language): Ditto.
3237 (chill_demangle): Ditto.
3238 * elfread.c (elf_symtab_read): Ditto.
3239 * dwarfread.c (CHILL_PRODUCER): Ditto.
3240 (set_cu_language): Ditto.
3241 (handle_producer): Ditto.
3242 * expprint.c (print_subexp): Ditto.
3243 * gdbtypes.c (chill_varying_type): Ditto.
3244 * gdbtypes.h (builtin_type_chill_bool): Ditto.
3245 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
3246 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
3247 (chill_varying_type): Ditto.
3248 * language.h (_LANG_chill): Ditto.
3249 * language.c (binop_result_type, integral_type): Ditto.
3250 (character_type, string_type, structured_type): Ditto.
3251 (lang_bool_type, binop_type_check): Ditto.
3252 * stabsread.h (os9k_stabs): Ditto.
3253 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
3254 (define_symbol, read_type, read_struct_fields): Ditto.
3255 (read_array_type, read_enum_type, read_huge_number): Ditto.
3256 (read_range_type, start_stabs): Ditto.
3257 * symfile.c (init_filename_language_table): Ditto.
3258 (add_psymbol_with_dem_name_to_list): Ditto.
3259 * symtab.c (symbol_init_language_specific): Ditto.
3260 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
3261 * symtab.h (struct general_symbol_info): Ditto.
3262 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
3263 * typeprint.c (typedef_print): Ditto.
3264 * utils.c (fprintf_symbol_filtered): Ditto.
3265 * valops.c (value_cast, search_struct_field, value_slice): Delete
3266 obsolete code.
3267 (varying_to_slice): Delete function.
3268 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
3269 (varying_to_slice): Delete declaration.
3270 * MAINTAINERS: Update.
3271
8bb2c122
MK
32722003-01-02 Mark Kettenis <[email protected]>
3273
97bf5e38
MK
3274 * configure.in: Reorganize "Checks for library functions section"
3275 a bit. Remove check for `btowc' and `isascii' functions.
3276 * configure: Regenerated.
3277
5ee754fc
MK
3278 * acconfig.h (_MSE_INT_H): Remove.
3279 * configure.in: Create "Checks for header files" section, and move
3280 appropriate tests there. Don't check for objlist.h, wchar.h,
3281 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
3282 misdetection fix. Also add "Checks for types", "Checks for
3283 compiler characteristics" and "Checks for library functions"
3284 sections.
3285 * config.in, configure: Regenerated.
3286
8bb2c122
MK
3287 * configure.in: Create "Checks for programs" section, and move
3288 appropriate tests there.
3289
9a156167
MK
32902003-01-01 Mark Kettenis <[email protected]>
3291
3292 * configure.in: Create "Checks for libraries" section, and move
3293 appropriate tests there. Cleanup check for wctype in libw. Use
3294 AC_SEARCH_LIBS to see whether we need libsocket.
3295 * configure: Regenerated.
3296
a80e2bcb 3297For older changes see ChangeLog-2002
c906108c
SS
3298\f
3299Local Variables:
3300mode: change-log
3301left-margin: 8
3302fill-column: 74
3303version-control: never
3304End:
This page took 1.268859 seconds and 4 git commands to generate.