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