2003-04-14 David Carlton <carlton@math.stanford.edu>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
980cae7a
DC
12003-04-14 David Carlton <carlton@math.stanford.edu>
2
3 * symtab.c (symbol_set_names): Rename 'name' arg to
4 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'.
5 * symtab.h: Change 'name' argument in declaration of
6 symbol_set_names to 'linkage_name'.
7 (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'.
8
e227b13c
AC
92003-04-14 Andrew Cagney <cagney@redhat.com>
10
11 * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE,
12 return the fully sign-extended register value.
13 (get_frame_pointer): Ditto.
14 (mips_pop_frame): Initialize "proc_desc" after checking for a
15 dummy frame.
16
36712a20
AC
172003-04-14 Andrew Cagney <cagney@redhat.com>
18
19 * mips-tdep.c (mips_push_dummy_frame): Delete function.
20 (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros.
21 (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro.
22 (mips_push_register): Delete function.
23 (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and
24 PUSH_FP_REGNUM.
25
44ea7b70
JB
262003-04-14 Jim Blandy <jimb@redhat.com>
27
28 * symmisc.c: #include "gdb_regex.h".
29 (maintenance_list_symtabs, maintenance_list_psymtabs): New
30 functions.
31 * maint.c (maintenance_list_command): New function.
32 (_initialize_maint_cmds): Register the above as commands.
33 * symtab.h (maintenance_list_symtabs,
34 maintenance_list_psymtabs): New declarations.
35 * cli/cli-cmds.c (maintenancelistlist): New variable.
36 (init_cmd_lists): Initialize it.
37 * cli/cli-cmds.h (maintenancelistlist): New declaration.
38 * gdbcmd.h (maintenancelistlist): New declaration.
39 * Makefile.in (symmisc.o): Update dependencies.
40
2d0c7962
EZ
412003-04-14 Elena Zannoni <ezannoni@redhat.com>
42
43 * s390-nat.c: Include asm/types.h for addr_t.
44
1947a811
CV
452003-04-14 Corinna Vinschen <vinschen@redhat.com>
46
47 * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with
48 actually incoming type.
49
adb616d7
AC
502003-04-13 Andrew Cagney <cagney@redhat.com>
51
52 * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc,
53 get_next_frame and get_frame_saved_regs.
54
9b5e151c
AC
552003-04-13 Andrew Cagney <cagney@redhat.com>
56
57 * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead
58 of gdbarch_num_regs.
59
ef6e7e13
AC
602003-04-13 Andrew Cagney <cagney@redhat.com>
61
62 * frame.h: Mention what replaced what in "struct frame_info".
63 * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and
64 deprecated_update_frame_base_hack and
65 deprecated_update_frame_pc_hack.
66 * hppa-tdep.c: Ditto.
67
61fbb938
DJ
682003-04-13 Daniel Jacobowitz <drow@mvista.com>
69
70 * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments
71 to read_reg and update its comment. Remove regnum member.
72 * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval.
73 Don't call read_reg when setting in_reg. Call read_reg to get
74 the frame base if it's in a register. Return the register number
75 on the stack instead of in the context. Remove extra arguments
76 to read_reg.
77 * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments.
78 (dwarf2_evaluate_loc_desc): Call value_from_register. Expect
79 the register number on the expression stack.
80 (needs_frame_read_reg): Remove extra arguments.
81
0d53c4c4
DJ
822003-04-13 Daniel Jacobowitz <drow@mvista.com>
83
84 * dwarf2expr.c (dwarf2_read_address): Renamed from read_address;
85 made non-static.
86 (execute_stack_op): All callers updated.
87 * dwarf2expr.h: Add prototype for dwarf2_read_address.
88 * dwarf2loc.c (find_location_expression): New function.
89 (dwarf_expr_frame_base): Call it.
90 (dwarf2_evaluate_loc_desc): Handle 0-length location expressions.
91 (dwarf2_tracepoint_var_ref): New function, broken out from
92 locexpr_tracepoint_var_ref.
93 (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref.
94 Make static.
95 (loclist_read_variable, loclist_read_needs_frame): New functions.
96 (loclist_describe_location, loclist_tracepoint_var_ref): New
97 functions.
98 (dwarf2_loclist_funcs): New struct location_funcs.
99 * dwarf2loc.h (struct dwarf2_loclist_baton): New type.
100 (struct dwarf2_locexpr_baton): Add comments.
101 (dwarf2_loclist_funcs): New extern.
102 * dwarf2read.c (struct comp_unit_head): Remove DIE member, add
103 base_address and base_known.
104 (dwarf_loc_buffer): New variable.
105 (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size.
106 (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros.
107 (dwarf2_has_info): Initialize dwarf_loc_offset.
108 (dwarf2_build_psymtabs): Read in .debug_loc.
109 (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and
110 DWARF_LOC_SIZE.
111 (psymtab_to_symtab_1): Likewise. Move base address calculation
112 here, from...
113 (dwarf2_get_pc_bounds): ... here. Use the base address from
114 cu_header.
115 (dwarf2_symbol_mark_computed): Handle location lists.
116
6aca59a3
DJ
1172003-04-13 Daniel Jacobowitz <drow@mvista.com>
118
119 * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode
120 if the linkage name demangled successfully.
121
aca1fcd0
MK
1222003-04-13 Mark Kettenis <kettenis@gnu.org>
123
97095916
MK
124 * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours,
125 disassmbly_flavour): Removed.
126
aca1fcd0
MK
127 * x86-64-tdep.c (gdb_print_insn_x86_64): Removed.
128
562a961f
MK
1292003-04-13 Mark Kettenis <kettenis@gnu.org>
130
131 * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed.
132
bd013d54
AC
1332003-04-12 Andrew Cagney <cagney@redhat.com>
134
135 * frame.h (struct frame_info): Move definition from here ...
136 * frame.c (struct frame_info): ... to here.
137
167ef8b1
AC
1382003-04-12 Andrew Cagney <cagney@redhat.com>
139
140 * gdbthread.h (save_infrun_state): Delete parameter
141 "prev_func_start".
142 (struct thread_info): Delete field "prev_func_start".
143 (load_infrun_state): Ditto.
144 * thread.c (load_infrun_state, save_infrun_state): Update.
145 * infrun.c (prev_func_start): Delete variable.
146 (context_switch, init_wait_for_inferior): Update.
147 (stop_stepping, keep_going): Update.
148
da3331ec
AC
1492003-04-12 Andrew Cagney <cagney@redhat.com>
150
151 * gdbarch.sh: Add missing opaque declarations.
152 * gdbarch.h: Regnerate.
153 * symtab.h: Add missing opaque declarations.
154 * value.h, target.h, symfile.h, stabsread.h: Ditto.
155 * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto.
156 * srec.h, solib-svr4.h, source.h, inferior.h: Ditto.
157 * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto.
158 * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto.
159 * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto.
160 * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto.
161 * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto.
162 * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto.
163 * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto.
164 * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto.
165 * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto.
166 * cli/cli-setshow.h, cli/cli-script.h: Ditto.
167
18adea3f
AC
1682003-04-11 Andrew Cagney <cagney@redhat.com>
169
170 * frame.c (get_frame_id): Return this frame's "id".
171 (legacy_get_prev_frame): Set prev's frame ID code_addr to the
172 function start.
173 (legacy_saved_regs_this_id): Replace function body with
174 internal-error.
175 (deprecated_frame_xmalloc): Mark the frame ID as valid, use
176 FRAME_OBSTACK_ZALLOC.
177 (create_new_frame): Mark the frame ID as valid.
178
2252e863
AO
1792003-04-11 Alexandre Oliva <aoliva@redhat.com>
180
181 * Makefile.in (libbfd_h): Added missing setting.
182 * mips-tdep.c (mips_gdbarch_init): Set disassembler_options
183 according to the selected ABI.
184
a8245ab8
JJ
1852003-04-11 Jeff Johnston <jjohnstn@redhat.com>
186
187 * gdb_indent.sh: Recognize pid_t and sigset_t as types.
188
6913c89a
AC
1892003-04-11 Andrew Cagney <cagney@redhat.com>
190
191 * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate
192 SAVED_PC_AFTER_CALL.
193 * gdbarch.h, gdbarch.c: Regenerate.
194 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
195 * x86-64-tdep.c (x86_64_init_abi): Update.
196 * vax-tdep.c (vax_gdbarch_init): Update.
197 * v850-tdep.c (v850_gdbarch_init): Update.
198 * sparc-tdep.c (sparc_gdbarch_init): Update.
199 * sh-tdep.c (sh_gdbarch_init): Update.
200 * s390-tdep.c (s390_gdbarch_init): Update.
201 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
202 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
203 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
204 * mips-tdep.c (mips_gdbarch_init): Update.
205 * mcore-tdep.c (mcore_gdbarch_init): Update.
206 * m68k-tdep.c (m68k_gdbarch_init): Update.
207 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
208 * ia64-tdep.c (ia64_gdbarch_init): Update.
209 (ia64_saved_pc_after_call): Update declaration.
210 * i386ly-tdep.c (i386lynx_init_abi): Update.
211 * i386-tdep.c (i386_gdbarch_init): Update.
212 * hppa-tdep.c (hppa_gdbarch_init): Update.
213 * h8300-tdep.c (h8300_gdbarch_init): Update.
214 * frv-tdep.c (frv_gdbarch_init): Update.
215 * cris-tdep.c (cris_gdbarch_init): Update.
216 * avr-tdep.c (avr_gdbarch_init): Update.
217 * arm-tdep.c (arm_gdbarch_init): Update.
218 * alpha-tdep.c (alpha_gdbarch_init): Update.
219 * ns32knbsd-nat.c (frame_num_args): Update.
220 * ns32k-tdep.c (umax_frame_num_args): Update.
221 * mips-tdep.c (mips_init_frame_pc_first): Update.
222 * infrun.c (step_over_function): Update.
223 * i386-linux-tdep.c (skip_hurd_resolver): Update.
224 * i386-interix-tdep.c (i386_interix_back_one_frame): Update.
225 * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
226 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
227 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
228 * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
229 * arm-linux-tdep.c (skip_hurd_resolver): Update.
230 * arch-utils.c (init_frame_pc_default): Update.
231 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
232 * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update
233 declaration.
234
38edeab8
AC
2352003-04-11 Andrew Cagney <cagney@redhat.com>
236
237 * i387-tdep.c: Update copyright.
238 (i387_to_double): Delete function.
239 (double_to_i387): Delete function.
240
81f8a206
AC
2412003-04-10 Andrew Cagney <cagney@redhat.com>
242
243 * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the
244 frame's function's address. Simplify.
245 (d10v_frame_unwind_cache): Check that the frame's function is
246 non-zero.
247
6e691f7a
JB
2482003-04-10 Jim Blandy <jimb@redhat.com>
249
250 * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted
251 call to set_gdbarch_deprecated_push_arguments.
252
7f78e237
AC
2532003-04-10 Andrew Cagney <cagney@redhat.com>
254
255 * frame.c (fprint_frame_id): New function.
256 (fprint_frame_type, fprint_frame): New function.
257 (frame_pc_unwind, frame_func_unwind): Add/update trace code.
258 (create_sentinel_frame, get_frame_id): Ditto.
259 (frame_id_p, frame_id_eq): Ditto.
260 (frame_id_inner, create_new_frame): Ditto.
261 (legacy_get_prev_frame, get_prev_frame): Ditto.
262 (deprecated_update_frame_pc_hack): Ditto.
263 (frame_register_unwind): Ditto.
264 (deprecated_update_frame_base_hack): Ditto.
265
f870b49b
CV
2662003-04-10 Corinna Vinschen <vinschen@redhat.com>
267
268 * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.
269 (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new
270 frame_chain function.
271 * Makefile.in: Add dependencies due to above change.
272
7c86889b
CV
2732003-04-10 Corinna Vinschen <vinschen@redhat.com>
274
275 * blockframe.c (legacy_frame_chain_valid): Move call to
276 DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and
277 inside_entry_file.
278
d0a55772
AC
2792003-04-09 Andrew Cagney <cagney@redhat.com>
280
281 * frame.h (struct frame_id): Replace "pc" and "base" with
282 "stack_addr" and "code_addr". Update comments.
283 (frame_id_build): Update parameter names and comment.
284 (struct frame_info): Replace "id_p" and "id" with "this_id".
285 * dummy-frame.c (dummy_frame_this_id): Update.
286 * breakpoint.c (print_one_breakpoint): Update.
287 * frame.c (get_frame_id): Update.
288 (get_frame_base, frame_id_build): Update.
289 (create_sentinel_frame, legacy_get_prev_frame): Update.
290 (deprecated_update_frame_base_hack): Update.
291 (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID.
292 (frame_id_inner): Ditto.
293
ac16bf07
AC
2942003-04-09 Andrew Cagney <cagney@redhat.com>
295
296 * defs.h (gdb_print_host_address): Make "addr" parameter a
297 pointer constant.
298 * utils.c (gdb_print_host_address): Update.
299
366cfc9e
KB
3002003-04-09 Kevin Buettner <kevinb@redhat.com>
301
302 * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
303 register number for R0 is 0.
304
cd983b5c
JB
3052003-04-09 J. Brobecker <brobecker@gnat.com>
306
307 * frame.h (struct gdbarch): Add opaque structure definition
308 to avoid a compilation warning on LynxOS 4.0.
309
d1340264
AC
3102003-04-09 Andrew Cagney <cagney@redhat.com>
311
312 * frame.h (struct frame_info): Delete field "pc". Replace
313 "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc"
314 structure.
315 * frame.c (frame_pc_unwind): Update.
316 (create_sentinel_frame): Do not set "pc".
317 (get_prev_frame): Do not set "pc". Use frame_pc_unwind.
318 (get_frame_pc): Call frame_pc_unwind.
319 (deprecated_update_frame_pc_hack): Update.
320 (create_new_frame): Use "pc" not "->pc".
321
90a6fffb
AC
3222003-04-09 Andrew Cagney <cagney@redhat.com>
323
324 * frame.c (get_frame_id): Eliminate code updating "frame".
325 (legacy_get_prev_frame): Ditto.
326 (get_frame_base): Return id.base directly.
327 (deprecated_update_frame_base_hack): Update "id.base".
328 * frame.h (struct frame_info): Delete field "frame".
329
2fbce691
AC
3302003-04-09 Andrew Cagney <cagney@redhat.com>
331
332 * NEWS: Mention that the "Sequent family" is obsolete.
333 * configure.tgt: Obsolete i[3456]86-sequent-bsd*,
334 i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
335 * configure.host: Obsolete i[3456]86-sequent-bsd*,
336 i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
337 * config/i386/tm-ptx4.h: Obsolete file.
338 * config/i386/tm-ptx.h: Obsolete file.
339 * symm-tdep.c: Obsolete file.
340 * config/i386/symmetry.mt: Obsolete file.
341 * config/i386/tm-symmetry.h: Obsolete file.
342 * symm-nat.c: Obsolete file.
343 * config/i386/nm-symmetry.h: Obsolete file.
344 * config/i386/xm-symmetry.h: Obsolete file.
345 * config/i386/symmetry.mh: Obsolete file.
346 * config/i386/nm-ptx4.h: Obsolete file.
347 * config/i386/ptx4.mh: Obsolete file.
348 * config/i386/ptx.mt: Obsolete file.
349 * config/i386/ptx.mh: Obsolete file.
350 * config/i386/xm-ptx4.h: Obsolete file.
351 * config/i386/xm-ptx.h: Obsolete file.
352
78c43945
AC
3532003-04-09 Andrew Cagney <cagney@redhat.com>
354
355 Obsolete mips*-*-mach3*.
356 * NEWS: Mention that mips*-*-mach3* is obsolete.
357 * m3-nat.c: Obsolete file.
358 * config/nm-m3.h: Obsolete file.
359 * config/mips/tm-mipsm3.h: Obsolete file.
360 * config/mips/mipsm3.mt: Obsolete file.
361 * config/mips/mipsm3.mh: Obsolete file.
362 * config/mips/xm-mipsm3.h: Obsolete file.
363 * mipsm3-nat.c: Obsolete file.
364 * configure.host: Obsolete mips-dec-mach3*.
365 * configure.tgt: Obsolete mips*-*-mach3*.
366
f1908289
AC
3672003-04-09 Andrew Cagney <cagney@redhat.com>
368
369 * doublest.h: Update copyright.
370 (deprecated_store_floating, deprecated_extract_floating): Rename
371 store_floating and extract_floating. Update comments.
372 * doublest.c: Update copyright.
373 (extract_floating_by_length): Replace extract_floating.
374 (store_floating_by_length): Replace store_floating.
375 (deprecated_extract_floating): New function.
376 (deprecated_store_floating): New function.
377 (extract_typed_floating): Call extract_floating_by_length.
378 (store_typed_floating): Call store_floating_by_length.
379 * x86-64-tdep.c (x86_64_store_return_value): Update.
380 * sh-tdep.c (sh3e_sh4_extract_return_value): Update.
381 (sh64_extract_return_value): Update.
382 (sh_sh4_register_convert_to_virtual): Update.
383 (sh_sh64_register_convert_to_virtual): Update.
384 (sh_sh4_register_convert_to_raw): Update.
385 (sh_sh64_register_convert_to_raw): Update.
386 * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update.
387 (rs6000_register_convert_to_raw): Update.
388 * ia64-tdep.c (ia64_register_convert_to_virtual): Update.
389 (ia64_register_convert_to_raw): Update.
390 * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update.
391 (REGISTER_CONVERT_TO_VIRTUAL): Update.
392 * arm-linux-tdep.c (arm_linux_push_arguments): Update.
393 * alpha-tdep.c (alpha_register_convert_to_virtual): Update.
394 (alpha_register_convert_to_raw): Update.
395
4443bd83
AC
3962003-04-08 Andrew Cagney <cagney@redhat.com>
397
398 * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate.
399 * gdbarch.h, gdbarch.c: Re-generate.
400 * d10v-tdep.c (d10v_saved_pc_after_call): Delete function.
401 (d10v_gdbarch_init): Do not set saved_pc_after_call.
402 * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P
403 conditionally, use frame_pc_unwind as an alternative. Add
404 comments.
405 * arch-utils.c (init_frame_pc_default): Only call
406 SAVED_PC_AFTER_CALL when available.
407
c0236d92
EZ
4082003-04-08 Elena Zannoni <ezannoni@redhat.com>
409
410 * infrun.c (stop_soon): Rename from stop_soon_quietly.
411 (struct inferior_status): Rename stop_soon_quietly field to stop_soon.
412 (clear_proceed_status): Rename stop_soon_quietly to stop_soon.
413 (start_remote): Ditto.
414 (handle_inferior_event): Ditto.
415 (save_inferior_status): Ditto.
416 (restore_inferior_status): Ditto.
417 * infcmd.c (attach_command): Ditto.
418 * fork-child.c (startup_inferior): Ditto.
419 * inferior.h (stop_soon): Rename from stop_soon_quietly.
420 * alpha-tdep.c (heuristic_proc_start): Ditto.
421 * mips-tdep.c (heuristic_proc_start): Ditto.
422 * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto.
423 * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
424 * solib-osf.c (osf_solib_create_inferior_hook): Ditto.
425 * solib-irix.c (irix_solib_create_inferior_hook): Ditto.
426 * remote-vx.c (vx_create_inferior): Ditto.
427
4282003-04-08 Elena Zannoni <ezannoni@redhat.com>
429
430 * infrun.c (stop_soon_quietly): Make it an enum, to better
431 override the default behavior of handle_inferior_event.
432 (clear_proceed_status): Update uses of stop_soon_quietly to
433 reflect that it is now an enum.
434 (start_remote): Ditto.
435 (handle_inferior_event): Change logic a bit if stop_soon_quietly
436 is set to handle the new GNU/Linux kernel behavior for
437 attach/sigstop. Update uses of stop_soon_quietly.
438 * inferior.h (enum stop_kind): New enum.
439 * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP.
440 Reset normal handle_inferior_event behavior, afterwards.
441 * fork-child.c (startup_inferior): Update.
442 * alpha-tdep.c (heuristic_proc_start): Update.
443 * solib-svr4.c (svr4_solib_create_inferior_hook): Update.
444 * solib-sunos.c (sunos_solib_create_inferior_hook): Update.
445 * solib-osf.c (osf_solib_create_inferior_hook): Update.
446 * solib-irix.c (irix_solib_create_inferior_hook): Update.
447 * remote-vx.c (vx_create_inferior): Update.
448 * mips-tdep.c (heuristic_proc_start): Update.
449
1211bce3
EZ
4502003-04-07 Elena Zannoni <ezannoni@redhat.com>
451
452 * disasm.c (dump_insns): Move variables inside loop, or they will
453 be freed more than once, causing wild memory corruptions.
454 (gdb_disassembly): Look for the substring "-thread",
455 instead of "-threads" in the target name, to make sure to find
456 the 'multi-thread' target. Also, make sure we do the right thing
457 with the "core" target.
458
f0ef6b29
KB
4592003-04-07 Kevin Buettner <kevinb@redhat.com>
460
461 * mips-tdep.c (mips_print_fp_register): New function, created from
462 do_fp_register_row(). Registers are now (also) printed as hex.
463 Only one register is printed per row.
464 (mips_print_register, do_fp_register_row): Print floating point
465 registers with mips_print_fp_register().
466
8cf71652
AC
4672003-04-06 Andrew Cagney <cagney@redhat.com>
468
5e488a7b
AC
469 * valprint.h (inspect_it): Add extern declaration.
470 * objc-lang.c (value_nsstring): Avoid assignment inside of "if".
471 (selectors_info, classes_info): Ditto.
472 (find_objc_msgcall): Fix indentation.
473 (objc_printstr): Delete extern declarations.
474
8cf71652
AC
475 * arm-tdep.c (arm_frameless_function_invocation): Fix typo.
476
e6ba3bc9
AC
4772003-04-06 Andrew Cagney <cagney@redhat.com>
478
479 * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid.
480 Update comment.
481 * frame.c (legacy_saved_regs_this_id): Update.
482 (legacy_get_prev_frame): Update.
483 * xstormy16-tdep.c: Update comment.
484 * sparc-tdep.c (sparc_frame_chain): Update comment.
485 * blockframe.c (legacy_frame_chain_valid): Update.
486
55e1d7e7
AC
4872003-04-06 Andrew Cagney <cagney@redhat.com>
488
996179ee
AC
489 * valprint.c (val_print_type_code_int): Delete #ifdef
490 PRINT_TYPELESS_INTEGER code.
491
55e1d7e7
AC
492 * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
493 (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial
494 multi-arch definition.
495 * gdbarch.h: Re-generate.
496
43bd9a9e
AC
4972003-04-05 Andrew Cagney <cagney@redhat.com>
498
499 Eliminate FRAME_FIND_SAVED_REGS.
500 * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp):
501 Change FSR parameter to a pointer.
502 * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP):
503 Assume FSR parameter is a pointer.
504 * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp):
505 Make fsr a pointer.
506 * hppa-tdep.c (hppa_frame_find_saved_regs): New function.
507 (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make
508 saved_regs a pointer.
509 (hppa_frame_saved_pc): Ditto.
510 (find_dummy_frame_regs): Make frame_saved_regs a pointer
511 (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a
512 pointer.
513 (restore_pc_queue): Make fsr a pointer.
514 (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer.
515 (hppa_frame_chain): Make saved_regs a pointer, call
516 hppa_frame_init_saved_regs.
517 * sparc-tdep.c: Include "gdb_assert.h".
518 (sparc_frame_find_saved_regs): Replace internal_error with
519 gdb_assert.
520 * remote-vxsparc.c (vx_read_register): Delete reference to
521 FRAME_FIND_SAVED_REGS.
522 * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS.
523 * gdbarch.h: Regenerate.
524 * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
525 (deprecated_get_frame_saved_regs): Delete declaration.
526 (struct frame_saved_regs): Delete definition.
527 * frame.c (deprecated_get_frame_saved_regs): Delete function.
528 * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare.
529 (hppa_frame_find_saved_regs): Delete declaration.
530 (FRAME_FIND_SAVED_REGS): Delete macro.
531 (DEPRECATED_FRAME_INIT_SAVED_REGS): Define.
532 * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete
533 FRAME_FIND_SAVED_REGS in comment.
534
be41e9f4
AC
5352003-04-05 Andrew Cagney <cagney@redhat.com>
536
537 * frame.c (frame_func_unwind, get_frame_func): New functions.
538 * frame.h (get_frame_func, frame_func_unwind): Declare.
539 (struct frame_info): Add field "prev_func" for caching the
540 previous frame's function address.
541 * arm-tdep.c (arm_frameless_function_invocation): Combine
542 get_pc_function_start and get_frame_pc into get_frame_func.
543 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
544 (sh64_nofp_frame_init_saved_regs): Ditto.
545 * s390-tdep.c (s390_function_start): Ditto.
546 * rs6000-tdep.c (rs6000_pop_frame): Ditto.
547 (rs6000_frameless_function_invocation): Ditto.
548 (rs6000_frame_saved_pc): Ditto.
549 * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto.
550 * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto.
551 * i386-tdep.c (i386_frameless_signal_p): Ditto.
552 (i386_frame_init_saved_regs): Ditto.
553 * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto.
554 * d10v-tdep.c (d10v_frame_unwind_cache): Combine
555 get_pc_function_start and frame_pc_unwind into frame_func_unwind.
556 * cris-tdep.c (cris_frame_init_saved_regs): Ditto.
557 * blockframe.c (frameless_look_for_prologue): Ditto.
558
a01dd7cc
AC
5592003-04-05 Andrew Cagney <cagney@redhat.com>
560
561 * frame.c (legacy_get_prev_frame): Link prev to next at the
562 function start. Update comments.
563
5e5592e6
AC
5642003-04-05 Andrew Cagney <cagney@redhat.com>
565
566 * frame.c (get_frame_id): Update comment.
567 (legacy_get_prev_frame): Update comment.
568 * gdbarch.sh: Delete check for EXTRA_FRAME_INFO.
569 * gdbarch.h: Regenerate.
570 * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete.
571 * frame.h: Delete #ifdef EXTRA_FRAME_INFO code.
572
6fba5002
AC
5732003-04-05 Andrew Cagney <cagney@redhat.com>
574
575 * stack.c (print_frame_info): Use get_frame_pc.
576
7df05f2b
AC
5772003-04-04 Andrew Cagney <cagney@redhat.com>
578
579 * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set
580 the frame's type from the unwinder.
581 (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME.
582 (create_new_frame, legacy_get_prev_frame): When the unwinder's
583 type isn't UNKNOWN_FRAME, initalize "type" from the unwinder.
584 (get_frame_base_address): Use get_frame_type.
585 (get_frame_locals_address, get_frame_args_address): Ditto.
586 (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE.
587 * frame.h (enum frame_type): Add UNKNOWN_FRAME.
588 (struct frame_info): Add comment explaining why the frame contains
589 a "type" field.
590 * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME.
591 * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME.
592 * sentinel-frame.c (sentinel_frame_unwinder): Set the type to
593 NORMAL_FRAME.
594 * frame-unwind.h: Include "frame.h".
595 (struct frame_unwind): Add "type" field.
596 * Makefile.in (frame_unwind_h): Add $(frame_h).
597
11889732
AC
5982003-04-04 Andrew Cagney <cagney@redhat.com>
599
600 * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build.
601 * dummy-frame.c (dummy_frame_this_id): Use frame_id_build.
602 * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and
603 get_frame_base.
604 (d10v_unwind_dummy_id): Use frame_id_build.
605 * frame.c (find_frame_sal): Use get_frame_pc.
606 (create_new_frame): Use deprecated_update_frame_pc_hack and
607 deprecated_update_frame_base_hack.
608 (create_sentinel_frame): Add comment about ->pc going away.
609 (get_prev_frame): Add comment about ->pc going away.
610 (legacy_get_prev_frame): Use get_frame_base, get_frame_pc,
611 frame_id_build, deprecated_update_frame_pc_hack and
612 deprecated_update_frame_base_hack.
613 (select_frame): Use get_frame_pc.
614 (legacy_saved_regs_this_id): Use frame_id_build.
615
50c46a0d
EZ
6162003-04-04 Elena Zannoni <ezannoni@redhat.com>
617
618 * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the
619 signed integer case.
620 (classify_argument): Handle enumerations and references.
621
50bbdbd9
AC
6222003-04-04 Andrew Cagney <cagney@redhat.com>
623
624 * frame.c (create_sentinel_frame): Initialize the sentinel frame's
625 ID to NULL.
626
36018d2e
AF
6272003-04-01 Adam Fedor <fedor@gnu.org>
628
629 * gdb/objc-lang.c (selectors_info): Replace calls to
630 SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with
631 SYMBOL_NATURAL_NAME.
632 (classes_info, find_methods): Likewise.
633
35cec841
KB
6342003-04-03 Kevin Buettner <kevinb@redhat.com>
635
636 * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
637 ``mach'' to the value determined by bfd_default_set_arch_mach().
638
43136899
BR
6392003-04-02 Bob Rossi <bob_rossi@cox.net>
640
641 * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o".
642 (SUBDIR_MI_SRCS): Add "mi-cmd-file.c".
643 (mi-cmd-file.o): Update dependencies.
644
040b99fd
KB
6452003-04-01 Kevin Buettner <kevinb@redhat.com>
646
647 * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
648 (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.
649
9a3d7dfd
AF
6502003-04-01 Adam Fedor <fedor@gnu.org>
651
652 * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
653 * language.h (struct language_defn): Add la_demangle.
654 (language_demangle): Declare.
655 * language.c (language_demangle): New function.
656 (unk_lang_demangle): Likewise.
657 (unknown_language_defn, auto_language_defn, local_language_defn):
658 Add ukn_lang_demangle.
659 * ada-lang.c (ada_language_defn): Add NULL for la_demangle element.
660 * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise.
661 * c-lang.c (c_language_defn, asm_language_defn): Likewise.
662 (cplus_language_defn): Add cplus_demangle for la_demangle element.
663 * jv-lang.c (java_demangle): New function
664 (java_language_defn): Use it for la_demangle element.
665 * objc-lang.c (objc_demangle): Add options argument
666 (objc_language_defn): Use objc_demangle for la_demangle element.
667 * maint.c (maintenance_demangle): Replace switch with
668 call to language_demangle.
669 * utils.c (fprintf_symbol_filtered): Likewise.
670
5e074003
AC
6712003-04-01 Andrew Cagney <cagney@redhat.com>
672
673 * printcmd.c (print_frame_nameless_args): Delete #ifdef
674 NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
675 PRINT_TYPELESS_INTEGER.
676 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
677 PUSH_RETURN_ADDRESS.
678
270cb5d6
AC
6792003-04-01 Andrew Cagney <cagney@redhat.com>
680
681 * Makefile.in (d10v-tdep.o): Update dependencies.
682 * d10v-tdep.c: Include "frame-base.h".
683 (d10v_frame_unwind): Make constant.
684 (d10v_frame_base_address): New function.
685 (d10v_frame_base): New variable.
686 (d10v_gdbarch_init): Set frame_base default.
687 (struct d10v_unwind_cache): Add the field "prev_sp". Update
688 comment for base.
689 (d10v_frame_unwind_cache): Set and use "prev_sp".
690 (d10v_frame_this_id): Use the previous frame's inner most stack
691 address and this frame's func address for the frame ID. Use
692 frame_id_build. Don't analyze beyond the current instruction.
693
6bfb3e36
AC
6942003-04-01 Andrew Cagney <cagney@redhat.com>
695
696 * frame.h (get_frame_locals_address, get_frame_args_address):
697 Refer to the base address, instead of the address of the first
698 local or parameter.
699
da62e633
AC
7002003-04-01 Andrew Cagney <cagney@redhat.com>
701
702 Add frame debug info addresses:
703 * frame-base.c: New file.
704 * frame-base.h: New file.
705 * frame.h (struct frame_base): Add opaque declaration.
706 (get_frame_base): Update comment.
707 (get_frame_base_address): Declare.
708 (get_frame_locals_address): Declare.
709 (get_frame_args_address): Declare.
710 (struct frame_info): Add "base" and "base_cache". Update
711 comments on the unwinder.
712 * frame.c: Include "frame-base.h".
713 (get_frame_locals_address): New function.
714 (get_frame_base_address): New function.
715 (get_frame_args_address): New function.
716 * findvar.c (read_var_value): Use get_frame_locals_address and
717 get_frame_args_address.
718 * stack.c (frame_info): Use get_frame_locals_address and
719 get_frame_args_address.
720 (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
721 moved to "frame-base.c".
722 * printcmd.c (print_frame_nameless_args): Ditto.
723 * symtab.h (address_class): Update comments.
724 * dwarf2loc.c (dwarf_expr_frame_base): Add note about
725 get_frame_base_address.
726 * dwarf2expr.c (execute_stack_op): Ditto.
727 * Makefile.in (frame_base_h): Define.
728 (frame.o): Update dependencies.
729 (frame-base.o): Add dependencies.
730 (SFILES): Add frame-base.c.
731 (COMMON_OBS): Add frame-base.o.
732
3d30e9c2
AC
7332003-04-01 Andrew Cagney <cagney@redhat.com>
734
735 * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
736 CALL_DUMMY_LENGTH): Ditto.
737 * gdbarch.c: Re-generate.
738 * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
739 (CALL_DUMMY_LENGTH): Delete macro.
740 * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
741 * arm-tdep.c (arm_gdbarch_init): Ditto.
742 * avr-tdep.c (avr_gdbarch_init): Ditto.
743 * cris-tdep.c (cris_gdbarch_init): Ditto.
744 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
745 * frv-tdep.c (frv_gdbarch_init): Ditto.
746 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
747 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
748 * i386-tdep.c (i386_gdbarch_init): Ditto.
749 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
750 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
751 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
752 * mips-tdep.c (mips_gdbarch_init): Ditto.
753 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
754 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
755 * s390-tdep.c (s390_gdbarch_init): Ditto.
756 * sh-tdep.c (sh_gdbarch_init): Ditto.
757 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
758 * v850-tdep.c (v850_gdbarch_init): Ditto.
759 * vax-tdep.c (vax_gdbarch_init): Ditto.
760 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
761
ce0c7262
CV
7622003-04-01 Corinna Vinschen <vinschen@redhat.com>
763
764 * frame.c (get_prev_frame): Disable call to inside_entry_file().
765
73dd234f
AC
7662003-04-01 Andrew Cagney <cagney@redhat.com>
767
768 * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
769 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
770 * gdbarch.h, gdbarch.c: Re-generate.
771 * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
772 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
773 * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
774 * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
775 (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
776 * infcmd.c (run_stack_dummy): Simplify assuming
777 CALL_DUMMY_BREAKPOINT_OFFSET_P.
778 * infrun.c (handle_inferior_event): Ditto.
779 * alpha-tdep.c (alpha_gdbarch_init): Do not set
780 call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
781 * arm-tdep.c (arm_gdbarch_init): Ditto.
782 * avr-tdep.c (avr_gdbarch_init): Ditto.
783 * cris-tdep.c (cris_gdbarch_init): Ditto.
784 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
785 * frv-tdep.c (frv_gdbarch_init): Ditto.
786 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
787 * i386-tdep.c (i386_gdbarch_init): Ditto.
788 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
789 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
790 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
791 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
792 * mips-tdep.c (mips_gdbarch_init): Ditto.
793 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
794 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
795 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
796 * s390-tdep.c (s390_gdbarch_init): Ditto.
797 * sh-tdep.c (sh_gdbarch_init): Ditto.
798 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
799 * v850-tdep.c (v850_gdbarch_init): Ditto.
800 * vax-tdep.c (vax_gdbarch_init): Ditto.
801 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
802
97606a13
DJ
8032003-04-01 Daniel Jacobowitz <drow@mvista.com>
804
805 * symfile.c (symfile_relocate_debug_section): Update call to
806 bfd_simple_get_relocated_section_contents.
807
e8ab51f7
AC
8082003-03-31 Andrew Cagney <cagney@redhat.com>
809
810 * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
811 * gdbarch.h, gdbarch.c: Regenerate.
812 * inferior.h (FIX_CALL_DUMMY): Delete macro.
813 * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
814 available.
815 * frame.h (generic_fix_call_dummy): Delete declaration.
816 * dummy-frame.h: Update comment.
817 * dummy-frame.c (generic_fix_call_dummy): Delete function.
818 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
819 fix_call_dummy.
820 * sh-tdep.c (sh_gdbarch_init): Ditto.
821 * s390-tdep.c (s390_gdbarch_init): Ditto.
822 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
823 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
824 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
825 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
826 * i386-tdep.c (i386_gdbarch_init): Ditto.
827 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
828 * frv-tdep.c (frv_gdbarch_init): Ditto.
829 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
830 * cris-tdep.c (cris_gdbarch_init): Ditto.
831 * avr-tdep.c (avr_gdbarch_init): Ditto.
832 * arm-tdep.c (arm_gdbarch_init): Ditto.
833
018d1b48
JB
8342003-03-31 J. Brobecker <brobecker@gnat.com>
835
836 * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
837 (INIT_FRAME_AP): Likewise.
838 (EXTRA_FRAME_INFO): Likewise.
839
e9a2674e
AC
8402003-03-31 Andrew Cagney <cagney@redhat.com>
841
842 * gdbarch.sh: Include "symfile.h".
843 (CALL_DUMMY_ADDRESS): Default to entry_point_address.
844 * gdbarch.h, gdbarch.c: Re-generate.
845 * inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
846 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
847 call_dummy_address, the default is at entry_point_address.
848 * v850-tdep.c (v850_gdbarch_init): Ditto.
849 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
850 * sh-tdep.c (sh_gdbarch_init): Ditto.
851 * s390-tdep.c (s390_gdbarch_init): Ditto.
852 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
853 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
854 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
855 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
856 * i386-tdep.c (i386_gdbarch_init): Ditto.
857 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
858 * frv-tdep.c (frv_gdbarch_init): Ditto.
859 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
860 * cris-tdep.c (cris_gdbarch_init): Ditto.
861 * arm-tdep.c (arm_gdbarch_init): Ditto.
862
e8a8712a
AC
8632003-03-31 Andrew Cagney <cagney@redhat.com>
864
865 * gdbarch.sh (CALL_DUMMY_P): Delete.
866 * gdbarch.h, gdbarch.c: Re-generate.
867 * inferior.h (CALL_DUMMY_P): Delete macro.
868 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
869 * vax-tdep.c (vax_gdbarch_init): Update.
870 * v850-tdep.c (v850_gdbarch_init): Update.
871 * sparc-tdep.c (sparc_gdbarch_init): Update.
872 * sh-tdep.c (sh_gdbarch_init): Update.
873 * s390-tdep.c (s390_gdbarch_init): Update.
874 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
875 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
876 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
877 * mips-tdep.c (mips_gdbarch_init): Update.
878 * mcore-tdep.c (mcore_gdbarch_init): Update.
879 * m68k-tdep.c (m68k_gdbarch_init): Update.
880 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
881 * ia64-tdep.c (ia64_gdbarch_init): Update.
882 * i386-tdep.c (i386_gdbarch_init): Update.
883 * h8300-tdep.c (h8300_gdbarch_init): Update.
884 * frv-tdep.c (frv_gdbarch_init): Update.
885 * d10v-tdep.c (d10v_gdbarch_init): Update.
886 * cris-tdep.c (cris_gdbarch_init): Update.
887 * breakpoint.c (deprecated_frame_in_dummy): Update.
888 * avr-tdep.c (avr_gdbarch_init): Update.
889 * alpha-tdep.c (alpha_gdbarch_init): Update.
890 * arm-tdep.c (arm_gdbarch_init): Update.
891 * dummy-frame.c (dummy_frame_this_id): Update comments.
892 * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
893 * frame.c (legacy_get_prev_frame): Ditto.
894 * valops.c (call_function_by_hand): Delete function.
895 (hand_function_call): Rename to call_function_by_hand
896
ed234cf8
AC
8972003-03-30 Andrew Cagney <cagney@redhat.com>
898
899 2002-11-10 Klee Dienes <kdienes@apple.com>
900 * value.h (struct value): Update comment.
901
06c77151
AC
9022003-03-30 Andrew Cagney <cagney@redhat.com>
903
6c2b5168
AC
904 * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
905 D10V_FP_REGNUM.
906 (d10v_gdbarch_init): Do not set fp_regnum.
907
06c77151
AC
908 * frame.c (get_frame_base): Force ID initialization.
909 (get_prev_frame): Move computation of the frame ID from here ...
910 (get_frame_id): ... to here.
911 (legacy_get_prev_frame): Mark the frame ID as valid.
912 * frame.h (struct frame_info): Add field "id_p".
913
97a1a11c
MK
9142003-03-30 Mark Kettenis <kettenis@gnu.org>
915
916 * i386-tdep.c (i386_store_struct_return): Removed.
917 (i386_gdbarch_init): Don't set deprecated_store_struct_return.
918
6c0e89ed
AC
9192003-03-30 Andrew Cagney <cagney@redhat.com>
920
921 * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
922 * gdbarch.h, gdbarch.c: Regenerate.
923 * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
924 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
925 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
926 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
927 * i386-tdep.c (i386_gdbarch_init): Ditto.
928 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
929 * cris-tdep.c (cris_gdbarch_init): Ditto.
930 * vax-tdep.c (vax_gdbarch_init): Ditto.
931 * s390-tdep.c (s390_gdbarch_init): Ditto.
932 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
933 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
934 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
935 * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
936 * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
937 * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
938 * sparc-tdep.c (sparc_gdbarch_init): Update.
939 * sh-tdep.c (sh_gdbarch_init): Update.
940 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
941 * mips-tdep.c (mips_gdbarch_init): Update.
942 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
943 * ia64-tdep.c (ia64_gdbarch_init): Update.
944 * frv-tdep.c (frv_gdbarch_init): Update.
945 * avr-tdep.c (avr_gdbarch_init): Update.
946 * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
947 DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
948 instead of when push_dummy_call is not available.
949
f7dd6af2
AC
9502003-03-30 Andrew Cagney <cagney@redhat.com>
951
952 * infttrace.c: Include "gdbthread.h".
953 (parent_attach_all): Fix function signature.
954 (call_ptrace): Update call.
955 * Makefile.in (infttrace.o): Update dependencies.
956
28f617b3
AC
9572003-03-30 Andrew Cagney <cagney@redhat.com>
958
959 * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
960 PUSH_RETURN_ADDRESS.
961 * gdbarch.h, gdbarch.c: Regenerate.
962 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
963 * x86-64-tdep.c (x86_64_init_abi): Update.
964 * v850-tdep.c (v850_gdbarch_init): Update.
965 * sparc-tdep.c (sparc_gdbarch_init): Update.
966 * sh-tdep.c (sh_gdbarch_init): Update.
967 * s390-tdep.c (s390_gdbarch_init): Update.
968 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
969 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
970 * mips-tdep.c (mips_gdbarch_init): Update.
971 * mcore-tdep.c (mcore_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 * h8300-tdep.c (h8300_gdbarch_init): Update.
976 * frv-tdep.c (frv_gdbarch_init): Update.
977 * cris-tdep.c (cris_gdbarch_init): Update.
978 * avr-tdep.c (avr_gdbarch_init): Update.
979 * arm-tdep.c (arm_gdbarch_init): Update.
980 * valops.c (hand_function_call): Update.
981
4d628cd7
AC
9822003-03-29 Andrew Cagney <cagney@redhat.com>
983
984 * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
985 sizeof_call_dummy_words.
986 * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
987 define.
988 * gdbarch.h: Regenerate.
989
65e82032
AC
9902003-03-29 Andrew Cagney <cagney@redhat.com>
991
992 * infttrace.h: New file.
993 * hpread.c: Include "gdb_assert.h" and "somsolib.h".
994 (hpread_get_textlow): Detect an uninitialized dn_bufp.
995 (hpread_read_doc_function_type): Detect an initialized type1.
996 (hpread_quick_traverse): Initialize mod_name_string.
997 * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
998 (som_solib_get_solib_by_pc): Declare.
999 (so_lib_thread_start_addr): Declare.
1000 (no_shared_libraries): Declare.
1001 * somread.c (init_import_symbols): Make static. Add forward
1002 declaration.
1003 * config/pa/nm-hppah.h: Include "infttrace.h" for
1004 parent_attach_all.
1005 (hppa_insert_hw_watchpoint): Declare.
1006 (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
1007 * hppah-nat.c: Include "gdb_string.h".
1008 (parent_attach_all): Delete extern declaration, moved to
1009 "infttrace.h".
1010 (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
1011 int.
1012 (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
1013 * Makefile.in (infttrace_h): Define.
1014 (hpread.o): Update dependencies.
1015 (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
1016 * hppa-hpux-tdep.c: Include "gdb_string.h".
1017 * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
1018 * infrun.c (handle_inferior_event): Always initialize
1019 stepped_after_stopped_by_watchpoint. Add default and remove
1020 fallthrough in switch statement.
1021 * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
1022 parameter to int.
1023 (hppa_remove_hw_watchpoint): Ditto.
1024
2c3bbe77
AC
10252003-03-29 Andrew Cagney <cagney@redhat.com>
1026
1027 * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
1028 offset.
1029
2dd604e7
RE
10302003-03-29 Richard Earnshaw <rearnsha@arm.com>
1031
1032 * arm-tdep.c (arm_push_arguments): Delete.
1033 (struct stack_item): New type.
1034 (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
1035 (arm_store_struct_return): Delte.
1036 (arm_gdbarch_init): Register arm_push_dummy_call. Don't register
1037 arm_push_arguments or arm_store_struct_return.
1038
e8933a55
AC
10392003-03-28 Andrew Cagney <cagney@redhat.com>
1040
1041 * Makefile.in (d10v-tdep.o): Update dependencies.
1042 * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
1043 * d10v-tdep.c: Include "remote.h".
1044 (target_resume_hook): Delete extern declaration.
1045 (target_wait_loop_hook): Ditto.
1046 (tdisassemble_command): Eliminate assignment in "if" conditional.
1047 (d10v_ts2_register_sim_regno): Eliminate call to
1048 legacy_register_sim_regno.
1049 (d10v_ts3_register_sim_regno): Ditto.
1050
6949171e
JJ
10512003-03-28 Jeff Johnston <jjohnstn@redhat.com>
1052
1053 * thread.c: Reindented.
1054 * lin-lwp.c: Ditto.
1055 * linux-proc.c: Ditto.
1056
98c7071f
BR
10572003-03-28 Bob Rossi <bob_rossi@cox.net>
1058
1059 * MAINTAINERS (write after approval): Add myself.
1060
5edc9ca6
TR
10612003-03-27 Theodore A. Roth <troth@openavr.org>
1062
1063 * objc-exp.y: Add missing semi-colons.
1064
378bfd1b
AC
10652003-03-27 Andrew Cagney <cagney@redhat.com>
1066
1067 * regcache.c (write_sp): Delete function and references.
1068 * inferior.h (write_sp): Delete declaration.
1069 * valops.c (hand_function_call): Replace write_sp with
1070 TARGET_WRITE_SP.
1071 * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
1072 (sparc_pop_frame): Ditto.
1073
56056df7
AC
10742003-03-27 Andrew Cagney <cagney@redhat.com>
1075
1076 * NEWS: Mention removal of support for hppa*-*-bsd* and
1077 hppa*-*-osf* natives, and hppa*-*-pro* target.
1078 * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
1079 * config/pa/xm-pa.h: Obsolete file.
1080 * config/pa/xm-hppab.h: Obsolete file.
1081 * config/pa/nm-hppab.h: Obsolete file.
1082 * config/pa/tm-hppab.h: Obsolete file.
1083 * config/pa/tm-hppao.h: Obsolete file.
1084 * config/pa/nm-hppao.h: Obsolete file.
1085 * config/pa/tm-pro.h: Obsolete file.
1086 * config/pa/hppaosf.mt: Obsolete file.
1087 * config/pa/hppaosf.mh: Obsolete file.
1088 * config/pa/hppapro.mt: Obsolete file.
1089 * config/pa/hppabsd.mt: Obsolete file.
1090 * config/pa/hppabsd.mh: Obsolete file.
1091 * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
1092 * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
1093 hppa*-*-osf*.
1094
5873a88d
AC
10952003-03-27 Andrew Cagney <cagney@redhat.com>
1096
1097 * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
1098 push_arguments. Don't set push_return_address or write_sp.
1099 (d10v_push_dummy_call): Replace d10v_push_arguments.
1100 (d10v_push_return_address, d10v_write_sp): Delete function,
1101 handled by push_dummy_call.
1102
b81774d8
AC
11032003-03-26 Andrew Cagney <cagney@redhat.com>
1104
1105 * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
1106 (push_dummy_call): New pure multi-arch replacement with gdbarch,
1107 regcache and dummy_addr parameters.
1108 * gdbarch.h, gdbarch.c: Re-generate.
1109 * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
1110 available; assume it will handle stack alignment and return
1111 address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
1112 legacy_push_arguments.
1113 (legacy_push_arguments): Rename default_push_arguments.
1114 * value.h (legacy_push_arguments): Rename default_push_arguments.
1115 * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
1116 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
1117 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
1118 * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
1119 * config/i386/tm-symmetry.h: Update.
1120 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1121 * x86-64-tdep.c (x86_64_init_abi): Update.
1122 * v850-tdep.c (v850_gdbarch_init): Update.
1123 * sparc-tdep.c (sparc_gdbarch_init): Update.
1124 * sh-tdep.c (sh_gdbarch_init): Update.
1125 * s390-tdep.c (s390_gdbarch_init): Update.
1126 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1127 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1128 * mips-tdep.c (mips_gdbarch_init): Update.
1129 * mcore-tdep.c (mcore_gdbarch_init): Update.
1130 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1131 * ia64-tdep.c (ia64_gdbarch_init): Update.
1132 * i386-tdep.c (i386_gdbarch_init): Update.
1133 * hppa-tdep.c (hppa_gdbarch_init): Update.
1134 * h8300-tdep.c (h8300_gdbarch_init): Update.
1135 * frv-tdep.c (frv_gdbarch_init): Update.
1136 * d10v-tdep.c (d10v_gdbarch_init): Update.
1137 * cris-tdep.c (cris_gdbarch_init): Update.
1138 * avr-tdep.c (avr_gdbarch_init): Update.
1139 * arm-tdep.c (arm_gdbarch_init): Update.
1140 * arm-linux-tdep.c (arm_linux_init_abi): Update.
1141 * alpha-tdep.c (alpha_gdbarch_init): Update.
1142
f541410f
DJ
11432003-03-26 Daniel Jacobowitz <drow@mvista.com>
1144
1145 * signals/signals.c (do_target_signal_to_host): Correct realtime
1146 signal range test.
1147
69f567ae
DJ
11482003-03-26 Daniel Jacobowitz <drow@mvista.com>
1149
1150 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
1151 (struct sal_chain, map_catch_names): Remove.
1152 (catch_exception_command_1): Don't call
1153 handle_gnu_4_16_catch_command.
1154
d5d14a5a
DJ
11552003-03-26 Daniel Jacobowitz <drow@mvista.com>
1156
1157 From Mark Dettinger <dettinge@de.ibm.com>:
1158 * dwarf2cfi.c (read_2u): Increment pointer by two.
1159
bdd73e22
DJ
11602003-03-26 Daniel Jacobowitz <drow@mvista.com>
1161
1162 * signals/signals.c: Fix typos in last change.
1163
960cb555
DJ
11642003-03-26 Daniel Jacobowitz <drow@mvista.com>
1165
1166 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
1167 not already defined. Use __SIGRTMIN if available.
1168 (target_signal_from_host): Remove SIGRTMIN block.
1169 (do_target_signal_to_host): Remove SIGRTMIN block; check that
1170 the signal is within the realtime range.
1171
f636b87d
AF
11722003-03-25 Adam Fedor <fedor@gnu.org>
1173
1174 * Makefile.in (infrun.o): Add $(language_h)
1175 * infrun.c (handle_inferior_event): Use skip_language_trampoline
1176 for language specific trampolines.
1177 * language.h (struct language_defn): Add skip_trampoline.
1178 (skip_language_trampoline): Declare.
1179 * language.c (unk_lang_trampoline, skip_language_trampoline):
1180 New functions.
1181 (unknown_language_defn, auto_language_defn, local_language_defn):
1182 Add ukn_lang_trampoline.
1183 * ada-lang.c (ada_language_defn): Add NULL for language
1184 specific skip_trampoline.
1185 * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
1186 scm-lang.c: Likewise.
1187 * objc-lang.c (objc_skip_trampoline): New function.
1188 (objc_language_defn): Add objc_skip_trampoline.
1189
28f617b3 11902003-03-25 Andrew Cagney <cagney@redhat.com>
270c3b1d
AC
1191
1192 * frame.c (get_prev_frame): Delay validating a frame's ID -
1193 non-NULL, didn't go backwards - until an attempt to unwind it to
1194 the previous frame.
1195
f933a9c5
AC
11962003-03-25 Andrew Cagney <cagney@redhat.com>
1197
1198 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
1199 EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
1200 * gdbarch.h, gdbarch.c: Re-generate.
1201 * config/sparc/tm-sparc.h
1202 (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
1203 * sparc-tdep.c (sparc_gdbarch_init): Set
1204 deprecated_extra_stack_alignment_needed.
1205 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
1206 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
1207 extra_stack_alignment_needed.
1208 * v850-tdep.c (v850_gdbarch_init): Ditto.
1209 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
1210 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1211 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1212 * cris-tdep.c (cris_gdbarch_init): Ditto.
1213 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
1214 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1215
4183d812
AC
12162003-03-25 Andrew Cagney <cagney@redhat.com>
1217
1218 * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
1219 STORE_STRUCT_RETURN.
1220 * gdbarch.h, gdbarch.c: Regenerate.
1221 * d10v-tdep.c (d10v_store_struct_return): Delete function.
1222 (d10v_push_arguments): Set the struct return register.
1223 (d10v_gdbarch_init): Update.
1224 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1225 * x86-64-tdep.c (x86_64_init_abi): Update.
1226 * vax-tdep.c (vax_gdbarch_init): Update.
1227 * v850-tdep.c (v850_gdbarch_init): Update.
1228 * sparc-tdep.c (sparc_gdbarch_init): Update.
1229 * sh-tdep.c (sh_gdbarch_init): Update.
1230 * s390-tdep.c (s390_gdbarch_init): Update.
1231 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1232 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1233 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1234 * mips-tdep.c (mips_gdbarch_init): Update.
1235 * mcore-tdep.c (mcore_gdbarch_init): Update.
1236 * m68k-tdep.c (m68k_gdbarch_init): Update.
1237 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1238 * ia64-tdep.c (ia64_gdbarch_init): Update.
1239 * i386-tdep.c (i386_gdbarch_init): Update.
1240 * hppa-tdep.c (hppa_gdbarch_init): Update.
1241 * h8300-tdep.c (h8300_gdbarch_init): Update.
1242 * frv-tdep.c (frv_gdbarch_init): Update.
1243 * cris-tdep.c (cris_gdbarch_init): Update.
1244 * avr-tdep.c (avr_gdbarch_init): Update.
1245 * arm-tdep.c (arm_gdbarch_init): Update.
1246 * alpha-tdep.c (alpha_gdbarch_init): Update.
1247
1bf6d5cc
AC
12482003-03-25 Andrew Cagney <cagney@redhat.com>
1249
1250 * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
1251 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
1252 CALL_DUMMY_STACK_ADJUST with a predicate variable.
1253 * gdbarch.h, gdbarch.c: Regenerate.
1254 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
1255 call_dummy_stack_adjust_p.
1256 * vax-tdep.c (vax_gdbarch_init): Ditto.
1257 * v850-tdep.c (v850_gdbarch_init): Ditto.
1258 * sh-tdep.c (sh_gdbarch_init): Ditto.
1259 * s390-tdep.c (s390_gdbarch_init): Ditto.
1260 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1261 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
1262 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1263 * mips-tdep.c (mips_gdbarch_init): Ditto.
1264 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1265 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
1266 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1267 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1268 * i386-tdep.c (i386_gdbarch_init): Ditto.
1269 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1270 * frv-tdep.c (frv_gdbarch_init): Ditto.
1271 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1272 * cris-tdep.c (cris_gdbarch_init): Ditto.
1273 * avr-tdep.c (avr_gdbarch_init): Ditto.
1274 * arm-tdep.c (arm_gdbarch_init): Ditto.
1275 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1276 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
1277 * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
1278 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
1279 * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
1280 call_dummy_stack_adjust_p.
1281 * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
1282 (CALL_DUMMY_STACK_ADJUST): Delete macro.
1283 * sparc-tdep.c (sparc32_push_arguments): Update.
1284 * valops.c (hand_function_call): Update.
1285
71c08af0
CV
12862003-03-25 Corinna Vinschen <vinschen@redhat.com>
1287
1288 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
1289 set_gdbarch_char_signed.
1290
30757f90
RE
12912003-03-25 Richard Earnshaw <rearnsha@arm.com>
1292
1293 PR cli/548
1294 * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
1295
03d48a7d
RE
12962003-03-25 Richard Earnshaw <rearnsha@arm.com>
1297
1298 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
1299 (_initialize_arm_tdep): Don't set tm_print_insn.
1300
2cf6873c
AF
13012003-03-24 Adam Fedor <fedor@gnu.org>
1302
1303 * Makefile.in (YYOBJ): Add objc-exp.tab.o
1304 * objc-lang.h: Add multiple inclusion protection.
1305 (start_msglist, add_msglist, end_msglist): Additional declarations.
1306
17c0759e
RE
13072003-03-24 Richard Earnshaw <rearnsha@arm.com>
1308
1309 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
1310 value was renamed to ARM_FLOAT_SOFT_FPA.
1311
618ce49f
AC
13122003-03-23 Andrew Cagney <cagney@redhat.com>
1313
1314 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
1315 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
1316 * gdbarch.h, gdbarch.c: Regenerate.
1317 * valops.c (hand_function_call): Update.
1318 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
1319 * frame.c (legacy_saved_regs_this_id): Update.
1320 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
1321 * dummy-frame.h: Update.
1322 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
1323 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
1324 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
1325 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
1326 * config/m68k/tm-sun3.h: Update.
1327 * blockframe.c (inside_main_func, frame_chain_valid): Update.
1328 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1329 * x86-64-tdep.c (x86_64_init_abi): Update.
1330 * vax-tdep.c (vax_gdbarch_init): Update.
1331 * v850-tdep.c (v850_gdbarch_init): Update.
1332 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
1333 * sh-tdep.c (sh_gdbarch_init): Update.
1334 * s390-tdep.c (s390_gdbarch_init): Update.
1335 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
1336 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
1337 (frame_get_saved_regs): Update.
1338 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1339 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1340 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1341 * mips-tdep.c (mips_gdbarch_init): Update.
1342 * mcore-tdep.c (mcore_gdbarch_init): Update.
1343 * m68k-tdep.c (m68k_gdbarch_init): Update.
1344 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1345 * ia64-tdep.c (ia64_gdbarch_init): Update.
1346 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
1347 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1348 (i386_interix_back_one_frame): Update.
1349 * hppa-tdep.c (hppa_gdbarch_init): Update.
1350 (hppa_init_extra_frame_info): Update.
1351 * h8300-tdep.c (h8300_gdbarch_init): Update.
1352 * frv-tdep.c (frv_gdbarch_init): Update.
1353 * cris-tdep.c (cris_gdbarch_init): Update.
1354 * avr-tdep.c (avr_gdbarch_init): Update.
1355 * arm-tdep.c (arm_gdbarch_init): Update.
1356 * alpha-tdep.c (alpha_gdbarch_init): Update.
1357
fd50bc42
RE
13582003-03-22 Richard Earnshaw <rearnsha@arm.com>
1359
1360 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
1361 (arm_get_fp_model): Declare.
1362 * arm-tdep.c (fp_model_strings): New string array.
1363 (arm_fp_model, current_fp_model): New variables.
1364 (arm_get_fp_model): New function.
1365 (arm_set_fp): New function.
1366 (set_fp_model_sfunc): New function.
1367 (show_fp_model): New function.
1368 (_initialize_arm_tdep): Add new command to set/show the FPU.
1369 (arm_extract_return_value): Use arm_get_fp_model.
1370 (arm_store_return_value): Likewise.
1371 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
1372 to initialize the floating-point data types.
1373 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
1374 model is FPA.
1375
26304000
RE
13762003-03-22 Richard Earnshaw <rearnsha@arm.com>
1377
1378 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
1379 the current setting of each value.
1380 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
1381 new_set and new_show. Use add_setshow_cmd_full and
1382 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
1383 commands and add new version as subcommands of "set/show arm".
1384
afd7eef0
RE
13852003-03-22 Richard Earnshaw <rearnsha@arm.com>
1386
1387 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
1388 (set_arm_command, show_arm_command): New functions.
1389 (_initialize_arm_tdep): Add them.
1390 (num_disassembly_options): Renamed from num_flavor_options.
1391 (valid_disassembly_styles): Renamed from valid_flavors.
1392 (disassembly_style): Renamed from disassembly_flavor.
1393 (set_disassembly_style_sfunc): Renamed from
1394 set_disassembly_flavor_sfunc.
1395 (set_disassembly_style): Renamed from set_disassembly_flavor.
1396 (arm_othernames): Updated.
1397 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
1398 command. Add "set/show arm disassembly" commands. Deprecate
1399 "othernames" command.
1400
299a7944
RE
14012003-03-22 Richard Earnshaw <rearnsha@arm.com>
1402
1403 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
1404 (arm-tdep.o): Depend on elf_arm_h.
1405
c1dac9e6
RE
14062003-03-22 Richard Earnshaw <rearnsha@arm.com>
1407
1408 * Makefile.in (coff_internal_h): Define.
1409 (arm-tdep.o): Update dependencies.
1410
2702d96c
RE
14112003-03-22 Richard Earnshaw <rearnsha@arm.com>
1412
1413 * arm-tdep.c (prologue_cache): Delete.
1414 (check_prologue_cache, save_prologue_cache): Delete.
1415 (arm_scan_prologue): Don't check or update the prologue_cache.
1416 (arm_gdb_arch_init): Don't initialize it.
1417 (_initialize_arm_tdep): Likewise.
1418
27d5d74b
SC
14192003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1420
1421 * MAINTAINERS (tui): Maintainer of tui code.
1422
1762d96d
CV
14232003-03-21 Corinna Vinschen <vinschen@redhat.com>
1424
1425 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
1426 (i386-cygwin-tdep.o): Add dependencies.
1427 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
1428 * i386-cygwin-tdep.c: New file.
1429 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
1430 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
1431
4c2e2391
AC
14322003-03-20 Andrew Cagney <cagney@redhat.com>
1433
f20d38b7
AC
1434 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
1435 (handle_inferior_event): Remove code calling
1436 DYNAMIC_TRAMPOLINE_NEXTPC.
1437
0022b738
AC
1438 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
1439 already has a full path.
1440
864dbc90
AC
1441 * main.c (gdb_main): Return 1.
1442 (captured_main): Call error to report an invalid interpreter.
1443
4c2e2391
AC
1444 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
1445 * alpha-osf1-tdep.c: Include "gdb_string.h".
1446
5ef7553b
JB
14472003-03-19 J. Brobecker <brobecker@gnat.com>
1448
1449 Continuing work to convert the hppa targets to multiarch partial.
1450
1451 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
1452 method, now that hppa_push_dummy_frame has a conformant prototype.
1453 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
1454 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
1455 for the switch to multiarch partial.
1456
7bde8967
KB
14572003-03-19 Kevin Buettner <kevinb@redhat.com>
1458
1459 * mdebugread.c (parse_symbol): For stEnd, we're done counting
1460 when iss is issNull.
1461
b006a9e9
KB
14622003-03-18 Kevin Buettner <kevinb@redhat.com>
1463
1464 * mips-tdep.c (mips_register_name): Fix fencepost error involving
1465 NUM_REGS bounds check.
1466
5e2e9765
KB
14672003-03-18 Kevin Buettner <kevinb@redhat.com>
1468
1469 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
1470 * mips-tdep.c (gdb_assert.h): Include.
1471 (mips_generic_reg_names, mips_processor_reg_names): Make static.
1472 (mips_register_name): Handle integer registers explicitly. Add
1473 bounds checking.
1474 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
1475 (mips_lsi33k_reg_names): Don't list integer registers; they're
1476 handled by mips_register_name() now.
1477 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
1478 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
1479 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
1480 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
1481 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
1482
a2867626
AC
14832003-03-18 Andrew Cagney <cagney@redhat.com>
1484
1485 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
1486 a void pointer.
1487 * gdbtypes.h (print_scalar_formatted): Update declaration.
1488 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
1489
06600e06
JB
14902003-03-18 J. Brobecker <brobecker@gnat.com>
1491
1492 * infrun.c (observer.h): Add #include.
1493 (normal_stop): Add call to observer_notify_normal_stop.
1494 * Makefile.in (infrun.o): Add dependency on observer.h.
1495
7daf4f5b
JB
14962003-03-18 J. Brobecker <brobecker@gnat.com>
1497
1498 Continuing work to convert the hppa targets to multiarch partial.
1499 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
1500 parameter. Reformat comment.
1501 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
1502 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
1503 to match new profile.
1504
3371ccc0
JB
15052003-03-18 J. Brobecker <brobecker@gnat.com>
1506
1507 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
1508 appear to be working in any case.
1509
4fbe891e
JB
15102003-03-18 J. Brobecker <brobecker@gnat.com>
1511
1512 * observer.c (observer_test_first_observer): New static variable.
1513 (observer_test_second_observer): Likewise.
1514 (observer_test_third_observer): Likewise.
1515 (observer_test_first_notification_function): New static function.
1516 (observer_test_second_notification_function): Likewise.
1517 (observer_test_third_notification_function): Likewise.
1518
a7ff40e7
JB
15192003-03-17 J. Brobecker <brobecker@gnat.com>
1520
1521 * hppa-tdep.c (gdb_assert.h): Add missing #include.
1522 * somsolib.c (gdb_assert.h): Likewise.
1523 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
1524 (somsolib.o): Likewise.
1525
26ca4152
AC
15262003-03-17 Andrew Cagney <cagney@redhat.com>
1527
1528 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
1529 BFD. Simplify setting of di.endian.
1530
0a613259
AC
15312003-03-17 Andrew Cagney <cagney@redhat.com>
1532
1533 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
1534 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
1535
1536 From Elena Zannoni <ezannoni@redhat.com>
1537 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
1538 vector and floating-point parameters.
1539 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
1540 convention.
1541 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
1542
1132738f
FN
15432003-03-17 Fernando Nasser <fnasser@redhat.com>
1544
1545 * MAINTAINERS: Remove my name from several maintainership roles.
1546
6dc42492
AC
15472003-03-17 Andrew Cagney <cagney@redhat.com>
1548
1549 Fix frame off-by-one bug.
1550 * frame-unwind.h (frame_this_id_ftype): Replace
1551 frame_unwind_id_ftype.
1552 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
1553 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
1554 with "prev_register".
1555 * frame-unwind.c (frame_unwind_find_by_pc): Return
1556 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
1557 comment.
1558 * dummy-frame.c (cached_find_dummy_frame): Delete function.
1559 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
1560 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
1561 (dummy_frame_unwind): Update.
1562 * sentinel-frame.c (sentinel_frame_prev_register): Replace
1563 sentinel_frame_register_unwind.
1564 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
1565 (sentinel_frame_unwinder): Update.
1566 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
1567 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
1568 * frame.c (create_sentinel_frame): Update. Initialize
1569 "prologue_cache" instead of "unwind_cache".
1570 (frame_register_unwind): Call this frame's prev_register with the
1571 next frame and this frame's prologue cache.
1572 (get_prev_frame): Simplify. Always call prev frame's this_id with
1573 this frame and prev frame's prologue cache. Document that this
1574 call is shifted one to the left when compared to the
1575 frame_register_unwind call.
1576 (legacy_saved_regs_prev_register): Replace
1577 frame_saved_regs_register_unwind.
1578 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
1579 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
1580 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
1581 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
1582 (d10v_frame_unwind): Update.
1583 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
1584 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
1585 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
1586 "saved_regs" with "this_saved_regs".
1587
efd710d6
AC
15882003-03-16 Andrew Cagney <cagney@redhat.com>
1589
1590 * frame.c (frame_pop): Don't call target_store_registers. Fix
1591 problem reported by Mark Kettenis.
1592
4e259f09
MK
15932003-03-16 Mark Kettenis <kettenis@gnu.org>
1594
1595 * i386-tdep.c (i386_register_type): Renamed from
1596 i386_register_virtual_type. Adjust function signature.
1597 (i386_gdbarch_init): Set register_type instead of
1598 deprecated_max_register_raw_size,
1599 deprecated_max_register_virtual_size and register_virtual_type.
1600
055bb976
AC
16012003-03-14 Andrew Cagney <cagney@redhat.com>
1602
1603 * frame.c (get_prev_frame): When a legacy frame, always call
1604 legacy_get_prev_frame. Simplify unwind code using assumption that
1605 the unwinder is new.
1606 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
1607 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
1608 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
1609
ac2adee5
AC
16102003-03-14 Andrew Cagney <cagney@redhat.com>
1611
1612 * frame.c (get_saved_register): Delete function.
1613 * frame.h (get_saved_register): Delete declaration.
1614 * xstormy16-tdep.c: Update comment.
1615 * regcache.h: Update comments.
1616 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
1617 get_saved_register and extract_address, use
1618 frame_read_unsigned_register.
1619 (sparc_frame_saved_pc): Ditto.
1620 (sparc_get_saved_register): Instead of get_saved_register, use
1621 frame_register.
1622 (sparc_pop_frame): Ditto.
1623 * findvar.c: Update comments.
1624 (value_of_register): Call frame_register instead of
1625 get_saved_register.
1626 (value_from_register): Ditto.
1627 * config/sparc/tm-sparc.h: Update comment.
1628 * breakpoint.c: Update comment.
1629
129c1cd6
AC
16302003-03-14 Andrew Cagney <cagney@redhat.com>
1631
1632 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
1633 GET_SAVED_REGISTER.
1634 * gdbarch.h, gdbarch.c: Re-generate.
1635 * frame.h: Update comments.
1636 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1637 * x86-64-tdep.c (x86_64_init_abi): Update.
1638 * sparc-tdep.c (sparc_gdbarch_init): Update.
1639 * sh-tdep.c (sh_gdbarch_init): Update.
1640 * mips-tdep.c (mips_gdbarch_init): Update.
1641 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1642 * cris-tdep.c (cris_gdbarch_init): Update.
1643 * ia64-tdep.c (ia64_gdbarch_init): Update.
1644 * frame.c (frame_register): Update.
1645 (get_saved_register): Update.
1646 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
1647
749b82f6
AC
16482003-03-13 Andrew Cagney <cagney@redhat.com>
1649
1650 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
1651 * gdbarch.h, gdbarch.c: Regenerate.
1652 * valops.c (hand_function_call): Update comment.
1653 * stack.c (return_command): Update comment.
1654 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
1655 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
1656 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1657 * x86-64-tdep.c (x86_64_init_abi): Update.
1658 * vax-tdep.c (vax_gdbarch_init): Update.
1659 * v850-tdep.c (v850_gdbarch_init): Update.
1660 * sparc-tdep.c (sparc_gdbarch_init): Update.
1661 * sh-tdep.c (sh_gdbarch_init): Update.
1662 * s390-tdep.c (s390_gdbarch_init): Update.
1663 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1664 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1665 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1666 * mips-tdep.c (mips_gdbarch_init): Update.
1667 * mcore-tdep.c (mcore_gdbarch_init): Update.
1668 * m68k-tdep.c (m68k_gdbarch_init): Update.
1669 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1670 * ia64-tdep.c (ia64_gdbarch_init): Update.
1671 * i386-tdep.c (i386_gdbarch_init): Update.
1672 * hppa-tdep.c (hppa_gdbarch_init): Update.
1673 * h8300-tdep.c (h8300_gdbarch_init): Update.
1674 * frv-tdep.c (frv_gdbarch_init): Update.
1675 * cris-tdep.c (cris_gdbarch_init): Update.
1676 * avr-tdep.c (avr_gdbarch_init): Update.
1677 * arm-tdep.c (arm_gdbarch_init): Update.
1678 * alpha-tdep.c (alpha_gdbarch_init): Update.
1679
1594fa56
AC
16802003-03-13 Andrew Cagney <cagney@redhat.com>
1681
1682 * frame.c (legacy_frame_p): New function.
1683 (get_prev_frame): Use legacy_frame_p.
1684 * frame.h (legacy_frame_p): Declare.
1685
7717fda3
V
16862003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
1687
1688 * MAINTAINERS (write after approval): Alphabetically
1689 listing corrected.
1690
0c67cbe9
V
16912003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
1692
1693 * MAINTAINERS (write after approval): Add myself.
1694
03febf99
AC
16952003-03-12 Andrew Cagney <cagney@redhat.com>
1696
1697 * frame.c (get_prev_frame): Rename the frame parameter to
1698 "this_frame".
1699 (get_next_frame, legacy_get_prev_frame): Ditto.
1700
0a1e1ca1
AC
17012003-03-12 Andrew Cagney <cagney@redhat.com>
1702
1703 * frame.c (get_current_frame): Check target_has_registers before
1704 checking target_has_stack.
1705 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
1706 instead of deprecated_selected_frame.
1707 * findvar.c (value_of_register): Pass "frame", not
1708 deprecated_selected_frame, to value_of_builtin_reg.
1709
a66a9c23
AC
17102003-03-12 Andrew Cagney <cagney@redhat.com>
1711
1712 * regcache.c (regcache_cooked_write_signed): New function.
1713 (regcache_cooked_write_unsigned): New function.
1714 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
1715 (regcache_cooked_read_signed): Fix regnum in range assertion.
1716 * regcache.h (regcache_cooked_write_signed): Declare.
1717 (regcache_cooked_write_unsigned): Declare.
1718
8bedc050
AC
17192003-03-12 Andrew Cagney <cagney@redhat.com>
1720
1721 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1722 * gdbarch.h, gdbarch.c: Re-generate.
1723 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1724 * x86-64-tdep.h: Update.
1725 * x86-64-tdep.c (x86_64_init_abi): Update.
1726 * v850-tdep.c (v850_gdbarch_init): Update.
1727 * sparc-tdep.c (sparc_gdbarch_init): Update.
1728 * sh-tdep.c (sh_gdbarch_init): Update.
1729 * s390-tdep.c (s390_gdbarch_init): Update.
1730 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1731 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1732 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1733 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1734 * mips-tdep.c (mips_gdbarch_init): Update.
1735 * mcore-tdep.c (mcore_gdbarch_init): Update.
1736 * m68k-tdep.c (m68k_gdbarch_init): Update.
1737 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1738 * ia64-tdep.c (ia64_gdbarch_init): Update.
1739 * i386-tdep.c (i386_gdbarch_init): Update.
1740 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1741 * hppa-tdep.c (hppa_gdbarch_init): Update.
1742 * h8300-tdep.c (h8300_gdbarch_init): Update.
1743 * frv-tdep.c (frv_gdbarch_init): Update.
1744 * cris-tdep.c (cris_gdbarch_init): Update.
1745 * avr-tdep.c (avr_gdbarch_init): Update.
1746 * arm-tdep.c (arm_gdbarch_init): Update.
1747 * alpha-tdep.c (alpha_gdbarch_init): Update.
1748 * sh-tdep.c (sh_init_extra_frame_info): Update.
1749 (sh64_init_extra_frame_info): Update.
1750 * ns32knbsd-nat.c (frame_num_args): Update.
1751 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1752 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1753 (xstormy16_frame_chain_valid): Update.
1754 * vax-tdep.c (vax_saved_pc_after_call): Update.
1755 * v850-tdep.c (v850_frame_chain): Update.
1756 (v850_pop_frame): Update.
1757 (v850_init_extra_frame_info): Update.
1758 * sparc-tdep.c (setup_arbitrary_frame): Update.
1759 * ns32k-tdep.c (umax_frame_num_args): Update.
1760 * s390-tdep.c (s390_pop_frame_regular): Update.
1761 * mn10300-tdep.c (mn10300_frame_chain): Update.
1762 (mn10300_pop_frame_regular): Update.
1763 (mn10300_init_extra_frame_info): Update.
1764 * mips-tdep.c (mips_init_frame_pc_first): Update.
1765 (mips_frame_chain): Update.
1766 (mips_pop_frame): Update.
1767 * mcore-tdep.c (mcore_frame_chain): Update.
1768 (mcore_pop_frame): Update.
1769 (mcore_init_extra_frame_info): Update.
1770 * arch-utils.c (init_frame_pc_default): Update.
1771 * m68k-tdep.c (isi_frame_num_args): Update.
1772 (delta68_frame_num_args): Update.
1773 (news_frame_num_args): Update.
1774 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1775 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1776 (alpha_frame_chain): Update.
1777 (alpha_pop_frame): Update.
1778 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1779 (hppa_init_extra_frame_info): Update.
1780 (hppa_frame_chain): Update.
1781 (hppa_frame_chain_valid): Update.
1782 * cris-tdep.c (cris_init_extra_frame_info): Update.
1783 * avr-tdep.c (avr_init_extra_frame_info): Update.
1784 * arm-tdep.c (arm_frame_chain_valid): Update.
1785 (arm_init_extra_frame_info): Update.
1786 (arm_pop_frame): Update.
1787 * frame.c (frame_pc_unwind): Update.
1788 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1789 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1790 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1791 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1792 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1793 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1794
7a25a7c1
AC
17952003-03-12 Andrew Cagney <cagney@redhat.com>
1796
1797 Eliminate the need for POP_FRAME.
1798 * frame.c (do_frame_unwind_register): New function.
1799 (frame_pop): When no POP_FRAME, pop the frame using register
1800 unwind and a scratch regcache.
1801 (frame_saved_regs_pop): Delete function.
1802 (trad_frame_unwinder): Update.
1803 * d10v-tdep.c (d10v_frame_pop): Delete function.
1804 (d10v_frame_unwind): Update.
1805 * sentinel-frame.c (sentinel_frame_pop): Delete function.
1806 (sentinel_frame_unwinder): Update.
1807 * dummy-frame.c (dummy_frame_pop): Delete function.
1808 (dummy_frame_unwind): Update.
1809 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
1810 (struct frame_unwind): Update.
1811
2f38ef89
KB
18122003-03-11 Kevin Buettner <kevinb@redhat.com>
1813
1814 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
1815 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
1816 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
1817 Do range checks on register number obtained from debugging info.
1818 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
1819 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
1820 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
1821 mapping function.
1822 (do_fp_register_row): Fix typo which caused double type to be
1823 used when attempting to unpack a float.
1824
552f4abf
JB
18252003-03-11 J. Brobecker <brobecker@gnat.com>
1826
1827 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
1828
e0d2ae16
AC
18292003-03-11 Andrew Cagney <cagney@redhat.com>
1830
1831 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
1832 frame. Problem found by Corinna Vinschen.
1833
ddbfdd06
PM
18342003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
1835
1836 * doublest.c (floatformat_from_length): Accept also
1837 the real size of 'long double' type.
1838
088b2ddc 18392003-03-10 Daniel Jacobowitz <drow@mvista.com>
31cc81e9 1840
088b2ddc 1841 From Klee Dienes <kdienes@apple.com>:
31cc81e9
DJ
1842 * breakpoint.c (bpstat_copy): Copy the command lines as well
1843 as the old value, to match what is freed in bpstat_clear.
1844
f56f77c1
DC
18452003-03-10 David Carlton <carlton@math.stanford.edu>
1846
1847 * minsyms.c (add_minsym_to_hash_table): Replace
1848 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
1849 (compare_minimal_symbols, compact_minimal_symbols)
1850 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
1851 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
1852 of DEPRECATED_SYMBOL_MATCHES_NAME.
1853 (lookup_minimal_symbol_solib_trampoline): Ditto.
1854
5602984a
AC
18552003-03-10 Andrew Cagney <cagney@redhat.com>
1856
1857 * regcache.h (regcache_cooked_read_ftype): Define.
1858 (regcache_save, regcache_restore): Add a cooked_read parameter.
1859 * regcache.c (regcache_save, regcache_restore): Update.
1860 (do_cooked_read): New function.
1861 (regcache_cpy): Pass do_cooked_read to regcache_save and
1862 regcache_restore.
1863
8bedc050
AC
18642003-03-10 Andrew Cagney <cagney@redhat.com>
1865
1866 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1867 * gdbarch.h, gdbarch.c: Re-generate.
1868 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1869 * x86-64-tdep.h: Update.
1870 * x86-64-tdep.c (x86_64_init_abi): Update.
1871 * v850-tdep.c (v850_gdbarch_init): Update.
1872 * sparc-tdep.c (sparc_gdbarch_init): Update.
1873 * sh-tdep.c (sh_gdbarch_init): Update.
1874 * s390-tdep.c (s390_gdbarch_init): Update.
1875 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1876 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1877 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1878 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1879 * mips-tdep.c (mips_gdbarch_init): Update.
1880 * mcore-tdep.c (mcore_gdbarch_init): Update.
1881 * m68k-tdep.c (m68k_gdbarch_init): Update.
1882 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1883 * ia64-tdep.c (ia64_gdbarch_init): Update.
1884 * i386-tdep.c (i386_gdbarch_init): Update.
1885 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1886 * hppa-tdep.c (hppa_gdbarch_init): Update.
1887 * h8300-tdep.c (h8300_gdbarch_init): Update.
1888 * frv-tdep.c (frv_gdbarch_init): Update.
1889 * cris-tdep.c (cris_gdbarch_init): Update.
1890 * avr-tdep.c (avr_gdbarch_init): Update.
1891 * arm-tdep.c (arm_gdbarch_init): Update.
1892 * alpha-tdep.c (alpha_gdbarch_init): Update.
1893 * sh-tdep.c (sh_init_extra_frame_info): Update.
1894 (sh64_init_extra_frame_info): Update.
1895 * ns32knbsd-nat.c (frame_num_args): Update.
1896 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1897 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1898 (xstormy16_frame_chain_valid): Update.
1899 * vax-tdep.c (vax_saved_pc_after_call): Update.
1900 * v850-tdep.c (v850_frame_chain): Update.
1901 (v850_pop_frame): Update.
1902 (v850_init_extra_frame_info): Update.
1903 * sparc-tdep.c (setup_arbitrary_frame): Update.
1904 * ns32k-tdep.c (umax_frame_num_args): Update.
1905 * s390-tdep.c (s390_pop_frame_regular): Update.
1906 * mn10300-tdep.c (mn10300_frame_chain): Update.
1907 (mn10300_pop_frame_regular): Update.
1908 (mn10300_init_extra_frame_info): Update.
1909 * mips-tdep.c (mips_init_frame_pc_first): Update.
1910 (mips_frame_chain): Update.
1911 (mips_pop_frame): Update.
1912 * mcore-tdep.c (mcore_frame_chain): Update.
1913 (mcore_pop_frame): Update.
1914 (mcore_init_extra_frame_info): Update.
1915 * arch-utils.c (init_frame_pc_default): Update.
1916 * m68k-tdep.c (isi_frame_num_args): Update.
1917 (delta68_frame_num_args): Update.
1918 (news_frame_num_args): Update.
1919 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1920 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1921 (alpha_frame_chain): Update.
1922 (alpha_pop_frame): Update.
1923 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1924 (hppa_init_extra_frame_info): Update.
1925 (hppa_frame_chain): Update.
1926 (hppa_frame_chain_valid): Update.
1927 * cris-tdep.c (cris_init_extra_frame_info): Update.
1928 * avr-tdep.c (avr_init_extra_frame_info): Update.
1929 * arm-tdep.c (arm_frame_chain_valid): Update.
1930 (arm_init_extra_frame_info): Update.
1931 (arm_pop_frame): Update.
1932 * frame.c (frame_pc_unwind): Update.
1933 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1934 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1935 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1936 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1937 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1938 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1939
12cc2063
AC
19402003-03-10 Andrew Cagney <cagney@redhat.com>
1941
1942 * gdbarch.sh (gdbarch_unwind_pc): New method.
1943 * gdbarch.h, gdbarch.c: Regenerate.
1944 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
1945 but use read_pc and FRAME_SAVED_PC as fall backs.
1946 (frame_saved_regs_pc_unwind): Delete function.
1947 (trad_frame_unwinder): Update.
1948 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
1949 (struct frame_unwind): Update.
1950 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
1951 (dummy_frame_unwind): Update.
1952 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
1953 (sentinel_frame_unwinder): Update.
1954 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
1955 (d10v_frame_unwind): Update.
1956 (d10v_unwind_pc): New function.
1957 (d10v_gdbarch_init): Set unwind_pc.
1958
ef840a37
AC
19592003-03-10 Andrew Cagney <cagney@redhat.com>
1960
a2ce2e56
AC
1961 * gdbarch.h: Re-generate.
1962
ef840a37
AC
1963 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
1964 PC.
1965 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
1966 the PC register.
1967
08f3424b
MK
19682003-03-08 Mark Kettenis <kettenis@gnu.org>
1969
1970 * gdbarch.sh (save_dummy_frame_tos): Add comment.
1971
1248ede2
AC
19722003-03-08 Andrew Cagney <cagney@redhat.com>
1973
1974 * cli-out.c: Update copyright.
1975 (cli_out_data): Define typedef. Use instead of ui_out_data.
1976
f49bacc8
AC
19772003-03-08 Andrew Cagney <cagney@redhat.com>
1978
1979 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
1980 the result.
1981
9b05f993
AC
19822003-03-07 Andrew Cagney <cagney@redhat.com>
1983
1984 * gdbarch.sh: Don't generate two macro definitions when an
1985 undefined macro taking no arguments.
1986 * gdbarch.h: Regenerate.
1987
166f4c7b
ML
19882002-03-07 Michal Ludvig <mludvig@suse.cz>
1989
1990 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
1991 (x86_64_unwind_dummy_id): New functions.
1992 (x86_64_init_abi): Register these two new functions.
1993
6d686a84
ML
19942003-03-07 Michal Ludvig <mludvig@suse.cz>
1995
1996 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
1997 (x86_64_skip_prologue): Move prologue detection to
1998 separate function.
1999 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
2000
6314f104
AC
20012003-03-05 Andrew Cagney <cagney@redhat.com>
2002
2003 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
2004 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
2005 * frame.c (get_prev_frame): Restructure the frame ID unwind code
2006 to use unwind_dummy_id when a dummy frame.
2007 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
2008 predicate.
2009 * gdbarch.h, gdbarch.c: Regneerate.
2010
ceea5145
AC
20112003-03-05 Andrew Cagney <cagney@redhat.com>
2012
2013 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
2014 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
2015 Do not use d10v_read_sp or d10v_read_fp when obtaining register
2016 values.
2017
0d843116
AC
20182003-03-05 Andrew Cagney <cagney@redhat.com>
2019
2020 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
2021 (struct d10v_unwind_cache): Delete field "frameless". Replace
2022 "next_addr" with "sp_offset". Add "r11_offset".
2023 (d10v_frame_unwind_cache): Update.
2024 (prologue_find_regs): Update. When "mv r11, sp", save the
2025 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
2026 RN was saved in r11_offset.
2027
b2579786
AC
20282003-03-05 Andrew Cagney <cagney@redhat.com>
2029
2030 * frame.c (deprecated_update_frame_pc_hack): Also update the the
2031 cached PC value in the next frame.
2032
218e5956
AC
20332003-03-05 Andrew Cagney <cagney@redhat.com>
2034
2035 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
2036 "id_unwind_cache" with "id".
2037 (frame_id_unwind): Delete declaration.
2038 * frame.c (frame_id_unwind): Delete function.
2039 (get_prev_frame): Call the frame id unwind method directly. Store
2040 the returned next frame's ID value in NEXT_FRAME. Note that there
2041 is a problem with the wrong unwind ID being called with the wrong
2042 unwind cache.
2043
ed363b1b
DJ
20442003-03-05 Daniel Jacobowitz <drow@mvista.com>
2045
2046 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
2047
fe1f4a5e
DJ
20482003-03-05 James Ingham <jingham@apple.com>
2049 Daniel Jacobowitz <drow@mvista.com>
2050
2051 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
2052 (auto_cp_abi): New variable.
2053 (current_cp_abi, num_cp_abis): Make static.
2054 (CP_ABI_MAX): Define.
2055 (cp_abis): Turn into an array.
2056 (value_virtual_fn_field): Fix formatting.
2057 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
2058 takes a pointer.
2059 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
2060 (list_cp_abis, _initialize_cp_abi): New functions.
2061 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
2062 declarations for cp_abis, num_cp_abis, current_cp_abi, and
2063 switch_to_cp_abi. Update prototype for register_cp_abi.
2064 * Makefile.in (cp-abi.o): Update dependencies.
2065 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
2066 instead of switch_to_cp_abi.
2067 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
2068 register_cp_abi.
2069 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
2070 register_cp_abi.
2071 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
2072
e4adbba9
DJ
20732003-03-05 Daniel Jacobowitz <drow@mvista.com>
2074
2075 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
2076 * dwarf2loc.c: Include "regcache.h".
2077 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
2078 register_size.
2079 * Makefile.in (dwarf2loc.o): Update dependencies.
2080
91ccbfc1
TR
20812003-03-04 Theodore A. Roth <troth@openavr.org>
2082
2083 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
2084 number of io registers reported by remote target is not a multiple of
2085 step.
2086
3d4e8fd2
DC
20872003-03-04 David Carlton <carlton@math.stanford.edu>
2088
2089 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
2090 (lookup_symbol_aux_psymtabs): Update call to
2091 lookup_partial_symbol.
2092 (lookup_transparent_type, find_main_psymtab)
2093 (make_symbol_overload_list): Ditto.
2094
ed42d87b
KH
20952003-03-04 Kazu Hirata <kazu@cs.umass.edu>
2096
2097 * MAINTAINERS (Write after approval): Update my email address.
2098
a0ed5532
AC
20992003-03-03 Andrew Cagney <cagney@redhat.com>
2100
2101 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
2102 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
2103 predicate. Replace MAX_REGISTER_RAW_SIZE.
2104 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
2105 MAX_REGISTER_VIRTUAL_SIZE.
2106 * regcache.c (legacy_max_register_raw_size): New function.
2107 (legacy_max_register_virtual_size): New function.
2108 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
2109 (MAX_REGISTER_RAW_SIZE): Define.
2110 (legacy_max_register_raw_size): Declare.
2111 (legacy_max_register_virtual_size): Declare.
2112 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
2113 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
2114 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
2115 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
2116 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
2117 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
2118 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
2119 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
2120 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
2121 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2122 * vax-tdep.c (vax_gdbarch_init): Update.
2123 * v850-tdep.c (v850_gdbarch_init): Update.
2124 * sparc-tdep.c (sparc_gdbarch_init): Update.
2125 * sh-tdep.c (sh_gdbarch_init): Update.
2126 * s390-tdep.c (s390_gdbarch_init): Update.
2127 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2128 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2129 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2130 * mips-tdep.c (mips_gdbarch_init): Update.
2131 * mcore-tdep.c (mcore_gdbarch_init): Update.
2132 * m68k-tdep.c (m68k_gdbarch_init): Update.
2133 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2134 * ia64-tdep.c (ia64_gdbarch_init): Update.
2135 * i386-tdep.c (i386_gdbarch_init): Update.
2136 * hppa-tdep.c (hppa_gdbarch_init): Update.
2137 * h8300-tdep.c (h8300_gdbarch_init): Update.
2138 * frv-tdep.c (frv_gdbarch_init): Update.
2139 * cris-tdep.c (cris_gdbarch_init): Update.
2140 * avr-tdep.c (avr_gdbarch_init): Update.
2141 * arm-tdep.c (arm_gdbarch_init): Update.
2142 * alpha-tdep.c (alpha_gdbarch_init): Update.
2143 * d10v-tdep.c (d10v_gdbarch_init): Do not set
2144 max_register_raw_size or max_register_virtual_size.
2145
8e437497
DC
21462003-03-03 David Carlton <carlton@math.stanford.edu>
2147
2148 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
2149 SYMBOL_MATCHES_NAME, add comment.
2150 (SYMBOL_MATCHES_NATURAL_NAME): New.
2151 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
2152 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
2153 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
2154 * symtab.c (lookup_partial_symbol): Use
2155 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
2156 unhelpful comment.
2157 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
2158 SYMBOL_MATCHES_NAME.
2159 Fix for PR c++/33.
2160
25120b0d
DC
21612003-03-03 David Carlton <carlton@math.stanford.edu>
2162
2163 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
2164 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
2165 by regexp matching against SYMBOL_NATURAL_NAME.
2166
78a11fb4
DC
21672003-03-03 David Carlton <carlton@math.stanford.edu>
2168
2169 * linespec.c (find_method): Extract code into collect_methods.
2170 (collect_methods): New.
2171
645dd519
MK
21722003-03-02 Mark Kettenis <kettenis@gnu.org>
2173
b4700d91
MK
2174 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
2175 get_frame_base.
2176
645dd519
MK
2177 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
2178 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
2179
0aa7e1aa
SC
21802003-03-02 Stephane Carrez <stcarrez@nerim.fr>
2181
2182 * arch-utils.c (generic_register_byte): Fix to use the loop index
2183 and not regnum when summing the size of all registers up to regnum.
2184
f30ee0bc
AC
21852003-03-01 Andrew Cagney <cagney@redhat.com>
2186
2187 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
2188 FRAME_INIT_SAVED_REGS.
2189 * gdbarch.h, gdbarch.c: Regenerate.
2190 * stack.c (frame_info): Update.
2191 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
2192 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
2193 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
2194 * ns32k-tdep.c (ns32k_pop_frame): Update.
2195 * mips-tdep.c (mips_pop_frame): Update.
2196 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
2197 * ia64-tdep.c (ia64_frame_chain): Update.
2198 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
2199 (ia64_frameless_function_invocation): Update.
2200 (ia64_init_extra_frame_info): Update.
2201 (ia64_pop_frame_regular): Update.
2202 * frame.h (struct frame_info): Update comment.
2203 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
2204 * frame.c (frame_saved_regs_register_unwind): Update.
2205 (frame_saved_regs_register_unwind): Update.
2206 (deprecated_generic_get_saved_register): Update.
2207 * cris-tdep.c: Update comment.
2208 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
2209 Rename macro.
2210 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2211 * x86-64-tdep.c (x86_64_init_abi): Update.
2212 * vax-tdep.c (vax_gdbarch_init): Update.
2213 * v850-tdep.c (v850_gdbarch_init): Update.
2214 * sparc-tdep.c (sparc_gdbarch_init): Update.
2215 * sh-tdep.c (sh_gdbarch_init): Update.
2216 * s390-tdep.c (s390_gdbarch_init): Update.
2217 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2218 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
2219 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2220 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2221 * mips-tdep.c (mips_gdbarch_init): Update.
2222 * mcore-tdep.c (mcore_gdbarch_init): Update.
2223 * m68k-tdep.c (m68k_gdbarch_init): Update.
2224 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2225 * ia64-tdep.c (ia64_gdbarch_init): Update.
2226 * i386-tdep.c (i386_gdbarch_init): Update.
2227 * frv-tdep.c (frv_gdbarch_init): Update.
2228 * avr-tdep.c (avr_gdbarch_init): Update.
2229 * arm-tdep.c (arm_gdbarch_init): Update.
2230 * alpha-tdep.c (alpha_gdbarch_init): Update.
2231
42fa7c0f
AC
22322003-03-01 Andrew Cagney <cagney@redhat.com>
2233
2234 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
2235 option enum and switch. When no windows, set the interpreter to
2236 INTERP_CONSOLE.
2237
49c7e338
AC
22382003-03-01 Andrew Cagney <cagney@redhat.com>
2239
2240 * main.c (captured_main): Replace magic option characters with an
2241 enum.
2242
e9582e71
AC
22432003-03-01 Andrew Cagney <cagney@redhat.com>
2244
2245 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
2246 INIT_EXTRA_FRAME_INFO.
2247 * gdbarch.h, gdbarch.c: Regenerate.
2248 * arm-tdep.c: Update comments.
2249 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
2250 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
2251 * frame.h, avr-tdep.c: Ditto.
2252 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
2253 (create_new_frame, legacy_get_prev_frame): Ditto.
2254 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
2255 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
2256 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
2257 deprecated_init_extra_frame_info instead of init_extra_frame_info.
2258 * x86-64-tdep.c (x86_64_init_abi): Ditto.
2259 * v850-tdep.c (v850_gdbarch_init): Ditto.
2260 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
2261 * sh-tdep.c (sh_gdbarch_init): Ditto.
2262 * s390-tdep.c (s390_gdbarch_init): Ditto.
2263 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
2264 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
2265 * mips-tdep.c (mips_gdbarch_init): Ditto.
2266 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
2267 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2268 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2269 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
2270 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
2271 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2272 * frv-tdep.c (frv_gdbarch_init): Ditto.
2273 * cris-tdep.c (cris_gdbarch_init): Ditto.
2274 * avr-tdep.c (avr_gdbarch_init): Ditto.
2275 * arm-tdep.c (arm_gdbarch_init): Ditto.
2276 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
2277 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2278
35cac7cf
AC
22792003-03-01 Andrew Cagney <cagney@redhat.com>
2280
2281 * gdbarch.sh (register_type): New function with predicate.
2282 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
2283 * gdbarch.h, gdbarch.c: Re-generate.
2284 * arch-utils.c (generic_register_byte): Use generic_register_size.
2285 (generic_register_size): When available, use
2286 gdbarch_register_type.
2287 * regcache.c (init_regcache_descr): When available, initialize the
2288 register type array using gdbarch_register_type. If the
2289 architecture supplies gdbarch_register_type, do not use the legacy
2290 regcache layout.
2291 * d10v-tdep.c (d10v_register_type): Replace
2292 d10v_register_virtual_type.
2293 (d10v_gdbarch_init): Set register_type instead of
2294 register_virtual_type.
2295
7b83296f
AC
22962003-03-01 Andrew Cagney <cagney@redhat.com>
2297
2298 * Makefile.in (ax-gdb.o): Update dependencies.
2299 * ax-gdb.c: Include "regcache.h".
2300 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
2301 * findvar.c (value_of_register): Ditto.
2302 * infcmd.c (default_print_registers_info): Ditto.
2303
eadc1c87
MK
23042003-03-01 Mark Kettenis <kettenis@gnu.org>
2305
2306 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
2307 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
2308
14143612
MK
23092003-03-01 Mark Kettenis <kettenis@gnu.org>
2310
2311 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
2312 of STREQ.
2313
a55cc764
DJ
23142003-02-28 Daniel Jacobowitz <drow@mvista.com>
2315
2316 * Makefile.in (dwarf2loc.o): Update dependencies.
2317 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
2318 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
2319 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
2320 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
2321 (locexpr_tracepoint_var_ref): New function.
2322 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
2323
08a617da
AC
23242003-02-28 Andrew Cagney <cagney@redhat.com>
2325
2326 * regcache.c (register_size): New function.
2327 * regcache.h (register_size): Declare
2328 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
2329 max_register_size instead of MAX_REGISTER_RAW_SIZE.
2330
4224873a
DC
23312003-02-28 David Carlton <carlton@math.stanford.edu>
2332
2333 * linespec.c (decode_compound): Extract code into find_method.
2334 (find_method): New.
2335
ccdc5d7f
JB
23362003-02-28 J. Brobecker <brobecker@gnat.com>
2337
2338 * Makefile.in: Add rules to build and link in observer.o.
2339
974e8ced
JB
23402003-02-27 J. Brobecker <brobecker@gnat.com>
2341
2342 * observer.c: Minor comments edits.
2343
7a28f973
JB
23442003-02-27 J. Brobecker <brobecker@gnat.com>
2345
2346 * observer.h, observer.c: New file.
2347
27cddce2
AC
23482003-02-27 Andrew Cagney <cagney@redhat.com>
2349
2350 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
2351
b94a41a1
SC
23522003-02-27 Stephane Carrez <stcarrez@nerim.fr>
2353
2354 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
2355 (M6812_OP_STS_EXT): Likewise.
2356 (m6811_prologue): Use the above to recognize prologue.
2357 (m6812_prologue): Likewise.
2358
c8be8951
DC
23592003-02-27 David Carlton <carlton@math.stanford.edu>
2360
2361 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
2362 SYMBOL_PRINT_NAME.
2363 (compare_psymbols): Ditto.
2364 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
2365
d05bb1fc
MS
23662003-02-27 Michael Snyder <msnyder@redhat.com>
2367
4e845cd3
MS
2368 * f-lang.c (build_fortran_types): New function.
2369 (_initialize_f_language): Gdbarch-register built-in fortran types.
d05bb1fc
MS
2370 * doublest.c (extract_floating): Fix warning text.
2371
f3824013
AC
23722003-02-27 Andrew Cagney <cagney@redhat.com>
2373
2374 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
2375 predicate. Replaces PUSH_DUMMY_FRAME.
2376 * gdbarch.h, gdbarch.c: Regnerate.
2377 * valops.c (hand_function_call): Update. Call
2378 generic_push_dummy_frame directly.
2379 * vax-tdep.c (vax_gdbarch_init): Update.
2380 * sparc-tdep.c (sparc_gdbarch_init): Update.
2381 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2382 * m68k-tdep.c (m68k_gdbarch_init): Update.
2383 * hppa-tdep.c (hppa_gdbarch_init): Update.
2384 * alpha-tdep.c (alpha_gdbarch_init): Update.
2385 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
2386 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
2387 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
2388 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
2389 push_dummy_frame to generic_push_dummy_frame.
2390 * v850-tdep.c (v850_gdbarch_init): Ditto.
2391 * sh-tdep.c (sh_gdbarch_init): Ditto.
2392 * s390-tdep.c (s390_gdbarch_init): Ditto.
2393 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2394 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
2395 * mips-tdep.c (mips_gdbarch_init): Ditto.
2396 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
2397 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2398 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2399 * i386-tdep.c (i386_gdbarch_init): Ditto.
2400 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2401 * frv-tdep.c (frv_gdbarch_init): Ditto.
2402 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
2403 * cris-tdep.c (cris_gdbarch_init): Ditto.
2404 * avr-tdep.c (avr_gdbarch_init): Ditto.
2405 * arm-tdep.c (arm_gdbarch_init): Ditto.
2406
ad188201
KB
24072003-02-26 Kevin Buettner <kevinb@redhat.com>
2408
2409 * mips-tdep.c (show_mips_abi): New function.
2410 (_initialize_mips_tdep): Use show_mips_abi() to implement the
2411 command ``show mips abi''.
2412
6b37567a
JJ
24132003-02-26 Jeff Johnston <jjohnstn@redhat.com>
2414
2415 From Elena Zannoni <ezannoni@redhat.com>
2416 * dbxread.c (process_one_symbol): Only record line 0 if one or
2417 more sline entries have been seen for the function.
2418
d3e0a5bf
MC
24192003-02-26 Michael Chastain <mec@shout.net>
2420
2421 * configure: Regenerate with autoconf 000227.
2422
18972eea
MC
24232003-02-26 Michael Chastain <mec@shout.net>
2424
2425 Close PR build/660.
2426 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
2427 for old libc5/glibc.
2428 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
2429
0bbde931
KW
24302003-02-26 Kris Warkentin <kewarken@qnx.com>
2431
2432 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
2433 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
2434
27ca5dad
MC
24352003-02-26 Michael Chastain <mec@shout.net>
2436
2437 * configure.in: New variable HAVE_UINTPTR_T.
2438 * configure, config.in: Regenerated.
2439
6f88d630
DJ
24402003-02-26 Daniel Jacobowitz <drow@mvista.com>
2441
2442 Fix PR build/1097.
2443 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
2444
b14185ce
AC
24452003-02-25 Andrew Cagney <cagney@redhat.com>
2446
2447 * frame.c (get_prev_frame): Add comment on check for
2448 inside_entry_func. Only check for inside_entry_file when not a
2449 dummy and not a sentinel. Check that the new frame is not inner
2450 to the old frame.
2451
ac2bd0a9
AC
24522003-02-25 Andrew Cagney <cagney@redhat.com>
2453
2454 * frame.c (frame_debug): New variable.
2455 (_initialize_frame): Add "set/show debug frame" command.
2456 (get_prev_frame): When frame_debug, print reason why unwind
2457 failed.
2458
b18a0fd2
MC
24592003-02-25 Michael Chastain <mec@shout.net>
2460
2461 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
2462 to avoid uintptr_t definition problems.
2463
22abf04a
DC
24642003-02-25 David Carlton <carlton@math.stanford.edu>
2465
2466 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
2467 (SYMBOL_LINKAGE_NAME): Ditto.
2468 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
2469 SYMBOL_LINKAGE_NAME.
2470 (struct general_symbol_info): Expand comment.
2471 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
2472 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
2473 (SYMBOL_MATCHES_REGEXP): Ditto.
2474 * symtab.c (symbol_natural_name): New function.
2475 * objfiles.h: Replace all uses of SYMBOL_NAME by
2476 DEPRECATED_SYMBOL_NAME.
2477 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
2478 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
2479 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
2480 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
2481 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
2482 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
2483 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
2484 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
2485 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
2486 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
2487 * ada-exp.y: Ditto.
2488 * ada-exp.y: Update copyright.
2489 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
2490 * cp-valprint.c: Ditto.
2491
1a5848f6
JJ
24922003-02-25 Jeff Johnston <jjohnstn@redhat.com>
2493
2494 * infptrace.c (detach): Do not flag error if ptrace detach fails
2495 and errno is set to ESRCH.
2496
7343d46a
AC
24972003-02-24 Andrew Cagney <cagney@redhat.com>
2498
2499 * infptrace.c (udot_info): Change type of udot_off to long. Use
2500 paddr when printing udot_off's value.
2501
49fa1dc2
DC
25022003-02-24 David Carlton <carlton@math.stanford.edu>
2503
2504 * symtab.c (make_symbol_overload_list): Only read in partial
2505 symtabs containing a matching partial symbol.
2506
0fe19209
DC
25072003-02-24 David Carlton <carlton@math.stanford.edu>
2508
2509 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
2510 do the comparison, not strcmp.
2511 * symfile.c (compare_psymbols): Ditto.
2512 * defs.h: Declare strcmp_iw_ordered.
2513 * utils.c (strcmp_iw_ordered): New function.
2514
8e3ee7b5
JB
25152003-02-24 Jim Blandy <jimb@redhat.com>
2516
2517 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
2518 support, shared libs): Remove my name from here, to better reflect
2519 reality.
2520
7df1a324
KW
25212003-02-24 Kris Warkentin <kewarken@qnx.com>
2522
2523 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
2524 (target_ops): Add to_have_continuable_watchpoint.
2525 * target.c (update_current_target): Add INHERIT line for
2526 to_have_continuable_watchpoint.
2527 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
2528 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
2529 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
2530 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
2531
d1c76907
EZ
25322003-02-24 Elena Zannoni <ezannoni@redhat.com>
2533
2534 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
2535 maintainership.
2536
2610b0bf
KW
25372003-02-24 Kris Warkentin <kewarken@qnx.com>
2538
f46169db
KW
2539 * solib.c (solib_open): Call target defined search function after
2540 failing with solib-search-path.
2541 * solist.h (target_so_ops): Add find_and_open_solib function hook and
2542 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
2610b0bf 2543
9a3c34fe
KW
25442003-02-24 Kris Warkentin <kewarken@qnx.com>
2545
f46169db 2546 * MAINTAINERS: Add myself to Write After section.
9a3c34fe 2547
2417dd25
SC
25482003-02-23 Stephane Carrez <stcarrez@nerim.fr>
2549
2550 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
2551
b631436b
SC
25522003-02-22 Stephane Carrez <stcarrez@nerim.fr>
2553
2554 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
2555 (m68hc11_add_reggroups): New function.
2556 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
2557 (m68hc11_gdbarch_init): Install the reggroups.
2558 (_initialize_m68hc11_tdep): Initialize them.
2559
0aa8c1e4
JW
25602003-02-21 James E Wilson <wilson@tuliptree.org>
2561
2562 * MAINTAINERS: Update my email address.
2563
50ceaba5
DC
25642003-02-21 David Carlton <carlton@math.stanford.edu>
2565
2566 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
2567
4c2df51b
DJ
25682003-02-21 Daniel Jacobowitz <drow@mvista.com>
2569
2570 Based on a patch from Daniel Berlin (dberlin@dberlin.org).
2571 * symtab.h: Add opaque declarations of struct axs_value and
2572 struct agent_expr.
2573 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
2574 (struct location_funcs): New type.
2575 (struct symbol): Add "loc" to aux_value.
2576 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
2577 * dwarf2read.c: Include "dwarf2expr.h".
2578 (dwarf2_symbol_mark_computed): New function.
2579 (read_func_scope): Use it.
2580 (var_decode_location): New function.
2581 (new_symbol): Use it.
2582 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
2583
2584 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
2585 (dwarf2expr_h, dwarf2loc_h): New variables.
2586 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
2587 (dwarf2expr.o, dwarf2loc.o): New rules.
2588 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
2589 * buildsym.c (finish_block): Handle LOC_COMPUTED and
2590 LOC_COMPUTED_ARG.
2591 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
2592 * m2-exp.y (yylex): Likewise.
2593 * printcmd.c (address_info, print_frame_args): Likewise.
2594 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
2595 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
2596 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
2597 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
2598 * symtab.c (lookup_block_symbol): Likewise.
2599
5784d15e
AF
26002003-02-20 Adam Fedor <fedor@gnu.org>
2601
2602 * symtab.h: Remove objc_specific struct
2603 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
2604 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
2605 Have language_objc use cplus_specific struct.
2606
d4cad8db
TT
26072003-02-20 Tom Tromey <tromey@redhat.com>
2608
2609 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
2610 TYPE_NAME, when printing a String value. PR java/1075.
2611
2f9a90b4
AF
26122003-02-20 Adam Fedor <fedor@gnu.org>
2613
d38074a8 2614 * objc-lang.h (find_methods): Remove declaration.
2f9a90b4
AF
2615 * objc-lang.c (find_methods): Make static.
2616
6f17862b
CF
26172003-02-20 Christopher Faylor <cgf@redhat.com>
2618
2619 * win32-nat.c (get_image_name): Check return value from
2620 ReadProcessMemory.
2621 (child_xfer_memory): Ditto.
2622
715d1656
AO
26232003-02-20 Alexandre Oliva <aoliva@redhat.com>
2624
2625 * configure.in (TARGET_SYSTEM_ROOT): Set default to
2626 ${exec_prefix}/${target_alias}/sys-root. Match explicit
2627 '${exec_prefix}' (in addition to the expansion thereof) as
2628 relocatable.
2629 * configure: Rebuilt.
2630
b1262a02
DC
26312003-02-20 David Carlton <carlton@math.stanford.edu>
2632
2633 * symtab.c (search_symbols): Revert the search_symbols part of my
2634 2002-12-23 patch. Add comment.
2635
7134143f
DJ
26362002-02-20 Daniel Jacobowitz <drow@mvista.com>
2637
2638 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
2639 * dbxread.c (elfstab_build_psymtabs): Don't call
2640 install_minimal_symbols.
2641 (stabsect_build_psymtabs): Likewise.
2642 * elfread.c (elf_symfile_read): Call install_minimal_symbols
2643 earlier.
2644 * somread.c (som_symfile_read): Call install_minimal_symbols
2645 and do_cleanups earlier.
2646 * nlmread.c (nlm_symfile_read): Likewise.
2647 * mdebugread.c (elfmdebug_build_psymtabs): Call
2648 install_minimal_symbols and make appropriate cleanups.
2649
cf466558
KB
26502003-02-20 Kevin Buettner <kevinb@redhat.com>
2651
2652 * solib.c (reload_shared_libraries): New function.
2653 (_initialize_solib): Add callbacks for ``set solib-search-path''
2654 and ``set solib-absolute-prefix''.
2655
de5ad195
DC
26562003-02-20 David Carlton <carlton@math.stanford.edu>
2657
2658 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
2659 expand comment.
2660 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
2661 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
2662 * ada-typeprint.c (ada_typedef_print): Ditto.
2663 * ax-gdb.c (gen_var_ref): Ditto.
2664 * breakpoint.c (print_one_breakpoint): Ditto.
2665 * buildsym.c (finish_block): Ditto.
2666 * c-valprint.c (c_val_print): Ditto.
2667 * expprint.c (print_subexp): Ditto.
2668 * findvar.c (locate_var_value): Ditto.
2669 * infcmd.c (jump_command): Ditto.
2670 * linespec.c (decode_line_2, decode_compound): Ditto.
2671 * maint.c (maintenance_translate_address): Ditto.
2672 * objc-lang.c (compare_selectors, compare_classes): Ditto.
2673 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
2674 Ditto.
2675 * p-valprint.c (pascal_val_print): Ditto.
2676 * stabsread.c (define_symbol): Ditto.
2677 * stack.c (print_frame, frame_info, print_block_frame_locals)
2678 (print_frame_arg_vars, return_command): Ditto.
2679 * symfile.c (compare_symbols, compare_psymbols): Ditto.
2680 * symmisc.c (print_symbol): Ditto.
2681 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
2682 (compare_search_syms, print_symbol_info, print_msymbol_info)
2683 (rbreak_command): Ditto.
2684 * tracepoint.c (tracepoints_info): Ditto.
2685 * typeprint.c (typedef_print): Ditto.
2686 * valops.c (value_of_variable, hand_function_call): Ditto.
2687 * cli/cli-cmds.c (edit_command, list_command): Ditto.
2688 * ada-typeprint.c: Update Copyright.
2689 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
2690 * tracepoint.c, cli/cli-cmds.c: Ditto.
2691
f796e4be
KB
26922003-02-20 Kevin Buettner <kevinb@redhat.com>
2693
2694 * frame.c (generic_unwind_get_saved_register): Make non-static.
2695 * frame.h (generic_unwind_get_saved_register): Declare.
2696 * mips-tdep.c (read_next_frame_reg): Fetch register from
2697 current regcache when frame is NULL.
2698 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
2699 that must be NULL.
2700 (mips_get_saved_register): Call generic_unwind_get_saved_register()
2701 instead of frame_register_unwind().
2702
836cc9f4
AC
27032003-02-20 Andrew Cagney <ac131313@redhat.com>
2704
2705 * remote-sim.c (gdbsim_insert_breakpoint)
2706 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
2707 code.
2708
501eef12
AC
27092003-02-20 Andrew Cagney <ac131313@redhat.com>
2710
2711 * remote.c (_initialize_remote): Add commands "set/show remote
2712 hardware-watchpoint-limit" and "set/show remote
2713 hardware-breakpoint-limit".
2714 (remote_hw_watchpoint_limit): Initialize to -1.
2715 (remote_hw_breakpoint_limit): Ditto.
2716 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
2717
1b6bc7e0
CF
27182003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
2719
2720 * coff-pe-read.c: New file - support reading of minimal symbols from a
2721 portable executable using the export table.
2722 * coff-pe-read.h: New file.
2723 * coffread.c: Include coff-pe-read.h.
2724 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
2725 debugging symbols found.
2726 * Makefile.in (SFILES): Add coff-pe-read.o.
2727 (coff_pe_read_h): Define.
2728 (COMMON_OBS): Add coff-pe-read.o.
2729 (coffread.o): Add coff_pe_read_h dependency.
2730 (coff-pe-read.o): New target.
2731
fe898f56
DC
27322003-02-19 David Carlton <carlton@math.stanford.edu>
2733
2734 * Makefile.in (SFILES): Add block.c.
2735 (block_h): New.
2736 (COMMON_OBS): Add block.o.
2737 (block.o): New.
2738 (x86-64-tdep.o): Add $(block_h).
2739 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
2740 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
2741 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
2742 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
2743 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
2744 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
2745 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
2746 * value.h: Add opaque declaration for struct block.
2747 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
2748 * ada-lang.h: Ditto.
2749 * x86-64-tdep.c: #include "block.h"
2750 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
2751 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
2752 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
2753 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
2754 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
2755 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
2756 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
2757 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
2758 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
2759 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
2760 * symtab.c (block_function): Ditto.
2761 (contained_in): Ditto.
2762 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
2763 block.h. Add opaque declaration for struct block.
2764 * symtab.h: Move block_function and contained_in declarations to
2765 block.h. Add opaque declarations for struct block, struct
2766 blockvector.
2767 (struct block): Move to block.h.
2768 (struct blockvector): Ditto.
2769 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
2770 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
2771 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
2772 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
2773 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
2774 Ditto.
2775 * block.c: New file.
2776 * block.h: New file.
2777
173345b5
TR
27782003-02-19 Theodore A. Roth <troth@openavr.org>
2779
2780 * avr-tdep.c (avr_extract_return_value): Remove function.
2781 (avr_store_return_value): Remove function.
2782 (avr_extract_struct_value_address): Remove function.
2783 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
2784
338ef23d
AC
27852003-02-19 Andrew Cagney <ac131313@redhat.com>
2786
2787 * rs6000-tdep.c: Include "gdb_assert.h".
2788 (registers_e500): Add "acc" and "spefscr".
2789 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
2790 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
2791 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
2792 really is "r0".
2793 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
2794
5412f5f3
KS
27952003-02-18 Keith Seitz <keiths@redhat.com>
2796
2797 * Makefile.in: Add gdbtk-interps.c.
2798
881324eb
KB
27992003-02-18 Kevin Buettner <kevinb@redhat.com>
2800
2801 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
2802 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
2803
6a2f5abf
AC
28042003-02-18 Andrew Cagney <cagney@redhat.com>
2805
2806 * symtab.h (struct objfile): Add opaque declaration.
2807
54c7009d
EZ
28082003-02-18 Elena Zannoni <ezannoni@redhat.com>
2809
2810 From Jim Ingham <jingham@apple.com>:
2811 * dbxread.c (process_one_symbol): Use last_function_start rather
2812 than function_start_offset to find the real beginning of the
2813 current function. The latter is just the text section offset on
2814 some systems, the former is always the real function start.
2815
7ee6d7eb
AC
28162003-02-17 Andrew Cagney <cagney@redhat.com>
2817
2818 * configure.in: Revert ${target} != ${host}.
2819
2846da9b
AC
28202003-02-17 Andrew Cagney <ac131313@redhat.com>
2821
2822 * configure.in (Makefile): Use the test ${target} != ${host},
2823 instead of the absence of the "nm.h" file, to determine of the
2824 configuration non-native.
2825 * configure: Regenerate.
2826
3b27aeea
EZ
28272003-02-14 Elena Zannoni <ezannoni@redhat.com>
2828
2829 From Brian Ford <ford@vss.fsi.com>
2830
2831 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
2832 conditionalize tui_active test.
2833 (lookup_cmd_1): Ditto.
2834
b0b1c2c0
MK
28352003-02-14 Mark Kettenis <kettenis@gnu.org>
2836
2837 * configure.in: Add check for _etext.
2838 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
2839 available.
2840 * config.in, configure: regenerated.
2841
8f05cde5
DJ
28422003-02-14 Daniel Jacobowitz <drow@mvista.com>
2843
2844 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
2845
021e7609
AC
28462003-02-14 Andrew Cagney <ac131313@redhat.com>
2847
2848 * main.c (tui_version): Delete variable.
2849 (captured_main): When --tui, set interpreter_p to "tui" instead of
2850 enabling tui_version.
2851 * printcmd.c (display_command) [TUI]: Test tui_active instead of
2852 tui_version.
2853 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
2854 * cli/cli-cmds.c (disassemble_command): Ditto.
2855 * defs.h (tui_version): Delete declaration.
2856 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
2857 (tui-interp.o): Add rules.
2858 (SUBDIR_TUI_OBS): Add "tui-interp.o".
2859
e325dcec
CF
28602003-02-14 Christopher Faylor <cgf@redhat.com>
2861
36ffb041 2862 * win32-nat.c (register_loaded_dll): Correctly set address range for
e325dcec
CF
2863 just-loaded dll.
2864
c4f90d87
JM
28652003-02-12 Jason Molenda (jmolenda@apple.com)
2866
2867 * symmisc.c (print_objfile_statistics): Include information about
2868 the number of psymtabs and symtabs in each object file.
2869
e46e5ccd
KS
28702003-02-13 Keith R Seitz <keiths@redhat.com>
2871
2872 * main.h (struct captured_main_args): Add interpreter_p.
2873 * main.c (captured_main): Initialize interpreter_p from context.
2874 * gdb.c (main): Set interpreter_p argument.
2875 * Makefile.in (gdb.o): Add dependency for interps.h.
2876
fe97fe9c
AC
28772003-02-12 Andrew Cagney <ac131313@redhat.com>
2878
2879 * event-top.c (cli_command_loop): Delete declaration.
2880 (_initialize_event_loop): Delete function setting event_loop_hook.
2881 * event-top.h (cli_command_loop): Declare. Update copyright.
2882 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
2883 * interps.c (current_interp_command_loop): When event_loop_p, call
2884 cli_command_loop.
2885
1cdac4ef
AC
28862003-02-12 Andrew Cagney <ac131313@redhat.com>
2887
2888 * interps.h (interp_command_loop_ftype): Change return type to
2889 void.
2890
48037ead
ML
28912003-02-12 Michal Ludvig <mludvig@suse.cz>
2892
2893 * x86-64-tdep.c (x86_64_extract_return_value)
2894 (x86_64_store_return_value): Use regcache instead of regbuf.
2895 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
2896 * x86-64-linux-nat.c (fill_gregset): Use regcache.
2897
033afc63
AC
28982003-02-11 Andrew Cagney <ac131313@redhat.com>
2899
2900 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
2901 * aclocal.m4: Regenerate.
2902 * configure: Regenerate.
2903
2904 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
2905 TCL_LD_SEARCH_FLAGS.
2906
40d02bca
ML
29072003-02-10 Michal Ludvig <mludvig@suse.cz>
2908
2909 * dwarf2cfi.c: Reindented.
2910
11308a41
AC
29112003-02-09 Andrew Cagney <ac131313@redhat.com>
2912
2913 * interps.c (clear_interpreter_hooks): Convert function definition
2914 to ISO C.
2915
e1c1c0f6
DC
29162003-02-07 David Carlton <carlton@math.stanford.edu>
2917
2918 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
2919
ab5d3da6
KB
29202003-02-07 Kevin Buettner <kevinb@redhat.com>
2921
2922 * gdbtypes.h (struct main_type): Move ``length'' field from here...
2923 (struct type): ...to here.
2924 (TYPE_LENGTH): Adjust to reflect different location of ``length''
2925 field.
2926 * gdbtypes.c (make_qualified_type): Set length on newly created type.
2927 (replace_type): Set length on all type variants for a given type.
2928
b8a92b82
AC
29292003-02-07 Andrew Cagney <ac131313@redhat.com>
2930
2931 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
2932 <sys/stat.h>.
2933 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
2934
5cb316ef
AC
29352003-02-06 Andrew Cagney <ac131313@redhat.com>
2936
2555fe1a
AC
2937 * Makefile.in (symm-nat.o): Update dependencies.
2938 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
2939 (lynx-nat.o, ia64-linux-nat.): Ditto.
2940 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
2941 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
2942 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
2943
44270758
AC
2944 * Makefile.in (inflow_h): Define.
2945 (procfs.o, inflow.o, procfs.o): Update dependencies.
2946 * inftarg.c (child_stop): Delete extern declaration of
2947 inferior_process_group. Include "inflow.h".
2948 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
2949 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
2950 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
2951 (our_process_group, inferior_process_group): Extern declarations.
2952
df8f7274
AC
2953 * procfs.c: Include "gdb_assert.h".
2954
5cb316ef
AC
2955 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
2956 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
2957 * jv-typeprint.c (java_type_print_base): Ditto.
2958 * typeprint.c (typedef_print): Eliminate STREQ.
2959 * cli/cli-script.c (define_command, define_command): Ditto.
2960 * main.c (captured_main): Ditto.
2961 * values.c (lookup_internalvar): Ditto.
2962 * utils.c (safe_strerror, parse_escape): Eliminate assignment
2963 within `if' conditional.
2964 * linespec.c (decode_line_2): Ditto.
2965 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
2966 (bfd_openw_with_cleanup): Ditto.
2967
2a28ccea
MK
29682003-02-07 Mark Kettenis <kettenis@gnu.org>
2969
2970 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
2971 legacy_extract_return_value and store_return_value to
2972 legacy_return_value.
2973
786b8124
CF
29742003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
2975
2976 * win32-nat.c (get_relocated_section_addrs): New function. Find
2977 section load addresses for symbol handling in relocated DLLs.
2978 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
2979
b871e4ec
FF
29802003-02-05 Fred Fish <fnf@intrinsity.com>
2981
2982 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
2983 '=' and '!='.
2984 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
2985 with '&' and '=='.
2986 (angel_RDI_info): Ditto.
2987 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
2988 with '&' and '!='.
2989 (threads_continue_all_with_signals): Ditto.
2990
4389a95a
AC
29912003-02-05 Jim Ingham <jingham@apple.com>
2992 Keith Seitz <keiths@redhat.com>
2993 Elena Zannoni <ezannoni@redhat.com>
2994 Andrew Cagney <ac131313@redhat.com>
2995
2996 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
2997 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
2998 (SUBDIR_MI_OBS): Add "mi-interp.o".
2999 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
3000 (SFILES): Add "interps.c".
3001 (COMMON_OBS): Add "interps.o".
3002 (interps_h, mi_main_h): Define.
3003 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
3004 (mi-main.o, main.o, event-top.o): Update dependencies.
3005 * cli/cli-interp.c: New file.
3006 * interps.h, interps.c: New files.
3007 * top.c: (gdb_init): Don't install the default interpreter, handed
3008 by captured_main.
3009 * main.c: Include "interps.h".
3010 (interpreter_p): Note that it should malloc'ed.
3011 (captured_command_loop): Call current_interp_command_loop.
3012 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
3013 xfree and xstrdup when updating interpreter_p. Install the
3014 default interpreter. Add hack to stop mi1's copyright notice
3015 being encoded.
3016 * event-top.h (gdb_setup_readline): Declare.
3017 (gdb_disable_readline): Declare.
3018 * event-top.c: Include "interps.h".
3019 (display_gdb_prompt): Call current_interp_display_prompt_p.
3020 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
3021 gdb_stdlog, and gdb_stdtarg.
3022 (_initialize_event_loop): Don't call gdb_setup_readline.
3023 * cli-out.c (cli_out_set_stream): New function.
3024 * cli-out.h (cli_out_set_stream): Declare.
3025
ff3b5810
MK
30262003-02-06 Mark Kettenis <kettenis@gnu.org>
3027
3028 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
3029 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
3030 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
3031 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
3032 config/i386/i386v42mp.mt: Removed.
3033
5b729aa5
MK
30342003-02-05 Mark Kettenis <kettenis@gnu.org>
3035
3036 * configure.tgt (*-*-solaris*): Set gdb_osabi to
3037 GDB_OSABI_SOLARIS.
3038
8cc15142
MC
30392003-02-05 Michael Chastain <mec@shout.net>
3040
3041 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
3042 2.12.1 and earlier versions.
3043
5aa5d4b9
AC
30442003-02-05 Andrew Cagney <ac131313@redhat.com>
3045
3046 Remove orphaned hosts, targets and files.
3047 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
3048 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
3049 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
3050 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
3051 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
3052 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
3053 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
3054 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
3055 * config/sparc/tm-sp64sim.h: Delete.
3056 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
3057 hosts.
3058 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
3059 mips*-dec-mach3* targets.
3060
b68767c1
MC
30612003-02-04 Michael Chastain <mec@shout.net>
3062
3063 * NEWS: Fix typo: sepcifying -> specifying.
3064
5ae7ca1d
MC
30652003-02-04 Michael Chastain <mec@shout.net>
3066
3067 * dwarfread.c: Add documentation on the state of dwarf-1,
3068 looking towards obsoletion.
3069
d08a4280
MC
30702003-02-03 Michael Chastain <mec@shout.net>
3071
3072 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
3073 gdb/testsuite/gdb.c++/pr-1023.exp.
3074
e9be73e4
AC
30752003-02-04 Andrew Cagney <ac131313@redhat.com>
3076
3077 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
3078 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
3079
3080 * utils.c (init_page_info): Delete reference to MPW in comments.
3081 * main.c (captured_main): Delete #ifdef MPW.
3082
05d57f6f
AC
30832003-02-04 Andrew Cagney <ac131313@redhat.com>
3084
3085 * NEWS: Note that the m32r-*-elf* is obsolete.
3086 * monitor.c (monitor_expect): Obsolete reference to m32r.
3087 * configure.tgt: Mark m32r-*-elf* as obsolete.
3088 * MAINTAINERS: Mark m32k as obsolete.
3089 * m32r-rom.c: Obsolete file.
3090 * config/m32r/m32r.mt: Obsolete file.
3091 * config/m32r/tm-m32r.h: Obsolete file.
3092 * m32r-stub.c: Obsolete file.
3093 * m32r-tdep.c: Obsolete file.
3094
8b0e5691
AC
30952003-02-04 Andrew Cagney <ac131313@redhat.com>
3096
3097 * NEWS: Mention that the z8k-zilog-none is obsolete.
3098 * MAINTAINERS: Mark z8k as obsolete.
3099 * configure.tgt: Obsolete the z8k-*-coff* target.
3100 * config/z8k/z8k.mt: Obsolete file.
3101 * config/z8k/tm-z8k.h: Obsolete file.
3102 * z8k-tdep.c: Obsolete file.
3103
67f16606
AC
31042003-02-04 Andrew Cagney <ac131313@redhat.com>
3105
3106 * NEWS: Mention that the mn10200-elf is obsolete.
3107 * configure.tgt: Obsolete mn10200-*-* target.
3108 * breakpoint.c (update_breakpoints_after_exec): Update comment to
3109 mention that the mn10200 is obsolete.
3110 * breakpoint.h: Ditto.
3111 * MAINTAINERS: Mark the mn10200-elf as obsolete.
3112 * config/mn10200/mn10200.mt: Obsolete file.
3113 * config/mn10200/tm-mn10200.h: Obsolete file.
3114 * mn10200-tdep.c: Obsolete file.
3115
fd2299bd
AC
31162003-02-04 Andrew Cagney <ac131313@redhat.com>
3117
3118 * MAINTAINERS: Mark h8500 as obsolete.
3119 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
3120 * findvar.c (value_from_register): Ditto.
3121 * h8500-tdep.c: Mark file as obsolete.
3122 * config/h8500/h8500.mt: Ditto.
3123 * config/h8500/tm-h8500.h: Ditto.
3124 * NEWS: Mention that h8500 is obsolete.
3125
eb9a305d
DC
31262003-02-04 David Carlton <carlton@math.stanford.edu>
3127
3128 * objfiles.c (allocate_objfile): Always set name. Add comment at
3129 start of function.
3130 * jv-lang.c (get_dynamics_objfile): Add comment.
3131
406fc7fb
DC
31322003-02-04 David Carlton <carlton@math.stanford.edu>
3133
3134 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
3135 * printcmd.c (build_address_symbolic): Replace uses of
3136 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
3137 SYMBOL_NAME, and asm_demangle.
3138 Update copyright.
3139
93d91629
DC
31402003-02-04 David Carlton <carlton@math.stanford.edu>
3141
3142 * linespec.c (decode_compound): Extract code into
3143 lookup_prefix_sym.
3144 (lookup_prefix_sym): New function.
3145
1c5cb38e
DC
31462003-02-04 David Carlton <carlton@math.stanford.edu>
3147
3148 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
3149 FLOAT_COERCION_BADNESS.
3150 * gdbtypes.c (rank_one_type): Replace all uses of
3151 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
3152
0cf824c9
JB
31532003-02-04 Jim Blandy <jimb@redhat.com>
3154
3155 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
3156 section, let dwarf_macinfo_section point to it, not
3157 dwarf_loc_section.
3158
a2d356b0
DJ
31592003-02-04 Daniel Jacobowitz <drow@mvista.com>
3160
3161 Pointed out by Anton Blanchard <anton@samba.org>.
3162 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
3163 (ppc_linux_at_sigtramp_return_path): Use it.
3164
2de7ced7
DJ
31652003-02-04 Daniel Jacobowitz <drow@mvista.com>
3166
3167 * defs.h (streq): Add prototype.
3168 * utils.c (streq): New function.
3169
3170 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
3171 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
3172 * mdebugread.c (new_symbol): Likewise.
3173 * stabsread.c (define_symbol): Likewise.
3174 * coffread.c (process_coff_symbol): Likewise.
3175 * dwarfread.c (new_symbol): Likewise.
3176
3177 * minsyms.c (prim_record_minimal_symbol_and_info): Use
3178 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
3179 here.
3180 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
3181 SYMBOL_INIT_DEMANGLED_NAME.
3182 * objfiles.c: Include "hashtab.h".
3183 (allocate_objfile): Call htab_set_functions_ex for the
3184 demangled_names_hash.
3185 (free_objfile): Call htab_delete for the demangled_names_hash.
3186 * objfiles.h (struct htab): Add declaration.
3187 (struct objfile): Add demangled_names_hash.
3188 * symfile.c: Include "hashtab.h".
3189 (reread_symbols): Call htab_delete for the demangled_names_hash.
3190 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
3191 SYMBOL_NAME in the bcache.
3192 * symtab.c: Include "hashtab.h". Update comments.
3193 (create_demangled_names_hash, symbol_set_names): New functions.
3194 (symbol_find_demangled_name): New function, broken out from
3195 symbol_init_demangled_names.
3196 (symbol_init_demangled_names): Use it.
3197 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
3198 (SYMBOL_SET_NAMES): New macro.
3199 (symbol_set_names): Add prototype.
3200
15831452
JB
32012003-02-03 Jim Blandy <jimb@redhat.com>
3202
3203 Use a single, consistent representation for an empty minimal
3204 symbol table in an objfile.
3205 * objfiles.c (terminate_minimal_symbol_table): New function.
3206 (allocate_objfile): Call it.
3207 * objfiles.h (terminate_minimal_symbol_table): New declaration.
3208 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
3209 non-NULL.
3210 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
3211 objfile has minimal symbols, compare minimal_symbol_count to zero,
3212 instead of comparing msymbols with NULL.
3213 * objfiles.c (have_minimal_symbols): Same.
3214 * solib-sunos.c (solib_add_common_symbols): Call
3215 terminate_minimal_symbol_table.
3216 * symfile.c (reread_symbols): Same.
3217
ffc65945
KB
32182003-02-03 Kevin Buettner <kevinb@redhat.com>
3219
3220 * s390-tdep.c (s390_address_class_type_flags)
3221 (s390_address_class_type_flags_to_name)
3222 (s390_address_class_name_to_type_flags): New functions.
3223 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
3224 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
3225
f211c6d4
MS
32262003-02-03 Michael Snyder <msnyder@redhat.com>
3227
3228 * arm-tdep.c: Fix spell-o in comment.
3229
659b0389
ML
32302003-02-03 Michal Ludvig <mludvig@suse.cz>
3231
3232 * dwarf2cfi.c (pointer_encoding): Added new parameter.
3233 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
3234 error messages to contain BFD filename.
3235
3b31d625
EZ
32362003-02-02 Elena Zannoni <ezannoni@redhat.com>
3237
997b089a 3238 Fix PR gdb/742 gdb/743 gdb/877
3b31d625
EZ
3239 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
3240 (do_mixed_source_and_assembly): Use
3241 make_cleanup_ui_out_tuple_begin_end and
3242 make_cleanup_ui_out_tuple_begin_end.
3243 (do_mixed_source_and_assembly): Ditto.
3244 * thread.c (do_captured_list_thread_ids): Ditto.
3245 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
3246 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
3247 ui_out_tuple_end): Delete prototypes.
3248 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
3249 ui_out_list_end, ui_out_tuple_end): Delete.
3250
3251 From Kevin Buettner <kevinb@redhat.com>:
3252 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
3253 * ui-out.c (make_cleanup_ui_out_table_begin_end)
3254 (do_cleanup_table_end): New functions.
3255 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
3256 Use cleanups to invoke_ui_out_tuple_end().
3257 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
3258 * cli/cli-setshow.c (cmd_show_list): Use
3259 make_cleanup_ui_out_tuple_begin_end.
3260
5b181d62
AC
32612003-02-02 Andrew Cagney <ac131313@redhat.com>
3262
3263 * frame.c (frame_unwind_register): New function.
3264 (frame_unwind_unsigned_register): Use.
3265 (frame_unwind_signed_register): Use.
3266 (frame_read_register): New function.
3267 * frame.h (frame_unwind_register): Declare.
3268 (frame_read_register): Declare.
3269
3270 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
3271 and frame_unwind_register instead of read_memory, write_register
3272 and deprecated_write_register_bytes.
3273
5f601589
AC
32742003-02-02 Andrew Cagney <ac131313@redhat.com>
3275
3276 * frame.h: Note that namelen can be negative.
3277 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
3278 NAME's length.
3279
3280 * NEWS: Mention that the d10v's `regs' command is deprecated.
3281 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
3282 (d10v_print_registers_info): New function.
3283 (show_regs): Call d10v_print_registers_info.
3284 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
3285
6a3fe0a4
MK
32862003-02-02 Mark Kettenis <kettenis@gnu.org>
3287
3288 * stack.c (print_frame_info): Restore call to annotate_frame_begin
3289 lost in the previous patch.
3290
075559bc
AC
32912003-02-01 Andrew Cagney <ac131313@redhat.com>
3292
3293 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
3294 * stack.c (print_frame_info_base): Output complete FRAME tuple
3295 for synthesized frames.
3296
6789195b
AC
32972003-02-02 Andrew Cagney <ac131313@redhat.com>
3298
3299 * mips-nat.c (zerobuf): Delete.
3300 (fetch_inferior_registers): Alloc local zerobuf.
3301 (fetch_core_registers): Alloc local zerobuf.
3302 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
3303 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
3304 * thread-db.c (thread_db_store_registers): Ditto.
3305 * sh-tdep.c (sh_do_register): Ditto.
3306 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
3307 * remote-sim.c (gdbsim_store_register): Ditto.
3308 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
3309 * remote-e7000.c (fetch_regs_from_dump): Ditto.
3310 * monitor.c (monitor_supply_register): Ditto.
3311 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
3312 * mips-nat.c (fetch_inferior_registers): Ditto.
3313 * m68klinux-nat.c (fetch_register): Ditto.
3314 * lynx-nat.c (fetch_inferior_registers): Ditto.
3315 (fetch_inferior_registers): Ditto.
3316 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
3317 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
3318 (hpux_thread_store_registers): Ditto.
3319 * hppah-nat.c (fetch_register): Ditto.
3320 * hppab-nat.c (fetch_register): Ditto.
3321 * hppa-tdep.c (pa_register_look_aside): Ditto.
3322 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
3323 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
3324
e669114a
AC
33252003-02-01 Andrew Cagney <ac131313@redhat.com>
3326
3327 * gdbarch.sh: Explictly specify all method levels. When a
3328 variable with an empty level, provide a non-multi-arch default.
3329 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
3330 * gdbarch.h: Re-generate.
3331 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
3332 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
3333
9a043c1d
AC
33342003-02-01 Andrew Cagney <ac131313@redhat.com>
3335
3336 * defs.h (host_pointer_to_address): Delete declaration.
3337 (address_to_host_pointer): Delete declaration.
3338 * utils.c (host_pointer_to_address): Delete function.
3339 (address_to_host_pointer): Delete function.
3340 * procfs.c (procfs_address_to_host_pointer): New function.
3341 * procfs.c (proc_set_watchpoint): Use.
3342 (procfs_can_use_hw_breakpoint): Update comments.
3343 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
3344 (som_solib_add): Use.
3345 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
3346 * hppa-tdep.c (unwind_command): Use.
3347
7ca9f392
AC
33482003-02-01 Andrew Cagney <ac131313@redhat.com>
3349
94bbfd30
AC
3350 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
3351 strlen d_name.
3352
7ca9f392
AC
3353 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
3354 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
3355 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
3356 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
3357 (define_symbol): Update.
3358 * symfile.c (generic_load): Remove references to nindy.
3359 * symtab.c: Remove references to nindy.
3360
31a85ea2
AC
33612003-02-01 Andrew Cagney <ac131313@redhat.com>
3362
3363 * infcmd.c (print_float_info): Delete code conditional on
3364 FLOAT_INFO.
3365 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
3366 * config/m68k/nm-apollo68b.h: Ditto.
3367 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
3368 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
3369 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
3370
f6e85fc8
MK
33712003-02-01 Mark Kettenis <kettenis@gnu.org>
3372
6015b6a0
MK
3373 * config/i386/tm-i386os9k.h: Removed.
3374
f7a30bdf
MK
3375 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
3376 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
3377 they're identical to i[3456]86-*-sysv* now.
3378 * config/i386/i386v32.mh: Removed.
3379 * config/i386/xm-i386v32.h: Removed.
3380 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
3381
28d52111
MK
3382 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
3383
4d3f6bce
MK
3384 * config/i386/i386dgux.mh: Removed.
3385 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
3386
f6e85fc8
MK
3387 * configure.in: Fix typo.
3388 * configure: Regenerated.
3389
53955967
DC
33902003-01-31 David Carlton <carlton@math.stanford.edu>
3391
3392 * dwarf2read.c (dwarf2_locate_sections): Set
3393 dwarf_ranges_section.
3394
b1364885
AC
33952003-01-31 Andrew Cagney <ac131313@redhat.com>
3396
8dbb1c65
AC
3397 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
3398 * utils.c: Update comments documenting legitimate uses of PTR.
3399
8731e58e
AC
3400 * utils.c: Re-indent.
3401
b1364885
AC
3402 * config/djgpp/fnchange.lst: Delete nindy files.
3403 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
3404 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
3405 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
3406 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
3407 * nindy-share/README, nindy-share/Onindy.c: Delete files.
3408 * nindy-tdep.c, nindy-share/Makefile: Delete files.
3409 * Makefile.in (init.c): Remove nindy references.
3410 (saber_gdb): Delete rule.
3411 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
3412 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
3413 and a68v-nat.c.
3414 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
3415 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
3416 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
3417 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
3418 nindy-share/stop.h.
3419 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
3420 * saber.suppress: Delete file.
3421
086df311
DJ
34222003-01-31 Daniel Jacobowitz <drow@mvista.com>
3423
3424 * dbxread.c (stabs_data): New static variable.
3425 (fill_symbuf): Support an in-memory buffer for stabs data.
3426 (stabs_seek): New function.
3427 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
3428 (read_ofile_symtab): Use stabs_seek.
3429 (elfstab_build_psymtabs): Take an asection* instead of
3430 an offset and size. Relocate the stabs data if necessary.
3431 Save the section* for dbx_psymtab_to_symtab.
3432 * dwarf2read.c: Add section variables for each debug section.
3433 (dwarf2_locate_sections): Fill them in.
3434 (dwarf2_read_section): Take an asection* argument.
3435 Relocate the section contents if necessary.
3436 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
3437 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
3438 it to dwarf2_read_section.
3439 (dwarf2_build_frame_info): Update callers.
3440 * elfread.c (elf_symfile_read): Update call to
3441 elfstab_build_psymtabs.
3442 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
3443 (DBX_STAB_SECTION): New macro.
3444 * stabsread.h (elfstab_build_psymtabs): Update prototype.
3445 * symfile.c (symfile_dummy_outputs): New function.
3446 (symfile_relocate_debug_section): New function.
3447 * symfile.h (symfile_relocate_debug_section): Add prototype.
3448
87d1b352
RH
34492003-01-31 Richard Henderson <rth@redhat.com>
3450
3451 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
3452 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
3453 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
3454 * alpha-tdep.c (alpha_register_name): Add "unique".
3455 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
3456 (ALPHA_UNIQUE_REGNUM): New.
3457 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
3458
c48861fb
AC
34592003-01-31 Andrew Cagney <ac131313@redhat.com>
3460
3461 * README: Remove reference to Ericsson 1800 monitor.
3462 * Makefile.in (remote-es.o): Delete rule.
3463 (ALLDEPFILES): Delete remote-es.c.
3464 * remote-es.c: Delete file.
3465 * config/m68k/es1800.mt: Delete file.
3466 * config/djgpp/fnchange.lst: Update.
3467 * configure.tgt: Delete m68*-ericsson-* target.
3468
d764a824
AF
34692003-01-31 Adam Fedor <fedor@gnu.org>
3470
3471 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
3472 Remove duplicate/shadowing variable of same name.
3473
fe36c4f4
JB
34742003-01-30 Jim Blandy <jimb@redhat.com>
3475
3476 * symfile.c (find_separate_debug_file): Assert that the objfile's
3477 directory name we compute ends with a slash, and then assume that
3478 that's so everywhere we use it.
3479
cb741690
DJ
34802003-01-30 Daniel Jacobowitz <drow@mvista.com>
3481
3482 * valops.c (value_assign): Flush frame cache after stores to memory
3483 also.
3484
96ee5227
AC
34852003-01-30 Andrew Cagney <ac131313@redhat.com>
3486
3487 * Makefile.in (mon960-rom.o): Delete rule.
3488 * mon960-rom.c: Delete file.
3489
7f6104a9
AC
34902003-01-30 Andrew Cagney <ac131313@redhat.com>
3491
3492 * d10v-tdep.c: Include "frame-unwind.h".
3493 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
3494 list.
3495 (next_addr, uses_frame): Delete.
3496 (struct d10v_unwind_cache): Define.
3497 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
3498 Use info instead of next_addr and uses_frame globals.
3499 (d10v_frame_init_saved_regs): Delete function.
3500 (d10v_init_extra_frame_info): Delete function.
3501 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
3502 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
3503 init_frame_pc or frame_saved_pc.
3504 (d10v_pop_frame): Delete function.
3505 (do_d10v_pop_frame): Delete function.
3506 (d10v_frame_chain): Delete function.
3507 (d10v_frame_chain_valid): Delete function.
3508 (d10v_frame_pc_unwind): New function.
3509 (d10v_frame_id_unwind): New function.
3510 (saved_regs_unwinder): New function.
3511 (d10v_frame_register_unwind): New function.
3512 (d10v_frame_pop): New function.
3513 (d10v_frame_unwind): New variable.
3514 (d10v_frame_p): New function.
3515 (d10v_frame_saved_pc): Delete function.
3516 * Makefile.in (d10v-tdep.o): Update dependencies.
3517
cad2e848
JB
35182003-01-30 J. Brobecker <brobecker@gnat.com>
3519
3520 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
3521 causing some regressions due to a change in the default value
3522 for this macro.
3523
af34e669
DJ
35242003-01-29 Richard Henderson <rth@redhat.com>
3525 Elena Zannoni <ezannoni@redhat.com>
3526 Daniel Jacobowitz <drow@mvista.com>
3527
3528 Fix PR gdb/961.
3529 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
3530 variables.
3531 (RANGES_SECTION): New.
3532 (dwarf_ranges_buffer): New variable.
3533 (struct comp_unit_head): Add member "die".
3534 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
3535 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
3536 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
3537 (dwarf2_locate_sections): Likewise.
3538 (dwarf2_build_psymtabs): Read .debug_ranges.
3539 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
3540 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
3541 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
3542 Look for DW_AT_ranges and return the bounding box.
3543
baa93fa6
CF
35442003-01-29 Brian Ford <ford@vss.fsi.com>
3545
3546 * win32-nat.c (cygwin_pid): Removed as unused.
3547 (child_attach): Try fall back to Cygwin pid.
3548
c63f977f
JB
35492003-01-29 Jim Blandy <jimb@redhat.com>
3550
3551 * objfiles.h (struct objfile): Doc fix.
3552
d62d1979
AC
35532003-01-29 Andrew Cagney <ac131313@redhat.com>
3554
3555 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
3556 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
3557 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
3558 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
3559 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
3560 (FRAME_SAVED_PC): Change to a function with predicate.
3561 * gdbarch.h, gdbarch.c: Re-generate.
3562
1ae18a04
AC
35632003-01-28 Andrew Cagney <ac131313@redhat.com>
3564
52287340
AC
3565 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
3566
1ae18a04
AC
3567 * complaints.c (complain): Delete function.
3568 * complaints.h (struct deprecated_complaint): Delete definition.
3569 (complain): Delete declaration.
3570
f2c16bd6
KB
35712003-01-28 Kevin Buettner <kevinb@redhat.com>
3572
3573 * mips-tdep.c (mips_init_extra_frame_info): Return early for
3574 dummy frames.
3575
a94dd1fd
AC
35762003-01-27 Andrew Cagney <ac131313@redhat.com>
3577
3578 * sentinel-frame.h, sentinel-frame.c: New files.
3579 * Makefile.in (frame.o): Update dependencies.
3580 (SFILES): Add sentinel-frame.c.
3581 (sentinel_frame_h): Define.
3582 (COMMON_OBS): Add sentinel-frame.o.
3583 (sentinel-frame.o): Specify dependencies.
3584 * frame.c: Include "sentinel-frame.h".
3585 (frame_register_unwind): Rewrite assuming that there is always a a
3586 ->next frame.
3587 (frame_register, generic_unwind_get_saved_register): Ditto.
3588 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
3589 (create_sentinel_frame, unwind_to_current_frame): New functions.
3590 (get_current_frame): Rewrite using create_sentinel_frame and
3591 unwind_to_current_frame. When possible, always create a frame.
3592 (create_new_frame): Set next to the sentinel frame.
3593 (get_next_frame): Rewrite. Don't go below the level 0 frame.
3594 (deprecated_update_frame_pc_hack): Update the next frame's PC and
3595 ID cache when necessary.
3596 (frame_saved_regs_id_unwind): Use frame_relative_level.
3597 (deprecated_generic_get_saved_register): Use frame_relative_level,
3598 get_frame_saved_regs, get_frame_pc, get_frame_base and
3599 get_next_frame.
3600 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
3601 frame_register.
3602
5378adc4
DJ
36032003-01-27 Daniel Jacobowitz <drow@mvista.com>
3604
3605 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
3606
51ee2ddc
DJ
36072003-01-27 Daniel Jacobowitz <drow@mvista.com>
3608
3609 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
3610 (maintenance_set_profile_cmd): Use error () instead of warning ().
3611
d9feb4e7
DJ
36122003-01-27 Daniel Jacobowitz <drow@mvista.com>
3613
3614 * configure.in: Check that -pg works if using --enable-profiling.
3615 Check for monstartup and _mcleanup regardless of --enable-profiling.
3616 * maint.c: Check for monstartup and _mcleanup before using them.
3617 * config.in: Regenerated.
3618 * configure: Regenerated.
3619
2d188dd3
NC
36202003-01-24 Nick Clifton <nickc@redhat.com>
3621
3622 * Add sh2e support:
3623
3624 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
3625
3626 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
3627 (sh2e_show_regs): New.
3628 (sh_gdbarch_init): Handle bfd_mach_sh2e.
3629 * config/sh/tm-sh.h: Added sh2e to comments.
3630
cb3c37b2
JB
36312003-01-23 Jim Blandy <jimb@redhat.com>
3632
3633 * symfile.c (syms_from_objfile): Don't print the "(no debugging
3634 symbols found)" message here; we haven't checked for a separate
3635 debug info file yet, so we don't know yet.
3636 (symbol_file_add_with_addrs_or_offsets): Print it here, after
3637 we've looked everywhere. Also, there's no need to print a special
3638 message when we're loading the separate debug info file: the one
3639 symbol_file_add prints is fine.
3640
5b5d99cf
JB
36412003-01-23 Alexander Larsson <alexl@redhat.com>
3642 Jim Blandy <jimb@redhat.com>
3643
3644 Add support for executables whose debug info has been separated
3645 out into a separate file, leaving only a link behind.
3646 * objfiles.h (struct objfile): New fields: separate_debug_objfile
3647 and separate_debug_objfile_backlink.
3648 (put_objfile_before): New declaration.
3649 * symfile.c: #include "filenames.h".
3650 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
3651 debug info in a separate file, read that, too. Save the addrs
3652 argument, so we can use it again to read the separated debug info;
3653 syms_from_objfile modifies the table we pass it.
3654 (reread_symbols): After re-reading an objfile, call
3655 reread_separate_symbols to refresh its separate debug info
3656 objfile, if it has one.
3657 (reread_separate_symbols, find_separate_debug_file,
3658 get_debug_link_info, separate_debug_file_exists): New functions.
3659 (debug_file_directory): New global var.
3660 (_initialize_symfile): Initialize debug_file_directory, and
3661 provide the new `set debug-file-directory' command to let the user
3662 change it.
3663 * objfiles.c (free_objfile): If this objfile has its debug info in
3664 a separate objfile, free that one too. If this is itself a
3665 separate debug info objfile, clear our parent's backlink.
3666 (put_objfile_before): New function.
3667 * utils.c (gnu_debuglink_crc32): New function.
3668 * defs.h (gnu_debuglink_crc32): New declaration.
3669 * Makefile.in (symfile.o): Note dependency on "filenames.h".
3670 * configure.in: Handle --with-separate-debug-dir config option.
3671 * acinclude.m4 (AC_DEFINE_DIR): New macro.
3672 * acconfig.h (DEBUGDIR): New macro.
3673 * configure, aclocal.m4, config.in: Regenerated.
3674
7e8580c1
JB
36752003-01-22 Jim Blandy <jimb@redhat.com>
3676
7904e09f
JB
3677 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
3678 like the old symbol_file_add, but taking new arguments: you can
3679 now pass in either a `struct section_addr_info' list to say where
3680 each section is loaded, or a `struct section_offsets' table. Pass
3681 these new arguments through to syms_from_objfile as appropriate.
3682 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
3683 with the appropriate quiescent values for the new arguments.
3684
7e8580c1
JB
3685 * symfile.c: #include "gdb_assert.h".
3686 (syms_from_objfile): Add the ability to pass in a section offset
3687 table directly, as an alternative to the section_addr_info table.
3688 Document arguments better.
3689 (symbol_file_add): Pass extra arguments to syms_from_objfile.
3690 * symfile.h (syms_from_objfile): Update declaration.
3691 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
3692 syms_from_objfile.
3693 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
3694
d28f9cdf
DJ
36952003-01-22 Daniel Jacobowitz <drow@mvista.com>
3696
3697 Original patch by Tom Tromey <tromey@cygnus.com> and
3698 Jason Molenda <jmolenda@apple.com>.
3699 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
3700 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
3701 * NEWS: Mention profiling.
3702 * configure.in (--enable-gdbtk): Fix typo.
3703 (--enable-profiling): New. Set PROFILE_CFLAGS.
3704 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
3705 Fill in function.
3706 (profiling_state): New variable.
3707 (mcleanup_wrapper): New function.
3708 (_initialize_maint): Remove NOTYET, fix call to
3709 add_setshow_boolean_cmd for "maint set profile".
3710 * configure: Regenerated.
3711
df21e465
MH
37122003-01-21 Martin M. Hunt <hunt@redhat.com>
3713
3714 * Makefile.in (install-gdbtk): Install PNG images too.
3715
73c1f219
AC
37162003-01-21 Andrew Cagney <ac131313@redhat.com>
3717
3718 * exec.c (text_start): Delete global variable.
3719 (exec_file_attach): Make text_start local to the function.
3720 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
3721 * valops.c (hand_function_call): Delete code that handles
3722 BEFORE_TEXT_END and AFTER_TEXT_END.
3723 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
3724 of CALL_DUMMY_LOCATION.
3725 * gdbarch.c: Regenerate.
3726 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
3727 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
3728 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
3729 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
3730 (text_end): Delete extern declaration.
3731
eb4f72c5
AC
37322003-01-21 Andrew Cagney <ac131313@redhat.com>
3733
3734 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
3735 * blockframe.c (backtrace_below_main): Move to "frame.c".
3736 (frame_chain_valid): Delete check for backtrace_below_main.
3737 (_initialize_blockframe): Delete initialization, move ``set
3738 backtrace-below-main'' command to "frame.c".
3739 (do_flush_frames_sfunc): Delete function.
3740 * frame.c: Include "command.h" and "gdbcmd.h".
3741 (frame_type_from_pc): New function.
3742 (create_new_frame): Use frame_type_from_pc.
3743 (legacy_get_prev_frame): New function.
3744 (get_prev_frame): Rewrite. When an old style frame, call
3745 legacy_get_prev_frame. Otherwize, unwind the PC first.
3746 (_initialize_frame): Add ``set backtrace-below-main'' command.
3747 * Makefile.in (frame.o): Update dependencies.
3748
778ce8cc
AC
37492003-01-19 Andrew Cagney <ac131313@redhat.com>
3750
3751 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
3752 DEPRECATED_REGISTERS_INFO.
3753
01c193c8
AC
37542003-01-19 Andrew Cagney <ac131313@redhat.com>
3755
3756 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
3757 Maintainers'. Update `Various Maintainers'.
3758
dedc2a2b
AC
37592003-01-19 Andrew Cagney <ac131313@redhat.com>
3760
3761 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
3762 * gdbarch.sh (POP_FRAME): Change to function with predicate.
3763 Suppress actual parameters when `-'.
3764 * gdbarch.h, gdbarch.c: Regenerate.
3765
b7261c70
AC
37662003-01-19 Andrew Cagney <ac131313@redhat.com>
3767
3768 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
3769 code handling dummy frames.
3770
dbe9fe58
AC
37712003-01-19 Andrew Cagney <ac131313@redhat.com>
3772
3773 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
3774 (struct frame_unwind): Add field pop.
3775 * frame.h (frame_pop): Declare.
3776 * frame.c (frame_saved_regs_pop): New function.
3777 (trad_frame_unwinder): Add frame_saved_regs_pop.
3778 (frame_pop): New function.
3779 * dummy-frame.c (dummy_frame_pop): New function.
3780 (discard_innermost_dummy): New function.
3781 (generic_pop_dummy_frame): Use discard_innermost_dummy.
3782 (dummy_frame_unwind): Add dummy_frame_pop.
3783 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
3784 * valops.c (hand_function_call): Ditto.
3785 * stack.c (return_command): Ditto.
3786
570b8f7c
AC
37872003-01-18 Andrew Cagney <ac131313@redhat.com>
3788
3789 * cris-tdep.c: Fix function declaration indentation.
3790 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
3791 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
3792 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
3793 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
3794 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
3795 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
3796
37972003-01-18 Michael Chastain <mec@shout.net>
eaec4d85
MC
3798
3799 * README (Unpacking and Installation -- quick overview):
3800 Warn against ".../gdb-5.3/gdb/configure".
3801
494cca16
AC
38022003-01-18 Andrew Cagney <ac131313@redhat.com>
3803
3804 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
3805 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
3806 (struct frame_unwind): Declare opaque.
3807 (dummy_frame_p): Declare function.
3808 * dummy-frame.c (dummy_frame_id_unwind): Make static.
3809 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
3810 * dummy-frame.c: Include "frame-unwind.h".
3811 (dummy_frame_p): New function.
3812 (dummy_frame_unwind): New variable.
3813 * frame.c: Include "frame-unwind.h".
3814 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
3815 to use the new unwind field.
3816 (set_unwind_by_pc): Delete function.
3817 (create_new_frame, get_prev_frame): Set unwind field using
3818 frame_unwind_find_by_pc.
3819 (trad_frame_unwind, trad_frame_unwinder): New variables.
3820 * frame.h (trad_frame_unwind): Declare variable.
3821 (frame_id_unwind_ftype): Delete declaration.
3822 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
3823 (struct frame_unwind): Declare opaque.
3824 (struct frame_info): Replace the fields id_unwind, pc_unwind and
3825 register_unwind with a single unwind pointer.
3826 * frame-unwind.h, frame-unwind.c: New files.
3827 * Makefile.in (SFILES): Add frame-unwind.c.
3828 (frame_unwind_h): Define.
3829 (COMMON_OBS): Add frame-unwind.o.
3830 (frame-unwind.o): Specify dependencies.
3831 (frame.o, dummy-frame.o): Update dependencies.
3832
4efb68b1
AC
38332003-01-18 Andrew Cagney <ac131313@redhat.com>
3834
3835 * ada-valprint.c: Eliminate PTR.
3836 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
3837 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
3838 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
3839 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
3840 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
3841 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
3842 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
3843
a84d24ee
AC
38442003-01-17 Andrew Cagney <ac131313@redhat.com>
3845
762f08a3
AC
3846 * main.c (captured_main): Don't use PTR.
3847 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
3848 * gdbtypes.c (lookup_primitive_typename): Ditto.
3849 (lookup_struct_elt_type): Ditto.
3850 * f-valprint.c (info_common_command): Ditto.
3851 (list_all_visible_commons): Ditto.
3852 * jv-typeprint.c (java_type_print_base): Ditto.
3853
a84d24ee
AC
3854 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
3855 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
3856 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
3857 i386-interix-nat.c and i386-interix-tdep.c. Rename
3858 m68klinux-nat.c and m68klinux-tdep.c. Rename
3859 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
3860 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
3861 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
3862 * main.c (captured_main): Use xfree, not free.
3863
c170fb60
AC
38642003-01-16 Andrew Cagney <ac131313@redhat.com>
3865
3866 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
3867 ID back using a parameter.
3868 * frame.c (frame_id_unwind): Update call.
3869 (frame_saved_regs_id_unwind): Update.
3870 * dummy-frame.c (dummy_frame_id_unwind): Update function.
3871 * dummy-frame.h (struct frame_id): Add opaque declaration.
3872 (dummy_frame_id_unwind): Update declaration.
3873
867f3898
AC
38742003-01-15 Andrew Cagney <ac131313@redhat.com>
3875
3876 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
3877
40622be8 38782003-01-15 Stephen P. Smith <ischis2@cox.net>
de3a8c23 3879
40622be8 3880 * MAINTAINERS (Stephen P. Smith): Updated email address.
de3a8c23 3881
ae66c1fc
EZ
38822003-01-14 Elena Zannoni <ezannoni@redhat.com>
3883
997b089a 3884 Fix PR gdb/898
ae66c1fc
EZ
3885 * breakpoint.c (until_break_command): Add new argument. Use it to
3886 decide whether to stop only at the current frame or not.
3887 * breakpoint.h (until_break_command): Update prototype.
3888 * infcmd.c (until_command): Add new argument to until_break_command
3889 call.
3890 (advance_command): New function.
3891 (_initialize_infcmd): Update help string for 'until' command.
3892 Add new 'advance' command.
3893
a04257e6
DC
38942003-01-14 David Carlton <carlton@math.stanford.edu>
3895
3896 * linespec.c (decode_line_1): Normalize comments.
3897 (set_flags): Ditto.
3898 (locate_first_half): Ditto.
3899 (decode_compound): Ditto.
3900 (symtab_from_filename): Ditto.
3901 (decode_all_digits): Ditto.
3902 (decode_dollar): Ditto.
3903 (find_methods): Ditto.
3904 (find_toplevel_char): Ditto.
3905
1bac305b
AC
39062003-01-13 Andrew Cagney <ac131313@redhat.com>
3907
3908 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
3909 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
3910 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
3911 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
3912 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
3913 * language.c, language.h, m32r-tdep.c: Update copyright.
3914 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
3915 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
3916 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
3917 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
3918 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
3919 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
3920
25caa7a8
EZ
39212003-01-13 Elena Zannoni <ezannoni@redhat.com>
3922
3923 * stabsread.h (process_later, resolve_cfront_continuation):
3924 Obsolete.
3925 Update copyright years.
3926 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
3927 Update copyright year.
3928 * dbxread.c(struct cont_elem): Obsolete.
3929 (process_later, process_now): Obsolete functions.
3930 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
3931 Update copyright year.
3932 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
3933 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
3934 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
3935 (parse_partial_symbols): Obsolete cfront support.
3936 * stabsread.c
3937 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
3938 macros.
3939 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
3940 read_cfront_baseclasses, read_cfront_member_functions,
3941 resolve_cfront_continuation,read_cfront_static_fields,
3942 copy_cfront_struct_fields): Obsolete functions.
3943 (define_symbol, read_one_struct_field): Obsolete cfront support.
3944 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
3945 Update Copyright year.
3946
7789c6f5
EZ
39472003-01-13 Elena Zannoni <ezannoni@redhat.com>
3948
3949 * stack.c (print_frame_info, print_stack_frame_base_stub,
3950 print_stack_frame_base, show_and_print_stack_frame_stub,
3951 show_and_print_stack_frame, print_only_stack_frame_stub,
3952 print_only_stack_frame): Delete functions.
3953 (print_stack_frame_stub): Call print_frame_info instead of
3954 print_frame_info_base.
3955 (print_frame_info_base): Rename to print_frame_info.
3956 (backtrace_command_1): Call print_frame_info, instead of
3957 print_frame_info_base.
3958 (current_frame_command): Call print_stack_frame, instead of
3959 print_only_stack_frame.
3960 (frame_command): Call print_stack_frame, instead of
3961 show_and_print_stack_frame.
3962 (up_command): Ditto.
3963 (down_command): Ditto.
3964 * frame.h (print_only_stack_frame): Delete prototype.
3965 * infrun.c (normal_stop): Call print_stack_frame, instead of
3966 show_and_print_stack_frame.
3967 * thread.c (info_threads_command): Call print_stack_frame, instead
3968 of print_only_stack_frame.
3969
3f5a3016
AC
39702003-01-13 Andrew Cagney <ac131313@redhat.com>
3971
d99ba314
AC
3972 * README (Graphical interface to GDB): Update URL. Point at
3973 gdb/links/.
3974
3f5a3016
AC
3975 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
3976 version match.
3977
083ae935
DJ
39782003-01-13 Daniel Jacobowitz <drow@mvista.com>
3979
3980 * symtab.c (find_pc_sect_line): Don't consider end-of-function
3981 lines.
3982
5365276c
DJ
39832003-01-13 Daniel Jacobowitz <drow@mvista.com>
3984
3985 * thread-db.c (attach_thread): Prototype.
3986 (struct private_thread_info): Remove lwpid. Add thread handle (th),
3987 thread information (ti), and valid flags (th_valid, ti_valid).
3988 (attach_thread): Move target_pid_to_str call to after the thread
3989 is added to GDB's list. Initialize the cache.
3990 (thread_get_info_callback, thread_db_map_id2thr)
3991 (thread_db_get_info): New functions.
3992 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
3993 (thread_db_store_registers, thread_db_thread_alive)
3994 (thread_db_get_thread_local_address): Use them.
3995 (thread_db_pid_to_str): Likewise. Return "Missing" instead
3996 of calling error() for threads in unknown state.
3997
3998 (clear_lwpid_callback): New function.
3999 (thread_db_resume): Use it to clear the cache.
4000
9fc30b6b
DJ
40012003-01-13 Daniel Jacobowitz <drow@mvista.com>
4002
4003 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
4004 (resume_callback): Remove dead code.
4005
8f871025
AC
40062003-01-13 Andrew Cagney <ac131313@redhat.com>
4007
4008 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
4009 predicate.
4010 * gdbarch.h, gdbarch.c: Regenerate.
4011 * stack.c (frame_info): Only initialize the saved registers when
4012 FRAME_INIT_SAVED_REGS_P.
4013 * frame.c (frame_saved_regs_register_unwind): Assert
4014 FRAME_INIT_SAVED_REGS_P.
4015 (deprecated_generic_get_saved_register): Ditto.
4016
3f565f1e
DJ
40172003-01-13 Daniel Jacobowitz <drow@mvista.com>
4018
4019 * source.c (openp): Squelch warning about "filename".
4020
072b1022
DJ
40212003-01-13 Daniel Jacobowitz <drow@mvista.com>
4022
4023 * source.c (openp): If the file does not exist don't necessarily
4024 search the path.
4025
973ccf8b
DJ
40262003-01-13 Daniel Jacobowitz <drow@mvista.com>
4027
4028 Fix PR gdb/872.
4029 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
4030 (integer_types_same_name_p): New function.
4031 (rank_one_type): Use it.
4032 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
4033
030292b7
DJ
40342003-01-13 Daniel Jacobowitz <drow@mvista.com>
4035
4036 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
4037 variables.
4038 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
4039 * configure.in: Add --with-sysroot.
4040 * configure: Regenerated.
4041 * main.c (gdb_sysroot): New variable.
4042 (captured_main): Initialize gdb_sysroot.
4043 * defs.h (gdb_sysroot): New extern declaration.
4044 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
4045
afb5d334
MC
40462003-01-12 Michael Chastain <mec@shout.net>
4047
4048 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
4049
751ceeb4
MC
40502003-01-12 Michael Chastain <mec@shout.net>
4051
4052 * top.c (print_gdb_version): Bump copyright year to 2003.
4053
94cd26f8
DC
40542003-01-12 David Carlton <carlton@bactrian.org>
4055
4056 * linespec.c (symtab_from_filename): Rename variable 's' to
4057 'file_symtab'.
4058
1ce79225
AC
40592003-01-12 Andrew Cagney <ac131313@redhat.com>
4060
4061 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
4062 dummy frame.
4063 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
4064
fa1fd571
AC
40652003-01-12 Andrew Cagney <ac131313@redhat.com>
4066
4067 * d10v-tdep.c: Include "gdb_assert.h".
4068 (d10v_store_return_value): Rewrite to match current interface.
4069 (d10v_extract_struct_value_address): Ditto.
4070 (d10v_extract_return_value): Ditto.
4071 (d10v_gdbarch_init): Set store_restore_value,
4072 extract_struct_value_address and extract_return_value.
4073
68b8d23e
JB
40742003-01-12 J. Brobecker <brobecker@gnat.com>
4075
4076 * hpread.c (set_namestring): New procedure replacing the
4077 SET_NAMESTRING macro.
4078 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
4079 by calls to set_namestring.
4080
40812003-01-11 J. Brobecker <brobecker@gnat.com>
1fb309ea
JB
4082
4083 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
4084 a compilation warning.
4085 (hpread_process_one_debug_symbol): Likewise.
4086
88d262ca
DC
40872003-01-10 David Carlton <carlton@math.stanford.edu>
4088
4089 * linespec.c (decode_line_1): Rename variable 's' to
4090 'file_symtab'.
4091 (decode_all_digits): Rename argument 's' to 'file_symtab'.
4092 (decode_dollar): Ditto.
4093 (decode_variable): Ditto.
4094 (symbol_found): Ditto.
4095
86669319
MC
40962003-01-09 Michael Chastain <mec@shout.net>
4097
4098 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
4099
616a9dc4
CV
41002003-01-07 Corinna Vinschen <vinschen@redhat.com>
4101
4102 * win32-nat.c (set_process_privilege): New function.
4103 (child_attach): Call set_process_privilege() to enable the
4104 SE_DEBUG_NAME user privilege if available in process token.
4105
3269bcfa
JB
41062003-01-10 J. Brobecker <brobecker@gnat.com>
4107
4108 * hpread.c (hpread_process_one_debug_symbol): Fix a small
4109 compilation error in the previous revision.
4110
2b0ee454
DC
41112003-01-09 David Carlton <carlton@math.stanford.edu>
4112
4113 * linespec.c: Update copyright.
4114
b3ba1b44
DJ
41152003-01-09 Daniel Jacobowitz <drow@mvista.com>
4116
4117 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
4118 than inferior_ptid.
4119 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
4120
4ef3f3be
AC
41212003-01-09 Andrew Cagney <ac131313@redhat.com>
4122
479ab5a0
AC
4123 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
4124 Update comments.
4125 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
4126 (frame_saved_regs_zalloc): Update.
4127 (frame_saved_regs_register_unwind): Update.
4128 (create_new_frame): Update.
4129 (get_prev_frame): Update.
4130 (frame_extra_info_zalloc): Update.
4131 (deprecated_get_frame_saved_regs): Update.
4132 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
4133 * cris-tdep.c: Update comment.
4134
bde58177
AC
4135 * somsolib.h: Fix function indentation.
4136 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
4137 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
4138 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
4139 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
4140 * somsolib.c, inftarg.c: Remove assignment in if conditional.
4141
4ef3f3be
AC
4142 * infrun.c (follow_fork): Use ISO C definition.
4143 * expprint.c (print_subexp): Use xfree instead of free.
4144 * charset.c: Include "gdb_string.h" instead of <string.h>.
4145 (register_iconv_charsets): Use ISO C definition.
4146 (host_charset, target_charset): Ditto.
4147 * Makefile.in (charset.o): Update dependencies.
4148 (mi-cmd-env.o): Update dependencies.
4149
1c615f7a
AC
41502003-01-08 Andrew Cagney <cagney@redhat.com>
4151
4152 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
4153 get_frame_base.
4154
c9a1dc08
AC
41552003-01-08 Andrew Cagney <ac131313@redhat.com>
4156
4157 * gdb_mbuild.sh: Add --keep option. When specified, keep the
4158 build directories. Save edited gdb output in Mbuild.log. If a
4159 build fails, remove any final GDB executable.
4160
dbad9d94
AC
41612003-01-08 Andrew Cagney <ac131313@redhat.com>
4162
4163 * gdb_mbuild.sh: Edit the output of `maint print architecture'
4164 replacing hex constants with function names and stripping leading
4165 file name directory prefixes.
4166
8d357cca
AC
41672003-01-08 Andrew Cagney <cagney@redhat.com>
4168
4169 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
4170 get_frame_base.
4171
bca02a8a
DC
41722003-01-08 David Carlton <carlton@math.stanford.edu>
4173
4174 * linespec.c (decode_line_1): Move code into decode_variable.
4175 (decode_variable): New function.
4176
7f8ab3a0
AC
41772003-01-08 Andrew Cagney <ac131313@redhat.com>
4178
4179 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
4180
7b5849cc
AC
41812003-01-08 Andrew Cagney <cagney@redhat.com>
4182
4183 * cris-tdep.c (cris_frame_init_saved_regs): Use
4184 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
4185 saved_regs buffer.
4186 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
4187 (sh64_nofp_frame_init_saved_regs): Ditto.
4188 (sh_fp_frame_init_saved_regs): Ditto.
4189 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
4190 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
4191 * mcore-tdep.c (analyze_dummy_frame): Ditto.
4192 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
4193
72a5efb3
DJ
41942003-01-08 Daniel Jacobowitz <drow@mvista.com>
4195
4196 * minsyms.c (lookup_minimal_symbol): Update comment.
4197 (lookup_minimal_symbol_text): Update comment. Use the hash table.
4198 (lookup_minimal_symbol_solib_trampoline): Likewise.
4199
11c02a10
AC
42002003-01-08 Andrew Cagney <cagney@redhat.com>
4201
aab3ea25
AC
4202 * d10v-tdep.c (d10v_init_extra_frame_info): Use
4203 frame_relative_level.
4204
da50a4b7
AC
4205 * alpha-tdep.c: Use get_frame_extra_info.
4206 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4207 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
4208 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
4209 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
4210
11c02a10
AC
4211 * alpha-tdep.c: Use get_next_frame.
4212 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4213 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
4214 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
4215 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
4216 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
4217 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
4218 * xstormy16-tdep.c: Ditto.
4219
1e2330ba
AC
42202003-01-07 Andrew Cagney <cagney@redhat.com>
4221
4222 * alpha-tdep.c: Use get_frame_base.
4223 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4224 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
4225 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
4226 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
4227 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
4228 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
4229 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
4230 * config/sparc/tm-sparc.h: Ditto.
4231
2d75187b
AC
42322003-01-07 Andrew Cagney <cagney@redhat.com>
4233
4234 * frame.c (deprecated_get_frame_context): New function.
4235 (deprecated_set_frame_context): New function.
4236 * frame.h (deprecated_get_frame_context): Declare.
4237 (deprecated_set_frame_context): Declare.
4238 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
4239 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
4240
483d36b2
AC
42412003-01-07 Andrew Cagney <cagney@redhat.com>
4242
4243 * frame.c (deprecated_set_frame_next_hack): New function.
4244 (deprecated_set_frame_prev_hack): New function.
4245 * frame.h (deprecated_set_frame_next_hack): Declare.
4246 (deprecated_set_frame_prev_hack): Declare.
4247 * mcore-tdep.c (analyze_dummy_frame): Use
4248 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
4249 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
4250
14e91ac5
DC
42512003-01-07 David Carlton <carlton@math.stanford.edu>
4252
4253 * linespec.c (decode_line_1): Move code into decode_dollar.
4254 (decode_dollar): New function.
4255
b0c6b05c
AC
42562003-01-07 Andrew Cagney <cagney@redhat.com>
4257
4258 * arm-tdep.c (arm_init_extra_frame_info): Use
4259 deprecated_update_frame_base_hack.
4260 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
4261 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
4262 (fix_frame_pointer): Ditto.
4263 (mn10300_analyze_prologue): Ditto.
4264
a00a19e9
AC
42652003-01-07 Andrew Cagney <cagney@redhat.com>
4266
4267 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
4268 extra_info using frame_extra_info_zalloc.
4269 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
4270 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
4271 (sh64_init_extra_frame_info): Ditto.
4272 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
4273 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
4274 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
4275 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
4276 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
4277 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
4278 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
4279 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
4280 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
4281 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
4282 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
4283 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
4284
4285 * mn10300-tdep.c (analyze_dummy_frame): Use
4286 deprecated_set_frame_extra_info_hack.
4287 * mcore-tdep.c (analyze_dummy_frame): Ditto.
4288
1fb4c65b
JB
42892003-01-07 J. Brobecker <brobecker@gnat.com>
4290
4291 * mdebugread.c (parse_symbol): Skip stProc entries which storage
4292 class is not scText. These do not define "real" procedures.
4293 (parse_partial_symbols): Likewise.
4294
9fe7d6bf
MS
42952003-01-06 Michael Snyder <msnyder@redhat.com>
4296
4297 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
4298
f6c609c4
AC
42992003-01-06 Andrew Cagney <ac131313@redhat.com>
4300
4301 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
4302 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
4303 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
4304 deprecated_frame_xmalloc_with_cleanup.
4305 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
4306 deprecated_frame_xmalloc.
4307 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
4308 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
4309
d995ff4b
AC
43102003-01-06 Andrew Cagney <cagney@redhat.com>
4311
84dc46cb
AC
4312 * x86-64-linux-tdep.c: Include "osabi.h".
4313 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
4314
d995ff4b
AC
4315 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
4316
66140c26
AC
43172003-01-06 Andrew Cagney <cagney@redhat.com>
4318
4319 * MAINTAINERS (Target Instruction Set Architectures): Update
4320 arm-elf. Can be built with -Werror, has been multiarched.
4321
4322 * value.h (unpack_long): Make buffer parameter constant.
4323 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
4324 * scm-lang.h (scm_parse): Ditto.
4325 * defs.h (extract_typed_address, extract_address): Ditto.
4326 (extract_long_unsigned_integer): Ditto.
4327 * inferior.h (unsigned_pointer_to_address): Ditto.
4328 (signed_pointer_to_address): Ditto.
4329 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
4330 * gdbarch.h, gdbarch.c: Regenerate.
4331 * findvar.c (extract_long_unsigned_integer): Update.
4332 (extract_address): Update.
4333 (extract_typed_address): Update.
4334 (unsigned_pointer_to_address): Update.
4335 * values.c (unpack_long): Update.
4336 (unpack_double): Update.
4337 (unpack_pointer): Update.
4338 (unpack_field_as_long): Update.
4339 * d10v-tdep.c (d10v_pointer_to_address): Update.
4340 * avr-tdep.c (avr_pointer_to_address): Update.
4341 * scm-lang.c (scm_unpack): Update.
4342 * findvar.c (signed_pointer_to_address): Update.
4343
b089b3da
ML
43442003-01-06 Michal Ludvig <mludvig@suse.cz>
4345
4346 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
4347 since it is in i386-tdep.c.
4348
aff87235
JB
43492003-01-06 J. Brobecker <brobecker@gnat.com>
4350
4351 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
4352 failure introduced in the previous change.
4353
34f5e845
MC
43542003-01-05 Michael Chastain <mec@shout.net>
4355
4356 * README: Remove references to deleted remote-*.c files:
4357 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
4358 remote-nrom.c, remote-os9k.c, remote-udi.c.
4359
28bcfd30
MK
43602003-01-05 Mark Kettenis <kettenis@gnu.org>
4361
4362 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
4363 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
4364 i386_get_longjmp_target.
4365
15a5b3ee
AC
43662003-01-05 Andrew Cagney <ac131313@redhat.com>
4367
4368 * arm-tdep.c (prologue_cache): Change to a pointer.
4369 (_initialize_arm_tdep): Allocate prologue_cache.
4370 (check_prologue_cache): Update.
4371 (save_prologue_cache): Update.
4372 (arm_gdbarch_init): Update.
4373
c263362b
DJ
43742003-01-04 Daniel Jacobowitz <drow@mvista.com>
4375
4376 * stabsread.c (update_method_name_from_physname): Call complaint()
4377 instead of error.
4378
51603483
DJ
43792003-01-04 Daniel Jacobowitz <drow@mvista.com>
4380
4381 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
4382 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
4383 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
4384
4385 * blockframe.c: Include "gdbcmd.h" and "command.h".
4386 (backtrace_below_main): New variable.
4387 (file_frame_chain_valid, func_frame_chain_valid)
4388 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
4389 (generic_func_frame_chain_valid): Remove functions.
4390 (frame_chain_valid, do_flush_frames_sfunc): New functions.
4391 (_initialize_blockframe): New function.
4392 * Makefile.in (blockframe.o): Update dependencies.
4393 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
4394 comment. Call frame_chain_valid ().
4395 * frame.h: Remove old prototypes. Add prototype for
4396 frame_chain_valid and update comments to match.
4397 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
4398 Remove old comment.
4399 * gdbarch.h: Regenerated.
4400 * gdbarch.c: Regenerated.
4401
4402 * alpha-tdep.c (alpha_gdbarch_init): Don't call
4403 set_gdbarch_frame_chain_valid.
4404 * avr-tdep.c (avr_gdbarch_init): Likewise.
4405 * cris-tdep.c (cris_gdbarch_init): Likewise.
4406 * frv-tdep.c (frv_gdbarch_init): Likewise.
4407 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
4408 * i386-tdep.c (i386_svr4_init_abi): Likewise.
4409 (i386_nw_init_abi): Likewise.
4410 (i386_gdbarch_init): Likewise.
4411 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
4412 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
4413 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
4414 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
4415 * mips-tdep.c (mips_gdbarch_init): Likewise.
4416 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
4417 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
4418 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
4419 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
4420 * s390-tdep.c (s390_gdbarch_init): Likewise.
4421 * sh-tdep.c (sh_gdbarch_init): Likewise.
4422 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
4423 * v850-tdep.c (v850_gdbarch_init): Likewise.
4424 * vax-tdep.c (vax_gdbarch_init): Likewise.
4425 * x86-64-tdep.c (x86_64_init_abi): Likewise.
4426
4427 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
4428 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
4429 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
4430 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
4431 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
4432 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
4433 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
4434 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
4435
b00a8037
DJ
44362002-01-04 Daniel Jacobowitz <drow@mvista.com>
4437
4438 * Makefile.in (acconfig_h): Remove incorrect macro.
4439 (config_h): Define.
4440 (osabi.o): Update dependencies.
4441 * configure.tgt: Set gdb_osabi based on target triplet.
4442 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
4443 * configure: Regenerated.
4444 * config.in: Regenerated.
4445 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
4446 (GDB_OSABI_DEFAULT): Define if not already defined.
4447 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
4448 (set_osabi_string): New variables.
4449 (gdbarch_register_osabi): Add new OS ABI to
4450 gdb_osabi_available_names.
4451 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
4452 (set_osabi, show_osabi): New functions.
4453 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
4454
4be87837
DJ
44552003-01-04 Daniel Jacobowitz <drow@mvista.com>
4456
4457 * arch-utils.c (gdbarch_info_init): Set osabi to
4458 GDB_OSABI_UNINITIALIZED.
4459 * gdbarch.sh: Add osabi to struct gdbarch and to struct
4460 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
4461 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
4462 * gdbarch.c: Regenerated.
4463 * gdbarch.h: Regenerated.
4464 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
4465 there's no BFD.
4466 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
4467 * osabi.h (enum gdb_osabi): Move to defs.h.
4468 (gdbarch_init_osabi): Update prototype.
4469 * defs.h (enum gdb_osabi): Moved here.
4470 * Makefile.in: Update dependencies.
4471
4472 * alpha-tdep.h: Don't include "osabi.h".
4473 (struct gdbarch_tdep): Remove osabi member.
4474 * alpha-tdep.c: Include "osabi.h".
4475 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4476 iterate over arches. Update call to gdbarch_init_osabi.
4477 (alpha_dump_tdep): Don't dump osabi.
4478 * alpha-linux-tdep.c: Include "osabi.h".
4479 * alpha-osf1-tdep.c: Include "osabi.h".
4480 * alphafbsd-tdep.c: Include "osabi.h".
4481 * alphanbsd-tdep.c: Include "osabi.h".
4482
4483 * arm-tdep.h: Don't include "osabi.h".
4484 (struct gdbarch_tdep): Remove osabi member.
4485 * arm-tdep.c: Include "osabi.h".
4486 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4487 iterate over arches. Update call to gdbarch_init_osabi.
4488 (arm_dump_tdep): Don't dump osabi.
4489 * arm-linux-tdep.c: Include "osabi.h".
4490 * armnbsd-tdep.c: Include "osabi.h".
4491
4492 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
4493 Update call to gdbarch_init_osabi.
4494
4495 * i386-tdep.h: Don't include "osabi.h".
4496 (struct gdbarch_tdep): Remove osabi member.
4497 * i386-tdep.c: Include "osabi.h".
4498 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4499 iterate over arches. Update call to gdbarch_init_osabi.
4500 (i386_dump_tdep): Don't dump osabi.
4501 * i386-linux-tdep.c: Include "osabi.h".
4502 * i386-sol2-tdep.c: Include "osabi.h".
4503 * i386bsd-tdep.c: Include "osabi.h".
4504 * i386gnu-tdep.c: Include "osabi.h".
4505 * i386ly-tdep.c: Include "osabi.h".
4506 * i386nbsd-tdep.c: Include "osabi.h".
4507 * i386obsd-tdep.c: Include "osabi.h".
4508
4509 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
4510 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4511 check osabi when iterating over arches. Update call to
4512 gdbarch_init_osabi.
4513 (mips_dump_tdep): Don't dump osabi.
4514
4515 * ns32k-tdep.h: Don't include "osabi.h".
4516 (struct gdbarch_tdep): Remove.
4517 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
4518 gdbarch_lookup_osabi. Don't iterate over arches. Don't
4519 allocate tdep. Update call to gdbarch_init_osabi.
4520 (ns32k_dump_tdep): Remove.
4521 (_initialize_ns32k_tdep): Update call to gdbarch_register.
4522 * ns32knbsd-tdep.c: Include "osabi.h".
4523
4524 * ppc-tdep.h: Don't include "osabi.h".
4525 (struct gdbarch_tdep): Remove osabi member.
4526 * rs6000-tdep.c: Include "osabi.h".
4527 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
4528 osabi when iterating over arches. Update call to
4529 gdbarch_init_osabi.
4530 (rs6000_dump_tdep): Don't dump osabi.
4531 * ppc-linux-tdep.c: Include "osabi.h".
4532 * ppcnbsd-tdep.c: Include "osabi.h".
4533
4534 * sh-tdep.h: Don't include "osabi.h".
4535 (struct gdbarch_tdep): Remove osabi member.
4536 * sh-tdep.c: Include "osabi.h".
4537 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4538 iterate over arches. Update call to gdbarch_init_osabi.
4539 (sh_dump_tdep): Don't dump osabi.
4540 * shnbsd-tdep.c: Include "osabi.h".
4541
4542 * sparc-tdep.c: Include "osabi.h".
4543 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4544 iterate over arches. Update call to gdbarch_init_osabi.
4545 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
4546 tdep structure.
4547
4548 * vax-tdep.h: Don't include "osabi.h".
4549 (struct gdbarch_tdep): Remove.
4550 * vax-tdep.c: Include "osabi.h".
4551 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4552 iterate over arches. Don't allocate tdep. Update call
4553 to gdbarch_init_osabi.
4554 (vax_dump_tdep): Remove.
4555 (_initialize_vax_tdep): Update call to gdbarch_register.
4556
a881cf8e
DJ
45572003-01-04 Daniel Jacobowitz <drow@mvista.com>
4558
4559 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
4560 entirely.
4561 (breakpoint_re_set_one): Don't fetch the value for a disabled
4562 watchpoint.
4563
1e698235
DJ
45642003-01-04 Daniel Jacobowitz <drow@mvista.com>
4565
4566 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
4567 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
4568 (COERCE_FLOAT_TO_DOUBLE): Remove.
4569 * gdbarch.c: Regenerate.
4570 * gdbarch.h: Regenerate.
4571 * Makefile.in: Remove value_h from gdbarch_h.
4572 * valops.c (coerce_float_to_double): New variable.
4573 (default_coerce_float_to_double): Remove.
4574 (standard_coerce_float_to_double): Remove.
4575 (value_arg_coerce): Use coerce_float_to_double.
4576 (_initialize_valops): Add "set coerce-float-to-double".
4577 * value.h (default_coerce_float_to_double): Remove prototype.
4578 (standard_coerce_float_to_double): Remove prototype.
4579
4580 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
4581 prototyped.
4582 * mdebugread.c (parse_symbol): Likewise.
4583 * stabsread.c (define_symbol): Mark all functions as prototyped.
4584
4585 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
4586 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
4587 set_gdbarch_coerce_float_to_double.
4588 * arm-tdep.c (arm_gdbarch_init): Likewise.
4589 * frv-tdep.c (frv_gdbarch_init): Likewise.
4590 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
4591 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
4592 * mips-tdep.c (mips_gdbarch_init): Likewise.
4593 (mips_coerce_float_to_double): Remove.
4594 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
4595 (rs6000_coerce_float_to_double): Remove.
4596 * s390-tdep.c (s390_gdbarch_init): Likewise.
4597 * sh-tdep.c (sh_gdbarch_init): Likewise.
4598 (sh_coerce_float_to_double): Remove.
4599 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
4600 (sparc_coerce_float_to_double): Remove.
4601 * v850-tdep.c (v850_gdbarch_init): Likewise.
4602 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
4603 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
4604 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
4605 (hppa_coerce_float_to_double): Remove prototype.
4606 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
4607
f436a26a
DJ
46082003-01-04 Daniel Jacobowitz <drow@mvista.com>
4609
4610 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
4611
248f8055
DJ
46122003-01-04 Daniel Jacobowitz <drow@mvista.com>
4613
4614 Suggested by Stewart Brown <sb24@avaya.com>:
4615 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
4616 in recursive calls. Handle TYPE_CODE_TYPEDEF.
4617 (c_type_print_varspec_suffix): Likewise.
4618
72cfdc76
MK
46192003-01-04 Mark Kettenis <kettenis@gnu.org>
4620
bfd260bb
MK
4621 * configure.in: Don't set and AC_SUBST SUBDIRS.
4622 * configure: Regenerated.
4623
72cfdc76
MK
4624 * configure.in: Remove code dealing with shared libraries.
4625 * Makefile.in: Remove HLDFLAGS and HLDENV.
4626 * configure: Regenerated.
4627
c8b8a898
AC
46282003-01-04 Andrew Cagney <ac131313@redhat.com>
4629
4630 * frame.c (deprecated_frame_xmalloc): New function.
4631 (deprecated_set_frame_saved_regs_hack): New function.
4632 (deprecated_set_frame_extra_info_hack): New function.
4633 * frame.h (deprecated_frame_xmalloc): Declare.
4634 (deprecated_set_frame_saved_regs_hack): Declare.
4635 (deprecated_set_frame_extra_info_hack): Declare.
4636
14abd0fb
MK
46372003-01-04 Mark Kettenis <kettenis@gnu.org>
4638
8ee53726
MK
4639 * configure.in: Move code that provides the --enable-gdbtk option
4640 right after the code that handles the --enable-tui option, and
4641 polish it somewhat.
4642 * configure: Regenerated.
4643
14abd0fb
MK
4644 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
4645 AC_CHECK_FUNCS and remove the old check for pread64.
4646 * acinclude.m4 (AC_GNU_SOURCE): New macro.
4647 * acconfig.h (_GNU_SOURCE): Add.
4648 (HAVE_PREAD64): Remove.
4649 * configure, aclocal.m4, config.in: Regenerated.
4650
b2fb4676
AC
46512003-01-03 Andrew Cagney <ac131313@redhat.com>
4652
4653 * alpha-tdep.c: Use get_frame_saved_regs.
4654 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4655 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
4656 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
4657 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
4658 * vax-tdep.c, xstormy16-tdep.c: Ditto.
4659
8dcde887
MK
46602003-01-03 Mark Kettenis <kettenis@gnu.org>
4661
4662 * configure.in: Remove all use of the SUBDIRS variable; add
4663 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
4664 code providing the --enable-multi-ice option, and move it right in
4665 front of the code that checks whether gdbserver is supported.
4666 Polish that too.
4667 * configure: Regenerated.
4668 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
4669 @SUBDIRS@.
4670
8ccd593b
AC
46712003-01-03 Andrew Cagney <cagney@redhat.com>
4672
4673 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
4674 * avr-tdep.c, cris-tdep.c: Ditto.
4675 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
4676 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
4677
91151a06
MK
46782003-01-03 Mark Kettenis <kettenis@gnu.org>
4679
4680 * configure.in: Remove --enable-netrom option.
4681 * configure: Regenerated.
4682
8fe84d01
MK
46832003-01-03 Mark Kettenis <kettenis@gnu.org>
4684
4685 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
4686 declaration for `struct re_pattern_buffer' instead.
4687 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
4688
f0394be6
JB
46892003-01-03 J. Brobecker <brobecker@gnat.com>
4690
4691 * mdebugread.c (parse_symbol): Count until the stEnd matching
4692 the structure name.
4693
27e9bf90
MK
46942003-01-02 Mark Kettenis <kettenis@gnu.org>
4695
93d331ba
MK
4696 * configure.in: Remove --with-cpu option.
4697 subscripts. Remove evil changequotes here.
4698 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
4699 * config.in, configure: Regenerated.
4700
27e9bf90
MK
4701 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
4702 * configure.in: Cleanup section that sources GDB and BFD configure
4703 subscripts. Remove evil changequotes here.
4704 * config.in, configure: Regenerated.
4705
50abf9e5
AC
47062003-01-02 Andrew Cagney <ac131313@redhat.com>
4707
4708 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
4709 frame accessor methods.
4710 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4711 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
4712 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
4713 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
4714 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
4715 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
4716 * z8k-tdep.c: Ditto.
4717
287c1a40
MK
47182003-01-02 Mark Kettenis <kettenis@gnu.org>
4719
f5dbc56d
MK
4720 * configure.in: Remove UI_OUT configuration code.
4721 * ada-lang.c: Update assuming UI_OUT is always true.
4722 * Makefile.in (UIOUT_CFLAGS): Remove.
4723 * configure: Regenerated.
4724 * TODO: Remove blurb about elimination of -DUI_OUT.
4725
627af7ea
MK
4726 * configure.in: Move code that provides the --enable-gdbcli,
4727 --enable-gdbmi options right before the code that handles the
4728 --enable-tui option. Polish a bit.
4729 * configure: Regenerated.
4730
06825bd1
MK
4731 * configure.in: Rewrite check for GNU regex and the
4732 --without-included regex option, and move it into the "Checks for
4733 library functions" section. This makes us use the system regex
4734 again by default on systems with version 2 of the GNU C library.
4735 This was apparently broken.
4736 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
4737 * acconfig.h (USE_INCLUDED_REGEX): Remove.
4738 * config.in, configure: Regenerated.
4739
287c1a40
MK
4740 * configure.in: Move code that provides the --enable-tui option
4741 before the "Checks for libraries" section. Polish the code
4742 somewhat and set need_curses to yes if we build the TUI. Rewrite
4743 code that looks for a library providing termcap functionality to
4744 match more closely what's done in the Readline library, and move
4745 it into to the "Checks for libraries" section.
4746 * configure: Regenerated.
4747 * Makefile.in (TERMCAP): Remove variable.
4748 * config/i386/go32.mh (TERMCAP): Remove variable.
4749
684e56bf
AC
47502003-01-02 Andrew Cagney <ac131313@redhat.com>
4751
4752 * MAINTAINERS: Mention gdb_mbuild.sh.
4753 * gdb_mbuild.sh: Rewrite.
4754
e1ea1d75
MK
47552003-01-02 Mark Kettenis <kettenis@gnu.org>
4756
4757 * configure.in: Fix typo in last change.
4758 * config.in, configure: Regenerated.
4759
1b831c93
AC
47602003-01-02 Andrew Cagney <ac131313@redhat.com>
4761
4762 * valarith.c (value_binop): Delete obsolete code and comments.
4763 * configure.host: Ditto.
4764 * buildsym.h (make_blockvector): Ditto.
4765 * buildsym.c (make_blockvector): Ditto.
4766 * defs.h (enum language): Ditto.
4767 (chill_demangle): Ditto.
4768 * elfread.c (elf_symtab_read): Ditto.
4769 * dwarfread.c (CHILL_PRODUCER): Ditto.
4770 (set_cu_language): Ditto.
4771 (handle_producer): Ditto.
4772 * expprint.c (print_subexp): Ditto.
4773 * gdbtypes.c (chill_varying_type): Ditto.
4774 * gdbtypes.h (builtin_type_chill_bool): Ditto.
4775 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
4776 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
4777 (chill_varying_type): Ditto.
4778 * language.h (_LANG_chill): Ditto.
4779 * language.c (binop_result_type, integral_type): Ditto.
4780 (character_type, string_type, structured_type): Ditto.
4781 (lang_bool_type, binop_type_check): Ditto.
4782 * stabsread.h (os9k_stabs): Ditto.
4783 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
4784 (define_symbol, read_type, read_struct_fields): Ditto.
4785 (read_array_type, read_enum_type, read_huge_number): Ditto.
4786 (read_range_type, start_stabs): Ditto.
4787 * symfile.c (init_filename_language_table): Ditto.
4788 (add_psymbol_with_dem_name_to_list): Ditto.
4789 * symtab.c (symbol_init_language_specific): Ditto.
4790 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
4791 * symtab.h (struct general_symbol_info): Ditto.
4792 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
4793 * typeprint.c (typedef_print): Ditto.
4794 * utils.c (fprintf_symbol_filtered): Ditto.
4795 * valops.c (value_cast, search_struct_field, value_slice): Delete
4796 obsolete code.
4797 (varying_to_slice): Delete function.
4798 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
4799 (varying_to_slice): Delete declaration.
4800 * MAINTAINERS: Update.
4801
8bb2c122
MK
48022003-01-02 Mark Kettenis <kettenis@gnu.org>
4803
97bf5e38
MK
4804 * configure.in: Reorganize "Checks for library functions section"
4805 a bit. Remove check for `btowc' and `isascii' functions.
4806 * configure: Regenerated.
4807
5ee754fc
MK
4808 * acconfig.h (_MSE_INT_H): Remove.
4809 * configure.in: Create "Checks for header files" section, and move
4810 appropriate tests there. Don't check for objlist.h, wchar.h,
4811 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
4812 misdetection fix. Also add "Checks for types", "Checks for
4813 compiler characteristics" and "Checks for library functions"
4814 sections.
4815 * config.in, configure: Regenerated.
4816
8bb2c122
MK
4817 * configure.in: Create "Checks for programs" section, and move
4818 appropriate tests there.
4819
9a156167
MK
48202003-01-01 Mark Kettenis <kettenis@gnu.org>
4821
4822 * configure.in: Create "Checks for libraries" section, and move
4823 appropriate tests there. Cleanup check for wctype in libw. Use
4824 AC_SEARCH_LIBS to see whether we need libsocket.
4825 * configure: Regenerated.
4826
a80e2bcb 4827For older changes see ChangeLog-2002
c906108c
SS
4828\f
4829Local Variables:
4830mode: change-log
4831left-margin: 8
4832fill-column: 74
4833version-control: never
4834End:
This page took 0.669748 seconds and 4 git commands to generate.