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