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