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