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