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